Add docker build support to unify the build environment for
mainboards.
Current supported mainboards:
Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com>
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
For go version 1.17, the 'go get' command is a combination of
downloading and installing a package. We have to use -d flag to skip
installing the package. For future go versions, the -d flag will be
enabled by default, so we have to use 'go install' to install the
package instead.
This patch also fixes the go/u-root version to avoid unexpected
compatibility issue between golang and u-root. Without specifying the
version, the go always gets the latest version.
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
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>