blob: 5b5bda95e283bf3b2b7b51ba8c44eaf81cb01883 [file] [log] [blame]
Holger Brunck0c5dd432022-12-02 18:22:37 +01001#define WCOM_UBI_PARTITION_APP
2
3#include <environment/pg-wcom/common.env>
4
5EEprom_ivm=pca9547:70:9
6boot=bootm $load_addr_r - $fdt_addr_r
7checkfdt=true
8cramfsloadfdt=cramfsload $fdt_addr_r fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb
9ethrotate=no
10hwconfig=devdis:esdhc,usb3,usb2,sata,sec,dcu,duart2,qspi,can1,can2_4,ftm2_8,i2c2_3,sai1_4,lpuart2_6,asrc,spdif,lpuart1,ftm1
11netdev=eth2
12
13newenv=protect off CONFIG_ENV_ADDR_REDUND +0x40000 &&
14 erase CONFIG_ENV_ADDR_REDUND +0x40000 &&
15 protect on CONFIG_ENV_ADDR_REDUND +0x40000
16
17set_fdthigh=true
18
19update=protect off CONFIG_SYS_MONITOR_BASE +${filesize} &&
20 erase CONFIG_SYS_MONITOR_BASE +${filesize} &&
21 cp.b ${load_addr_r} CONFIG_SYS_MONITOR_BASE ${filesize} &&
22 protect on CONFIG_SYS_MONITOR_BASE +${filesize}
23
24update-nor=protect off CONFIG_SYS_FLASH_BASE +${filesize} &&
25 erase CONFIG_SYS_FLASH_BASE +${filesize} &&
26 cp.b ${load_addr_r} CONFIG_SYS_FLASH_BASE ${filesize} &&
27 protect on CONFIG_SYS_MONITOR_BASE +0x100000
28
29uimage=uImage