Armbian linux что это

Какой дистрибутив лучше использовать для вашей embedded системы?

Какой дистрибутив лучше использовать для embedded систем. Этот вопрос является актуальным на сегодняшний день.

Существует три актуальных подхода для решения этой задачи:

  1. Использовать готовый дистрибутив для вашего одноплатного компьютера(Armbian, Openwrt и т.д.)
  2. Собрать и настроить свой дистрибутив с помощью систем сборок(Buildroot/Yocto и т.д.).
  3. Использовать свою связку bootloader (u-boot) + ядро(kernel) + rootfs (busybox).

Если кто знает еще, напишите пожалуйста в комментариях.
UPDATE.
Проект OpenWRT это и система сборки (это не buildroot), так и проект предоставляющий готовые собранные образы для вашей целевой платы.

Готовые дистрибутивы

Я считаю использовать готовый дистрибутив это самый простой и легкий путь. Вы можете скачать готовый образ или сбилдить свой. Сборка своего образа Armbain не всегда является гибкой, т.к вы не можете выбрать любую версия ядра Linux, а использовать только предоставленные.

Следует также ответить главное достоинство готовых дистрибутивов — это их стабильность.
Для начинающих, я бы рекомендовал данные дистрибутивы.


Armbian — это популярный дистрибутив Linux, доступный для самых разных устройств ARM: Orange Pi, Banana Pi, Odroid и т.д … Он основан на Ubuntu и/или Debian.

OpenWrt — встроенная операционная система, основанная на ядре Linux, и предназначенная, в первую очередь, для домашних маршрутизаторов. Основные компоненты включают в себя ядро Linux, util-linux, uClibc или musl и BusyBox. Размер всех компонентов оптимизирован в связи с тем, что в большинстве домашних маршрутизаторов сильно ограничен объём памяти.

От себя добавлю, хорошо подойдет для плат с wi-fi на борту (Например Orange Pi Zero).

Системы сборки

Гланым достоинством систем сборок является, то что вы можете собрать минимальный и гибкий Linux для встраиваемых (embedded) систем.

Buildroot — это система сборки дистрибутивов для встраиваемых систем. Она поддерживает кучу плат и результатом ее работы становятся собранные загрузчик, ядро и образ
файловой системы.

Что оно позволяет собрать buildroot для вашей системы:

  • образ системы;
  • данная система позволяет выбрать версию ядра — любую.
  • можете добавить любые патчи и установить любые программы.
  • гибкая конфигурация утилит ( например, busyBox, bash и т.д.)

Следует обратить внимание, что все дополнительные исходники подтягиваются из сети.

Отличая такой сборки, например, от сборки Armbian:

  • собирается дистрибутив не на основе (Debian или Ubuntu), а пользовательский гибко настроенный Linux.
  • минимального размер сборки.
  • выбор любой версии ядра.

3. Использование свой связки:

Для этого нам нужен:

  • Cross compiler (Например, Linaro);
  • Bootloader (Например, U-boot);
  • Kernel;
  • RootFs (Например, Busybox).

Итак поехали.
Так мы будем собирать локально на своей машине нам нужен кросс компилятор, например linaro. Кросс компилятор поможет на архитектуре x86, собрать наш дистрибутив под целевую платформу ARM.

Далее необходимо собрать bootloader.

Bootloader (U-Boot) — самый популярный bootloader для ARM, является U-boot. Главной задачей bootloader является загрузка ядра Linux Kernel. Так же вы можете использовать, например barebox или другой.

Читайте также:  Утилита для создания установочной флешки windows

RootFs — это корневая файловая система которую примонтирует Kernel после загрузки. Рекомендую использовать Busybox.

Источник

Armbian — самая популярная ОС для одноплатных компьютеров на базе ARM — процессоров

Armbian — это дистрибутив Linux, доступный для самых разных устройств ARM: Orange Pi, Banana Pi, Odroid, Olimex, Cubieboard, Roseapple Pi, Pine64, NanoPi и др… Он основан на Ubuntu и/или Debian.

Мы должны четко указать, какой образ Armbian мы должны загрузить, хотим ли мы сервер или рабочий стол [1], будет ли он из ветки, которая использует стабильное ядро ​​(Legacy) или самое современное и нестабильное (Mainline) [2] и, наконец, если он будет основан на Debian или Ubuntu [3].

Записать образ Armbian на microSD

