[haiku-development] Re: Haiku over Raspberry PI

  • From: LECOQ Vincent <vincent.lecoq@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 7 Jul 2017 11:38:42 +0200

2017-07-07 9:39 GMT+02:00 Rahul Jain <talentediq@xxxxxxxxx>:

On Fri, Jul 7, 2017 at 12:45 PM, Ithamar Adema
<ithamar@xxxxxxxxxxxxxxxxxxx> wrote:

This all is output from the Haiku loader, which seems to have some issues
setting up. I'm not _that_ familiar with the code anymore, but looking at
this it seems to find the Flattened Device Tree (FDT) fine, but gets
stuck
during initialization, my guess from this output is that it might be MMU
/
memory layout related...

I guess building a debug version of the Haiku loader and/or enabling
additional debug output would be the next step in solving this
mystery....

At least it looks like we're now into the Haiku side of things, and your
basic QEMU setup is working.

Ithamar.

Hi Ithamar,
Yes looks like the setup works perfectly fine :)
You are right that is actually happening in mmu_init. in
./system/boot/arch/arm/arch_mmu.cpp:709

709                 dprintf("total physical memory = %" B_PRId64 "MB\n",
710                         total / (1024 * 1024));

Need to check with some dprintf statements where it hung.

suggestions are welcome :)

--
Thanks,
Rahul jain



The blocking point is the first time we use the '->' operator, I'm stuck on
this point since long time on real rpi2
After using many prints in memory sub functions, I remember we have many
pages errors and maybe a MMU bad configuration, but it is hard to debug

Good luck ;)


-- 
LECOQ Vincent
vincent.lecoq@xxxxxxxxx

Other related posts: