Ronald G. Minnich
8e481b6e53
Add support for coreboot images.
...
You must supply a coreboot.rom, assumed to be 16M,
and a corebootem100.map file if you want to run the em100.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
8341bd2812
enable smp on flash.config
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
2a147bbd1f
flash.config: enable more options
...
enable reserving low memory, low memory corruption detection
Enable 9p for the cpu command for those who want it
enable file systems for boot disks
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
bf35f1b5d1
Enable packet socket for netboot. Enble /proc/config.gz
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
79e7a134eb
intel/hw: add two netboot commands for testing
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
fdc5021b0c
amd/rome: Move forward to 5.8
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
bb64303078
opentitanpilot/dresden: add mass store to config file
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
ac1374a0a7
aopentitanpilot/dresden: replace Shell RE with shell GUID
...
some BIOSes stupidly to not add a USER INTERFACE to the
Shell; use the GUID instead.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
51663cb083
tyan7106: add cpu support
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
367bd77b57
amd/rome/Makefile: add note about getting to 5.10
...
5.10 fails for some weird reason.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
18223d0344
amd/rome:cpu-linux.config Add firmware memmap
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
9f0a30f86c
intel/hw: Use the Shell GUID, not the name
...
Too many broken images don't have the name attached.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
98a8f5d1b8
Make touching bootcmds part of fetch
...
That way it will be created, and running fetch more than once will not
hurt.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
0f38bcb73c
Take bootcmds out. The fetch target will touch it.
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
61031c06e5
intel/hw: Create an empty bootcmds file
...
You can edit this file to add commands in shell format,
i.e. commands with arguments. Quoting is supported.
e.g. bootcmds might contain:
fitboot -c 'root=/dev/ram0 rw console=ttyS0,115200 earlyprintk=ttyS0,115200' afile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
33b6eaf20c
intel/hw: Add support for cpu
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
93d38a231b
intel/hw:Tweak cpuflash.config
...
This is copied from flash.config with enough extras to enable cpu
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
b81b11f3b9
intel/hw: tweaks for flash.config
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
d1b34aed2b
Changes for building cpu images for flash
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
96bb52ea4e
Add a cpuflash.config -- config for cpu command in flash
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
d84e5aa27c
intel/hw: tweaks for the flash config
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
a402d312fb
intel/hw: Add the echo command
...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
8908e4d851
intel/hw: add a Go script to cleanly insert the initramfs
...
The use of dd is a bit dangerous, there's not enough
integrity checking.
insert.go is a simple script which does far better checking.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
b5368856cf
intel/hw: add etc directory to .gitignore
...
Users can add files to it without accidentally commiting
them.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
f92c091289
Add an etc directory
...
This allows users to add extra files without requiring
them to change the Makefile, while at the same time
allowing them to not add anything.
etc is also in .gitignore so that people don't accidentally
add files that are not public.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
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