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: 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} 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"