pine64: add fwupdate support

This commit is contained in:
Calin Crisan 2017-06-01 23:07:05 +03:00
parent 6db20f62fe
commit 7082a639cc
4 changed files with 3 additions and 3 deletions

BIN
board/pine64/initrd.img Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
#!/bin/sh
sed -i 's/00 0x13000000 0x/00 - 0x/' /boot/boot.ini
sed -i 's/initrd_filename=/#initrd_filename=/' /boot/uEnv.txt

View File

@ -1,4 +1,4 @@
#!/bin/bash
sed -i 's/00 - 0x/00 0x13000000 0x/' /boot/boot.ini
sed 's/#initrd_filename=.*/initrd_filename=initrd.img/' uEnv.txt

View File

@ -6,5 +6,5 @@ mkdir -p $BOOT_DIR/pine64
cp $IMG_DIR/Image $BOOT_DIR/kernel.img
cp $BOARD_DIR/uEnv.txt $BOOT_DIR
cp $BOARD_DIR/dtb/* $BOOT_DIR/pine64
#cp $BOARD_DIR/uInitrd $BOOT_DIR
cp $BOARD_DIR/initrd.img $BOOT_DIR