fwupdate: preliminary odroidc1 support

This commit is contained in:
Calin Crisan 2017-03-06 21:05:54 +02:00
parent f35e4c4a20
commit b3f614ec23
4 changed files with 12 additions and 0 deletions

View 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

View File

@ -0,0 +1,4 @@
#!/bin/sh
sed -i 's/00 0x22000000 0x/00 - 0x/' /boot/boot.ini

View File

@ -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

Binary file not shown.