Am 15.09.2017 um 04:33 schrieb zjh: > think the environment variables should be loaded before the device is registered, > so when the device is registered, it can be initialized according to the environment variable. Please take look at drivers/usb/gadget/f_fastboot.c. it is already using env variables.