aboutsummaryrefslogtreecommitdiff
path: root/release/arm64/PINEBOOK.conf
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-11-19 14:27:01 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-11-19 14:27:01 +0000
commit44bef6729bd047ec5bbd656394fcc8e15f6a0f13 (patch)
treee2937266b5edb261ab870aff872c140a07fa2afe /release/arm64/PINEBOOK.conf
parentd116b9f1adb22198d867390858180700f5f6630d (diff)
downloadsrc-44bef6729bd047ec5bbd656394fcc8e15f6a0f13.tar.gz
src-44bef6729bd047ec5bbd656394fcc8e15f6a0f13.zip
release: Switch the Allwinner board to GPT
Allwinner bootrom have an alternate location for u-boot at 128k. Work was made recently in u-boot to relocate correctly if loaded from there. The advantage of this offset is that we can now use a GPT scheme.
Notes
Notes: svn path=/head/; revision=367843
Diffstat (limited to 'release/arm64/PINEBOOK.conf')
-rw-r--r--release/arm64/PINEBOOK.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/arm64/PINEBOOK.conf b/release/arm64/PINEBOOK.conf
index f513290ed97e..20e5b7713161 100644
--- a/release/arm64/PINEBOOK.conf
+++ b/release/arm64/PINEBOOK.conf
@@ -13,7 +13,7 @@ IMAGE_SIZE="3072M"
KERNEL="GENERIC"
MD_ARGS="-x 63 -y 255"
NODOC=1
-PART_SCHEME="MBR"
+PART_SCHEME="GPT"
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
export BOARDNAME="PINEBOOK"
@@ -21,7 +21,7 @@ arm_install_uboot() {
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pinebook"
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
- of=/dev/${mddev} bs=1k seek=8 conv=sync
+ of=/dev/${mddev} bs=128k seek=1 conv=sync
return 0
}