Changes between Version 36 and Version 37 of venice/secure_boot


Ignore:
Timestamp:
07/17/2024 11:28:45 PM (3 months ago)
Author:
Tim Harvey
Comment:

fix typo in directory name; add note about different SOCs; add hab_status result

Legend:

Unmodified
Added
Removed
Modified
  • venice/secure_boot

    v36 v37  
    144144# checkout a fresh u-boot
    145145git clone https://github.com/Gateworks/uboot-venice.git
    146 cd u-boot
     146cd uboot-venice
    147147# setup cross toolchain environment (ie source setup-environment in Venice BSP dir)
    148148export PATH=$VENICE_BSP/buildroot/output/host/bin:$PATH
     
    154154# configure for venice board
    155155make imx8mm_venice_defconfig
    156 make menuconfig # select CONFIG_IMX_HAB=y and CONFIG_SPL_LOAD_FIT_ADDRESS=0x44000000
     156make menuconfig # select CONFIG_IMX_HAB=y
    157157make flash.bin
    158158}}}
     
    161161$ make savedefconfig && diff defconfig configs/imx8mm_venice_defconfig
    162162scripts/kconfig/conf  --savedefconfig=defconfig Kconfig
    163 21,22d20
     16321,22d21
    164164< CONFIG_IMX_HAB=y
    165165< # CONFIG_CMD_DEKBLOB is not set
    166 31d28
    167 < CONFIG_SPL_LOAD_FIT_ADDRESS=0x44000000
    168 }}}
     166}}}
     167  - note that the above is for imx8mm (you need to copy the ATF from the imx8mp directory and use imx8mp_venice_defconfig if you are using imx8mp for example)
    169168 3. create a signed_flash.bin
    170169{{{#!bash
     
    210209
    211210U-Boot 2023.04-00034-g1f567dfbe119 (Jun 23 2023 - 15:53:20 -0700)
     211...
     212Hit any key to stop autoboot:  0
     213u-boot=> hab_status
     214
     215Secure boot disabled
     216
     217HAB Configuration: 0xf0, HAB State: 0x66
     218No HAB Events Found!
    212219}}}
    213220  - Note the 'hab fuse not enabled' message which means the SEC_CONFIG[1] fuse is not blown and the device is not locked