[haiku-development] Re: Haiku over Raspberry PI

  • From: Rahul Jain <talentediq@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 10 Jul 2017 15:03:39 +0530

http://cgit.haiku-os.org/haiku/tree/src/system/boot/platform/u-boot/video.cpp#n87


Ah right, this was the old code for the Pi without U-Boot (we should delete 
it, I think?).
Try this: 
http://cgit.haiku-os.org/haiku/tree/src/system/boot/platform/u-boot/video.cpp


Thanks for that .. :)
It actually hangs on writing to gMailBox with the sFramebufferConfig

see : 
http://cgit.haiku-os.org/haiku/tree/src/system/boot/arch/arm/arch_framebuffer_bcm2835.cpp#n127

well may be we are sending hardcoded 1920X1080 resolution from
"gFramebuffer->SetDefaultMode"
http://cgit.haiku-os.org/haiku/tree/src/system/boot/platform/u-boot/video.cpp#n87

in SetDefaulMode we have
result = SetVideoMode(1920, 1080, 16);

Well my qemu window is not that big hence could be the reason it hangs.

This must not be Hardcoded , Must be dynamic after querying size of display ..

-- 
Thanks,
Rahul jain

Other related posts: