From f6ae4782db2425e208431951553b407b8acdbc81 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Fri, 20 Sep 2024 23:22:25 +0800 Subject: [PATCH] uboot: boot_helper: increase bootcmd length to 128 chars 64 chars are not enough for some images like bpi r3 and r3 mini. Signed-off-by: Tianling Shen --- uboot-mtk-20220606/board/mediatek/common/boot_helper.c | 2 +- uboot-mtk-20230718-09eda825/board/mediatek/common/boot_helper.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uboot-mtk-20220606/board/mediatek/common/boot_helper.c b/uboot-mtk-20220606/board/mediatek/common/boot_helper.c index ae4af10d5c..140e44970f 100644 --- a/uboot-mtk-20220606/board/mediatek/common/boot_helper.c +++ b/uboot-mtk-20220606/board/mediatek/common/boot_helper.c @@ -24,7 +24,7 @@ int boot_from_mem(ulong data_load_addr) { - char cmd[64]; + char cmd[128]; const char *bootconf = env_get("bootconf"); if (bootconf && strlen(bootconf) > 0) diff --git a/uboot-mtk-20230718-09eda825/board/mediatek/common/boot_helper.c b/uboot-mtk-20230718-09eda825/board/mediatek/common/boot_helper.c index 2a53ef594c..14b5baf70e 100644 --- a/uboot-mtk-20230718-09eda825/board/mediatek/common/boot_helper.c +++ b/uboot-mtk-20230718-09eda825/board/mediatek/common/boot_helper.c @@ -21,7 +21,7 @@ int boot_from_mem(ulong data_load_addr) { - char cmd[64]; + char cmd[128]; const char *bootconf = env_get("bootconf"); if (bootconf && strlen(bootconf) > 0)