This repository was archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 524
Boot modes
TrungNguyen1909 edited this page Mar 3, 2022
·
1 revision
The emulated T8030 machine uses a few boot modes to determine the root device
-
auto: Make decision based on theauto-bootnvram variable. (the default mode)- If
auto-bootis false/undefined, the device will boot the ramdisk in restore mode, which means adding the boot args :-restore rd=md0 nand-enable-reformat=1 -progress. Otherwise the boot args is unchanged.
- If
-
manual: Leave the boot args as user passed (-append). -
enter_recovery: Setauto-bootto false (drop to restore mode) and then behaves likeautoon the following reboots. -
exit_recovery: Setauto-bootto true and then behaves likeautoon the following reboots.
The auto mode will boot to restore mode until the restore succeeded and then boot to disk on the following (re)boots.
The enter_recovery mode exists to force a restore. Note that this set persistent nvram variable auto-boot.
The exit_recovery mode can undo this.
Regardless of the boot modes,
- If no root device is defined through boot args (
rd=), the device will automatically root to disk0s1 (If it is mountable). - If the resulting boot args contains
-restore, the device will identify as a DEV board to avoid restore issues.