mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
The QEMU virt machine has a PL031 RTC at 0x09010000 (SPI 2), which QEMU sets from the host clock. qemu-armv8a did not register it, so the system time started at CONFIG_START_YEAR, and files on a host share (v9fs, hostfs) had times years in the future. With CONFIG_RTC_PL031, up_rtc_initialize() now registers the PL031 as the RTC, so the system time starts at the host's time. The new option QEMU_RTC_PL031_SYNC makes the boot wait (up to a second) for the RTC second to change. The PL031 counts whole seconds, so without the wait the time starts up to a second behind the host. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||