smultron: device specific part for the new two-stage boot method