<p>Tested with <code>BOARD=samr21-xpro PROGRAMMER=openocd make -C tests/riotboot flash test</code> and got the following.</p>
<details><summary>samr21-xpro test results</summary>
<p>
</p><pre><code>2019-03-25 13:03:38,201 - INFO # main(): This is RIOT! (Version: 2019.04-devel-608-g411b1f-test/11254)
2019-03-25 13:03:38,205 - INFO # Hello riotboot!
2019-03-25 13:03:38,215 - INFO # You are running RIOT on a(n) samr21-xpro board.
2019-03-25 13:03:38,223 - INFO # This board features a(n) samd21 MCU.
2019-03-25 13:03:38,230 - INFO # riotboot_test: running from slot 0
2019-03-25 13:03:38,237 - INFO # Image magic_number: 0x544f4952
2019-03-25 13:03:38,242 - INFO # Image Version: 0x5c98c38f
2019-03-25 13:03:38,249 - INFO # Image start address: 0x00001100
2019-03-25 13:03:38,255 - INFO # Header chksum: 0xa382cec9
2019-03-25 13:03:38,256 - INFO # 
> 2019-03-25 13:03:38,339 - INFO #  curslotnr
2019-03-25 13:03:38,343 - INFO # Current slot=0
> curslothdr
2019-03-25 13:03:38,400 - INFO #  curslothdr
2019-03-25 13:03:38,407 - INFO # Image magic_number: 0x544f4952
2019-03-25 13:03:38,413 - INFO # Image Version: 0x5c98c38f
2019-03-25 13:03:38,421 - INFO # Image start address: 0x00001100
2019-03-25 13:03:38,427 - INFO # Header chksum: 0xa382cec9
2019-03-25 13:03:38,428 - INFO # 
> getslotaddr 0
2019-03-25 13:03:38,486 - INFO #  getslotaddr 0
2019-03-25 13:03:38,492 - INFO # Slot 0 address=0x00001100
> dumpaddrs
2019-03-25 13:03:38,549 - INFO #  dumpaddrs
2019-03-25 13:03:38,559 - INFO # slot 0: metadata: 0x1000 image: 0x00001100
2019-03-25 13:03:38,568 - INFO # slot 1: metadata: 0x20800 image: 0xffffffff
</code></pre>
<p></p>
</details>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11254#issuecomment-476168139">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YI4DVgsgWX5DibZQZABpQEcMLp1Pks5vaLvdgaJpZM4cFaMC">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YHa7XNnt1_9dq4akZSEQfjS7xsdmks5vaLvdgaJpZM4cFaMC.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@MrKevinWeiss in #11254: Tested with `BOARD=samr21-xpro PROGRAMMER=openocd make -C tests/riotboot flash test` and got the following.\r\n\u003cdetails\u003e\u003csummary\u003esamr21-xpro test results\u003c/summary\u003e\r\n\u003cp\u003e\r\n\r\n```\r\n2019-03-25 13:03:38,201 - INFO # main(): This is RIOT! (Version: 2019.04-devel-608-g411b1f-test/11254)\r\n2019-03-25 13:03:38,205 - INFO # Hello riotboot!\r\n2019-03-25 13:03:38,215 - INFO # You are running RIOT on a(n) samr21-xpro board.\r\n2019-03-25 13:03:38,223 - INFO # This board features a(n) samd21 MCU.\r\n2019-03-25 13:03:38,230 - INFO # riotboot_test: running from slot 0\r\n2019-03-25 13:03:38,237 - INFO # Image magic_number: 0x544f4952\r\n2019-03-25 13:03:38,242 - INFO # Image Version: 0x5c98c38f\r\n2019-03-25 13:03:38,249 - INFO # Image start address: 0x00001100\r\n2019-03-25 13:03:38,255 - INFO # Header chksum: 0xa382cec9\r\n2019-03-25 13:03:38,256 - INFO # \r\n\u003e 2019-03-25 13:03:38,339 - INFO #  curslotnr\r\n2019-03-25 13:03:38,343 - INFO # Current slot=0\r\n\u003e curslothdr\r\n2019-03-25 13:03:38,400 - INFO #  curslothdr\r\n2019-03-25 13:03:38,407 - INFO # Image magic_number: 0x544f4952\r\n2019-03-25 13:03:38,413 - INFO # Image Version: 0x5c98c38f\r\n2019-03-25 13:03:38,421 - INFO # Image start address: 0x00001100\r\n2019-03-25 13:03:38,427 - INFO # Header chksum: 0xa382cec9\r\n2019-03-25 13:03:38,428 - INFO # \r\n\u003e getslotaddr 0\r\n2019-03-25 13:03:38,486 - INFO #  getslotaddr 0\r\n2019-03-25 13:03:38,492 - INFO # Slot 0 address=0x00001100\r\n\u003e dumpaddrs\r\n2019-03-25 13:03:38,549 - INFO #  dumpaddrs\r\n2019-03-25 13:03:38,559 - INFO # slot 0: metadata: 0x1000 image: 0x00001100\r\n2019-03-25 13:03:38,568 - INFO # slot 1: metadata: 0x20800 image: 0xffffffff\r\n```\r\n\r\n\u003c/p\u003e\r\n\u003c/details\u003e"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/11254#issuecomment-476168139"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11254#issuecomment-476168139",
"url": "https://github.com/RIOT-OS/RIOT/pull/11254#issuecomment-476168139",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>