From 43b18df24ad18c5b3f18317917630d7bb33c7d97 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Tue, 19 Oct 2021 14:47:15 -0700 Subject: [PATCH] Final. This works with cpu! Signed-off-by: Ronald G. Minnich --- mainboards/solidrun/honeycomblx2k/Makefile | 3 ++- mainboards/solidrun/honeycomblx2k/boot.scr | 13 ++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/mainboards/solidrun/honeycomblx2k/Makefile b/mainboards/solidrun/honeycomblx2k/Makefile index 369ccf0..063e2ca 100644 --- a/mainboards/solidrun/honeycomblx2k/Makefile +++ b/mainboards/solidrun/honeycomblx2k/Makefile @@ -46,7 +46,8 @@ usefultargets: flashinitramfs.cpio: u-root Makefile GO111MODULE=off GOARCH=arm64 u-root -o $@ -build=bb \ - -uinitcmd=/bbin/pxeboot \ + -files ~/.ssh/cpu_rsa.pub:key.pub \ + github.com/u-root/cpu/cmds/cpud \ github.com/u-root/u-root/cmds/boot/pxeboot \ core \ diff --git a/mainboards/solidrun/honeycomblx2k/boot.scr b/mainboards/solidrun/honeycomblx2k/boot.scr index f3cdaa5..9308222 100644 --- a/mainboards/solidrun/honeycomblx2k/boot.scr +++ b/mainboards/solidrun/honeycomblx2k/boot.scr @@ -1,9 +1,4 @@ -mmc read 0x80d00000 0x6800 0x800 -dhcp -tftpboot ${kernel_addr_r} netbootkernel -tftpboot ${fdt_addr_r} fsl-lx2160a-cex7.dtb -fsl_mc apply DPL 0x80d00000 -bootefi ${kernel_addr_r} ${fdt_addr_r} - -tftpboot ${kernel_addr_r} lxSDK -tftpboot ${fdt_addr_r} honeycombDTB +mmc read 0x80d00000 0x6800 0x800; dhcp; tftpboot ${kernel_addr_r} netbootkernel; tftpboot ${fdt_addr_r} fsl-lx2160a-cex7.dtb; fsl_mc apply DPL 0x80d00000; bootefi ${kernel_addr_r} ${fdt_addr_r} +; +tftpboot ${kernel_addr_r} lxSDK; +tftpboot ${fdt_addr_r} honeycombDTB;