ROM_EXT end-to-end tests

ROM_EXT bootstrap

Properties to test:

  • ROM_EXT drops down to bootstrap mode iff bootstrap is enabled by OTP (OWNER_SW_CFG_ROM_EXT_BOOTSTRAP_EN) and it cannot find a bootable silicon owner image. The full truth table:

    #Enabled in OTPBootable silicon owner imageExpect bootstrap
    1NoNoneNo
    2NoSlot ANo
    3NoSlot BNo
    4NoSlot A and BNo
    5YesNoneYes
    6YesSlot ANo
    7YesSlot BNo
    8YesSlot A and BNo
  • ROM_EXT bootstrap will not erase the chip until it receives a CHIP_ERASE or SECTOR_ERASE SPI command.

  • ROM_EXT bootstrap will neither erase nor program the ROM_EXT region of slot A.

  • ROM_EXT bootstrap will erase and program the owner/BL0 region of slot A.

  • ROM_EXT bootstrap will neither erase nor program the ROM_EXT region of slot B.

  • ROM_EXT bootstrap will erase, but will not program the owner/BL0 region of slot A.