Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

Bare metal, Assembly language • Re: BCM2712 ARM Peripherals

$
0
0
https://github.com/librerpi/rpi-tools/b ... .c#L17-L27

and here is an example of accessing the ST_CLO from linux
though i never bothered adding model detection, so you have to un-comment the right one


in this case, its comparing ST_CLO (which starts when the SoC leaves reset) and /proc/uptime (which starts when linux boots)
the difference is then how long it took for the firmware to boot and pass control to linux

Statistics: Posted by cleverca22 — Thu Jan 15, 2026 5:28 am



Viewing all articles
Browse latest Browse all 8093

Trending Articles