forked from dan/liminix
1
0
Fork 0

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 32237467b3
commit 503c8526d1
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,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