Commit Graph

8 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
e7ec80a592 Merge remote-tracking branch 'xobs/master'
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-25 15:15:06 +08:00
Sean Cross
fb08d194ca foboot: spi: fix spiId and remove dead code
Remove code that doesn't get called.

Also, remove the `spi_id` global.  It conflicted with one from
the linker, which was causing contention.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-24 20:08:24 +08:00
Sean Cross
ea04c290eb booster: foboot-2 compatibility
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-24 15:14:07 +08:00
Sean Cross
0a7b193f96 booster: get functional build working
This has successfully updated a PVT unit to v1.9.1.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 11:30:03 +08:00
Sean Cross
decddb6383 booster: add usb support to booster
This will make debugging easier.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-28 09:54:43 +08:00
Sean Cross
a80dc72399 booster: add usb support to booster
This will make debugging easier.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-07-25 23:03:55 +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