This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62: U-Boot binman fails with Processor SDK 09.00.00.03

Part Number: SK-AM62

Hi,

i've been working with the SK-AM62 EVM for a couple of processor sdk versions. Currently im switching to 09.00.00.03, but this time the u-boot building fails when doing the binman job after compiling the u-boot SPL for R5.
Im not familiar with the binman code and thus do not understand the nature of the problem. Maybe you guys could help me out? Thanks in advance!

Here's the last bit of the build output:

 CC      spl/drivers/spi/cadence_qspi_apb.o
  CC      spl/drivers/spi/spi-mem.o
  AR      spl/drivers/spi/built-in.o
  CC      spl/drivers/timer/timer-uclass.o
  CC      spl/drivers/timer/omap-timer.o
  AR      spl/drivers/timer/built-in.o
  AR      spl/drivers/built-in.o
  CC      spl/fs/fat/fat.o
  AR      spl/fs/fat/built-in.o
  CC      spl/fs/fs_internal.o
  AR      spl/fs/built-in.o
  LDS     spl/u-boot-spl.lds
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  FDTGREP spl/dts/k3-am625-r5-sk.dtb
  MKIMAGE spl/u-boot-spl.multidtb.fit
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  SYM     spl/u-boot-spl.sym
  MKIMAGE u-boot.img
  MKIMAGE u-boot-dtb.img
  BINMAN  .binman_stamp
binman: Unknown entry type 'ti-board-config' in node '/binman/board-cfg/ti-board-config' (expected etype/ti_board_config.py, error 'No module named 'jsonschema''
make[1]: *** [/opt/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/ti-u-boot/Makefile:1108: .binman_stamp] Error 1
make[1]: Leaving directory '/tmp/out/r5'
make: *** [Makefile:177: sub-make] Error 2
➜  /opt/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/ti-u-boot 

And the shell execution:

export PATH=$HOME/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin:$PATH
export PATH=$HOME/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin:$PATH
export UBOOT_DIR=/opt/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/ti-u-boot
export TI_LINUX_FW_DIR=/opt/ti-linux-firmware
export TFA_DIR=/opt/trusted-firmware-a
export OPTEE_DIR=/opt/optee_os
export OUT_DIR=/tmp/out

cd $UBOOT_DIR

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- am62x_evm_r5_defconfig O=$OUT_DIR/r5
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- O=$OUT_DIR/r5 BINMAN_INDIRS=/opt/ti-processor-sdk-linux-am62xx-evm-09.00.00.03/board-support/prebuilt-images