-
Notifications
You must be signed in to change notification settings - Fork 435
autoboot.txt overrides boot {part} #508
Comments
AFAIK this behaviour is all entirely in firmware-land and not in NOOBS-land. |
@lurch it is all firmware, but I'm the one who touched it last and it seems most relevant to NOOBS users, so that probably lands it on my todo list. |
I've had a quick go at fixing this: Seems to work for me, but it would be good to get a few testers to check I haven't messed anything else up. It just needs to be extracted onto the NOOBS partition (the one with recovery.elf) as bootcode.bin. |
@XECDesign @thegigibeast |
I just tested, and reboot command works as expected. My setup is : noobs 2.8, rasplex 1.8 (outdated firmware?), libreelec 8.2.5, retropie latest. |
Thanks for testing, @Dustee. Seems to work well for me too, except for when booting off USB. Unfortunately, that requires a change to start.elf. We can fix NOOBS and Raspbian relatively quickly (I hope), but then it will take a while for the change to propagate to the other distros. |
Do they changes break the other distros from booting? |
The combination of booting off USB, using autoboot.txt AND a reboot parameter would result in files being loaded from two different partitions. If any of the variables are removed, then everything works. |
2ndstage: Increase eth_open timeout to 5 seconds See: #1041 firmware: video_encode: Use default values on invalid nStride or nSliceHeight See: #1051 firmware: gpioman/FXL6408: Handle open failing sensibly See: #1053 firmware: Delay backlight coming on See: #1052 firmware: LCD driver close fixes 2ndstage: ignore autoboot.txt if boot partition is already set See: raspberrypi/noobs#508
2ndstage: Increase eth_open timeout to 5 seconds See: raspberrypi/firmware#1041 firmware: video_encode: Use default values on invalid nStride or nSliceHeight See: raspberrypi/firmware#1051 firmware: gpioman/FXL6408: Handle open failing sensibly See: raspberrypi/firmware#1053 firmware: Delay backlight coming on See: raspberrypi/firmware#1052 firmware: LCD driver close fixes 2ndstage: ignore autoboot.txt if boot partition is already set See: raspberrypi/noobs#508
Fix should be in latest rpi-update firmware. |
In the process of publishing v2.9 with this fix: |
NOOBs Lite 2.8
http://director.downloads.raspberrypi.org/NOOBS_lite/images/NOOBS_lite-2018-04-19/NOOBS_lite_v2_8.zip
(Sorry - Not sure of last known working version)
Current Behaviour
NOOBS ignores reboot {part} and always boots to boot_partition in autoboot.txt
Expected Behaviour
reboot {part} reboots into part and autoboot.txt is ignored.
Steps to reproduce
Format SD card and copy over NOOBs Lite 2.8 files
Boot NOOBs and install LibreELEC and OSMC
Boot LibreELEC, enable SSH
SSH into LibreELEC (root / libreelec) and do command reboot 8
Observe Pi reboots to OSMC
SSH into OSMC (osmc / osmc) and do command sudo reboot 6
Observe Pi reboots to LibreELEC
Put SD card into PC and create autoboot.txt file in root of SD card with below contents
boot_partition=6
Boot Pi
Observe Pi booting directly into LibreELEC
SSH into LibreELEC and do command reboot 8
Observe Pi reboots to LibreELEC (and not OSMC as expected)
The text was updated successfully, but these errors were encountered: