Jeremy Soller
83b35f6870
Revert "scripts: Check coreboot config is correct"
...
This reverts commit af5041f90befc28d8d99efa052d5823b2b1833c6.
2021-02-26 15:28:05 -07:00
Tim Crawford
af5041f90b
scripts: Check coreboot config is correct
...
If a board in models/ does not exist in coreboot, coreboot will emit a
warning and select the first available board for the vendor instead.
This may result in building and being able to flash coreboot with an
addw1 configuration on another board.
2021-02-26 12:43:29 -07:00
Tim Crawford
541f4f3f13
deps: Skip installing Rust if rustup is available
...
Saves time and prevents errors with trying to install rustup twice or
potentially overriding the user's default toolchain.
2021-02-22 15:43:29 -07:00
Tim Crawford
07dfef8cb9
scripts: Fix installing deps
...
- Remove extra `then` to fix running this script
- Update messages for system dependencies
- Add `--progress` for submodule clones, which can get slow
2021-02-22 15:16:03 -07:00
Neal Gompa
7a7bc80b8f
scripts/deps.sh: Use os-release(5) to select correct package manager
...
Fedora has apt packaged, which causes this script to do the wrong
thing if it is installed. Instead of checking for the package manager
binary, use os-release(5) data to select the correct package manager
to use.
2021-02-22 08:30:22 -07:00
Tim Crawford
8bfc769028
Extract GOP driver when generating new model
2021-01-26 10:21:07 -07:00
Tim Crawford
85a3921c1c
Add script to use UEFIExtract
...
This avoids having to build UEFITool manually, which requires qt5.
2021-01-26 10:21:07 -07:00
Tim Crawford
aeb83e33f6
Add deps for building UEFITool
...
Include qt5 and CMake for building UEFITool/UEFIExtract.
2021-01-26 10:21:07 -07:00
Jeremy Soller
d70b7856bb
Support edk2.config file
2021-01-19 15:41:51 -07:00
Jeremy Soller
c3c51af172
scripts/coreboot-gpio.sh: Support TGL-U GPIOs
2021-01-19 15:41:51 -07:00
Jeremy Soller
bb877392e2
scripts/generate.sh: Do not require firmware.rom
2021-01-19 15:41:51 -07:00
Jeremy Soller
ad2d818403
Schematics require verification of purchase
2021-01-06 08:35:42 -07:00
Tim Crawford
837060b28d
Remove now unneeded reconfig script
...
With .config generated at build time, there is no need to keep this
script.
2020-12-14 15:07:14 -07:00
Tim Crawford
ff0a27ad9c
Use defconfig to generate .config
...
Use minimal set of config selections and let coreboot generate the
default values for the rest of them.
The only differences are the following models selecting
CONFIG_CPU_MICROCODE_CBFS_DEFAULT_BINS instead of *_EXTERNAL_BINS:
- darp5
- darp6
- galp3-c
- galp4
- lemp9
2020-12-14 15:07:14 -07:00
Fabian Topfstedt
3df8580f37
adding systemd-devel (which provides libudev-devel) for Fedora/RedHat
2020-10-19 13:32:32 -06:00
Fabian Topfstedt
e00d08af3b
Added libudev-dev for Pop!_OS
...
My build failed on a Pop!_OS-Live-Stick until I installed `libudev-dev`. I don't remember if it was the firmware-open or the ec build that failed, but ec references deps.sh.
2020-10-19 13:32:32 -06:00
Tim Crawford
e5abb6529b
Update rust-toolchain to 2020-07-27
2020-10-19 13:32:03 -06:00
Jeremy Soller
48ffaf156b
Update submodules and configs
2020-09-15 08:15:23 -06:00
Tim Crawford
ed505602ec
Don't attempt to flash EC if not on 76ec
2020-09-15 08:13:26 -06:00
Tim Crawford
6c8d87381a
scripts: Copy the VBT ROM if found
2020-08-31 11:19:27 -06:00
Tim Crawford
f7d4ab2908
scripts: Update deps.sh
...
- Clone submodules when installing deps
- Install coreboot commit hook with deps
- Add some missing dependencies
- AVR tools are required for EC development
- flashrom for external flashing of SPI flash ROM
- ncurses is used for coreboot menuconfig
- parted is used by firmware apps for creating a bootable image
2020-08-31 11:19:27 -06:00
Jeremy Soller
012ac55b69
bonw14
2020-08-13 13:00:47 -06:00
Tim Crawford
697615be23
scripts: Generate coreboot file as hda_verb.c
...
coreboot has not used the name hda{,_verb}.h for some time. Reduce the
changes needed when adding this file to the coreboot tree.
2020-08-03 10:00:38 -06:00
Tim Crawford
bc1a6ca25b
scripts: Add script to automate new board bringup
2020-07-22 09:40:37 -06:00
Tim Crawford
c27d87e02d
scripts: Update coreboot generated headers
...
- Replace license block with SPDX id
- Remove copyright notice, which coreboot tracks in AUTHORS
2020-07-22 09:40:37 -06:00
Jeremy Soller
48bf9dcfce
coreboot ec-acpi ( #106 )
...
* Add script for updating coreboot config
* Update coreboot and coreboot config
* Update coreboot and configs
* Pass board and version when running make clean in ec
* Add addw2 chip.txt
* Update coreboot
* Update coreboot
2020-07-18 13:49:56 -06:00
Jeremy Soller
62130a2160
Always copy uecflash.efi if it exists
2020-07-17 09:17:43 -06:00
Tim Crawford
0140b65c53
scripts: Remove cargo-xbuild from deps
2020-07-14 11:40:21 -06:00
Jeremy Soller
b0d4fd3487
Add scripts for using ch341a programmer
2020-06-29 10:55:22 -06:00
Tim Crawford
1c34fb14f4
scripts: Add deps for Fedora/CentOS
2020-06-18 16:37:00 -06:00
Jeremy Soller
4dc59fee82
Add addw2, gaze15, and oryp6
2020-06-11 13:05:11 -06:00
Tim Crawford
d645e62cde
Rebase edk2 on edk2-stable202002
...
Rebase on the latest stable tag of EDK II, switching from
CorebootPayloadPkg to the new UefiPayloadPkg.
2020-05-21 13:12:05 -06:00
Tim Crawford
6d66adc7f5
Pin cargo-xbuild to 0.5.29
...
The new handling of LTO options in 0.5.30+ breaks building on older
toolchains.
2020-05-20 13:48:51 -06:00
Jeremy Soller
ec5c4cba20
Parallel build of pxestick ipxe
2020-04-23 08:53:02 -06:00
Jeremy Soller
7e066e6be8
Rename coreboot.rom to firmware.rom
2020-04-08 13:32:25 -06:00
Jeremy Soller
3eefdb9619
Rename coreboot.rom to firmware.rom, easier to read path for usb basedir
2020-04-08 12:56:46 -06:00
Jeremy Soller
d11dcd4c2a
Copy ec.rom to usb.img if flashing open EC
2020-04-07 13:18:25 -06:00
Tim Crawford
35d82ffc39
Flash EC after flashing board
2020-04-07 13:08:51 -06:00
Tim Crawford
f4f4d5b61d
Build EC as a submodule, specifying version
...
For models that use System76 EC, we want to have the board version and
the EC version matich.
Ref: https://github.com/system76/firmware-open/issues/75
2020-04-07 13:08:51 -06:00
Jeremy Soller
2940603f53
Build pxestick using ipxe source
2020-02-13 17:31:53 +00:00
Jeremy Soller
9fe1b60493
Go back to just using iPXE and not loading drivers
2020-02-12 11:16:09 -07:00
Jeremy Soller
5884ea3709
Merge pull request #70 from system76/readme
...
readme: Add more information for flashing
2020-02-11 12:59:26 -07:00
Jeremy Soller
2e42a15663
Load USB ethernet driver before running ipxe in pxestick
2020-02-11 12:31:57 -07:00
Tim Crawford
672648dcf0
scripts: Update spipi.sh path to use this repo
2020-02-06 17:32:52 -07:00
Tim Crawford
0cf0bab887
scripts: Add spipi.sh from the private repo
2020-02-06 15:21:26 -07:00
Jeremy Soller
d421596fd2
Add pxestick script
2020-01-31 10:12:14 -07:00
Jeremy Soller
0a798d9421
Make it easier to build different package for edk2
2020-01-30 12:14:52 -07:00
Jeremy Soller
3efdc04546
Add update script
2020-01-22 10:52:08 -07:00
Jeremy Soller
5a56365221
Do not use HPET
2019-11-04 16:17:32 -07:00
Jeremy Soller
0fed96533c
Add smmstore dumping script
2019-10-28 14:26:24 -06:00