git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c9f868
)
bootm: Add support for passing arguments to elf app
author
牛 志宏
<Zone.Niuzh@hotmail.com>
Mon, 24 Mar 2025 03:05:56 +0000
(
03:05
+0000)
committer
Tom Rini
<trini@konsulko.com>
Fri, 11 Apr 2025 02:55:52 +0000
(20:55 -0600)
This extends the bootm command to allow passing arguments to standalone
ELF applications.
Signed-off-by: Niu Zhihong <zone.niuzh@hotmail.com>
boot/bootm_os.c
patch
|
blob
|
history
diff --git
a/boot/bootm_os.c
b/boot/bootm_os.c
index
e9522cd
..
7e41e1f
100644
(file)
--- 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;
}