Another possibility to switch off the Raspberry Pi 5 is this call to the PCSI interface, provided by the Trusted Firmware module:
Code:
asm volatile("movx0, %0\n""smc#0\n":: "r" (0x84000008U)// function code SYSTEM_OFF);
Statistics: Posted by rst — Tue Feb 20, 2024 11:42 am