[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 2019-05-14, Domenico Andreoli wrote:
> On Sun, May 12, 2019 at 10:13:50AM -0700, Vagrant Cascadian wrote:
>> On 2019-05-12, Karsten Merker wrote:
>> > On Sun, May 12, 2019 at 10:40:39AM +0200, Domenico Andreoli wrote:
>> > > Please mind that the NanoPi NEO 2 target for u-boot has just been merged
>> > > in sid so it's not yet in Buster.
>> ...
>> > 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).
>> 
>> Would it be ok to test it in-place on an installed system by adding the
>> entry to /etc/flash-kernel/db? That's how I usually test boards I've
>> added. Or do you not have an installed system?
>
> Yes, I've a running system and the locally built flash-kernel now
> creates a nice boot.scr in /boot.
...
>> It's a bit difficult to fully test within debian-installer, as the
>> installer typically pulls in .udebs from the archive, and you have a bit
>> of chicken-and-egg problem to require testing from d-i, or a lot of
>> manual fiddling within the installer. You could also patch
>> /target/etc/flash-kernel/db or /target/usr/share/flash-kernel/db from
>> within the install at just the right moment ...

I'm thinking we should just merge the flash-kernel support, which will
make it much easier to test properly, and can be reverted if need be...

Since kibi merged the NanoPI NEO 2 debian-installer support, and I just
added support for SD-card-images, it should be much easier to test.
When the daily images for 20190516 are generated they should include
"netboot/SD-card-images" for several allwinner arm64 boards:

  https://d-i.debian.org/daily-images/arm64/

Then, as long as you don't rewrite the partition table, you should be
able to install to microSD and it won't create a GPT partition table and
won't use grub-efi... and it should use the flash-kernel boot.scr!


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: