Try with HWMON but without NVME
This commit is contained in:
parent
004e4a30d0
commit
e533892391
|
@ -30,15 +30,12 @@ sed -i "s/\(packages.git\)\^.*/\1;openwrt-22.03/g" feeds.conf
|
|||
./scripts/feeds install -a
|
||||
|
||||
cat << "EOF" >> target/linux/${OPENWRT_TARGET}/${OPENWRT_DEVICE}/config-5.10
|
||||
CONFIG_NVME_CORE=y
|
||||
CONFIG_BLK_DEV_NVME=y
|
||||
CONFIG_HWMON=y
|
||||
CONFIG_POWER_SUPPLY_HWMON=y
|
||||
CONFIG_THERMAL_HWMON=y
|
||||
CONFIG_NVME_HWMON=y
|
||||
EOF
|
||||
|
||||
# CONFIG_HWMON=y
|
||||
# CONFIG_POWER_SUPPLY_HWMON=y
|
||||
# CONFIG_THERMAL_HWMON=y
|
||||
# CONFIG_NVME_HWMON=y
|
||||
|
||||
make defconfig
|
||||
# Enable collectd network encryption
|
||||
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
|
||||
|
@ -155,7 +152,7 @@ make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="dualeth" \
|
|||
sed -i "s|,i2c_csi_dsi||g" ${BOOTSOURCE}/current.txt
|
||||
sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=768/g" .config
|
||||
|
||||
cp ${sdkdir}/${KERNELDIR}/vmlinux ${KERNELDIR}/${PROFILE}-kernel.bin
|
||||
cp ${sdkdir}/${KERNELDIR}/vmlinux ${KERNELDIR}/${PROFILE}-kernel.bin || exit 1
|
||||
|
||||
make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \
|
||||
PACKAGES=" \
|
||||
|
|
Loading…
Reference in New Issue
Block a user