This extends the bootm command to allow passing arguments to standalone ELF applications.
Signed-off-by: Niu Zhihong <zone.ni...@hotmail.com> --- boot/bootm_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootm_os.c b/boot/bootm_os.c index e9522cd3299..7e41e1f6141 100644 --- a/boot/bootm_os.c +++ b/boot/bootm_os.c @@ -402,7 +402,7 @@ static int do_bootm_elf(int flag, struct bootm_info *bmi) if (flag != BOOTM_STATE_OS_GO) return 0; - bootelf(bmi->images->ep, flags, 0, NULL); + bootelf(bmi->images->ep, flags, bmi->argc, bmi->argv); return 1; } -- 2.39.5 (Apple Git-154)