Меню Рубрики

Arch linux arm img

Arch linux arm img

We are a port of Arch Linux, which aims for simplicity and full control to the end user. We provide a light-weight base structure that allows you to shape the system to your needs.

Optimized

We build optimized packages for soft-float ARMv5te, hard-float ARMv6 and ARMv7, and ARMv8 AArch64 instruction sets to use each platform to its full potential.

Up to Date

New software versions are packaged as they are released, ensuring you are always on the leading edge of stable software releases.

Arch Linux ARM is a distribution of Linux for ARM computers. We provide targeted kernel and software support for soft-float ARMv5te, hard-float ARMv6 and ARMv7, and ARMv8 AArch64 instruction sets on a variety of consumer devices and development platforms. Our collaboration with Arch Linux brings users the best platform, newest packages, and installation support.

Arch Linux ARM carries forward the Arch Linux philosophy of simplicity and user-centrism, targeting and accommodating competent Linux users by giving them complete control and responsibility over the system. Instructions are provided to assist in navigating the nuances of installation on the various ARM platforms; however, the system itself will offer little assistance to the user.

The entire distribution is on a rolling-release cycle that can be updated daily through small packages instead of huge updates on a defined release schedule. Most packages are unmodified from what the upstream developer originally released.

Hosting Sponsors

Arch Linux ARM is grateful to our hosting sponsors who help keep the lights on and allow us to concentrate on development.

Hardware Sponsors

And a big thanks to the individuals and companies that provide us with the hardware and resources to continue development.

Copyright ©2009-2020 Arch Linux ARM
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead.

Источник

Arch linux arm img

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A simple (unofficial) CI/CD bash script to build a zipped .img of Arch Linux Arm installation archives, released to GitHub releases.

The alarm project does not publish images, just inconveniently packaged archives that require a very up-to-date version of bsdtar .

You can use this repo in a few different ways:

Flashing the provided image

  1. The / partition is very small, so you will also need to extend that to fill up your SD card. You have to do this from an external system, you cannot resize the partition with the system running on the SD card itself.
  • Arch Linux: Parted#Resizing_partitions
  • macOS: TODO
  • Windows: TODO
  1. Continue on step 9 from the relavant intructions where you boot the SD card, log in (user: alarm pw: alarm root: root ) and initialize pacman:

Running your own build

The indented usage is to just consume the artifacts published on the GitHub releases page, but you can also run it locally on linux.

The script requires sudo access, because it needs to mount things. Read the script, it short.

There is also a script to install new bsdtar , but its just a simple ./configure ; make ; make install , so its not recommended to use outside of a disposable environment. Find a way to install bsdtar 3.3.1 or greater with your system package manager.

If you do run your own build, set it up to run in a CI environment. See .travis.yml for example CI usage.

Customize with packer (experimental)

(Note the following method is still experimental/WIP and doesn’t work yet)

Create customized versions of this image with packer and solo-io/packer-builder-arm-image.

  • Install packages
  • Resize the image
  • Create users
  • Set up ssh keys
  • etc.

