You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
bunnie 45e93e362b
revert VDD_INT threshold to 0.95 for next run
7 days ago
betrusted-scripts@79a1ffadec modernize 3 weeks ago
ci add stress test module 1 month ago
fomu-flash@e5eb5dab61 keep fomu-flash from toggling pins it shouldn't 2 years ago
jtagspi FPGA burning added 2 years ago
precursors update with another hotfix soc_csr to include the app_uart again 1 month ago
tests add note for future improvement 2 weeks ago
.gitignore add the backup.expect script and hide 8 months ago
.gitmodules structure repo 2 years ago
LICENSE Initial commit 2 years ago Update 10 months ago add "voltage test mode" to the tester 2 years ago add some convenience scripts 2 years ago add vibe, boost mode, susres; clean up other bugs 2 years ago revert VDD_INT threshold to 0.95 for next run 7 days ago add vibe, boost mode, susres; clean up other bugs 2 years ago add indicators and switch to HAT tester 6 years ago add a step to blank the SoC before EC programming 1 year ago add a script to force the oled off (for CI use) 10 months ago add a scriptminder to manage the HAT test on the tester 2 years ago add scripts to manage tester stability and boot activation 2 years ago

Bootstrap Mainboard

A collection of scripts to bootstrap a factory-new or bricked Precursor.

Also includes factory test scripts, to be run on the factory test jig.


These scripts are assumed to be run on a Raspberry Pi with a RaspiOS "buster" image (initially tested against Jan 11 2021 release on a Pi 3B+). Compatibility is not guaranteed for a Pi 4, but it "should" work.

Most of the dependencies are cloned in as submodules, but for select applications you may want to install more:

  • GDB debugging and USB updates: wishbone-utils. Requires Rust to build, but you should also be able to get the pre-built Releases to work for GDB debugging (but not USB updates). Note: you can also plug the USB-C port directly into your host, in which case you would need the wishbone-utils on your host, not the Rpi with debug HAT. x86-hosted wishbone-utils is actually the more typical use case.
  • Factory test:
    • pip3 install luma.oled -- Luma OLED. Generally, you don't want to run the factory test, as you don't have the rather expensive accompanying PCB with all the sensors and adapters to make it work.
    • pip3 install pexpect
    • pip3 install psutil -- for the routine
    • raspi-config -- enable serial port (and disable login shell on it), SPI, I2C.