Dear TI Community,
I have successfully burned eMMC from an SD boot, following the method outlined in the documentation found at
https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_06_00_42/exports/docs/linux/Foundational_Components/U-Boot/UG-Memory.html.
It needs to type following cmd once manually to boot from eMMC.
=> setenv mmcdev 0 => setenv bootpart 0
This manual intervention is not acceptable for my product development's compatibility.
There may be a need to revise or update the ENV variables when upgrading the product in the customer's factory. There is a risk of unexpectedly reverting ENV to boot from SD.
Is there a method available to automatically determine different values for "mmcdev" and "bootpart" based on whether it's an SD boot or an eMMC boot?
For example:
sd boot -> mmcdev = 1, bootpart = 1:2
eMMC boot -> mmcdev = 0, bootpart = 0:2 or 0:3
I appreciate your prompt response.