From 712a354ac217d02da0c96477b4ba70f86cfdee9a Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Wed, 31 Jan 2024 11:59:35 +0800 Subject: [PATCH] Try to compile kernel explicitly --- .buildbot/openwrt/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index 76f59f7..ea4ea5c 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -106,6 +106,7 @@ PACKAGES="kmod-i2c-bcm2835 kmod-i2c-mux kmod-i2c-mux-pinctrl \ BOOTSOURCE=target/linux/${OPENWRT_TARGET}/image BOOTCONFIG=${BOOTSOURCE}/config.txt +BOOTCMDLINE=${BOOTSOURCE}/cmdline.txt KERNELSOURCE=build_dir/target-${PKG_ARCH}_musl/linux-${OPENWRT_TARGET}_${OPENWRT_DEVICE}/linux-5.10.146 OVERLAYSOURCE=${KERNELSOURCE}/arch/arm64/boot/dts/overlays @@ -143,6 +144,9 @@ 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 +#sed -i 's/root=\/dev\/mmcblk0p2/root=\/dev\/nvme0n1p2/' $BOOTCMDLINE + +make target/linux make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \ PACKAGES=" \ @@ -161,6 +165,7 @@ git apply ${pwd}/patches/overlay-add.patch popd sed -i "s/CONFIG_TARGET_ROOTFS_PARTSIZE=.*/CONFIG_TARGET_ROOTFS_PARTSIZE=308/g" .config +#sed -i 's/root=\/dev\/nvme0n1p2/root=\/dev\/mmcblk0p2/' $BOOTCMDLINE make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="sensing" \ PACKAGES="${PACKAGES} asterisk \