summaryrefslogtreecommitdiff
path: root/HOWTO_install.txt
blob: 81024311c9dd26d10fb66b85d66d4fc226f531a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
h1. Binary Image Installation

Linaro provides two methods for installing Linaro binary builds:

# Using a pre-built image, which you can download
# Assembling your own image using provided components

h2. Pre-Installation Steps

Before any installation begins, it is important that you ensure you Versatile Express board has the latest firmware and boot loader installed. Please check the "Firmware Update" on this page for the latest updates and installation instructions.

h2. Using pre-built image

h3. Prerequisites

* Ubuntu 12.04 64 bit or newer on your desktop PC (www.ubuntu.com)
* 4GB SD card or larger
* Latest firmware installed onto the Versatile Express. Please see "Firmware Update" tab
* This release pre-built image (vexpress*.img.bz2), which you can downloaded from the above list of artifacts

h3. Installation Steps

* Unzip the downloaded pre-built image
* Insert SD card into your PC and note the assigned @'/dev/sdX'@

bc. 
     dmesg
     SDCARD=/dev/sdX   (sdcard found from dmesg above)
     sudo dd bs=64k if=vexpress-jb-gcc47-armlt-tracking-open.img of=$SDCARD

* Boot the board
** Insert the SD card into the board
** Reboot the board
*** “Cmd>" prompt from the Boot Loader
*** Press the red reboot button

*Note:* Windows users may use the "Image Writer for Windows":https://launchpad.net/win32-image-writer/+download 

<hr />

h2. Building a custom image using pre-built components. 

Sometimes, you may wish to build your own custom image for a Versatile Express. Perhaps you wish to use a more recent snapshot of the "hardware pack":https://wiki.linaro.org/HardwarePacks for Ubuntu or take the latest Android build. Whatever the reason, you will want to use the "Linaro media tools":https://wiki.linaro.org/Linaro-Image-Tools to create a custom image.

Using components to generate the image will yield the same functionality found in the pre-built image of the same release.

h3. Prerequisites

* Ubuntu 12.04 64 bit or newer on your desktop PC (www.ubuntu.com)
* Download Artifacts from above or use the following command in your terminal

bc. 
	wget http://releases.linaro.org/12.10/android/images/vexpress-jb-gcc47-armlt-tracking-open/boot.tar.bz2 http://releases.linaro.org/12.09/android/images/vexpress-jb-gcc47-armlt-tracking-open/system.tar.bz2 http://releases.linaro.org/12.09/android/images/vexpress-jb-gcc47-armlt-tracking-open/userdata.tar.bz2@

* Get "linaro image tools":https://wiki.linaro.org/Linaro-Image-Tools

There are multiple ways you can get the latest Linaro Image Tools:

** Method 1: Install them from the Linaro Image Tools "PPA":https://launchpad.net/~linaro-maintainers/+archive/tools

bc. 
	sudo add-apt-repository ppa:linaro-maintainers/tools@
	sudo apt-get update@
	sudo apt-get install linaro-image-tools@

** Method 2: Building from source. 

bc.     wget http://releases.linaro.org/12.09/components/platform/linaro-image-tools/linaro-image-tools-2012.10.1.tar.gz

* Insert SD card and note the assigned @'/dev/sdX'@ or @'/dev/mmcblk0'@

bc. 
    dmesg | less

Look for a line that looks like the following at the end of the log
@[288582.790722] sdc: sdc1 sdc2 sdc3 sdc4 <sdc5 sdc6 >@
Or, if your machine uses '/dev/mmcblkX', you may see a line line this:
@[10770.938042]  mmcblk0: p1 p2 p3 p4 < p5 p6 >@

*WARNING:* In the next step, make sure you use /dev/"whatever you see above". You can erase your hard drive with the wrong parameter.

* Create Media

bc.    sudo linaro-android-media-create --mmc /dev/sdX --dev vexpress --system system.tar.bz2 --boot boot.tar.bz2 --userdata userdata.tar.bz2

* Boot the board
** Insert the SD card into the board
** Reboot the board
*** “Cmd>" prompt from the Boot Loader
*** Press the red reboot button