[haiku-development] Re: Haiku over Raspberry PI

  • From: Rahul Jain <talentediq@xxxxxxxxx>
  • To: kallisti5 <kallisti5@xxxxxxxxxxx>
  • Date: Fri, 30 Jun 2017 03:03:26 +0530

Hi Alex,


On Fri, Jun 30, 2017 at 12:05 AM, kallisti5 <kallisti5@xxxxxxxxxxx> wrote:

On 2017-06-29 13:18, Rahul Jain wrote:

Hi All,
I am trying to run haiku over Raspberry Pi. I builded the image for
haiku-rpi1.mmc and tried running over Qemu. but got crashed.

I tried :
_qemu-system-arm -drive if=sd ./haiku-rpi1.mmc -machine
realview-eb-mpcore -cpu  arm1176 _


it resulted :

qemu: fatal: Trying to execute code outside RAM or ROM at 0x08000000

R00=00000000 R01=00000000 R02=00000000 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=08000000
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)

Looks like the address which it is trying to load is invalid. Or the
command parameters are wrong. Well with latest QEMU we also have
machine as raspi2, I have builded it and will use tommorow.

But i am looking forward for some suggestions/understanding/Ideas, I
would like to contribute in its development.


We never got much progress under qemu. (there wasn't anything even remotely
close to the Raspberry Pi target CPU when we started dev)

This just gives a blank screen + no serial output under a later qemu
version:
qemu-system-arm -drive if=sd,file=haiku-rpi2.mmc,format=raw -machine
raspi2 -serial stdio -m 2048

I will try this command.


You might want to try giving it a known working u-boot image, then trying
to load our haiku_loader.ub from the mmc.

Can you elaborate this more.? Do you mean i must boot some other non-haiku
uboot over qemu, and then load our?
How can i get haiku_loader.ub from builded mmc? ?


 -- Alex




-- 
Thanks,
Rahul jain

Other related posts: