Compiling Linux kernel with making olddefconfig helps set all new config
symbols to their default values without prompting.
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
Enabled Plan9 support in the LinuxBoot kernel config
Added systemboot as the default init for LinuxBoot and added cpud to the command set
Signed-off-by: Dexter Fryar <dexter@amperecomputing.com>
This is "working", but only to the extent that it boots, works for a while, then hangs :-(
Build here, then
cp cpukernel ~/oreboot/src/mainboard/sunxi/nezha/
cp sun20i-d1-nezha.dtb ~/oreboot/src/mainboard/sunxi/nezha/
cd ~/oreboot/src/mainboard/sunxi/nezha/
PAYLOAD_B=cpukernel PAYLOAD_C=sun20i-d1-nezha.dtb make run
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
The makefile now builds the u-root command when
make fetch
is invoked.
It runs the u-root command it builds, rather than
run u-root.go
Further, now that a set of bugs are fixed in cpud, we can now fire up
a console shell, and include lots of commands, which makes life a
LOT easier.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
This supports adding the DT node "linux,uefi-secure-boot" into the EFI
Stub for kexecing Ubuntu 20.04+. Otherwise, the Ubuntu will make the
kernel crash.
Signed-off-by: Tam Chi Nguyen <tamng@amperecomputing.com>
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
GitHub says:
git clone git://github.com/linux-sunxi/linux-sunxi.git -b sunxi-next --depth=1 linux
Cloning into 'linux'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/
for more information.
Signed-off-by: Daniel Maslowski <info@orangecms.org>
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>
I had to use an asix usb to ethernet for now, but at least this POS is
sort of working:
rminnich@a300:~/linuxboot/mainboards/aeeon/i11$ cpu x date
Wed Jan 5 05:47:21 PM PST 2022
rminnich@a300:~/linuxboot/mainboards/aeeon/i11$
On to fixing on-board ethernet.
Would be nice if the folks at aeeon could learn not to include
30-year-old dead networks like FDDI and ATM in their
kernel configs, eh? It's just Not That Hard.
Next steps: prune this config more. Start testing kexec.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
the images are called kexectestimage-5.10 and kexectestimage-5.4
They include two kernels, kernel-5.4 and kernel-5.10
Build the images, netboot them, and once they boot, you can test kexec:
kexec kernel-5.4
kexec kernel-5.10
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>