| 43 | | - SRK_HASH[31:00] bank 6 word 0 |
| 44 | | - SRK_HASH[63:32] bank 6 word 1 |
| 45 | | - SRK_HASH[95:64] bank 6 word 2 |
| 46 | | - SRK_HASH[127:96] bank 6 word 3 |
| 47 | | - SRK_HASH[159:128] bank 7 word 0 |
| 48 | | - SRK_HASH]191:160] bank 7 word 1 |
| 49 | | - SRK_HASH[223:192] bank 7 word 2 |
| 50 | | - SRK_HASH[255:224] bank 7 word 3 |
| | 43 | - SRK_HASH[31..00] bank 6 word 0 |
| | 44 | - SRK_HASH[63..32] bank 6 word 1 |
| | 45 | - SRK_HASH[95..64] bank 6 word 2 |
| | 46 | - SRK_HASH[127..96] bank 6 word 3 |
| | 47 | - SRK_HASH[159..128] bank 7 word 0 |
| | 48 | - SRK_HASH]191..160] bank 7 word 1 |
| | 49 | - SRK_HASH[223..192] bank 7 word 2 |
| | 50 | - SRK_HASH[255..224] bank 7 word 3 |
| 141 | | * Pre-requisite: Build Venice BSP using this link here: [wiki:venice/bsp] |
| 142 | | * Export VENICE_BSP variable to your directory: {{{export VENICE_BSP=/path/to/your/bsp/directory}}} |
| 143 | | {{{#!bash |
| 144 | | # checkout a fresh u-boot |
| 145 | | git clone https://github.com/Gateworks/uboot-venice.git |
| 146 | | cd uboot-venice |
| 147 | | # setup cross toolchain environment (ie source setup-environment in Venice BSP dir) |
| 148 | | export PATH=$VENICE_BSP/buildroot/output/host/bin:$PATH |
| 149 | | export CROSS_COMPILE="aarch64-linux-" |
| 150 | | export ARCH=arm64 |
| 151 | | # copy necessary artifacts from bsp |
| 152 | | cp $VENICE_BSP/u-boot/lpddr4*.bin . # DDR firmware |
| 153 | | cp $VENICE_BSP/atf/build/imx8mm/release/bl31.bin . # ATF |
| 154 | | # configure for venice board |
| 155 | | make imx8mm_venice_defconfig |
| 156 | | make menuconfig # select CONFIG_IMX_HAB=y |
| 157 | | make flash.bin |
| 158 | | }}} |
| 159 | | - if using a non-gateworks branch of U-boot, ensure that "CONFIG_SPL_LOAD_FIT_ADDRESS=0x44000000" |
| 160 | | - for clarity here are the differences in defconfig: |
| 161 | | {{{#!bash |
| 162 | | $ make savedefconfig && diff defconfig configs/imx8mm_venice_defconfig |
| 163 | | scripts/kconfig/conf --savedefconfig=defconfig Kconfig |
| 164 | | 21,22d21 |
| 165 | | < CONFIG_IMX_HAB=y |
| 166 | | < # CONFIG_CMD_DEKBLOB is not set |
| 167 | | }}} |
| 168 | | - 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) |
| 169 | | 3. create a signed_flash.bin |
| | 141 | * Pre-requisites: |
| | 142 | - Build Venice BSP using this link here: [wiki:venice/bsp] |
| | 143 | - Have CST installed |
| | 144 | * Building: |
| | 153 | # setup cross toolchain environment (ie source setup-environment in Venice BSP dir) |
| | 154 | export PATH=$VENICE_BSP/buildroot/output/host/bin:$PATH |
| | 155 | export CROSS_COMPILE="aarch64-linux-" |
| | 156 | export ARCH=arm64 |
| | 157 | # checkout a fresh u-boot |
| | 158 | git clone https://github.com/Gateworks/uboot-venice.git |
| | 159 | cd uboot-venice |
| | 160 | # copy ATF and DDR firmware from BSP |
| | 161 | cp $VENICE_BSP/u-boot/lpddr4*.bin . # DDR firmware |
| | 162 | cp $VENICE_BSP/atf/build/imx8mm/release/bl31.bin . # ATF |
| | 163 | # configure for venice board |
| | 164 | make imx8mm_venice_defconfig |
| | 165 | make menuconfig # select CONFIG_IMX_HAB=y |
| | 166 | make flash.bin |
| | 167 | }}} |
| | 168 | - if using a non-gateworks branch of U-boot, ensure that "CONFIG_SPL_LOAD_FIT_ADDRESS=0x44000000" |
| | 169 | - for clarity here are the differences in defconfig: |
| | 170 | {{{#!bash |
| | 171 | $ make savedefconfig && diff defconfig configs/imx8mm_venice_defconfig |
| | 172 | scripts/kconfig/conf --savedefconfig=defconfig Kconfig |
| | 173 | 21,22d21 |
| | 174 | < CONFIG_IMX_HAB=y |
| | 175 | < # CONFIG_CMD_DEKBLOB is not set |
| | 176 | }}} |
| | 177 | - 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) |
| | 178 | 3. create a signed_flash.bin (required prior to v2024.10; for v2024.10-venice branch you can skip this step as it signs it automatically |
| | 179 | {{{#!bash |