Commit Graph

5 Commits

Author SHA1 Message Date
2fc69ebfc0 Update bootrom gitignore 2024-08-23 21:22:22 +02:00
806023778b Initialize UART in bootrom
Unless the UART is properly initialized, the console won't display any
message until a next stage intializes it (OpenSBI) and then we will
start to see messages after uploading the next bootroms.

Follows the OpenSBI initialization for the UART setting the baud rate to
115200 and assuming a clock of 50 MHz.
2024-08-23 18:13:48 +02:00
417a4d5c75 Set the _hang trap in mtvec 2024-08-23 16:46:40 +02:00
2dcb2ac209 Save return address before calling putchar 2024-08-23 16:46:29 +02:00
8272212769 Add custom bootrom 2024-08-23 16:06:21 +02:00