diff --git a/device/config/chips/f133/configs/mq_r/linux-5.4/board.dts b/device/config/chips/f133/configs/mq_r/linux-5.4/board.dts index a0795fc..7c7a83b 100755 --- a/device/config/chips/f133/configs/mq_r/linux-5.4/board.dts +++ b/device/config/chips/f133/configs/mq_r/linux-5.4/board.dts @@ -529,7 +529,7 @@ clock-names = "32k-fanout1"; clocks = <&ccu CLK_FANOUT1_OUT>; wlan_busnum = <0x1>; - wlan_regon = <&pio PE 3 GPIO_ACTIVE_HIGH>; + wlan_regon = <&pio PG 12 GPIO_ACTIVE_HIGH>; wlan_hostwake = <&pio PG 10 GPIO_ACTIVE_HIGH>; /*wlan_power = "VCC-3V3";*/ /*wlan_power_vol = <3300000>;*/ @@ -615,7 +615,7 @@ /*vdmmc33sw-supply = <®_dcdc1>;*/ /*vqmmc18sw-supply = <®_eldo1>;*/ /*vdmmc18sw-supply = <®_eldo1>;*/ - status = "disabled"; + status = "okay"; }; &sdc1 { diff --git a/device/config/chips/f133/configs/mq_r/linux-5.4/config-5.4 b/device/config/chips/f133/configs/mq_r/linux-5.4/config-5.4 index 4b32e12..255f485 100755 --- a/device/config/chips/f133/configs/mq_r/linux-5.4/config-5.4 +++ b/device/config/chips/f133/configs/mq_r/linux-5.4/config-5.4 @@ -929,9 +929,10 @@ CONFIG_WLAN=y # CONFIG_WLAN_VENDOR_ZYDAS is not set # CONFIG_WLAN_VENDOR_QUANTENNA is not set # CONFIG_XR829_WLAN is not set -CONFIG_XR819S_WLAN=m +# CONFIG_XR819S_WLAN is not set # CONFIG_RTL8821CS is not set -# CONFIG_RTL8723DS is not set +CONFIG_RTL8723DS=m +CONFIG_RTL8189FS=m # CONFIG_SPARD_WLAN_SUPPORT is not set # CONFIG_BCMDHD is not set # CONFIG_AIC_WLAN_SUPPORT is not set @@ -2791,9 +2792,17 @@ CONFIG_NVMEM_SUNXI_SID=y # File systems # # CONFIG_VALIDATE_FS_PARSER is not set +CONFIG_FS_IOMAP=y # CONFIG_EXT2_FS is not set # CONFIG_EXT3_FS is not set -# CONFIG_EXT4_FS is not set +CONFIG_EXT4_FS=y +CONFIG_EXT4_USE_FOR_EXT2=y +# CONFIG_EXT4_FS_POSIX_ACL is not set +# CONFIG_EXT4_FS_SECURITY is not set +# CONFIG_EXT4_DEBUG is not set +CONFIG_JBD2=y +# CONFIG_JBD2_DEBUG is not set +CONFIG_FS_MBCACHE=y # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_XFS_FS is not set diff --git a/device/config/chips/f133/configs/mq_r/sys_partition.fex b/device/config/chips/f133/configs/mq_r/sys_partition.fex index eedf7b2..04db8c8 100755 --- a/device/config/chips/f133/configs/mq_r/sys_partition.fex +++ b/device/config/chips/f133/configs/mq_r/sys_partition.fex @@ -59,7 +59,7 @@ size = 16384 [partition] name = rootfs - size = 53760 + size = 61440 downloadfile = "rootfs.fex" user_type = 0x8000 @@ -70,13 +70,15 @@ size = 16384 ; user_type = 0x8000 [partition] - name = recovery - size = 19840 + name = private + size = 10240 user_type = 0x8000 [partition] name = rootfs_data - size = 10240 + size = 50400 user_type = 0x8000 - +[partition] + name = UDISK + user_type = 0x8100 diff --git a/device/config/chips/t113/configs/mq_r/linux-5.4/board.dts b/device/config/chips/t113/configs/mq_r/linux-5.4/board.dts index 147e44d..0513825 100755 --- a/device/config/chips/t113/configs/mq_r/linux-5.4/board.dts +++ b/device/config/chips/t113/configs/mq_r/linux-5.4/board.dts @@ -535,7 +535,7 @@ /*bt_io_regulator = "axp803-dldo1";*/ /*bt_io_vol = <3300000>;*/ /*bt_power_vol = <330000>;*/ - bt_rst_n = <&pio PG 15 GPIO_ACTIVE_LOW>; + bt_rst_n = <&pio PG 18 GPIO_ACTIVE_LOW>; status = "disabled"; }; }; diff --git a/device/config/chips/t113/configs/mq_r/sys_partition.fex b/device/config/chips/t113/configs/mq_r/sys_partition.fex index 5210a27..dd52f20 100755 --- a/device/config/chips/t113/configs/mq_r/sys_partition.fex +++ b/device/config/chips/t113/configs/mq_r/sys_partition.fex @@ -54,7 +54,7 @@ size = 16384 [partition] name = boot - size = 8064 + size = 12800 downloadfile = "boot.fex" user_type = 0x8000 diff --git a/package b/package index f66197b..7f4072c 160000 --- a/package +++ b/package @@ -1 +1 @@ -Subproject commit f66197bc38a896fd1701d53b6343051bd10ad014 +Subproject commit 7f4072cfded97aef8d6ace123056f9f8a7dcebfc diff --git a/target/allwinner/f133-common/modules.mk b/target/allwinner/f133-common/modules.mk index 5dbef9e..be39033 100755 --- a/target/allwinner/f133-common/modules.mk +++ b/target/allwinner/f133-common/modules.mk @@ -231,6 +231,24 @@ endef $(eval $(call KernelPackage,net-rtl8723ds)) +define KernelPackage/net-rtl8189fs + SUBMENU:=$(WIRELESS_MENU) + TITLE:=RTL8189FS support (staging) + DEPENDS:= +kmod-sunxi-rf-wlan +kmod-cfg80211 + KCONFIG:=\ + CONFIG_RFKILL=y \ + CONFIG_RFKILL_PM=y \ + CONFIG_RFKILL_GPIO=y + FILES:=$(LINUX_DIR)/drivers/net/wireless/rtl8189fs/8189fs.ko + AUTOLOAD:=$(call AutoProbe, 8189fs.ko) +endef + +define KernelPackage/net-rtl8189fs/description + Kernel modules for RealTek RTL8189FS support +endef + +$(eval $(call KernelPackage,net-rtl8189fs)) + define KernelPackage/net-rtl8821cs SUBMENU:=$(WIRELESS_MENU) TITLE:=RTL8821CS support (staging) diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S00mpp b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S00mpp deleted file mode 100755 index fefef71..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S00mpp +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# -# Load mpp modules.... -# - -MODULES_DIR="/lib/modules/`uname -r`" - -start() { - printf "Load mpp modules\n" - insmod $MODULES_DIR/videobuf2-core.ko - insmod $MODULES_DIR/videobuf2-memops.ko - insmod $MODULES_DIR/videobuf2-dma-contig.ko - insmod $MODULES_DIR/videobuf2-v4l2.ko - insmod $MODULES_DIR/vin_io.ko -# insmod $MODULES_DIR/sensor_power.ko - insmod $MODULES_DIR/imx386_mipi.ko - insmod $MODULES_DIR/vin_v4l2.ko - insmod $MODULES_DIR/sunxi_aio.ko - insmod $MODULES_DIR/sunxi_eise.ko -} - -stop() { - printf "Unload mpp modules\n" - rmmod $MODULES_DIR/sunxi_eise.ko - rmmod $MODULES_DIR/sunxi_aio.ko - rmmod $MODULES_DIR/vin_v4l2.ko - rmmod $MODULES_DIR/imx386_mipi.ko -# rmmod $MODULES_DIR/sensor_power.ko - rmmod $MODULES_DIR/vin_io.ko - rmmod $MODULES_DIR/videobuf2-v4l2.ko - rmmod $MODULES_DIR/videobuf2-dma-contig.ko - rmmod $MODULES_DIR/videobuf2-memops.ko - rmmod $MODULES_DIR/videobuf2-core.ko -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - stop - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S01logging b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S01logging deleted file mode 100755 index 4632a4c..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S01logging +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# Start logging -# - -SYSLOGD_ARGS=-n -KLOGD_ARGS=-n -[ -r /etc/default/logging ] && . /etc/default/logging - -start() { - printf "Starting logging: " - start-stop-daemon -b -S -q -m -p /var/run/syslogd.pid --exec /sbin/syslogd -- $SYSLOGD_ARGS - start-stop-daemon -b -S -q -m -p /var/run/klogd.pid --exec /sbin/klogd -- $KLOGD_ARGS - echo "OK" -} - -stop() { - printf "Stopping logging: " - start-stop-daemon -K -q -p /var/run/syslogd.pid - start-stop-daemon -K -q -p /var/run/klogd.pid - echo "OK" -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - stop - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S10udev b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S10udev deleted file mode 100755 index 8382bec..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S10udev +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# udev This is a minimal non-LSB version of a UDEV startup script. It -# was derived by stripping down the udev-058 LSB version for use -# with buildroot on embedded hardware using Linux 2.6.34+ kernels. -# -# You may need to customize this for your system's resource limits -# (including startup time!) and administration. For example, if -# your early userspace has a custom initramfs or initrd you might -# need /dev much earlier; or without hotpluggable busses (like USB, -# PCMCIA, MMC/SD, and so on) your /dev might be static after boot. -# -# This script assumes your system boots right into the eventual root -# filesystem, and that init runs this udev script before any programs -# needing more device nodes than the bare-bones set -- /dev/console, -# /dev/zero, /dev/null -- that's needed to boot and run this script. -# - -# Check for missing binaries -UDEV_BIN=/sbin/udevd -test -x $UDEV_BIN || exit 5 - -# Check for config file and read it -UDEV_CONFIG=/etc/udev/udev.conf -test -r $UDEV_CONFIG || exit 6 -. $UDEV_CONFIG - -case "$1" in - start) - printf "Populating ${udev_root:-/dev} using udev: " - printf '\000\000\000\000' > /proc/sys/kernel/hotplug - $UDEV_BIN -d || (echo "FAIL" && exit 1) - udevadm trigger --type=subsystems --action=add - udevadm trigger --type=devices --action=add - udevadm settle --timeout=30 || echo "udevadm settle failed" - echo "done" - ;; - stop) - # Stop execution of events - udevadm control --stop-exec-queue - killall udevd - ;; - *) - echo "Usage: $0 {start|stop}" - exit 1 - ;; -esac - - -exit 0 diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S11dev b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S11dev deleted file mode 100755 index c6ef5e9..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S11dev +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -# mk missing dev node - -start() { - mkdir /dev/pts - mkdir /dev/shm - mount -t devpts /dev/pts /dev/pts -} - -stop() { - echo "stop..." -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - stop - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? - diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S20urandom b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S20urandom deleted file mode 100755 index 2f5b4e4..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S20urandom +++ /dev/null @@ -1,51 +0,0 @@ -#! /bin/sh -# -# urandom This script saves the random seed between reboots. -# It is called from the boot, halt and reboot scripts. -# -# Version: @(#)urandom 1.33 22-Jun-1998 miquels@cistron.nl -# - -[ -c /dev/urandom ] || exit 0 -#. /etc/default/rcS - -case "$1" in - start|"") - # check for read only file system - if ! touch /etc/random-seed 2>/dev/null - then - echo "read-only file system detected...done" - exit - fi - if [ "$VERBOSE" != no ] - then - printf "Initializing random number generator... " - fi - # Load and then save 512 bytes, - # which is the size of the entropy pool - cat /etc/random-seed >/dev/urandom - rm -f /etc/random-seed - umask 077 - dd if=/dev/urandom of=/etc/random-seed count=1 \ - >/dev/null 2>&1 || echo "urandom start: failed." - umask 022 - [ "$VERBOSE" != no ] && echo "done." - ;; - stop) - if ! touch /etc/random-seed 2>/dev/null - then - exit - fi - # Carry a random seed from shut-down to start-up; - # see documentation in linux/drivers/char/random.c - [ "$VERBOSE" != no ] && printf "Saving random seed... " - umask 077 - dd if=/dev/urandom of=/etc/random-seed count=1 \ - >/dev/null 2>&1 || echo "urandom stop: failed." - [ "$VERBOSE" != no ] && echo "done." - ;; - *) - echo "Usage: urandom {start|stop}" >&2 - exit 1 - ;; -esac diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S40network b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S40network deleted file mode 100755 index f2f0d3a..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S40network +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# -# Start the network.... -# - -# Debian ifupdown needs the /run/network lock directory -mkdir -p /run/network - -MAC_ADDR="`cat /sys/class/sunxi_info/sys_info | awk '$1=="sunxi_chipid" {print $3}' | sed 's/../&:/g' | cut -c1-14`" - -case "$1" in - start) - printf "Starting network: " - /sbin/ifup -a - [ $? = 0 ] && echo "OK" || echo "FAIL" - /sbin/ifconfig eth0 hw ether "00:$MAC_ADDR" - udhcpc -b -R & - ;; - stop) - printf "Stopping network: " - /sbin/ifdown -a - [ $? = 0 ] && echo "OK" || echo "FAIL" - ;; - restart|reload) - "$0" stop - "$0" start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? - diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S41netparam b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S41netparam deleted file mode 100755 index e1e4a1b..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S41netparam +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# -# Config network parameters.... -# - -echo "307200" > /proc/sys/net/core/wmem_max -echo "307200" > /proc/sys/net/core/wmem_default -echo "0" > /proc/sys/net/ipv4/tcp_low_latency -echo "16288" > /proc/sys/net/ipv4/udp_wmem_min -echo "60" > /proc/sys/net/ipv4/tcp_keepalive_intvl -echo "2" > /proc/sys/net/ipv4/tcp_keepalive_probes -echo "180" > /proc/sys/net/ipv4/tcp_keepalive_time - -exit $? - diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S50telnet b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S50telnet deleted file mode 100755 index 47e2b63..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S50telnet +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# Start telnet.... -# - -start() { - printf "Starting telnetd: " - start-stop-daemon -S -q -m -b -p /var/run/telnetd.pid \ - -x /usr/sbin/telnetd -- -F - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -stop() { - printf "Stopping telnetd: " - start-stop-daemon -K -q -p /var/run/telnetd.pid \ - -x /usr/sbin/telnetd - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - stop - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S50usb b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S50usb deleted file mode 100755 index 2aa8946..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/S50usb +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh - -MODULES_DIR="/lib/modules/`uname -r`" - -run(){ - while [ 1 ] - do - sleep 1 - otg_role=`cat /sys/devices/platform/soc/usbc0/otg_role` - if [ "$otg_role" = "usb_device" ] - then - if [ $isudc == 0 ] - then - echo $udc > /sys/kernel/config/usb_gadget/g1/UDC - isudc=1 - fi - else - isudc=0 - fi - done -} - -start() { - echo "enable android usb" - - insmod $MODULES_DIR/sunxi_usb_udc.ko - insmod $MODULES_DIR/sunxi_usbc.ko - - mount -t configfs none /sys/kernel/config - mkdir /sys/kernel/config/usb_gadget/g1 - echo "0x18d1" > /sys/kernel/config/usb_gadget/g1/idVendor - echo "0x0002" > /sys/kernel/config/usb_gadget/g1/idProduct - mkdir /sys/kernel/config/usb_gadget/g1/strings/0x409 - echo "20080411" > /sys/kernel/config/usb_gadget/g1/strings/0x409/serialnumber - echo "Android" > /sys/kernel/config/usb_gadget/g1/strings/0x409/manufacturer - - mkdir /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0 - mkdir -p /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p - echo 1280 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/wWidth - echo 720 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/wHeight - echo 333333 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwFrameInterval - echo 333333 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwDefaultFrameInterval - echo 442368000 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMinBitRate - echo 442368000 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMaxBitRate - echo 1843200 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMaxVideoFrameBufferSize - mkdir /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h/ - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/class/fs - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/class/hs - mkdir /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/header/h - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/header/h/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/class/fs/ - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/header/h/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/class/ss/ - - mkdir /sys/kernel/config/usb_gadget/g1/configs/c.1 - echo 0xc0 > /sys/kernel/config/usb_gadget/g1/configs/c.1/bmAttributes - echo 500 > /sys/kernel/config/usb_gadget/g1/configs/c.1/MaxPower - mkdir /sys/kernel/config/usb_gadget/g1/configs/c.1/strings/0x409 - mkdir /sys/kernel/config/usb_gadget/g1/functions/ffs.adb - ln -s /sys/kernel/config/usb_gadget/g1/functions/ffs.adb/ /sys/kernel/config/usb_gadget/g1/configs/c.1/ffs.adb - mkdir /sys/kernel/config/usb_gadget/g1/functions/mass_storage.usb0 - ln -s /sys/kernel/config/usb_gadget/g1/functions/mass_storage.usb0/ /sys/kernel/config/usb_gadget/g1/configs/c.1/mass_storage.usb0 - mkdir /dev/usb-ffs - mkdir /dev/usb-ffs/adb - mount -o uid=2000,gid=2000 -t functionfs adb /dev/usb-ffs/adb/ - adbd > /dev/null & - sleep 2 - udc=`ls /sys/class/udc` - isudc=0 - echo $udc > /sys/kernel/config/usb_gadget/g1/UDC -} - -stop() { - echo "disable android usb" - - killall adbd 2>/dev/null - - echo > /sys/kernel/config/usb_gadget/g1/UDC - rm -f /sys/kernel/config/usb_gadget/g1/configs/c.1/mass_storage.usb0 - rm -f /sys/kernel/config/usb_gadget/g1/configs/c.1/uvc.usb0 - - rmmod $MODULES_DIR/sunxi_usbc.ko - rmmod $MODULES_DIR/sunxi_usb_udc.ko -} - -case "$1" in - start) - start - ;; - stop) - # stop - ;; - restart|reload) - stop - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? - diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/load_script.conf b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/load_script.conf index 2d76b40..eff99d5 100755 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/load_script.conf +++ b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/load_script.conf @@ -1,2 +1 @@ -adbd -wpa_supplicant \ No newline at end of file +adbd \ No newline at end of file diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/rc.final b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/rc.final index 4ff1179..590a755 100755 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/rc.final +++ b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/rc.final @@ -6,59 +6,4 @@ echo "------run rc.final file-----" #insmod /lib/modules/3.4.39/bcmdhd.ko #insmod /lib/modules/3.4.39/xradio_mac.ko #insmod /lib/modules/3.4.39/xradio_core.ko -#insmod /lib/modules/3.4.39/xradio_wlan.ko - -#export LD_LIBRARY_PATH=/usr/lib/eyesee-mpp:${LD_LIBRARY_PATH} -#ulimit -c unlimited -#echo /mnt/extsd/core.exe[%e].pid[%p].sig[%s] > /proc/sys/kernel/core_pattern - -#for i in /etc/init.d/S??* ;do - - # Ignore dangling symlinks (if any). -# [ ! -f "$i" ] && continue - -# case "$i" in -# *.sh) - # Source shell script for speed. -# ( -# trap - INT QUIT TSTP -# set start -# . $i -# ) -# ;; -# *) - # No sh extension, so fork subprocess. -# $i start -# ;; -# esac -#done - -#if [ -z "$(grep '\' /proc/mounts)" ]; then -# ! /bin/mount -t vfat /dev/mmcblk0 /mnt/extsd 2>/dev/null && -# /bin/mount -t vfat /dev/mmcblk0p1 /mnt/extsd -#fi -#free > /dev/console -#mount -t debugfs none /tmp -#echo lcd0 > /tmp/dispdbg/name -#echo disable > /tmp/dispdbg/command -#echo 1 > /tmp/dispdbg/start -#echo enable > /tmp/dispdbg/command -#echo 1 > /tmp/dispdbg/start -#umount /tmp -if [ x${boot_partition} == xboot ];then - amixer cset name="Headphone Switch" 1 - cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host - nice -n -20 /usr/bin/story_bin & - /etc/init.d/ntpd start -else - cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host - export swu_software=$(fw_printenv -n swu_software 2>/dev/null) - export swu_mode=$(fw_printenv -n swu_mode 2>/dev/null) - nice -n -20 /usr/bin/story_ota_bin & -fi -if [ -e /tmp/private/ ]; then - echo "clear private mount info" - umount /tmp/private/ - rm -rf /tmp/private - ubiblock -r /dev/by-name/private -fi +#insmod /lib/modules/3.4.39/xradio_wlan.ko \ No newline at end of file diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/rc.modules b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/rc.modules index f333208..4f9f800 100755 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/rc.modules +++ b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/init.d/rc.modules @@ -1,10 +1,13 @@ #!/bin/sh echo "------run rc.modules file-----" -export boot_partition=$(fw_printenv -n boot_partition 2>/dev/null) -if [ x${boot_partition} == xboot ];then +#export boot_partition=$(fw_printenv -n boot_partition 2>/dev/null) +# if [ x${boot_partition} == xboot ];then /sbin/insmod /lib/modules/5.4.61/usb-storage.ko /sbin/insmod /lib/modules/5.4.61/sunxi_gpadc.ko - /sbin/insmod /lib/modules/5.4.61/gt9xxnew_ts.ko +# /sbin/insmod /lib/modules/5.4.61/gt9xxnew_ts.ko echo 0x07090160 0x083F10F7 > /sys/class/sunxi_dump/write - /sbin/insmod /lib/modules/5.4.61/xr819s.ko -fi +# /sbin/insmod /lib/modules/5.4.61/8723ds.ko + /sbin/insmod /lib/modules/5.4.61/8189fs.ko + sleep 4 + wpa_supplicant -Dnl80211 -iwlan0 -c /etc/wifi/wpa_supplicant.conf -B +# fi diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/inittab b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/inittab index d4aec14..77b4ae4 100644 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/inittab +++ b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/inittab @@ -14,14 +14,14 @@ # process == program to run # Startup the system -::sysinit:/etc/preinit -::sysinit:/bin/mount -t proc proc /proc -::sysinit:/bin/mount -t tmpfs tmpfs /run +#::sysinit:/etc/preinit +#::sysinit:/bin/mount -t proc proc /proc +#::sysinit:/bin/mount -t tmpfs tmpfs /run ::sysinit:/bin/mount -o remount,rw / ::sysinit:/bin/mkdir -p /dev/pts ::sysinit:/bin/mkdir -p /dev/shm ::sysinit:/bin/mount -a -::sysinit:/bin/hostname -F /etc/hostname +#::sysinit:/bin/hostname -F /etc/hostname # now run any rc scripts #::sysinit:/etc/init.d/rcS ::sysinit:/etc/init.d/rcS boot diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/profile b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/profile index 13fcdbe..d07e67f 100755 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/profile +++ b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/profile @@ -21,7 +21,6 @@ export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_TSDEVICE=/dev/input/event3 ulimit -c unlimited -ulimit -s 512 grep debugfs /proc/filesystems && mount -t debugfs none /sys/kernel/debug alias usbhost="cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host" alias usbdevice="cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_device" diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/resolv.conf b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/resolv.conf new file mode 100644 index 0000000..e0ab072 --- /dev/null +++ b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/resolv.conf @@ -0,0 +1,2 @@ +nameserver 8.8.8.8 +nameserver 114.114.114.114 \ No newline at end of file diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/smt_cycle_sleep_wakeup.sh b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/smt_cycle_sleep_wakeup.sh deleted file mode 100755 index bc396a1..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/smt_cycle_sleep_wakeup.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/ash - -cycle_sleep() -{ - i=0; - echo 0 > /proc/sys/kernel/printk; - #echo 8 > /proc/sys/kernel/printk; - #echo N > /sys/module/printk/parameters/console_suspend; - #echo Y > /sys/module/kernel/parameters/initcall_debug; - while true; do - if [ -f '/sys/power/wakeup_count' ] ; then - cnt=$(cat /sys/power/wakeup_count); - echo "Read wakeup_count: $cnt"; - echo $cnt > /sys/power/wakeup_count; - - if [ $? -eq 0 ] ; then - echo "###########"; - echo "#####times: $((i++))"; - echo "###########"; - echo +1 > /sys/class/rtc/rtc0/wakealarm; - echo mem > /sys/power/state; - continue; - else - echo "Error: write wakeup_count($cnt)"; - sleep 1; - continue; - fi - else - echo "Error: File wakeup_count not exist"; - break; - fi - done -} - -test() -{ - echo "start----------------" -} - -cycle_sleep diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/smt_sleep.sh b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/smt_sleep.sh deleted file mode 100755 index fb124e0..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/smt_sleep.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/ash - -smt_sleep() -{ - while true; do - if [ -f '/sys/power/wakeup_count' ] ; then - cnt=$(cat /sys/power/wakeup_count); - echo "Read wakeup_count: $cnt"; - echo $cnt > /sys/power/wakeup_count; - - if [ $? -eq 0 ] ; then - echo mem > /sys/power/state; - break; - else - echo "Error: write wakeup_count($cnt)"; - sleep 1; - continue; - fi - else - echo "Error: File wakeup_count not exist"; - break; - fi - done -} - -smt_sleep diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/test/tvincameratest.sh b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/test/tvincameratest.sh deleted file mode 100755 index c9f278d..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/test/tvincameratest.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -i=0 - -echo "############" -echo "test begin" -echo "############" - -while true; do - - if [ "$i" -eq "$1" ] ; then - echo "############" - echo "TEST CAMERA OK" - echo "############" - break - fi - - echo "total_times=$1, times:$i"; - camerademo NV12 640 480 25 bmp /tmp 3 4 - - i=$(($i + 1)) - sleep 1 -done diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/test/uvccameratest.sh b/target/allwinner/f133-mq_r/busybox-init-base-files/etc/test/uvccameratest.sh deleted file mode 100755 index 105b0ca..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files/etc/test/uvccameratest.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -i=0 - -echo "############" -echo "test begin" -echo "############" - -while true; do - - if [ "$i" -eq "$1" ] ; then - echo "############" - echo "TEST CAMERA OK" - echo "############" - break - fi - - echo "total_times=$1, times:$i"; - camerademo YUYV 640 480 25 bmp /tmp 3 0 - - i=$(($i + 1)) - sleep 1 -done diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Chongqing b/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Chongqing deleted file mode 100755 index 8a7a28a..0000000 Binary files a/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Chongqing and /dev/null differ diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Hong_Kong b/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Hong_Kong deleted file mode 100755 index 8b6c071..0000000 Binary files a/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Hong_Kong and /dev/null differ diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Shanghai b/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Shanghai deleted file mode 100755 index 240c4c6..0000000 Binary files a/target/allwinner/f133-mq_r/busybox-init-base-files/usr/share/zoneinfo/Asia/Shanghai and /dev/null differ diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files_generate/S50usbcam b/target/allwinner/f133-mq_r/busybox-init-base-files_generate/S50usbcam deleted file mode 100755 index 30aaf27..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files_generate/S50usbcam +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -MODULES_DIR="/lib/modules/`uname -r`" - -run(){ - while [ 1 ] - do - sleep 1 - otg_role=`cat /sys/devices/platform/soc/usbc0/otg_role` - if [ "$otg_role" = "usb_device" ] - then - if [ $isudc == 0 ] - then - echo $udc > /sys/kernel/config/usb_gadget/g1/UDC - isudc=1 - fi - else - isudc=0 - fi - done -} - -start() { - echo "enable android usb" - - insmod $MODULES_DIR/sunxi_usb_udc.ko - insmod $MODULES_DIR/sunxi_usbc.ko - - mount -t configfs none /sys/kernel/config - mkdir /sys/kernel/config/usb_gadget/g1 - echo "0x1f3a" > /sys/kernel/config/usb_gadget/g1/idVendor - echo "0x100d" > /sys/kernel/config/usb_gadget/g1/idProduct - mkdir /sys/kernel/config/usb_gadget/g1/strings/0x409 - mkdir /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0 - mkdir -p /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p - echo 1280 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/wWidth - echo 720 > /sys/kernel/config/usb_akegadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/wHeight - echo 333333 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwFrameInterval - echo 333333 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwDefaultFrameInterval - echo 442368000 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMinBitRate - echo 442368000 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMaxBitRate - echo 1843200 > /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/720p/dwMaxVideoFrameBufferSize - mkdir /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/mjpeg/m/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h/ - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/class/fs - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/header/h/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/streaming/class/hs - mkdir /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/header/h - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/header/h/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/class/fs/ - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/header/h/ /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/control/class/ss/ - mkdir /sys/kernel/config/usb_gadget/g1/configs/c.1 - echo 0xc0 > /sys/kernel/config/usb_gadget/g1/configs/c.1/bmAttributes - echo 500 > /sys/kernel/config/usb_gadget/g1/configs/c.1/MaxPower - mkdir /sys/kernel/config/usb_gadget/g1/configs/c.1/strings/0x409 - ln -s /sys/kernel/config/usb_gadget/g1/functions/uvc.usb0/ /sys/kernel/config/usb_gadget/g1/configs/c.1/ - ls /sys/class/udc/ | xargs echo > /sys/kernel/config/usb_gadget/g1/UDC -} - -stop() { - echo "disable android usb" - - killall adbd 2>/dev/null - - echo > /sys/kernel/config/usb_gadget/g1/UDC - rm -f /sys/kernel/config/usb_gadget/g1/configs/c.1/mass_storage.usb0 - rm -f /sys/kernel/config/usb_gadget/g1/configs/c.1/uvc.usb0 - - rmmod $MODULES_DIR/sunxi_usbc.ko - rmmod $MODULES_DIR/sunxi_usb_udc.ko -} - -case "$1" in - start) - start - ;; - stop) - # stop - ;; - restart|reload) - stop - start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? - diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files_generate/mk_extra_dir.sh b/target/allwinner/f133-mq_r/busybox-init-base-files_generate/mk_extra_dir.sh deleted file mode 100755 index a8d2d67..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files_generate/mk_extra_dir.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -pwd=$(dirname $0) - -echo $pwd $1 - -mkdir -vp $1/squashfs -mkdir -vp $1/home -mkdir -vp $1/data -mkdir -vp $1/mnt/extsd -mkdir -vp $1/mnt/sdcard - -exit 0 diff --git a/target/allwinner/f133-mq_r/busybox-init-base-files_generate/rootfs_hook_squash.sh b/target/allwinner/f133-mq_r/busybox-init-base-files_generate/rootfs_hook_squash.sh deleted file mode 100755 index aa72039..0000000 --- a/target/allwinner/f133-mq_r/busybox-init-base-files_generate/rootfs_hook_squash.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -set -e - -pwd=$(dirname $0) - -mkdir -p $1/etc -mkdir -p $1/etc/init.d -mkdir -p $1/usr/bin -#if [ -f ${pwd}/profile ]; then -# cp -f ${pwd}/profile $1/etc/profile -#else -# echo "fatal error! ${pwd}/profile is not exist!" -# exit 1 -#fi - -#$pwd/import_udhcpd.sh $1 -#$pwd/import_timezone.sh $1 -#$pwd/import_cron.sh $1 -$pwd/mk_extra_dir.sh $1 -#$pwd/export_extra_env.sh $1 -#$pwd/gen_nfsmount.sh $1 -#$pwd/install_init_script.sh $1 - -#install -m 777 $pwd/preinit $1/etc/preinit -#$pwd/gen_inittab.sh $1 - -exit 0 diff --git a/target/allwinner/f133-mq_r/defconfig b/target/allwinner/f133-mq_r/defconfig index 2a8d548..66c0ff4 100755 --- a/target/allwinner/f133-mq_r/defconfig +++ b/target/allwinner/f133-mq_r/defconfig @@ -179,7 +179,7 @@ CONFIG_KERNEL_CRASHLOG=y # CONFIG_KERNEL_MAGIC_SYSRQ is not set # CONFIG_KERNEL_ELF_CORE is not set # CONFIG_KERNEL_PROVE_LOCKING is not set -# CONFIG_KERNEL_PRINTK_TIME is not set +CONFIG_KERNEL_PRINTK_TIME=y # CONFIG_KERNEL_SLABINFO is not set # CONFIG_KERNEL_PROC_PAGE_MONITOR is not set # CONFIG_KERNEL_KEXEC is not set @@ -2779,8 +2779,6 @@ CONFIG_LVGL8_USE_SUNXIFB_CACHE=y # CONFIG_PACKAGE_lv_g2d_test is not set # CONFIG_PACKAGE_lv_monitor is not set # CONFIG_PACKAGE_smartva is not set -# CONFIG_CTP_USE is not set -# CONFIG_RTP_USE is not set # CONFIG_PACKAGE_smartva_ota is not set # @@ -2867,7 +2865,7 @@ CONFIG_PACKAGE_kmod-scsi-core=y # CONFIG_PACKAGE_kmod-crypto-gcm is not set # CONFIG_PACKAGE_kmod-crypto-gf128 is not set # CONFIG_PACKAGE_kmod-crypto-ghash is not set -# CONFIG_PACKAGE_kmod-crypto-hash is not set +CONFIG_PACKAGE_kmod-crypto-hash=y # CONFIG_PACKAGE_kmod-crypto-hmac is not set # CONFIG_PACKAGE_kmod-crypto-hw-ccp is not set # CONFIG_PACKAGE_kmod-crypto-hw-geode is not set @@ -3002,7 +3000,7 @@ CONFIG_PACKAGE_kmod-touchscreen-gt9xxnew=y # CONFIG_PACKAGE_kmod-lib-cordic is not set # CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set # CONFIG_PACKAGE_kmod-lib-crc-itu-t is not set -# CONFIG_PACKAGE_kmod-lib-crc16 is not set +CONFIG_PACKAGE_kmod-lib-crc16=y # CONFIG_PACKAGE_kmod-lib-crc32c is not set # CONFIG_PACKAGE_kmod-lib-crc7 is not set # CONFIG_PACKAGE_kmod-lib-crc8 is not set @@ -3243,12 +3241,13 @@ CONFIG_PACKAGE_kmod-sunxi-disp=y # # Wireless Drivers # -# CONFIG_PACKAGE_kmod-cfg80211 is not set +CONFIG_PACKAGE_kmod-cfg80211=y # CONFIG_PACKAGE_kmod-esp8089 is not set # CONFIG_PACKAGE_kmod-net-broadcom is not set # CONFIG_PACKAGE_kmod-net-mrvl8977 is not set # CONFIG_PACKAGE_kmod-net-qca9377 is not set # CONFIG_PACKAGE_kmod-net-rtl8188eu is not set +CONFIG_PACKAGE_kmod-net-rtl8189fs=y # CONFIG_PACKAGE_kmod-net-rtl8723bs is not set # CONFIG_PACKAGE_kmod-net-rtl8723ds is not set # CONFIG_PACKAGE_kmod-net-rtl8821cs is not set @@ -3479,7 +3478,7 @@ CONFIG_PACKAGE_libbz2=y # Filesystem # # CONFIG_PACKAGE_libattr is not set -# CONFIG_PACKAGE_libext2fs is not set +CONFIG_PACKAGE_libext2fs=y CONFIG_PACKAGE_libfuse=y # CONFIG_PACKAGE_libsysfs is not set @@ -3950,28 +3949,28 @@ CONFIG_PACKAGE_zlib=y # # Translations # +# CONFIG_LUCI_LANG_uk is not set # CONFIG_LUCI_LANG_hu is not set # CONFIG_LUCI_LANG_pt is not set # CONFIG_LUCI_LANG_ro is not set -# CONFIG_LUCI_LANG_sk is not set +# CONFIG_LUCI_LANG_en is not set # CONFIG_LUCI_LANG_el is not set -# CONFIG_LUCI_LANG_uk is not set +# CONFIG_LUCI_LANG_sk is not set # CONFIG_LUCI_LANG_ru is not set # CONFIG_LUCI_LANG_vi is not set -# CONFIG_LUCI_LANG_he is not set +# CONFIG_LUCI_LANG_de is not set # CONFIG_LUCI_LANG_no is not set # CONFIG_LUCI_LANG_ms is not set # CONFIG_LUCI_LANG_pl is not set # CONFIG_LUCI_LANG_zh-cn is not set -# CONFIG_LUCI_LANG_de is not set +# CONFIG_LUCI_LANG_he is not set # CONFIG_LUCI_LANG_zh-tw is not set # CONFIG_LUCI_LANG_tr is not set # CONFIG_LUCI_LANG_sv is not set # CONFIG_LUCI_LANG_ja is not set -# CONFIG_LUCI_LANG_pt-br is not set # CONFIG_LUCI_LANG_ca is not set -# CONFIG_LUCI_LANG_en is not set # CONFIG_LUCI_LANG_es is not set +# CONFIG_LUCI_LANG_pt-br is not set # CONFIG_LUCI_LANG_cs is not set # CONFIG_LUCI_LANG_fr is not set # CONFIG_LUCI_LANG_it is not set @@ -4332,8 +4331,11 @@ CONFIG_PACKAGE_hostapd-common=y # CONFIG_PACKAGE_hostapd-wolfssl is not set CONFIG_PACKAGE_wpa-cli=y # CONFIG_PACKAGE_wpa-supplicant-basic is not set +# CONFIG_PACKAGE_wpa-supplicant-mesh-openssl is not set +# CONFIG_PACKAGE_wpa-supplicant-mesh-wolfssl is not set # CONFIG_PACKAGE_wpa-supplicant-mini is not set # CONFIG_PACKAGE_wpa-supplicant-openssl is not set +# CONFIG_PACKAGE_wpa-supplicant-p2p is not set # CONFIG_PACKAGE_wpa-supplicant-wolfssl is not set # CONFIG_PACKAGE_wpa-supplicant is not set # CONFIG_WPA_RFKILL_SUPPORT is not set @@ -4348,6 +4350,8 @@ CONFIG_WPA_MSG_MIN_PRIORITY=3 CONFIG_PACKAGE_wpad-basic=y # CONFIG_PACKAGE_wpad-basic-openssl is not set # CONFIG_PACKAGE_wpad-basic-wolfssl is not set +# CONFIG_PACKAGE_wpad-mesh-openssl is not set +# CONFIG_PACKAGE_wpad-mesh-wolfssl is not set # CONFIG_PACKAGE_wpad-mini is not set # CONFIG_PACKAGE_wpad-openssl is not set # CONFIG_PACKAGE_wpad-wolfssl is not set @@ -4600,7 +4604,7 @@ CONFIG_PACKAGE_iw=y # CONFIG_PACKAGE_debugfs is not set # CONFIG_PACKAGE_dumpe2fs is not set # CONFIG_PACKAGE_e2freefrag is not set -# CONFIG_PACKAGE_e2fsprogs is not set +CONFIG_PACKAGE_e2fsprogs=y # CONFIG_PACKAGE_filefrag is not set # CONFIG_PACKAGE_fuse-utils is not set # CONFIG_PACKAGE_lsattr is not set @@ -4785,8 +4789,8 @@ CONFIG_PACKAGE_mtd-utils=y # CONFIG_PACKAGE_mtd-utils-ftl-format is not set # CONFIG_PACKAGE_mtd-utils-jffs2dump is not set # CONFIG_PACKAGE_mtd-utils-jffs2reader is not set -CONFIG_PACKAGE_mtd-utils-mkfs.jffs2=y -CONFIG_PACKAGE_mtd-utils-mkfs.ubifs=y +# CONFIG_PACKAGE_mtd-utils-mkfs.jffs2 is not set +# CONFIG_PACKAGE_mtd-utils-mkfs.ubifs is not set # CONFIG_PACKAGE_mtd-utils-mtd-debug is not set # CONFIG_PACKAGE_mtd-utils-mtdinfo is not set # CONFIG_PACKAGE_mtd-utils-nanddump is not set @@ -4800,17 +4804,17 @@ CONFIG_PACKAGE_mtd-utils-mkfs.ubifs=y # CONFIG_PACKAGE_mtd-utils-serve-image is not set # CONFIG_PACKAGE_mtd-utils-sumtool is not set # CONFIG_PACKAGE_mtd-utils-ubiattach is not set -CONFIG_PACKAGE_mtd-utils-ubiblock=y +# CONFIG_PACKAGE_mtd-utils-ubiblock is not set # CONFIG_PACKAGE_mtd-utils-ubicrc32 is not set # CONFIG_PACKAGE_mtd-utils-ubidetach is not set # CONFIG_PACKAGE_mtd-utils-ubiformat is not set # CONFIG_PACKAGE_mtd-utils-ubimkvol is not set -CONFIG_PACKAGE_mtd-utils-ubinfo=y +# CONFIG_PACKAGE_mtd-utils-ubinfo is not set # CONFIG_PACKAGE_mtd-utils-ubinize is not set # CONFIG_PACKAGE_mtd-utils-ubirename is not set # CONFIG_PACKAGE_mtd-utils-ubirmvol is not set # CONFIG_PACKAGE_mtd-utils-ubirsvol is not set -CONFIG_PACKAGE_mtd-utils-ubiupdatevol=y +# CONFIG_PACKAGE_mtd-utils-ubiupdatevol is not set # CONFIG_PACKAGE_mtools is not set # CONFIG_PACKAGE_namei is not set # CONFIG_PACKAGE_nbench-byte is not set diff --git a/target/allwinner/f133-mq_r/f133_evb1-setup.sh b/target/allwinner/f133-mq_r/f133_evb1-setup.sh deleted file mode 100755 index f027d99..0000000 --- a/target/allwinner/f133-mq_r/f133_evb1-setup.sh +++ /dev/null @@ -1,132 +0,0 @@ -# -# Copyright (C) 2012 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# This file is executed by build/envsetup.sh, and can use anything -# defined in envsetup.sh. -# -# In particular, you can add lunch options with the add_lunch_combo -# function: add_lunch_combo generic-eng - -function mkmpp -{ - local curDir=$(pwd) - croot - make package/allwinner/eyesee-mpp/external/compile $@ - make package/allwinner/eyesee-mpp/system/public/compile $@ - make package/allwinner/eyesee-mpp/middleware/compile $@ - if [ "x$?" == "x0" ];then - echo mpp_install - make package/install $@ - else echo mpp_compile_failed,skip_install; - fi - cd ${curDir} -} - -: <<'COMMENTBLOCK' -function mkapp -{ - local curDir=$(pwd) - croot - make package/allwinner/eyesee-mpp/framework/compile $@ - if [ "x$?" == "x0" ];then - make package/allwinner/eyesee-mpp/custom_aw/compile $@ - if [ "x$?" == "x0" ];then - make package/install $@ - else echo app_compile_filed; - fi - else echo frmw_compile_failed; - fi - - cd ${curDir} -} -COMMENTBLOCK - -function mkall() -{ - local curDir=$(pwd) - croot - make $@ - cd ${curDir} -} - -function cleanmpp() -{ - local curDir=$(pwd) - croot - make package/allwinner/eyesee-mpp/middleware/clean $@ - make package/allwinner/eyesee-mpp/system/public/clean $@ - make package/allwinner/eyesee-mpp/external/clean $@ - cd ${curDir} -} - -function cleanapp -{ - local curDir=$(pwd) - croot - make package/allwinner/eyesee-mpp/framework/clean $@ - cd ${curDir} -} - -function cleanall() -{ - local curDir=$(pwd) - croot - make package/clean - make target/clean - make distclean - cd ${curDir} -} - - -cmpp_p () -{ - local curDir=$(pwd); - croot; - cd package/allwinner/eyesee-mpp/middleware -} - -cmpp_s () -{ - croot; - cd external/eyesee-mpp/middleware/sun8iw19p1 -} - -cfrmw_p () -{ - croot; - cd package/allwinner/eyesee-mpp/framework -} - -cfrmw_s () -{ - croot; - cd external/eyesee-mpp/framework/sun8iw19p1 -} - -cisp () -{ - cmpp_s; - cd ./media/LIBRARY/libisp -} - -mkfrmw () -{ - local curDir=$(pwd); - croot; - make package/allwinner/eyesee-mpp/framework/compile $@; - cd ${curDir} -} - diff --git a/target/allwinner/f133-mq_r/swupdate/sw-description-sign b/target/allwinner/f133-mq_r/swupdate/sw-description-sign deleted file mode 100755 index 7b62e21..0000000 --- a/target/allwinner/f133-mq_r/swupdate/sw-description-sign +++ /dev/null @@ -1,99 +0,0 @@ -software = -{ - version = "0.1.0"; - description = "Firmware update for Tina Project"; - - stable = { - - /* upgrade recovery,uboot,boot0 ==> change swu_mode,boot_partition ==> reboot */ - upgrade_recovery = { - /* upgrade recovery */ - images: ( - { - filename = "recovery"; - volume = "recovery"; - sha256 = "@recovery"; - } - - ); - /* change swu_mode to upgrade_kernel,boot_partition to recovery & reboot*/ - bootenv: ( - { - name = "swu_mode"; - value = "upgrade_kernel"; - }, - { - name = "boot_partition"; - value = "recovery"; - }, - { - name = "swu_next"; - value = "reboot"; - } - ); - }; - - /* upgrade kernel,rootfs ==> change sw_mode */ - upgrade_kernel = { - /* upgrade kernel,rootfs */ - images: ( - { - filename = "boot0"; - type = "awboot0"; - sha256 = "@boot0"; - }, - { - filename = "uboot"; - type = "awuboot"; - sha256 = "@uboot"; - }, - { - filename = "kernel"; - volume = "boot"; - sha256 = "@kernel"; - }, - { - filename = "rootfs"; - volume = "rootfs"; - sha256 = "@rootfs"; - } - ); - /* change sw_mode to upgrade_usr,change boot_partition to boot */ - bootenv: ( - { - name = "swu_mode"; - value = ""; - }, - { - name = "boot_partition"; - value = "boot"; - }, - { - name = "swu_next"; - value = "reboot"; - } - ); - }; - }; - - /* when not call with -e xxx,xxx just clean */ - bootenv: ( - { - name = "swu_param"; - value = ""; - }, - { - name = "swu_software"; - value = ""; - }, - { - name = "swu_mode"; - value = ""; - }, - { - name = "swu_version"; - value = ""; - } - ); - -} diff --git a/target/allwinner/f133-mq_r/swupdate/sw-subimgs.cfg b/target/allwinner/f133-mq_r/swupdate/sw-subimgs.cfg deleted file mode 100755 index 26aa133..0000000 --- a/target/allwinner/f133-mq_r/swupdate/sw-subimgs.cfg +++ /dev/null @@ -1,8 +0,0 @@ -swota_file_list=( -${TINA_BUILD_TOP=}/target/allwinner/${TARGET_BOARD}/swupdate/sw-description-sign:sw-description -out/${TARGET_BOARD}/image/recovery.fex:recovery -out/${TARGET_BOARD}/image/boot0_nand.fex:boot0 -out/${TARGET_BOARD}/image/boot_package.fex:uboot -out/${TARGET_BOARD}/image/rootfs.fex:rootfs -out/${TARGET_BOARD}/image/boot.fex:kernel -) diff --git a/target/allwinner/f133-mq_r/swupdate/swupdate_priv.password b/target/allwinner/f133-mq_r/swupdate/swupdate_priv.password deleted file mode 100644 index c1bb2c0..0000000 --- a/target/allwinner/f133-mq_r/swupdate/swupdate_priv.password +++ /dev/null @@ -1 +0,0 @@ -swupdate diff --git a/target/allwinner/f133-mq_r/swupdate/swupdate_priv.pem b/target/allwinner/f133-mq_r/swupdate/swupdate_priv.pem deleted file mode 100644 index f769d73..0000000 --- a/target/allwinner/f133-mq_r/swupdate/swupdate_priv.pem +++ /dev/null @@ -1,30 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: AES-256-CBC,8EBC493550B223A356BE217F196E9D19 - -Qr+hvWuicoRUWSx9T3mZFwx2OCCROuSAo4e+OaT5uOz8Ha/XF+JMngJKE4/n2/jA -32xHfyI+tbsZqMUGeWSmhIKnvrHpa0RZ36b/lJWFJxV+9vwaoOHeHC7x2XO27mvy -Hb/IBu3sLQf9Ko260o/K/rkVUcEknD8KBXNGAN8iiJtY1ANXgrgNmFZgKtA8VdHh -XlpFUgpOWIdhaUoetxM2XfavCOCkYtJa6vP7fD77yQ4rmqZJ7nwLAI3J59EvyiWz -Lv4rq71mjzvO3CbzNgAhEHBVMnVPm8lVJyd6+HJlzftnPey1B9CEqmyi2X5GBCvW -N9KM3x6WNutqx2+CGlZDg9VYRIozhcs1n0VAawZeMQ6oT3mw3+KfNlfj29g8hF/b -7T6cvNdo/EVPJs0/1Z7iZt3WLbBMucuGl4JSPWg9Un9iijQyTdY7Qa9V5JQonajn -yTbouTK+3VCqLqY5JjKjn2AL8ajvA9EOaDUZW91knQ4bxmNt+ODzcaljZ9a60BdF -07XXp3jPQu/wwMqipd/M9qy8qJxrzsU+azuoWI8nCtfdMjpBHzCxlTVMgZPoEle7 -3Vh5/akQCV1SektFa1DJMu9Nl1wfJxCC6DYnmz/f1nYjC/mhVNdN7qIfS3mrncmI -SvxU80lcTcsoW5N0Tak2MF2RagLwRhKAX4fcG/PftlsNtzYwWrjXfo5ZTULLxHgN -GDBRC+INDQjbBPZAhjZLbAUj8obWzgXq6jVm+Xg/f6NnAdPFTh2Avc077H+UVAYK -y9JGxXIJgHrsvVf9dNpv9FmnXjLAQPHUEgYby9k9lstGJKdswKspnpSH9Aux+qBa -9qPTbBzFJ+wPQNmLoSz1SgdQdzEccCkJa5b0DPzLX2Khes584j9hoG4t8mLMBFCy -M3AzsvQSSjdobD8OxAAfllH5FX6inVcDq5zOO4WbkkpKBlIxa0IKhtboVTixhWbl -Ga+9gS3oT9EgvvfpZiQyw03STUjlGywKoJv6T7Zf+3u9J46RwlbXesat/b340V5A -ZxXdZ7CjUluAHV2i94wxTX7tvhi2YcwqIKtvi007oBDj0Y81nHgU/nsRftQ8vL04 -+QcFKDcb7Chk/khrAsAYuxOIjCwR+52P++vhzEbkO7mqs28M1RfaC5WqGs2p4Q3B -WOF9Q7YOqpm5wDpd16j+bzUbiru9DnGnuAN9ZHkJlUaESWP0Tx3vhNb5RbUvL/A4 -q1JbnOIhNeEib3AxI7znk9ZE/JCcn6lMLLvpcNrZoD8wP+ZCyaOLcieKvaQc61nV -VhFzJNGipFEHmK4+wD3lX2tj2/pIB3r0T1h2PRtS13hWEcyjpJZIsx/LTHTeYbPR -mmmwH6cm0LEFHKMaqzAMbKHqLudza/NWGr4vCm1EKY8n0K2iGYLcNTOYSbGiKofR -FkNqMZEyUsRbImMXR+LjFDIHeO5sdk+wOOYTWjgso6kUqefV2370oqxhB7V+YYnO -SLWygk/LCgUVcDnCrnemvxl5ln3hN08B/w8r/AefRAhsST7/wgyjingpxXQXnb+N -Wknx0tRFI6aTKxgHe8t9PKvdLxU5qmL9U+F8PEZ5IZCrB7MWvWcoiZCyT62yHtBT ------END RSA PRIVATE KEY----- diff --git a/target/allwinner/f133-mq_r/swupdate/swupdate_public.pem b/target/allwinner/f133-mq_r/swupdate/swupdate_public.pem deleted file mode 100644 index 31dfecc..0000000 --- a/target/allwinner/f133-mq_r/swupdate/swupdate_public.pem +++ /dev/null @@ -1,9 +0,0 @@ ------BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo7x77QoJMJ+kyg3Alv1k -0j2YwR4yPCk9IWGLaMsN1+iRG9MEPWDOJPC9RtHis04URT/yLNgv1P7wt2Stoctr -XQ6DjDEoFG4YIgkQitmCKV1ySycaPPMhJROD+VXp+8aZ46DK/RlNRlhIzYV9MyxG -TPuz2bU5TZ+UZqrkovM2AWRrKamfCww83mm8caYosOdb8TnkpDqQnM3r3wRDzh/Q -PyBYYGbj7UAmmxXHFBJRL90lM2icFJysIiznvdumvG5xQHTxRKamQKC0YDDK8F/z -9U3rARwbafv5HNiEjMJmURg7FXgang+hIRafa8aumteYqHHpVPYiYmMX3VS+GeKG -wQIDAQAB ------END PUBLIC KEY----- diff --git a/target/allwinner/f133-mq_r/tina_busybox-init-base-files.mk b/target/allwinner/f133-mq_r/tina_busybox-init-base-files.mk deleted file mode 100755 index 6441cfd..0000000 --- a/target/allwinner/f133-mq_r/tina_busybox-init-base-files.mk +++ /dev/null @@ -1,52 +0,0 @@ -############################################################################################ -# f133-evb1 busybox-init-base-files for tina(OpenWrt) Linux -# -# f133-evb1 busybox-init-base-files will generate shell script according to some -# environmental variables. so tina_busybox-init-base-files.mk is needed. -# -# Version: v1.0 -# Date : 2019-3-19 -# Author : PDC-PD5 -############################################################################################ -TARGET_DIR := $(CURDIR)/busybox-init-base-files -HOOKS := $(CURDIR)/busybox-init-base-files_generate/rootfs_hook_squash.sh -all: - @echo ================================================== - @echo target/allwinner/f133-mq_r/tina_busybox-init-basefiles.mk is called to generate shell scripts - @echo ================================================== - (${HOOKS} ${TARGET_DIR} >/dev/null) || { \ - echo "Execute the ${HOOKS} is failed"; \ - exit 1; \ - } - @echo generate shell scripts done! - -clean: - @echo ================================================== - @echo target/allwinner/f133-mq_r/tina_busybox-init-basefiles.mk is called to clean shell scripts - @echo ================================================== -# -rm -f ${TARGET_DIR}/etc/TZ -# -rm -rf ${TARGET_DIR}/etc/cron.d -# -rm -f ${TARGET_DIR}/etc/init.d/S00appdriver -# -rm -f ${TARGET_DIR}/etc/init.d/S00kfc -# -rm -f ${TARGET_DIR}/etc/init.d/S00part -# -rm -f ${TARGET_DIR}/etc/init.d/S00mpp -# -rm -f ${TARGET_DIR}/etc/init.d/S01logging -# -rm -f ${TARGET_DIR}/etc/init.d/S10udev -# -rm -f ${TARGET_DIR}/etc/init.d/S11dev -# -rm -f ${TARGET_DIR}/etc/init.d/S20urandom -# -rm -f ${TARGET_DIR}/etc/init.d/S40network -# -rm -f ${TARGET_DIR}/etc/init.d/S41netparam -# -rm -f ${TARGET_DIR}/etc/init.d/S50telnet -# -rm -f ${TARGET_DIR}/etc/init.d/S50usb -# -rm -f ${TARGET_DIR}/etc/init.d/S91vm -# -rm -f ${TARGET_DIR}/etc/init.d/rcK -# -rm -f ${TARGET_DIR}/etc/init.d/run_adbd -# -rm -f ${TARGET_DIR}/etc/inittab -# -rm -f ${TARGET_DIR}/etc/preinit -# -rm -f ${TARGET_DIR}/etc/profile -# -rm -rf ${TARGET_DIR}/etc/sysconfig -# -rm -f ${TARGET_DIR}/etc/udhcpd.conf -# -rm -f ${TARGET_DIR}/usr/bin/nfsmount -# -rm -f ${TARGET_DIR}/usr/bin/run-cron -# -rm -rf ${TARGET_DIR}/usr/share - @echo clean shell scripts done!