Commit Graph

160 Commits

Author SHA1 Message Date
Ronald G. Minnich
4f3c83aa87 Add tiny config file.
Signed-off-by: Lennon <zhongswag@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
04344663c7 replace cpuserver with cpud
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0f11d06f9b remove -CONFIG_ACPI_REDUCED_HARDWARE_ONLY=y from s2600
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G Minnich
995db2468b Small updates to Atomic Pi for newer kernel
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0d6a664b9b Initial S2600 support
We move the class keys to the top so more than one board
can use them. We use a stable kernel. We only build the
sshdkernel and cpukernel at present.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
9381890c30 fix up pxelinux config files as we now have initramfs built into the kernel
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
a91d4e6f68 Major makefile cleanup
name things better:
sshdkernel
flashkernel
cpukernel

similar naming for configs and cpio.lzma files

Hopefully these target names are less confusing.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
69896f0ef4 make those disable commands advisory
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
9006bfbe92 fix error in makefile clause for pxeserver
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
991edae2c2 Adjust for new boot world -- no grub, only linux
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
1c3226fca1 tweak makefile for new world
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
4125c3b5ee add an ssh clause to memoize usage
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
1fa7a0111a make sshd be the uinit
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
2208243fa9 Add sshd to the reflash image
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
45a8ae6841 add an http: for reflash
and reflashshow to show how bad tftp is

also add more vi config files

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
acc99e2557 tweak the demo script
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
239bcf4526 refine the biguroot target; add UTK demo
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
5f3c0e1a80 simplify pxelinux config; add new reflash target
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
fa6a551082 USB support for netboot kernel
needed so atomic pi can boot standard usb sticks.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7f8845f3ab Add disk and kexec features
This is so we can get to boot2 booting.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
79ef5cbb21 Make flash payload always pxeboot; bring back netconsole
This works. Sorry, it means we're hardwired to 192.168.0.2
but that's life.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
63849368bb clean up the makefile so it's easier to read
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
cd458ba63b Simplify the grub, de-emphasize netconsole
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
43afaad1bb api: move to source-based bds and shell dxe
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
f8bf72eaa0 rename dhcpd.conf to make it clear which net it is for
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d9ed8c83db Add bds and shell built from source and a rule
To build an image,
make gan.bin

There is unneeded work in here which we'll remove later.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
51564996ca The netboot kernel needs CONFIG_ACPI_REDUCED_HARDWARE_ONLY=y
Once you go down the path to the light side, well, life is better
but it's a one way trip.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d03924b405 Final set of changes to enable pxeboot
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
e894097478 minor fix to tiny config
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7dd1fad2e9 more info on the makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
138564215e add ARCH_RANDOM and all the pxeboot waiting ends
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
78655ced08 a few more notes
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
8d4b62f300 trust the cpu random. Does not fix pxeboot blocks (!)
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7460420f27 api: more tweaks.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
8e30160d8f api: makefile notes and tweaks
I think our pxeboot is what we want.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
a32d4b2b9e flash kernel: add kexec and packet socket support
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
e48edc9ee8 This config lets us boot ip=dhcp
ping top the node works

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d0914a3368 add convenience script for verifying
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
e56ee4bf1f api: add minimal bits for Go programs tested in qemu
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
cc47d58b6e api: maybe this will do it.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d51e0fe525 add initrd support.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
11f035eb8c api: working boot with tcp stack.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7d38d4b962 api: add networking, and realtek
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
30237b293b atomic pi: go with reduced hardware mode. Now works in flash.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
149b0c9656 more removal
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d0680dbcbb netboot config
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
27a8acfce8 refine tiny kernel I'm getting the ACPI disabled entirely dependent on kernel config. Progress!!!
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
cc16351cf1 We can now build a *working* tinykernel image.
You need to turn off lots of stuff via AMITSE before you do this.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
274149de02 make the tiny config really tiny and make a tiny.bin image with minimal dxe-ectomy
-rw-rw-r-- 1 rminnich rminnich 852016 Jan 18 05:01 arch/x86/boot/bzImage

This should let us more easily find out why acpi is not happening.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
abbb60b821 don't bring in extra programs -- it breaks cpu namespaces somehow
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00