Compare commits

..

6 Commits

Author SHA1 Message Date
Lee Miller e533892391
Try with HWMON but without NVME 2023-11-29 01:30:00 +02:00
Lee Miller 004e4a30d0
Trying to fix the kernel config: remove hwmon settings for now 2023-11-29 00:00:00 +02:00
Lee Miller 1cd7236dc3
Increase the verbosity for kernel-custom build 2023-11-28 23:59:58 +02:00
Lee Miller 6ac94d6114
Try to build a special package and copy the vmlinux, built as a side effect 2023-11-28 23:59:21 +02:00
Lee Miller 387dfc6233
Edit the kernel config template - add HWMON and NVME 2023-11-28 23:58:22 +02:00
Lee Miller a3d0b97c8f
Apply optimisations from #30
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
buildbot/job/openwrt Build done. Details
2023-11-27 05:54:42 +02:00
1 changed files with 6 additions and 8 deletions

View File

@ -30,21 +30,19 @@ 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
${MAKE} package/i2c-tools/compile
make package/kmod-i2c-mux-pinctrl/compile
make package/kmod-nvme/compile
make package/kmod-rtc-pcf85063/compile
make package/nvme-cli/compile
make package/ansible-core/compile
@ -154,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=" \