post-image.sh 456 B

12345678910111213
  1. #!/bin/sh
  2. # By default U-Boot loads DTB from a file named "system.dtb", so
  3. # let's use a symlink with that name that points to the *first*
  4. # devicetree listed in the config.
  5. FIRST_DT=$(sed -nr \
  6. -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/([-_/[:alnum:]\\.]*).*"$|\1|p' \
  7. ${BR2_CONFIG})
  8. [ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/system.dtb
  9. support/scripts/genimage.sh -c board/zynqmp/genimage.cfg