2024-01-07 00:52:36 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
. script_env
|
|
|
|
|
|
|
|
DTC="$LINUX_DIR/scripts/dtc/dtc"
|
|
|
|
|
|
|
|
if [ ! -x "$DTC" ]; then
|
|
|
|
echo "ERROR: Missing $DTC" >&2
|
|
|
|
echo " Build Linux kernel to build the device tree compiler" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2024-01-12 19:16:02 +01:00
|
|
|
$DTC --symbols -I dts -O dtb -i "$LINUX_DIR/arch/arm/boot/dts" -o devicetree/devicetree.dtb devicetree/redpitaya_puzzlefw.dts
|
2024-01-07 00:52:36 +01:00
|
|
|
|