Commit Graph

892 Commits

Author SHA1 Message Date
Ronald G. Minnich
01521515b3 Move the bootcmds file into the initramfs
uinit will now look for bootcmds
you have to supply your own

make will fail if not bootcmds file is present

bootcmds is in .gitignore;
it won't get accidentally commited.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
682f696456 intel/hw: add cp command to Makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
2fa5d1f9a6 intel/hw: add more options to the kernel
add squashfs, loop, mtd.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
ad37cd60af uinit: make it parse normal command lines with shlex
So your bootcmds can now look like this:

fitboot -c 'root=/dev/ram0 rw console=ttyS0,115200 option=blah aption=foo earlyprintk=ttyS0,115200' /mnt/boot/chopper.bz.uImage

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Vanshidhar Konda
404cbb1143 ampere/jade: Add additional drivers for Mt. Jade
Enable IGB for Intel I210 NIC.

Enable MPT3SAS driver for SAS controller.

Enable XFS and EXFAT for supporting boot from more types
of partitions.

Signed-off-by: Vanshidhar Konda <vkonda@amperecomputing.com>
2021-09-14 13:14:59 -07:00
Ryan O'Leary
2a3a69f8c3 Enable CONFIG_POSIX_TIMERS
This adds a fairly standard set of syscalls.

Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
abb33512a2 A few more tweaks to uinit
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
bbbea42154 Update hw target to show example uinit
This is an example of providing uinit for a board.
The uinit in this case mounts a drive, looks inside
for
/mnt/boot/bootcmds
which is a file of lines, each line being 1 or more args,
args separated by : (so we don't have to go crazy
on the parsing).

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
46c80c03de Add networking
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
88b79a0229 update cpu.config
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
8c06055ac7 Allow access to /dev/mem from user mode on pcengines/apu2 and intel/hw
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G Minnich
30011b25e7 trying to get the cubie back from years ago
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Jean-Marie Verdun
ed17e8b17e Remove "garbage" debug command from geturoot
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:59 -07:00
Jean-Marie Verdun
252e23b503 Add ssh key injection support into linuxboot
Signed-off-by: Jean-Marie Verdun <jean-marie.verdun@hpe.com>
2021-09-14 13:14:59 -07:00
Ronald G Minnich
6f230ebc79 upxtreme: adjust utk usage
we only want the dxeremove.bin image, not hap.bin

Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
7b21893a0a Add LEGACY ptys; Go runtime still seems to need them.
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
c61b07b61d aeeon/upxtreme: add USB support as well as EFI variables
EFI bootmgr now works, as does USB mass store.

Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
9e2ee10ad4 aeeon/upxtreme: Add vga console
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Ronald G Minnich
1ee6cf580f cpukernel for up xtreme
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
54d5871d55 add disk_unlock, acpi, dmi tools into u-root
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
0fe95de7b5 Update Makefile for making qemu working with flashkernel
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
98249637fe Enable IOMMU to solve Marvell SATA compatibility issue
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
ddf3a161d0 Enable SATA AHCI support
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
0cee99ee41 kexec to secondary kernel require CONFIG_HOTPLUG_CPU=y
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
83f8acf18f change Filesystem settings to boot to CentOS 8 provided
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Gabriel Huang
f3e04fffdf enable I2C support and IPMI feature for IPMI support
Signed-off-by: Gabriel Huang <gabriel.kh.huang@fii-foxconn.com>
2021-09-14 13:14:18 -07:00
Nill Ge
ecf1934cfa Add ByteDance System G220A Mainboard
Add g220a's Makefile and config.

Signed-off-by: Nill Ge <geshijian@bytedance.com>
2021-09-14 13:14:18 -07:00
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