Merge lp:~dpigott/lava-lab/make-lava-lab-have-all-device-configs into lp:lava-lab

Proposed by Dave Pigott
Status: Needs review
Proposed branch: lp:~dpigott/lava-lab/make-lava-lab-have-all-device-configs
Merge into: lp:lava-lab
Diff against target: 815 lines (+725/-0)
18 files modified
lava/device-types/beagle-xm.conf (+23/-0)
lava/device-types/beaglebone-black.conf (+21/-0)
lava/device-types/beaglebone.conf (+21/-0)
lava/device-types/capri.conf (+46/-0)
lava/device-types/highbank.conf (+2/-0)
lava/device-types/k3v2.conf (+46/-0)
lava/device-types/kvm.conf (+3/-0)
lava/device-types/mx51evk.conf (+11/-0)
lava/device-types/mx53loco.conf (+30/-0)
lava/device-types/nexus.conf (+46/-0)
lava/device-types/nexus10.conf (+46/-0)
lava/device-types/qemu.conf (+7/-0)
lava/device-types/rtsm_foundation-armv8.conf (+20/-0)
lava/device-types/rtsm_ve-a15x1-a7x1.conf (+111/-0)
lava/device-types/rtsm_ve-a15x4-a7x4.conf (+111/-0)
lava/device-types/rtsm_ve-armv8.conf (+128/-0)
lava/device-types/vexpress-tc2.conf (+36/-0)
lava/device-types/vexpress.conf (+17/-0)
To merge this branch: bzr merge lp:~dpigott/lava-lab/make-lava-lab-have-all-device-configs
Reviewer Review Type Date Requested Status
Linaro Validation Team Pending
Review via email: mp+171788@code.launchpad.net

Description of the change

ok - so we have device-type configs in two places - the dispatcher and lava-lab, and any values in lava-lab override ones in dispatcher. What I've done is to make sure that lava-lab is up to date, taking care not to override any existing configs.

It strikes me that we have another problem to solve: Having device configs in two places, which are out of step. lava-lab needs to hold the current set, and any changes to it need to be reflected back into the dispatcher. The reason we need lava-lab to be definitive is that means we can re-salt to update a device type, rather than having to deploy a potentially unstable dispatcher.

I'm not self approving this, because it needs discussion, but it's already resulted in a fastmodels device failing because its dispatcher was wound back too far and the dispatcher didn't have the config for it and neither did lava-lab.

To post a comment you must log in.

Unmerged revisions

200. By Dave Pigott

Update to latest

199. By Dave Pigott

