liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f62ad0e1d7fca6525a8ee0bd092789f5ea3e1edb
parent ed792e0dc0df8a688055cf37ae0d26f1266d2d4e
Author: Daniel Barlow <dan@telent.net>
Date:   Sat,  7 Oct 2023 00:14:09 +0100

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

openwrt's u-boot installation doesn't accept the short form

Diffstat:
Mmodules/tftpboot.nix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/tftpboot.nix b/modules/tftpboot.nix @@ -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 '';