Lines Matching refs:DTB
70 # Allow user to select the default DTB for FIT image when multiple dtb's exists.
179 # Emit the fitImage ITS DTB section
183 # $3 ... Path to DTB image
191 dtb_ext=${DTB##*.}
343 # $3 ... DTB image name
524 # Step 2: Prepare a DTB image section
529 for DTB in ${KERNEL_DEVICETREE}; do
530 if echo $DTB | grep -q '/dts/'; then
531 bbwarn "$DTB contains the full path to the the dts file, but only the dtb name should be used."
532 DTB=`basename $DTB | sed 's,\.dts$,.dtb,g'`
535 # Skip ${DTB} if it's also provided in ${EXTERNAL_KERNEL_DEVICETREE}
536 if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ] && [ -s ${EXTERNAL_KERNEL_DEVICETREE}/${DTB} ]; then
540 DTB_PATH="arch/${ARCH}/boot/dts/$DTB"
542 DTB_PATH="arch/${ARCH}/boot/$DTB"
545 DTB=$(echo "$DTB" | tr '/' '_')
547 # Skip DTB if we've picked it up previously
548 echo "$DTBS" | tr ' ' '\n' | grep -xq "$DTB" && continue
550 DTBS="$DTBS $DTB"
551 fitimage_emit_section_dtb $1 $DTB $DTB_PATH
557 for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" -name '*.dtb' -printf '%P\n' | sort) \
559 DTB=$(echo "$DTB" | tr '/' '_')
561 # Skip DTB/DTBO if we've picked it up previously
562 echo "$DTBS" | tr ' ' '\n' | grep -xq "$DTB" && continue
564 DTBS="$DTBS $DTB"
565 fitimage_emit_section_dtb $1 $DTB "${EXTERNAL_KERNEL_DEVICETREE}/$DTB"
616 # Force the first Kernel and DTB in the default config
638 for DTB in ${DTBS}; do
639 dtb_ext=${DTB##*.}
641 fitimage_emit_section_config $1 "" "$DTB" "" "$bootscr_id" "" "`expr $i = $dtbcount`"
643 …fitimage_emit_section_config $1 $kernelcount "$DTB" "$ramdiskcount" "$bootscr_id" "$setupcount" "`…