Make lava-lab the definitive device-type list

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'lava/device-types/beagle-xm.conf'
--- lava/device-types/beagle-xm.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/beagle-xm.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,23 @@
1boot_cmds = mmc init,
2 mmc part 0,
3 setenv bootcmd "'fatload mmc 0:3 0x80000000 uImage;
4 fatload mmc 0:3 0x81600000 uInitrd;
5 bootm 0x80000000 0x81600000'",
6 setenv bootargs "' console=tty0 console=ttyO2,115200n8
7 root=LABEL=testrootfs rootwait ro earlyprintk fixrtc nocompcache
8 vram=12M omapfb.debug=y omapfb.mode=dvi:1280x720MR-16@60'",
9 boot
10
11boot_cmds_android = mmc init,
12 mmc part 0,
13 setenv bootcmd "'fatload mmc 0:3 0x80000000 uImage;
14 fatload mmc 0:3 0x81600000 uInitrd;
15 bootm 0x80000000 0x81600000'",
16 setenv bootargs "'console=tty0 console=ttyO2,115200n8
17 rootwait rw earlyprintk fixrtc nocompcache
18 vram=12M omapfb.debug=y omapfb.mode=dvi:1280x720MR-16@60
19 init=/init androidboot.console=ttyO2'",
20 boot
21
22qemu_machine_type = beaglexm
23lmc_dev_arg = beagle
024
=== added file 'lava/device-types/beaglebone-black.conf'
--- lava/device-types/beaglebone-black.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/beaglebone-black.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,21 @@
1boot_cmds_oe =
2 setenv initrd_high "'0xffffffff'",
3 setenv fdt_high "'0xffffffff'",
4 setenv bootcmd "'fatload mmc 0:3 0x80200000 uImage; fatload mmc 0:3 0x815f0000 board.dtb; bootm 0x80200000 - 0x815f0000'",
5 setenv bootargs "'console=ttyO0,115200n8 root=/dev/mmcblk0p5 rootwait ro'",
6 boot
7
8boot_cmds =
9 setenv initrd_high "'0xffffffff'",
10 setenv fdt_high "'0xffffffff'",
11 setenv bootcmd "'fatload mmc 0:3 0x80200000 uImage; fatload mmc 0:3 0x81600000 uInitrd; fatload mmc 0:3 0x815f0000 board.dtb; bootm 0x80200000 0x81600000 0x815f0000'",
12 setenv bootargs "'console=ttyO0,115200n8 root=LABEL=testrootfs rootwait ro'",
13 boot
14
15lmc_dev_arg = beaglebone
16
17boot_options =
18 boot_cmds
19
20[boot_cmds]
21default = boot_cmds
022
=== added file 'lava/device-types/beaglebone.conf'
--- lava/device-types/beaglebone.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/beaglebone.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,21 @@
1boot_cmds_oe =
2 setenv initrd_high "'0xffffffff'",
3 setenv fdt_high "'0xffffffff'",
4 setenv bootcmd "'fatload mmc 0:3 0x80200000 uImage; fatload mmc 0:3 0x815f0000 board.dtb; bootm 0x80200000 - 0x815f0000'",
5 setenv bootargs "'console=ttyO0,115200n8 root=/dev/mmcblk0p5 rootwait ro'",
6 boot
7
8boot_cmds =
9 setenv initrd_high "'0xffffffff'",
10 setenv fdt_high "'0xffffffff'",
11 setenv bootcmd "'fatload mmc 0:3 0x80200000 uImage; fatload mmc 0:3 0x81600000 uInitrd; fatload mmc 0:3 0x815f0000 board.dtb; bootm 0x80200000 0x81600000 0x815f0000'",
12 setenv bootargs "'console=ttyO0,115200n8 root=LABEL=testrootfs rootwait ro'",
13 boot
14
15lmc_dev_arg = beaglebone
16
17boot_options =
18 boot_cmds
19
20[boot_cmds]
21default = boot_cmds
022
=== added file 'lava/device-types/capri.conf'
--- lava/device-types/capri.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/capri.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,46 @@
1client_type = capri
2
3# The ADB command line.
4#
5# In the case where there are multiple android devices plugged into a
6# single host, this connection command must be overriden on each device to
7# include the serial number of the device, e.g.
8#
9# serial_number = XXXXXXXXXXXXXXXX
10# adb_command = adb -s %(serial_number)s
11adb_command = adb
12
13# The fastboot command.
14#
15# The same as above: if you have more than one device, you will want to
16# override this in your device config to add a serial number, e.g.
17#
18# serial_number = XXXXXXXXXXXXXXXX
19# fastboot_command = fastboot -s %(serial_number)s
20#
21# Of course, in the case you override both adb_command *and* fastboot_command,
22# you don't need to specify `serial_number` twice.
23fastboot_command = fastboot
24
25# Working directory for temporary files. By default, the usual place for LAVA
26# images will be used.
27#
28# This is useful when the lava dispatcher is controlling the device under test which is
29# physically plugged to other machines by setting adb_command to something like
30# "ssh <phone-host> adb" and fastboot_command to something like "ssh
31# <phone-host> fastboot". adb and fastboot always operate on local files, so
32# you need your local files to also be seen as local files on the host where
33# adb/fastboot are executed.
34#
35# In this case, you should set shared_working_directory to a shared directory
36# between the machine running the dispatcher and the machine where the phone is
37# plugged. This shared directory must have the same path in both machines.
38# For example, you can have your /var/tmp/lava mounted at /var/tmp/lava at
39# <phone-host> (or the other way around).
40shared_working_directory =
41
42connection_command = %(adb_command)s shell
43
44enable_network_after_boot_android = false
45android_adb_over_usb = true
46android_adb_over_tcp = false
047
=== added file 'lava/device-types/highbank.conf'
--- lava/device-types/highbank.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/highbank.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,2 @@
1client_type = highbank
2connection_command = ipmitool -I lanplus -U admin -P admin -H %(ecmeip)s sol activate
03
=== added file 'lava/device-types/k3v2.conf'
--- lava/device-types/k3v2.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/k3v2.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,46 @@
1client_type = k3v2
2
3# The ADB command line.
4#
5# In the case where there are multiple android devices plugged into a
6# single host, this connection command must be overriden on each device to
7# include the serial number of the device, e.g.
8#
9# serial_number = XXXXXXXXXXXXXXXX
10# adb_command = adb -s %(serial_number)s
11adb_command = adb
12
13# The fastboot command.
14#
15# The same as above: if you have more than one device, you will want to
16# override this in your device config to add a serial number, e.g.
17#
18# serial_number = XXXXXXXXXXXXXXXX
19# fastboot_command = fastboot -s %(serial_number)s
20#
21# Of course, in the case you override both adb_command *and* fastboot_command,
22# you don't need to specify `serial_number` twice.
23fastboot_command = fastboot
24
25# Working directory for temporary files. By default, the usual place for LAVA
26# images will be used.
27#
28# This is useful when the lava dispatcher is controlling the device under test which is
29# physically plugged to other machines by setting adb_command to something like
30# "ssh <phone-host> adb" and fastboot_command to something like "ssh
31# <phone-host> fastboot". adb and fastboot always operate on local files, so
32# you need your local files to also be seen as local files on the host where
33# adb/fastboot are executed.
34#
35# In this case, you should set shared_working_directory to a shared directory
36# between the machine running the dispatcher and the machine where the phone is
37# plugged. This shared directory must have the same path in both machines.
38# For example, you can have your /var/tmp/lava mounted at /var/tmp/lava at
39# <phone-host> (or the other way around).
40shared_working_directory =
41
42connection_command = %(adb_command)s shell
43
44enable_network_after_boot_android = false
45android_adb_over_usb = true
46android_adb_over_tcp = false
047
=== added file 'lava/device-types/kvm.conf'
--- lava/device-types/kvm.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/kvm.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,3 @@
1client_type = qemu
2qemu_binary = qemu-system-x86_64
3qemu_options = -machine accel=kvm:tcg -hda {DISK_IMAGE} -nographic
04
=== added file 'lava/device-types/mx51evk.conf'
--- lava/device-types/mx51evk.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/mx51evk.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,11 @@
1boot_part = 2
2root_part = 3
3boot_cmds = mmc init,
4 mmc part 0,
5 setenv bootcmd "'fatload mmc 0:5 0x90000000 uImage; fatload mmc 0:5
6 0x92000000 uInitrd; fatload mmc 0:5 0x91ff0000 board.dtb; bootm
7 0x90000000 0x92000000 0x91ff0000'",
8 setenv bootargs "' console=tty0 console=ttymxc0,115200n8
9 root=LABEL=testrootfs rootwait ro'",
10 boot
11bootloader_prompt = >
012
=== added file 'lava/device-types/mx53loco.conf'
--- lava/device-types/mx53loco.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/mx53loco.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,30 @@
1boot_part = 2
2root_part = 3
3boot_cmds = mmc init,
4 mmc part 0,
5 setenv bootcmd "'fatload mmc 0:5 0x70800000 uImage; fatload mmc
6 0:5 0x71800000 uInitrd; bootm 0x70800000 0x71800000'",
7 setenv bootargs "' console=tty0 console=ttymxc0,115200n8
8 root=LABEL=testrootfs rootwait ro'",
9 boot
10
11# Original linaro-android-media-create generated Android system SD card layout
12boot_part_android_org = 2
13sys_part_android_org = 3
14cache_part_android_org = 5
15data_part_android_org = 6
16sdcard_part_android_org = 7
17
18# Android LAVA test image SD card layout
19sys_part_android = 6
20sdcard_part_android = 7
21data_part_android = 7
22boot_cmds_android = mmc init,
23 mmc part 0,
24 setenv bootcmd "'fatload mmc 0:5 0x70000000 uImage;
25 fatload mmc 0:5 0x72000000 uInitrd; bootm 0x70000000 0x72000000'",
26 setenv bootargs "'console=tty0 console=ttymxc0,115200n8
27 rootwait ro earlyprintk rootdelay=1 fixrtc nocompcache di1_primary tve
28 init=/init androidboot.console=ttymxc0'",
29 boot
30bootloader_prompt = >
031
=== added file 'lava/device-types/nexus.conf'
--- lava/device-types/nexus.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/nexus.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,46 @@
1client_type = fastboot
2
3# The ADB command line.
4#
5# In the case where there are multiple android devices plugged into a
6# single host, this connection command must be overriden on each device to
7# include the serial number of the device, e.g.
8#
9# serial_number = XXXXXXXXXXXXXXXX
10# adb_command = adb -s %(serial_number)s
11adb_command = adb
12
13# The fastboot command.
14#
15# The same as above: if you have more than one device, you will want to
16# override this in your device config to add a serial number, e.g.
17#
18# serial_number = XXXXXXXXXXXXXXXX
19# fastboot_command = fastboot -s %(serial_number)s
20#
21# Of course, in the case you override both adb_command *and* fastboot_command,
22# you don't need to specify `serial_number` twice.
23fastboot_command = fastboot
24
25# Working directory for temporary files. By default, the usual place for LAVA
26# images will be used.
27#
28# This is useful when the lava dispatcher is controlling the device under test which is
29# physically plugged to other machines by setting adb_command to something like
30# "ssh <phone-host> adb" and fastboot_command to something like "ssh
31# <phone-host> fastboot". adb and fastboot always operate on local files, so
32# you need your local files to also be seen as local files on the host where
33# adb/fastboot are executed.
34#
35# In this case, you should set shared_working_directory to a shared directory
36# between the machine running the dispatcher and the machine where the phone is
37# plugged. This shared directory must have the same path in both machines.
38# For example, you can have your /var/tmp/lava mounted at /var/tmp/lava at
39# <phone-host> (or the other way around).
40shared_working_directory =
41
42connection_command = %(adb_command)s shell
43
44enable_network_after_boot_android = false
45android_adb_over_usb = true
46android_adb_over_tcp = false
047
=== added file 'lava/device-types/nexus10.conf'
--- lava/device-types/nexus10.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/nexus10.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,46 @@
1client_type = nexus10
2
3# The ADB command line.
4#
5# In the case where there are multiple android devices plugged into a
6# single host, this connection command must be overriden on each device to
7# include the serial number of the device, e.g.
8#
9# serial_number = XXXXXXXXXXXXXXXX
10# adb_command = adb -s %(serial_number)s
11adb_command = adb
12
13# The fastboot command.
14#
15# The same as above: if you have more than one device, you will want to
16# override this in your device config to add a serial number, e.g.
17#
18# serial_number = XXXXXXXXXXXXXXXX
19# fastboot_command = fastboot -s %(serial_number)s
20#
21# Of course, in the case you override both adb_command *and* fastboot_command,
22# you don't need to specify `serial_number` twice.
23fastboot_command = fastboot
24
25# Working directory for temporary files. By default, the usual place for LAVA
26# images will be used.
27#
28# This is useful when the lava dispatcher is controlling the device under test which is
29# physically plugged to other machines by setting adb_command to something like
30# "ssh <phone-host> adb" and fastboot_command to something like "ssh
31# <phone-host> fastboot". adb and fastboot always operate on local files, so
32# you need your local files to also be seen as local files on the host where
33# adb/fastboot are executed.
34#
35# In this case, you should set shared_working_directory to a shared directory
36# between the machine running the dispatcher and the machine where the phone is
37# plugged. This shared directory must have the same path in both machines.
38# For example, you can have your /var/tmp/lava mounted at /var/tmp/lava at
39# <phone-host> (or the other way around).
40shared_working_directory =
41
42connection_command = %(adb_command)s shell
43
44enable_network_after_boot_android = false
45android_adb_over_usb = true
46android_adb_over_tcp = false
047
=== added file 'lava/device-types/qemu.conf'
--- lava/device-types/qemu.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/qemu.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,7 @@
1client_type=qemu
2
3qemu_binary = qemu-system-arm
4qemu_options = -M %(qemu_machine_type)s -drive if=%(qemu_drive_interface)s,cache=writeback,file={DISK_IMAGE} -clock unix -device usb-kbd -device usb-mouse -usb -device usb-net,netdev=mynet -netdev user,id=mynet -net nic -net user -nographic
5
6qemu_machine_type = beaglexm
7qemu_drive_interface = sd
08
=== added file 'lava/device-types/rtsm_foundation-armv8.conf'
--- lava/device-types/rtsm_foundation-armv8.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/rtsm_foundation-armv8.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,20 @@
1client_type=fastmodel
2
3# how long the disablesuspend script should take to complete
4# fm takes longer than other android images do
5disablesuspend_timeout = 500
6
7# how long ubuntu takes to boot to prompt
8boot_linaro_timeout = 500
9
10# if you do dhcp on boot, adb will not work (asac) on fastmodels
11enable_network_after_boot_android = 0
12
13# we do usermode networking over the loopback
14default_network_interface = lo
15
16simulator_axf_files = img-foundation.axf
17
18simulator_version_command = /opt/arm/Foundation_v8pkg/Foundation_v8 --version | grep "ARM V8 Foundation Model" | sed 's/ARM V8 Foundation Model //'
19
20simulator_command = sudo -u www-data /opt/arm/Foundation_v8pkg/Foundation_v8 --image={AXF} --block-device={IMG} --network=nat
021
=== added file 'lava/device-types/rtsm_ve-a15x1-a7x1.conf'
--- lava/device-types/rtsm_ve-a15x1-a7x1.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/rtsm_ve-a15x1-a7x1.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,111 @@
1client_type=fastmodel
2
3# how long the disablesuspend script should take to complete
4# fm takes longer than other android images do
5disablesuspend_timeout = 500
6
7# how long ubuntu takes to boot to prompt
8boot_linaro_timeout = 800
9
10# if you do dhcp on boot, adb will not work (asac) on fastmodels
11enable_network_after_boot_android = 0
12
13# we do usermode networking over the loopback
14default_network_interface = lo
15
16bootloader_prompt = Start:
17
18interrupt_boot_prompt = The default boot selection will start in
19
20interrupt_boot_command = break
21
22# UEFI boot commands
23boot_cmds = sendline a,
24 expect Choice:,
25 sendline 1,
26 expect Select the Boot Device:,
27 sendline 2,
28 expect File path of the EFI Application or the kernel:,
29 sendline uImage,
30 expect [a/g/l],
31 sendline l,
32 expect Add an initrd: [y/n],
33 sendline y,
34 expect File path of the initrd:,
35 sendline uInitrd,
36 expect Arguments to pass to the binary:,
37 sendline 'console=ttyAMA0,38400n8 root=/dev/mmcblk0p2 rootwait ro mem=1024M',
38 expect File path of the local FDT:,
39 sendline rtsm\\rtsm_ve-ca15x1-ca7x1.dtb,
40 expect Description for this new Entry:,
41 sendline Test Image,
42 expect Choice:,
43 sendline 5,
44 expect Start:,
45 sendline 2
46
47simulator_axf_files =
48 img.axf
49 linux-system-ISW.axf
50 rtsm/linux-system-semi.axf
51
52simulator_kernel = vmlinuz.*
53simulator_initrd = initrd.*
54simulator_dtb = rtsm_ve-ca15x1-ca7x1.dtb
55simulator_uefi = uefi_rtsm_ve-ca15.bin
56
57license_file = 8224@localhost
58sim_bin = /opt/arm/RTSM_A15-A7x14_VE/Linux64_RTSM_VE_Cortex-A15x4-A7x4/RTSM_VE_Cortex-A15x4-A7x4
59android_adb_port = 6555
60
61simulator_version_command = %(sim_bin)s --version | grep "Fast Models" | sed 's/Fast Models \[//' | sed 's/\]//'
62
63simulator_boot_wrapper = -a coretile.cluster0.*={AXF}
64
65simulator_command = sudo -u www-data ARMLMD_LICENSE_FILE="%(license_file)s" %(sim_bin)s
66
67boot_options =
68 motherboard.mmc.p_mmc_file
69 motherboard.hostbridge.userNetPorts
70 motherboard.smsc_91c111.enabled
71 motherboard.hostbridge.userNetworking
72 motherboard.flashloader0.fname
73 motherboard.flashloader1.fname
74 motherboard.flashloader1.fnameWrite
75 coretile.cache_state_modelled
76 coretile.cluster0.cpu0.semihosting-enable
77 coretile.cluster0.cpu0.semihosting-cmd_line
78
79[motherboard.mmc.p_mmc_file]
80default = {IMG}
81
82[motherboard.hostbridge.userNetPorts]
83default="%(android_adb_port)s=%(android_adb_port)s"
84
85[motherboard.smsc_91c111.enabled]
86default = 1
87allowed = 0,1
88
89[motherboard.hostbridge.userNetworking]
90default = 1
91allowed = 0,1
92
93[motherboard.flashloader0.fname]
94default = {UEFI}
95
96[motherboard.flashloader1.fname]
97default = uefi-vars.fd
98
99[motherboard.flashloader1.fnameWrite]
100default = uefi-vars.fd
101
102[coretile.cache_state_modelled]
103default = 0
104allowed = 0,1
105
106[coretile.cluster0.cpu0.semihosting-enable]
107default = 1
108allowed = 0,1
109
110[coretile.cluster0.cpu0.semihosting-cmd_line]
111default = "--kernel {KERNEL} --dtb {DTB} --initrd {INITRD} -- console=ttyAMA0,38400n8 root=/dev/mmcblk0p2 rootwait ro mem=1024M"
0112
=== added file 'lava/device-types/rtsm_ve-a15x4-a7x4.conf'
--- lava/device-types/rtsm_ve-a15x4-a7x4.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/rtsm_ve-a15x4-a7x4.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,111 @@
1client_type=fastmodel
2
3# how long the disablesuspend script should take to complete
4# fm takes longer than other android images do
5disablesuspend_timeout = 500
6
7# how long ubuntu takes to boot to prompt
8boot_linaro_timeout = 800
9
10# if you do dhcp on boot, adb will not work (asac) on fastmodels
11enable_network_after_boot_android = 0
12
13# we do usermode networking over the loopback
14default_network_interface = lo
15
16bootloader_prompt = Start:
17
18interrupt_boot_prompt = The default boot selection will start in
19
20interrupt_boot_command = break
21
22# UEFI boot commands
23boot_cmds = sendline a,
24 expect Choice:,
25 sendline 1,
26 expect Select the Boot Device:,
27 sendline 2,
28 expect File path of the EFI Application or the kernel:,
29 sendline uImage,
30 expect [a/g/l],
31 sendline l,
32 expect Add an initrd: [y/n],
33 sendline y,
34 expect File path of the initrd:,
35 sendline uInitrd,
36 expect Arguments to pass to the binary:,
37 sendline 'console=ttyAMA0,38400n8 root=/dev/mmcblk0p2 rootwait ro mem=1024M',
38 expect File path of the local FDT:,
39 sendline rtsm\\rtsm_ve-ca15x4-ca7x4.dtb,
40 expect Description for this new Entry:,
41 sendline Test Image,
42 expect Choice:,
43 sendline 5,
44 expect Start:,
45 sendline 2
46
47simulator_axf_files =
48 img.axf
49 linux-system-ISW.axf
50 rtsm/linux-system-semi.axf
51
52simulator_kernel = vmlinuz.*
53simulator_initrd = initrd.*
54simulator_dtb = rtsm_ve-ca15x4-ca7x4.dtb
55simulator_uefi = uefi_rtsm_ve-ca15.bin
56
57license_file = 8224@localhost
58sim_bin = /opt/arm/RTSM_A15-A7x14_VE/Linux64_RTSM_VE_Cortex-A15x4-A7x4/RTSM_VE_Cortex-A15x4-A7x4
59android_adb_port = 6555
60
61simulator_version_command = %(sim_bin)s --version | grep "Fast Models" | sed 's/Fast Models \[//' | sed 's/\]//'
62
63simulator_boot_wrapper = -a coretile.cluster0.*={AXF}
64
65simulator_command = sudo -u www-data ARMLMD_LICENSE_FILE="%(license_file)s" %(sim_bin)s
66
67boot_options =
68 motherboard.mmc.p_mmc_file
69 motherboard.hostbridge.userNetPorts
70 motherboard.smsc_91c111.enabled
71 motherboard.hostbridge.userNetworking
72 motherboard.flashloader0.fname
73 motherboard.flashloader1.fname
74 motherboard.flashloader1.fnameWrite
75 coretile.cache_state_modelled
76 coretile.cluster0.cpu0.semihosting-enable
77 coretile.cluster0.cpu0.semihosting-cmd_line
78
79[motherboard.mmc.p_mmc_file]
80default = {IMG}
81
82[motherboard.hostbridge.userNetPorts]
83default="%(android_adb_port)s=%(android_adb_port)s"
84
85[motherboard.smsc_91c111.enabled]
86default = 1
87allowed = 0,1
88
89[motherboard.hostbridge.userNetworking]
90default = 1
91allowed = 0,1
92
93[motherboard.flashloader0.fname]
94default = {UEFI}
95
96[motherboard.flashloader1.fname]
97default = uefi-vars.fd
98
99[motherboard.flashloader1.fnameWrite]
100default = uefi-vars.fd
101
102[coretile.cache_state_modelled]
103default = 0
104allowed = 0,1
105
106[coretile.cluster0.cpu0.semihosting-enable]
107default = 1
108allowed = 0,1
109
110[coretile.cluster0.cpu0.semihosting-cmd_line]
111default = "--kernel {KERNEL} --dtb {DTB} --initrd {INITRD} -- console=ttyAMA0,38400n8 root=/dev/mmcblk0p2 rootwait ro mem=1024M"
0112
=== added file 'lava/device-types/rtsm_ve-armv8.conf'
--- lava/device-types/rtsm_ve-armv8.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/rtsm_ve-armv8.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,128 @@
1client_type=fastmodel
2
3# how long the disablesuspend script should take to complete
4# fm takes longer than other android images do
5disablesuspend_timeout = 500
6
7# how long ubuntu takes to boot to prompt
8boot_linaro_timeout = 500
9
10#after enabled the network, we can set it to true
11enable_network_after_boot_android = 1
12
13# change to use eth0 after we enabled the network
14default_network_interface = eth0
15
16bootloader_prompt = Start:
17
18interrupt_boot_prompt = The default boot selection will start in
19
20interrupt_boot_command = break
21
22# UEFI boot commands
23boot_cmds = sendline a,
24 expect Choice:,
25 sendline 1,
26 expect Select the Boot Device:,
27 sendline 2,
28 expect File path of the EFI Application or the kernel:,
29 sendline uImage,
30 expect [a/g/l],
31 sendline l,
32 expect Add an initrd: [y/n],
33 sendline y,
34 expect File path of the initrd:,
35 sendline uInitrd,
36 expect Arguments to pass to the binary:,
37 sendline 'console=ttyAMA0,38400n8 root=/dev/mmcblk0p2 rootwait ro mem=1024M',
38 expect File path of the local FDT:,
39 sendline rtsm\\rtsm_ve-ca15x1-ca7x1.dtb,
40 expect Description for this new Entry:,
41 sendline Test Image,
42 expect Choice:,
43 sendline 5,
44 expect Start:,
45 sendline 2
46
47simulator_axf_files = linux-system.axf
48
49license_file = 8224@localhost
50sim_bin = /opt/arm/RTSMv8_VE/bin/model_shell64
51sim_model = /opt/arm/RTSMv8_VE/models/Linux64_GCC-4.1/RTSM_VE_AEMv8A.so
52android_adb_port = 5555
53interfaceName = armv8_01
54
55simulator_version_command = %(sim_bin)s --version | grep "Model Shell" | sed 's/Model Shell //'
56
57simulator_boot_wrapper = -a {AXF}
58
59simulator_command = sudo -u www-data ARMLMD_LICENSE_FILE="%(license_file)s" %(sim_bin)s %(sim_model)s
60
61boot_options =
62 motherboard.mmc.p_mmc_file
63 motherboard.smsc_91c111.enabled
64 cluster.NUM_CORES
65 cluster.cpu0.unpredictable_WPMASKANDBAS
66 cluster.cpu0.unpredictable_non-contigous_BAS
67 cluster.cpu1.unpredictable_WPMASKANDBAS
68 cluster.cpu1.unpredictable_non-contigous_BAS
69 cluster.cpu2.unpredictable_WPMASKANDBAS
70 cluster.cpu2.unpredictable_non-contigous_BAS
71 cluster.cpu3.unpredictable_WPMASKANDBAS
72 cluster.cpu3.unpredictable_non-contigous_BAS
73 cluster.take_ccfail_undef
74 motherboard.hostbridge.interfaceName
75 motherboard.smsc_91c111.mac_address
76
77[motherboard.smsc_91c111.mac_address]
78default="auto"
79
80[motherboard.hostbridge.interfaceName]
81default="%(interfaceName)s"
82
83[motherboard.mmc.p_mmc_file]
84default = {IMG}
85
86[motherboard.smsc_91c111.enabled]
87default = 1
88allowed = 0,1
89
90[cluster.NUM_CORES]
91default = 1
92allowed = 0,1
93
94[cluster.cpu0.unpredictable_WPMASKANDBAS]
95default = 0
96allowed = 0,1
97
98[cluster.cpu0.unpredictable_non-contigous_BAS]
99default = 0
100allowed = 0,1
101
102[cluster.cpu1.unpredictable_WPMASKANDBAS]
103default = 0
104allowed = 0,1
105
106[cluster.cpu1.unpredictable_non-contigous_BAS]
107default = 0
108allowed = 0,1
109
110[cluster.cpu2.unpredictable_WPMASKANDBAS]
111default = 0
112allowed = 0,1
113
114[cluster.cpu2.unpredictable_non-contigous_BAS]
115default = 0
116allowed = 0,1
117
118[cluster.cpu3.unpredictable_WPMASKANDBAS]
119default = 0
120allowed = 0,1
121
122[cluster.cpu3.unpredictable_non-contigous_BAS]
123default = 0
124allowed = 0,1
125
126[cluster.take_ccfail_undef]
127default = 0
128allowed = 0,1
0129
=== added file 'lava/device-types/vexpress-tc2.conf'
--- lava/device-types/vexpress-tc2.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/vexpress-tc2.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,36 @@
1client_type = vexpress
2
3boot_cmds = 2
4
5boot_cmds_android = 3
6
7interrupt_boot_prompt = The default boot selection will start in
8
9bootloader_prompt = Start:
10
11image_boot_msg = Booting Linux
12
13lmc_dev_arg = vexpress
14
15possible_partitions_files =
16 init.partitions.rc
17 fstab.partitions
18 init.rc
19 fstab.arm-versatileexpress
20
21uefi_image_filename = uefi_v2p-ca15-tc2.bin
22
23vexpress_uefi_path = SOFTWARE/TC2/uefi.bin
24
25vexpress_uefi_backup_path = SOFTWARE/TC2/backup-uefi.bin
26
27vexpress_usb_mass_storage_device = /dev/disk/by-label/VEMSD
28
29read_boot_cmds_from_image = 0
30
31android_orig_block_device = mmcblk0
32android_lava_block_device = sda
33partition_padding_string_android =
34sys_part_android = 1
35sdcard_part_android = 3
36data_part_android = 2
0\ No newline at end of file37\ No newline at end of file
138
=== added file 'lava/device-types/vexpress.conf'
--- lava/device-types/vexpress.conf 1970-01-01 00:00:00 +0000
+++ lava/device-types/vexpress.conf 2013-06-27 12:23:26 +0000
@@ -0,0 +1,17 @@
1boot_cmds = 2
2
3boot_cmds_android = 3
4
5interrupt_boot_prompt = The default boot selection will start in
6
7bootloader_prompt = Start:
8
9image_boot_msg = Booting Linux
10
11possible_partitions_files =
12 init.partitions.rc
13 fstab.partitions
14 init.rc
15 fstab.arm-versatileexpress
16
17read_boot_cmds_from_image = 0

Subscribers

People subscribed via source and target branches