1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

29 Commits

Author SHA1 Message Date
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Benjamin Valentin
fedca810cd riotboot: factor out common Makefile parts 2021-07-20 22:51:56 +02:00
Benjamin Valentin
cabe639d04 sys/riotboot: move magic address to common file 2021-07-20 22:51:15 +02:00
Benjamin Valentin
ea2e103bde bootloaders/riotboot: add serial bootloader 2021-07-20 22:51:14 +02:00
Benjamin Valentin
7a07b7471f riotboot: implement serial bootloader feature 2021-07-20 22:50:41 +02:00
dylad
7f00f00df3 bootloaders/riotboot_dfu: update doc now that DFU_ALT gets set 2021-04-03 18:18:57 +02:00
chrysn
e0b1bfbf71 riotboot_dfu: Add user documentation 2021-03-20 21:51:22 +01:00
chrysn
d770917e49 riotboot_dfu: Stay in DFU mode if button is pressed
Boards can override this; by default it's BTN0
2021-03-18 19:32:16 +01:00
Martine Lenders
6b8cb2a732
Merge pull request #16025 from chrysn-pull-requests/bootloader-docs
doc: Make bootloaders visible in modules
2021-02-18 19:45:06 +01:00
chrysn
010dbcc9d3 doc: Workaround for Doxygen 1.8
See-Also: https://github.com/RIOT-OS/RIOT/pull/16025#pullrequestreview-591978881
Workaround-For: https://github.com/RIOT-OS/riotdocker/pull/104
2021-02-18 14:56:20 +01:00
chrysn
204a608c24 doc: Make bootloaders visible in modules 2021-02-18 14:56:20 +01:00
Francisco Molina
9a8c26bd34
bootloader/dfu: fix USEMODULE= 2021-02-18 12:47:51 +01:00
chrysn
9c8cbe9aea riotboot_dfu: Use allocated USB IDs
The IDs are not advertised to dfu-util to allow a smooth transition into
having a VID/PID-identifiable riotboot_dfu.

As allocated on https://pid.codes/1209/7D02/.
2021-02-16 09:11:53 +01:00
Benjamin Valentin
b6c96b101b riotboot: disable pm_layered
On `same54-xpro` this saves 212 bytes of ROM.
2021-01-27 13:21:20 +01:00
dylad
e87bb6a0f9 bootloader: create new bootloader application with DFU support 2021-01-12 11:34:22 +01:00
emmanuelsearch
011ce90ac9
riotboot: add basic porting guide 2020-11-10 15:21:02 +01:00
Marian Buschsieweke
af21f15b02
makefiles: Minor clean ups
- Add FEATURES_REQUIRED_ANY to dependency-debug:
  Now `make dependency-debug` by default also stores the contents of
  `FEATURES_REQUIRED_ANY`.
- makefiles/features_check.inc.mk: Break long lines
- {tests/minimal,tests/unittests,bootloaders/riotboot}:
  Disable auto_init_% in addition to auto_init.

This works around weird behavior due to the USEMODULE being recursively expended
in the first iteration of dependency resolution: Modules added to DEFAULT_MODULE
get automatically added to USEMODULE during the first run, but not for
subsequent. This should be iron out later on.
2020-04-02 09:56:39 +02:00
Francisco Molina
30b5a23e78
bootloaders/riotboot: use stdio_null 2020-03-24 19:14:03 +01:00
Benjamin Valentin
f7c81b19e9 riotboot: disable stdio_cdc_acm
We don't want USB based stdio in the bootloader.
2020-03-21 00:00:41 +01:00
c2534ad8f3 core: turn panic.c into a submodule 2020-01-31 13:55:26 +01:00
b6703f41dc core: turn kernel_init.c into core_init submodule 2020-01-31 13:52:13 +01:00
Francisco Molina
842b7e37c8 bootloaders/riotboot: set RIOTBOOT_BUILD
Set a make variables to indicate `riotboot` application (riots
bootloader) is being built.
2020-01-10 11:42:16 +01:00
Bas Stottelaar
58e28250bd riotboot: define if building the bootloader 2019-09-24 19:36:56 +02:00
b3cc3ab2ea riotboot: fix APP_VER default documentation 2019-07-08 16:33:01 +02:00
8624d3dac4 riotboot: update documentation to match automatic use
FLASHFILE is now set to RIOTBOOT_EXTENDED_BIN, changing the meaning of
make all`, `flash`, `flash-only`.
This commits updates the documentation accordingly.
2019-07-08 16:33:01 +02:00
francisco
560d243939 bootloader/README: fix typos 2019-05-23 12:08:01 +02:00
Emmanuel Baccelli
d8f64a36e4 bootloaders/riotboot: updated documentation on multislot 2019-01-15 18:32:10 +01:00
Francisco Acosta
ec24ea49b1 riotboot: add support for multislot
riotboot looks for valid, available slots and compares its
version. The slot with the highest version is booted, otherwise
if no valid slot is found it loops on `while(1);`
2019-01-02 17:56:11 +01:00
Francisco Acosta
281d8084bf riotboot: add riot-based minimal bootloader
riotboot is introduced here and makes use of riotboot_hdr,
which indentifies the images encapsulated as slots.
The slot size and offset is configurable, which makes
slots extendable if needed, e.g. 2 or more slots can be
transparently added.

Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Gaëtan Harter <gaetan.harter@fu-berlin.de>
2018-12-18 19:31:35 +01:00