mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-23 07:11:26 +00:00
25 lines
904 B
Diff
25 lines
904 B
Diff
diff --git a/common/cmd_cfgload.c b/common/cmd_cfgload.c
|
|
index 09c618e..1f2a847 100644
|
|
--- a/common/cmd_cfgload.c
|
|
+++ b/common/cmd_cfgload.c
|
|
@@ -52,7 +52,7 @@ static char* read_cfgload(void)
|
|
|
|
setenv("filesize", "0");
|
|
|
|
- sprintf(cmd, "fatload mmc 0:1 0x%p boot.ini", (void *)p);
|
|
+ sprintf(cmd, "ext4load mmc 0:1 0x%p /boot/boot.ini || fatload mmc 0:1 0x%p boot.ini || ext4load mmc 0:1 0x%p boot.ini", (void *)p, (void *)p ,(void *)p);
|
|
run_command(cmd, 0);
|
|
|
|
filesize = getenv_ulong("filesize", 16, 0);
|
|
@@ -129,9 +129,9 @@ static int do_load_cfgload(cmd_tbl_t *cmdtp, int flag, int argc,
|
|
|
|
U_BOOT_CMD(
|
|
cfgload, 1, 0, do_load_cfgload,
|
|
- "read 'boot.ini' from FAT partiton",
|
|
+ "read 'boot.ini' from FAT or EXT4 partiton",
|
|
"\n"
|
|
- " - read boot.ini from the first partiton treated as FAT partiton"
|
|
+ " - read boot.ini from the first partiton"
|
|
);
|
|
|
|
/* vim: set ts=4 sw=4 tw=80: */
|