Commit Graph

6 Commits

Author SHA1 Message Date
Tim Gover
bf4849ce3b Remove deprecated EEPROM from test script
The test script was failing because the deprecated bootloader EEPROM
image was removed. Migrate the test to use a different EEPROM version.
2019-10-29 10:32:21 +00:00
Tim Gover
d354bbe700 Add support for updating the USB (VL805) EEPROM
* New beta recovery.bin which can update the VLI EEPROM before
  start.elf is loaded. This is the recommended and default method
  because no USB devices will be in use at this stage.
* Extend the USE_FLASHROM configuration to use the vl805 tool
  to program the VL805 directly.
* Generate SHA256 checksums in .sig files for the bootloader and
  and VL805 images. This is required by the new recovery.bin to
  guard against corrupted files being flashed to the EEPROM(s).
* Various variable renames to distinguish between the bootloader
  and the VL805 images.
2019-10-22 12:27:58 +01:00
Tim Gover
802db3f96b test: Add utility script to install updates from this git repo 2019-10-10 10:52:32 +01:00
Tim Gover
57150a4104 test-rpi-eeprom-config: Add test cases for large config files 2019-10-08 15:15:21 +01:00
Tim Gover
1ba58068ea Set unused data to zero if size of config is reduced
If the size of bootconf.txt is reduced then set the unused data
to all ones instead of leaving garbage at the end. The EEPROM
header contains the actual file but this makes it easier to
verify the image and makes overreads more obvious.
2019-09-24 13:39:42 +01:00
Tim Gover
694d936c99 Add unit test for rpi-eeprom-config
Add a basic unit test to verify that rpi-eeprom-config updates the
EEPROM image as expected (only the config + header updated).
2019-09-17 15:21:09 +01:00