10 juillet 2017 11:34 "Rahul Jain" <talentediq@xxxxxxxxx> a écrit:
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 ..