Commit Graph

987 Commits

Author SHA1 Message Date
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
Ryan O'Leary
5aacc85244 Remove circleci
We are replacing it with github actions.

Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2022-01-12 19:51:15 +01:00
Daniel Maslowski
3900b44a8e mb/walmart/robot: fix mkimage type
It's just kernel, not flashkernel.

Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-01-12 10:46:27 -08:00
Daniel Maslowski
a6a31b3c45 CI: omit beaglev for now due to upstream sources gone
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-01-12 10:46:27 -08:00
Daniel Maslowski
7df0afad12 seeed/beaglev/Makefile: leave FIXME for lost branch from starfive
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-01-12 10:46:27 -08:00
Daniel Maslowski
2126e7d29b hpe/dl360gen10/Makefile: leave FIXME for broken target 'injectkeys'
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-01-12 10:46:27 -08:00
Daniel Maslowski
30f3edbe51 Switch to using https:// instead of git:// for cloning from GitHub
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>
2022-01-12 10:46:27 -08:00
Daniel Maslowski
342aa135d2 CI: install gcc-riscv64-linux-gnu among dependencies
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-01-12 10:46:27 -08:00
Daniel Maslowski
5c5fe4f7f9 CI: touch SSH pub key files to make build pass
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-01-12 10:46:27 -08:00
Daniel Maslowski
e912c404f7 CI: Update to go1.17.6 using actions/setup-go
Signed-off-by: Daniel Maslowski <info@orangecms.org>
2022-01-12 10:46:27 -08:00
Ryan O'Leary
fad7ffdfa7 Update to go1.17.5
This is now required by u-root.

Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2022-01-12 10:46:27 -08:00
Ronald G. Minnich
9dfbdfc584 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>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
763ba0311a aeeon/i11: Add the pci serial to the command line
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
29c2559242 Add the config for 5.4.65
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
09fd7a4ac8 Don't restrict dmesg access for any reason
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
83c23aa58f aeeon/i11: further config pruning
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
ace6dd61f5 aeeon/i11: prune the kernel
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
cb75a707d8 aeeon/i11: prune the kernel
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
2212be2ea6 aeeon/i11: remove console
Turns out we don't need it; serial doesn't work anyway.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
669fb9c969 aeeon/i11: update cpuflash stuff, trying to move to newer kernel
since this crummy board doesn't yet work with upstream drivers

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
4ec0e175c8 aeeon/i11: extend gitignore
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
3d35eeada2 aeeon/i11: we now have cpu
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>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
cedfaff2b5 working to get this POS UPXtreme i11 working
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
b39b8ee9ed Trying to get this POS UP Xtreme i11 to boot
It's bad.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ronald G. Minnich
717f3336c6 add upxtreme/i11
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2022-01-11 15:46:52 -08:00
Ryan O'Leary
885161b954 Re-enabled github actions
Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2021-12-10 12:16:05 -08:00
ron minnich
ae3999e829
Merge pull request #54 from rminnich/atomicpitargets
Atomicpitargets
2021-12-07 07:27:40 -08:00
Ronald G. Minnich
f42ae39678 digitalloggers/atomicpi: ignore new kernel images and directories
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-12-07 07:26:03 -08:00
Ronald G. Minnich
3ae0ee506c digitalloggers/atomicpi: add makefile stanza for 5.10
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-12-07 07:25:04 -08:00
Ronald G. Minnich
169fc45782 Add linux 5.10 config for kexec testing
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-12-07 07:21:21 -08:00
Ronald G. Minnich
d4fe5f2dac Add linux 5.4 support
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-12-07 07:14:08 -08:00