Try enabling standard ds1307 for dualeth

This commit is contained in:
Lee Miller 2023-03-03 03:34:56 +02:00
parent 3c0b752465
commit 18475fca74
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -109,16 +109,16 @@ cp ${pwd}/defaults/* files/etc/uci-defaults
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} .
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} \
PACKAGES="${PACKAGES}" DISABLED_SERVICES="dropbear" FILES="files"