qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Qemu U-boot Standalone Application Crash


From: prashant basva
Subject: Qemu U-boot Standalone Application Crash
Date: Thu, 29 Apr 2021 11:44:48 +0530

Hi,
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
       e1000#0
Hit any key to stop autoboot:  0
=> setenv ipaddr 192.168.31.10
=> setenv serverip 192.168.31.10
=> setenv ipaddr 192.168.31.11  
=> tftp 600000 hello_world.img
Using e1000#0 device
TFTP from server 192.168.31.10; our IP address is 192.168.31.11
Filename 'hello_world.img'.
Load address: 0x600000
Loading: #
1000 Bytes/s
done
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: 40000D1C
MSR: 00000000 EE: 0 PR: 0 FP: 0 ME: 0 IR/DR: 00

GPR00: 3FF7E434 3FA6CC00 3FB6DEB8 000403B4 3FB6EDAC 3FA6CBD8 3FFB3938 00000000
GPR08: 3FFB2908 00040000 00000000 00000000 44022804 00000000 00000000 00000000
GPR16: 00000000 00040000 0060041D 00600000 00000000 00600040 00000000 40000D1C
GPR24: 3FB6EDAC 00000007 3FF7E3C4 0000075F 3FB6EDAC 00000007 3FFAF2FC 3FFF6788
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?????

Regards,
Prashant

Attachment: Screenshot.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]