Power & Source of Big Ideas

Cross_Compilation for NanoPi NEO

Moderators: chensy, FATechsupport

Hello,
We are using NanoPi NEO in our application. Our application can able to run on ubuntu16.04(x86_64) desktop system, but we wanted to run it on NanoPi NEO(armv7l). Can any one please tell us, How to do cross compile in ubuntu16.04 system to run our application on NanoPI NEO?

Regards,
Harsha
You need to provide more info. What is the OS of the target nanopi neo ? Ubuntu or other ?

There are two schools:

1) use the gcc for ARM https://packages.ubuntu.com/fr/trusty/g ... ux-gnueabi from your distribution or you can find prebuilt here http://downloads.yoctoproject.org/relea ... in/x86_64/. The problem is this toolchain is not specific to nanopi neo but it is quite simple to install.

2) generate your own toolchain specifically for nanopi neo. All the libs will be optimized for the target processor but this is quite difficult in general. My target OS is not ubuntu but yocto linux, consequently the generation of the optimized cross toolchain is straightforward with bitbake <image> -c populate_sdk

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 106 on Tue Jun 04, 2019 5:48 pm

Users browsing this forum: No registered users and 1 guest