Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/9elements/osfc2019_system76_coreboot
Coreboot payloads shipped for OSFC 2019 Darper Pro
https://github.com/9elements/osfc2019_system76_coreboot
Last synced: 6 days ago
JSON representation
Coreboot payloads shipped for OSFC 2019 Darper Pro
- Host: GitHub
- URL: https://github.com/9elements/osfc2019_system76_coreboot
- Owner: 9elements
- Created: 2019-08-21T07:00:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T11:49:48.000Z (about 5 years ago)
- Last Synced: 2024-04-11T03:52:07.839Z (7 months ago)
- Language: Go
- Size: 21.8 MB
- Stars: 0
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OSFC2019 coreboot payloads
Coreboot payloads shipped for OSFC 2019 Darper Pro.Precompiled binaries can be found in `binary/`.
The source files are in `src/`.# LinuxBoot payload
1. Build the GNU/Linux kernel using the defconfig in `src/LinuxBoot/`.
2. Build u-root instructions:
```
u-root -build=bb -initcmd init -defaultsh elvish -files src/mplayer:bin/mplayer -files video.webm:video.webm -o initramfs_u-root.cpio coreboot-app systemboot bootanimation
xz --keep --force --check=crc32 --lzma2=dict=1MiB initramfs_u-root.cpio
```3. Replace the payload in the vendor firmware:
```
cbfstool firmware.rom remove -n fallback/payload
cbfstool firmware.rom add-payload -f bzImage -n fallback/payload -I initramfs_u-root.cpio.xz
```# SeaBIOS payload
1. Build SeaBios using the .config in `src/Seabios/`.
2. Replace the payload in the vendor firmware:
```
cbfstool firmware.rom remove -n fallback/payload
cbfstool firmware.rom add -f vgabios.bin -n seavgabios.bin -t raw -r COREBOOT
cbfstool firmware.rom add-payload -f bios.bin.elf -n fallback/payload
```# Flashing a new firmware
Flashing can be done from a running GNU/Linux using flashrom 1.1:
```
flashrom -pinternal --fmap -i COREBOOT -w firmware.rom
```