RTEMS | bsps/arm/realview-pbx-a9: Add safe PL111 framebuffer setup (!477)

Seyoung Baik (@JimmyBaik) gitlab at rtems.org
Thu May 15 07:05:40 UTC 2025



Seyoung Baik created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/477

Project:Branches: JimmyBaik/rtems:pl111_fb_setup to rtems/rtos/rtems:main
Author:   Seyoung Baik




### Summary

This patch adds a minimal implementation of `fb_set_up()` for the PL111
framebuffer controller in the realview-pbx-a9 BSP.

To ensure compatibility with QEMU, which does not emulate PL111 MMIO
regions, this setup function skips register writes when a dummy MMIO
base address (e.g., 0x70000000) is detected. This prevents fatal
exceptions and allows printk-based verification.

### Testing

Tested under QEMU using the hello world application:
![Screenshot_from_2025-05-15_16-04-28](/uploads/722bfa6bebc52ae782fafd8fc44639fd/Screenshot_from_2025-05-15_16-04-28.png)

Additionally, GDB showed memory faults at dummy MMIO addresses, confirming
the need for runtime checks.

### Signed-off-by

Seyoung Baik <hielelshadday at gmail.com>

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/477
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250515/04e0961b/attachment.htm>


More information about the bugs mailing list