Commit Graph

12 Commits

Author SHA1 Message Date
Harald Welte ed363a4a0e jenkins.sh: Add --publish to publish binaries, similar to simtrace2.git
Binaries will be on https://ftp.osmocom.org/binaries/osmo-asf4-dfu/

Change-Id: Idc27a3d7d2bd7cbee1061ce778ace280eff17bf4
2019-11-30 16:18:22 +01:00
Harald Welte aec6b1ee85 create bootloader-$(BOARD).{elf,bin} symlinks
Change-Id: I3a1eb038e51f4b38ae2e2154bd53c615d98db517
2019-11-11 19:18:40 +01:00
Harald Welte 397966fa3c include board (target) in filename, files are now called like
bootloader-sysmooctsim-0.1.1-5554-dirty.elf

Change-Id: Ibdde1c02d5dd3bcd714bae1d374397d9596fede0
2019-11-11 19:14:51 +01:00
Harald Welte 5554133528 name binaries including their git version number
Change-Id: I90fb8e6effd05c3e472492aced7c07a2ce837e5e
Related: OS#3452
2019-06-20 18:39:55 +02:00
Kevin Redon 6794b97e21 fix DFU magic address and linker script
using the address specified in the linker script leads to a large
output binary (as large as the address specified.
instead the address is now specified in the source file.

Change-Id: I69ad101593e903b74084f179cfc97fccccdfa5a3
2019-02-15 10:08:39 +01:00
Kevin Redon 45554d71f9 add force DFU using magic value
if the string "DFU!" is found at the beginning of the RAM (e.g. as
written by the main application during USB detach), the DFU
bootloader will be started.

Change-Id: I298e3697c06d352a6e0f47266097844c490e1722
2019-02-14 18:45:20 +01:00
Kevin Redon 9336494491 minor: rename output binary to bootloader
Change-Id: I4dfa761c482d6d061eddf3ff8ee91ec049955f53
2019-02-14 18:45:17 +01:00
Kevin Redon 5fcc4ac54a add specific board support, including sysmoOCTSIM
the board specific definitions should be coded when particular
environment variable/marco is defined.
this macro name is provided by the makefile in the BOARD variable.
this allows to compile the bootloader for specific devices.
see README for more information.
the board definition for the sysmoOCTSIM is also added.

Change-Id: Ie51a3af7c77ba76ac40570b871f31fd527fb255b
2019-02-14 17:21:14 +01:00
Kevin Redon 78aca8fdbc remove unused example code
Change-Id: I205cd02f0c9a55d22bb78e84a88a29afe31224b0
2019-01-16 18:41:23 +01:00
Kevin Redon 9bebe583ae add flash ASF4 driver
this is imported from the Atmel Start website

Change-Id: I5eccb37da64c7def7b99418773d09b6d98664432
2019-01-16 18:40:31 +01:00
Kevin Redon efd55db9cc add USB DFU description
uses the USB CDC ACM example code as template to create a USB DFU
description according to USB DFU specification version 1.1

USB DFU stack is under LGPLv2.1 or later license

Change-Id: I7bd6cb46b734ffe8a51f2de7083b4f9e76d385e6
2019-01-16 18:39:41 +01:00
Kevin Redon 8476b94ab0 use USB CDC Echo example project
this is the USB CDC Echo example project source code,
for the Microchip SAM E54 Xplained Pro development board,
based on the ATSAME54P20A micro-controller,
exported from the Atmel START website,
using the ASFv4 library.

Change-Id: Ic0e58e42d1a4076bc84a0a8d3509ec4b09a37f46
2019-01-09 15:33:36 +01:00