[U-Boot] [ppc] qemu-ppce500 howto

Alon Bar-Lev
2014-05-22T07:52:37Z

Hi,

Trying to run the qemu-ppce500 within qemu. I am using -bios u-boot.bin and
no luck, I get live signal.

I am using latest u-boot master and qemu master.

Command:
$ ./qemu-system-ppc -M ppce500 -nographic -bios u-boot.bin

Tried to load u-boot as well, same.

Are there any patches pending or any tweak that should be done?

Is there any way to provide more information?

I tried:
$ ./qemu-system-ppc -M ppce500 -nographic -M ppce500 -m 256 -s -S
$ gdb
(gdb) target remote :1234
Remote debugging using :1234
warning: Can not parse XML target description; XML support was disabled at
compile time
0x00000000 in ?? ()
(gdb) load u-boot
Loading section .bootpg, size 0x2f4 lma 0xf00000
Load failed

How can I inject the firmware using gdb?

Thanks!
Alon Bar-Lev