From 537dee1b25754b98dc5feea123cfa99d83ba114a Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Fri, 8 Mar 2024 14:02:31 +0100 Subject: [PATCH] Update README; update comment for BPI-R4; enable openssl crypto as default --- README.md | 4 +++- configs/mediatek/mt7988a/extended | 38 +++++++++++++++---------------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 6957eaa..db433cb 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ cd openwrt-builder podman build -t openwrt-builder -f Dockerfile ``` -## Example +## Example config How to use: @@ -46,6 +46,8 @@ curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/conf curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/qualcommax/ax3600/extended-full > ~/openwrt-builder/openwrt/.config ``` +## Build + Configure the firmware image and the kernel: ```shell diff --git a/configs/mediatek/mt7988a/extended b/configs/mediatek/mt7988a/extended index 2cc5976..9863724 100644 --- a/configs/mediatek/mt7988a/extended +++ b/configs/mediatek/mt7988a/extended @@ -1,12 +1,12 @@ - -# NOTE: Below steps will not work until https://github.com/openwrt/openwrt/pull/14140 -# is not merged! +# Below config is based on snapshot config: # -# NOTE: Take the snapshot configuration file and attach the content to it. -# STEPS: -# curl -SL https://downloads.openwrt.org/snapshots/targets/mediatek/mt7988a/config.buildinfo > .config -# sed -i '/CONFIG_TARGET_DEVICE_/d' .config; sed -i 's/CONFIG_TARGET_MULTI_PROFILE=y/CONFIG_TARGET_MULTI_PROFILE=n/g' .config -# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7988a/extended >> .config +# curl -SL https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/config.buildinfo > .config +# +# To use my configuration file, which will build an image just for BPI-R4: +# +# curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7988a/extended > .config +# +# Then follow the procedure: https://github.com/danpawlik/openwrt-builder?tab=readme-ov-file#Build CONFIG_TARGET_mediatek=y CONFIG_TARGET_mediatek_filogic=y @@ -109,18 +109,18 @@ CONFIG_PACKAGE_bind-host=y # language CONFIG_LUCI_LANG_pl=y -##### REPLACE CRYPTOLIB ##### -# mbedtls - comment it when openssl or wolfssl enabled! -CONFIG_PACKAGE_luci-ssl=y -CONFIG_PACKAGE_wpad-mbedtls=y -CONFIG_PACKAGE_wpad-basic-mbedtls=m +###### REPLACE CRYPTOLIB ##### +## mbedtls - comment it when openssl or wolfssl enabled! +#CONFIG_PACKAGE_luci-ssl=y +#CONFIG_PACKAGE_wpad-mbedtls=y +#CONFIG_PACKAGE_wpad-basic-mbedtls=m -## replace mbedtls with openssl - remember to leave commented "is not set" ! -#CONFIG_PACKAGE_luci-ssl-openssl=y -#CONFIG_PACKAGE_wpad-openssl=y -## CONFIG_PACKAGE_wpad-mbedtls is not set -## CONFIG_PACKAGE_wpad-basic-mbedtls is not set -## CONFIG_PACKAGE_wpad-basic-openssl is not set +# replace mbedtls with openssl - remember to leave commented "is not set" ! +CONFIG_PACKAGE_luci-ssl-openssl=y +CONFIG_PACKAGE_wpad-openssl=y +# CONFIG_PACKAGE_wpad-mbedtls is not set +# CONFIG_PACKAGE_wpad-basic-mbedtls is not set +# CONFIG_PACKAGE_wpad-basic-openssl is not set ## replace mbedtls with wolfssl - remember to leave commented "is not set" ! # CONFIG_PACKAGE_luci-ssl-wolfssl=y