move rock64 and roc-cc to regular rockchip uboot flashing method, tag 1.3.4

This commit is contained in:
Dan Johansen 2020-06-29 08:16:15 +02:00
parent 2cd769c933
commit 2c00e3fcf2
No known key found for this signature in database
GPG Key ID: 084A7FC0035B1D49
2 changed files with 3 additions and 10 deletions

View File

@ -71,7 +71,7 @@ sudo bash ./manjaro-arm-installer
* Pine64+
* Pine H64 (new)
* Rock64
* LibreComputer Renegade
* LibreComputer Renegade (Roc-CC)
* NanoPC T4 (new)
* Khadas Vim 3
* Khadas Vim 2
@ -90,6 +90,4 @@ sudo bash ./manjaro-arm-installer
## Other notes:
This script is available in the **Manjaro** repository and can be installed with `sudo pacman -S manjaro-arm-installer`.
This script is also available as an **Arch** (*pkg.tar.xz*) package in my **Manjaro Strit** repo, called `manjaro-arm-installer`.
This script **should** be distro-agnostic, which means you can install *Manjaro ARM* from **any** distro, as long as the dependencies are met.

View File

@ -1,7 +1,7 @@
#! /bin/bash
# *****************************
# Version 1.3.3
# Version 1.3.4
# *****************************
# Set globals
@ -284,15 +284,10 @@ cleanup () {
pinebook|pine64-lts|pine64|pinephone|pinetab|pine-h64)
dd if=$TMPDIR/boot/u-boot-sunxi-with-spl-$DEVICE.bin of=${SDCARD} bs=8k seek=1 1> /dev/null 2>&1
;;
pbpro|rockpro64|rockpi4|nanopc-t4)
pbpro|rockpro64|rockpi4|nanopc-t4|rock64|roc-cc)
dd if=$TMPDIR/boot/idbloader.img of=${SDCARD} seek=64 conv=notrunc 1> /dev/null 2>&1
dd if=$TMPDIR/boot/u-boot.itb of=${SDCARD} seek=16384 conv=notrunc 1> /dev/null 2>&1
;;
rock64|roc-cc)
dd if=$TMPDIR/boot/idbloader.img of=${SDCARD} seek=64 conv=notrunc 1> /dev/null 2>&1
dd if=$TMPDIR/boot/uboot.img of=${SDCARD} seek=16384 conv=notrunc 1> /dev/null 2>&1
dd if=$TMPDIR/boot/trust.img of=${SDCARD} seek=24576 conv=notrunc 1> /dev/null 2>&1
;;
esac
[ ! -z "$CRYPT" ] && post_crypt