mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 12:57:16 +00:00
orangepione: add firmware update support
This commit is contained in:
parent
e29097f1b9
commit
8d3fc2ad82
6
board/orangepione/overlay-initramfs/remove_initramfs
Executable file
6
board/orangepione/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
|
@ -4,4 +4,4 @@ cp $IMG_DIR/zImage $BOOT_DIR
|
||||
cp $IMG_DIR/sun8i-h3-orangepi-one.dtb $BOOT_DIR
|
||||
cp $BOARD_DIR/boot.scr $BOOT_DIR
|
||||
cp $BOARD_DIR/boot-fwupdater.scr $BOOT_DIR
|
||||
|
||||
cp $BOARD_DIR/rootfs.cpio.uboot $BOOT_DIR
|
||||
|
BIN
board/orangepione/rootfs.cpio.uboot
Normal file
BIN
board/orangepione/rootfs.cpio.uboot
Normal file
Binary file not shown.
16
configs/orangepione_initramfs_defconfig
Normal file
16
configs/orangepione_initramfs_defconfig
Normal file
@ -0,0 +1,16 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_a7=y
|
||||
BR2_ARM_FPU_VFPV4=y
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOPDIR)/.buildroot-ccache-orangepione-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/orangepione/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