Записать .img образ Armbian очень легко с утилитой Etcher , она доступна для Windows, Linux и Mac.

  1. Запустите программу Etcher;
  2. Нажмите на Select image и выберите файл образ;
  3. Указать файл, выбрать накопитель, создать диск.
  4. Нажмите на Flash! и ждите окончания процесса записи;
  5. После завершения процесса появится сообщение: Flash Complete! Safely ejected and ready for use, означающее, что запись прошла успешно и можете вставить СД-карту в ваш мини-компьютер.

Первый запуск ОС Armbian

Вставьте SD-карту в слот и питание платы. Первая загрузка занимает около 3 минут, после чего компьютер может перезагрузиться и вам нужно будет подождать еще одну минуту, чтобы войти в систему. Эта задержка происходит потому, что система создает 128Mb аварийный SWAP и расширяет SD-карту до полной емкости.

Как войти в систему

Войдите в систему как root через HDMI/последовательную консоль или через SSH и используйте пароль 1234. Вам будет предложено изменить этот пароль при первом входе в систему. При первом запуске должна создаваться учетная запись пользователя.

Настройки экрана

После создания учётной записи вам вам нужно будет настроить экран с помощью утилиты h3disp.

Настроить можно при первом запуске, в таком случае нажмите Y, или потом — нажмите n. После того, как нажали Y, появится список доступных конфигураций;

Если у вас HDMI монитор на 720p и 60Гц, тогда выполняйте следующую команду:

Источник

Welcome to the Armbian Documentation!В¶

If you are new to Armbian, the Getting Started section provides a tutorial for everything you need to get Armbian running and answers many Frequently Asked Questions. It then continues on to more advanced topics.

If you need help and have read through Getting Started check out Troubleshooting.

If you still cannot find what you need here visit the Armbian forum where your input can help to improve this documentation.

What is Armbian?В¶

Armbian is a base operating system platform for single board computers (SBCs) that other projects can trust to build upon.

  • Lightweight Debian or Ubuntu based Linux distribution specialized for ARM development boards
  • Each system is compiled, assembled and optimized by Armbian Build Tools
  • It has powerful build and software development tools to make custom builds
  • A vibrant community

What is the difference between Armbian and Debian/Ubuntu?В¶

  • Debian or Ubuntu officially do not support most of those boards/boxes. Armbian does.
  • Armbian userspace has many small but vital performance or security adjustments
  • Armbian fancy some kernel development and a lot of its maintaining. Debian relies on upstream sources for ARM hardware which can be years behind and/or lack of many functions
  • Armbian userspace is lean, clean but 100% Debian/Ubuntu compatible
  • Many stock Debian bugs are fixed on the way, “better than original :)”
  • The Armbian build system is a central part of this whole ecosystem. You can DIY. Debian is much harder.
  • Dedicated support forums per boards/boxes
  • Plug’n’Play vs. complicated install scenarios on stock Debian
  • unified development scenarios and user experience vs. mess of different setup instructions scattered all around

Common featuresВ¶

  • Armbian Linux is available as Debian and Ubuntu based images, compiled from scratch
  • Images are reduced to actual data size and automatically expand across the SDcard at first boot
  • Root password is 1234 . You are forced to change this password and (optional) create a normal user at first login
  • Ethernet adapter with DHCP and SSH server ready on default port (22)
  • Wireless adapter with DHCP ready (if present) but disabled. You can use armbian-config to connect to your router or create an access point
  • NAND, SATA, eMMC and USB install script is included ( nand-sata-install )
  • Upgrades are done via standard apt upgrade method
  • Login script shows: board name with large text, distribution base, kernel version, system load, uptime, memory usage, IP address, CPU and drive temperature, ambient temperature from Temper if exits, SD card usage, battery conditions and number of updates to install

Performance tweaksВ¶

  • /var/log is mounted as compressed device (zram, lzo), log2ram service saves logs to disk daily and on shutdown
  • Half of memory is allocated/extended for/with compressed swap
  • /tmp is mounted as tmpfs (optionally compressed)
  • Browser profile memory caching
  • Optimized IO scheduler (check /etc/init.d/armhwinfo )
  • Journal data writeback enabled. ( /etc/fstab )
  • commit=600 to flush data to the disk every 10 minutes ( /etc/fstab )
  • Optimized CPU frequency scaling with interactive governor ( /etc/init.d/cpufrequtils )
    • 480-1010Mhz @Allwinner A10/A20
    • 480-1368Mhz @Allwinner H2+/H3
    • 392-996Mhz @Freescale imx
    • 600-2000Mhz @Exynos & S905
  • eth0 interrupts are using dedicated core (Allwinner based boards)

What is supported?В¶

“Supported” is not a guarantee. “Supported” implies a particular SBC is at a high level of software maturity, but has no intention to support all possible SBC functions. Supported boards do receive preferential treatment to bugfix, improve, or add additional functionality based on any of the following, non-exclusive criteria:

  1. The discretion of the “Armbian Development Team”
  2. The availability of the “Armbian Development Team”
  3. The availability of sample boards and ease of testing
  4. The mainline kernel maturity for the particular SoC or SBC platform
  5. Paid engagements, long-term sponsorship to the Armbian Project or volunteer developers
  6. Vendor or 3rd party has a designated resource providing support for a SBC or platform ON BEHALF OF THE COMMUNITY and is contributing to the project

Supported SoCsВ¶

  • Allwinner A10, A20, A31, H2+, H3, H5, H6, A64
  • Amlogic S805 and S905 (Odroid boards), S802/S812, S805, S905, S905X and S912 (fork by @balbes150 )
  • Actionsemi S500
  • Freescale / NXP iMx6
  • Marvell Armada A380
  • Rockchip RK3288/RK3328/RK3399
  • Samsung Exynos 5422

Supported boardsВ¶

Check download page for recently supported list.

Источник

Perfect for server

Minimal Debian based Linux with powerful configurator and software installer.

Excellent for desktop

Minimal and elegant XFCE based desktop.

Simple for building

Linux kernel and Debian framework. Cross-compilation with Vagrant, Docker, Virtualbox or native.

Armbian needs your help

Our Success During these 8 years since Armbian was created, we have become the go-to operating system for Arm-based single-board computers (SBC). The truth is, no other operating system can compete with us in terms of coverage and SBC support. Some distributions operate on some of the more popular single-board computers, but that’s about it. Armbian, on …

Pinebook Pro

Khadas VIM3

Orange Pi Zero 2

Simple

Lightweight

Optimised

Secure

Supported

How to start with Armbian?

Find your board and download one of the available images. Archives can be written with Etcher or USBimager (all OS).

Make sure you have a good & reliable SD card and a proper power supply. Insert SD card into a slot and power the board. First boot takes up to 30 seconds with an average SD Card and on the cheapest board.

First root login on HDMI or serial console is automatic. If you connect via SSH login as root password 1234. You will be prompted to change the password. Next, you will be asked to create a normal user account that is sudo enabled (beware of QWERTY keyboard settings at this stage).

Type sudo armbian-config and change timezone, reconfigure language, locales, network. Manage OpenSSHD settings, freeze kernel upgrades, toggle hardware settings. Install Armbian to internal or external memory, a desktop, 3rd party software, .

Testimonials

Just a quick note to say thank you to the Developers for all that you do and have done to make our favorite Arm Linux Distro a success!

I just want to post a thank you to the developers and contributors who have built one nice distribution. Over a year ago I bought a few OPi PC as a possible replacement for Raspberry Pi based HAM radio projects I support. Last night I downloaded and installed Jessie server from Armbian. What a pleasure. Small, clean and a giant plus for me, HEADERS. I am so tired of having to build the headers for a kernel so I can compile the out of tree modules I need. I just ordered a few NanoPi NEO and I look forward to being able to run Armbian. Thank you VERY much! My next stop is the donate button.

All the Tinkerboard OS’s looked to me more like compromise solutions to make the board work, rather than real OS’s I could trust. Until I came across Armbian, that appeared to be more like the real Linux distros I was used to in the past. I saw committed people who really knew what they were doing, and it gave me a feeling of reliability.

The new image worked perfectly and I am really impressed. When using the images for Raspbian or Debian, the screen output was very blurry using the converter. With armbian, it is razor sharp, right from the beginning. Wow!

After some interesting weeks, I could successfully install eight Odroid C2 together with dedicated FPGA hardware now, and prepare them now for deep sea operation. Just wanted to express a big «THANK YOU» to all here in the forum which was involved in helping me to get the beast working.

One of the good things about Armbian is that it provides a very easy to use kernel config tool. I had no experience in kernel development, and I was able to work with it just in a couple hours.

I have switched to Armbian, and what a difference. Downloads are faster, programs open faster, and T-bird and Firefox work with no problem.

Great job guys, userpatches concept is just great. Working firmware for the new board in 2 days — that took me 6 months before with Buildroot.

Источник

Читайте также:  Основные горячие клавиши mac os
Оцените статью