Skip to content

Commit

Permalink
Merge pull request #100 from WildPuppyWin/patch-1
Browse files Browse the repository at this point in the history
Update compiling-coreboot.md
  • Loading branch information
WeirdTreeThing authored Nov 7, 2023
2 parents 46a1c47 + cc5bddb commit dc9050c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/compiling-coreboot.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ Building and flashing your own firmware has the potential to brick your device.
* For example, `./build-uefi.sh leona`
* Roms will be stored in `~/dev/firmware`
6. **Download flashrom, then give it execute permission.**
* `cd; curl -LO https://elly.rocks/tmp/coreboot-development/flashrom-alderlake; chmod +x flashrom-alderlake`
* `cd; curl -LO https://tree123.org/chrultrabook/utils/flashrom-libpci38; chmod +x flashrom-libpci38`
7. **Flash your custom ROM**
* Backup your current rom, just in case things go wrong: `./flashrom-alderlake -p internal -r current.rom`
* Flash your custom firmware: `sudo ./flashrom-alderlake -p internal -w ~/dev/firmware/coreboot_edk2-<boardname>-mrchromebox_<yearmonthdate>.rom`
* Note: Intel Chromebooks should be flashed with `--ifd -i bios` ex: `sudo ./flashrom -p internal --ifd -i bios -w coreboot.rom`
* Backup your current rom, just in case things go wrong: `./flashrom-libpci38 -p internal -r current.rom`
* Flash your custom firmware: `sudo ./flashrom-libpci38 -p internal -w ~/dev/firmware/coreboot_edk2-<boardname>-mrchromebox_<yearmonthdate>.rom`
8. **Reboot**
* Assuming it said `success` on all checks, reboot.

Expand Down

0 comments on commit dc9050c

Please sign in to comment.