Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cross compiling a project using Armbian ?

Featured Replies

Hello,

 

I'm planning to use Armbian for a custom distribution (target is Orange Pi Zero, for now). Usually, for this kind of job I use Yocto.
But this time, I intend to use the board as a ROS server, and quite frankly, integrating ROS into Yocto is quite painful. As it will be used only for a hobby robotics project, I don't really mind using another method.

 

So, the thing is, I intend to create a customized Armbian distro with ROS preinstalled.

But, I will also need to cross-compile and install some of my own projects.

 

I was wondering, what is the most standard way to cross-compile (mostly C++, here, but whatever) a project for integration into the image ?

 

Using Yocto, I can create a "SDK" using the "populate_sdk" command, which creates a self-extractable archive containing toolchain+libs. What would be the equivalent in the Armbian build framework ?

 

Thanks in advance, and congratulation for the great job accomplished on Armbian !

Our main focus is securing good hardware layer for a few ARM/ARM64 SoC families. Armbian is a standard Debian from the userland perspective but on the customisation level is not near that versatile as Yocto. First, OS is pretty much fixed - you have to choose between upstream packages relations (Debian, Ubuntu this version or that). Which usually saves you a lot of time and kills the project complexity. The base and the hardware layer is in better shape than Yocto's defaults (Sumo or whatever its actual now). Basically you need to prepare standard Debian package, beter externally and install within build process (this is most common way of such usage) ... since internal is more or less for internal purposes, but you can see how it is done.

 

You can cross compile within Qemu and use standard Debian userspace / libraries (match version) as a base ... when you get your application function, pack and deploy within armbian user-customisation script ... standard way. apt install xxx (dependencies are installed automatically if you define them inside deb package)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.