Commit Graph

1017 Commits

Author SHA1 Message Date
Ronald G Minnich
36f3d42dad pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
38655daa09 pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
faa2b2bac9 pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
03ce8a4a05 pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
8a48d3eabf pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
cf447e193a pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
85b277da4b pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
0217e85b04 pruning broken board
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
bd7cfacfd8 remove unused make targets
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Ronald G Minnich
f397147c45 remove deleted boards from CI
remove workaround for no longer supported tyan board

Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2024-10-25 17:29:13 +02:00
Nhi Pham
88a34046a0 ampere/jade: Fix CI
This is to use `go work` commands for multi-module workspace build.

Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2024-10-23 21:53:21 -07:00
Daniel Maslowski
0aed224be0 aeeon/up: rework and fix
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>
2024-09-21 18:15:31 +02:00
Daniel Maslowski
2a47c27339 CI: upgrade actions, print Go version
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>
2024-09-21 18:15:31 +02:00
Dmitrii Okunev
cbacce757d fix(intel/hw): A typo: log.Fatal -> log.Fatalf
Signed-off-by: Dmitrii Okunev <xaionaro@meta.com>
2024-09-20 13:25:37 +02:00
KuiRong
badd59a0b7 mainboards: Fix kernel version to pass CI
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
KuiRong
383b97df30 mainboards: Update docker build support
Current support mainboards:

aeeon/i11
aeeon/up
aeeon/upxtreme
amd/rome
ampere/jade
bytedance/g220a
cubie/board
digitalloggers/atomicpi
hpe/dl360gen10
intel/generic
intel/hw
intel/minplatform
intel/s2600
lenovo/hr630
lenovo/sr630
lenovo/thinkpad
marvel/macchiatobin
opentitanpilot/dresden
pcengines/apu
pcengines/apu2
qemu/arm64
qemu/x86_64
seeed/beaglev
slimboot
solidrun/honeycomblx2k
st/st32mp1517c
sunxi/nezha
tianocore/ovmf
tyan7106
walmart/robot

Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
KuiRong
920a693c62 walmart/robot: Change cross compiler tool to pass CI
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>
2024-01-18 21:54:59 -08:00
KuiRong
2689e369c4 tyan7106: Update kernel to 5.15
Add key.pub and ssh_host_rsa_key to for docker build.

Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
KuiRong
0ee818cbca intel/generic: Update kernel version and config
update kernel version and config to 5.15
config-5.15.0 is same as config-5.4.0

Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
KuiRong
bad5a12b60 hpe/dl360gen10: Update kernel version and config
update kernel version and config to 5.15
cofig-5.15 is same as config-5.4

Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Chiao Yang
27a1b3f1d2 intel/generic: correct typo
Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com>
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Chiao Yang
84d85c432b ampere/jade: Fix patch and go get for cpud
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Chiao Yang
2b68bc345a ampere/jade: Upgrade kernel to 5.15
Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com>
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Chiao Yang
828da469b2 mainboards: Fix kernel version to pass CI
Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com>
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Chiao Yang
f648c93105 mainboards: Add docker build support
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>
2024-01-18 21:54:59 -08:00
Chiao Yang
a297524f04 Add more file types for .gitignore
Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com>
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Chiao Yang
4831fcc904 qemu/arm64: Adjust QEMU parameters
Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com>
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Chiao Yang
f632136b6d qemu/x86_64: Adjust QEMU parameters
Signed-off-by: Chiao Yang <chiao.cs.yang@gmail.com>
Signed-off-by: KuiRong <605470060@gms.tku.edu.tw>
2024-01-18 21:54:59 -08:00
Nhi Pham
c72e499418 ampere/jade: Specify the -uroot-source path
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2023-03-13 11:24:41 -07:00
Nhi Pham
29e6406b19 ampere/jade: Fix geturoot failling to download u-root/cpu
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>
2023-03-13 11:24:41 -07:00
Ronald G. Minnich
996bb18ef9 i11, atomicpi, nezha: clean up, catch up
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-06-27 17:20:31 -07:00
Ronald G. Minnich
6ab5f77d2c aeeon/i11: update to 5.17-rc3, it has 9p fixes.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-06-27 17:20:31 -07:00
Ronald G. Minnich
82e20b9938 Include a basic cpio in the initramfs, for testing kexec
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-06-27 17:20:31 -07:00
Ronald G. Minnich
b3a8562d86 qemu/x86_64: add tweaks to make debugging easier
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-06-27 17:20:31 -07:00
Ronald G. Minnich
b32b9662df aeeon/i11: update to 5.17
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-06-27 17:20:31 -07:00
Ronald G. Minnich
5078d716b1 More bits and pieces for i11 kexec and 9p testing
the upstream kernel broke 9p, so there was bisection needed.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-06-27 17:20:31 -07:00
Ronald G. Minnich
9c020daba1 checkpoint commit, chasing bugs
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-06-27 17:20:31 -07:00
David Hu
dc93fe21d8 Arm qemu board, arm64 equivalent to qemu/x86_64
TODO:
   * flash config can be trimmed down to minimal
   * aarch64 qemu startup options can be trimmed down
Signed-off-by: David Hu <xuehaohu@google.com>
2022-06-01 22:52:34 -07:00
Nhi Pham
01386b74fb ampere/jade: replace oldconfig to olddefconfig
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>
2022-05-23 08:56:34 -07:00
Nhi Pham
ccd8eaca33 ampere/jade: fix CI issues with the Go modules
This fixes the CI pipeline failure per Ron's suggestion in the PR#69.

Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
2022-05-23 08:56:34 -07:00
Dexter Fryar
2e07e640b0 Ampere README describing LinuxBoot and Plan9 cpu commands
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>
2022-05-12 09:57:06 -07:00
Ronald G. Minnich
5db5842969 solidrun/honeycomb: tweak the docs
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-05-12 09:56:35 -07:00
Ronald G. Minnich
a32b0a735e Clean up makefile, remove unused commands from boot.scr
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-05-12 09:56:35 -07:00
Ronald G. Minnich
fe7cbd093b add sunxi/nezha
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>
2022-04-15 16:51:27 -07:00
Ronald G. Minnich
0e4e3bed2c Enable mandatory file locking
Required for go build in the age of modules.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-04-15 15:18:32 -07:00
Daniel Maslowski
eb6b76695e qemu/x86_64: fix building, add EFI variants
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-04-01 15:07:11 -07:00
Daniel Maslowski
b4013e72b4 Add u-root and cpu as git submodules
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-04-01 15:06:31 -07:00
Ronald G. Minnich
3aa01640b8 pcengines/apu2: run u-root command directly
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>
2022-04-01 15:06:17 -07:00
Daniel Maslowski
c2d48ee0b9 boards/x3550m5: remove board; there were only empty files
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-04-01 15:05:22 -07:00
Nhi Pham
c96c441b8f mainboards/ampere/jade: Workaround Linuxboot for Ubuntu 20.04
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>
2022-03-17 08:48:22 -07:00