From 5a660a751131e8af579f1503fd9e5bbf49c0aa65 Mon Sep 17 00:00:00 2001 From: jbnadal Date: Wed, 7 Dec 2016 18:11:18 +0100 Subject: [PATCH] Update config for sun8i --- .../sun8i-h2_domo/configs/buildroot.config | 40 ++++++++----------- .../sun8i-h2_domo/configs/linuxKernel.config | 8 +++- projects/sun8i-h2_domo/fex/orangepizero.fex | 3 ++ projects/sun8i-h2_domo/post-build.sh | 4 +- 4 files changed, 29 insertions(+), 26 deletions(-) diff --git a/projects/sun8i-h2_domo/configs/buildroot.config b/projects/sun8i-h2_domo/configs/buildroot.config index 5f39e0e6..d0bed22f 100644 --- a/projects/sun8i-h2_domo/configs/buildroot.config +++ b/projects/sun8i-h2_domo/configs/buildroot.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Buildroot 2016.08.1-g0b5b91c-dirty Configuration +# Buildroot 2016.08.1-gf8dc251-dirty Configuration # BR2_HAVE_DOT_CONFIG=y BR2_HOST_GCC_AT_LEAST_4_6=y @@ -121,10 +121,7 @@ BR2_GNU_MIRROR="http://ftpmirror.gnu.org" BR2_LUAROCKS_MIRROR="http://rocks.moonscript.org" BR2_CPAN_MIRROR="http://cpan.metacpan.org" BR2_JLEVEL=0 -BR2_CCACHE=y -BR2_CCACHE_DIR="$(BUILDS_ROOT)/.buildroot-ccache" -BR2_CCACHE_INITIAL_SETUP="" -BR2_CCACHE_USE_BASEDIR=y +# BR2_CCACHE is not set # BR2_DEPRECATED is not set # BR2_ENABLE_DEBUG is not set BR2_STRIP_strip=y @@ -329,9 +326,9 @@ BR2_LINUX_KERNEL_CUSTOM_GIT=y # BR2_LINUX_KERNEL_CUSTOM_HG is not set # BR2_LINUX_KERNEL_CUSTOM_SVN is not set # BR2_LINUX_KERNEL_CUSTOM_LOCAL is not set -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="ssh://git@serveur.nadal-fr.com:5023/PI/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="master" -BR2_LINUX_KERNEL_VERSION="master" +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="ssh://git@serveur.nadal-fr.com:5023/H3/linux-3.4.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="c1f977aee06bde90e1bd1e8628b7ebe1cf22ed01" +BR2_LINUX_KERNEL_VERSION="c1f977aee06bde90e1bd1e8628b7ebe1cf22ed01" BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL)/patches/linux/sun8i/" # BR2_LINUX_KERNEL_USE_DEFCONFIG is not set # BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG is not set @@ -848,7 +845,6 @@ BR2_PACKAGE_UBOOT_TOOLS=y # BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE is not set BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV=y # BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE is not set -# BR2_PACKAGE_UBUS is not set # # udisks needs udev /dev management @@ -1221,7 +1217,7 @@ BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS=y # BR2_PACKAGE_EXPAT is not set # BR2_PACKAGE_EZXML is not set # BR2_PACKAGE_JANSSON is not set -# BR2_PACKAGE_JSON_C is not set +BR2_PACKAGE_JSON_C=y # BR2_PACKAGE_JSON_GLIB is not set # BR2_PACKAGE_JSONCPP is not set # BR2_PACKAGE_LIBFASTJSON is not set @@ -1457,7 +1453,7 @@ BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS=y # BR2_PACKAGE_LIBEE is not set # BR2_PACKAGE_LIBEV is not set # BR2_PACKAGE_LIBEVDEV is not set -BR2_PACKAGE_LIBEVENT=y +# BR2_PACKAGE_LIBEVENT is not set # BR2_PACKAGE_LIBFFI is not set # BR2_PACKAGE_LIBGEE is not set # BR2_PACKAGE_LIBGLIB2 is not set @@ -1475,7 +1471,6 @@ BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS=y # BR2_PACKAGE_LIBTASN1 is not set # BR2_PACKAGE_LIBTOMMATH is not set # BR2_PACKAGE_LIBTPL is not set -# BR2_PACKAGE_LIBUBOX is not set # BR2_PACKAGE_LIBUCI is not set BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS=y # BR2_PACKAGE_LIBUNWIND is not set @@ -1719,22 +1714,13 @@ BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS=y # BR2_PACKAGE_NLOAD is not set # BR2_PACKAGE_NMAP is not set # BR2_PACKAGE_NOIP is not set -BR2_PACKAGE_NTP=y -# BR2_PACKAGE_NTP_SNTP is not set -# BR2_PACKAGE_NTP_NTP_KEYGEN is not set -# BR2_PACKAGE_NTP_NTP_SHM_CLK is not set -# BR2_PACKAGE_NTP_NTPD is not set -BR2_PACKAGE_NTP_NTPDATE=y -# BR2_PACKAGE_NTP_NTPDC is not set -# BR2_PACKAGE_NTP_NTPQ is not set -# BR2_PACKAGE_NTP_NTPSNMPD is not set -# BR2_PACKAGE_NTP_NTPTIME is not set -# BR2_PACKAGE_NTP_TICKADJ is not set +# BR2_PACKAGE_NTP is not set # BR2_PACKAGE_NUTTCP is not set # BR2_PACKAGE_ODHCP6C is not set # BR2_PACKAGE_ODHCPLOC is not set # BR2_PACKAGE_OLSR is not set # BR2_PACKAGE_OPEN_PLC_UTILS is not set +# BR2_PACKAGE_OPENNTPD is not set # BR2_PACKAGE_OPENOBEX is not set # BR2_PACKAGE_OPENSSH is not set # BR2_PACKAGE_OPENSWAN is not set @@ -2448,6 +2434,14 @@ BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="" # User-provided options # +# +# Third parties +# +BR2_PACKAGE_LIBUBOX=y +# BR2_PACKAGE_PROCD is not set +# BR2_PACKAGE_UBOX is not set +# BR2_PACKAGE_UBUSD is not set + # # Domo # diff --git a/projects/sun8i-h2_domo/configs/linuxKernel.config b/projects/sun8i-h2_domo/configs/linuxKernel.config index 98c70163..96d6fd63 100644 --- a/projects/sun8i-h2_domo/configs/linuxKernel.config +++ b/projects/sun8i-h2_domo/configs/linuxKernel.config @@ -1074,7 +1074,13 @@ CONFIG_HOSTAP_FIRMWARE=y # CONFIG_WL12XX_MENU is not set # CONFIG_ZD1211RW is not set # CONFIG_MWIFIEX is not set -# CONFIG_XRADIO is not set +CONFIG_XRADIO=m +CONFIG_XRADIO_SDIO=y +CONFIG_XRADIO_NON_POWER_OF_TWO_BLOCKSIZES=y +CONFIG_XRADIO_USE_GPIO_IRQ=y +# CONFIG_XRADIO_5GHZ_SUPPORT is not set +# CONFIG_XRADIO_WAPI_SUPPORT is not set +CONFIG_XRADIO_USE_EXTENSIONS=y # CONFIG_RTL8188EU is not set # CONFIG_RTL8189ES is not set CONFIG_RTL8189FS=m diff --git a/projects/sun8i-h2_domo/fex/orangepizero.fex b/projects/sun8i-h2_domo/fex/orangepizero.fex index e9ffdf10..9139d2dd 100644 --- a/projects/sun8i-h2_domo/fex/orangepizero.fex +++ b/projects/sun8i-h2_domo/fex/orangepizero.fex @@ -846,3 +846,6 @@ gpio = 10 [corekeeper] corekeeper_enabled = 1 + +[dynamic] +MAC = "001BA0150FAF" diff --git a/projects/sun8i-h2_domo/post-build.sh b/projects/sun8i-h2_domo/post-build.sh index d0c28f78..8850b1ee 100755 --- a/projects/sun8i-h2_domo/post-build.sh +++ b/projects/sun8i-h2_domo/post-build.sh @@ -12,7 +12,7 @@ function error { set -e trap error ERR -echo "==> sun8i-h3 POSTBUILD:" +echo "==> sun8i-h2 POSTBUILD:" # Generate script.bin -$FEX2BIN ${PROJECT}/fex/orangepipcplus.fex ${BINARIES_DIR}/script.bin +$FEX2BIN ${PROJECT}/fex/orangepizero.fex ${BINARIES_DIR}/script.bin