On Mon, Apr 02, 2018 at 09:39:44AM -0700, Vagrant Cascadian wrote: > On 2018-04-02, Domenico Andreoli wrote: > > I've a NanoPI NEO2 (Allwinner H5) and I'd like to seamlessly install > > Debian on it. I'm just working at the build of u-boot-sunxi and at > > u-boot-install-sunxi64 but I see that the proper solution goes throught > > packaging ATF and here we are. > > You probably want to follow-up with the atf-allwinner package already in > Debian: > > https://tracker.debian.org/pkg/atf-allwinner > > It's a vendor fork of the upstream arm-trusted-firmware, and I've > confirmed it works for the Allwinner A64 on pine64 and pinebook; not > sure what the status of H5 support is like, though it is a similar SoC.
There are H5 related commits in this fork, although I neither have any H5 hardware nor heard any reports of it working or not. >From these commits, I assume that upstream ATF wouldn't work on H5, but atf-allwinner, as already shipped in Debian, should work without any other edits to it. > Once H5 support is in atf-allwinner, u-boot-sunxi and > u-boot-install-sunxi64 may need updates to support your board: My guess is that getting appropriate device tree, and handing it to u-boot-install-sunxi64 has a good chance of being enough. That script takes /usr/lib/u-boot/pine64_plus/*.dtb -- if you put yours into that (now misnamed) dir, it may work. If it does, please let us know! Meow! -- ᛊᚨᚾᛁᛏᚣ᛫ᛁᛊ᛫ᚠᛟᚱ᛫ᚦᛖ᛫ᚹᛖᚨᚲ