Difference between revisions of "Making an Arch Linux SD card for the Wandboard"

From Wandboard Wiki
Jump to: navigation, search
(Introduction)
(Instructions)
Line 63: Line 63:
  
 
Use root/root to login.
 
Use root/root to login.
 +
 +
 +
 +
== Enabling wifi ==
 +
 +
The default attempts to load the WiFi drivers, but fails due to missing firmware.
 +
 +
Create a folder <code>/lib/firmware/brcm</code> and copy the firmware files there
 +
(they are in the SDK in wandboard downloads section).
 +
 +
<code># pacman -S wpa_supplicant dialog</code><br>
 +
 +
and you are ready to setup your wireless network, using for instance:<br>
 +
<code># wifi-menu</code><br>

Revision as of 07:32, 9 June 2015


This article describes how to create an Arch Linux SD card for the Wandboard.

It also covers how to add some customization, like a user interface and a desktop, to the minimalistic default installation.

Instructions

For this content with a minimalistic installation can follow the excellent guide at: http://archlinuxarm.org/platforms/armv7/freescale/wandboard

For those wishing for a little more, the additional steps taken by the Wandboard team while making the 2015-06-09 demo SD card image.


Step 1

Create an SD card following the instruction on the arch linux page (above).


Step 2

Download u-boot from the wandboard git, and patch it with [1].

Compile SPL u-boot for the Wandboard.


Step 3

Flash u-boot image into SD card after compile finishes.
sudo dd if=SPL of=/dev/sdc bs=1k seek=1 oflag=dsync
sudo dd if=u-boot.img of=/dev/sdc bs=1k seek=69 oflag=dsync


Step 4

Install XFCE desktop environment by:
# pacman-key --init
# pacman -Syu --noconfirm<br # pacman -S --noconfirm xorg-xinit xorg-server xorg-server-utils xterm<br # pacman -S --noconfirm xfce4
# pacman -S --noconfirm mesa xf86-video-fbdev xf86-video-vesa
# pacman -S --noconfirm slim
# pacman -S --noconfirm wget
# systemctl enable slim.service
# systemctl enable graphical.target


# wget https://raw.github.com/adimania/arch-desktop-environments/master/xinitrc
# cat xinitrc >> ~/.xinitrc
# wget https://raw.github.com/adimania/arch-desktop-environments/master/bash_profile
# cat bash_profile >> ~/.bash_profile

# reboot


Step 5

Your board boots up with a graphical login.

Use root/root to login.


Enabling wifi

The default attempts to load the WiFi drivers, but fails due to missing firmware.

Create a folder /lib/firmware/brcm and copy the firmware files there (they are in the SDK in wandboard downloads section).

# pacman -S wpa_supplicant dialog

and you are ready to setup your wireless network, using for instance:
# wifi-menu