configs: j721e_evm.h: Fix the dfu environment variables for eMMC and OSPI
As the size of tiboot3.bin has increased, the memory layout of the bootloaders in eMMC and OSPI have been changed to accommodate this. Therefore, introduce new dfu environment variables for combined boot images and accordingly update them for J7200 in the config header file. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
This commit is contained in:
parent
ce66fbc5b5
commit
3911240533
|
|
@ -171,12 +171,19 @@
|
|||
#define EXTRA_ENV_CONFIG_MAIN_CPSW0_QSGMII_PHY
|
||||
#endif
|
||||
|
||||
/* set default dfu_bufsiz to 128KB (sector size of OSPI) */
|
||||
#ifdef CONFIG_TARGET_J7200_A72_EVM
|
||||
#define EXTRA_ENV_DFUARGS \
|
||||
DFU_ALT_INFO_MMC \
|
||||
DFU_ALT_INFO_EMMC_COMBINED \
|
||||
DFU_ALT_INFO_RAM \
|
||||
DFU_ALT_INFO_OSPI_COMBINED
|
||||
#else
|
||||
#define EXTRA_ENV_DFUARGS \
|
||||
DFU_ALT_INFO_MMC \
|
||||
DFU_ALT_INFO_EMMC \
|
||||
DFU_ALT_INFO_RAM \
|
||||
DFU_ALT_INFO_OSPI
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_TARGET_J721E_A72_EVM) || defined(CONFIG_TARGET_J7200_A72_EVM)
|
||||
#define EXTRA_ENV_J721E_BOARD_SETTINGS_MTD \
|
||||
|
|
|
|||
|
|
@ -29,6 +29,15 @@
|
|||
"u-env.raw raw 0x3400 0x100 mmcpart 1;" \
|
||||
"sysfw.itb.raw raw 0x3600 0x800 mmcpart 1\0"
|
||||
|
||||
#define DFU_ALT_INFO_EMMC_COMBINED \
|
||||
"dfu_alt_info_emmc=" \
|
||||
"rawemmc raw 0 0x800000 mmcpart 1;" \
|
||||
"rootfs part 0 1 mmcpart 0;" \
|
||||
"tiboot3.bin.raw raw 0x0 0x800 mmcpart 1;" \
|
||||
"tispl.bin.raw raw 0x800 0x1000 mmcpart 1;" \
|
||||
"u-boot.img.raw raw 0x1800 0x2000 mmcpart 1;" \
|
||||
"u-env.raw raw 0x3800 0x100 mmcpart 1;\0"
|
||||
|
||||
#define DFU_ALT_INFO_OSPI \
|
||||
"dfu_alt_info_ospi=" \
|
||||
"tiboot3.bin raw 0x0 0x080000;" \
|
||||
|
|
@ -38,6 +47,14 @@
|
|||
"sysfw.itb raw 0x6c0000 0x100000;" \
|
||||
"rootfs raw 0x800000 0x3800000\0"
|
||||
|
||||
#define DFU_ALT_INFO_OSPI_COMBINED \
|
||||
"dfu_alt_info_ospi=" \
|
||||
"tiboot3.bin raw 0x0 0x100000;" \
|
||||
"tispl.bin raw 0x100000 0x200000;" \
|
||||
"u-boot.img raw 0x300000 0x400000;" \
|
||||
"u-boot-env raw 0x700000 0x020000;" \
|
||||
"rootfs raw 0x800000 0x3800000\0"
|
||||
|
||||
#define DFU_ALT_INFO_RAM \
|
||||
"dfu_alt_info_ram=" \
|
||||
"tispl.bin ram 0x80080000 0x200000;" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue