Kaynağa Gözat

added packages datamatrix and prod_test_screens (for assembly tests) and removed PCBA

Vincent-FK 3 yıl önce
ebeveyn
işleme
35ab665bd9
68 değiştirilmiş dosya ile 120 ekleme ve 3239 silme
  1. 2 0
      FunKey/Config.in
  2. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/FreeSansBold.ttf
  3. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/Jaapokki-Regular.otf
  4. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Bold.ttf
  5. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-BoldItalic.ttf
  6. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-ExtraBold.ttf
  7. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-ExtraBoldItalic.ttf
  8. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Italic.ttf
  9. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Light.ttf
  10. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-LightItalic.ttf
  11. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Regular.ttf
  12. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Semibold.ttf
  13. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-SemiboldItalic.ttf
  14. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/arial.ttf
  15. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/button_LR_green.png
  16. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/button_round_green.png
  17. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/courbd.ttf
  18. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/funkey_with_buttons.png
  19. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/joystixmonospace.ttf
  20. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/manaspc.ttf
  21. BIN
      FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/prstart.ttf
  22. 5 0
      FunKey/package/ProdScreens/Config.in
  23. 43 0
      FunKey/package/ProdScreens/ProdScreens.mk
  24. 35 0
      FunKey/package/dmtx-utils/0001-no-static-debug.patch
  25. 12 0
      FunKey/package/dmtx-utils/Config.in
  26. 3 0
      FunKey/package/dmtx-utils/dmtx-utils.hash
  27. 20 0
      FunKey/package/dmtx-utils/dmtx-utils.mk
  28. 0 0
      PCBA/Config.in
  29. 0 2
      PCBA/board/funkey/boot.cmd
  30. 0 1175
      PCBA/board/funkey/busybox.config
  31. 0 0
      PCBA/board/funkey/device_table.txt
  32. 0 94
      PCBA/board/funkey/linux.config
  33. 0 4
      PCBA/board/funkey/local.mk
  34. 0 14
      PCBA/board/funkey/patches/busybox/0001-silent-root-login.patch
  35. 0 195
      PCBA/board/funkey/patches/linux/0003-add-funkey-dts.patch
  36. 0 12
      PCBA/board/funkey/patches/linux/0004-add-funkey-dts-to-Makefile.patch
  37. 0 48
      PCBA/board/funkey/patches/linux/0005-add-dts-gpio-names.patch
  38. 0 22
      PCBA/board/funkey/patches/linux/0009-add-cpu-clock-properties.patch
  39. 0 39
      PCBA/board/funkey/patches/linux/0010-reorder-sunxi-aux-codec.patch
  40. 0 207
      PCBA/board/funkey/patches/linux/a/arch/arm/boot/dts/sun8i-v3s-funkey.dts
  41. 0 86
      PCBA/board/funkey/patches/uboot/0001-add-funkey-dts.patch
  42. 0 47
      PCBA/board/funkey/patches/uboot/0001-silent-boot.patch
  43. 0 12
      PCBA/board/funkey/patches/uboot/0002-add-funkey-dts-to-Makfile.patch
  44. 0 31
      PCBA/board/funkey/patches/uboot/0002-fix-bootargs-when-building-without-net.patch
  45. 0 18
      PCBA/board/funkey/patches/uboot/0003-do-not-set-enetaddr.patch
  46. 0 13
      PCBA/board/funkey/post-build.sh
  47. 0 76
      PCBA/board/funkey/readme.txt
  48. 0 223
      PCBA/board/funkey/rootfs-overlay/bin/axp209
  49. 0 35
      PCBA/board/funkey/rootfs-overlay/bin/test-battery
  50. 0 22
      PCBA/board/funkey/rootfs-overlay/bin/test-gpio
  51. 0 25
      PCBA/board/funkey/rootfs-overlay/bin/test-i2c
  52. 0 26
      PCBA/board/funkey/rootfs-overlay/bin/test-led
  53. 0 24
      PCBA/board/funkey/rootfs-overlay/bin/test-speaker
  54. 0 9
      PCBA/board/funkey/rootfs-overlay/etc/fstab
  55. 0 1
      PCBA/board/funkey/rootfs-overlay/etc/hostname
  56. 0 207
      PCBA/board/funkey/rootfs-overlay/etc/init.d/S50alsa-utils
  57. 0 40
      PCBA/board/funkey/rootfs-overlay/etc/inittab
  58. 0 2
      PCBA/board/funkey/rootfs-overlay/etc/issue
  59. 0 12
      PCBA/board/funkey/rootfs-overlay/etc/profile
  60. 0 34
      PCBA/board/funkey/rootfs-overlay/lib/lsb/init-functions
  61. 0 20
      PCBA/board/funkey/rootfs-overlay/usr/local/lib/utils
  62. 0 182
      PCBA/board/funkey/rootfs-overlay/usr/share/alsa/utils.sh
  63. 0 162
      PCBA/board/funkey/rootfs-overlay/var/lib/alsa/asound.state
  64. 0 53
      PCBA/board/funkey/uboot.config
  65. 0 0
      PCBA/board/funkey/users_table.txt
  66. 0 64
      PCBA/configs/funkey_defconfig
  67. 0 2
      PCBA/external.desc
  68. 0 1
      PCBA/external.mk

+ 2 - 0
FunKey/Config.in

@@ -7,3 +7,5 @@ source "$BR2_EXTERNAL_FUNKEY_PATH/package/gnuboy/Config.in"
 source "$BR2_EXTERNAL_FUNKEY_PATH/package/picodrive/Config.in"
 source "$BR2_EXTERNAL_FUNKEY_PATH/package/PocketSNES/Config.in"
 source "$BR2_EXTERNAL_FUNKEY_PATH/package/gpsp/Config.in"
+source "$BR2_EXTERNAL_FUNKEY_PATH/package/dmtx-utils/Config.in"
+source "$BR2_EXTERNAL_FUNKEY_PATH/package/ProdScreens/Config.in"

BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/FreeSansBold.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/Jaapokki-Regular.otf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Bold.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-BoldItalic.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-ExtraBold.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-ExtraBoldItalic.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Italic.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Light.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-LightItalic.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Regular.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-Semibold.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/OpenSans-SemiboldItalic.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/arial.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/button_LR_green.png


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/button_round_green.png


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/courbd.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/funkey_with_buttons.png


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/joystixmonospace.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/manaspc.ttf


BIN
FunKey/board/funkey/rootfs-overlay/usr/local/sbin/ProdResources/prstart.ttf


+ 5 - 0
FunKey/package/ProdScreens/Config.in

@@ -0,0 +1,5 @@
+config BR2_PACKAGE_PRODSCREENS
+	bool "FunKey Prod screens"
+	default y
+	help
+	  The screens for production tests.

+ 43 - 0
FunKey/package/ProdScreens/ProdScreens.mk

@@ -0,0 +1,43 @@
+################################################################################
+#
+# FunKey-Prod-screens
+#
+################################################################################
+
+PRODSCREENS_VERSION = 06165f8a5d4aeb2e6324abe951ef141cc261c078
+PRODSCREENS_SITE_METHOD = git
+#PRODSCREENS_SITE = ssh://git@github.com/FunKey-Project/FunKey-ProdScreens.git
+#PRODSCREENS_SITE = ssh://git@fk/FunKey-Project/FunKey-ProdScreens.git
+PRODSCREENS_SITE = https://github.com/FunKey-Project/FunKey-ProdScreens.git
+PRODSCREENS_SITE_LICENSE = GPL-2.1+
+PRODSCREENS_SITE_LICENSE_FILES = COPYING
+
+PRODSCREENS_DEPENDENCIES = sdl sdl_image sdl_ttf
+
+PRODSCREENS_CFLAGS = $(TARGET_CFLAGS)
+
+PRODSCREENS_SDL_CFLAGS += $(shell $(STAGING_DIR)/usr/bin/sdl-config --cflags)
+PRODSCREENS_SDL_LIBS += $(shell $(STAGING_DIR)/usr/bin/sdl-config --libs)
+
+PRODSCREENS_CFLAGS += -ggdb -O3
+PRODSCREENS_CFLAGS += $(PRODSCREENS_SDL_CFLAGS)
+
+PRODSCREENS_LIBS += $(PRODSCREENS_SDL_LIBS)
+PRODSCREENS_LIBS += -lSDL -lSDL_ttf -lSDL_image 
+
+define PRODSCREENS_BUILD_CMDS
+	(cd $(@D); \
+	make \
+	CROSS_COMPILE=$(TARGET_CROSS) \
+	CFLAGS='$(PRODSCREENS_CFLAGS)' \
+	LIBS='$(PRODSCREENS_LIBS)' \
+	)
+endef
+
+define PRODSCREENS_INSTALL_TARGET_CMDS
+	$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/local/sbin
+	$(INSTALL) -m 0755 $(@D)/funkey_prod_screens $(TARGET_DIR)/usr/local/sbin/funkey_prod_screens
+	#$(INSTALL) -m 0755 $(@D)/ProdResources $(TARGET_DIR)/usr/local/sbin/ProdResources
+endef
+
+$(eval $(generic-package))

+ 35 - 0
FunKey/package/dmtx-utils/0001-no-static-debug.patch

@@ -0,0 +1,35 @@
+ dmtxquery/Makefile.am |    2 +-
+ dmtxread/Makefile.am  |    2 +-
+ dmtxwrite/Makefile.am |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff -Naur a/dmtxquery/Makefile.am b/dmtxquery/Makefile.am
+--- a/dmtxquery/Makefile.am
++++ b/dmtxquery/Makefile.am
+@@ -9,5 +9,5 @@
+ dmtxquery_LDADD = $(LIBOBJS)
+ 
+ dmtxquery_debug_SOURCES = dmtxquery.c dmtxquery.h ../common/dmtxutil.c ../common/dmtxutil.h
+-dmtxquery_debug_LDFLAGS = -static $(DMTX_LIBS)
++dmtxquery_debug_LDFLAGS = $(DMTX_LIBS)
+ dmtxquery_debug_LDADD = $(LIBOBJS)
+diff -Naur a/dmtxread/Makefile.am b/dmtxread/Makefile.am
+--- a/dmtxread/Makefile.am
++++ b/dmtxread/Makefile.am
+@@ -11,5 +11,5 @@
+ 
+ dmtxread_debug_SOURCES = dmtxread.c dmtxread.h ../common/dmtxutil.c ../common/dmtxutil.h
+ dmtxread_debug_CFLAGS = $(DMTX_CFLAGS) $(MAGICK_CFLAGS) -D_MAGICK_CONFIG_H
+-dmtxread_debug_LDFLAGS = -static $(DMTX_LIBS) $(MAGICK_LIBS)
++dmtxread_debug_LDFLAGS = $(DMTX_LIBS) $(MAGICK_LIBS)
+ dmtxread_debug_LDADD = $(LIBOBJS)
+diff -Naur a/dmtxwrite/Makefile.am b/dmtxwrite/Makefile.am
+--- a/dmtxwrite/Makefile.am
++++ b/dmtxwrite/Makefile.am
+@@ -11,5 +11,5 @@
+ 
+ dmtxwrite_debug_SOURCES = dmtxwrite.c dmtxwrite.h ../common/dmtxutil.c ../common/dmtxutil.h
+ dmtxwrite_debug_CFLAGS = $(DMTX_FLAGS) $(MAGICK_CFLAGS) -D_MAGICK_CONFIG_H
+-dmtxwrite_debug_LDFLAGS = -static $(DMTX_LIBS) $(MAGICK_LIBS)
++dmtxwrite_debug_LDFLAGS = $(DMTX_LIBS) $(MAGICK_LIBS)
+ dmtxwrite_debug_LDADD = $(LIBOBJS)

+ 12 - 0
FunKey/package/dmtx-utils/Config.in

@@ -0,0 +1,12 @@
+config BR2_PACKAGE_DMTX_UTILS
+	bool "dmtx utils"
+	depends on BR2_PACKAGE_LIBDMTX
+	select BR2_PACKAGE_IMAGEMAGICK
+	help
+	  libdmtx is a software library that enables programs to read
+	  and write Data Matrix barcodes of the modern ECC200
+	  variety. This package, dmtx-utils, provides command line
+	  utilities that allow scripts and command line users to use
+	  libdmtx functionality.
+
+	  https://github.com/dmtx/dmtx-utils

+ 3 - 0
FunKey/package/dmtx-utils/dmtx-utils.hash

@@ -0,0 +1,3 @@
+# Locally computed:
+sha256  0d396ec14f32a8cf9e08369a4122a16aa2e5fa1675e02218f16f1ab777ea2a28  dmtx-utils-0.7.6.tar.gz
+sha256  d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388  COPYING

+ 20 - 0
FunKey/package/dmtx-utils/dmtx-utils.mk

@@ -0,0 +1,20 @@
+################################################################################
+#
+# dmtx-utils
+#
+################################################################################
+
+DMTX_UTILS_VERSION = 0.7.6
+DMTX_UTILS_SITE = $(call github,dmtx,dmtx-utils,v$(DMTX_UTILS_VERSION))
+DMTX_UTILS_DEPENDENCIES = libdmtx imagemagick
+DMTX_UTILS_LICENSE = LGPL-2.1+
+DMTX_UTILS_LICENSE_FILES = COPYING
+# github tarball does not include configure
+DMTX_UTILS_AUTORECONF = YES
+
+define DMTX_UTILS_RUN_AUTOGEN
+	cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+DMTX_UTILS_PRE_CONFIGURE_HOOKS += DMTX_UTILS_RUN_AUTOGEN
+
+$(eval $(autotools-package))

+ 0 - 0
PCBA/Config.in


+ 0 - 2
PCBA/board/funkey/boot.cmd

@@ -1,2 +0,0 @@
-setenv bootargs console=ttyS0,115200 panic=5 quiet
-bootz 0x41000000 - 0x41800000

+ 0 - 1175
PCBA/board/funkey/busybox.config

