File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ sed -e "s|%PIN_NAME%|$PIN_NAME|" \
4949 " $IP_DIR " /src/hostmot2_ip_wrap.vhd
5050
5151PRJ_FILE=" $PRJ_DIR_CREATED " /" $PRJ_NAME " .tcl
52- BIT_FILE=" $PRJ_NAME " .bit.bin
52+ BIT_FILE=" $PRJ_NAME " .bit
5353
5454# Update the project creation script from the config
5555sed -e " s|%PRJ_NAME%|$PRJ_NAME |" \
@@ -69,8 +69,12 @@ if [ -d "$PRJ_DIR"/dts ]; then
6969 outname=` basename " $temp " `
7070 outfpath=" $PRJ_DIR_CREATED " /${outname% _ol.dts.in} _" $FPGA_DEV_SHORT " _ol.dts
7171 echo $outfpath
72- sed " s|%BIT_FILE%|$BIT_FILE .bin |" \
72+ sed " s|%BIT_FILE%|$BIT_FILE |" \
7373 " $temp " > " $outfpath "
74+ # Create .dtbo file for overlay
75+ outfpath2=" $PRJ_DIR_CREATED " /${outname% _ol.dts.in} _" $FPGA_DEV_SHORT " _ol.dtbo
76+ echo $outfpath2
77+ dtc -I dts -O dtb -o " $outfpath2 " " $outfpath "
7478 done
7579fi
7680
You can’t perform that action at this time.
0 commit comments