Commit Graph

880 Commits

Author SHA1 Message Date
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
Ronald G. Minnich
7f9674d936 correct comment in grub.cfg
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
6dc889bf75 atomic pi: build in pci command; make the flash image lbur.bin
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
8871bf758a tweak build steps
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
52d6908f5d pick branch for api kernel
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
a52c8df053 add guid2english
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
1300e72e8d add the readrom and writerom scripts
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7b16589bd6 add flashrom to the packages
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
441503f795 WIP: atomic pi: remove useless tcg/tpm crap
this one might not work out but ... 700+K!!!

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
bdfc463769 atomic pi: bring in some useful binaries since we have room
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
ed8657228c add minicom
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
4f1e3e4cd0 more tweaks for class -- fix up grub.cfg for non-spi-initramfs
and make sure the bzImage is also not using SPI initramfs;
flashbzImage target is for that.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
426e1743ee add packages
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
222b13df6c tweak for class
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
54f38a40c0 for class, git clone https:// not git@
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7a44a871fb update for class. always go get -u
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
9b76164f8c remove the TimeStampDxe ... it sucks.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
6f0cf0cab8 Various fixups
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
c8cf3d831c handy program we can try to use for testing efi shell replacement
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
9c6a42f6ca add testovmf file
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
45514cf35b more tweaks, no joy
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
024e4cc8e3 Kernel fits, endless reboots.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
52aa81086b Make a kernel fit. No idea if this will ever work.
Need to take the replace_pe32 out and see if the uefi shell still comes up.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7e068d249e with this set of changes, the usb light stays lit (does not cycle)
I think this means no panic, but still no serial output.

Possible something is not setting up serial? or interrupts?

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
4ae9c44fc4 bye bye a m i
you won't be missed

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
13d724a09d working, even with Gop remove.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
92fbcea4bc Still works.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
c2389d66d1 checkpoint commit, trying to find what works.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00