@@ -1,1175 +0,0 @@
-#
-# Automatically generated make config: don't edit
-# Busybox version: 1.31.1
-# Fri Jul 31 15:55:31 2020
-#
-CONFIG_HAVE_DOT_CONFIG=y
-
-#
-# Settings
-#
-CONFIG_DESKTOP=y
-# CONFIG_EXTRA_COMPAT is not set
-# CONFIG_FEDORA_COMPAT is not set
-# CONFIG_INCLUDE_SUSv2 is not set
-CONFIG_LONG_OPTS=y
-# CONFIG_SHOW_USAGE is not set
-# CONFIG_FEATURE_VERBOSE_USAGE is not set
-# CONFIG_FEATURE_COMPRESS_USAGE is not set
-CONFIG_LFS=y
-# CONFIG_PAM is not set
-CONFIG_FEATURE_DEVPTS=y
-CONFIG_FEATURE_UTMP=y
-CONFIG_FEATURE_WTMP=y
-# CONFIG_FEATURE_PIDFILE is not set
-CONFIG_PID_FILE_PATH=""
-# CONFIG_BUSYBOX is not set
-# CONFIG_FEATURE_SHOW_SCRIPT is not set
-# CONFIG_FEATURE_INSTALLER is not set
-CONFIG_INSTALL_NO_USR=y
-# CONFIG_FEATURE_SUID is not set
-# CONFIG_FEATURE_SUID_CONFIG is not set
-# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
-# CONFIG_FEATURE_PREFER_APPLETS is not set
-CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
-# CONFIG_SELINUX is not set
-# CONFIG_FEATURE_CLEAN_UP is not set
-# CONFIG_FEATURE_SYSLOG_INFO is not set
-CONFIG_FEATURE_SYSLOG=y
-CONFIG_PLATFORM_LINUX=y
-
-#
-# Build Options
-#
-# CONFIG_STATIC is not set
-# CONFIG_PIE is not set
-# CONFIG_NOMMU is not set
-# CONFIG_BUILD_LIBBUSYBOX is not set
-# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set
-# CONFIG_FEATURE_INDIVIDUAL is not set
-# CONFIG_FEATURE_SHARED_BUSYBOX is not set
-CONFIG_CROSS_COMPILER_PREFIX=""
-CONFIG_SYSROOT=""
-CONFIG_EXTRA_CFLAGS=""
-CONFIG_EXTRA_LDFLAGS=""
-CONFIG_EXTRA_LDLIBS=""
-# CONFIG_USE_PORTABLE_CODE is not set
-CONFIG_STACK_OPTIMIZATION_386=y
-
-#
-# Installation Options ("make install" behavior)
-#
-CONFIG_INSTALL_APPLET_SYMLINKS=y
-# CONFIG_INSTALL_APPLET_HARDLINKS is not set
-# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set
-# CONFIG_INSTALL_APPLET_DONT is not set
-# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set
-# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set
-# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set
-CONFIG_PREFIX="./_install"
-
-#
-# Debugging Options
-#
-# CONFIG_DEBUG is not set
-# CONFIG_DEBUG_PESSIMIZE is not set
-# CONFIG_DEBUG_SANITIZE is not set
-# CONFIG_UNIT_TEST is not set
-# CONFIG_WERROR is not set
-CONFIG_NO_DEBUG_LIB=y
-# CONFIG_DMALLOC is not set
-# CONFIG_EFENCE is not set
-
-#
-# Library Tuning
-#
-# CONFIG_FEATURE_USE_BSS_TAIL is not set
-# CONFIG_FLOAT_DURATION is not set
-# CONFIG_FEATURE_RTMINMAX is not set
-# CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS is not set
-CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
-# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
-# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
-CONFIG_PASSWORD_MINLEN=6
-CONFIG_MD5_SMALL=1
-CONFIG_SHA3_SMALL=1
-# CONFIG_FEATURE_FAST_TOP is not set
-# CONFIG_FEATURE_ETC_NETWORKS is not set
-# CONFIG_FEATURE_ETC_SERVICES is not set
-# CONFIG_FEATURE_EDITING is not set
-CONFIG_FEATURE_EDITING_MAX_LEN=0
-# CONFIG_FEATURE_EDITING_VI is not set
-CONFIG_FEATURE_EDITING_HISTORY=0
-# CONFIG_FEATURE_EDITING_SAVEHISTORY is not set
-# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set
-# CONFIG_FEATURE_REVERSE_SEARCH is not set
-# CONFIG_FEATURE_TAB_COMPLETION is not set
-# CONFIG_FEATURE_USERNAME_COMPLETION is not set
-# CONFIG_FEATURE_EDITING_FANCY_PROMPT is not set
-# CONFIG_FEATURE_EDITING_WINCH is not set
-# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set
-# CONFIG_LOCALE_SUPPORT is not set
-# CONFIG_UNICODE_SUPPORT is not set
-# CONFIG_UNICODE_USING_LOCALE is not set
-# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set
-CONFIG_SUBST_WCHAR=0
-CONFIG_LAST_SUPPORTED_WCHAR=0
-# CONFIG_UNICODE_COMBINING_WCHARS is not set
-# CONFIG_UNICODE_WIDE_WCHARS is not set
-# CONFIG_UNICODE_BIDI_SUPPORT is not set
-# CONFIG_UNICODE_NEUTRAL_TABLE is not set
-# CONFIG_UNICODE_PRESERVE_BROKEN is not set
-CONFIG_FEATURE_NON_POSIX_CP=y
-# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set
-CONFIG_FEATURE_USE_SENDFILE=y
-CONFIG_FEATURE_COPYBUF_KB=4
-CONFIG_FEATURE_SKIP_ROOTFS=y
-CONFIG_MONOTONIC_SYSCALL=y
-# CONFIG_IOCTL_HEX2STR_ERROR is not set
-# CONFIG_FEATURE_HWIB is not set
-
-#
-# Applets
-#
-
-#
-# Archival Utilities
-#
-# CONFIG_FEATURE_SEAMLESS_XZ is not set
-# CONFIG_FEATURE_SEAMLESS_LZMA is not set
-# CONFIG_FEATURE_SEAMLESS_BZ2 is not set
-CONFIG_FEATURE_SEAMLESS_GZ=y
-# CONFIG_FEATURE_SEAMLESS_Z is not set
-# CONFIG_AR is not set
-# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
-# CONFIG_FEATURE_AR_CREATE is not set
-# CONFIG_UNCOMPRESS is not set
-# CONFIG_GUNZIP is not set
-# CONFIG_ZCAT is not set
-# CONFIG_FEATURE_GUNZIP_LONG_OPTIONS is not set
-# CONFIG_BUNZIP2 is not set
-# CONFIG_BZCAT is not set
-# CONFIG_UNLZMA is not set
-# CONFIG_LZCAT is not set
-# CONFIG_LZMA is not set
-# CONFIG_UNXZ is not set
-# CONFIG_XZCAT is not set
-# CONFIG_XZ is not set
-# CONFIG_BZIP2 is not set
-CONFIG_BZIP2_SMALL=0
-# CONFIG_FEATURE_BZIP2_DECOMPRESS is not set
-# CONFIG_CPIO is not set
-# CONFIG_FEATURE_CPIO_O is not set
-# CONFIG_FEATURE_CPIO_P is not set
-# CONFIG_DPKG is not set
-# CONFIG_DPKG_DEB is not set
-# CONFIG_GZIP is not set
-# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set
-CONFIG_GZIP_FAST=0
-# CONFIG_FEATURE_GZIP_LEVELS is not set
-# CONFIG_FEATURE_GZIP_DECOMPRESS is not set
-# CONFIG_LZOP is not set
-# CONFIG_UNLZOP is not set
-# CONFIG_LZOPCAT is not set
-# CONFIG_LZOP_COMPR_HIGH is not set
-# CONFIG_RPM is not set
-# CONFIG_RPM2CPIO is not set
-# CONFIG_TAR is not set
-# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
-# CONFIG_FEATURE_TAR_CREATE is not set
-# CONFIG_FEATURE_TAR_AUTODETECT is not set
-# CONFIG_FEATURE_TAR_FROM is not set
-# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set
-# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set
-# CONFIG_FEATURE_TAR_GNU_EXTENSIONS is not set
-# CONFIG_FEATURE_TAR_TO_COMMAND is not set
-# CONFIG_FEATURE_TAR_UNAME_GNAME is not set
-# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set
-# CONFIG_FEATURE_TAR_SELINUX is not set
-# CONFIG_UNZIP is not set
-# CONFIG_FEATURE_UNZIP_CDF is not set
-# CONFIG_FEATURE_UNZIP_BZIP2 is not set
-# CONFIG_FEATURE_UNZIP_LZMA is not set
-# CONFIG_FEATURE_UNZIP_XZ is not set
-# CONFIG_FEATURE_LZMA_FAST is not set
-
-#
-# Coreutils
-#
-CONFIG_BASENAME=y
-CONFIG_CAT=y
-# CONFIG_FEATURE_CATN is not set
-# CONFIG_FEATURE_CATV is not set
-# CONFIG_CHGRP is not set
-# CONFIG_CHMOD is not set
-# CONFIG_CHOWN is not set
-# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set
-# CONFIG_CHROOT is not set
-# CONFIG_CKSUM is not set
-# CONFIG_COMM is not set
-CONFIG_CP=y
-CONFIG_FEATURE_CP_LONG_OPTIONS=y
-# CONFIG_FEATURE_CP_REFLINK is not set
-CONFIG_CUT=y
-# CONFIG_DATE is not set
-# CONFIG_FEATURE_DATE_ISOFMT is not set
-# CONFIG_FEATURE_DATE_NANO is not set
-# CONFIG_FEATURE_DATE_COMPAT is not set
-# CONFIG_DD is not set
-# CONFIG_FEATURE_DD_SIGNAL_HANDLING is not set
-# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set
-# CONFIG_FEATURE_DD_IBS_OBS is not set
-# CONFIG_FEATURE_DD_STATUS is not set
-# CONFIG_DF is not set
-# CONFIG_FEATURE_DF_FANCY is not set
-CONFIG_DIRNAME=y
-# CONFIG_DOS2UNIX is not set
-# CONFIG_UNIX2DOS is not set
-# CONFIG_DU is not set
-# CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K is not set
-# CONFIG_ECHO is not set
-CONFIG_FEATURE_FANCY_ECHO=y
-CONFIG_ENV=y
-# CONFIG_EXPAND is not set
-# CONFIG_UNEXPAND is not set
-CONFIG_EXPR=y
-CONFIG_EXPR_MATH_SUPPORT_64=y
-# CONFIG_FACTOR is not set
-CONFIG_FALSE=y
-# CONFIG_FOLD is not set
-# CONFIG_HEAD is not set
-# CONFIG_FEATURE_FANCY_HEAD is not set
-# CONFIG_HOSTID is not set
-# CONFIG_ID is not set
-# CONFIG_GROUPS is not set
-# CONFIG_INSTALL is not set
-# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set
-# CONFIG_LINK is not set
-CONFIG_LN=y
-# CONFIG_LOGNAME is not set
-CONFIG_LS=y
-# CONFIG_FEATURE_LS_FILETYPES is not set
-CONFIG_FEATURE_LS_FOLLOWLINKS=y
-# CONFIG_FEATURE_LS_RECURSIVE is not set
-# CONFIG_FEATURE_LS_WIDTH is not set
-CONFIG_FEATURE_LS_SORTFILES=y
-# CONFIG_FEATURE_LS_TIMESTAMPS is not set
-# CONFIG_FEATURE_LS_USERNAME is not set
-# CONFIG_FEATURE_LS_COLOR is not set
-# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set
-# CONFIG_MD5SUM is not set
-# CONFIG_SHA1SUM is not set
-# CONFIG_SHA256SUM is not set
-# CONFIG_SHA512SUM is not set
-# CONFIG_SHA3SUM is not set
-# CONFIG_FEATURE_MD5_SHA1_SUM_CHECK is not set
-CONFIG_MKDIR=y
-CONFIG_MKFIFO=y
-CONFIG_MKNOD=y
-CONFIG_MKTEMP=y
-CONFIG_MV=y
-# CONFIG_NICE is not set
-# CONFIG_NL is not set
-# CONFIG_NOHUP is not set
-# CONFIG_NPROC is not set
-# CONFIG_OD is not set
-# CONFIG_PASTE is not set
-# CONFIG_PRINTENV is not set
-# CONFIG_PRINTF is not set
-CONFIG_PWD=y
-# CONFIG_READLINK is not set
-# CONFIG_FEATURE_READLINK_FOLLOW is not set
-# CONFIG_REALPATH is not set
-CONFIG_RM=y
-CONFIG_RMDIR=y
-CONFIG_SEQ=y
-# CONFIG_SHRED is not set
-# CONFIG_SHUF is not set
-CONFIG_SLEEP=y
-# CONFIG_FEATURE_FANCY_SLEEP is not set
-# CONFIG_SORT is not set
-# CONFIG_FEATURE_SORT_BIG is not set
-# CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY is not set
-# CONFIG_SPLIT is not set
-# CONFIG_FEATURE_SPLIT_FANCY is not set
-CONFIG_STAT=y
-CONFIG_FEATURE_STAT_FORMAT=y
-CONFIG_FEATURE_STAT_FILESYSTEM=y
-# CONFIG_STTY is not set
-# CONFIG_SUM is not set
-# CONFIG_SYNC is not set
-# CONFIG_FEATURE_SYNC_FANCY is not set
-# CONFIG_FSYNC is not set
-# CONFIG_TAC is not set
-# CONFIG_TAIL is not set
-# CONFIG_FEATURE_FANCY_TAIL is not set
-CONFIG_TEE=y
-# CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set
-# CONFIG_TEST is not set
-# CONFIG_TEST1 is not set
-# CONFIG_TEST2 is not set
-# CONFIG_FEATURE_TEST_64 is not set
-# CONFIG_TIMEOUT is not set
-# CONFIG_TOUCH is not set
-# CONFIG_FEATURE_TOUCH_NODEREF is not set
-# CONFIG_FEATURE_TOUCH_SUSV3 is not set
-# CONFIG_TR is not set
-# CONFIG_FEATURE_TR_CLASSES is not set
-# CONFIG_FEATURE_TR_EQUIV is not set
-CONFIG_TRUE=y
-# CONFIG_TRUNCATE is not set
-# CONFIG_TTY is not set
-# CONFIG_UNAME is not set
-CONFIG_UNAME_OSNAME=""
-# CONFIG_BB_ARCH is not set
-# CONFIG_UNIQ is not set
-# CONFIG_UNLINK is not set
-# CONFIG_USLEEP is not set
-# CONFIG_UUDECODE is not set
-# CONFIG_BASE64 is not set
-# CONFIG_UUENCODE is not set
-# CONFIG_WC is not set
-# CONFIG_FEATURE_WC_LARGE is not set
-# CONFIG_WHO is not set
-# CONFIG_W is not set
-# CONFIG_USERS is not set
-# CONFIG_WHOAMI is not set
-CONFIG_YES=y
-
-#
-# Common options
-#
-# CONFIG_FEATURE_VERBOSE is not set
-
-#
-# Common options for cp and mv
-#
-CONFIG_FEATURE_PRESERVE_HARDLINKS=y
-
-#
-# Common options for df, du, ls
-#
-# CONFIG_FEATURE_HUMAN_READABLE is not set
-
-#
-# Console Utilities
-#
-# CONFIG_CHVT is not set
-CONFIG_CLEAR=y
-# CONFIG_DEALLOCVT is not set
-# CONFIG_DUMPKMAP is not set
-# CONFIG_FGCONSOLE is not set
-# CONFIG_KBD_MODE is not set
-# CONFIG_LOADFONT is not set
-# CONFIG_SETFONT is not set
-# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set
-CONFIG_DEFAULT_SETFONT_DIR=""
-# CONFIG_FEATURE_LOADFONT_PSF2 is not set
-# CONFIG_FEATURE_LOADFONT_RAW is not set
-# CONFIG_LOADKMAP is not set
-# CONFIG_OPENVT is not set
-CONFIG_RESET=y
-# CONFIG_RESIZE is not set
-# CONFIG_FEATURE_RESIZE_PRINT is not set
-# CONFIG_SETCONSOLE is not set
-# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set
-# CONFIG_SETKEYCODES is not set
-# CONFIG_SETLOGCONS is not set
-# CONFIG_SHOWKEY is not set
-
-#
-# Debian Utilities
-#
-# CONFIG_PIPE_PROGRESS is not set
-# CONFIG_RUN_PARTS is not set
-# CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS is not set
-# CONFIG_FEATURE_RUN_PARTS_FANCY is not set
-# CONFIG_START_STOP_DAEMON is not set
-# CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS is not set
-# CONFIG_FEATURE_START_STOP_DAEMON_FANCY is not set
-CONFIG_WHICH=y
-
-#
-# klibc-utils
-#
-# CONFIG_MINIPS is not set
-# CONFIG_NUKE is not set
-# CONFIG_RESUME is not set
-# CONFIG_RUN_INIT is not set
-
-#
-# Editors
-#
-# CONFIG_AWK is not set
-# CONFIG_FEATURE_AWK_LIBM is not set
-# CONFIG_FEATURE_AWK_GNU_EXTENSIONS is not set
-# CONFIG_CMP is not set
-# CONFIG_DIFF is not set
-# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set
-# CONFIG_FEATURE_DIFF_DIR is not set
-# CONFIG_ED is not set
-# CONFIG_PATCH is not set
-CONFIG_SED=y
-# CONFIG_VI is not set
-CONFIG_FEATURE_VI_MAX_LEN=0
-# CONFIG_FEATURE_VI_8BIT is not set
-# CONFIG_FEATURE_VI_COLON is not set
-# CONFIG_FEATURE_VI_YANKMARK is not set
-# CONFIG_FEATURE_VI_SEARCH is not set
-# CONFIG_FEATURE_VI_REGEX_SEARCH is not set
-# CONFIG_FEATURE_VI_USE_SIGNALS is not set
-# CONFIG_FEATURE_VI_DOT_CMD is not set
-# CONFIG_FEATURE_VI_READONLY is not set
-# CONFIG_FEATURE_VI_SETOPTS is not set
-# CONFIG_FEATURE_VI_SET is not set
-# CONFIG_FEATURE_VI_WIN_RESIZE is not set
-# CONFIG_FEATURE_VI_ASK_TERMINAL is not set
-# CONFIG_FEATURE_VI_UNDO is not set
-# CONFIG_FEATURE_VI_UNDO_QUEUE is not set
-CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=0
-# CONFIG_FEATURE_ALLOW_EXEC is not set
-
-#
-# Finding Utilities
-#
-# CONFIG_FIND is not set
-# CONFIG_FEATURE_FIND_PRINT0 is not set
-# CONFIG_FEATURE_FIND_MTIME is not set
-# CONFIG_FEATURE_FIND_MMIN is not set
-# CONFIG_FEATURE_FIND_PERM is not set
-# CONFIG_FEATURE_FIND_TYPE is not set
-# CONFIG_FEATURE_FIND_EXECUTABLE is not set
-# CONFIG_FEATURE_FIND_XDEV is not set
-# CONFIG_FEATURE_FIND_MAXDEPTH is not set
-# CONFIG_FEATURE_FIND_NEWER is not set
-# CONFIG_FEATURE_FIND_INUM is not set
-# CONFIG_FEATURE_FIND_EXEC is not set
-# CONFIG_FEATURE_FIND_EXEC_PLUS is not set
-# CONFIG_FEATURE_FIND_USER is not set
-# CONFIG_FEATURE_FIND_GROUP is not set
-# CONFIG_FEATURE_FIND_NOT is not set
-# CONFIG_FEATURE_FIND_DEPTH is not set
-# CONFIG_FEATURE_FIND_PAREN is not set
-# CONFIG_FEATURE_FIND_SIZE is not set
-# CONFIG_FEATURE_FIND_PRUNE is not set
-# CONFIG_FEATURE_FIND_QUIT is not set
-# CONFIG_FEATURE_FIND_DELETE is not set
-# CONFIG_FEATURE_FIND_PATH is not set
-# CONFIG_FEATURE_FIND_REGEX is not set
-# CONFIG_FEATURE_FIND_CONTEXT is not set
-# CONFIG_FEATURE_FIND_LINKS is not set
-CONFIG_GREP=y
-# CONFIG_EGREP is not set
-# CONFIG_FGREP is not set
-# CONFIG_FEATURE_GREP_CONTEXT is not set
-# CONFIG_XARGS is not set
-# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
-# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
-# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
-# CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
-# CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR is not set
-# CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL is not set
-# CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE is not set
-
-#
-# Init Utilities
-#
-# CONFIG_BOOTCHARTD is not set
-# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set
-# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set
-# CONFIG_HALT is not set
-# CONFIG_POWEROFF is not set
-# CONFIG_REBOOT is not set
-# CONFIG_FEATURE_WAIT_FOR_INIT is not set
-# CONFIG_FEATURE_CALL_TELINIT is not set
-CONFIG_TELINIT_PATH=""
-CONFIG_INIT=y
-# CONFIG_LINUXRC is not set
-CONFIG_FEATURE_USE_INITTAB=y
-# CONFIG_FEATURE_KILL_REMOVED is not set
-CONFIG_FEATURE_KILL_DELAY=0
-# CONFIG_FEATURE_INIT_SCTTY is not set
-CONFIG_FEATURE_INIT_SYSLOG=y
-CONFIG_FEATURE_INIT_QUIET=y
-# CONFIG_FEATURE_INIT_COREDUMPS is not set
-CONFIG_INIT_TERMINAL_TYPE="linux"
-CONFIG_FEATURE_INIT_MODIFY_CMDLINE=y
-
-#
-# Login/Password Management Utilities
-#
-# CONFIG_FEATURE_SHADOWPASSWDS is not set
-# CONFIG_USE_BB_PWD_GRP is not set
-# CONFIG_USE_BB_SHADOW is not set
-CONFIG_USE_BB_CRYPT=y
-CONFIG_USE_BB_CRYPT_SHA=y
-# CONFIG_ADD_SHELL is not set
-# CONFIG_REMOVE_SHELL is not set
-# CONFIG_ADDGROUP is not set
-# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set
-# CONFIG_ADDUSER is not set
-# CONFIG_FEATURE_CHECK_NAMES is not set
-CONFIG_LAST_ID=0
-CONFIG_FIRST_SYSTEM_ID=0
-CONFIG_LAST_SYSTEM_ID=0
-# CONFIG_CHPASSWD is not set
-CONFIG_FEATURE_DEFAULT_PASSWD_ALGO=""
-# CONFIG_CRYPTPW is not set
-# CONFIG_MKPASSWD is not set
-# CONFIG_DELUSER is not set
-# CONFIG_DELGROUP is not set
-# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set
-CONFIG_GETTY=y
-CONFIG_LOGIN=y
-# CONFIG_LOGIN_SESSION_AS_CHILD is not set
-CONFIG_LOGIN_SCRIPTS=y
-# CONFIG_FEATURE_NOLOGIN is not set
-# CONFIG_FEATURE_SECURETTY is not set
-# CONFIG_PASSWD is not set
-# CONFIG_FEATURE_PASSWD_WEAK_CHECK is not set
-# CONFIG_SU is not set
-# CONFIG_FEATURE_SU_SYSLOG is not set
-# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set
-# CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY is not set
-# CONFIG_SULOGIN is not set
-# CONFIG_VLOCK is not set
-
-#
-# Linux Ext2 FS Progs
-#
-# CONFIG_CHATTR is not set
-# CONFIG_FSCK is not set
-# CONFIG_LSATTR is not set
-# CONFIG_TUNE2FS is not set
-
-#
-# Linux Module Utilities
-#
-CONFIG_MODPROBE_SMALL=y
-CONFIG_DEPMOD=y
-CONFIG_INSMOD=y
-CONFIG_LSMOD=y
-# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set
-CONFIG_MODINFO=y
-CONFIG_MODPROBE=y
-# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set
-CONFIG_RMMOD=y
-
-#
-# Options common to multiple modutils
-#
-CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS=y
-CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED=y
-# CONFIG_FEATURE_2_4_MODULES is not set
-# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
-# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
-# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
-# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
-# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set
-# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set
-# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set
-# CONFIG_FEATURE_MODUTILS_ALIAS is not set
-# CONFIG_FEATURE_MODUTILS_SYMBOLS is not set
-CONFIG_DEFAULT_MODULES_DIR="/lib/modules"
-CONFIG_DEFAULT_DEPMOD_FILE="modules.dep"
-
-#
-# Linux System Utilities
-#
-# CONFIG_ACPID is not set
-# CONFIG_FEATURE_ACPID_COMPAT is not set
-# CONFIG_BLKDISCARD is not set
-# CONFIG_BLKID is not set
-# CONFIG_FEATURE_BLKID_TYPE is not set
-# CONFIG_BLOCKDEV is not set
-# CONFIG_CAL is not set
-# CONFIG_CHRT is not set
-CONFIG_DMESG=y
-CONFIG_FEATURE_DMESG_PRETTY=y
-# CONFIG_EJECT is not set
-# CONFIG_FEATURE_EJECT_SCSI is not set
-# CONFIG_FALLOCATE is not set
-# CONFIG_FATATTR is not set
-# CONFIG_FBSET is not set
-# CONFIG_FEATURE_FBSET_FANCY is not set
-# CONFIG_FEATURE_FBSET_READMODE is not set
-# CONFIG_FDFORMAT is not set
-# CONFIG_FDISK is not set
-# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set
-# CONFIG_FEATURE_FDISK_WRITABLE is not set
-# CONFIG_FEATURE_AIX_LABEL is not set
-# CONFIG_FEATURE_SGI_LABEL is not set
-# CONFIG_FEATURE_SUN_LABEL is not set
-# CONFIG_FEATURE_OSF_LABEL is not set
-# CONFIG_FEATURE_GPT_LABEL is not set
-# CONFIG_FEATURE_FDISK_ADVANCED is not set
-# CONFIG_FINDFS is not set
-# CONFIG_FLOCK is not set
-# CONFIG_FDFLUSH is not set
-# CONFIG_FREERAMDISK is not set
-# CONFIG_FSCK_MINIX is not set
-# CONFIG_FSFREEZE is not set
-# CONFIG_FSTRIM is not set
-CONFIG_GETOPT=y
-CONFIG_FEATURE_GETOPT_LONG=y
-# CONFIG_HEXDUMP is not set
-# CONFIG_FEATURE_HEXDUMP_REVERSE is not set
-# CONFIG_HD is not set
-# CONFIG_XXD is not set
-# CONFIG_HWCLOCK is not set
-# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set
-# CONFIG_IONICE is not set
-# CONFIG_IPCRM is not set
-# CONFIG_IPCS is not set
-# CONFIG_LAST is not set
-# CONFIG_FEATURE_LAST_FANCY is not set
-# CONFIG_LOSETUP is not set
-# CONFIG_LSPCI is not set
-CONFIG_LSUSB=y
-# CONFIG_MDEV is not set
-# CONFIG_FEATURE_MDEV_CONF is not set
-# CONFIG_FEATURE_MDEV_RENAME is not set
-# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set
-# CONFIG_FEATURE_MDEV_EXEC is not set
-# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set
-# CONFIG_FEATURE_MDEV_DAEMON is not set
-# CONFIG_MESG is not set
-# CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP is not set
-# CONFIG_MKE2FS is not set
-# CONFIG_MKFS_EXT2 is not set
-# CONFIG_MKFS_MINIX is not set
-# CONFIG_FEATURE_MINIX2 is not set
-# CONFIG_MKFS_REISER is not set
-# CONFIG_MKDOSFS is not set
-# CONFIG_MKFS_VFAT is not set
-# CONFIG_MKSWAP is not set
-# CONFIG_FEATURE_MKSWAP_UUID is not set
-CONFIG_MORE=y
-CONFIG_MOUNT=y
-# CONFIG_FEATURE_MOUNT_FAKE is not set
-# CONFIG_FEATURE_MOUNT_VERBOSE is not set
-# CONFIG_FEATURE_MOUNT_HELPERS is not set
-CONFIG_FEATURE_MOUNT_LABEL=y
-# CONFIG_FEATURE_MOUNT_NFS is not set
-# CONFIG_FEATURE_MOUNT_CIFS is not set
-CONFIG_FEATURE_MOUNT_FLAGS=y
-CONFIG_FEATURE_MOUNT_FSTAB=y
-# CONFIG_FEATURE_MOUNT_OTHERTAB is not set
-# CONFIG_MOUNTPOINT is not set
-# CONFIG_NOLOGIN is not set
-# CONFIG_NOLOGIN_DEPENDENCIES is not set
-# CONFIG_NSENTER is not set
-# CONFIG_PIVOT_ROOT is not set
-# CONFIG_RDATE is not set
-# CONFIG_RDEV is not set
-# CONFIG_READPROFILE is not set
-# CONFIG_RENICE is not set
-# CONFIG_REV is not set
-# CONFIG_RTCWAKE is not set
-# CONFIG_SCRIPT is not set
-# CONFIG_SCRIPTREPLAY is not set
-# CONFIG_SETARCH is not set
-# CONFIG_LINUX32 is not set
-# CONFIG_LINUX64 is not set
-# CONFIG_SETPRIV is not set
-# CONFIG_FEATURE_SETPRIV_DUMP is not set
-# CONFIG_FEATURE_SETPRIV_CAPABILITIES is not set
-# CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES is not set
-# CONFIG_SETSID is not set
-# CONFIG_SWAPON is not set
-# CONFIG_FEATURE_SWAPON_DISCARD is not set
-# CONFIG_FEATURE_SWAPON_PRI is not set
-# CONFIG_SWAPOFF is not set
-# CONFIG_FEATURE_SWAPONOFF_LABEL is not set
-# CONFIG_SWITCH_ROOT is not set
-# CONFIG_TASKSET is not set
-# CONFIG_FEATURE_TASKSET_FANCY is not set
-# CONFIG_UEVENT is not set
-# CONFIG_UMOUNT is not set
-# CONFIG_FEATURE_UMOUNT_ALL is not set
-# CONFIG_UNSHARE is not set
-# CONFIG_WALL is not set
-
-#
-# Common options for mount/umount
-#
-# CONFIG_FEATURE_MOUNT_LOOP is not set
-# CONFIG_FEATURE_MOUNT_LOOP_CREATE is not set
-# CONFIG_FEATURE_MTAB_SUPPORT is not set
-CONFIG_VOLUMEID=y
-
-#
-# Filesystem/Volume identification
-#
-# CONFIG_FEATURE_VOLUMEID_BCACHE is not set
-# CONFIG_FEATURE_VOLUMEID_BTRFS is not set
-# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set
-# CONFIG_FEATURE_VOLUMEID_EXFAT is not set
-CONFIG_FEATURE_VOLUMEID_EXT=y
-CONFIG_FEATURE_VOLUMEID_F2FS=y
-# CONFIG_FEATURE_VOLUMEID_FAT is not set
-# CONFIG_FEATURE_VOLUMEID_HFS is not set
-# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set
-# CONFIG_FEATURE_VOLUMEID_JFS is not set
-# CONFIG_FEATURE_VOLUMEID_LFS is not set
-# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set
-# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set
-# CONFIG_FEATURE_VOLUMEID_LUKS is not set
-# CONFIG_FEATURE_VOLUMEID_MINIX is not set
-# CONFIG_FEATURE_VOLUMEID_NILFS is not set
-# CONFIG_FEATURE_VOLUMEID_NTFS is not set
-# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set
-# CONFIG_FEATURE_VOLUMEID_REISERFS is not set
-# CONFIG_FEATURE_VOLUMEID_ROMFS is not set
-# CONFIG_FEATURE_VOLUMEID_SQUASHFS is not set
-# CONFIG_FEATURE_VOLUMEID_SYSV is not set
-# CONFIG_FEATURE_VOLUMEID_UBIFS is not set
-# CONFIG_FEATURE_VOLUMEID_UDF is not set
-# CONFIG_FEATURE_VOLUMEID_XFS is not set
-
-#
-# Miscellaneous Utilities
-#
-# CONFIG_ADJTIMEX is not set
-# CONFIG_BBCONFIG is not set
-# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set
-CONFIG_BC=y
-# CONFIG_DC is not set
-CONFIG_FEATURE_DC_BIG=y
-# CONFIG_FEATURE_DC_LIBM is not set
-# CONFIG_FEATURE_BC_INTERACTIVE is not set
-# CONFIG_FEATURE_BC_LONG_OPTIONS is not set
-# CONFIG_BEEP is not set
-CONFIG_FEATURE_BEEP_FREQ=0
-CONFIG_FEATURE_BEEP_LENGTH_MS=0
-# CONFIG_CHAT is not set
-# CONFIG_FEATURE_CHAT_NOFAIL is not set
-# CONFIG_FEATURE_CHAT_TTY_HIFI is not set
-# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set
-# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set
-# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set
-# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set
-# CONFIG_FEATURE_CHAT_CLR_ABORT is not set
-# CONFIG_CONSPY is not set
-# CONFIG_CROND is not set
-# CONFIG_FEATURE_CROND_D is not set
-# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
-# CONFIG_FEATURE_CROND_SPECIAL_TIMES is not set
-CONFIG_FEATURE_CROND_DIR=""
-# CONFIG_CRONTAB is not set
-# CONFIG_DEVFSD is not set
-# CONFIG_DEVFSD_MODLOAD is not set
-# CONFIG_DEVFSD_FG_NP is not set
-# CONFIG_DEVFSD_VERBOSE is not set
-# CONFIG_FEATURE_DEVFS is not set
-# CONFIG_DEVMEM is not set
-# CONFIG_FBSPLASH is not set
-# CONFIG_FLASH_ERASEALL is not set
-# CONFIG_FLASH_LOCK is not set
-# CONFIG_FLASH_UNLOCK is not set
-# CONFIG_FLASHCP is not set
-# CONFIG_HDPARM is not set
-# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set
-# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
-# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set
-# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set
-# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set
-# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set
-# CONFIG_HEXEDIT is not set
-CONFIG_I2CGET=y
-CONFIG_I2CSET=y
-CONFIG_I2CDUMP=y
-CONFIG_I2CDETECT=y
-CONFIG_I2CTRANSFER=y
-# CONFIG_INOTIFYD is not set
-# CONFIG_LESS is not set
-CONFIG_FEATURE_LESS_MAXLINES=0
-# CONFIG_FEATURE_LESS_BRACKETS is not set
-# CONFIG_FEATURE_LESS_FLAGS is not set
-# CONFIG_FEATURE_LESS_TRUNCATE is not set
-# CONFIG_FEATURE_LESS_MARKS is not set
-# CONFIG_FEATURE_LESS_REGEXP is not set
-# CONFIG_FEATURE_LESS_WINCH is not set
-# CONFIG_FEATURE_LESS_ASK_TERMINAL is not set
-# CONFIG_FEATURE_LESS_DASHCMD is not set
-# CONFIG_FEATURE_LESS_LINENUMS is not set
-# CONFIG_FEATURE_LESS_RAW is not set
-# CONFIG_FEATURE_LESS_ENV is not set
-# CONFIG_LSSCSI is not set
-# CONFIG_MAKEDEVS is not set
-# CONFIG_FEATURE_MAKEDEVS_LEAF is not set
-# CONFIG_FEATURE_MAKEDEVS_TABLE is not set
-# CONFIG_MAN is not set
-# CONFIG_MICROCOM is not set
-# CONFIG_MT is not set
-# CONFIG_NANDWRITE is not set
-# CONFIG_NANDDUMP is not set
-# CONFIG_PARTPROBE is not set
-# CONFIG_RAIDAUTORUN is not set
-# CONFIG_READAHEAD is not set
-# CONFIG_RFKILL is not set
-# CONFIG_RUNLEVEL is not set
-# CONFIG_RX is not set
-# CONFIG_SETFATTR is not set
-# CONFIG_SETSERIAL is not set
-# CONFIG_STRINGS is not set
-# CONFIG_TIME is not set
-# CONFIG_TS is not set
-# CONFIG_TTYSIZE is not set
-# CONFIG_UBIATTACH is not set
-# CONFIG_UBIDETACH is not set
-# CONFIG_UBIMKVOL is not set
-# CONFIG_UBIRMVOL is not set
-# CONFIG_UBIRSVOL is not set
-# CONFIG_UBIUPDATEVOL is not set
-# CONFIG_UBIRENAME is not set
-# CONFIG_VOLNAME is not set
-# CONFIG_WATCHDOG is not set
-
-#
-# Networking Utilities
-#
-# CONFIG_FEATURE_IPV6 is not set
-# CONFIG_FEATURE_UNIX_LOCAL is not set
-# CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set
-# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set
-# CONFIG_FEATURE_TLS_SHA1 is not set
-# CONFIG_ARP is not set
-# CONFIG_ARPING is not set
-# CONFIG_BRCTL is not set
-# CONFIG_FEATURE_BRCTL_FANCY is not set
-# CONFIG_FEATURE_BRCTL_SHOW is not set
-# CONFIG_DNSD is not set
-# CONFIG_ETHER_WAKE is not set
-# CONFIG_FTPD is not set
-# CONFIG_FEATURE_FTPD_WRITE is not set
-# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set
-# CONFIG_FEATURE_FTPD_AUTHENTICATION is not set
-# CONFIG_FTPGET is not set
-# CONFIG_FTPPUT is not set
-# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
-CONFIG_HOSTNAME=y
-# CONFIG_DNSDOMAINNAME is not set
-# CONFIG_HTTPD is not set
-# CONFIG_FEATURE_HTTPD_RANGES is not set
-# CONFIG_FEATURE_HTTPD_SETUID is not set
-# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
-# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
-# CONFIG_FEATURE_HTTPD_CGI is not set
-# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set
-# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set
-# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set
-# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set
-# CONFIG_FEATURE_HTTPD_PROXY is not set
-# CONFIG_FEATURE_HTTPD_GZIP is not set
-# CONFIG_IFCONFIG is not set
-# CONFIG_FEATURE_IFCONFIG_STATUS is not set
-# CONFIG_FEATURE_IFCONFIG_SLIP is not set
-# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
-# CONFIG_FEATURE_IFCONFIG_HW is not set
-# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
-# CONFIG_IFENSLAVE is not set
-# CONFIG_IFPLUGD is not set
-# CONFIG_IFUP is not set
-# CONFIG_IFDOWN is not set
-CONFIG_IFUPDOWN_IFSTATE_PATH=""
-# CONFIG_FEATURE_IFUPDOWN_IP is not set
-# CONFIG_FEATURE_IFUPDOWN_IPV4 is not set
-# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
-# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
-# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set
-# CONFIG_INETD is not set
-# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set
-# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set
-# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set
-# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set
-# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set
-# CONFIG_FEATURE_INETD_RPC is not set
-# CONFIG_IP is not set
-# CONFIG_IPADDR is not set
-# CONFIG_IPLINK is not set
-# CONFIG_IPROUTE is not set
-# CONFIG_IPTUNNEL is not set
-# CONFIG_IPRULE is not set
-# CONFIG_IPNEIGH is not set
-# CONFIG_FEATURE_IP_ADDRESS is not set
-# CONFIG_FEATURE_IP_LINK is not set
-# CONFIG_FEATURE_IP_ROUTE is not set
-CONFIG_FEATURE_IP_ROUTE_DIR=""
-# CONFIG_FEATURE_IP_TUNNEL is not set
-# CONFIG_FEATURE_IP_RULE is not set
-# CONFIG_FEATURE_IP_NEIGH is not set
-# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set
-# CONFIG_IPCALC is not set
-# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
-# CONFIG_FEATURE_IPCALC_FANCY is not set
-# CONFIG_FAKEIDENTD is not set
-# CONFIG_NAMEIF is not set
-# CONFIG_FEATURE_NAMEIF_EXTENDED is not set
-# CONFIG_NBDCLIENT is not set
-# CONFIG_NC is not set
-# CONFIG_NETCAT is not set
-# CONFIG_NC_SERVER is not set
-# CONFIG_NC_EXTRA is not set
-# CONFIG_NC_110_COMPAT is not set
-# CONFIG_NETSTAT is not set
-# CONFIG_FEATURE_NETSTAT_WIDE is not set
-# CONFIG_FEATURE_NETSTAT_PRG is not set
-# CONFIG_NSLOOKUP is not set
-# CONFIG_FEATURE_NSLOOKUP_BIG is not set
-# CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS is not set
-# CONFIG_NTPD is not set
-# CONFIG_FEATURE_NTPD_SERVER is not set
-# CONFIG_FEATURE_NTPD_CONF is not set
-# CONFIG_FEATURE_NTP_AUTH is not set
-# CONFIG_PING is not set
-# CONFIG_PING6 is not set
-# CONFIG_FEATURE_FANCY_PING is not set
-# CONFIG_PSCAN is not set
-# CONFIG_ROUTE is not set
-# CONFIG_SLATTACH is not set
-# CONFIG_SSL_CLIENT is not set
-# CONFIG_TC is not set
-# CONFIG_FEATURE_TC_INGRESS is not set
-# CONFIG_TCPSVD is not set
-# CONFIG_UDPSVD is not set
-# CONFIG_TELNET is not set
-# CONFIG_FEATURE_TELNET_TTYPE is not set
-# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
-# CONFIG_FEATURE_TELNET_WIDTH is not set
-# CONFIG_TELNETD is not set
-# CONFIG_FEATURE_TELNETD_STANDALONE is not set
-# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set
-# CONFIG_TFTP is not set
-# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set
-# CONFIG_FEATURE_TFTP_HPA_COMPAT is not set
-# CONFIG_TFTPD is not set
-# CONFIG_FEATURE_TFTP_GET is not set
-# CONFIG_FEATURE_TFTP_PUT is not set
-# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
-# CONFIG_TFTP_DEBUG is not set
-# CONFIG_TLS is not set
-# CONFIG_TRACEROUTE is not set
-# CONFIG_TRACEROUTE6 is not set
-# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
-# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
-# CONFIG_TUNCTL is not set
-# CONFIG_FEATURE_TUNCTL_UG is not set
-# CONFIG_VCONFIG is not set
-# CONFIG_WGET is not set
-# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set
-# CONFIG_FEATURE_WGET_STATUSBAR is not set
-# CONFIG_FEATURE_WGET_AUTHENTICATION is not set
-# CONFIG_FEATURE_WGET_TIMEOUT is not set
-# CONFIG_FEATURE_WGET_HTTPS is not set
-# CONFIG_FEATURE_WGET_OPENSSL is not set
-# CONFIG_WHOIS is not set
-# CONFIG_ZCIP is not set
-# CONFIG_UDHCPD is not set
-# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set
-# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set
-CONFIG_DHCPD_LEASES_FILE=""
-# CONFIG_DUMPLEASES is not set
-# CONFIG_DHCPRELAY is not set
-# CONFIG_UDHCPC is not set
-# CONFIG_FEATURE_UDHCPC_ARPING is not set
-# CONFIG_FEATURE_UDHCPC_SANITIZEOPT is not set
-CONFIG_UDHCPC_DEFAULT_SCRIPT=""
-# CONFIG_UDHCPC6 is not set
-# CONFIG_FEATURE_UDHCPC6_RFC3646 is not set
-# CONFIG_FEATURE_UDHCPC6_RFC4704 is not set
-# CONFIG_FEATURE_UDHCPC6_RFC4833 is not set
-# CONFIG_FEATURE_UDHCPC6_RFC5970 is not set
-# CONFIG_FEATURE_UDHCP_PORT is not set
-CONFIG_UDHCP_DEBUG=0
-CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0
-# CONFIG_FEATURE_UDHCP_RFC3397 is not set
-# CONFIG_FEATURE_UDHCP_8021Q is not set
-CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS=""
-
-#
-# Print Utilities
-#
-# CONFIG_LPD is not set
-# CONFIG_LPR is not set
-# CONFIG_LPQ is not set
-
-#
-# Mail Utilities
-#
-# CONFIG_MAKEMIME is not set
-# CONFIG_POPMAILDIR is not set
-# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set
-# CONFIG_REFORMIME is not set
-# CONFIG_FEATURE_REFORMIME_COMPAT is not set
-# CONFIG_SENDMAIL is not set
-CONFIG_FEATURE_MIME_CHARSET=""
-
-#
-# Process Utilities
-#
-# CONFIG_FREE is not set
-# CONFIG_FUSER is not set
-# CONFIG_IOSTAT is not set
-# CONFIG_KILL is not set
-# CONFIG_KILLALL is not set
-# CONFIG_KILLALL5 is not set
-# CONFIG_LSOF is not set
-# CONFIG_MPSTAT is not set
-# CONFIG_NMETER is not set
-# CONFIG_PGREP is not set
-# CONFIG_PKILL is not set
-# CONFIG_PIDOF is not set
-# CONFIG_FEATURE_PIDOF_SINGLE is not set
-# CONFIG_FEATURE_PIDOF_OMIT is not set
-# CONFIG_PMAP is not set
-# CONFIG_POWERTOP is not set
-# CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set
-# CONFIG_PS is not set
-# CONFIG_FEATURE_PS_WIDE is not set
-# CONFIG_FEATURE_PS_LONG is not set
-# CONFIG_FEATURE_PS_TIME is not set
-# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set
-# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set
-# CONFIG_PSTREE is not set
-# CONFIG_PWDX is not set
-# CONFIG_SMEMCAP is not set
-# CONFIG_BB_SYSCTL is not set
-# CONFIG_TOP is not set
-# CONFIG_FEATURE_TOP_INTERACTIVE is not set
-# CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE is not set
-# CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS is not set
-# CONFIG_FEATURE_TOP_SMP_CPU is not set
-# CONFIG_FEATURE_TOP_DECIMALS is not set
-# CONFIG_FEATURE_TOP_SMP_PROCESS is not set
-# CONFIG_FEATURE_TOPMEM is not set
-# CONFIG_UPTIME is not set
-# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set
-# CONFIG_WATCH is not set
-# CONFIG_FEATURE_SHOW_THREADS is not set
-
-#
-# Runit Utilities
-#
-# CONFIG_CHPST is not set
-# CONFIG_SETUIDGID is not set
-# CONFIG_ENVUIDGID is not set
-# CONFIG_ENVDIR is not set
-# CONFIG_SOFTLIMIT is not set
-# CONFIG_RUNSV is not set
-# CONFIG_RUNSVDIR is not set
-# CONFIG_FEATURE_RUNSVDIR_LOG is not set
-# CONFIG_SV is not set
-CONFIG_SV_DEFAULT_SERVICE_DIR=""
-# CONFIG_SVC is not set
-# CONFIG_SVOK is not set
-# CONFIG_SVLOGD is not set
-# CONFIG_CHCON is not set
-# CONFIG_GETENFORCE is not set
-# CONFIG_GETSEBOOL is not set
-# CONFIG_LOAD_POLICY is not set
-# CONFIG_MATCHPATHCON is not set
-# CONFIG_RUNCON is not set
-# CONFIG_SELINUXENABLED is not set
-# CONFIG_SESTATUS is not set
-# CONFIG_SETENFORCE is not set
-# CONFIG_SETFILES is not set
-# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set
-# CONFIG_RESTORECON is not set
-# CONFIG_SETSEBOOL is not set
-
-#
-# Shells
-#
-CONFIG_SH_IS_ASH=y
-# CONFIG_SH_IS_HUSH is not set
-# CONFIG_SH_IS_NONE is not set
-# CONFIG_BASH_IS_ASH is not set
-# CONFIG_BASH_IS_HUSH is not set
-CONFIG_BASH_IS_NONE=y
-CONFIG_ASH=y
-CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
-CONFIG_ASH_INTERNAL_GLOB=y
-CONFIG_ASH_BASH_COMPAT=y
-# CONFIG_ASH_BASH_SOURCE_CURDIR is not set
-CONFIG_ASH_BASH_NOT_FOUND_HOOK=y
-# CONFIG_ASH_JOB_CONTROL is not set
-# CONFIG_ASH_ALIAS is not set
-# CONFIG_ASH_RANDOM_SUPPORT is not set
-# CONFIG_ASH_EXPAND_PRMT is not set
-# CONFIG_ASH_IDLE_TIMEOUT is not set
-# CONFIG_ASH_MAIL is not set
-CONFIG_ASH_ECHO=y
-CONFIG_ASH_PRINTF=y
-CONFIG_ASH_TEST=y
-# CONFIG_ASH_HELP is not set
-CONFIG_ASH_GETOPTS=y
-CONFIG_ASH_CMDCMD=y
-# CONFIG_CTTYHACK is not set
-# CONFIG_HUSH is not set
-# CONFIG_HUSH_BASH_COMPAT is not set
-# CONFIG_HUSH_BRACE_EXPANSION is not set
-# CONFIG_HUSH_LINENO_VAR is not set
-# CONFIG_HUSH_BASH_SOURCE_CURDIR is not set
-# CONFIG_HUSH_INTERACTIVE is not set
-# CONFIG_HUSH_SAVEHISTORY is not set
-# CONFIG_HUSH_JOB is not set
-# CONFIG_HUSH_TICK is not set
-# CONFIG_HUSH_IF is not set
-# CONFIG_HUSH_LOOPS is not set
-# CONFIG_HUSH_CASE is not set
-# CONFIG_HUSH_FUNCTIONS is not set
-# CONFIG_HUSH_LOCAL is not set
-# CONFIG_HUSH_RANDOM_SUPPORT is not set
-# CONFIG_HUSH_MODE_X is not set
-# CONFIG_HUSH_ECHO is not set
-# CONFIG_HUSH_PRINTF is not set
-# CONFIG_HUSH_TEST is not set
-# CONFIG_HUSH_HELP is not set
-# CONFIG_HUSH_EXPORT is not set
-# CONFIG_HUSH_EXPORT_N is not set
-# CONFIG_HUSH_READONLY is not set
-# CONFIG_HUSH_KILL is not set
-# CONFIG_HUSH_WAIT is not set
-# CONFIG_HUSH_COMMAND is not set
-# CONFIG_HUSH_TRAP is not set
-# CONFIG_HUSH_TYPE is not set
-# CONFIG_HUSH_TIMES is not set
-# CONFIG_HUSH_READ is not set
-# CONFIG_HUSH_SET is not set
-# CONFIG_HUSH_UNSET is not set
-# CONFIG_HUSH_ULIMIT is not set
-# CONFIG_HUSH_UMASK is not set
-# CONFIG_HUSH_GETOPTS is not set
-# CONFIG_HUSH_MEMLEAK is not set
-
-#
-# Options common to all shells
-#
-CONFIG_FEATURE_SH_MATH=y
-# CONFIG_FEATURE_SH_MATH_64 is not set
-# CONFIG_FEATURE_SH_MATH_BASE is not set
-CONFIG_FEATURE_SH_EXTRA_QUIET=y
-# CONFIG_FEATURE_SH_STANDALONE is not set
-# CONFIG_FEATURE_SH_NOFORK is not set
-# CONFIG_FEATURE_SH_READ_FRAC is not set
-CONFIG_FEATURE_SH_HISTFILESIZE=y
-CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS=y
-
-#
-# System Logging Utilities
-#
-# CONFIG_KLOGD is not set
-# CONFIG_FEATURE_KLOGD_KLOGCTL is not set
-# CONFIG_LOGGER is not set
-# CONFIG_LOGREAD is not set
-# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
-# CONFIG_SYSLOGD is not set
-# CONFIG_FEATURE_ROTATE_LOGFILE is not set
-# CONFIG_FEATURE_REMOTE_LOG is not set
-# CONFIG_FEATURE_SYSLOGD_DUP is not set
-# CONFIG_FEATURE_SYSLOGD_CFG is not set
-CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0
-# CONFIG_FEATURE_IPC_SYSLOG is not set
-CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0
-# CONFIG_FEATURE_KMSG_SYSLOG is not set

+ 0 - 0
PCBA/board/funkey/device_table.txt


+ 0 - 94
PCBA/board/funkey/linux.config

@@ -1,94 +0,0 @@
-CONFIG_LOCALVERSION="-funkey"
-CONFIG_KERNEL_LZMA=y
-CONFIG_DEFAULT_HOSTNAME="funkey"
-CONFIG_NO_HZ=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_LOG_BUF_SHIFT=16
-CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=12
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio"
-# CONFIG_RD_GZIP is not set
-# CONFIG_RD_BZIP2 is not set
-# CONFIG_RD_XZ is not set
-# CONFIG_RD_LZO is not set
-# CONFIG_RD_LZ4 is not set
-CONFIG_EMBEDDED=y
-CONFIG_PERF_EVENTS=y
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-# CONFIG_LBDAF is not set
-# CONFIG_BLK_DEV_BSG is not set
-CONFIG_ARCH_SUNXI=y
-# CONFIG_MACH_SUN4I is not set
-# CONFIG_MACH_SUN5I is not set
-# CONFIG_MACH_SUN6I is not set
-# CONFIG_MACH_SUN7I is not set
-# CONFIG_MACH_SUN9I is not set
-CONFIG_SMP=y
-CONFIG_HAVE_ARM_ARCH_TIMER=y
-CONFIG_ARM_PSCI=y
-CONFIG_HIGHMEM=y
-CONFIG_VFP=y
-CONFIG_NEON=y
-# CONFIG_COREDUMP is not set
-# CONFIG_SUSPEND is not set
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-# CONFIG_ALLOW_DEV_COREDUMP is not set
-# CONFIG_SUNXI_RSB is not set
-CONFIG_INPUT_POLLDEV=y
-CONFIG_INPUT_EVDEV=y
-# CONFIG_INPUT_KEYBOARD is not set
-# CONFIG_INPUT_MOUSE is not set
-CONFIG_INPUT_MISC=y
-CONFIG_INPUT_UINPUT=y
-# CONFIG_CONSOLE_TRANSLATIONS is not set
-# CONFIG_VT_CONSOLE is not set
-CONFIG_LEGACY_PTY_COUNT=4
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-CONFIG_SERIAL_8250_NR_UARTS=8
-CONFIG_SERIAL_8250_RUNTIME_UARTS=8
-CONFIG_SERIAL_8250_DW=y
-CONFIG_SERIAL_OF_PLATFORM=y
-# CONFIG_HW_RANDOM is not set
-CONFIG_I2C=m
-CONFIG_I2C_CHARDEV=m
-CONFIG_I2C_MV64XXX=m
-CONFIG_GPIO_SYSFS=y
-# CONFIG_HWMON is not set
-CONFIG_MFD_SYSCON=y
-# CONFIG_RC_CORE is not set
-CONFIG_FB=y
-CONFIG_FB_SIMPLE=y
-CONFIG_SOUND=y
-CONFIG_SND=y
-# CONFIG_SND_DRIVERS is not set
-CONFIG_SND_SOC=y
-CONFIG_SND_SUN4I_CODEC=y
-CONFIG_SND_SUN8I_CODEC_ANALOG=y
-# CONFIG_HID is not set
-# CONFIG_USB_SUPPORT is not set
-CONFIG_DMADEVICES=y
-CONFIG_DMA_SUN6I=y
-CONFIG_SYNC_FILE=y
-# CONFIG_SUN8I_A23_CCU is not set
-# CONFIG_SUN8I_A33_CCU is not set
-# CONFIG_SUN8I_H3_CCU is not set
-CONFIG_SUN8I_DE2_CCU=y
-# CONFIG_IOMMU_SUPPORT is not set
-CONFIG_NVMEM=y
-CONFIG_NVMEM_SUNXI_SID=y
-# CONFIG_DNOTIFY is not set
-# CONFIG_INOTIFY_USER is not set
-CONFIG_AUTOFS4_FS=y
-CONFIG_TMPFS=y
-CONFIG_CONFIGFS_FS=y
-# CONFIG_MISC_FILESYSTEMS is not set
-CONFIG_PRINTK_TIME=y
-# CONFIG_SCHED_DEBUG is not set
-# CONFIG_DEBUG_BUGVERBOSE is not set
-# CONFIG_RCU_TRACE is not set
-# CONFIG_FTRACE is not set
-# CONFIG_ARM_UNWIND is not set
-CONFIG_KEYS=y

+ 0 - 4
PCBA/board/funkey/local.mk

@@ -1,4 +0,0 @@
-RETROFE_OVERRIDE_SRCDIR = ../funkey_retrofe
-RETROFE_LAYOUT_OVERRIDE_SRCDIR = ../funkey_retrofe_layout_240x240
-SDL_OVERRIDE_SRCDIR = ../funkey_sdl1.2
-FUNKEY_GPIO_MAPPING_OVERRIDE_SRCDIR = ../funkey-gpio-mapping

+ 0 - 14
PCBA/board/funkey/patches/busybox/0001-silent-root-login.patch

@@ -1,14 +0,0 @@
-diff -Naur busybox-1.31.1.orig/loginutils/login.c busybox-1.31.1/loginutils/login.c
---- busybox-1.31.1.orig/loginutils/login.c	2019-06-10 12:50:53.000000000 +0200
-+++ busybox-1.31.1/loginutils/login.c	2020-07-29 09:13:34.428911641 +0200
-@@ -570,8 +570,8 @@
- 	if (access(".hushlogin", F_OK) != 0)
- 		motd();
- 
--	if (pw->pw_uid == 0)
--		syslog(LOG_INFO, "root login%s", fromhost);
-+	// if (pw->pw_uid == 0)
-+	// 	syslog(LOG_INFO, "root login%s", fromhost);
- 
- 	if (ENABLE_FEATURE_CLEAN_UP)
- 		free(fromhost);

