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 <rminnich@gmail.com>
This commit is contained in:
Ronald G. Minnich 2022-01-10 11:30:14 -08:00
parent 763ba0311a
commit 9dfbdfc584
3 changed files with 4 additions and 3 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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