Christophe Leroy | f6469c2 | 2023-04-04 13:09:36 +0200 | [diff] [blame] | 1 | loadaddr=0x1a00000 |
| 2 | filename=cmpcpro.itb |
| 3 | netdev=eth0 |
| 4 | console_args=console=ttyS0,115200N8 |
| 5 | loadkernel=ubi part nand0;ubifsmount ubi0; ubifsload ${loadaddr} /boot/${filename}; ubifsumount; ubi detach |
Jean-Michel CASAUBON | c4870ef | 2023-10-31 11:27:22 +0000 | [diff] [blame] | 6 | flashboot=mw.w 90000040 0x000E 1; setenv bootargs ${console_args} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off ${ofl_args}; run loadkernel; bootm ${loadaddr}#${config} |
| 7 | tftpboot=mw.w 90000040 0x000E 1; setenv bootargs ${console_args} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off ${ofl_args}; tftp ${loadaddr} ${filename}; bootm ${loadaddr}#${config} |
Christophe Leroy | f6469c2 | 2023-04-04 13:09:36 +0200 | [diff] [blame] | 8 | update=echo 'Updating ubi image'; mw.w 90000040 0x000E 1; if tftp $loadaddr $ubifile; then nand erase.chip; nand write $loadaddr 0x00 $filesize; fi; |