Commit Graph

5 Commits

Author SHA1 Message Date
Sean Cross
acdccf5f98 booster: change magic number for booster
Since the USB and flash communication layers are different, change the
magic number for booster.  This will prevent previous versions of foboot
from trying to launch our updater with the wrong version.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-28 16:36:45 +08:00
Sean Cross
5a587c5752 booster: README: document how to make and use make-booster
Previously we missed some crucial information about how to use it.
Document that information here now.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-24 20:06:21 +08:00
Sean Cross
bb8079711b booster: document alternate SPI id
Some boards have this alternate SPI id.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-22 19:03:16 +08:00
Sean Cross
449f408cfe booster: finish documenting flash sequence
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-22 12:34:41 +08:00
Sean Cross
da52534fe3 booster: WIP: use new bitstream as part of the updater
Rework Booster so that it uses the bitstream that it is installing
in order to validate that the new image will actually work.

This removes any sort of binary ABI compatibility issues, and
prevents us from installing an image onto a device that it doesn't
support.

Additionally, this installer should be resistant to bricking, though
that has yet to be tested.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-07-24 20:52:44 +08:00