[PATCH v1 1/1] env: fat: Allow overriding interface, device and partition
何勇
hyyoxhk at 163.com
Sat Jan 29 09:26:17 CET 2022
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
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