Control: tags 881564 +patch

On 2017-11-12, Jonas Smedegaard wrote:
> Please build and include with binary arm64 package u-boot-sunxi the
> a64-olinuxino target, covering both the development board by that name
> and the TERES-I DIY laptop.
>
> I own a TERES-I and can offer to test

Didn't know the TERES-I was 100% compatible; nice!


> (but am not familiar with the packaging style of the u-boot source
> package (seems to not use common git-buildpackage style and no hints
> is provided in README.source), so I would prefer to leave to others to
> implement the change.

Pretty standard package in some regards: dpkg-buildpackage, debuild,
sbuild, pbuilder should all work without any unusual incantations
(e.g. orig.tar.* in the upper directory). You will need
DEB_BUILD_PROFILES=cross if you want to cross-compile, and have the
appropriate (multi-arch) build dependencies installed... sbuild
generally does the right thing for me.

Which... can be a bit of an adventure... and it also may need an
upstream version not yet uploaded to Debian... so I can build and upload
a package somewhere for you to test before uploading to Debian, if you'd
rather.


This patch should do it, if you're willing to be listed as a tester:

diff --git a/debian/targets b/debian/targets
index a35c559f77..c67a7a4adb 100644
--- a/debian/targets
+++ b/debian/targets
@@ -176,6 +176,9 @@ arm64       qcom            dragonboard410c u-boot.bin
 # Ryan Finnie <r...@finnie.org>
 arm64  rpi             rpi_3           u-boot.bin
 
+# Jonas Smedegaard <d...@jones.dk>
+arm64  sunxi           a64-olinuxino   u-boot.bin spl/sunxi-spl.bin 
u-boot-nodtb.bin arch/arm/dts/sun50i-a64-olinuxino.dtb
+
 # Vagrant Cascadian <vagr...@debian.org>
 arm64  sunxi           pine64_plus     u-boot.bin spl/sunxi-spl.bin 
u-boot-nodtb.bin arch/arm/dts/sun50i-a64-pine64-plus.dtb 
arch/arm/dts/sun50i-a64-pine64.dtb
 

Unfortunately, arm-trusted-firmware is not packaged for Debian, and the
allwinner boards require using a vendor fork, so you will need to build
that yourself. The process is roughly documented in
board/sunxi/README.sunxi64 and debian/u-boot-sunxi.README.Debian in git.

I've recently successfully tested the non-legacy process on a Pine64+,
which is similar hardware.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to