[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#928861: flash-kernel: Please add an entry for FriendlyArm NanoPi NEO 2



On Sun, May 12, 2019 at 10:40:39AM +0200, Domenico Andreoli wrote:

> Package: flash-kernel
> Version: 3.98
> Severity: wishlist
> Tags: patch
> 
> Dear Maintainer,
> 
>   please add the new entry for supporting FriendlyArm NanoPi NEO 2. Patch
> is attached but also MR is available on Salsa:
> 
> https://salsa.debian.org/installer-team/flash-kernel/merge_requests/5
> 
> This is the entry:
> 
> +Machine: FriendlyARM NanoPi NEO 2
> +Kernel-Flavors: arm64
> +Boot-Script-Path: /boot/boot.scr
> +DTB-Id: allwinner/sun50i-h5-nanopi-neo2.dtb
> +U-Boot-Script-Name: bootscr.uboot-generic
> +Required-Packages: u-boot-tools
> +
> 
> I was not able to cross-build the arm64 installer from amd64 so the
> patch is not tested.
> 
> Please mind that the NanoPi NEO 2 target for u-boot has just been merged
> in sid so it's not yet in Buster.

Hello,

while the change looks ok to me, I'd very much prefer if it was
actually tested before committing it (the same is true for
bug#928863).  Could you perhaps create an arm64 chroot and do a
test build in it (qemu-user-static+binfmt-support allows running
arm64 code in a chroot on an amd64 host transparently)?

$ sudo apt install mmdebstrap qemu-user-static binfmt-support
$ sudo mmdebstrap --architectures=arm64 sid /tmp/arm64-chroot "deb http://deb.debian.org/debian/ sid main"
$ sudo chroot /tmp/arm64-chroot
# apt-get update

In this environment you should be able to build flash-kernel/d-i
for testing on real arm64 hardware.

Regards,
Karsten
-- 
Ich widerspreche hiermit ausdrücklich der Nutzung sowie der
Weitergabe meiner personenbezogenen Daten für Zwecke der Werbung
sowie der Markt- oder Meinungsforschung.


Reply to: