Article 5MXPD NanoPi Neo Core2 H5 (slarm64, aarch64)

NanoPi Neo Core2 H5 (slarm64, aarch64)

by
shelldweller
from LinuxQuestions.org on (#5MXPD)
After the success of the SOPine image creation, I thought I would try one more just to challenge myself. I found an old NanoPi Neo Core 2 sitting in my desk that I thought had died a long time ago. Well, it seems to boot fine with a recent Armbian image, so it must not be dead after all. I figured that since it is a sun50iw1 (not A64, but H5) it might be simple to support it in a similar way as the SOPine.

I supplied the defconfig and dts files in the right places, here are my additional files just for reference:

https://shelldweller.beauxbead.com/s...ineslarm/mods/

I put the nanopi_neo_core2 directory in config/boards/ (motd files are temporary, not finalized yet).

I put the dts file in build/source/u-boot/arch/arm/dts. However, that gets deleted when u-boot gets compiled, so I copy it back over there right after it cleans the dts directory and right before it starts compiling. It also complains about a missing dtb file as well, but does this mean it is not creating one from the supplied dts? So, I copy over one of those from my /boot/dtb directory (of all places) as well, and the compile at least goes on further.

The compile seems to go almost all the way to the end, but I am now getting this error message right as u-boot is finishing:

Code: AR spl/lib/built-in.o
LD spl/u-boot-spl
SYM spl/u-boot-spl.sym
OBJCOPY spl/u-boot-spl-nodtb.bin
COPY spl/u-boot-spl.bin
MKIMAGE spl/sunxi-spl.bin
BINMAN all
binman: Device tree 'u-boot.dtb' does not have a 'binman' node
make: *** [Makefile:1084: all] Error 1So, clearly I am doing something wrong, or this particular u-boot does not support this board, even though it seems that the kernel does. If I could get u-boot to compile, I am fairly confident that the kernel will work (as the dtb file is already present in my SOPine /boot directory, as mentioned).

It's a pretty simple board, I don't even have the baseboard for it anymore. I just hardwired an Ethernet cable to the appropriate pinouts and it works with Armbian like a charm, actually. I just thought it would be fun to see if I could get slarm64 on there, but I was not expecting the u-boot surprise.

Any ideas? This is not urgent at all, just a silly side-project.

Thanks.latest?d=yIl2AUoC8zA latest?i=d-kHBtb6WgA:WDMkld9E6Vo:F7zBnMy latest?i=d-kHBtb6WgA:WDMkld9E6Vo:V_sGLiP latest?d=qj6IDK7rITs latest?i=d-kHBtb6WgA:WDMkld9E6Vo:gIN9vFwd-kHBtb6WgA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments