Qemu U-boot Standalone Application Crash

prashant basva prashantbasvat at gmail.com
Thu Apr 29 08:14:48 CEST 2021

i am trying to execute standalone application from qemu u-boot, but when i
trued to execute using go or bootm , its getting crashed saying trap
Below is command used to launch qemu ppc u-boot
$ sudo qemu-system-ppc -m 1024 -M mpc8544ds -cpu MPC8548 -no-reboot
-nographic  -net nic,model=e1000 -net
tap,ifname=vnet0,script=no,downscript=no u-boot.bin


WARNING: Image format was not specified for 'u-boot.bin' and probing
guessed raw.
         Automatically detecting the format is dangerous for raw images,
write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.

U-Boot 2019.01 (Mar 04 2019 - 11:07:45 +0100)

CPU:   8548, Version: 2.1, (0x80310021)
Core:  e500, Version: 2.1, (0x80210021)
Clock Configuration:
       CPU0:400  MHz,
       CCB:400  MHz,
       DDR:200  MHz (400 MT/s data rate), LBC: unknown (LCRR[CLKDIV] = 0x00)
L1:    D-cache 32 KiB enabled
       I-cache 32 KiB enabled
DRAM:  1 GiB
L2:    disabled

PCI: base address e0008000
  00:11.0     - 8086:100e - Network controller
PCI1: Bus 00 - 00

In:    serial
Out:   serial
Err:   serial
Net:   e1000: 52:54:00:12:34:56
Hit any key to stop autoboot:  0
=> setenv ipaddr
=> setenv serverip
=> setenv ipaddr
=> tftp 600000 hello_world.img
Using e1000#0 device
TFTP from server; our IP address is
Filename 'hello_world.img'.
Load address: 0x600000
Loading: #
1000 Bytes/s
Bytes transferred = 1053 (41d hex)
=> bootm 600000 Hello World! This is a test.
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at 00600000 ...
   Image Name:   Hello stand alone
   Image Type:   PowerPC U-Boot Standalone Program (uncompressed)
   Data Size:    989 Bytes = 989 Bytes
   Load Address: 00040000
   Entry Point:  00040000
   Verifying Checksum ... OK
   Loading Standalone Program ... OK
Bad trap at PC: 40000d1c, SR: 0, vector=e00
NIP: 40000D1C XER: 00000000 LR: 3FF70C6C REGS: 3fa6cb10 TRAP: 0e00 DAR:
MSR: 00000000 EE: 0 PR: 0 FP: 0 ME: 0 IR/DR: 00

GPR00: 3FF7E434 3FA6CC00 3FB6DEB8 000403B4 3FB6EDAC 3FA6CBD8 3FFB3938
GPR08: 3FFB2908 00040000 00000000 00000000 44022804 00000000 00000000
GPR16: 00000000 00040000 0060041D 00600000 00000000 00600040 00000000
GPR24: 3FB6EDAC 00000007 3FF7E3C4 0000075F 3FB6EDAC 00000007 3FFAF2FC
Call backtrace:
3FF82BA8 3FF7E434 3FF7E050 3FF739B4 3FF86300 3FF7C1EC 3FF7C3A8
3FF7C950 3FF85938 3FF7A27C 3FF7D318 3FF946A4 3FF7D664 3FF7103C
Exception in kernel pc 40000d1c signal 0
### ERROR ### Please RESET the board ###

Note : Attached screenshot

How to to resolved this issue?????

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 191194 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210429/e162e88e/attachment-0001.png>

More information about the U-Boot mailing list