See github.com/bcomnes/raspi-packer for example consumption of this image with packer. (Not functional yet, see solo-io/packer-builder-arm-image#12)

Currently publishing the following installations. Open a pull request if you would like additional images added or to request a rebuild. Images are dated when they were created.

Run your own builds in CI for a greater level of trust in the build output.

Источник

Downloads

Updating/upgrading to the latest Arch Linux ARM release

Since Arch Linux ARM is a rolling distribution, you never need to download new releases or run special upgrade scripts. The entire system is kept up-to-date by running one command: pacman -Syu

The latest versions of packages are always available to all of our users. The only time you have to download a full Arch Linux ARM root filesystem is when you’re installing for the very first time.

All releases are signed with the same key used for package signing, key ID 68B3537F39A313B3E574D06777193F152BDBE6A6 .

Current Releases

Name File Checksum Signature
ARMv5 AT91 Arietta ArchLinuxARM-arietta-latest.tar.gz MD5 SIG
ARMv5 Kirkwood platforms ArchLinuxARM-kirkwood-latest.tar.gz MD5 SIG
ARMv5 Multi-platform ArchLinuxARM-armv5-latest.tar.gz MD5 SIG
ARMv5 PXA168/910 platforms ArchLinuxARM-mmp-latest.tar.gz MD5 SIG
ARMv6 Raspberry Pi ArchLinuxARM-rpi-latest.tar.gz MD5 SIG
ARMv7 AM33x BeagleBone ArchLinuxARM-am33x-latest.tar.gz MD5 SIG
ARMv7 Amlogic S805 ODROID-C1 ArchLinuxARM-odroid-c1-latest.tar.gz MD5

Copyright ©2009-2020 Arch Linux ARM
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.
The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead.

Источник

Установка ArchLinux ARM рядом с Android без chroot

Нам потребуется

Все действия Вы выполняете на свой страх и риск.

Я использовал

Часть 1: Подготовка

1. Скачаем архив с ArchLinux ARM с зеркала:

Дальнейшие действия необходимо проделывать на Android устройстве

2. Создаем файл для будущего образа с помощью make_ext4fs.

Если у вас есть отдельный раздел на карте памяти — желательно использовать его. В моем случае 16Гб SD карта была забита важными данными и возможности сдвинуть главный FAT раздел не было.

В зависимости от настроек /sdcard может быть как внешней, так и внутренней картой памяти.

3221225472 это 1024*1024*1024*3, следовательно будет создан образ в 3Гб. Размер образа определите для себя по вкусу. Помните что на FAT32 нельзя создать файл больше 4Гб

3. Примонтируем образ и распакуем файлы ArchLinux ARM

4. Несмотря на то, что наша цель — обойтись без chroot, для базовой настройки и проверки работоспособности chroot все же нужно сделать. В противном случае обновлять, доставлять пакеты Вам придется уже на боевой системе.

Часть 2: Поиск и решение проблем

Проблема 1: ping не работает

Вспоминаем, что у Android серьезная система разграничения прав. И в нем существует пермишен на «Полный доступ к сети». Без этого пермишшена пользователи не могут получить полный доступ к сокетам. То что надо.

Вернемся к Android консоли и пропишем комманду id:

У вас вывод может быть другой

Но вот незадача, chroot не обновляет group. Поможет вот такой «хак»:

Проблема 2: Не работает DNS

Удаляем симлинк на systemd и запишем нормальные DNS:

Если Вы запороли PATH

Если произошло такое, что простые комманды вида ls,cat,su не работают(не видятся) системой, Вы можете попробывать вызвать их напрямую: /system/bin/ls, /system/bin/cat, /system/xbin/su.
Или перезагрузить устройство.

Ставим необходимые пакеты

Проверяем gcc

Часть 3: Подготовка к работе без chroot

Самое главное, что позволяет ArchLinux работать без chroot рядом с андроидом — тот факт, что папки и файлы ArchLinux и андроид различны и не мешают друг другу.

Если Вы не уверены в том, что файлы не пересекутся, выполните эти команды из Android консоли:

Покажет пересечение файлов. У меня это выглядит так:

Выполним копирование файлов из /etc/ в /arch/etc/ из Android:

Ключ -a обязателен, так как при использовании обычного -R права скопированы не будут.

Нужно заранее позаботится о Root.

Android приложения требуют, что бы комманда su сразу же давала доступ к суперпользователю и не запрашивала пароль.

Часть 4: Поехали!

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

Если что-то сделано неправильно, Вы можете перезагрузить устройство и попробовать снова. Порядок монтирования важен. При ошибке с монтированием стандартные команды могут взятся из ArchLinux до того, как все каталоги будут смонтированы.

Что дальше

В итоге мы имеем практически полноценный ArchLinux за исключением systemd с свежими версиями пакетов.

Можно установить http, php, mysql. При правильной настройке на уменьшение потребления памяти даже на моем смартфоне с ОЗУ 512Мб они работали корректно.

Можно установить иксовые библиотеки и с помощью X сервера для Android пользоваться ПО для линукса. xterm заработал корректно.

Можно собирать любые программы (и, о нет, ядра) для Linux без ПК.
Можно установить Java для ARM и использовать Java приложения.

Послесловие

Большой проблемой остается systemd и его привязка к PID 1. Для того, что бы сохранить PID 1 нужно влезть в init андроида и прописать exec после инициализации устройств. Это можно сделать заменив init андроида shell скриптом, но тогда остается вопрос что делать с оригинальным init андроида. Так как место на загрузочном диске ограничено несколькими мегабайтами, нужно будет использовать switch_root в заранее созданный образ. Мне пока не удалось завести systemd таким способом.

Мне 16, и это моя первая публикация. Конструктивная критика приветствуется.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Coconut battery mac os
  • Cmd r не запускается на mac os
  • Clover не запускается mac os
  • Clover не видит диск с mac os
  • Clover this version of mac os x is not supported on this platform