tristanred / ArmOS

Exploration project for making an OS for ARM. Targets RaspberryPi and STM devices.
MIT License
0 stars 0 forks source link

UART Clock not set properly #1

Open tristanred opened 1 year ago

tristanred commented 1 year ago

When printing stuff to UART, the letters might be jumbled a bit. This is due to the UART clock not being fixed anymore[^1].

To fix this, apparently we must set the clock dynamically with a mailbox call.

[^1]: https://wiki.osdev.org/Raspberry_Pi_Bare_Bones, see one of the last paragraph.

tristanred commented 1 year ago

Seems to be resolved by new boot code at d06a1925fda75ed21540adf6e9d078bc19ffc2db . Will keep testing for a while and close if fixed.