Rework the entire Makefile.
The go install commands have changed.
For cpu, u-root now requires explicit Go workspace setups.
Elvish was dropped in favor of gosh.
The other Makefiles will also need fixing.
This one is the first running on CI, so start with it.
Signed-off-by: Daniel Maslowski <info@orangecms.org>
Keeping actions on a recent version is necessary because older
ones are deprecated over time and would at some point error.
We have seen such errors already, so this upgrades all actions.
Also drop the GO111MODULE env var. Go has changed.
Signed-off-by: Daniel Maslowski <info@orangecms.org>
there is a different between armel and armhf,
they adopt different strategies for dealing with
floating-point operations.
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
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>