Rockchip HDMI Hotplug

Add bsp tweak enabling HDMI hotplug, solving issue of loss of output on mainline kernels.
This commit is contained in:
Tonymac32 2017-09-29 00:20:15 -04:00 committed by GitHub
parent 6ddb6732b0
commit 464fd62010

View file

@ -57,3 +57,13 @@ family_tweaks()
echo "fdt_file=rk3288-miniarm.dtb" >> $SDCARD/boot/armbianEnv.txt
fi
}
family_tweaks_bsp()
{
if [[ $BRANCH != default ]]; then
mkdir -p $destination/etc/udev/rules.d
mkdir -p $destination/usr/local/bin
cp $SRC/packages/bsp/rockchip/hdmi.rules $destination/etc/udev/rules.d
install -m 755 $SRC/packages/bsp/rockchip/hdmi-hotplug $destination/usr/local/bin
fi
}