Compare commits

...

25 Commits

Author SHA1 Message Date
ed558de9a4
Test
Some checks failed
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-02-01 14:39:35 +08:00
b52738945c
TEsting
Some checks failed
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-02-01 14:11:25 +08:00
1ecd3679c4
Testing
Some checks failed
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-02-01 12:41:44 +08:00
552d86cad9
Bump OpenWRT version
Some checks failed
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-02-01 12:12:16 +08:00
22f759e289
TEst
All checks were successful
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 22:55:45 +08:00
032855dbe1
TEsting
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 22:47:47 +08:00
e147cc1732
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 22:42:08 +08:00
9801ad61eb
Testing
All checks were successful
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 21:16:45 +08:00
502838c889
Testing
All checks were successful
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 20:03:00 +08:00
59766d5457
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:54:32 +08:00
5ab7bcb7f3
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:47:33 +08:00
d2f66711d4
Multi core make
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:38:28 +08:00
ae3f8d5934
Test
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:32:41 +08:00
dab393992f
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:26:42 +08:00
089860d43c
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:20:58 +08:00
2e9a7c8f5e
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:16:05 +08:00
4560374b3c
TEsting
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:10:17 +08:00
42a0b26398
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 19:02:13 +08:00
02690001d2
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 18:56:34 +08:00
e4a85ee66c
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 18:50:03 +08:00
8c722b1e2d
Testing
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 18:37:19 +08:00
d632bc9d6b
Fiddling around with kernel compilation
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 18:32:23 +08:00
b20f7eed07
Fiddling around with kernel
All checks were successful
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 13:06:05 +08:00
712a354ac2
Try to compile kernel explicitly
All checks were successful
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/openwrt Build done.
2024-01-31 11:59:35 +08:00
9c0636f2b2
Try to change kernel config
All checks were successful
buildbot/travis_bionic Build done.
buildbot/multibuild_parent Build done.
buildbot/job/openwrt Build done.
- in the SDK, in `include/kernel-defaults.mk` in the function
  `Kernel/Configure/Default` it says:

```
        awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' $(TOPDIR)/.config >> $(LINUX_DIR)/.config.target
```

so I'm trying to use this mechanism.
2024-01-31 10:46:41 +08:00
3 changed files with 19 additions and 5 deletions

View File

@ -9,10 +9,10 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=UTC \
gettext xsltproc wget unzip python python3-distutils
# Board build parameters
ENV OPENWRT_VERSION=22.03.2
ENV OPENWRT_VERSION=23.05.2
ENV OPENWRT_TARGET=bcm27xx
ENV OPENWRT_DEVICE=bcm2711
ENV OPENWRT_CC=gcc-11.2.0_musl
ENV OPENWRT_CC=gcc-12.3.0_musl
RUN mkdir /Downloads

View File

@ -34,6 +34,17 @@ sed -i "s/\(packages.git\)\^.*/\1;openwrt-${OPENWRT_BRANCH}/g" feeds.conf
make defconfig
# Enable collectd network encryption
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
echo "CONFIG_KERNEL_HWMON=y" >> .config
echo "CONFIG_KERNEL_NVME_CORE=y" >> .config
echo "CONFIG_KERNEL_BLK_DEV_NVME=y" >> .config
echo "CONFIG_KERNEL_NVME_HWMON=y" >> .config
echo "CONFIG_KERNEL_NVME_MULTIPATH=n" >> .config
# Kernel
make kernel_oldconfig
make package/kernel/linux/clean
make package/kernel/linux/prepare
make package/kernel/linux/compile
${MAKE} package/i2c-tools/compile
make package/kmod-i2c-mux-pinctrl/compile
@ -41,8 +52,8 @@ make package/kmod-nvme/compile
make package/kmod-rtc-pcf85063/compile
make package/nvme-cli/compile
make package/ansible-core/compile
${MAKE} package/asterisk-chan-quectel/compile
${MAKE} package/collectd/compile
make -j1 V=s package/asterisk-chan-quectel/compile
make -j1 V=s package/collectd/compile
sdkdir=$(pwd)
cd ${pwd}
@ -106,6 +117,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 +155,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
#sed -i 's/root=\/dev\/mmcblk0p2/root=\/dev\/nvme0n1p2/' $BOOTCMDLINE
make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \
PACKAGES=" \
@ -161,6 +174,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 \

View File

@ -74,5 +74,5 @@ CONFIG_VERSION_MANUFACTURER=""
CONFIG_VERSION_MANUFACTURER_URL=""
CONFIG_VERSION_NUMBER=""
CONFIG_VERSION_PRODUCT=""
CONFIG_VERSION_REPO="https://downloads.openwrt.org/releases/22.03.2"
CONFIG_VERSION_REPO="https://downloads.openwrt.org/releases/23.05.2"
CONFIG_VERSION_SUPPORT_URL=""