ARM

From Wiki [en] OpenMandriva
Revision as of 09:25, 14 June 2016 by Jclvanier (Talk | contribs) (How to create ARM chroot on x86 hardware)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

What it is

ARM is a family of instruction set architectures for computer processors based on a reduced instruction set computing (RISC) architecture developed by British company ARM Holdings.

Current supported architecture

  • armv7l - softfloat (can be used on OLD devices)
  • armv7hl - hardfloat (modern phones/boards)
  • aarch64 - our future (will be available for purchase in Q2 2014)

Hardware

We use wandboard boards

Speecification Wandboard Solo Wandboard Dual Wandboard Quad
Processor Freescale i.MX6 Solo Freescale i.MX6 DualLite Freescale i.MX6 Quad
CPU cores 1 2 4
GPU Vivante GC880 Vivante GC880 Vivante GC2000
Memory 512 MB 1 GB DDR3 2 GB DDR3
Audio Yes Yes Yes
Optical S/PDIF Yes Yes Yes
HDMI Yes Yes Yes
Camera interface Yes Yes Yes
micro SD cardslot Yes Yes Yes
Serial port Yes Yes Yes
SATA connector No No Yes
Gigabit LAN Yes Yes yes

How to create ARM chroot on x86 hardware

Warn02.png
This article is now obsolete
must be updated
* mkdir openmandriva_arm
* mkdir -p openmandriva_arm/usr/bin/
* wget https://abf.rosalinux.ru/abf/mdv-scripts/raw/master/build-packages/cooker/qemu-wrapper https://abf.rosalinux.ru/abf/mdv-scripts/raw/master/build-packages/cooker/qemu-static-arm
* sudo sh -c "echo 'armv7hl-mandriva-linux-gnueabi' > /etc/rpm/platform"
* sudo sh -c "echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-wrapper:' > /proc/sys/fs/binfmt_misc/register"
* sudo urpmi.addmedia main_release http://abf-downloads.rosalinux.ru/cooker/repository/armv7hl/main/release/ --urpmi-root openmandriva_arm
* chmod +x qemu-* && cp qemu-* openmandriva_arm/usr/bin/
* sudo urpmi --no-suggests --no-verify-rpm --ignorearch --root openmandriva_arm/  --urpmi-root openmandriva_arm/ basesystem-minimal locales distro-release-OpenMandriva locales-en urpmi task-devel sudo vim-enhanced

Goals

  • to have working KDE on arm7l and arm7hl
  • get an aarch64 board (currently only crosscompiling)