ArchLinux in Udoo board

cancel
Showing results for 
Search instead for 
Did you mean: 

ArchLinux in Udoo board

No ratings

ArchLinux in Udoo board

This document shows the steps for the creation of Archlinux and kernel 4.18.5 on the UDOO board.

Required material:

UDOO board, Ubuntu 16.04 and SD card.

Firts we need u-boot (universal bootloader), for that reason we need update the host.

$ sudo apt-get update

Then we need the file *.img and SPL for the file system

$ wget http://os.archlinuxarm.org/os/imx6/boot/udoo/SPL

$ wget http://os.archlinuxarm.org/os/imx6/boot/udoo/u-boot.img

pastedImage_3.png

Kernel 4.18.5 and file system:

$ sudo mkdir archlinux

$ wget http://os.archlinuxarm.org/os/ArchLinuxARM-armv7-latest.tar.gz

$ sudo tar -xzvf  ArchLinuxARM-armv7-latest.tar.gz

$ sudo rm -rf *.tar.gz

You must have the following files

pastedImage_5.png

Now  We are going to burn the memory, we need a 16Gb of space:

pastedImage_6.png

We need to make sure it is empty

pastedImage_7.png

Then partitions:

$ sudo fdisk /dev/sdc

O,

P,

N,

P,

1

space, 8192

default,

W

At the end the sdc is partition, then create the filesystem partition

$ sudo mkfs.ext4 /dev/sdc1

The working directory

$ sudo mkdir mnt

mount the partition 1

$ sudo mount /devsdc1 mtn/

Now we where the kernel and filesystem are and copy all the file in mnt:

$ sudo cp -vr * ~/mnt/

pastedImage_1.png

Once it finish we execute

$ sync

then unmount the partition of sdc1:

$ sudo umount mnt/

Now is moment to load the SPL and u-boot:

pastedImage_2.png

pastedImage_3.png

and

$ sync

we retire the sd and turn on the board. Now you are on ArchLinux.

pastedImage_4.png

user: alarm                  root: Root

Pass: alarm                 pass: root

Now the firts thing we must do it is upgrade the keys:

$ pacman -key --init

$ pacman -key --populate archlinuxarm

$ pacman -Syyuu

We can add another user:

$ useradd - m -g user  -s /bin/bash user_name

$ passwd user_name

$ paman -S sudo

$ visudo

Root ALL= (ALL) ALL

user_name ALL=(ALL) ALL

$ exit

pastedImage_1.png

For the graphic we are going to install the xorg:

$ sudo pacman -S xorg-server

$ sudo pacman -S xorg-apps

Now we can execute startx and observe the windows of xorg

$ startx

To have a windows gestor:

$ sudo pacman -S sddm

$ sudo pacman -S plasma kde-applications

$ sudo systemctl enable sddm

Reboot and you are ArchLinux graphics windows

pastedImage_2.png

Labels (3)
Tags (2)
Version history
Revision #:
1 of 1
Last update:
‎09-20-2018 10:10 AM
Updated by: