Commit Graph

9 Commits

Author SHA1 Message Date
Matthew Kennedy 43d4f4f92b
don't let openblt erase itself (#401) 2024-04-14 11:31:39 -07:00
Matthew Kennedy 87c2a67645 use FLASH_BASE instead of completely magic numbers 2023-11-02 12:45:21 -07:00
Matthew Kennedy 19b6222d98
enable f7 openblt (#230)
* enable f7 openblt

* replace __core_init with one that doesn't set up cache

* MRE F7 too
2023-11-02 02:32:30 -07:00
Matthew Kennedy 0bedacc298
bootloader checksum (#279)
* blindly implement checksum

* extra erase of checksum page

* don't need to write the sum ourselves

* maybe implement bootloader crc correctly

* minus is not plus

* modify build script to properly embed checksum

* cleanup

* use lma instead of vma

* implement bootloader blinky

* stub firmwareError

* static blinky
2023-11-02 02:16:56 -07:00
Matthew Kennedy feb900b94a
move bootloader files (#277)
* move bootloader files

* minor cleanups

* makefile
2023-10-31 18:13:16 -07:00
Matthew Kennedy cef93b1c48 s 2023-08-27 16:44:01 -07:00
Matthew Kennedy f98cc33ae5 oops that doesn't work 2023-08-27 16:25:20 -07:00
Matthew Kennedy ba78401609 dynamic bootloader size 2023-08-27 16:07:26 -07:00
Matthew Kennedy 5813c20a32
OpenBLT-based USB serial bootloader (#228)
* flash layout

* bootloader builds

* output name

* hard fp

* strip out dfu

* bootloader gets hardfault

* loader gets USB but not MSD

* kinda usb?

* USB enumerates!

* cleanup

* shared params

* nonfunctional openblt

* stub flash

* flash.h

* openblt responds over USB!

* implement flash driver

* blt conf, linker

* boards no longer need specific openblt files

* no ccache

* common_make.sh

* cleanup

* delete bootloader crust

* simplifying linker logic

* script tweaks

* flash layout is handled entirely by FOME flash driver

* simplify memcpy

* format

* comment

* dead

* makefiles cleanup

* cleanup

* h7 linker script for bootloader

* h7 bootloader build

* build script
2023-08-27 10:30:02 -07:00