forked from Sysdeploy/openwrt
Try enabling standard ds1307 for dualeth
This commit is contained in:
parent
3c0b752465
commit
18475fca74
|
@ -109,16 +109,16 @@ cp ${pwd}/defaults/* files/etc/uci-defaults
|
||||||
|
|
||||||
cp ${pwd}/overlays/dualeth.txt ${BOOTSOURCE}
|
cp ${pwd}/overlays/dualeth.txt ${BOOTSOURCE}
|
||||||
|
|
||||||
# cat << "EOF" >> ${BOOTCONFIG}
|
|
||||||
# dtparam=i2c1=on
|
|
||||||
# dtparam=spi=on
|
|
||||||
# dtparam=i2s=on
|
|
||||||
# dtoverlay=i2c-rtc,ds1307
|
|
||||||
# EOF
|
|
||||||
|
|
||||||
cp ${BOOTCONFIG} .
|
cp ${BOOTCONFIG} .
|
||||||
|
|
||||||
echo "include dualeth.txt" >> ${BOOTCONFIG}
|
cat << "EOF" >> ${BOOTCONFIG}
|
||||||
|
dtparam=i2c1=on
|
||||||
|
dtparam=spi=on
|
||||||
|
dtparam=i2s=on
|
||||||
|
dtoverlay=i2c-rtc,ds1307
|
||||||
|
|
||||||
|
include dualeth.txt
|
||||||
|
EOF
|
||||||
|
|
||||||
make image PROFILE=${PROFILE} \
|
make image PROFILE=${PROFILE} \
|
||||||
PACKAGES="${PACKAGES}" DISABLED_SERVICES="dropbear" FILES="files"
|
PACKAGES="${PACKAGES}" DISABLED_SERVICES="dropbear" FILES="files"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user