temp/u-boot-pinephone: add support for pinetab (MR 2155)
This commit is contained in:
parent
cd1b1640b6
commit
a849da488d
2 changed files with 5 additions and 3 deletions
|
@ -52,5 +52,5 @@ package() {
|
|||
sha512sums="
|
||||
73b132cdc26113a83d060f0d243320ca989b4efa98fe95a2205526a42f615ced7046bb9d4878c67a9a550b04c2519d90be3c2272be97c878d759bf5d027cf536 u-boot-7492749fec31b1086bc8933bf113a766aea021aa.tar.gz
|
||||
3cba8a0e899be8cb0b9260b7a86d4115f74c279a1bac8c1403ee669adf91dca8215d8d2d6395ebb3cd67ce000f37a51d6e033b62a8d616b346a9072fa58a4b70 0001-expose-DRAM-clock-speed.patch
|
||||
a616ed442b281df7122437e3e6ed344d13ba799626c020ee27b2ce8074a2b6835d5c91aece001ead5c498ccbe16ab616881b9787601c332c8fbb19692c5af7a6 update-u-boot
|
||||
1383521ba8adf0b1b46a172302c005e7bb73c01b2252d783b4df76d56769c5a4dd8c08b997ad34e9ac3811216b7bc3813014518f19ad0f657763b8ac4f34e265 update-u-boot
|
||||
"
|
||||
|
|
|
@ -21,6 +21,7 @@ get_defaults() {
|
|||
pine64,pinebook-pro*) board=pinebookpro ;;
|
||||
pine64,rockpro64*) board=rockpro64 ;;
|
||||
pine64,pinephone*) board=pinephone ;;
|
||||
pine64,pinetab*) board=pinetab ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
@ -29,7 +30,7 @@ get_defaults() {
|
|||
wand|cubie|cubie2) device=/dev/mmcblk0p0 ;;
|
||||
mx6cuboxi) device=/dev/mmcblk0 ;;
|
||||
pinebookpro|rockpro64) device=/dev/mmcblk2 ;;
|
||||
pinephone) device=$(get_boot_blockdev) ;;
|
||||
pinephone|pinetab) device=$(get_boot_blockdev) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
@ -119,6 +120,7 @@ while [ $# -gt 0 ]; do
|
|||
pinebookpro) board="pinebookpro" ;;
|
||||
rockpro64) board="rockpro64" ;;
|
||||
pinephone) board="pinephone" ;;
|
||||
pinetab) board="pinetab" ;;
|
||||
*) usage; exit 1;;
|
||||
esac
|
||||
shift
|
||||
|
@ -210,7 +212,7 @@ pinebookpro|rockpro64)
|
|||
[ -e "$imagedir/pine64-rockpro64/" ] || die "rockpro64 images not installed, apk add u-boot-rockpro64"
|
||||
$dryrun dd if=$imagedir/pine64-rockpro64/u-boot-rockchip.bin of=$device bs=1024 seek=32 status=none
|
||||
;;
|
||||
pinephone)
|
||||
pinephone|pinetab)
|
||||
[ -e "$imagedir/pine64-pinephone/" ] || die "pinephone images not installed, apk add u-boot-pinephone"
|
||||
$dryrun dd if=$imagedir/pine64-pinephone/u-boot-sunxi-with-spl-$freq.bin of=$device bs=1024 seek=8 oflag=direct status=none
|
||||
[ -z "$dryrun" ] && validate_checksum $imagedir/pine64-pinephone/u-boot-sunxi-with-spl-$freq.bin $device 1024 8
|
||||
|
|
Loading…
Reference in a new issue