summaryrefslogtreecommitdiff
path: root/howto/vexpress-rtsm-jb-gcc47-armlt-stable-open/HOWTO_install.txt
blob: 6e193805bedea94cf6b17a74342eb5b2de985ce0 (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
Instructions for "https://android-build.linaro.org/builds/~linaro-android/vexpress-rtsm-jb-gcc47-armlt-stable-open/":https://android-build.linaro.org/builds/~linaro-android/vexpress-rtsm-jb-gcc47-armlt-stable-open/

h2. Get artifacts

Scroll down to the 'Downloads' section

Click on each link to download:
* boot.tar.bz2
* system.tar.bz2
* 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:

<pre>
  $ sudo apt-get install bzr
  $ bzr branch lp:linaro-image-tools
</pre>

h2. Create media

Run linaro image tools

pre. $ linaro-android-media-create --image-file mmc.bin --image-size 2000M --dev vexpress --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

Untar boot tarball

pre. $ tar -jxvf boot.tar.bz2

To Run on big.LITTLE

pre. $(PATH_TO_RTSM)/bin/RTSM_VE_Cortex-A15x4-A7x4 -a coretile.cluster0.*=boot/img.axf -C motherboard.mmc.p_mmc_file=mmc.bin  -C coretile.cache_state_modelled=0

To Run on big.LITTLE with semi-hosting

pre. $(PATH_TO_RTSM)/bin/RTSM_VE_Cortex-A15x4-A7x4 -a coretile.cluster0.*=./boot/img.axf -C motherboard.mmc.p_mmc_file=mmc.bin -C coretile.cache_state_modelled=0  -C coretile.cluster0.cpu0.semihosting-enable=1 -C coretile.cluster0.cpu0.semihosting-cmd_line='--kernel ./boot/zImagewithDT --initrd ./boot/Initrd -- console=ttyAMA mem=512M mem=512M@0x880000000 androidboot.console=ttyAMA0 earlyprintk init=/init'

To Run on A15 Simulator with semi-hosting

pre. $(PATH_TO_RTSM)/bin/RTSM_VE_Cortex-A15x4 boot/linux-system-semi-A15.axf -C motherboard.mmc.p_mmc_file=./mmc.bin -C cluster.cpu0.semihosting-cmd_line="--kernel ./boot/uImagewithDT --initrd ./boot/Initrd --console=ttyAMA mem=512M mem=512M@0x880000000 earlyprintk init=/init"

To Run on A15 Simulator without semi-hosting

pre. $(PATH_TO_RTSM)/bin/RTSM_VE_Cortex-A15x4 boot/linux-system-A15.axf -C motherboard.mmc.p_mmc_file=./mmc.bin

h2. Check console output

For FastModels, serial output is available over console

pre. $ telnet 127.0.0.1 -debug 5000 -e ^z