+ 0 - 195
PCBA/board/funkey/patches/linux/0003-add-funkey-dts.patch

@@ -1,195 +0,0 @@
---- /dev/null	2019-05-04 09:53:55.553276856 +0200
-+++ a/arch/arm/boot/dts/sun8i-v3s-funkey.dts	2019-05-04 20:06:53.118696800 +0200
-@@ -0,0 +1,192 @@
-+/*
-+ * Copyright (C) 2019 Michel Stempin <michel.stempin@wanadoo.fr>
-+ *
-+ * This file is dual-licensed: you can use it either under the terms
-+ * of the GPL or the X11 license, at your option. Note that this dual
-+ * licensing only applies to this file, and not this project as a
-+ * whole.
-+ *
-+ *  a) This file is free software; you can redistribute it and/or
-+ *     modify it under the terms of the GNU General Public License as
-+ *     published by the Free Software Foundation; either version 2 of the
-+ *     License, or (at your option) any later version.
-+ *
-+ *     This file is distributed in the hope that it will be useful,
-+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+ *     GNU General Public License for more details.
-+ *
-+ * Or, alternatively,
-+ *
-+ *  b) Permission is hereby granted, free of charge, to any person
-+ *     obtaining a copy of this software and associated documentation
-+ *     files (the "Software"), to deal in the Software without
-+ *     restriction, including without limitation the rights to use,
-+ *     copy, modify, merge, publish, distribute, sublicense, and/or
-+ *     sell copies of the Software, and to permit persons to whom the
-+ *     Software is furnished to do so, subject to the following
-+ *     conditions:
-+ *
-+ *     The above copyright notice and this permission notice shall be
-+ *     included in all copies or substantial portions of the Software.
-+ *
-+ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-+ *     OTHER DEALINGS IN THE SOFTWARE.
-+ */
-+
-+/dts-v1/;
-+#include "sun8i-v3s.dtsi"
-+#include "sunxi-common-regulators.dtsi"
-+
-+/ {
-+	model = "FunKey";
-+	compatible = "funkey", "allwinner,sun8i-v3s";
-+
-+	aliases {
-+		serial0 = &uart0;
-+	};
-+
-+	chosen {
-+		stdout-path = "serial0:115200n8";
-+	};
-+
-+	backlight: backlight {
-+		compatible = "pwm-backlight";
-+		pwms = <&pwm 0 100000 1>;
-+		brightness-levels = <0 1 2 3 8 14 21 32 46 60 80 100>; //2.2 div factor
-+		default-brightness-level = <11>;
-+		power-supply = <&reg_vcc5v0>;
-+	};
-+};
-+
-+&codec {
-+	allwinner,audio-routing =
-+		"Headphone", "HP",
-+		"Headphone", "HPCOM",
-+		"MIC1", "Mic",
-+		"Mic",  "HBIAS";
-+	status = "okay";
-+};
-+
-+&ehci0 {
-+	status = "okay";
-+};
-+
-+&i2c0 {
-+	status = "okay";
-+
-+	/* axp209: pmic@34 {
-+		compatible = "x-powers,axp209";
-+		reg = <0x34>;
-+		interrupts = <0>;
-+		interrupt-controller;
-+		#interrupt-cells = <1>;
-+	}; */
-+};
-+
-+&mmc0 {
-+	pinctrl-0 = <&mmc0_pins_a>;
-+	pinctrl-names = "default";
-+	broken-cd;
-+	bus-width = <4>;
-+	vmmc-supply = <&reg_vcc3v3>;
-+	vqmmc-supply = <&reg_vcc3v3>;
-+	status = "okay";
-+};
-+
-+&ohci0 {
-+	status = "okay";
-+};
-+
-+/*
-+#include "axp209.dtsi"
-+
-+&reg_dcdc2 {
-+	regulator-always-on;
-+	regulator-min-microvolt = <1000000>;
-+	regulator-max-microvolt = <1400000>;
-+	regulator-name = "vdd-cpu-sys-ephy";
-+};
-+
-+&reg_dcdc3 {
-+	regulator-always-on;
-+	regulator-min-microvolt = <3000000>;
-+	regulator-max-microvolt = <3450000>;
-+	regulator-name = "vcc-io-ephy-mcsi-usb";
-+};
-+
-+&reg_ldo1 {
-+	regulator-min-microvolt = <3000000>;
-+	regulator-max-microvolt = <3600000>;
-+	regulator-name = "vcc-rtc";
-+};
-+
-+&reg_ldo2 {
-+	regulator-always-on;
-+	regulator-min-microvolt = <2800000>;
-+	regulator-max-microvolt = <3300000>;
-+	regulator-name = "avcc-pll";
-+};
-+*/
-+
-+&reg_vcc3v0 {
-+	regulator-always-on;
-+	status = "okay";
-+};
-+
-+&reg_vcc3v3 {
-+	regulator-always-on;
-+	status = "okay";
-+};
-+
-+&reg_vcc5v0 {
-+	regulator-always-on;
-+	status = "okay";
-+};
-+
-+&spi0 {
-+       status = "okay";
-+
-+       st7789v@0 {
-+               compatible = "sitronix,st7789v";
-+               reg = <0>;
-+               spi-max-frequency = <50000000>;
-+               txbuflen = <115200>;
-+               rotate = <0>;
-+               fps = <50>;
-+               buswidth = <8>;
-+               reset-gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>;	//PB2
-+               dc-gpios = <&pio 2 0 GPIO_ACTIVE_LOW>;		//PC0 (MISO)
-+               debug = <0>;
-+       };
-+};
-+
-+&uart0 {
-+	pinctrl-0 = <&uart0_pins_a>;
-+	pinctrl-names = "default";
-+	status = "okay";
-+};
-+
-+&pwm {
-+        pinctrl-names = "default";
-+        pinctrl-0 = <&pwm0_pins>;
-+        status = "okay";
-+};
-+
-+&usb_otg {
-+	dr_mode = "peripheral";
-+	status = "okay";
-+};
-+
-+&usbphy {
-+	usb0_vbus-supply = <&reg_vcc5v0>;
-+	phy-supply = <&reg_vcc5v0>;
-+	vcc = <&reg_vcc5v0>;
-+	status = "okay";
-+};

+ 0 - 12
PCBA/board/funkey/patches/linux/0004-add-funkey-dts-to-Makefile.patch

@@ -1,12 +0,0 @@
-diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
-index 1f97ae8..e798bf1 100644
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -932,6 +932,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \
- 	sun8i-h3-orangepi-plus2e.dtb \
- 	sun8i-r16-bananapi-m2m.dtb \
- 	sun8i-r16-parrot.dtb \
-+	sun8i-v3s-funkey.dtb \
- 	sun8i-v3s-licheepi-zero.dtb \
- 	sun8i-v3s-licheepi-zero-dock.dtb \
- 	sun8i-v3s-licheepi-zero-with-480x272-lcd.dtb \

+ 0 - 48
PCBA/board/funkey/patches/linux/0005-add-dts-gpio-names.patch

@@ -1,48 +0,0 @@
---- a/arch/arm/boot/dts/sun8i-v3s-funkey.dts
-+++ b/arch/arm/boot/dts/sun8i-v3s-funkey.dts
-@@ -108,6 +108,45 @@
- 	status = "okay";
- };
- 
-+&pio {
-+	gpio-line-names =
-+		/* PA0-PA31 */
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		/* PB0-PA31 */
-+		"", "TE", "LCDR", "KEY", "LEDA", "PMU", "SCL", "SDA",
-+		"TX", "RX", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		/* PC0-PA31 */
-+		"RS", "CLK", "CS", "MOSI", "", "", "", "",
-+		"", "", "", "", "", "", "","",
-+		"", "", "", "", "", "", "","",
-+		"", "", "", "", "", "", "","",
-+		/* PD0-PA31 */
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		/* PE0-PA31 */
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		/* PF0-PA31 */
-+		"D1", "D0", "CLK", "CMD", "D3", "D2", "PA", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		/* PG0-PA31 */
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "",
-+		"", "", "", "", "", "", "", "";
-+};
-+
- /*
- #include "axp209.dtsi"
- 

+ 0 - 22
PCBA/board/funkey/patches/linux/0009-add-cpu-clock-properties.patch

@@ -1,22 +0,0 @@
-diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
-index 5379f2d7..f9765995 100644
---- a/arch/arm/boot/dts/sun8i-v3s.dtsi
-+++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
-@@ -73,6 +73,17 @@
- 			device_type = "cpu";
- 			reg = <0>;
- 			clocks = <&ccu CLK_CPU>;
-+                        clock-latency = <244144>; /* 8 32k periods */
-+                        clock-frequency = <1296000>;
-+                        operating-points = <
-+                                /* kHz    uV */
-+                                1296000 1200000
-+                                1008000 1200000
-+                                864000  1200000
-+                                720000  1100000
-+                                480000  1000000
-+                                >;
-+
- 		};
- 	};
- 

+ 0 - 39
PCBA/board/funkey/patches/linux/0010-reorder-sunxi-aux-codec.patch

