├── .gitignore ├── API-1.0.md ├── API.md ├── LICENSE ├── README.md ├── bin ├── README.md ├── dfu-suffix.exe └── dfu-util.exe ├── blackmagicprobe ├── README.md ├── connect.png └── connect2.png ├── booster ├── Makefile ├── README.md ├── booster.h ├── main.c ├── make-booster.c ├── tomu.ld ├── xxhash.c └── xxhash.h ├── media ├── README.md ├── toboot-force.jpg ├── toboot-mode.gif ├── toboot-mode.mp4 ├── toboot-mode.ogv └── toboot-mode.webm ├── openocd ├── README.md ├── build-openocd.sh ├── disco_stlink.jpg ├── raspberry-pi-pinout.png ├── raspberrypi-native.cfg ├── raspberrypi2-native.cfg ├── tomu-back.png ├── tomu-flash.conf └── tomu.conf ├── prebuilt ├── README.md ├── toboot-boosted.bin ├── toboot-boosted.dfu ├── toboot.bin ├── toboot.elf └── toboot.ihex ├── tests └── secure-erase │ ├── README.md │ ├── pass-1 │ ├── Makefile │ ├── main.c │ └── tomu.ld │ └── pass-2 │ ├── Makefile │ ├── main.c │ └── tomu.ld ├── toboot ├── Makefile ├── board.h ├── dfu.c ├── dfu.h ├── main.c ├── mcu.h ├── reset_handler.c ├── toboot-api.h ├── toboot-bl.ld ├── toboot-internal.h ├── toboot.c ├── updater.c ├── usb_desc.c ├── usb_desc.h ├── usb_dev.c ├── usb_dev.h ├── vectors.c ├── webusb_defs.h ├── xxhash.c └── xxhash.h └── tomu.ld /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/.gitignore -------------------------------------------------------------------------------- /API-1.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/API-1.0.md -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/API.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/README.md -------------------------------------------------------------------------------- /bin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/bin/README.md -------------------------------------------------------------------------------- /bin/dfu-suffix.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/bin/dfu-suffix.exe -------------------------------------------------------------------------------- /bin/dfu-util.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/bin/dfu-util.exe -------------------------------------------------------------------------------- /blackmagicprobe/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/blackmagicprobe/README.md -------------------------------------------------------------------------------- /blackmagicprobe/connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/blackmagicprobe/connect.png -------------------------------------------------------------------------------- /blackmagicprobe/connect2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/blackmagicprobe/connect2.png -------------------------------------------------------------------------------- /booster/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/booster/Makefile -------------------------------------------------------------------------------- /booster/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/booster/README.md -------------------------------------------------------------------------------- /booster/booster.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/booster/booster.h -------------------------------------------------------------------------------- /booster/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/booster/main.c -------------------------------------------------------------------------------- /booster/make-booster.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/booster/make-booster.c -------------------------------------------------------------------------------- /booster/tomu.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/booster/tomu.ld -------------------------------------------------------------------------------- /booster/xxhash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/booster/xxhash.c -------------------------------------------------------------------------------- /booster/xxhash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/booster/xxhash.h -------------------------------------------------------------------------------- /media/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/media/README.md -------------------------------------------------------------------------------- /media/toboot-force.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/media/toboot-force.jpg -------------------------------------------------------------------------------- /media/toboot-mode.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/media/toboot-mode.gif -------------------------------------------------------------------------------- /media/toboot-mode.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/media/toboot-mode.mp4 -------------------------------------------------------------------------------- /media/toboot-mode.ogv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/media/toboot-mode.ogv -------------------------------------------------------------------------------- /media/toboot-mode.webm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/media/toboot-mode.webm -------------------------------------------------------------------------------- /openocd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/README.md -------------------------------------------------------------------------------- /openocd/build-openocd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/build-openocd.sh -------------------------------------------------------------------------------- /openocd/disco_stlink.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/disco_stlink.jpg -------------------------------------------------------------------------------- /openocd/raspberry-pi-pinout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/raspberry-pi-pinout.png -------------------------------------------------------------------------------- /openocd/raspberrypi-native.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/raspberrypi-native.cfg -------------------------------------------------------------------------------- /openocd/raspberrypi2-native.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/raspberrypi2-native.cfg -------------------------------------------------------------------------------- /openocd/tomu-back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/tomu-back.png -------------------------------------------------------------------------------- /openocd/tomu-flash.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/tomu-flash.conf -------------------------------------------------------------------------------- /openocd/tomu.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/openocd/tomu.conf -------------------------------------------------------------------------------- /prebuilt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/prebuilt/README.md -------------------------------------------------------------------------------- /prebuilt/toboot-boosted.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/prebuilt/toboot-boosted.bin -------------------------------------------------------------------------------- /prebuilt/toboot-boosted.dfu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/prebuilt/toboot-boosted.dfu -------------------------------------------------------------------------------- /prebuilt/toboot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/prebuilt/toboot.bin -------------------------------------------------------------------------------- /prebuilt/toboot.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/prebuilt/toboot.elf -------------------------------------------------------------------------------- /prebuilt/toboot.ihex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/prebuilt/toboot.ihex -------------------------------------------------------------------------------- /tests/secure-erase/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/tests/secure-erase/README.md -------------------------------------------------------------------------------- /tests/secure-erase/pass-1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/tests/secure-erase/pass-1/Makefile -------------------------------------------------------------------------------- /tests/secure-erase/pass-1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/tests/secure-erase/pass-1/main.c -------------------------------------------------------------------------------- /tests/secure-erase/pass-1/tomu.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/tests/secure-erase/pass-1/tomu.ld -------------------------------------------------------------------------------- /tests/secure-erase/pass-2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/tests/secure-erase/pass-2/Makefile -------------------------------------------------------------------------------- /tests/secure-erase/pass-2/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/tests/secure-erase/pass-2/main.c -------------------------------------------------------------------------------- /tests/secure-erase/pass-2/tomu.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/tests/secure-erase/pass-2/tomu.ld -------------------------------------------------------------------------------- /toboot/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/Makefile -------------------------------------------------------------------------------- /toboot/board.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/board.h -------------------------------------------------------------------------------- /toboot/dfu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/dfu.c -------------------------------------------------------------------------------- /toboot/dfu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/dfu.h -------------------------------------------------------------------------------- /toboot/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/main.c -------------------------------------------------------------------------------- /toboot/mcu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/mcu.h -------------------------------------------------------------------------------- /toboot/reset_handler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/reset_handler.c -------------------------------------------------------------------------------- /toboot/toboot-api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/toboot-api.h -------------------------------------------------------------------------------- /toboot/toboot-bl.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/toboot-bl.ld -------------------------------------------------------------------------------- /toboot/toboot-internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/toboot-internal.h -------------------------------------------------------------------------------- /toboot/toboot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/toboot.c -------------------------------------------------------------------------------- /toboot/updater.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/updater.c -------------------------------------------------------------------------------- /toboot/usb_desc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/usb_desc.c -------------------------------------------------------------------------------- /toboot/usb_desc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/usb_desc.h -------------------------------------------------------------------------------- /toboot/usb_dev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/usb_dev.c -------------------------------------------------------------------------------- /toboot/usb_dev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/usb_dev.h -------------------------------------------------------------------------------- /toboot/vectors.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/vectors.c -------------------------------------------------------------------------------- /toboot/webusb_defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/webusb_defs.h -------------------------------------------------------------------------------- /toboot/xxhash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/xxhash.c -------------------------------------------------------------------------------- /toboot/xxhash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/toboot/xxhash.h -------------------------------------------------------------------------------- /tomu.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/im-tomu/toboot/HEAD/tomu.ld --------------------------------------------------------------------------------