08-21-2023, 09:08 PM
Hello,
To resolve this, you can try the following steps:
1. Access U-Boot environment: Interrupt the boot process by pressing any key when you see the "Hit any key to stop autoboot" prompt. This should drop you into the U-Boot command prompt.
2. Check boot targets: Run the following command to display the current boot targets and their order:
Ensure that the eMMC is listed as one of the boot targets and that it has the appropriate priority. If it's not present or has a lower priority than the SD card, you'll need to modify the boot order.
3. Modify boot order: Use the setenv command to modify the boot order and prioritize the eMMC. For example, if the eMMC is assigned to mmc0 and the SD card is assigned to mmc1, you can set the boot order with the following command:
This sets the boot order to prioritize the eMMC (mmc0) over the SD card (mmc1).
4. Save changes: Save the modified boot order to the U-Boot environment by running the following command:
This will save the changes and update the U-Boot environment variables.
5. Reboot: Exit the U-Boot command prompt and reboot the system to test the changes. You should now observe whether the system boots from the eMMC when the SD card is present but unbootable.
To resolve this, you can try the following steps:
1. Access U-Boot environment: Interrupt the boot process by pressing any key when you see the "Hit any key to stop autoboot" prompt. This should drop you into the U-Boot command prompt.
2. Check boot targets: Run the following command to display the current boot targets and their order:
Code:
excel
=> printenv boot_targets
Ensure that the eMMC is listed as one of the boot targets and that it has the appropriate priority. If it's not present or has a lower priority than the SD card, you'll need to modify the boot order.
3. Modify boot order: Use the setenv command to modify the boot order and prioritize the eMMC. For example, if the eMMC is assigned to mmc0 and the SD card is assigned to mmc1, you can set the boot order with the following command:
Code:
excel
=> setenv boot_targets "mmc0 mmc1"
This sets the boot order to prioritize the eMMC (mmc0) over the SD card (mmc1).
4. Save changes: Save the modified boot order to the U-Boot environment by running the following command:
Code:
excel
=> saveenv
This will save the changes and update the U-Boot environment variables.
5. Reboot: Exit the U-Boot command prompt and reboot the system to test the changes. You should now observe whether the system boots from the eMMC when the SD card is present but unbootable.