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.
This commit is contained in:
parent
d116b9f1ad
commit
44bef6729b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367843
@ -13,7 +13,7 @@ IMAGE_SIZE="3072M"
|
|||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
NODOC=1
|
||||||
PART_SCHEME="MBR"
|
PART_SCHEME="GPT"
|
||||||
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
||||||
export BOARDNAME="PINE64-LTS"
|
export BOARDNAME="PINE64-LTS"
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ arm_install_uboot() {
|
|||||||
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64-lts"
|
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64-lts"
|
||||||
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
||||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
|
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
|
return 0
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ IMAGE_SIZE="3072M"
|
|||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
NODOC=1
|
||||||
PART_SCHEME="MBR"
|
PART_SCHEME="GPT"
|
||||||
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
||||||
export BOARDNAME="PINE64"
|
export BOARDNAME="PINE64"
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ arm_install_uboot() {
|
|||||||
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64"
|
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pine64"
|
||||||
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
||||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
|
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
|
return 0
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ IMAGE_SIZE="3072M"
|
|||||||
KERNEL="GENERIC"
|
KERNEL="GENERIC"
|
||||||
MD_ARGS="-x 63 -y 255"
|
MD_ARGS="-x 63 -y 255"
|
||||||
NODOC=1
|
NODOC=1
|
||||||
PART_SCHEME="MBR"
|
PART_SCHEME="GPT"
|
||||||
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
FDT_OVERLAYS="sun50i-a64-timer,sun50i-a64-opp"
|
||||||
export BOARDNAME="PINEBOOK"
|
export BOARDNAME="PINEBOOK"
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ arm_install_uboot() {
|
|||||||
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pinebook"
|
UBOOT_DIR="/usr/local/share/u-boot/u-boot-pinebook"
|
||||||
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
UBOOT_FILES="u-boot-sunxi-with-spl.bin"
|
||||||
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_FILES} \
|
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
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user