Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

Using Qemu with RSK RZ BSP

$
0
0

Hi,

I am using repositories from https://github.com/renesas-rz to build the kernel, u-boot and root file system.

Since I don't have the hardware, I use Qemu on Ubuntu 16.04 LTS to test the builds.

I followed instructions mentioned on http://opensourceforu.com/2011/06/qemu-for-embedded-systems-development-part-1/ however an error is returned

bipin@bipin-virtualbox:~/Work/Porting/rskrza1_bsp-master/output/test$ clear
bipin@bipin-virtualbox:~/Work/Porting/rskrza1_bsp-master/output/test$ qemu-system-arm -M versatilepb -m 128M -kernel uImage -nographic -initrd rootfs -append "root=/dev/ram rdinit=/hello"
pulseaudio: set_sink_input_volume() failed
pulseaudio: Reason: Invalid argument
pulseaudio: set_sink_input_mute() failed
pulseaudio: Reason: Invalid argument
qemu: fatal: Trying to execute code outside RAM or ROM at 0x08008000

R00=00000000 R01=00000183 R02=00000100 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00000000 R15=08008000
PSR=400001d3 -Z-- A svc32
s00=00000000 s01=00000000 d00=0000000000000000
s02=00000000 s03=00000000 d01=0000000000000000
s04=00000000 s05=00000000 d02=0000000000000000
s06=00000000 s07=00000000 d03=0000000000000000
s08=00000000 s09=00000000 d04=0000000000000000
s10=00000000 s11=00000000 d05=0000000000000000
s12=00000000 s13=00000000 d06=0000000000000000
s14=00000000 s15=00000000 d07=0000000000000000
s16=00000000 s17=00000000 d08=0000000000000000
s18=00000000 s19=00000000 d09=0000000000000000
s20=00000000 s21=00000000 d10=0000000000000000
s22=00000000 s23=00000000 d11=0000000000000000
s24=00000000 s25=00000000 d12=0000000000000000
s26=00000000 s27=00000000 d13=0000000000000000
s28=00000000 s29=00000000 d14=0000000000000000
s30=00000000 s31=00000000 d15=0000000000000000
FPSCR: 00000000
Aborted (core dumped)
bipin@bipin-virtualbox:~/Work/Porting/rskrza1_bsp-master/output/test$

Repeating the process with using -M integratorcp causes the same error without the lines starting with pulseaudio:

I repeated the process by

1. Commenting / uncommenting the line #define SPI_FLASH_LOADER in ~u-boot\include\configs\rskrza1.h 

2. using only u-boot in qemu as qemu-system-arm -M integratorcp -m 128M -kernel u-boot 

2. using only uImage in qemu as qemu-system-arm -M integratorcp -m 128M -kernel uImage 

However the error remains similar i.e. qemu: fatal: Trying to execute code outside RAM or ROM at ....

Has any one encountered similar error or has any idea about resolving this issue?

Regards,

Bipin 


Viewing all articles
Browse latest Browse all 1583

Latest Images

Trending Articles



Latest Images