Add 2nd script.bin for H3 boards to be used with HDMI-to-DVI adapters
This commit is contained in:
parent
515e2877ca
commit
c64be6fcb2
@ -211,7 +211,7 @@
|
||||
;;
|
||||
|
||||
orangepiplus)#enabled
|
||||
#description H3 quad core 1Gb SoC Wifi USB hub
|
||||
#description H3 quad core 1Gb SoC Wifi GbE USB hub
|
||||
#build 3wip
|
||||
LINUXFAMILY="sun8i"
|
||||
BOOTCONFIG="orangepi_plus_defconfig"
|
||||
|
||||
@ -115,6 +115,17 @@ create_board_package (){
|
||||
mkdir -p $destination/boot/bin
|
||||
for i in $(ls -w1 $SRC/lib/config/*.fex | xargs -n1 basename); do
|
||||
fex2bin $SRC/lib/config/${i%*.fex}.fex $destination/boot/bin/${i%*.fex}.bin;
|
||||
case ${i%*.fex} in
|
||||
orangepiplus|orangepi2|orangepipc|orangepione|orangepilite)
|
||||
# H3 based devices need a fix when used with DVI displays
|
||||
# so we provide a 2nd script.bin to be replaced manually
|
||||
# when using kernel 3.4.x
|
||||
sed '/\[hdmi_para\]/a \
|
||||
hdcp_enable = 0\
|
||||
hdmi_cts_compatibility = 1\
|
||||
' <"${SRC}/lib/config/${i%*.fex}.fex" | fex2bin - "${destination}/boot/bin/${i%*.fex}_hdmi2dvi.bin"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# bluetooth device enabler - for cubietruck
|
||||
|
||||
Loading…
Reference in New Issue
Block a user