How can we boot from the emmc uda partition in the FS boot mode using SPL boot flow ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How can we boot from the emmc uda partition in the FS boot mode using SPL boot flow ?
Hi
If you want to boot from the UDA partion in FS mode please follow these steps.
.
diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig index 34457c35d8..6af7f59cd3 100644 --- a/configs/j721e_evm_r5_defconfig +++ b/configs/j721e_evm_r5_defconfig @@ -34,8 +34,8 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_EARLY_BSS=y -CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y -CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400 +#CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set +#CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is not set CONFIG_SPL_DMA=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_FS_EXT4=y diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index e71a862a6f..d4e6fc0b52 100644 --- a/configs/j721e_evm_a72_defconfig +++ b/configs/j721e_evm_a72_defconfig @@ -33,8 +33,8 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_STACK_R=y CONFIG_SPL_SEPARATE_BSS=y -CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y -CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 +#CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR is not set +#CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is not set CONFIG_SPL_DMA=y CONFIG_SPL_ENV_SUPPORT=y CONFIG_SPL_I2C_SUPPORT=y
NOTE:With these changes you will not be able to use emmc raw mode If you want to use revert the above mentioned changes
Regards
Diwakar