[haiku-development] Re: Haiku over Raspberry PI

  • From: Rahul Jain <talentediq@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 4 Jul 2017 11:58:09 +0530

On Fri, Jun 30, 2017 at 1:35 PM, Adrien Destugues
<pulkomandy@xxxxxxxxxxxxx> wrote:

30 juin 2017 09:21 "Rahul Jain" <talentediq@xxxxxxxxx> a écrit:
Sorry , Guys I haven't seen this HTML Noise :)
Now onwards i will go with Plain Mail with other client.


But you are still top-posting and quoting useless parts of other messages...


Hi Alex,
I tried the qemu with parameters you defined in another mail.
I also got same Blank screen no Log at all.

Also I have tried to emulate u-boot.bin from github haiku/firmware.
It got crashed.

~/firmware/arm/rpi2# qemu-system-arm -M raspi2 -kernel u-boot.bin
qemu-system-arm: Trying to execute code outside RAM or ROM at 0xea000038

Any idea why is it doing so ??

If you want to get started with qemu and the Pi, I would suggest to first 
start by getting a working setup with a known working system (probably a 
Linux). You may see how it is done there. IIRC, they ski the low-level parts 
(u-boot and the like), and jump straight into the Linux kernel. I don't know 
if the Raspberry Pi version of qemu can even run u-boot at all.

This is why the previous efforts on the Haiku ARM port had been focused on 
the BeagleBone-xM board, which has support in some qemu fork, complete enough 
to run u-boot.

A first step if you want to run with the Raspberry Pi port is to make sure 
you can do the same. Otherwise, you will need to run our stage 2 bootloader 
directly, without u-boot, which may require some changes in qemu itself if it 
is only able to load things that look like a Linux kernel.

--
Adrien.


Do you mean I must start with booting Raspbian over pi. and check How
does it boot.?
Well i will also try to boot beagleboard's u-boot and will check how
it works, Can you refer some Documents which i can refer to understand
boot-process of Haiku.
Where can i found Beagleboard's qemu fork to run its mmc?

I also found several forums where they emulate uboot for rpi2 on Qemu.
I am also trying the same If i could succeed.

So If we conclude, so it will be abstract like :
1. Setup a RPI U-boot on QEMU
2. Load Haiku's kernel

-- 
Thanks,
Rahul jain

Other related posts: