US 12,423,432 B2
Bootloaders
Piotr Zięcik, Cracow (PL); and Krzysztof Chruściński, Cracow (PL)
Assigned to Nordic Semiconductor ASA, Trondheim (NO)
Appl. No. 18/026,574
Filed by Nordic Semiconductor ASA, Trondheim (NO)
PCT Filed Sep. 16, 2021, PCT No. PCT/EP2021/075542
§ 371(c)(1), (2) Date Mar. 15, 2023,
PCT Pub. No. WO2022/058459, PCT Pub. Date Mar. 24, 2022.
Claims priority of application No. 2014682 (GB), filed on Sep. 17, 2020.
Prior Publication US 2023/0342476 A1, Oct. 26, 2023
Int. Cl. G06F 21/57 (2013.01); G06F 8/654 (2018.01); G06F 9/4401 (2018.01); G06F 21/60 (2013.01)
CPC G06F 21/575 (2013.01) [G06F 8/654 (2018.02); G06F 9/4401 (2013.01); G06F 21/602 (2013.01); G06F 2221/034 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A non-transitory computer-readable medium storing a bootloader comprising software instructions for execution by a processor of an electronic processing device, wherein the bootloader comprises:
an interpreter for interpreting a boot script stored in a memory of the electronic processing device; and
an integrity checker for checking the integrity of boot scripts stored in the memory of the electronic processing device,
wherein:
the bootloader comprises instructions for using the integrity checker to check the integrity of a first boot script of a plurality of boot scripts stored in the memory of the electronic processing device;
the bootloader comprises instructions for using the integrity checker to check the integrity of a second boot script of the plurality of boot scripts stored in the memory, independently of the integrity of the first boot script; and
the interpreter comprises instructions for interpreting a control-flow command in the first boot script, wherein the control-flow command conditionally or unconditionally branches interpretation to an address of the second boot script, thereby causing the bootloader to start interpreting commands from the second boot script.