RTEMS | bsps/arm/lm3s69xx: Fix simple console UART output for lm3s6965_qemu (!1094)
Armaan Chowfin (@ar-in0)
gitlab at rtems.org
Sat Feb 28 21:40:27 UTC 2026
Armaan Chowfin created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1094
Project:Branches: ar-in0/rtems:bugfix/lm3s6965_qemu-uart to rtems/rtos/rtems:main
Author: Armaan Chowfin
## Summary
MR in response to: https://users.rtems.org/t/arm-lm3s6965-qemu-debugging-hello-exe-datasheet-differences/561?u=ar-in0
When using `CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER` , for example in hello.exe, `Console_Port_Tbl` is never allocated by the bsp console initialization code. The lm3s69xx UART driver incorrectly interprets an unitialized value (0x00) as UART port base address. Subsequent rtems writes to the uart data register `uart->dr` are ignored by qemu - 0x00 is not recognized as a valid mmio address.
QEMU Command Line: `qemu-system-arm -nographic -no-reboot -serial mon:stdio -M lm3s6965evb -kernel hello.exe`
```ini
# config.ini
[arm/lm3s6965_qemu]
RTEMS_DEBUG = True
BUILD_SAMPLES = True
BSP_RESET_BOARD_AT_EXIT = True
# 64K RAM, 256K ROM
BSP_LM3S6965_QEMU_RAM_LENGTH = 0x00010000
BSP_LM3S6965_QEMU_ROM_LENGTH = 0x00040000
```
Code formatted with rtems `clang-format` built from source.
## Generative AI
<!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->
<!--Default settings, if it is a dropdown it will set after submission-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1094
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/20260228/8a21f04b/attachment-0001.htm>
More information about the bugs
mailing list