-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] [TF:OTA] OTA updates common work branch #9969
Commits on Oct 30, 2018
-
REWORD ME riotboot: introduce riot-based minimal bootloader
TODO Rebase message edit at the end. * updated to edbg/openocd new variables * Use RIOTBOOT_FW_SLOT_SIZE: upcomming PRs should remove RIOTBOOT_SLOT1_SIZE and RIOTBOOT_SLOT2_SIZE * Use ROM_START_ADDR for 'firmware' to handle iotlab-m3 * Use ROM_OFFSET and FW_ROM_LEN * Info on non supported existing bootloader for the moment in dist/riotboot * dist/riotboot: allow running different targets and not only flash * RIOTBOOT_HDR_LEN as hexadecimal and can be overwritten
Configuration menu - View commit details
-
Copy full SHA for f8fa196 - Browse repository at this point
Copy the full SHA f8fa196View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37ff3d0 - Browse repository at this point
Copy the full SHA 37ff3d0View commit details -
makefiles/riotboot: allow generating a combined binary
It creates a binary with bootloader + slot1-signature + slot1
Configuration menu - View commit details
-
Copy full SHA for 219701e - Browse repository at this point
Copy the full SHA 219701eView commit details -
EDIT/REWORD ME sys/firmware: initial import of firmware management fu…
…nctions * Except the bootloader, only one slot size is supported * export RIOTBOOT_ variables * Set the header length to FIRMWARE_METADATA_SIZE * Add a warning that 'dist/tools/firmware' should be compiled with the same options as the current board
Configuration menu - View commit details
-
Copy full SHA for 7c46949 - Browse repository at this point
Copy the full SHA 7c46949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9726a30 - Browse repository at this point
Copy the full SHA 9726a30View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5ba1eb - Browse repository at this point
Copy the full SHA a5ba1ebView commit details -
cpu/cortexm_common: initial multislot support
Calculate RIOTBOOT_FW_SLOT_SIZE is calculated as an hexadecimal value and handles ROM_LEN defined as kilobytes like '512K'
Configuration menu - View commit details
-
Copy full SHA for 8a884be - Browse repository at this point
Copy the full SHA 8a884beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d2b65 - Browse repository at this point
Copy the full SHA 78d2b65View commit details -
Configuration menu - View commit details
-
Copy full SHA for b721c08 - Browse repository at this point
Copy the full SHA b721c08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 666fd8f - Browse repository at this point
Copy the full SHA 666fd8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d59ee4 - Browse repository at this point
Copy the full SHA 7d59ee4View commit details -
Configuration menu - View commit details
-
Copy full SHA for eccb8fd - Browse repository at this point
Copy the full SHA eccb8fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c4dd2d - Browse repository at this point
Copy the full SHA 1c4dd2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2797b25 - Browse repository at this point
Copy the full SHA 2797b25View commit details -
TODO BACKPORT IN INITIAL COMMITS firmware: fix support for bigger fla…
…sh pages Fix support when FIRMWARE_METADATA_SIZE < FLASHPAGE_SIZE.
Configuration menu - View commit details
-
Copy full SHA for 810834b - Browse repository at this point
Copy the full SHA 810834bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c157f3 - Browse repository at this point
Copy the full SHA 4c157f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87591d4 - Browse repository at this point
Copy the full SHA 87591d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb14500 - Browse repository at this point
Copy the full SHA bb14500View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2383c60 - Browse repository at this point
Copy the full SHA 2383c60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0406e - Browse repository at this point
Copy the full SHA 7a0406eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0687386 - Browse repository at this point
Copy the full SHA 0687386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 517db38 - Browse repository at this point
Copy the full SHA 517db38View commit details -
Configuration menu - View commit details
-
Copy full SHA for be89133 - Browse repository at this point
Copy the full SHA be89133View commit details -
ota_suit: increase STACKSIZE as it overflowed
On `samr21-xpro` it used 1040 for previously 1024 bytes. Now it has 2048 bytes.
Configuration menu - View commit details
-
Copy full SHA for 964d531 - Browse repository at this point
Copy the full SHA 964d531View commit details -
DEBUG COMMIT: suit_updater: add global ipv6 addresses print
Adapt from shell/commands/sc_gnrc_netif
Configuration menu - View commit details
-
Copy full SHA for 8a64c07 - Browse repository at this point
Copy the full SHA 8a64c07View commit details -
firmware: add some debug information for flashwrite_putbytes
* Add information on the current flashpage Currently the information is not 100% consistent as 'offset' is relative to the beginning and flashpage is absolute but I find it useful this way.
Configuration menu - View commit details
-
Copy full SHA for 49585a0 - Browse repository at this point
Copy the full SHA 49585a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for efdb9e1 - Browse repository at this point
Copy the full SHA efdb9e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb0bf41 - Browse repository at this point
Copy the full SHA cb0bf41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 957c40e - Browse repository at this point
Copy the full SHA 957c40eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 922ce91 - Browse repository at this point
Copy the full SHA 922ce91View commit details -
Configuration menu - View commit details
-
Copy full SHA for da1747b - Browse repository at this point
Copy the full SHA da1747bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ef8e7e - Browse repository at this point
Copy the full SHA 4ef8e7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12af153 - Browse repository at this point
Copy the full SHA 12af153View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfb5bbc - Browse repository at this point
Copy the full SHA dfb5bbcView commit details -
squash! REWORD ME riotboot: introduce riot-based minimal bootloader
`RIOTBOOT_FW_SLOT_SIZE` contains both the metadata and the firmware. TODO describe somewhere.
Configuration menu - View commit details
-
Copy full SHA for ca8afb4 - Browse repository at this point
Copy the full SHA ca8afb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0772c54 - Browse repository at this point
Copy the full SHA 0772c54View commit details -
squash! makefiles/riotboot: generate separate .signed.bin file
Variables must be exported for `openocd.sh` on `iotlab-m3`.
Configuration menu - View commit details
-
Copy full SHA for 373366c - Browse repository at this point
Copy the full SHA 373366cView commit details -
fixup! makefiles/riotboot: allow generating a combined binary
Variables must be exported for `openocd.sh` on `iotlab-m3`.
Configuration menu - View commit details
-
Copy full SHA for fc6ff36 - Browse repository at this point
Copy the full SHA fc6ff36View commit details -
squash! squash! makefiles/riotboot: generate separate .signed.bin file
As it us using 'export' to the shell for openocd, it does not work properly. Replace it with calculating the value in a subshell.
Configuration menu - View commit details
-
Copy full SHA for 4405b86 - Browse repository at this point
Copy the full SHA 4405b86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7004953 - Browse repository at this point
Copy the full SHA 7004953View commit details -
makefiles/riotboot.mk: enforce rule precedence (signed.bin before .bin)
make is a bit strange sometimes and considers various factors to decide the precedence of the rule to be applied: definition order is one (and the %.signed.bin is after %.bin, and would be also if we put it at the end of Makefile.include), but also if a rule is implicit is then preferred no matter the order. A quite complete and coincise overview of the topic can be found here: https://stackoverflow.com/questions/28842851/force-make-to-use-a-more-specific-rule Given the inclusion mechanism used in RIOT it should be safer to explicitly state things, although may seem ugly sometimes.
Configuration menu - View commit details
-
Copy full SHA for 359ee2e - Browse repository at this point
Copy the full SHA 359ee2eView commit details