Holger Brunck | 0c5dd43 | 2022-12-02 18:22:37 +0100 | [diff] [blame] | 1 | #define WCOM_UBI_PARTITION_APP |
| 2 | |
| 3 | #include <environment/pg-wcom/common.env> |
| 4 | |
| 5 | EEprom_ivm=pca9547:70:9 |
| 6 | boot=bootm $load_addr_r - $fdt_addr_r |
| 7 | checkfdt=true |
| 8 | cramfsloadfdt=cramfsload $fdt_addr_r fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb |
| 9 | ethrotate=no |
| 10 | hwconfig=devdis:esdhc,usb3,usb2,sata,sec,dcu,duart2,qspi,can1,can2_4,ftm2_8,i2c2_3,sai1_4,lpuart2_6,asrc,spdif,lpuart1,ftm1 |
| 11 | netdev=eth2 |
| 12 | |
| 13 | newenv=protect off CONFIG_ENV_ADDR_REDUND +0x40000 && |
| 14 | erase CONFIG_ENV_ADDR_REDUND +0x40000 && |
| 15 | protect on CONFIG_ENV_ADDR_REDUND +0x40000 |
| 16 | |
| 17 | set_fdthigh=true |
| 18 | |
| 19 | update=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 | |
| 24 | update-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 | |
| 29 | uimage=uImage |