Kyle J. McKay 28153db403 rpi-eeprom-update: avoid any possible od accidents
This command pipeline:

  printf '00000000000000000000000000000000' | od -An -t x1 | tr -d ' '

produces this output:

  30303030303030303030303030303030
  *

Add a `-v` to od and a `\n` to the tr arg like so:

  printf '00000000000000000000000000000000' | od -v -An -t x1 | tr -d ' \n'

to instead produce this output:

  3030303030303030303030303030303030303030303030303030303030303030

Although it's unlikely that the revision value would generate multiple
lines or contain duplicate lines, it's better to be safe than sorry
especially since the changes to do so do not introduce any extra overhead
and use only POSIX-specified options/arguments.

It's also possible this code fragment could be copied and pasted elsewhere
to provide a "hexdump" of something that might be expected to generate
multiple lines and which may potentially contain duplicates.  By fixing
the code here any breakage caused by such copying and pasting is avoided.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
2020-09-03 11:37:28 -07:00
2020-05-25 11:32:51 +01:00
2019-09-12 11:52:04 +01:00
2019-09-02 11:46:15 +01:00
2020-08-16 18:02:37 +01:00
2020-08-12 15:03:06 +01:00

rpi-eeprom

This repository contains the scripts and pre-compiled binaries used to create the rpi-eeprom package which is used to update the Raspberry Pi 4 bootloader and VLI EEPROMs.

Support

Please check the Raspberry Pi general discussion forum if you have a support question.

Reset to factory defaults

The Raspberry Pi Imager provides an EEPROM recovery image which may be used to reset the bootloader and VLI EEPROMs to factory defaults.

Bootloader documentation

Description
No description provided
Readme Multiple Licenses 44 MiB
Languages
Shell 63.8%
Python 35.6%
Standard ML 0.6%