Quoting Vagrant Cascadian (2017-11-13 03:29:33)
> 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!

Seems so: Olimex use that dtb in the pre-installed system.


>> (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.

Right.  I meant git source maintenance style, however: Branches 
"upstream" and "pristine-tar" exist but apparently haven't been used for 
quite some time.


> 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

Ah, so the names listed there are testers.  Makes sense.

Yes, Please do add me there as tester.

I already built a test package - with _exactly_ the same patch as above 
(and your last commit in git applied too - which does more than just 
update the documentation so you might want to adjust when applying to 
changelog).

Not tested yet, though - Will do that tomorrow (it is getting late now).


> 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.

Right: After fighting blindly with several (stupid, in hindsight) 
attempts I checked out u-boot git and noticed your commit the 9th which 
I hope is the final missing piece to boot a purely Debian system for my 
TERES-I.


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

Yes, I noticed some of your changes for that, and appreciate all your 
work on that: Obviously makes it far easier to then adapt to similar 
devices.


Any chance you can make a release to Debian soon?

I would love to be able to run pure Debian on my laptop when showing off 
my TERES-I at MiniDebconf in France next weekend.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Reply via email to