blob: abbec4245742b11b1c41096f2368a8647e0513f5 [file] [log] [blame]
Holger Brunck0c5dd432022-12-02 18:22:37 +01001#define WCOM_UBI_PARTITION_APP
2
Simon Glassc4840952023-07-30 21:01:45 -06003#include <env/pg-wcom/common.env>
Holger Brunck0c5dd432022-12-02 18:22:37 +01004
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