diff options
author | Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com> | 2021-12-10 11:09:18 +0100 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2022-02-01 15:08:07 +0530 |
commit | 77ec63e1c024273477849a65482963a1a9425512 (patch) | |
tree | 48142a4da597c0bee3345c1d08758f8626aaaeb1 | |
parent | c630cab558b70b17636b3ea2e14d63e294fec751 (diff) | |
download | u-boot-77ec63e1c024273477849a65482963a1a9425512.zip u-boot-77ec63e1c024273477849a65482963a1a9425512.tar.gz u-boot-77ec63e1c024273477849a65482963a1a9425512.tar.bz2 |
configs/expu1: enable field fail-safe u-boot update
Field fail-safe u-boot update for pg-wcom-ls102x designs is introduced
with patch: 81fb05e.
This patch enables already added support by:
- Defining default u-boot build as bootpackage (factory) image.
- Defining u-boot update image location according to the EXPU1 NOR layout.
- Extending mtd partitions according defined EXPU1 NOR layout.
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r-- | configs/pg_wcom_expu1_defconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/pg_wcom_expu1_defconfig b/configs/pg_wcom_expu1_defconfig index 7ef87ce..a85838b 100644 --- a/configs/pg_wcom_expu1_defconfig +++ b/configs/pg_wcom_expu1_defconfig @@ -1,7 +1,10 @@ CONFIG_ARM=y CONFIG_SKIP_LOWLEVEL_INIT=y CONFIG_TARGET_PG_WCOM_EXPU1=y +CONFIG_PG_WCOM_UBOOT_UPDATE_SUPPORTED=y +CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE=y CONFIG_SYS_TEXT_BASE=0x60100000 +CONFIG_PG_WCOM_UBOOT_UPDATE_TEXT_BASE=0x60240000 CONFIG_SYS_MALLOC_LEN=0x1004000 CONFIG_NR_DRAM_BANKS=1 CONFIG_KM_DEF_NETDEV="eth2" @@ -42,7 +45,7 @@ CONFIG_CMD_NAND_TRIMFFS=y CONFIG_CMD_CRAMFS=y CONFIG_CMD_MTDPARTS=y CONFIG_MTDIDS_DEFAULT="nor0=60000000.nor,nand0=68000000.flash" -CONFIG_MTDPARTS_DEFAULT="mtdparts=60000000.nor:128k(rcw),128k(qe),128k(envred),128k(env),512k(res),1m(u-boot),-(ubi0);68000000.flash:-(ubi1)" +CONFIG_MTDPARTS_DEFAULT="mtdparts=60000000.nor:128k(rcw),128k(qe),128k(envred),128k(env),512k(res),1m(u-boot),128k(redenvred),128k(redenv),1m(redu-boot),-(ubi0);68000000.flash:-(ubi1)" CONFIG_CMD_UBI=y CONFIG_OF_CONTROL=y CONFIG_ENV_OVERWRITE=y |