cmd: pxe: Fix bootm argument count
PATCH 1/1 cmd: pxe: Fix bootm argument count
From: Abhishek Shah <[email protected]>
pxe command parses the init ramfs address(through initrd lable in pxe config file), but is not passing it to bootm command as argument as bootm_argc count is not increased.
--- cmd/pxe.c | 1 + 1 file changed, 1 insertion(+)
cmd/pxe.c +1 -0
@@ -663,6 +663,7 @@ static int label_boot(cmd_tbl_t *cmdtp, struct pxe_label *label)strncpy (bootm_argv[2 ],env_get ("ramdisk_addr_r" ),18 );strcat (bootm_argv[2 ],":" );strncat (bootm_argv[2 ],env_get ("filesize" ),9 ); + bootm_argc =3 ; }if (get_relfile_envaddr (cmdtp, label->kernel,"kernel_addr_r" ) <0 ) {
Signature · 1 line
2.17.1
PATCH 1/1 cmd: pxe: Fix bootm argument count
Quoted 7 lines · Vladimir Olovyannikov
From: Abhishek Shah <[email protected]>
pxe command parses the init ramfs address(through initrd lable in pxe config file), but is not passing it to bootm command as argument as
bootm_argccount is not increased.
Quoted 6 lines
Signed-off-by Abhishek Shah <[email protected]>Signed-off-by Vladimir Olovyannikov <[email protected]>--- cmd/pxe.c | 1 + 1 file changed, 1 insertion(+)
PATCH 1/1 cmd: pxe: Fix bootm argument count
In reply to Vladimir OlovyannikovQuoted 9 lines · Vladimir Olovyannikov
From: Abhishek Shah <[email protected]>
pxe command parses the init ramfs address(through initrd lable in pxe config file), but is not passing it to bootm command as argument as
bootm_argccount is not increased.Signed-off-by Abhishek Shah <[email protected]>Signed-off-by Vladimir Olovyannikov <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/984e2d78/attachment.sig>