summaryrefslogtreecommitdiff
path: root/howto/panda-jb-gcc47-tilt-stable-blob/HOWTO_install.txt
blob: 0229aae5c99d4af9f71f861decad8f3355c073ad (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
Instructions for "https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob/":https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob/

h2. Get artifacts

Scroll down to the 'Downloads' section

Click on each link to download:
* target/product/panda/boot.tar.bz2
* target/product/panda/system.tar.bz2
* target/product/panda/userdata.tar.bz2

h2. Get linaro image tools

Run these commands to get all the dependencies for linaro-image-tools and the tip of linaro-image-tools

<pre>
  $ sudo add-apt-repository ppa:linaro-maintainers/tools
  $ sudo apt-get update
  $ sudo apt-get install linaro-image-tools
</pre>

  If you're using a released build (with a -release or from releases.linaro.org), skip this step.
  If you're using a "tip" build do not skip the step and do the following:

  $ sudo apt-get install bzr
  $ bzr branch lp:linaro-image-tools

h2. Create media (SD card)

Disable automount (instructions provided for Gnome)

<pre>
  $ TMP1=$(dconf read /org/gnome/desktop/media-handling/automount)
  $ TMP2=$(dconf read /org/gnome/desktop/media-handling/automount-open)
  $ dconf write /org/gnome/desktop/media-handling/automount false
  $ dconf write /org/gnome/desktop/media-handling/automount-open false
</pre>

Insert an SD card

Run 'dmesg'

pre. $ dmesg

Look for a line that looks like the following at the end of the log

pre. [288582.790722]  sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 >

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

Run linaro image tools

pre. $ linaro-android-media-create --mmc /dev/sdc --dev panda --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

If you're using tip of linaro image tools

pre. $ ./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev panda --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

Install graphics libraries

<pre>
  $ wget http://people.linaro.org/~vishalbhoj/install-binaries-4.0.4.sh
  $ chmod a+x install-binaries-4.0.4.sh
  $ ./install-binaries-4.0.4.sh
</pre>

Restore automount

<pre>
  $ dconf write /org/gnome/desktop/media-handling/automount $TMP1
  $ dconf write /org/gnome/desktop/media-handling/automount-open $TMP2
</pre>

Remove the SD card from the device writer and plug it into the board.

h2. Check console output

Plug in an USB-to-serial converter and run minicom

pre. $ minicom -D /dev/ttyUSB0 -w -C minicom.txt