mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Merge branch 'thingos' into thingos-next
This commit is contained in:
commit
89ac612759
@ -191,6 +191,8 @@ rm -f $TARGET/usr/bin/v4l2-compliance
|
||||
rm -rf $TARGET/usr/lib/python2.7/site-packages/samba/
|
||||
rm -rf $TARGET/usr/lib/python2.7/ensurepip/
|
||||
rm -rf $TARGET/usr/lib/python2.7/config/
|
||||
rm -rf $TARGET/usr/lib/python2.7/distutils/
|
||||
rm -rf $TARGET/usr/lib/python2.7/unittest/
|
||||
|
||||
# buildroot default startup scripts
|
||||
rm -f $TARGET/etc/init.d/S01logging
|
||||
|
BIN
board/nanopineo2/boot-fwupdater.scr
Normal file
BIN
board/nanopineo2/boot-fwupdater.scr
Normal file
Binary file not shown.
BIN
board/nanopineo2/boot.scr
Normal file
BIN
board/nanopineo2/boot.scr
Normal file
Binary file not shown.
13
board/nanopineo2/mkimage.sh
Executable file
13
board/nanopineo2/mkimage.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
BOARD_DIR=$(dirname $0)
|
||||
COMMON_DIR=$BOARD_DIR/../common
|
||||
|
||||
export BOARD=$(basename $BOARD_DIR)
|
||||
export IMG_DIR=$BOARD_DIR/../../output/$BOARD/images/
|
||||
export UBOOT_BIN=$BOARD_DIR/u-boot-with-spl.bin
|
||||
export UBOOT_SEEK=16
|
||||
export PART_START=40960
|
||||
source $COMMON_DIR/mkimage.sh
|
||||
|
||||
|
2
board/nanopineo2/os.conf
Normal file
2
board/nanopineo2/os.conf
Normal file
@ -0,0 +1,2 @@
|
||||
os_tty_login="ttyS0"
|
||||
|
6
board/nanopineo2/overlay-initramfs/remove_initramfs
Executable file
6
board/nanopineo2/overlay-initramfs/remove_initramfs
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f /boot/boot-normal.scr ]; then
|
||||
mv /boot/boot.scr /boot/boot-fwupdater.scr
|
||||
mv /boot/boot-normal.scr /boot/boot.scr
|
||||
fi
|
1
board/nanopineo2/overlay/etc/board
Normal file
1
board/nanopineo2/overlay/etc/board
Normal file
@ -0,0 +1 @@
|
||||
nanopineo2
|
5
board/nanopineo2/overlay/etc/init.d/boardsn
Executable file
5
board/nanopineo2/overlay/etc/init.d/boardsn
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
sn=$(cat /sys/class/net/eth0/address 2>/dev/null | tr -d ':')
|
||||
echo ${sn: -8}
|
||||
|
7
board/nanopineo2/overlay/usr/libexec/fw-prepare-boot
Executable file
7
board/nanopineo2/overlay/usr/libexec/fw-prepare-boot
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f /boot/boot-fwupdater.scr ]; then
|
||||
mv /boot/boot.scr /boot/boot-normal.scr
|
||||
mv /boot/boot-fwupdater.scr /boot/boot.scr
|
||||
fi
|
||||
|
8
board/nanopineo2/postscript.sh
Executable file
8
board/nanopineo2/postscript.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
cp $IMG_DIR/Image $BOOT_DIR
|
||||
cp $BOARD_DIR/boot.scr $BOOT_DIR
|
||||
cp $BOARD_DIR/boot-fwupdater.scr $BOOT_DIR
|
||||
cp $BOARD_DIR/sun50i-h5-nanopi-neo2.dtb $BOOT_DIR
|
||||
cp $BOARD_DIR/rootfs.cpio.uboot $BOOT_DIR
|
||||
|
BIN
board/nanopineo2/rootfs.cpio.uboot
Normal file
BIN
board/nanopineo2/rootfs.cpio.uboot
Normal file
Binary file not shown.
BIN
board/nanopineo2/sun50i-h5-nanopi-neo2.dtb
Normal file
BIN
board/nanopineo2/sun50i-h5-nanopi-neo2.dtb
Normal file
Binary file not shown.
BIN
board/nanopineo2/u-boot-with-spl.bin
Normal file
BIN
board/nanopineo2/u-boot-with-spl.bin
Normal file
Binary file not shown.
76
configs/nanopineo2_defconfig
Normal file
76
configs/nanopineo2_defconfig
Normal file
@ -0,0 +1,76 @@
|
||||
BR2_aarch64=y
|
||||
BR2_ARM_FPU_VFPV4=y
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOPDIR)/.buildroot-ccache-nanopineo2"
|
||||
BR2_OPTIMIZE_2=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TARGET_OPTIMIZATION="-pipe"
|
||||
BR2_ROOTFS_SKELETON_CUSTOM=y
|
||||
BR2_ROOTFS_SKELETON_CUSTOM_PATH="board/common/skeleton"
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
|
||||
BR2_TARGET_TZ_INFO=y
|
||||
BR2_ROOTFS_OVERLAY="board/common/overlay board/nanopineo2/overlay"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/common/postscript.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/friendlyarm/linux/archive/492574d41038623d5a41c623c033a30533a462a7.tar.gz"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="sunxi_arm64"
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="board/common/busybox.config"
|
||||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
BR2_PACKAGE_ALSA_UTILS=y
|
||||
BR2_PACKAGE_ALSA_UTILS_APLAY=y
|
||||
BR2_PACKAGE_GZIP=y
|
||||
BR2_PACKAGE_JQ=y
|
||||
BR2_PACKAGE_E2FSPROGS=y
|
||||
BR2_PACKAGE_NTFS_3G=y
|
||||
BR2_PACKAGE_B43_FIRMWARE=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y
|
||||
BR2_PACKAGE_USB_MODESWITCH_DATA=y
|
||||
BR2_PACKAGE_CA_CERTIFICATES=y
|
||||
BR2_PACKAGE_LIBSSH2=y
|
||||
BR2_PACKAGE_LIBFUSE=y
|
||||
BR2_PACKAGE_LIBCURL=y
|
||||
BR2_PACKAGE_CURL=y
|
||||
BR2_PACKAGE_LIBCAP=y
|
||||
BR2_PACKAGE_PCRE=y
|
||||
BR2_PACKAGE_PCRE_UCP=y
|
||||
BR2_PACKAGE_AUTOSSH=y
|
||||
BR2_PACKAGE_CRDA=y
|
||||
BR2_PACKAGE_DHCP=y
|
||||
BR2_PACKAGE_DHCP_CLIENT=y
|
||||
BR2_PACKAGE_IPTABLES=y
|
||||
BR2_PACKAGE_IW=y
|
||||
BR2_PACKAGE_NETCAT=y
|
||||
BR2_PACKAGE_NET_TOOLS=y
|
||||
BR2_PACKAGE_NTP=y
|
||||
BR2_PACKAGE_NTP_NTPDATE=y
|
||||
BR2_PACKAGE_OPENSSH=y
|
||||
BR2_PACKAGE_PPPD=y
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
|
||||
BR2_PACKAGE_BASH=y
|
||||
BR2_PACKAGE_LOGROTATE=y
|
||||
BR2_PACKAGE_TAR=y
|
||||
BR2_PACKAGE_UTIL_LINUX_BINARIES=y
|
||||
BR2_PACKAGE_UTIL_LINUX_PARTX=y
|
||||
BR2_PACKAGE_NANO=y
|
||||
BR2_PACKAGE_HOST_DTC=y
|
||||
BR2_PACKAGE_HOST_E2FSPROGS=y
|
14
configs/nanopineo2_initramfs_defconfig
Normal file
14
configs/nanopineo2_initramfs_defconfig
Normal file
@ -0,0 +1,14 @@
|
||||
BR2_aarch64=y
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOPDIR)/.buildroot-ccache-nanopineo2-initramfs"
|
||||
BR2_OPTIMIZE_2=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TARGET_OPTIMIZATION="-pipe"
|
||||
BR2_ROOTFS_SKELETON_CUSTOM=y
|
||||
BR2_ROOTFS_SKELETON_CUSTOM_PATH="board/common/skeleton-initramfs"
|
||||
BR2_ROOTFS_OVERLAY="board/common/overlay-initramfs board/nanopineo2/overlay-initramfs"
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="board/common/busybox_initramfs.config"
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
BR2_TARGET_ROOTFS_CPIO_GZIP=y
|
||||
BR2_TARGET_ROOTFS_CPIO_UIMAGE=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
Loading…
x
Reference in New Issue
Block a user