Closed AshieSlashy closed 1 year ago
Hi!
I'm not aware of any 20220317 release, and there's no boot.scr references in this repo; are you using a different fork of petitboot maybe? Has someone added a u-boot parser there perhaps?
Ohhhh. Will try to track down the fork being used on Odroid N2 then. Thanks!
No problem! If you're after any additional debug output from the parser, you can generally drop to a shell and check out /var/log/petitboot/pb-discover.log
.
Closing for now, but let me know if you need any more input from my side.
Hi,
Hoping that someone who understands Petitboot much better than I can help with a frustrating issue when trying to auto boot an Odroid-N2 from SPI & USB SSD.
I have the latest Petitboot 20220317 and a USB SSD drive with Armbian flavoured Debian Bookworm installed (the same image on SD card boots successfully).
When switched to SPI, Petitboot starts successfully and detects the USB SSD ok, and the log shows "Parsed U-boot script from /boot/boot.scr".
Unfortunately, no option appears in the Petitboot main screen to autoboot from this drive. It looks like Petitboot parses the boot.scr file but is having trouble running/understanding it.
Rescanning doesn't help (it sees the drive, parses the boot.scr file but doesn't offer option to boot from it).
I couldn't find any error messages anywhere.
Petitboot is configured to boot from the SSD & autoboot is enabled.
Interestingly, if I manually create a new boot option & provide all the settings that the boot.scr file would have generated, then the image boots perfectly and runs solely off the USB SSD.
So I guess that, if we can get Petitboot to successfully parse/execute boot.scr, the Odroid should be able to automatically boot Armbian from SPI!
Any & all help much appreciated!!!
Here is a copy of the boot.scr: