NanoPi's on the Dashboard?

I’ve successfully built the NanoPi Neo Air from the Allwinner repo and used it as a baseline to build support for the FriendlyElec NanoPi-R1. It seems to run fine in dev/local mode, but I’d like to see if I can get it on my list of apps and I don’t see a way to do it. Moreoever, I don’t even see the Nanopi Air on the list of supported platforms on my balena.io dashboard of apps. Is there a document on how o do this?

It looks like there are still some remaining issues with it, looking at the issue here: https://github.com/balena-os/resin-os-device-support/issues/38
The NanoPi is still in staging at the moment

So if I bitbake a DEVELOPMENT_IMAGE = “1” image for the Nanopi-R1, then integrate the config.json as per those instructions you cited in the repo, I do see it listed on the app dashboard, but that’s about it. I don’t see the device’s IP addresses, etc.

@vesper I believe this information is reported by the supervisor, so perhaps you could check if it’s correctly starting? You can run balena ps to check the status of the supervisor container, as well as journalctl -n 50 -u resin-supervisor to view any logs (feel free to share them here if there’s any useful information).

I’d made a mistake in not pointing the device to the “staging” server. Once I created a Nanopi Neo Air application there and used its config.json on my Nanopi R1 build, I seem to be getting connectivity and it appears in my staging dashboard.

matt.clark@pf1jfbbu:~/Code/Balena/Images$ balena ssh 192.168.1.71
X11 forwarding request failed on channel 0
Last login: Tue Nov 5 15:10:58 2019 from 52.73.237.197
root@2306d2e:~# journalctl -n 50 -u resin-supervisor
– Logs begin at Thu 1970-01-01 00:00:23 UTC, end at Tue 2019-11-05 15:11:11 UTC. –
Nov 05 15:10:36 2306d2e resin-supervisor[1258]: resin_supervisor
Nov 05 15:10:36 2306d2e resin-supervisor[1324]: active
Nov 05 15:10:41 2306d2e resin-supervisor[1325]: Container config has not changed
Nov 05 15:10:44 2306d2e resin-supervisor[1325]: Starting system message bus: dbus.
Nov 05 15:10:44 2306d2e resin-supervisor[1325]: * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Nov 05 15:10:44 2306d2e resin-supervisor[1325]: …done.
Nov 05 15:10:50 2306d2e resin-supervisor[1325]: [info] Supervisor v10.3.7 starting up…
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: (node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buff>
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [debug] Starting event tracker
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [debug] Starting api binder
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [debug] Starting logging infrastructure
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [event] Event: Supervisor start {}
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [debug] Performing database cleanup for container log timestamps
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [info] Previous engine snapshot was not stored. Skipping cleanup.
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [debug] Handling of local mode switch is completed
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [debug] Connectivity check enabled: true
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [debug] Starting periodic check for IP addresses
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [info] Reporting initial state, supervisor version and API info
Nov 05 15:10:51 2306d2e resin-supervisor[1325]: [debug] VPN status path exists.
Nov 05 15:10:52 2306d2e resin-supervisor[1325]: [info] Waiting for connectivity…
Nov 05 15:10:52 2306d2e resin-supervisor[1325]: [debug] Skipping preloading
Nov 05 15:10:52 2306d2e resin-supervisor[1325]: [info] Starting API server
Nov 05 15:10:52 2306d2e resin-supervisor[1325]: [info] Applying target state
Nov 05 15:10:52 2306d2e resin-supervisor[1325]: [debug] Ensuring device is provisioned
Nov 05 15:10:52 2306d2e resin-supervisor[1325]: [debug] Starting current state report
Nov 05 15:10:52 2306d2e resin-supervisor[1325]: [debug] Starting target state poll
Nov 05 15:10:53 2306d2e resin-supervisor[1325]: [debug] Supervisor API listening on allowed interfaces only
Nov 05 15:10:53 2306d2e resin-supervisor[1325]: [debug] Finished applying target state
Nov 05 15:10:53 2306d2e resin-supervisor[1325]: [success] Device state apply success
Nov 05 15:10:53 2306d2e resin-supervisor[1325]: [info] Applying target state
Nov 05 15:10:54 2306d2e resin-supervisor[1325]: [debug] Finished applying target state
Nov 05 15:10:54 2306d2e resin-supervisor[1325]: [success] Device state apply success
Nov 05 15:11:02 2306d2e resin-supervisor[1325]: [info] Internet Connectivity: OK

I currently run my home “everything” on a NanoPi M4, which works really well, but I don’t care for the software I’m using as a NAS. I think moving everything over to Balena might be a good move. I took a look at Yocto and trying to port this, but it’s way above my pay grade (too hard for me). Is anyone else looking at this platform?