Skip to content

Commit

Permalink
uboot: boot_helper: increase bootcmd length to 128 chars
Browse files Browse the repository at this point in the history
64 chars are not enough for some images like bpi r3 and r3 mini.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
  • Loading branch information
1715173329 authored and hanwckf committed Sep 20, 2024
1 parent cb763b4 commit f6ae478
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion uboot-mtk-20220606/board/mediatek/common/boot_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f6ae478

Please sign in to comment.