aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKévin Redon <kredon@sysmocom.de>2019-02-14 18:29:06 +0100
committerKévin Redon <kredon@sysmocom.de>2019-02-14 18:45:17 +0100
commit93364944911de44fb268da7430bd2da64d4ee794 (patch)
tree865758adbc463f400b98854c135b56d60ded2211
parent5fcc4ac54ad9c5775950db8abe5ecea0565f88a3 (diff)
minor: rename output binary to bootloader
-rw-r--r--README.md6
-rw-r--r--gcc/Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 58833aa..96cf583 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ make
The board name can be set in 'gcc/Makefile' *BOARD* variable, or provided while compiling (e.g. `make BOARD=SAME54_XPLAINED_PRO`).
*SAME54_XPLAINED_PRO* is the default value.
-The resulting firmware binary is `AtmelStart.bin`.
+The resulting firmware binary is `bootloader.bin`.
Flashing
========
@@ -60,7 +60,7 @@ To flash the bootloader using the [edbg tool](https://github.com/ataradov/edbg)
To flash the USB DFU bootloader, perform the following actions:
* remove reserved bootloader space so we can erase it: `edbg --target atmel_cm4v2 --fuse wv,29:26,15`
* erase the whole flash: `edbg --target atmel_cm4v2 --fuse v,29:26,15 --erase`
-* program the bootloader: `edbg --target atmel_cm4v2 --fuse v,29:26,15 --program --verify --file AtmelStart.bin`
+* program the bootloader: `edbg --target atmel_cm4v2 --fuse v,29:26,15 --program --verify --file bootloader.bin`
* reserve bootloader space: `edbg --target atmel_cm4v2 --fuse wv,29:26,13`
SWJ
@@ -76,5 +76,5 @@ You need to perform the following actions:
Using OpenOCD (with the [SAM E54 patch](http://openocd.zylin.com/#/c/4272/)) and a ST-LINK/V2 SWD adapter, run the following command:
-`openocd --file interface/stlink.cfg --command "transport select hla_swd" --command "set CHIPNAME same54" --command "set CPUTAPID 0x2ba01477" --file target/atsame5x.cfg --command "init" --command "reset halt" --command "atsame5 bootloader 0" --command "flash erase_sector 0 0 last" --command "reset halt" --command "program ./AtmelStart.bin" --command "atsame5 bootloader 16384" --command "reset run" --command "shutdown"`
+`openocd --file interface/stlink.cfg --command "transport select hla_swd" --command "set CHIPNAME same54" --command "set CPUTAPID 0x2ba01477" --file target/atsame5x.cfg --command "init" --command "reset halt" --command "atsame5 bootloader 0" --command "flash erase_sector 0 0 last" --command "reset halt" --command "program ./bootloader.bin" --command "atsame5 bootloader 16384" --command "reset run" --command "shutdown"`
diff --git a/gcc/Makefile b/gcc/Makefile
index 7ad24b1..0817806 100644
--- a/gcc/Makefile
+++ b/gcc/Makefile
@@ -167,7 +167,7 @@ DEPS_AS_ARGS += \
"gcc/system_same54.d" \
"atmel_start.d"
-OUTPUT_FILE_NAME :=AtmelStart
+OUTPUT_FILE_NAME := bootloader
QUOTE := "
OUTPUT_FILE_PATH +=$(OUTPUT_FILE_NAME).elf
OUTPUT_FILE_PATH_AS_ARGS +=$(OUTPUT_FILE_NAME).elf