The following commit has been pushed in order to retrieve envrionment
variables for fastboot:
fastboot: allow retrieving fastboot variables from env

The file is drivers/usb/gadget/f_fastboot.c, function is cb_getvar

It uses à 32-char array (char envstr[32]), knowing that it should ends by
'\0', so it has 31 usable characters.

In my case, we use the variable: ‘fastboot.partition-type:userdata’, his
length is 32 characters, so this is a problem.

As information, this variable is used in the Android context, but we can
imagine to face this same issue with any framework.

Would it be possible to increase the length from 32 to 64 ?

Thanks in advance.
Best Regards
U-Boot mailing list

Reply via email to