On Thu, 05 May 2016 16:16:42 +0000 Ryan Finnie <r...@finnie.org> wrote:
> Please add the rpi_3_32b target to u-boot-rpi, for Raspberry Pi 3
> support.  The RPi3's BCM2710 CPU is 64-bit capable, but at the moment
> everything from the firmware down assumes 32-bit, hence the rpi_3_32b
> target.  AIUI this will change and u-boot is assuming this, as they
> have also written a rpi_3 target, but it is not yet in use.  (It
> would also require aarch64 cross-compilation on armhf, and/or adding
> u-boot to arm64.)  But the rpi_3_32b has been tested by me and works
> great in 2016.05~rc.

I now have a (mostly) working RPi3 64-bit kernel + userland setup, and
the rpi_3 target works fine for this.  Please see updated diff which
also enables rpi_3, and arm64 for u-boot-rpi (and also adds the
necessary lintian overrides for rpi_3_32b and rpi_3).
diff -Nru u-boot-2016.05~rc3+dfsg1/debian/changelog u-boot-2016.05~rc3+dfsg1/debian/changelog
--- u-boot-2016.05~rc3+dfsg1/debian/changelog	2016-05-01 01:54:26.000000000 +0000
+++ u-boot-2016.05~rc3+dfsg1/debian/changelog	2016-05-16 23:31:13.000000000 +0000
@@ -1,3 +1,10 @@
+u-boot (2016.05~rc3+dfsg1-1rpi3.2) unstable; urgency=medium
+
+  * u-boot-rpi: Add rpi_3, rpi_3_32b target.
+  * u-boot-rpi: Add arm64 arch.
+
+ -- Ryan Finnie <r...@finnie.org>  Mon, 16 May 2016 23:22:31 +0000
+
 u-boot (2016.05~rc3+dfsg1-1) experimental; urgency=medium
 
   * New upstream release candidate.
diff -Nru u-boot-2016.05~rc3+dfsg1/debian/control u-boot-2016.05~rc3+dfsg1/debian/control
--- u-boot-2016.05~rc3+dfsg1/debian/control	2016-05-01 00:07:15.000000000 +0000
+++ u-boot-2016.05~rc3+dfsg1/debian/control	2016-05-16 23:23:25.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Vagrant Cascadian <vagr...@debian.org>
 Uploaders: Loïc Minier <l...@debian.org>, Clint Adams <cl...@debian.org>
-Build-Depends: debhelper (>= 9.20141010), bc, device-tree-compiler, dpkg-dev (>= 1.17.14), u-boot-tools (>= 2015.10) [armhf] <cross>
+Build-Depends: debhelper (>= 9.20141010), bc, device-tree-compiler, dpkg-dev (>= 1.17.14), u-boot-tools (>= 2015.10) [armhf arm64] <cross>
 Standards-Version: 3.9.8
 Homepage: http://www.denx.de/wiki/U-Boot/
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/u-boot.git
@@ -117,7 +117,7 @@
  ${uboot:platforms}
 
 Package: u-boot-rpi
-Architecture: armel armhf
+Architecture: armel armhf arm64
 Multi-Arch: same
 Depends: ${misc:Depends}
 Description: A boot loader for Raspberry PI systems
diff -Nru u-boot-2016.05~rc3+dfsg1/debian/targets u-boot-2016.05~rc3+dfsg1/debian/targets
--- u-boot-2016.05~rc3+dfsg1/debian/targets	2016-05-01 00:07:15.000000000 +0000
+++ u-boot-2016.05~rc3+dfsg1/debian/targets	2016-05-16 23:14:03.000000000 +0000
@@ -87,6 +87,9 @@
 # Vagrant Cascadian <vagr...@debian.org>, Raspberry PI 2B
 armhf	rpi		rpi_2		u-boot.bin
 
+# Ryan Finnie <r...@finnie.org>
+armhf	rpi		rpi_3_32b	u-boot.bin
+
 # Joey Hess <jo...@debian.org>
 # Christian Kastner <deb...@kvr.at>
 armhf	sunxi		A10-OLinuXino-Lime	u-boot-sunxi-with-spl.bin
@@ -141,6 +144,9 @@
 # Vagrant Cascadian <vagr...@debian.org>, Orange PI Plus2
 armhf	sunxi		orangepi_plus	u-boot-sunxi-with-spl.bin
 
+# Ryan Finnie <r...@finnie.org>
+arm64	rpi		rpi_3		u-boot.bin
+
 avr32	-		hammerhead	u-boot.img
 
 mips	-		qemu_mips	u-boot.bin
diff -Nru u-boot-2016.05~rc3+dfsg1/debian/u-boot-rpi.lintian-overrides u-boot-2016.05~rc3+dfsg1/debian/u-boot-rpi.lintian-overrides
--- u-boot-2016.05~rc3+dfsg1/debian/u-boot-rpi.lintian-overrides	2016-05-01 00:07:15.000000000 +0000
+++ u-boot-2016.05~rc3+dfsg1/debian/u-boot-rpi.lintian-overrides	2016-05-16 23:37:13.000000000 +0000
@@ -5,10 +5,14 @@
 # the package for the architecture needed.
 u-boot-rpi [armel]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/rpi/uboot.elf
 u-boot-rpi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/rpi_2/uboot.elf
+u-boot-rpi [armhf]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/rpi_3_32b/uboot.elf
+u-boot-rpi [arm64]: arch-dependent-file-not-in-arch-specific-directory usr/lib/u-boot/rpi_3/uboot.elf
 
 # These bootloaders need to be statically linked.
 u-boot-rpi [armel]: statically-linked-binary usr/lib/u-boot/rpi/uboot.elf
 u-boot-rpi [armhf]: statically-linked-binary usr/lib/u-boot/rpi_2/uboot.elf
+u-boot-rpi [armhf]: statically-linked-binary usr/lib/u-boot/rpi_3_32b/uboot.elf
+u-boot-rpi [arm64]: statically-linked-binary usr/lib/u-boot/rpi_3/uboot.elf
 
 u-boot-rpi: description-synopsis-starts-with-article
 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to