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

openwrt's u-boot installation doesn't accept the short form
armv7
Daniel Barlow 2023-10-07 00:14:09 +01:00
parent ed792e0dc0
commit f62ad0e1d7
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ in {
setenv serverip ${cfg.serverip}
setenv ipaddr ${cfg.ipaddr}
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
EOF
'';