use "tftpboot" instead of "tftp" in u-boot commands

openwrt's u-boot installation doesn't accept the short form
This commit is contained in:
Daniel Barlow 2023-10-07 00:14:09 +01:00
parent ed792e0dc0
commit f62ad0e1d7

View file

@ -73,7 +73,7 @@ in {
setenv serverip ${cfg.serverip} setenv serverip ${cfg.serverip}
setenv ipaddr ${cfg.ipaddr} setenv ipaddr ${cfg.ipaddr}
setenv bootargs 'liminix ${cmdline} $cmd' setenv bootargs 'liminix ${cmdline} $cmd'
tftp 0x$(printf %x ${cfg.loadAddress}) result/uimage ; tftp 0x$(printf %x $rootfsStart) result/rootfs ; tftp 0x$dtbStart result/dtb tftpboot 0x$(printf %x ${cfg.loadAddress}) result/uimage ; tftpboot 0x$(printf %x $rootfsStart) result/rootfs ; tftpboot 0x$dtbStart result/dtb
bootm 0x$(printf %x ${cfg.loadAddress}) - 0x$dtbStart bootm 0x$(printf %x ${cfg.loadAddress}) - 0x$dtbStart
EOF EOF
''; '';