@@ -1,39 +0,0 @@
-diff --git a/arch/arm/boot/dts/sun8i-v3s-funkey.dts b/arch/arm/boot/dts/sun8i-v3s-funkey.dts
-index ad694808..3be3c7f1 100644
---- a/arch/arm/boot/dts/sun8i-v3s-funkey.dts
-+++ b/arch/arm/boot/dts/sun8i-v3s-funkey.dts
-@@ -74,6 +74,10 @@
- 	status = "okay";
- };
- 
-+&codec_analog {
-+	status = "okay";
-+};
-+
- &ehci0 {
- 	status = "okay";
- };
-diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
-index 5379f2d7..02f6c844 100644
---- a/arch/arm/boot/dts/sun8i-v3s.dtsi
-+++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
-@@ -433,6 +444,7 @@
- 		codec_analog: codec-analog@01c23000 {
- 			compatible = "allwinner,sun8i-v3s-codec-analog";
- 			reg = <0x01c23000 0x4>;
-+			status = "disabled";
- 		};
- 
- 		uart0: serial@01c28000 {
-diff --git a/sound/soc/sunxi/Makefile b/sound/soc/sunxi/Makefile
-index 4a9ef673..655780ab 100644
---- a/sound/soc/sunxi/Makefile
-+++ b/sound/soc/sunxi/Makefile
-@@ -1,6 +1,6 @@
- # SPDX-License-Identifier: GPL-2.0
-+obj-$(CONFIG_SND_SUN8I_CODEC_ANALOG) += sun8i-codec-analog.o
- obj-$(CONFIG_SND_SUN4I_CODEC) += sun4i-codec.o
- obj-$(CONFIG_SND_SUN4I_I2S) += sun4i-i2s.o
- obj-$(CONFIG_SND_SUN4I_SPDIF) += sun4i-spdif.o
--obj-$(CONFIG_SND_SUN8I_CODEC_ANALOG) += sun8i-codec-analog.o
- obj-$(CONFIG_SND_SUN8I_CODEC) += sun8i-codec.o

+ 0 - 207
PCBA/board/funkey/patches/linux/a/arch/arm/boot/dts/sun8i-v3s-funkey.dts

@@ -1,207 +0,0 @@
-/*
- * Copyright (C) 2019 Michel Stempin <michel.stempin@wanadoo.fr>
- *
- * This file is dual-licensed: you can use it either under the terms
- * of the GPL or the X11 license, at your option. Note that this dual
- * licensing only applies to this file, and not this project as a
- * whole.
- *
- *  a) This file is free software; you can redistribute it and/or
- *     modify it under the terms of the GNU General Public License as
- *     published by the Free Software Foundation; either version 2 of the
- *     License, or (at your option) any later version.
- *
- *     This file is distributed in the hope that it will be useful,
- *     but WITHOUT ANY WARRANTY; without even the implied warranty of
- *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *     GNU General Public License for more details.
- *
- * Or, alternatively,
- *
- *  b) Permission is hereby granted, free of charge, to any person
- *     obtaining a copy of this software and associated documentation
- *     files (the "Software"), to deal in the Software without
- *     restriction, including without limitation the rights to use,
- *     copy, modify, merge, publish, distribute, sublicense, and/or
- *     sell copies of the Software, and to permit persons to whom the
- *     Software is furnished to do so, subject to the following
- *     conditions:
- *
- *     The above copyright notice and this permission notice shall be
- *     included in all copies or substantial portions of the Software.
- *
- *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- *     OTHER DEALINGS IN THE SOFTWARE.
- */
-
-/dts-v1/;
-#include "sun8i-v3s.dtsi"
-#include "sunxi-common-regulators.dtsi"
-
-/ {
-	model = "FunKey";
-	compatible = "funkey", "allwinner,sun8i-v3s";
-
-	aliases {
-		serial0 = &uart0;
-	};
-
-	chosen {
-		stdout-path = "serial0:115200n8";
-	};
-
-	backlight: backlight {
-		compatible = "pwm-backlight";
-		pwms = <&pwm 0 1000000 0>;
-		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
-		default-brightness-level = <10>;
-		power-supply = <&reg_vcc5v0>;
-	};
-};
-
-&codec {
-	allwinner,audio-routing =
-		"Headphone", "HP",
-		"Headphone", "HPCOM",
-		"MIC1", "Mic",
-		"Mic",  "HBIAS";
-	status = "okay";
-};
-
-&ehci0 {
-	status = "okay";
-};
-
-&i2c0 {
-	status = "okay";
-
-	axp209: pmic@34 {
-		compatible = "x-powers,axp209";
-		reg = <0x34>;
-		interrupt-parent = <&pio>;
-		interrupts = <1 5 IRQ_TYPE_EDGE_FALLING>;
-		interrupt-controller;
-		#interrupt-cells = <1>;
-	};
-};
-
-&mmc0 {
-	pinctrl-0 = <&mmc0_pins_a>;
-	pinctrl-names = "default";
-	broken-cd;
-	bus-width = <4>;
-	vmmc-supply = <&reg_vcc3v3>;
-	vqmmc-supply = <&reg_vcc3v3>;
-	status = "okay";
-};
-
-&ohci0 {
-	status = "okay";
-};
-
-#include "axp209.dtsi"
-
-&ac_power_supply {
-	status = "okay";
-};
-
-&axp_gpio {
-	status = "okay";
-};
-
-&battery_power_supply {
-	status = "okay";
-};
-
-&usb_power_supply {
-	status = "okay";
-};
-
-&reg_dcdc2 {
-	regulator-always-on;
-	regulator-min-microvolt = <1000000>;
-	regulator-max-microvolt = <1400000>;
-	regulator-name = "vdd-cpu-sys-ephy";
-};
-
-&reg_dcdc3 {
-	regulator-always-on;
-	regulator-min-microvolt = <3000000>;
-	regulator-max-microvolt = <3450000>;
-	regulator-name = "vcc-io-ephy-mcsi-usb";
-};
-
-&reg_ldo1 {
-	regulator-min-microvolt = <3000000>;
-	regulator-max-microvolt = <3600000>;
-	regulator-name = "vcc-rtc";
-};
-
-&reg_ldo2 {
-	regulator-always-on;
-	regulator-min-microvolt = <2800000>;
-	regulator-max-microvolt = <3300000>;
-	regulator-name = "avcc-pll";
-};
-
-&reg_vcc3v0 {
-	regulator-always-on;
-	status = "okay";
-};
-
-&reg_vcc3v3 {
-	regulator-always-on;
-	status = "okay";
-};
-
-&reg_vcc5v0 {
-	regulator-always-on;
-	status = "okay";
-};
-
-&spi0 {
-       status = "okay";
-
-       st7789v@0 {
-               compatible = "sitronix,st7789v";
-               reg = <0>;
-               spi-max-frequency = <40000000>;
-               txbuflen = <115200>;
-               rotate = <0>;
-               fps = <39>;
-               buswidth = <8>;
-               reset-gpios = <&pio 4 1 GPIO_ACTIVE_LOW>;	//PE1
-               dc-gpios = <&pio 2 0 GPIO_ACTIVE_LOW>;		//PC0 (MISO)
-               debug = <0>;
-       };
-};
-
-&uart0 {
-	pinctrl-0 = <&uart0_pins_a>;
-	pinctrl-names = "default";
-	status = "okay";
-};
-
-&pwm {
-        pinctrl-names = "default";
-        pinctrl-0 = <&pwm0_pins>;
-        status = "okay";
-};
-
-&usb_otg {
-	dr_mode = "peripheral";
-	status = "okay";
-};
-
-&usbphy {
-	usb0_vbus-supply = <&reg_vcc5v0>;
-	phy-supply = <&reg_vcc5v0>;
-	vcc = <&reg_vcc5v0>;
-	status = "okay";
-};

+ 0 - 86
PCBA/board/funkey/patches/uboot/0001-add-funkey-dts.patch

@@ -1,86 +0,0 @@
---- /dev/null	2019-03-22 21:33:35.539154398 +0100
-+++ a/arch/arm/dts/sun8i-v3s-funkey.dts	2019-03-22 22:22:37.417295027 +0100
-@@ -0,0 +1,83 @@
-+/*
-+ * Copyright (C) 2019 Michel Stempin <michel.stempin@wanadoo.fr>
-+ *
-+ * This file is dual-licensed: you can use it either under the terms
-+ * of the GPL or the X11 license, at your option. Note that this dual
-+ * licensing only applies to this file, and not this project as a
-+ * whole.
-+ *
-+ *  a) This file is free software; you can redistribute it and/or
-+ *     modify it under the terms of the GNU General Public License as
-+ *     published by the Free Software Foundation; either version 2 of the
-+ *     License, or (at your option) any later version.
-+ *
-+ *     This file is distributed in the hope that it will be useful,
-+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+ *     GNU General Public License for more details.
-+ *
-+ * Or, alternatively,
-+ *
-+ *  b) Permission is hereby granted, free of charge, to any person
-+ *     obtaining a copy of this software and associated documentation
-+ *     files (the "Software"), to deal in the Software without
-+ *     restriction, including without limitation the rights to use,
-+ *     copy, modify, merge, publish, distribute, sublicense, and/or
-+ *     sell copies of the Software, and to permit persons to whom the
-+ *     Software is furnished to do so, subject to the following
-+ *     conditions:
-+ *
-+ *     The above copyright notice and this permission notice shall be
-+ *     included in all copies or substantial portions of the Software.
-+ *
-+ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-+ *     OTHER DEALINGS IN THE SOFTWARE.
-+ */
-+
-+/dts-v1/;
-+#include "sun8i-v3s.dtsi"
-+#include "sunxi-common-regulators.dtsi"
-+
-+/ {
-+	model = "FunKey";
-+	compatible = "funkey", "allwinner,sun8i-v3s";
-+
-+	aliases {
-+		serial0 = &uart0;
-+	};
-+
-+	chosen {
-+		stdout-path = "serial0:115200n8";
-+	};
-+};
-+
-+&mmc0 {
-+	pinctrl-0 = <&mmc0_pins_a>;
-+	pinctrl-names = "default";
-+	broken-cd;
-+	bus-width = <4>;
-+	vmmc-supply = <&reg_vcc3v3>;
-+	status = "okay";
-+};
-+
-+&uart0 {
-+	pinctrl-0 = <&uart0_pins_a>;
-+	pinctrl-names = "default";
-+	status = "okay";
-+};
-+
-+&usb_otg {
-+	dr_mode = "otg";
-+	status = "okay";
-+};
-+
-+&usbphy {
-+	usb0_id_det-gpio = <&pio 5 6 GPIO_ACTIVE_HIGH>;
-+	status = "okay";
-+};

+ 0 - 47
PCBA/board/funkey/patches/uboot/0001-silent-boot.patch

@@ -1,47 +0,0 @@
---- a/board/sunxi/board.c	2017-08-12 11:24:24.000000000 +0200
-+++ b/board/sunxi/board.c	2019-04-27 23:04:05.811352883 +0200
-@@ -540,9 +540,9 @@
- 	power_failed |= axp_set_sw(IS_ENABLED(CONFIG_AXP_SW_ON));
- #endif
- #endif
--	printf("DRAM:");
-+	//printf("DRAM:");
- 	ramsize = sunxi_dram_init();
--	printf(" %d MiB\n", (int)(ramsize >> 20));
-+	//printf(" %d MiB\n", (int)(ramsize >> 20));
- 	if (!ramsize)
- 		hang();
- 
---- a/common/console.c	2017-08-12 11:24:24.000000000 +0200
-+++ b/common/console.c	2019-04-27 22:30:13.944154949 +0200
-@@ -695,7 +695,7 @@
- 	if (getenv("silent") != NULL)
- 		gd->flags |= GD_FLG_SILENT;
- 	else
--		gd->flags &= ~GD_FLG_SILENT;
-+		gd->flags |= GD_FLG_SILENT;
- #endif
- }
- 
---- a/common/spl/spl.c	2017-08-12 11:24:24.000000000 +0200
-+++ b/common/spl/spl.c	2019-04-27 23:06:27.269590207 +0200
-@@ -316,7 +316,7 @@
- 		loader = spl_ll_find_loader(spl_boot_list[i]);
- #if defined(CONFIG_SPL_SERIAL_SUPPORT) && defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
- 		if (loader)
--			printf("Trying to boot from %s", loader->name);
-+		  ;//printf("Trying to boot from %s", loader->name);
- 		else
- 			puts("SPL: Unsupported Boot Device!\n");
- #endif
-@@ -407,8 +407,9 @@
- 
- 	gd->have_console = 1;
- 
--	puts("\nU-Boot SPL " PLAIN_VERSION " (" U_BOOT_DATE " - " \
-+	/*puts("\nU-Boot SPL " PLAIN_VERSION " (" U_BOOT_DATE " - "	\
- 			U_BOOT_TIME ")\n");
-+	*/
- #ifdef CONFIG_SPL_DISPLAY_PRINT
- 	spl_display_print();
- #endif

+ 0 - 12
PCBA/board/funkey/patches/uboot/0002-add-funkey-dts-to-Makfile.patch

@@ -1,12 +0,0 @@
-diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
-index 469dd71..e91a8d3 100644
---- a/arch/arm/dts/Makefile
-+++ b/arch/arm/dts/Makefile
-@@ -281,6 +281,7 @@ dtb-$(CONFIG_MACH_SUN8I_H3) += \
- 	sun8i-h3-orangepi-plus2e.dtb \
- 	sun8i-h3-nanopi-neo.dtb
- dtb-$(CONFIG_MACH_SUN8I_V3S) += \
-+	sun8i-v3s-funkey.dtb \
- 	sun8i-v3s-licheepi-zero.dtb
- dtb-$(CONFIG_MACH_SUN50I) += \
- 	sun50i-a64-pine64-plus.dtb \

+ 0 - 31
PCBA/board/funkey/patches/uboot/0002-fix-bootargs-when-building-without-net.patch

@@ -1,31 +0,0 @@
---- a/include/configs/sunxi-common.h	2017-08-12 11:24:24.000000000 +0200
-+++ b/include/configs/sunxi-common.h	2019-05-02 23:02:22.078624435 +0200
-@@ -475,14 +475,26 @@
- #define BOOTENV_DEV_NAME_FEL(devtypeu, devtypel, instance) \
- 	"fel "
- 
-+#if CONFIG_IS_ENABLED(CMD_PXE)
-+# define BOOT_TARGET_PXE(func) func(PXE, pxe, na)
-+#else
-+# define BOOT_TARGET_PXE(func)
-+#endif
-+
-+#if CONFIG_IS_ENABLED(CMD_DHCP)
-+# define BOOT_TARGET_DHCP(func) func(DHCP, dhcp, na)
-+#else
-+# define BOOT_TARGET_DHCP(func)
-+#endif
-+
- #define BOOT_TARGET_DEVICES(func) \
- 	func(FEL, fel, na) \
- 	BOOT_TARGET_DEVICES_MMC(func) \
- 	BOOT_TARGET_DEVICES_MMC_EXTRA(func) \
- 	BOOT_TARGET_DEVICES_SCSI(func) \
- 	BOOT_TARGET_DEVICES_USB(func) \
--	func(PXE, pxe, na) \
--	func(DHCP, dhcp, na)
-+	BOOT_TARGET_PXE(func) \
-+	BOOT_TARGET_DHCP(func)
- 
- #ifdef CONFIG_OLD_SUNXI_KERNEL_COMPAT
- #define BOOTCMD_SUNXI_COMPAT \

+ 0 - 18
PCBA/board/funkey/patches/uboot/0003-do-not-set-enetaddr.patch

@@ -1,18 +0,0 @@
---- a/board/sunxi/board.c	2019-05-02 23:50:23.708139670 +0200
-+++ b/board/sunxi/board.c	2019-05-02 23:51:19.105112063 +0200
-@@ -652,6 +652,7 @@
- 		if ((sid[3] & 0xffffff) == 0)
- 			sid[3] |= 0x800000;
- 
-+#if defined(CONFIG_CMD_NET)
- 		for (i = 0; i < 4; i++) {
- 			sprintf(ethaddr, "ethernet%d", i);
- 			if (!fdt_get_alias(fdt, ethaddr))
-@@ -675,6 +676,7 @@
- 
- 			eth_setenv_enetaddr(ethaddr, mac_addr);
- 		}
-+#endif
- 
- 		if (!getenv("serial#")) {
- 			snprintf(serial_string, sizeof(serial_string),

+ 0 - 13
PCBA/board/funkey/post-build.sh

@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# Remove log daemon init scripts since they are loaded from inittab
-rm -f ${TARGET_DIR}/etc/init.d/S01syslogd ${TARGET_DIR}/etc/init.d/S02klogd
-
-# Remove ssyctl daemon
-rm -f ${TARGET_DIR}/etc/init.d/S02sysctl
-
-# Remove random daemon
-rm -f ${TARGET_DIR}/etc/init.d/S20urandom
-
-# Remove telnet daemon as we don't have network
-rm -f ${TARGET_DIR}/etc/init.d/S50telnet

+ 0 - 76
PCBA/board/funkey/readme.txt

@@ -1,76 +0,0 @@
-# FunKey
-
-Intro
-=====
-
-This directory contains a buildroot-based external configuration for
-building the FunKey.
-
-How to get it
-===============
-
-Clone the FunKey OS repository and the required submodules from
-BitBucket:
-
-  $ git clone --recurse-submodules git@bitbucket.org:keymu2/funkey-os.git <Funkey directory>
-
-Then enter into the created directory:
-
-  $ cd <Funkey directory>
-
-How to build it
-===============
-
-Configure Buildroot
--------------------
-
-There is only one Funkey defconfig files in Buildroot:
-
-  $ ./fun funkey_defconfig
-
-Build the rootfs
-----------------
-
-Note: you will need to have access to the network, since Buildroot
-will download the packages' sources.
-
-You may now build your FunKey with:
-
-  $ ./have fun
-
-(This may take a while, consider getting yourself a coffee ;-) )
-
-Result of the build
--------------------
-
-After building, you should obtain this tree:
-
-    FunKey/output/images/
-    +-- boot.scr
-    +-- boot.vfat
-    +-- rootfs.ext2
-    +-- rootfs.ext4 -> rootfs.ext2
-    +-- sdcard.img
-    +-- sun8i-v3s-funkey.dtb
-    +-- u-boot.bin
-    +-- u-boot-sunxi-with-spl.bin
-    `-- uImage
-
-How to write the SD card
-========================
-
-Once the build process is finished you will have an image called
-"sdcard.img" in the FunKey/output/images/ directory.
-
-Copy the bootable "sdcard.img" onto an SD card with "dd":
-
-  $ sudo dd if=<Funkey directory>/FunKey/output/images/sdcard.img of=/dev/sdX
-
-Alternatively, you can use the Etcher graphical tool to burn the image
-to the SD card safely and on any platform:
-
-https://etcher.io/
-
-Once the SD card is burned, insert it into your FunKey board, and
-power it up. Your new system should come up now and start a console on
-the UART0 serial port.

+ 0 - 223
PCBA/board/funkey/rootfs-overlay/bin/axp209

@@ -1,223 +0,0 @@
-#!/bin/sh
-#
-# For the CHIP Computer AXP09 Power mangement IC
-#
-# Jeff Brown http://photonicsguy.ca/projects/chip
-# https://github.com/Photonicsguy/CHIP
-# Version 1.0 (April 5th, 2016)
-#
-# It looks like you can destroy your chip computer by writing the wrong data to certain registers on this chip!
-# (Some of the voltage outputs are programmable via registers)
-#
-# There is only one write command in this script (to enable ADC registers)
-#
-#
-#
-# VBUS is USB power
-# VBAT is Battery (Of course)
-#
-#
-# Lower 2 bits of Register 30 control the VBUS current limiting
-#i2cset -y -f 0 0x34 0x30 0x60	# 900mA VBUS current limit (Default)
-#i2cset -y -f 0 0x34 0x30 0x61	# 500mA VBUS current limit
-#i2cset -y -f 0 0x34 0x30 0x62	# 100mA VBUS current limit (CHIP will draw from both VBUS & Battery)
-#i2cset -y -f 0 0x34 0x30 0x63	# No current limiting on VBUS
-#
-#
-#
-
-# Load I2C modules
-modprobe i2c-dev
-modprobe i2c-mv64xxx
-
-if [ "$1" == "-a" ]; then
-	ALL=true
-elif [ "$1" == "-v" ]; then
-	echo "Version 1.0 (April 5th, 2016)"
-	echo "https://github.com/Photonicsguy/CHIP"
-	exit 0
-elif [ "$1" == "-b" ]; then
-	BP=true
-#elif [ "$1" == "-q" ]; then
-elif [ "$1" == "-h" ]; then
-	cat << EOF
-Usage: axp209.sh [OPTION]
-	-a	Display all data
-	-v	Version
-	-h	Help (This help)
-	-b	Show only battery percentage
-
-exits 0 on VBUS power
-exits 1 on Battery power (If battery is discharging)
-
-EOF
-fi
-
-# Enable ADC registers
-i2cset -y -f 0 0x34 0x82 0xff
-
-##	REGISTER 00	##
-REG=$(i2cget -y -f 0 0x34 0x00)
-STATUS_VBUS=$(($((${REG}&0x20))/32))
-STATUS_VBUS_AVAIL=$(($((${REG}&0x10))/16))
-STATUS_VHOLD=$(($((${REG}&0x08))/8))
-STATUS_CHG_DIR=$(($((${REG}&0x04))/4))
-ACVB_SHORT=$(($((${REG}&0x02))/2))
-STATUS_BOOT=$((${REG}&0x01))
-
-
-if [ ${ALL} ];then
-	REG=$(i2cget -y -f 0 0x34 0x30)
-	VHOLD="4."$(($((${REG}&0x38))/8))
-	REG=$((${REG}&0x3))
-	case "${REG}" in
-		0)
-			VBUS_C_LIM="900mA"
-			;;
-		1)
-			VBUS_C_LIM="500mA"
-			;;
-		2)
-			VBUS_C_LIM="100mA"
-			;;
-		3)
-			VBUS_C_LIM="No limit"
-			;;
-	esac
-	
-	VSHUTDOWN="2."$(($(($(i2cget -y -f 0 0x34 0x31)&0x07))+6))
-	REG=
-	echo "              VBUS: ${STATUS_VBUS}	Avail: ${STATUS_VBUS_AVAIL}"
-	echo "             VHOLD: ${STATUS_VHOLD} (Whether VBUS is above ${VHOLD}V before being used)"
-	#echo "  Charge direction: ${STATUS_CHG_DIR}	(0:Battery discharging; 1:The battery is charging)"
-	echo "  Shutdown voltage: ${VSHUTDOWN}V"
-	echo "VBUS current limit: ${VBUS_C_LIM}"
-
-fi
-if [ ${ACVB_SHORT} == 1 ]; then
-	echo "ACIN & VBUS input short circuit on PCB"
-fi
-
-if [ ${ALL} ]; then
-	echo -n "Boot source is"
-	if [ ${STATUS_BOOT} == 0 ]; then
-		echo -n "n't"
-	fi
-	echo " VBUS"
-fi
-
-
-##	REGISTER 01	##
-REG=$(i2cget -y -f 0 0x34 0x01)
-STATUS_OVRTEMP=$(($((${REG}&0x80))/128))
-STATUS_CHARGING=$(($((${REG}&0x40))/64))
-STATUS_BATCON=$(($((${REG}&0x20))/32))
-#STATUS_=$(($((${REG}&0x10))/16))
-STATUS_ACT=$(($((${REG}&0x08))/8))
-STATUS_CUREXPEC=$(($((${REG}&0x04))/4))
-#STATUS_=$(($((${REG}&0x02))/2))
-#STATUS_=$((${REG}&0x01))
-
-if [ ${STATUS_OVRTEMP} == 1 ]; then
-	echo "Over Temperature"
-fi
-if [ ${ALL} ]; then
-	if [ ${STATUS_CHARGING} == 1 ]; then
-		echo "Battery charging"
-	fi
-	echo "Battery connected: ${STATUS_BATCON}"
-fi
-
-if [ ${STATUS_VBUS}==1 ]; then
-	# VBUS voltage
-	REG=$(i2cget -y -f 0 0x34 0x5A w)
-	REG=0x${REG:4:2}${REG:3:1}
-	REG=$(printf "%d" "${REG}")
-	VBUS=$(echo "${REG}*0.0017"|bc)
-
-	# VBUS Current
-	REG=$(i2cget -y -f 0 0x34 0x5C w)
-	REG=0x${REG:4:2}${REG:3:1}
-	REG=$(printf "%d" "${REG}")
-	VBUS_C=$(echo "${REG}*0.375"|bc)
-else
-	VBUS='-'
-	VBUS_C='-'
-fi
-
-if [ ${STATUS_BATCON}==1 ]; then
-	# Battery Voltage
-	REG=$(i2cget -y -f 0 0x34 0x78 w)
-	REG=0x${REG:4:2}${REG:3:1}
-	REG=$(printf "%d" "${REG}")
-	VBAT=$(echo "${REG}*0.0011"|bc)
-
-	if [ ${STATUS_CHG_DIR} == 1 ]; then
-		# Battery Charging Current
-		REG=$(i2cget -y -f 0 0x34 0x7A w)
-		REG=0x${REG:4:2}${REG:3:1}
-		REG_C=$(printf "%d" "${REG}")
-		BAT_C=$(echo "scale=2;${REG_C}*0.5"|bc)
-	else
-		# Battery Discharge Current
-		REG=$(i2cget -y -f 0 0x34 0x7C w)
-		REG=0x${REG:4:2}${REG:3:1}
-		REG_D=$(printf "%d" "${REG}")
-		BAT_D=$(echo "scale=2;${REG_D}*0.5"|bc)
-	fi
-	# Battery %
-	REG=$(i2cget -y -f 0 0x34 0xB9)
-	BAT_PERCENT=$(printf "%d" "${REG}")
-else
-	VBAT='-'
-	BATT_CUR='-'
-	BAT_PERCENT='-'
-	echo "No Battery connected"
-fi
-# System (IPSOUT) Voltage (IPS is Intelligent Power Select)
-REG=$(i2cget -y -f 0 0x34 0x7E w)
-REG=0x${REG:4:2}${REG:3:1}
-REG=$(printf "%d" "${REG}")
-IPSOUT=$(echo "${REG}*0.0014"|bc)
-
-
-if [ ${ALL} ]; then
-	# Temperature
-	REG=$(i2cget -y -f 0 0x34 0x5E w)
-	REG=0x${REG:4:2}${REG:3:1}
-	REG=$(printf "%d" "${REG}")
-	THERM=$(echo "(${REG}*0.1)-144.7"|bc)
-	echo "Temperature:	${THERM}°C"
-fi
-echo "Battery: ${BAT_PERCENT}%"
-if [ ${BP} ];then						# If -b switch is used, exit after showing battery percentage
-	if [ ${STATUS_CHG_DIR} == 0 ]; then
-		exit 1	# FunKey operating on Battery
-	else
-		exit 0	# FunKey on VBUS power
-	fi
-fi
-
-echo -n "VBUS:	${VBUS}V"
-if [ ${VBUS_C} != 0 ];then
-	echo "   ${VBUS_C}mA"
-else
-	echo ""
-fi
-
-echo -n "VBAT:	${VBAT}V   "
-if [ ${STATUS_CHG_DIR} == 1 ]; then
-	echo "Charging at ${BAT_C}mA"
-else
-	echo "Discharging at ${BAT_D}mA"
-fi
-echo "VOUT:	${IPSOUT}V"
-
-if [ ${STATUS_CHG_DIR} == 0 ]; then
-	exit 1	# FunKey operating on Battery
-else
-	exit 0	# FunKey on VBUS power
-fi
-
-# Unload I2C modules
-modprobe -r i2c_mv64xxx i2c_dev >/dev/null 2>&1

+ 0 - 35
PCBA/board/funkey/rootfs-overlay/bin/test-battery

@@ -1,35 +0,0 @@
-#!/bin/sh
-
-# Load I2C modules
-modprobe i2c-dev
-modprobe i2c-mv64xxx
-
-# Look for U1 (PCAL6416 GPIO expander)
-U1=$(i2cdetect -y 0 20 20 | grep 20: | cut -d ':' -f 2)
-let U1=U1+0
-if [ ${U1} -ne 20 ]; then
-   echo "ERROR BATTERY CHIP"
-else
-
-    # Wait for the battery detected and charging for 10s
-    timeout=10
-    while [ ${timeout} -ne 0 ]; do
-	value=$(i2cget -y 0 34 1)
-	if [ $? -ne 0 ]; then
-	    echo "ERROR BATTERY I2C"
-	    break
-	fi
-	if [ "${value}" = "0x74" ]; then
-	    echo "OK"
-	    break
-	fi
-	sleep 1
-	let timeout=timeout-1
-    done
-    if [ ${timeout} -eq 0 ]; then
-	echo "ERROR BATTERY TIMEOUT"
-    fi
-fi
-
-# Unload I2C modules
-modprobe -r i2c_mv64xxx i2c_dev >/dev/null 2>&1

+ 0 - 22
PCBA/board/funkey/rootfs-overlay/bin/test-gpio

@@ -1,22 +0,0 @@
-#!/bin/sh
-
-if [ $# -ne 2 ]; then
-    echo "ERROR GPIO ARGS"
-    exit 1
-fi
-pin=$(gpiofind "${1}")
-if [ $? -ne 0 ]; then
-    echo "ERROR GPIO PIN"
-    exit 1
-fi
-case ${2} in
-    0) value=${2};;
-    1) value=${2};;
-    *) echo "ERROR GPIO VALUE"; exit 1;;
-esac
-gpioset ${pin}=${value}
-if [ $? -ne 0 ]; then
-    echo "ERROR GPIO I2C"
-else
-    echo "OK"
-fi

+ 0 - 25
PCBA/board/funkey/rootfs-overlay/bin/test-i2c

@@ -1,25 +0,0 @@
-#!/bin/sh
-
-# Load I2C modules
-modprobe i2c-dev
-modprobe i2c-mv64xxx
-
-# Look for U1 (PCAL6416 GPIO expander)
-U1=$(i2cdetect -y 0 20 20 | grep 20: | cut -d ':' -f 2)
-let U1=U1+0
-if [ ${U1} -ne 20 ]; then
-   echo "ERROR I2C U1"
-   exit 1
-fi
-
-# Look for U5 (AXP209 PMIC)
-U5=$(i2cdetect -y 0 34 34 | grep 30: | cut -d ':' -f 2)
-let U5=U5+0
-if [ ${U5} -ne 34 ]; then
-   echo "ERROR I2C U5"
-   exit 1
-fi
-
-# Unload I2C modules
-modprobe -r i2c_mv64xxx i2c_dev >/dev/null 2>&1
-echo "OK"

+ 0 - 26
PCBA/board/funkey/rootfs-overlay/bin/test-led

@@ -1,26 +0,0 @@
-#!/bin/sh
-
-if [ $# -ne 1 ];then
-    echo "ERROR LED ARGS"
-    exit;
-fi
-case ${1} in
-    0) value=0x0a;;
-    1) value=0x3a;;
-    *) echo "ERROR LED VALUE"; exit 1;;
-esac
-
-# Load I2C modules
-modprobe i2c-dev
-modprobe i2c-mv64xxx
-
-# Turn on/off the LED
-i2cset -y 0 0x34 0x32 ${value}
-if [ $? -ne 0 ]; then
-    echo "ERROR LED I2C"
-else
-    echo "OK"
-fi
-
-# Unload I2C modules
-modprobe -r i2c_mv64xxx i2c_dev >/dev/null 2>&1

+ 0 - 24
PCBA/board/funkey/rootfs-overlay/bin/test-speaker

@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# Turn on Power Amplifier
-gpioset $(gpiofind "PA")=1
-if [ $? -ne 0 ]; then
-    echo "ERROR SPEAKER ON"
-else
-
-    # Play 1kHz sine wave
-    speaker-test -t sine -s 1 -f 1000 >/dev/null 2>&1
-    if [ $? -ne 0 ]; then
-	echo "ERROR SPEAKER SINE"
-	gpioset $(gpiofind "PA")=0
-    else
-
-	# Turn off Power Amplifier
-	gpioset $(gpiofind "PA")=0
-	if [ $? -ne 0 ]; then
-	    echo "ERROR SPEAKER OFF"
-	else
-	    echo "OK"
-	fi
-    fi
-fi

+ 0 - 9
PCBA/board/funkey/rootfs-overlay/etc/fstab

@@ -1,9 +0,0 @@
-# <file system> <mount pt>      <type>  <options>       <dump>  <pass>
-/dev/root       /               ext2    rw,noauto       0       1
-proc            /proc           proc    defaults        0       0
-devpts          /dev/pts        devpts  defaults,gid=5,mode=620,ptmxmode=0666   0       0
-tmpfs           /dev/shm        tmpfs   mode=0777       0       0
-tmpfs           /tmp            tmpfs   mode=1777       0       0
-tmpfs           /run            tmpfs   mode=0755,nosuid,nodev  0       0
-sysfs           /sys            sysfs   defaults        0       0
-configfs	/sys/kernel/config	configfs	rw,relatime	0	0

+ 0 - 1
PCBA/board/funkey/rootfs-overlay/etc/hostname

@@ -1 +0,0 @@
-FunKey PCBA

+ 0 - 207
PCBA/board/funkey/rootfs-overlay/etc/init.d/S50alsa-utils

@@ -1,207 +0,0 @@
-#!/bin/sh
-#
-# alsa-utils initscript
-#
-### BEGIN INIT INFO
-# Provides:          alsa-utils
-# Required-Start:    $local_fs $remote_fs
-# Required-Stop:     $remote_fs
-# Default-Start:     S
-# Default-Stop:      0 1 6
-# Short-Description: Restore and store ALSA driver settings
-# Description:       This script stores and restores mixer levels on
-#                    shutdown and bootup.On sysv-rc systems: to
-#                    disable storing of mixer levels on shutdown,
-#                    remove /etc/rc[06].d/K50alsa-utils.  To disable
-#                    restoring of mixer levels on bootup, rename the
-#                    "S50alsa-utils" symbolic link in /etc/rcS.d/ to
-#                    "K50alsa-utils".
-### END INIT INFO
-
-# Don't use set -e; check exit status instead
-
-# Exit silently if package is no longer installed
-[ -x /usr/sbin/alsactl ] || exit 0
-
-PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-MYNAME=/etc/init.d/alsa-utils
-ALSACTLHOME=/run/alsa
-
-[ -d "$ALSACTLHOME" ] || mkdir -p "$ALSACTLHOME"
-
-. /lib/lsb/init-functions
-. /usr/share/alsa/utils.sh
-
-# $1 EXITSTATUS
-# [$2 MESSAGE]
-log_action_end_msg_and_exit()
-{
-	log_action_end_msg "$1" ${2:+"$2"}
-	exit $1
-}
-
-# $1 PROGRAM
-executable()
-{
-	# If which is not available then we must be running before
-	# /usr is mounted on a system that has which in /usr/bin/.
-	# Conclude that $1 is not executable.
-	[ -x /bin/which ] || [ -x /usr/bin/which ] || return 1
-	which "$1" >/dev/null 2>&1
-}
-
-executable amixer || { echo "${MYNAME}: Error: No amixer program available." >&2 ; exit 1 ; }
-
-# $1 <card ID> | "all"
-restore_levels()
-{
-	[ -f /var/lib/alsa/asound.state ] || return 1
-	CARD="$1"
-	[ "$1" = all ] && CARD=""
-	# Assume that if alsactl prints a message on stderr
-	# then it failed somehow.  This works around the fact
-	# that alsactl doesn't return nonzero status when it
-	# can't restore settings for the card
-	if MSG="$(alsactl -E HOME="$ALSACTLHOME" restore $CARD 2>&1 >/dev/null)" && [ ! "$MSG" ] ; then
-		return 0
-	else
-		# Retry with the "force" option.  This restores more levels
-		# but it results in much longer error messages.
-		alsactl -F restore $CARD >/dev/null 2>&1
-		log_action_cont_msg "warning: 'alsactl -E HOME="$ALSACTLHOME" restore${CARD:+ $CARD}' failed with error message '$MSG'"
-		return 1
-	fi
-}
-
-# $1 <card ID> | "all"
-store_levels()
-{
-	CARD="$1"
-	[ "$1" = all ] && CARD=""
-	if MSG="$(alsactl -E HOME="$ALSACTLHOME" store $CARD 2>&1)" ; then
-		sleep 1
-		return 0
-	else
-		log_action_cont_msg "warning: 'alsactl store${CARD:+ $CARD}' failed with error message '$MSG'"
-		return 1
-	fi
-}
-
-
-# $1 <card ID>
-mute_and_zero_levels_on_card()
-{
-	CARDOPT="-c $1"
-	for CTL in \
-		Master \
-		PCM \
-		Synth \
-		CD \
-		Line \
-		Mic \
-		"PCM,1" \
-		Wave \
-		Music \
-		AC97 \
-		"Master Digital" \
-		DAC \
-		"DAC,0" \
-		"DAC,1" \
-		Headphone \
-		Speaker \
-		Playback
-	do
-		mute_and_zero_level "$CTL"
-	done
-#	for CTL in \
-#		"Audigy Analog/Digital Output Jack" \
-#		"SB Live Analog/Digital Output Jack"
-#	do
-#		switch_control "$CTL" off
-#	done
-	return 0
-}
-
-# $1 <card ID> | "all"
-mute_and_zero_levels()
-{
-	TTZML_RETURNSTATUS=0
-	case "$1" in
-	  all)
-		for CARD in $(echo_card_indices) ; do
-			mute_and_zero_levels_on_card "$CARD" || TTZML_RETURNSTATUS=1
-		done
-		;;
-	  *)
-		mute_and_zero_levels_on_card "$1" || TTZML_RETURNSTATUS=1
-		;;
-	esac
-	return $TTZML_RETURNSTATUS
-}
-
-
-# $1 <card ID> | "all"
-card_OK()
-{
-	[ "$1" ] || bugout
-	if [ "$1" = all ] ; then
-		[ -d /proc/asound ]
-		return $?
-	else
-		[ -d "/proc/asound/card$1" ] || [ -d "/proc/asound/$1" ]
-		return $?
-	fi
-}
-
-# If a card identifier is provided in $2 then regard it as an error
-# if that card is not present; otherwise don't regard it as an error.
-
-case "$1" in
-  start)
-	EXITSTATUS=0
-	TARGET_CARD="$2"
-	case "$TARGET_CARD" in
-	  ""|all) TARGET_CARD=all ;;
-	  *)  ;;
-	esac
-	card_OK "$TARGET_CARD" || log_action_end_msg_and_exit "$( [ ! "$2" ] ; echo $? ; )" "none loaded"
-	preinit_levels "$TARGET_CARD" || EXITSTATUS=1
-	if ! restore_levels "$TARGET_CARD" ; then
-		sanify_levels "$TARGET_CARD" || EXITSTATUS=1
-		restore_levels "$TARGET_CARD" >/dev/null 2>&1 || :
-	fi
-	;;
-  stop)
-	EXITSTATUS=0
-	TARGET_CARD="$2"
-	case "$TARGET_CARD" in
-	  ""|all) TARGET_CARD=all ;;
-	  *)  ;;
-	esac
-	card_OK "$TARGET_CARD" || log_action_end_msg_and_exit "$( [ ! "$2" ] ; echo $? ; )" "none loaded"
-	store_levels "$TARGET_CARD" || EXITSTATUS=1
-	#mute_and_zero_levels "$TARGET_CARD" || EXITSTATUS=1
-	;;
-  restart|force-reload)
-	EXITSTATUS=0
-	$0 stop || EXITSTATUS=1
-	$0 start || EXITSTATUS=1
-	exit $EXITSTATUS
-	;;
-  reset)
-	TARGET_CARD="$2"
-	case "$TARGET_CARD" in
-	  ""|all) TARGET_CARD=all ; log_action_begin_msg "Resetting ALSA" ;;
-	  *) log_action_begin_msg "Resetting ALSA card ${TARGET_CARD}" ;;
-	esac
-	card_OK "$TARGET_CARD" || log_action_end_msg_and_exit "$( [ ! "$2" ] ; echo $? ; )" "none loaded"
-	preinit_levels "$TARGET_CARD"
-	sanify_levels "$TARGET_CARD"
-	log_action_end_msg_and_exit "$?"
-	;;
-  *)
-	echo "Usage: $MYNAME {start [CARD]|stop [CARD]|restart [CARD]|reset [CARD]}" >&2
-	exit 3
-	;;
-esac
-

+ 0 - 40
PCBA/board/funkey/rootfs-overlay/etc/inittab

@@ -1,40 +0,0 @@
-# /etc/inittab
-#
-# Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
-#
-# Note: BusyBox init doesn't support runlevels.  The runlevels field is
-# completely ignored by BusyBox init. If you want runlevels, use
-# sysvinit.
-#
-# Format for each entry: <id>:<runlevels>:<action>:<process>
-#
-# id        == tty to run on, or empty for /dev/console
-# runlevels == ignored
-# action    == one of sysinit, respawn, askfirst, wait, and once
-# process   == program to run
-
-# Startup the system
-::sysinit:/bin/cat /etc/issue
-::sysinit:/bin/mount -t proc proc /proc
-::sysinit:/bin/mount -o remount,rw /
-::sysinit:/bin/mkdir -p /dev/pts /dev/shm
-::sysinit:/bin/mount -a
-null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd
-null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin
-null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout
-null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
-::sysinit:/bin/hostname -F /etc/hostname
-
-# now run any rc scripts
-::sysinit:/etc/init.d/rcS
-
-# Start an automatic root login on the console
-::respawn:-/bin/login -f root
-
-# Stuff to do for the 3-finger salute
-#::ctrlaltdel:/sbin/reboot
-
-# Stuff to do before rebooting
-::shutdown:/etc/init.d/rcK
-::shutdown:/sbin/swapoff -a
-::shutdown:/bin/umount -a -r

+ 0 - 2
PCBA/board/funkey/rootfs-overlay/etc/issue

@@ -1,2 +0,0 @@
-Welcome to FunKey!
-

+ 0 - 12
PCBA/board/funkey/rootfs-overlay/etc/profile

@@ -1,12 +0,0 @@
-export PATH="/usr/sbin:/usr/bin:/sbin:/bin"
-
-export PAGER='/bin/more'
-export EDITOR='/usr/bin/nano'
-
-# Source configuration files from /etc/profile.d
-for i in /etc/profile.d/*.sh ; do
-	if [ -r "$i" ]; then
-		. $i
-	fi
-done
-unset i

+ 0 - 34
PCBA/board/funkey/rootfs-overlay/lib/lsb/init-functions

@@ -1,34 +0,0 @@
-#!/bin/sh
-
-#set -xv
-
-if [ x"$THIS" != x ]; then
-    THIS="${THIS}: "
-fi
-log_action_msg () {
-    echo "${THIS}${@}." | tee /dev/kmsg
-}
-
-log_action_begin_msg () {
-    echo -n "${THIS}${@}: " | tee /dev/kmsg
-}
-
-log_action_cont_msg () {
-    echo "${THIS}${@}..." | tee /dev/kmsg
-}
-
-log_action_end_msg () {
-    local end
-    if [ -z "${2:-}" ]; then
-        end=""
-    else
-        end=" ($2)"
-    fi
-
-    if [ $1 -eq 0 ]; then
-        echo "${THIS}OK${end}" | tee /dev/kmsg
-    else
-        echo "${THIS}ERROR${end}" | tee /dev/kmsg
-    fi
-}
-

+ 0 - 20
PCBA/board/funkey/rootfs-overlay/usr/local/lib/utils

@@ -1,20 +0,0 @@
-#!/bin/sh
-
-# Define log functions if they do not exist yet
-type -t info >/dev/null 2>&1
-if [ $? -ne 0 ]; then
-    info () {
-	echo "$SELF:" "$@" | tee /dev/kmsg
-    }
-
-    warn () {
-    	 echo "$SELF:" "$@" >&2 | tee /dev/kmsg
-    }
-
-    die () {
-    	local return_code=$1
-	shift
-	warn "$@"
-	exit $return_code
-    }
-fi

+ 0 - 182
PCBA/board/funkey/rootfs-overlay/usr/share/alsa/utils.sh

@@ -1,182 +0,0 @@
-# Shell snippet.
-
-bugout() { echo "${MYNAME}: Programming error" >&2 ; exit 123 ; }
-
-echo_card_indices()
-{
-	if [ -f /proc/asound/cards ] ; then
-		sed -n -e's/^[[:space:]]*\([0-7]\)[[:space:]].*/\1/p' /proc/asound/cards
-	fi
-}
-
-filter_amixer_output()
-{
-	sed \
-		-e '/Unable to find simple control/d' \
-		-e '/Unknown playback setup/d' \
-		-e '/^$/d'
-}
-
-# The following functions try to set many controls.
-# No card has all the controls and so some of the attempts are bound to fail.
-# Because of this, the functions can't return useful status values.
-
-# $1 <control>
-# $2 <level>
-# $CARDOPT
-unmute_and_set_level()
-{
-	{ [ "$2" ] && [ "$CARDOPT" ] ; } || bugout
-	amixer $CARDOPT -q set "$1" "$2" unmute 2>&1 | filter_amixer_output || :
-	return 0
-}
-
-# $1 <control>
-# $CARDOPT
-mute_and_zero_level()
-{
-	{ [ "$1" ] && [ "$CARDOPT" ] ; } || bugout
-	amixer $CARDOPT -q set "$1" "0%" mute 2>&1 | filter_amixer_output || :
-	return 0
-}
-
-# $1 <control>
-# $2 "on" | "off"
-# $CARDOPT
-switch_control()
-{
-	{ [ "$2" ] && [ "$CARDOPT" ] ; } || bugout
-	amixer $CARDOPT -q set "$1" "$2" 2>&1 | filter_amixer_output || :
-	return 0
-}
-
-# $1 <card ID>
-sanify_levels_on_card()
-{
-	CARDOPT="-c $1"
-
-	unmute_and_set_level "Master" "80%"
-	unmute_and_set_level "Master Mono" "80%"   # See Bug#406047
-	unmute_and_set_level "Master Digital" "80%"   # E.g., cs4237B
-	unmute_and_set_level "Playback" "80%"
-	unmute_and_set_level "Headphone" "70%"
-	unmute_and_set_level "PCM" "80%"
-	unmute_and_set_level "PCM,1" "80%"   # E.g., ess1969
-	unmute_and_set_level "DAC" "80%"     # E.g., envy24, cs46xx
-	unmute_and_set_level "DAC,0" "80%"   # E.g., envy24
-	unmute_and_set_level "DAC,1" "80%"   # E.g., envy24
-	unmute_and_set_level "Synth" "80%"
-	unmute_and_set_level "CD" "80%"
-
-	mute_and_zero_level "Mic"
-	mute_and_zero_level "IEC958"         # Ubuntu #19648
-
-	# Intel P4P800-MX  (Ubuntu bug #5813)
-	switch_control "Master Playback Switch" on
-	switch_control "Master Surround" on
-
-	# Trident/YMFPCI/emu10k1:
-	unmute_and_set_level "Wave" "80%"
-	unmute_and_set_level "Music" "80%"
-	unmute_and_set_level "AC97" "80%"
-
-	# DRC:
-	unmute_and_set_level "Dynamic Range Compression" "80%"
-
-	# Required for HDA Intel (hda-intel):
-	unmute_and_set_level "Front" "80%"
-	unmute_and_set_level "Master Front" "80%"
-
-	# Required for SB Live 7.1/24-bit (ca0106):
-	unmute_and_set_level "Analog Front" "80%"
-
-	# Required at least for Via 823x hardware on DFI K8M800-MLVF Motherboard with kernels 2.6.10-3/4 (see ubuntu #7286):
-	switch_control "IEC958 Capture Monitor" off
-
-	# Required for hardware allowing toggles for AC97 through IEC958,
-	#  valid values are 0, 1, 2, 3. Needs to be set to 0 for PCM1.
-	unmute_and_set_level "IEC958 Playback AC97-SPSA" "0"
-
-	# Required for newer Via hardware (see Ubuntu #31784)
-	unmute_and_set_level "VIA DXS,0" "80%"
-	unmute_and_set_level "VIA DXS,1" "80%"
-	unmute_and_set_level "VIA DXS,2" "80%"
-	unmute_and_set_level "VIA DXS,3" "80%"
-
-	# Required on some notebooks with ICH4:
-	switch_control "Headphone Jack Sense" off
-	switch_control "Line Jack Sense" off
-
-	# Some machines need one or more of these to be on;
-	# others need one or more of these to be off:
-	#
-	# switch_control "External Amplifier" on
-	# switch_control "Audigy Analog/Digital Output Jack" on
-	# switch_control "SB Live Analog/Digital Output Jack" on
-	
-	# D1984 -- Thinkpad T61/X61
-	switch_control "Speaker" on
-	switch_control "Headphone" on
-
-	# HDA-Intel w/ "Digital" capture mixer (See Ubuntu #193823)
-	unmute_and_set_level "Digital" "80%"
-
-	# On MacBookPro5,3 and later models (See Bug#597791)
-	unmute_and_set_level "Front Speaker" "80%"
-	# On MacBook5,2 models (See Bug#602973)
-	unmute_and_set_level "LFE" "80%"
-
-	# On Intel 82801H (See Bug#603550)
-	unmute_and_set_level "Speaker" "80%"
-
-	return 0
-}
-
-# $1 <card ID> | "all"
-sanify_levels()
-{
-	TTSDML_RETURNSTATUS=0
-	case "$1" in
-	  all)
-		for CARD in $(echo_card_indices) ; do
-			sanify_levels_on_card "$CARD" || TTSDML_RETURNSTATUS=1
-		done
-		;;
-	  *)
-		sanify_levels_on_card "$1" || TTSDML_RETURNSTATUS=1
-		;;
-	esac
-	return $TTSDML_RETURNSTATUS
-}
-
-# $1 <card ID>
-preinit_levels_on_card()
-{
-	CARDOPT="-c $1"
-
-	# Silly dance to activate internal speakers by default on PowerMac
-	# Snapper and Tumbler
-	id=$(cat /proc/asound/card$1/id 2>/dev/null)
-	if [ "$id" = "Snapper" -o "$id" = "Tumbler" ]; then
-		switch_control "Auto Mute" off
-		switch_control "PC Speaker" off
-		switch_control "Auto Mute" on
-	fi
-}
-
-# $1 <card ID> | "all"
-preinit_levels()
-{
-	TTSDML_RETURNSTATUS=0
-	case "$1" in
-	  all)
-		for CARD in $(echo_card_indices) ; do
-			preinit_levels_on_card "$CARD" || TTSDML_RETURNSTATUS=1
-		done
-		;;
-	  *)
-		preinit_levels_on_card "$1" || TTSDML_RETURNSTATUS=1
-		;;
-	esac
-	return $TTSDML_RETURNSTATUS
-}

+ 0 - 162
PCBA/board/funkey/rootfs-overlay/var/lib/alsa/asound.state

@@ -1,162 +0,0 @@
-state.Codec {
-	control.1 {
-		iface MIXER
-		name 'DAC Playback Volume'
-		value 51
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '0 - 63'
-			dbmin -7308
-			dbmax 0
-			dbvalue.0 -1392
-		}
-	}
-	control.2 {
-		iface MIXER
-		name 'Headphone Playback Volume'
-		value 50
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '0 - 63'
-			dbmin -9999999
-			dbmax 0
-			dbvalue.0 -1300
-		}
-	}
-	control.3 {
-		iface MIXER
-		name 'Headphone Playback Switch'
-		value.0 true
-		value.1 true
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 2
-		}
-	}
-	control.4 {
-		iface MIXER
-		name 'Mic1 Playback Volume'
-		value 3
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '0 - 7'
-			dbmin -450
-			dbmax 600
-			dbvalue.0 0
-		}
-	}
-	control.5 {
-		iface MIXER
-		name 'Mic1 Boost Volume'
-		value 4
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '0 - 7'
-			dbmin 0
-			dbmax 4200
-			dbvalue.0 3300
-		}
-	}
-	control.6 {
-		iface MIXER
-		name 'ADC Gain Capture Volume'
-		value 3
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '0 - 7'
-			dbmin -450
-			dbmax 600
-			dbvalue.0 0
-		}
-	}
-	control.7 {
-		iface MIXER
-		name 'DAC Playback Switch'
-		value.0 true
-		value.1 true
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 2
-		}
-	}
-	control.8 {
-		iface MIXER
-		name 'DAC Reversed Playback Switch'
-		value.0 false
-		value.1 false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 2
-		}
-	}
-	control.9 {
-		iface MIXER
-		name 'Mic1 Playback Switch'
-		value.0 false
-		value.1 false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 2
-		}
-	}
-	control.10 {
-		iface MIXER
-		name 'Mixer Capture Switch'
-		value.0 false
-		value.1 false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 2
-		}
-	}
-	control.11 {
-		iface MIXER
-		name 'Mixer Reversed Capture Switch'
-		value.0 false
-		value.1 false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 2
-		}
-	}
-	control.12 {
-		iface MIXER
-		name 'Mic1 Capture Switch'
-		value.0 false
-		value.1 false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 2
-		}
-	}
-	control.13 {
-		iface MIXER
-		name 'Headphone Source Playback Route'
-		value.0 DAC
-		value.1 DAC
-		comment {
-			access 'read write'
-			type ENUMERATED
-			count 2
-			item.0 DAC
-			item.1 Mixer
-		}
-	}
-}

+ 0 - 53
PCBA/board/funkey/uboot.config

@@ -1,53 +0,0 @@
-CONFIG_ARM=y
-CONFIG_ARCH_SUNXI=y
-# CONFIG_SPL_LIBDISK_SUPPORT is not set
-# CONFIG_SPL_MMC_SUPPORT is not set
-# CONFIG_SPL_POWER_SUPPORT is not set
-# CONFIG_ARMV7_NONSEC is not set
-CONFIG_IDENT_STRING=" FunKey PCBA"
-# CONFIG_PRE_CONSOLE_BUFFER is not set
-CONFIG_MACH_SUN8I_V3S=y
-CONFIG_DRAM_CLK=360
-CONFIG_DRAM_ZQ=14779
-# CONFIG_MMC is not set
-# CONFIG_VIDEO is not set
-CONFIG_DEFAULT_DEVICE_TREE="sun8i-v3s-funkey"
-CONFIG_LOCALVERSION="-funkey_PCBA"
-# CONFIG_DISTRO_DEFAULTS is not set
-# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_BOOTDELAY=0
-CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_SYS_STDIO_DEREGISTER=y
-# CONFIG_DISPLAY_CPUINFO is not set
-# CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_SPL=y
-CONFIG_HUSH_PARSER=y
-# CONFIG_CMD_BDI is not set
-# CONFIG_CMD_CONSOLE is not set
-# CONFIG_CMD_BOOTD is not set
-# CONFIG_CMD_BOOTM is not set
-CONFIG_CMD_BOOTZ=y
-# CONFIG_CMD_ELF is not set
-# CONFIG_CMD_GO is not set
-# CONFIG_CMD_IMI is not set
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_XIMG is not set
-# CONFIG_CMD_EXPORTENV is not set
-# CONFIG_CMD_IMPORTENV is not set
-# CONFIG_CMD_EDITENV is not set
-# CONFIG_CMD_SAVEENV is not set
-# CONFIG_CMD_ENV_EXISTS is not set
-# CONFIG_CMD_MEMORY is not set
-# CONFIG_CMD_CRC32 is not set
-# CONFIG_CMD_DM is not set
-# CONFIG_CMD_LOADB is not set
-# CONFIG_CMD_LOADS is not set
-# CONFIG_CMD_FLASH is not set
-# CONFIG_CMD_FPGA is not set
-# CONFIG_CMD_ITEST is not set
-# CONFIG_CMD_SETEXPR is not set
-# CONFIG_CMD_NET is not set
-# CONFIG_CMD_NFS is not set
-# CONFIG_CMD_MISC is not set
-CONFIG_SPL_OF_LIBFDT=y
-# CONFIG_EFI_LOADER is not set

+ 0 - 0
PCBA/board/funkey/users_table.txt


+ 0 - 64
PCBA/configs/funkey_defconfig

@@ -1,64 +0,0 @@
-BR2_arm=y
-BR2_cortex_a7=y
-BR2_DL_DIR="$(BR2_EXTERNAL_FUNKEY_PATH)/dl"
-BR2_CCACHE=y
-BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/patches"
-BR2_TOOLCHAIN_EXTERNAL=y
-BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY=y
-BR2_TARGET_GENERIC_HOSTNAME="FunKey"
-BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the FunKey"
-BR2_ROOTFS_DEVICE_TABLE="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/device_table.txt"
-BR2_TARGET_GENERIC_ROOT_PASSWD="funkey"
-BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
-BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
-BR2_ROOTFS_USERS_TABLES="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/users_table.txt"
-BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/rootfs-overlay"
-BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/post-build.sh"
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Lichee-Pi/linux"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="cda44c146b9b87290bc7c636ffa7d88cbfb03ace"
-BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/linux.config"
-BR2_LINUX_KERNEL_LZMA=y
-BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-v3s-funkey"
-BR2_PACKAGE_LINUX_TOOLS_GPIO=y
-BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/busybox.config"
-BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
-BR2_PACKAGE_ALSA_UTILS=y
-BR2_PACKAGE_ALSA_UTILS_ALSACONF=y
-BR2_PACKAGE_ALSA_UTILS_ACONNECT=y
-BR2_PACKAGE_ALSA_UTILS_ALSALOOP=y
-BR2_PACKAGE_ALSA_UTILS_ALSAUCM=y
-BR2_PACKAGE_ALSA_UTILS_ALSATPLG=y
-BR2_PACKAGE_ALSA_UTILS_AMIDI=y
-BR2_PACKAGE_ALSA_UTILS_AMIXER=y
-BR2_PACKAGE_ALSA_UTILS_APLAY=y
-BR2_PACKAGE_ALSA_UTILS_APLAYMIDI=y
-BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI=y
-BR2_PACKAGE_ALSA_UTILS_ASEQDUMP=y
-BR2_PACKAGE_ALSA_UTILS_ASEQNET=y
-BR2_PACKAGE_ALSA_UTILS_BAT=y
-BR2_PACKAGE_ALSA_UTILS_IECSET=y
-BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST=y
-BR2_PACKAGE_AUMIX=y
-BR2_PACKAGE_LIBGPIOD=y
-BR2_PACKAGE_LIBGPIOD_TOOLS=y
-# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
-BR2_TARGET_ROOTFS_CPIO_LZMA=y
-BR2_TARGET_ROOTFS_CPIO_UIMAGE=y
-BR2_TARGET_ROOTFS_INITRAMFS=y
-# BR2_TARGET_ROOTFS_TAR is not set
-BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
-BR2_TARGET_UBOOT_CUSTOM_GIT=y
-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Lichee-Pi/u-boot"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="32ab1804cd7c5858be8009e35ca07502dc8765c7"
-BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y
-BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/uboot.config"
-BR2_TARGET_UBOOT_NEEDS_DTC=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
-BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
-BR2_TARGET_UBOOT_BOOT_SCRIPT=y
-BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE="$(BR2_EXTERNAL_FUNKEY_PATH)/board/funkey/boot.cmd"

+ 0 - 2
PCBA/external.desc

@@ -1,2 +0,0 @@
-name: FUNKEY
-desc: FunKey packages

+ 0 - 1
PCBA/external.mk

@@ -1 +0,0 @@
-include $(sort $(wildcard $(BR2_EXTERNAL_FUNKEY_PATH)/package/*/*.mk))