Commit Graph

268 Commits

Author SHA1 Message Date
Ronald G Minnich
76564ca2d2 intel/generic: enable all cgroups and ip=dhcp for cpukernel
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
bdf2b079e1 Add cpud support for generic
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Jean-Marie Verdun
031d296bae Modify copyright to HPE
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
00cd5a97c6 Add a cpu kernel config for hw
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
756467efcc opentitanpilot/dresden
can't remove bootguard or genericmemorytest?

remote Hsti. I wonder what that is?

Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
5581ea542e remove AmdCpm code
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
3946b9989c IOMMU DXE removed
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
4647f96750 add io command
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
b90fd5c48c removelegacyinterrupt
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
666b6c5de5 can not remove CapsuleRuntimeDxe yet
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
a9d5294b07 17 more useless DXEs
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
112b64bcdd remove .*PlatformRas.*
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
9a0a0d2869 bye bye HTTP and useless CSM crap
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
efe65719f2 bye bye smbios
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
b9cf909be8 bye bye Tpm
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
360dc579b0 remove Config DXE
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
cb843ab28b remove Debug DXE
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
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