Hi, On Tue, May 07, 2019 at 09:50:58AM -0700, Vagrant Cascadian wrote: > On 2019-05-07, Domenico Andreoli wrote: > > Salsa MR #5 enables support for NanoPi NEO 2. I tested it with Buster > > RC1 installer, althought it resulted in a non-bootable system u-boot > > worked well enough. > > Just for clarity, you're saying the non-bootability was unrelated to > u-boot, but u-boot was able to boot a kernel + initrd + dtb?
u-boot is able to find the USB stick with the Buster RC1 installer and boot it. I made many cycles, this happens reliably. The first road block is the partitioner, if let alone it creates a regular GPT (don't know if it could be instructed to create a legacy MBR instead) and so overwrites the spl+u-boot leaving the board completely unbootable. To work around this, I prepare the GPT manually with the famous 4 entries (see the extra menu in fdisk) and configure the partitions at my wish, then the installer can reuse them preserving my hand crafted GPT and the bootability up to u-boot. The installation process goes nicely but grub installation fails, as it seems to be expected [0]. The board is left unbootable. This is where I am, so booting kernel+initrd+dtb: yes (the installer from USB), no (the just installed system). To be fair, I should check that the installer can be executed via tftp and via partition on the sdcard before claiming it's all fine with u-boot on this board. Need to further investigate why u-boot cannot continue the boot. I don't know how a properly working arm64 world looks like and what's missing from my installation, if it's not just grub. I am not able to quickly hack a boot, the kernel is not just a familiar zImage and bootz is not even available. It must have something to do with all this UEFI order of things for which I need grub (or not?) ;) > > I made some comments on the merge request to reduce the diff so it would > be possible to get into buster. I think I addressed all your comments, MR #5 is updated for sid while #6 is ready for master. > > Thanks! > > live well, > vagrant thanks, Domenico [0] https://wiki.debian.org/InstallingDebianOn/Allwinner -- 3B10 0CA1 8674 ACBA B4FE FCD2 CE5B CF17 9960 DE13