im-tomu / toboot

Bootloader for the EFM32HG Tomu Board
https://tomu.im/
GNU General Public License v3.0
73 stars 28 forks source link

openocd: add some scripts #12

Closed cyphar closed 7 years ago

cyphar commented 7 years ago

This completely replaces the "just use the tutorial" documentation on how to flash with a Raspberry Pi. Now all that's necessary is to run ./install.sh on a machine that has a network connection.

In order to do the installation seamlessly, you need to make your Raspberry Pi connect to your laptop -- making your laptop act as a router. This then allows the Raspberry Pi to have internet while also being very easy to set up.

THIS IS CURRENTLY WIP BECAUSE I CAN'T GET THE dnsmasq CODE WORKING UNDER OPENSUSE.

Signed-off-by: Aleksa Sarai cyphar@cyphar.com

mithro commented 7 years ago

I'd like to merge you "install.sh" script (can you rename it to "build-openocd.sh") - we can add the router script at a later date...

cyphar commented 7 years ago

Sure @mithro! Sorry for letting this sit for so long, I've been quite busy in recent weeks. :smile_cat: