Actions
Feature #1089
closedSwitch S99zzreboot to use kexec
Status:
Rejected
Priority:
Immediate
Assignee:
Category:
04 - Root File System
Target version:
Start date:
24 Nov 2023
Due date:
% Done:
0%
Estimated time:
Severity:
02 - High
Description
Instead of calling reboot which will take the hardware back to the bootloader, it would be faster (and probably cleaner appearing) to use kexec.
To do this:- Enable kexec in Buildroot: Target Packages->Debugging, Profiling and Benchmarking
- Have S99zzreboot call rcK to shutdown everything
- Don't umount the squashfs however - it provides access to the kexec command. This might be possible to copy to a tmpfs before unmounting everything and then running it from the tmpfs.
- Setup and run kexec
This would prevent the RPi 7" touchscreen from going into it's weird reboot mode (I think) and, more importantly, would be useful to Xeon to not have to hold down the volume down button on firstboot. Note that this will need to be manually migrated to Xeon after testing on PiBox builds.
Actions