[PATCH v1 1/1] env: fat: Allow overriding interface, device and partition

hyyoxhk hyyoxhk at 163.com
Thu Feb 17 16:16:40 CET 2022


sorry i just saw the email

I have reworked the patch for v3 based on u-boot mainline

















At 2022-02-11 23:05:47, "Simon Glass" <sjg at chromium.org> wrote:
>Hi,
>
>On Sat, 29 Jan 2022 at 01:26, 何勇 <hyyoxhk at 163.com> wrote:
>>
>> Hi:
>> Override the env_fat_get_dev_part function in the board file, you can
>> load env from sdcard or emmc without modifying any configuration
>> of u-boot, it is very useful for  building wic firmware by yocto.
>>
>> it has been done under env/ext4.c
>
>I cannot see it. Can you please point me to the line number in that file?
>
>Do you have an English-text name you could use for the patch?
>
>Regards,
>Simon
>
>
>>
>>
>>
>>
>>
>>
>>
>> At 2022-01-27 23:05:57, "Simon Glass" <sjg at chromium.org> wrote:
>> >Hi,
>> >
>> >On Thu, 30 Dec 2021 at 07:50, hyyxohk <hyyoxhk at 163.com> wrote:
>> >>
>> >> For platform which can boot on different device, this allows
>> >> to override interface, device and partition from board code.
>> >>
>> >> Signed-off-by: hyyxohk <hyyoxhk at 163.com>
>> >> ---
>> >>  env/fat.c              | 30 +++++++++++++++++-------------
>> >>  include/env_internal.h | 20 ++++++++++++++++++++
>> >>  2 files changed, 37 insertions(+), 13 deletions(-)
>> >>
>> >
>> >What is this feature used for?
>> >
>> >Regards,
>> >Simon
>> >[..]


More information about the U-Boot mailing list