Commit Graph

401 Commits

Author SHA1 Message Date
Ronald G Minnich
21c111ca4f This begins the slash and burn stage to try and find what's essentialy
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
6d903f6106 More stuff we don't seem to need
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
5d3a71d211 remove int13
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
353e5b2f88 config file mods for AMD Rome CRB
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
1a0cdd04df Add in all the DXEs we might remove
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
6e8e818db0 Tcg not needed.
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
7b859f00cc Remove AMITSE
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
c090f09dd4 remove Dxe's we don't need
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
47c4359980 HW board.
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
924ca68d70 working flashkernel, working cpukernel
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
ef3a5e6d5e Tweaks for atomic pi makefile
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
daf5057cc8 Enable SATA
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
09ec61371c Add dhclient
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
4cf6a4ef34 Add RSDP command
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
4cceb2a7ce Add ISO9660 fs
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
3157d62d3f Add ext4 support
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
fc272bb32d Add the PCI command
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
2e434531f9 Some kernel tweak for USB support
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
e7b3a577e1 Enable USB within 5.4 kernel
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
771639ae46 Add a few commands Make Makefile more user readable
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
85bd7121f5 Define hostname to model name
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:13:01 -07:00
vejmarie
0d5f7e34a5 Remove unnecessary DXE's (#20)
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:13:01 -07:00
Ronald G Minnich
5b223c5603 Add the apu2
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0c0410a46e Force the built-in command line, add uroot.nohwrng
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
f3071b5758 add all -root tools to image and only use xz for initrd
Now on boot you'll have tools:

~/> dhclient eth0
1970/01/01 00:00:50 Bringing up interface eth0...
1970/01/01 00:00:51 Attempting to get DHCPv4 lease on eth0
^CException: dhclient killed by signal interrupt
[tty], line 1: dhclient eth0
~/> ip l
1: lo: <UP,LOOPBACK> mtu 65536 state UNKNOWN
    link/loopback
2: eth0: <UP,BROADCAST,MULTICAST> mtu 1500 state UP
    link/ether 0c:42:a1:54:21:16
3: eth1: <BROADCAST,MULTICAST> mtu 1500 state DOWN
    link/ether 0c:42:a1:54:21:17
4: tunl0: <0> mtu 1480 state DOWN
    link/ipip
~/>

which are handy. ls /bbin for more.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0a167b85a4 Ampere Jade Mountain support
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
vejmarie
dacac18797 hpe - initial setup (#18)
* Create initial repo for hpe motherboard support

Signed-off-by: Jean-marie Verdun <vejmarie@Jean-maries-MacBook-Air.local>

* Add initial README

Signed-off-by: Jean-marie Verdun <vejmarie@Jean-maries-MacBook-Air.local>

Co-authored-by: Jean-marie Verdun <vejmarie@Jean-maries-MacBook-Air.local>
2021-09-14 13:13:01 -07:00
Ryan O'Leary
c5a5651a13 Fix missing cpu command in build
The cpu command has moved to github.com/u-root/cpu/cmds/cpud

Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
5865456c19 Add ampere/jade
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
fec7f94979 Tweak minplatform build
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G Minnich
0ba617d1cf macchiattobin: add stanza for cross-build package
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
4a1cd903ae latest changes from F1F0
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
283151370a builds for marvell macchiatobin
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Lennon
eec29c7949 Add getmecleaner and skip tighten.bin step. (#13)
Signed-off-by: Lennon <zhongswag@gmail.com>

Co-authored-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
17b5210a0a Add repos stanzas to Makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
507a8c41dd Add an me_cleaner stanza to the top-level Makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
93a9f556b3 add CONFIG_DEVPORT to the atomic pi flash kernel -- it fits
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
f4afa152fc Enabled UNIX98 PTYs
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
6d29917302 arm emulation
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
61f64b83ec add st/st32mp1517c
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
302a358d3e checkout the working_hack branch for s2600
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
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
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
Ronald G. Minnich
d041b9af62 Just enough to fit a kernel with no networking, or block devices, or ...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d7f30e1c96 Add up2 bds and shell to the up image. Cross fingers.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
785e233bee more hackery, all fails
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
3cb2551c14 Remove more things
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
de2e84c60d bye bye Ish!
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
4fcefd53c3 test image, xxx.bin, so we can explore dxe removal
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
ef78c1fa77 Fixups for correctly setting CONFIG_CMD* variables
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d903d41ab3 various fixups including right kernel tree and initrd in spi
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
009849165f Further classwork
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
a6b5c0ee2a Set up atomic pi files
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
eaeafb74b1 add a top level makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
9571a7dcb5 intel/generic: go get -u, remove DUMMY
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
42f3934560 Atomic PI support, kernel shrink, class setup
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7b066fa515 update intel/generic so we can get things we need no HPE
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0a2c47e1cb more shrinkage. Let the kernel do dhcp. remove all commands
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7128ca2ad4 remove /bbin/cpu from Makefile; cpu is enough
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
035b0c7381 Remove fusermount, we no longer need it.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0e19a68388 add netpoll for realz
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0b7b033a86 WIP add netconsole
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
eee0fc898d WIP: WOW! no console needed, we have cpu working.
slightly under 4M

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
cf78ef8fbd WIP: untested reductions.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0654a2fb29 USB, IP multicast, and a few other things gone
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
5022e44bb3 lighter bbin, lighter .config
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
061cd2e1e4 Trim some IP 4 bits.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
a38a2c37b1 no more ip6
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
4e04f9a59d more trimming, especially USB
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
066fa52ba5 Move to 5.3.10 and get superior RNG setup
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7f20b9946f more shrinkage
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
924c8ebe26 more shrink kernel
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0f8bfdeb0a mroe removal
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
309ad9d8a6 more pruning
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
8c2878997c More pruning, still too big
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
2453b48d2e tweak config to make it smaller
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
ad39b1684b Add support for aeeon up board
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
3c4d1017a4 cubie: still can't get to a working kernel
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
0535bd3f05 attempts to use a kernel, but sunxi is not standard
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
2d60bf7774 Set up to build cubie kernels
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
46eda27d7d cubieboard tweaks for netboot
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
a5f16792af working cubieboard initrd build
To use:
make uCore
copy uCore to the sd image
boot. Done.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7745eb2c1f add the cubieboard. Untested
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
28bee69b23 add netboot, fix more drivers to try to get mtd to work
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
038f225873 Add mtd support -- not sure what to add so add it all
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
68ccda662e Add lenovo thinkpad as a cpu server and .gitignore.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d7dd8f7f98 Add the e1000
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
1976733659 config for thinkpads
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7da4ae56f0 vmware test
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
e25f801216 Configuring up apu2. Works.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
7f3d6efa08 Fix echn->echo; change getstuff to fetch
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
5bc2f9cd69 Add the tigon3 (bcm 5719)
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
d475d3812f enable x2apic support and remove rush
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
771986b588 add support for the pcengines apu2. Enable cpu
The 'kernel' file can now be placed into the pc engines
apu2 as (e.g.) img/nerf and will boot and dhclient just
fine. Rush is broken but it doesn't matter -- you
have the cpu command.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
4d381b3e82 Add a generic target for intel x86_64
You can select a netboot target and build with it
make getstuff
make netboot
make image.bin

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
3b749d4d99 add qemu clause to Makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
134059f0ea Forgot the makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
3e444977f6 Build for slimboot
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
9d2d6905b7 hr630 support
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
bc5a94c0fe fix names of things
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Loic Prylli
9c60d74b4a Replace "~/go" by $GOPATH
Tested: build with non-standard go dir.

Signed-off-by: Loic Prylli <lprylli@netflix.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
4687df47da lenovo sr630
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Loic Prylli
9ad38edd80 Make sure getstuff and image.bin targets work from a empty src start
Signed-off-by: Loic Prylli <lprylli@netflix.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
bed077cb4c tweaks
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
42c1e12bfa add a dependency
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
619f90199a kernel now fits. use utk, not ForthUTK, for now.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
6cd066e44c Initial changes for case study
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
8b438a6c03 Fix name in makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
6991d733f5 rename tyan7102 to correct name: tyan7106
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
377a517b95 fixup .gitignore
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
9d9322f7c9 Change futk -> ForthUTK
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
2a5d8bc793 chipsec output
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:01 -07:00
Ronald G. Minnich
fd89f16ea5 bits and pieces. Chipsec works now
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
43da645f5d prebuilt .ko for chipsec because I don't want to keep building it
add a pox for chipsec

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
01b67311b5 more make stanzas, run results
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
5dfbf84d54 more updates
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
70c0719caf Finally get power right.
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
c1ac70b5e0 notes
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
5281ef86a2 add the /bin/reset script for the BMC
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
5e3d7d6f94 Third try. It was not the charm.
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
00bb76e0a9 changes for ongoing work
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
3509c8ad80 make me the center of the universe
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
4f1be719a5 a bit more progress but ... not sure
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
16f22b91b8 Gets to removesomecrap.bin
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
Ronald G. Minnich
7c5582d0d9 files for tyan 7101
The Makefile uses the utk tool to build several different images.

Currently the ipmisucks image seems to work,
removesetupcrap boots but the ethernet does not work due to some
pcie issues.

with ipmisucks we can configure and use eth0. We've not tested eth1

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
2021-09-14 13:13:00 -07:00
ron minnich
b63a98bfe1 Initial commit 2021-09-14 13:13:00 -07:00