Is it possible to add OpenWrt support for a FriendlyElec NanoPi Zero 2 (sunxi) device based on FriendlyWrt? Since FriendlyWrt is a fork of OpenWrt, I was thinking there may be a way to leverage the existing code/hardware details available at https://wiki.friendlyelec.com/wiki/index.php/NanoPi_Zero2#Build_Openwrt.2FFriendlywrt
This device is very similar to the already supported NanoPi R2S, but it has one fewer Ethernet port and includes eMMC.
unsupported fork that is...
1 Like
I understand it's an unsupported fork. My question was about building official support into OpenWrt.
Talk to the vendor - they've done part of the work already...
2 Likes
And for what is it worth - FriendlyARM - I've done stuff in the past with AllWinner and Rockchip - nice little boards overall
Armbian is a better place to land with their SBC's
I would again discuss with the vendor - they've done the heavy lifting by forking and adding the board support, and they could cut to the chase and onboard it into OpenWRT.
A number of OEM's do this now.
1 Like
If you know your way around using git and building openwrt it would be pretty easy to build up an image yourself from the looks of it. Should be able to just merge the branches.
If you're primarily angling for it to appear on the firmware-selector I get it though.
I'm fine with that...
I was one of the main supporters to get ModemManager merged into master a few years back - lego'ing the core code with one that was doing Luci integration... couldn't do it directly, mainly to avoid GPL issues with my company at the time, but I could "strongy hint" the path moving forward...
It takes a fair amount of knowledgable effort to onboard a 3g/4g/5g modem - even with QMI and MBIM, as every modem has it's quirks, and every carrier and SIM card rate plan has differences...
2 Likes
Are you sure you're getting the model number right there ? Sorry to say i'm just looking at the link you posted and it says the device uses a Rockchip rk3528a, so not sunxi
Had a look, I see there's no easy source to browse to find where they added support for u-boot or the kernel for the zero2. I had a quick go building and it said I needed python2.7 instead of python3 and I think that's enough for me on this.
I guess you'd need to get the diffs somehow from that build process then see how to adapt them to openwrt main. Or it seems like the developer known as Blocktrron worked on this brand devices in the past, perhaps contacting him directly about it would work.
Hi Wilson
Thanks for looking into this. You are correct - the NanoPi Zero2 will most likely be covered by the rockchip (not sunxi) target. If you go to https://openwrt.org/toh/views/toh_fwdownload and filter on the brand "friendly", you'll see the other devices that are already supported by OpenWrt.
Do you know how to best contact Blocktron?
Unfortunately, I can't help you with the Python version mismatch. I think most linux distro repositories include both versions, but I don't know about the distro you are using.
woops sorry for the wrong reply there