mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 12:57:16 +00:00
Tinkerboard: add initramfs support
This commit is contained in:
parent
eb9f40a418
commit
d8022bd7e6
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
#cp $IMG_DIR/rootfs.cpio.uboot $BOARD_DIR/uInitrd
|
||||
cp $IMG_DIR/rootfs.cpio.gz $BOARD_DIR/initrd.gz
|
||||
|
||||
|
@ -2,4 +2,4 @@ label kernel-4.4
|
||||
kernel /zImage
|
||||
fdt /rk3288-miniarm.dtb
|
||||
append console=tty1 root=/dev/mmcblk0p2 rootwait panic=10 earlyprintk quiet loglevel=1 ipv6.disable=1
|
||||
|
||||
|
||||
|
BIN
board/tinkerboard/initrd.gz
Normal file
BIN
board/tinkerboard/initrd.gz
Normal file
Binary file not shown.
@ -1,7 +1,4 @@
|
||||
#!/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
|
||||
sed -i 's/^initrd.*//g' /boot/extlinux/extlinux.conf
|
||||
|
||||
|
@ -1,7 +1,4 @@
|
||||
#!/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
|
||||
echo " initrd /initrd.gz" >> /boot/extlinux/extlinux.conf
|
||||
|
||||
|
@ -40,8 +40,6 @@ 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_SUNXI_BOARDS=y
|
||||
BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a20/Bananapi.fex"
|
||||
BR2_PACKAGE_USB_MODESWITCH_DATA=y
|
||||
BR2_PACKAGE_CA_CERTIFICATES=y
|
||||
BR2_PACKAGE_LIBSSH2=y
|
||||
@ -77,4 +75,5 @@ BR2_PACKAGE_UTIL_LINUX_BINARIES=y
|
||||
BR2_PACKAGE_UTIL_LINUX_PARTX=y
|
||||
BR2_PACKAGE_NANO=y
|
||||
BR2_PACKAGE_HOST_DTC=y
|
||||
BR2_PACKAGE_HOST_SUNXI_TOOLS=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
|
16
configs/tinkerboard_initramfs_defconfig
Normal file
16
configs/tinkerboard_initramfs_defconfig
Normal file
@ -0,0 +1,16 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_a17=y
|
||||
BR2_ARM_FPU_NEON_VFPV4=y
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOPDIR)/.buildroot-ccache-tinkerboard-initramfs"
|
||||
BR2_OPTIMIZE_2=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TARGET_OPTIMIZATION="-pipe"
|
||||
BR2_ROOTFS_OVERLAY="board/common/overlay-initramfs board/tinkerboard/overlay-initramfs"
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="board/common/busybox_initramfs.config"
|
||||
BR2_PACKAGE_UTIL_LINUX=y
|
||||
BR2_PACKAGE_UTIL_LINUX_LIBBLKID=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
BR2_TARGET_ROOTFS_CPIO_GZIP=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
Loading…
x
Reference in New Issue
Block a user