[riot-notifications] [RIOT-OS/RIOT] boards/frdm-kw41z-k64f: add riotboot (#11562)

Francisco notifications at github.com
Thu Jun 6 15:27:25 CEST 2019


@cladmi You are right about frdm-k64f, it's has the same vector table alignment problem. But for me running `tests/xtimer_usleep` is working fine (I pushed a change to redefine `RIOTBOOT_HDR_LEN`). The exact command I'm running is:

`BOARD=frdm-k64f FEATURES_REQUIRED+=riotboot APP_VER=$(date +%s) make clean -C tests/xtimer_usleep/ riotboot/flash`

And then:

`BOARD=frdm-k64f FEATURES_REQUIRED+=riotboot APP_VER=$(date +%s) make -C tests/xtimer_usleep/ test`

```
2019-06-06 15:24:39,136 - INFO # main(): This is RIOT! (Version: 2019.07-devel-616-g6f978-pr_kinetis_riotboot_frdm_kw41z)
2019-06-06 15:24:39,140 - INFO # Running test 5 times with 7 distinct sleep times
2019-06-06 15:24:39,144 - INFO # Please hit any key and then ENTER to continue
2019-06-06 15:24:39,158 - INFO # Slept for 10015 us (expected: 10000 us) Offset: 15 us
a
2019-06-06 15:24:39,212 - INFO # Slept for 50015 us (expected: 50000 us) Offset: 15 us
2019-06-06 15:24:39,226 - INFO # Slept for 10249 us (expected: 10234 us) Offset: 15 us
2019-06-06 15:24:39,287 - INFO # Slept for 56795 us (expected: 56780 us) Offset: 15 us
2019-06-06 15:24:39,303 - INFO # Slept for 12137 us (expected: 12122 us) Offset: 15 us
2019-06-06 15:24:39,406 - INFO # Slept for 98779 us (expected: 98765 us) Offset: 14 us
2019-06-06 15:24:39,485 - INFO # Slept for 75015 us (expected: 75000 us) Offset: 15 us
2019-06-06 15:24:39,499 - INFO # Slept for 10015 us (expected: 10000 us) Offset: 15 us
2019-06-06 15:24:39,553 - INFO # Slept for 50015 us (expected: 50000 us) Offset: 15 us
2019-06-06 15:24:39,567 - INFO # Slept for 10249 us (expected: 10234 us) Offset: 15 us
2019-06-06 15:24:39,628 - INFO # Slept for 56795 us (expected: 56780 us) Offset: 15 us
2019-06-06 15:24:39,645 - INFO # Slept for 12136 us (expected: 12122 us) Offset: 14 us
2019-06-06 15:24:39,747 - INFO # Slept for 98780 us (expected: 98765 us) Offset: 15 us
2019-06-06 15:24:39,826 - INFO # Slept for 75015 us (expected: 75000 us) Offset: 15 us
2019-06-06 15:24:39,840 - INFO # Slept for 10015 us (expected: 10000 us) Offset: 15 us
2019-06-06 15:24:39,894 - INFO # Slept for 50015 us (expected: 50000 us) Offset: 15 us
2019-06-06 15:24:39,908 - INFO # Slept for 10249 us (expected: 10234 us) Offset: 15 us
2019-06-06 15:24:39,969 - INFO # Slept for 56795 us (expected: 56780 us) Offset: 15 us
2019-06-06 15:24:39,985 - INFO # Slept for 12137 us (expected: 12122 us) Offset: 15 us
2019-06-06 15:24:40,088 - INFO # Slept for 98780 us (expected: 98765 us) Offset: 15 us
2019-06-06 15:24:40,167 - INFO # Slept for 75015 us (expected: 75000 us) Offset: 15 us
2019-06-06 15:24:40,181 - INFO # Slept for 10015 us (expected: 10000 us) Offset: 15 us
2019-06-06 15:24:40,235 - INFO # Slept for 50014 us (expected: 50000 us) Offset: 14 us
2019-06-06 15:24:40,249 - INFO # Slept for 10249 us (expected: 10234 us) Offset: 15 us
2019-06-06 15:24:40,310 - INFO # Slept for 56795 us (expected: 56780 us) Offset: 15 us
2019-06-06 15:24:40,326 - INFO # Slept for 12137 us (expected: 12122 us) Offset: 15 us
2019-06-06 15:24:40,429 - INFO # Slept for 98780 us (expected: 98765 us) Offset: 15 us
2019-06-06 15:24:40,508 - INFO # Slept for 75015 us (expected: 75000 us) Offset: 15 us
2019-06-06 15:24:40,522 - INFO # Slept for 10014 us (expected: 10000 us) Offset: 14 us
2019-06-06 15:24:40,576 - INFO # Slept for 50015 us (expected: 50000 us) Offset: 15 us
2019-06-06 15:24:40,590 - INFO # Slept for 10249 us (expected: 10234 us) Offset: 15 us
2019-06-06 15:24:40,651 - INFO # Slept for 56795 us (expected: 56780 us) Offset: 15 us
2019-06-06 15:24:40,667 - INFO # Slept for 12137 us (expected: 12122 us) Offset: 15 us
2019-06-06 15:24:40,770 - INFO # Slept for 98780 us (expected: 98765 us) Offset: 15 us
2019-06-06 15:24:40,849 - INFO # Slept for 75015 us (expected: 75000 us) Offset: 15 us
2019-06-06 15:24:40,851 - INFO # Test ran for 1704919 us

make: Leaving directory '/home/francisco/workspace/RIOT/tests/xtimer_usleep'

```

Everything is as expected. Maybe you need to run `make clean` after changing `RIOTBOOT_HDR_LEN`? I also ran the test with `RIOTBOOT_HDR_LEN ?= 0x400` and it was working the same.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11562#issuecomment-499493206
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190606/c2ab64e8/attachment-0001.html>


More information about the notifications mailing list