Signed-off-by: Zhaofeng Li
Cc: Simon Glass
Cc: Bin Meng
---
cmd/pxe_utils.c | 45 +++--
1 file changed, 27 insertions(+), 18 deletions(-)
diff --git a/cmd/pxe_utils.c b/cmd/pxe_utils.c
index 78ebfdcc79..b79fcb6418 100644
--- a/cmd/pxe_utils.c
+++ b/cmd
the kernel size (should be argv[3]).
zboot also expects the initrd address and size to be separate arguments.
Let's untangle them and have separate argv/argc locals.
Signed-off-by: Zhaofeng Li
Cc: Simon Glass
Cc: Bin Meng
---
cmd/pxe_utils.c | 12 +++-
1 file changed, 11 insertions(
inherently error-prone, and
I wonder how many cases of "kinda works but not really" [1] like
this are there in U-Boot.
Thanks,
Zhaofeng Li
[1] Without the patch, the kernel would boot with the U-Boot log
showing initrd being loaded. However, the kernel wouldn't
actually g
the kernel size (should be argv[3]).
zboot also expects the initrd address and size to be separate arguments.
Let's untangle them and have separate argv/argc locals.
Signed-off-by: Zhaofeng Li
Cc: Simon Glass
Cc: Bin Meng
diff --git a/cmd/pxe_utils.c b/cmd/pxe_utils.c
index 067c24e5ff..78ebfdcc7
4 matches
Mail list logo