From a7439609e4a90af640e1d61ddf707ec0bff0761d Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Mon, 20 Jul 2020 15:14:13 +0200 Subject: [PATCH] Update OpenWrt and add espressobin v7 support --- build.sh | 8 +++++--- config-espressobin | 7 +++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 config-espressobin diff --git a/build.sh b/build.sh index fe1344d3..c7009f63 100755 --- a/build.sh +++ b/build.sh @@ -58,6 +58,8 @@ elif [ "$OMR_TARGET" = "bpi-r2" ]; then OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4" elif [ "$OMR_TARGET" = "bpi-r64" ]; then OMR_REAL_TARGET="aarch64_cortex-a53" +elif [ "$OMR_TARGET" = "espressobin" ]; then + OMR_REAL_TARGET="aarch64_cortex-a53" elif [ "$OMR_TARGET" = "x86" ]; then OMR_REAL_TARGET="i386_pentium4" else @@ -66,9 +68,9 @@ fi #_get_repo source https://github.com/ysurac/openmptcprouter-source "master" if [ "$OMR_OPENWRT" = "default" ]; then - _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "f632747704f172e5c6d3a7c5715dc8d2f50d8da8" - _get_repo feeds/packages https://github.com/openwrt/packages "9bd81604b76a9b1abc0bb8146fb55c00c2445f1b" - _get_repo feeds/luci https://github.com/openwrt/luci "4ddcb360885030f33baa73f8569640db93250878" + _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "65e9de3c333bae1ccef1dfb0cc008ad6f13958e4" + _get_repo feeds/packages https://github.com/openwrt/packages "38db6a2e3ea62b03ef7c26401a3d26edaf621487" + _get_repo feeds/luci https://github.com/openwrt/luci "7edd635026594da577b73f059c0d8b95d653f8fc" elif [ "$OMR_OPENWRT" = "master" ]; then _get_repo "$OMR_TARGET/source" https://github.com/openwrt/openwrt "master" _get_repo feeds/packages https://github.com/openwrt/packages "master" diff --git a/config-espressobin b/config-espressobin new file mode 100644 index 00000000..b11d9a82 --- /dev/null +++ b/config-espressobin @@ -0,0 +1,7 @@ +CONFIG_TARGET_mvebu=y +CONFIG_TARGET_mvebu_cortexa53=y +CONFIG_TARGET_mvebu_cortexa53_DEVICE_globalscale_espressobin-v7=y +CONFIG_PACKAGE_kmod-6lowpan=y +CONFIG_PACKAGE_luci-app-advanced-reboot=y +# CONFIG_KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE is not set +CONFIG_KERNEL_CC_OPTIMIZE_FOR_SIZE=y