[U-Boot] [PATCH 1/1] cmd/bdinfo: print relocation info on X86

For debugging U-Boot in qemu-x86 the relocation address is needed.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de --- Hello Bin, hello Simon,
could this be picked up via the X86 tree?
Best regards
Heinrich --- cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index c7ebad17d1..de6fc48987 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -377,6 +377,8 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
print_bi_dram(bd);
+ print_num("relocaddr", gd->relocaddr); + print_num("reloc off", gd->reloc_off); #if defined(CONFIG_CMD_NET) print_eth_ip_addr(); print_mhz("ethspeed", bd->bi_ethspeed);

On Thu, Jan 25, 2018 at 2:52 AM, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
For debugging U-Boot in qemu-x86 the relocation address is needed.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
Hello Bin, hello Simon,
could this be picked up via the X86 tree?
Best regards
Heinrich
cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com Tested-by: Bin Meng bmeng.cn@gmail.com

On Tue, Jan 30, 2018 at 2:34 PM, Bin Meng bmeng.cn@gmail.com wrote:
On Thu, Jan 25, 2018 at 2:52 AM, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
For debugging U-Boot in qemu-x86 the relocation address is needed.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
Hello Bin, hello Simon,
could this be picked up via the X86 tree?
Best regards
Heinrich
cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com Tested-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!
participants (2)
-
Bin Meng
-
Heinrich Schuchardt