mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
fwupdate: preliminary odroidc1 support
This commit is contained in:
parent
f35e4c4a20
commit
b3f614ec23
7
board/odroidc1/overlay-initramfs/prepare_initramfs
Executable file
7
board/odroidc1/overlay-initramfs/prepare_initramfs
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# we don't have the codepage kernel modules compiled in, so we have to manually insert them
|
||||
mkdir /system
|
||||
mount /dev/mmcblk0p2 /system
|
||||
/system/bin/busybox insmod /system/lib/modules/*/kernel/fs/nls/nls_cp437.ko
|
||||
|
4
board/odroidc1/overlay-initramfs/remove_initramfs
Executable file
4
board/odroidc1/overlay-initramfs/remove_initramfs
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
sed -i 's/00 0x22000000 0x/00 - 0x/' /boot/boot.ini
|
||||
|
@ -8,6 +8,7 @@ cp $IMG_DIR/meson8b_odroidc.dtb $BOOT_DIR
|
||||
cp $BOARD_DIR/bl1.bin.hardkernel $IMG_DIR
|
||||
cp $BOARD_DIR/u-boot.bin $IMG_DIR
|
||||
cp $BOARD_DIR/boot.ini $BOOT_DIR
|
||||
cp $BOARD_DIR/uInitrd $BOOT_DIR
|
||||
|
||||
# fix some lib dirs
|
||||
if ! [ -L $TARGET/lib/arm-linux-gnueabihf ]; then
|
||||
|
BIN
board/odroidc1/uInitrd
Normal file
BIN
board/odroidc1/uInitrd
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user