WIP: Trying to edit kernel config #60
|
@ -30,15 +30,12 @@ sed -i "s/\(packages.git\)\^.*/\1;openwrt-22.03/g" feeds.conf
|
||||||
./scripts/feeds install -a
|
./scripts/feeds install -a
|
||||||
|
|
||||||
cat << "EOF" >> target/linux/${OPENWRT_TARGET}/${OPENWRT_DEVICE}/config-5.10
|
cat << "EOF" >> target/linux/${OPENWRT_TARGET}/${OPENWRT_DEVICE}/config-5.10
|
||||||
CONFIG_NVME_CORE=y
|
CONFIG_HWMON=y
|
||||||
CONFIG_BLK_DEV_NVME=y
|
CONFIG_POWER_SUPPLY_HWMON=y
|
||||||
|
CONFIG_THERMAL_HWMON=y
|
||||||
|
CONFIG_NVME_HWMON=y
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# CONFIG_HWMON=y
|
|
||||||
# CONFIG_POWER_SUPPLY_HWMON=y
|
|
||||||
# CONFIG_THERMAL_HWMON=y
|
|
||||||
# CONFIG_NVME_HWMON=y
|
|
||||||
|
|
||||||
make defconfig
|
make defconfig
|
||||||
# Enable collectd network encryption
|
# Enable collectd network encryption
|
||||||
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
|
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|,i2c_csi_dsi||g" ${BOOTSOURCE}/current.txt
|
||||||
sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=768/g" .config
|
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" \
|
make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \
|
||||||
PACKAGES=" \
|
PACKAGES=" \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user