From 9dfbdfc5844ce49afbe0fc5a1455568bd82fed69 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Mon, 10 Jan 2022 11:30:14 -0800 Subject: [PATCH] aeeon/i11: new makefile and config files These config files are for 5.15.0 : cpuflash.config 5.4.65 : cpuflash-5.4.65.config They start a cpu daemon on boot. The cpu daemon in turns starts a dhclient and a shell. You can type commands. They use pciserial for earlyprintk beacause their serial hardware does not work in any way I can find. 5.4.65 can't run the on-board ethernet, so I have to use a usb serial when I boot 5.4.65. They have a simple standard command line. You can override it via grub or kexec, but if you don't, looks like this for both of them: CONFIG_CMDLINE="console=tty0 earlyprintk=pciserial,force,1:0.0,115200" While each kernel can kexec itself, they can not kexec the other. 5.15.0 kexec'ing 5.4.65: brick 5.4.65 kexec'ing 5.15.0: boots, but no working ethernet Signed-off-by: Ronald G. Minnich --- mainboards/aeeon/i11/Makefile | 1 + mainboards/aeeon/i11/cpuflash-5.4.65.config | 4 ++-- mainboards/aeeon/i11/cpuflash.config | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mainboards/aeeon/i11/Makefile b/mainboards/aeeon/i11/Makefile index 695014a..26dbe95 100644 --- a/mainboards/aeeon/i11/Makefile +++ b/mainboards/aeeon/i11/Makefile @@ -209,6 +209,7 @@ cpu.cpio.lzma: cpu.cpio cpu.cpio: Makefile u-root -build=bb -o cpu.cpio \ + -initcmd=cpud \ -files ~/.ssh/cpu_rsa.pub:key.pub \ github.com/u-root/cpu/cmds/cpud \ github.com/u-root/u-root/cmds/exp/console \ diff --git a/mainboards/aeeon/i11/cpuflash-5.4.65.config b/mainboards/aeeon/i11/cpuflash-5.4.65.config index 3d8eaec..974a270 100644 --- a/mainboards/aeeon/i11/cpuflash-5.4.65.config +++ b/mainboards/aeeon/i11/cpuflash-5.4.65.config @@ -448,8 +448,8 @@ CONFIG_LEGACY_VSYSCALL_EMULATE=y # CONFIG_LEGACY_VSYSCALL_XONLY is not set # CONFIG_LEGACY_VSYSCALL_NONE is not set CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="ip=dhcp console=tty0 earlyprintk=pciserial,force,1:0.0,115200" -CONFIG_CMDLINE_OVERRIDE=y +CONFIG_CMDLINE="console=tty0 earlyprintk=pciserial,force,1:0.0,115200" +# CONFIG_CMDLINE_OVERRIDE is not set CONFIG_MODIFY_LDT_SYSCALL=y CONFIG_HAVE_LIVEPATCH=y # end of Processor type and features diff --git a/mainboards/aeeon/i11/cpuflash.config b/mainboards/aeeon/i11/cpuflash.config index 0ee64b1..5519809 100644 --- a/mainboards/aeeon/i11/cpuflash.config +++ b/mainboards/aeeon/i11/cpuflash.config @@ -434,7 +434,7 @@ CONFIG_LEGACY_VSYSCALL_EMULATE=y # CONFIG_LEGACY_VSYSCALL_XONLY is not set # CONFIG_LEGACY_VSYSCALL_NONE is not set CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="ip=dhcp console=tty0 earlyprintk=pciserial,force,1:0.0,115200" +CONFIG_CMDLINE="console=tty0 earlyprintk=pciserial,force,1:0.0,115200" CONFIG_CMDLINE_OVERRIDE=y # CONFIG_MODIFY_LDT_SYSCALL is not set CONFIG_HAVE_LIVEPATCH=y