Commit Graph

886 Commits

Author SHA1 Message Date
Ryan O'Leary
5cd0a63ea8 Move github actions to correct folder
Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2021-09-14 13:14:59 -07:00
Ryan O'Leary
969781c8ce Enable github actions
Just build pcengines/apu2 flashkernel to start.

Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
fcce4920da amd/rom: checkpoint
This removes the 'noearly' and does not get to u-root prompt

    amd/rome: checkpoint
    with oreboot 74f1a1de20644143f48a1243addfda56e27b4395 this gets to a u-root prompt.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
60f8136348 amd/rome: checkpoint with oreboot 74f1a1de20644143f48a1243addfda56e27b4395 this gets to a u-root prompt.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
4f56e9cf04 amd/rome: more tweaks, getting to a prompt in oreboot
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
4ff8004c28 seeed/beaglev: final tweaks to get cpu working,ip=dhcp too
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
9f1ce04779 seeed/beaglev: This allows cpu to work
rminnich@a300:~$ CPU_NAMESPACE="/home=/home/rminnich" PWD=/ cpu -timeout9p 10s  bv /bbin/cat /home/bin/p9fs
set -e
set -x
./go/src/github.com/hugelgupf/p9/cmd/p9ufs/./p9ufs -v -root /home/rminnich/harvey/ :8080
rminnich@a300:~$

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
448fce02c2 walmart/robot: More tweaking and cpu works now
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
e4f35af4ac walmart/robot: .gitignore
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
6186d77bb8 walmart/robot: config files, don't work yet
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
73409cb884 walmart/robot: Makefile
useful target is cp.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
e662133a86 walmart/robot: Add boot scripts
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
58fba38e46 seeed/beaglev: Add u-boot-tools
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
1ac93bce00 seeed/beaglev: Remove more things we do not need
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
688ae79e42 seed/beaglev: Remove, e.g, Tulip, myricom
Tulip has not been purchasable for 20 years :-)

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
baf08659af beaglev: add instructions for the usb stick (microsd really)
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
4afd4425bc tweak config and Makefile, add BOOT commands to show how to boot
TODO: make this the boot script. I forget how.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
6622680f80 Add the seeed beaglev cpu.config and Makefile
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
Ronald G. Minnich
b282647be2 intel/hw: enable USB
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
2021-09-14 13:14:59 -07:00
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