summaryrefslogtreecommitdiff
path: root/lava_dispatcher/default-config/lava-dispatcher/device-types/d01.conf
blob: 5b2bbdedb74db8a8af174f3f32ce1ceed31f848a (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
client_type=bootloader
bootloader_prompt = Start:
interrupt_boot_prompt = Auto boot or not
interrupt_boot_command = ss
busybox_http_port = 8080
master_str = root@linaro-server:~#
master_testboot_label = TESTBOOT
use_lava_tmpdir = False
alternative_dir = /srv/ftp
send_char = False

ipaddr = 192.168.1.2
gatewayip = 192.168.1.1
netmask = 255.255.255.0

master_ftp_server = 192.168.1.1
master_nfs_server = 192.168.1.1
master_nfs_path = /srv/ftp/master-d01


boot_cmds = 1

boot_cmds_master = sendline b,
                   expect D01,
                   sendline ifconfig -s eth0 %(ipaddr)s %(netmask)s %(gatewayip)s,
                   expect D01,
                   sendline provision %(master_ftp_server)s -u anonymous -p anonymous -f .text,
                   expect D01,
                   sendline provision %(master_ftp_server)s -u anonymous -p anonymous -f .monitor,
                   expect D01,
                   sendline provision %(master_ftp_server)s -u anonymous -p anonymous -f .kernel,
                   expect D01,
                   sendline provision %(master_ftp_server)s -u anonymous -p anonymous -f .filesystem,
                   expect D01,
                   sendline changelinuxatag,
                   expect core_tag.flags,
                   sendline 1,
                   expect core_tag.pagesize,
                   sendline 1000,
                   expect core_tag.rootdev,
                   sendline 0,
                   expect mem_tag.start,
                   sendline 0,
                   expect mem_tag.size,
                   sendline 10000000,
                   expect initrd2_tag.start,
                   sendline 3800040,
                   expect cmdline_tag.cmdline,
                   sendline 'console=ttyS0,115200 root=/dev/nfs root=/dev/nfs rw nfsroot=%(master_nfs_server)s:%(master_nfs_path)s ip=dhcp',
                   expect D01,
                   sendline setlinuxatag,
                   expect D01,
                   sendline reboot

boot_cmds_ramdisk = sendline b,
                    expect D01,
                    sendline ifconfig -s eth0 %(ipaddr)s %(netmask)s %(gatewayip)s,
                    expect D01,
                    sendline provision {SERVER_IP} -u anonymous -p anonymous -f {DTB},
                    expect D01,
                    sendline provision {SERVER_IP} -u anonymous -p anonymous -f {FIRMWARE},
                    expect D01,
                    sendline provision {SERVER_IP} -u anonymous -p anonymous -f {KERNEL},
                    expect D01,
                    sendline provision {SERVER_IP} -u anonymous -p anonymous -f {RAMDISK},
                    expect D01,
                    sendline changelinuxatag,
                    expect core_tag.flags,
                    sendline 1,
                    expect core_tag.pagesize,
                    sendline 1000,
                    expect core_tag.rootdev,
                    sendline 0,
                    expect mem_tag.start,
                    sendline 0,
                    expect mem_tag.size,
                    sendline 10000000,
                    expect initrd2_tag.start,
                    sendline 3800040,
                    expect cmdline_tag.cmdline,
                    sendline 'console=ttyS0,115200 root=/dev/ram0',
                    expect D01,
                    sendline setlinuxatag,
                    expect D01,
                    sendline reboot

boot_cmds_nfs = sendline b,
                expect D01,
                sendline ifconfig -s eth0 %(ipaddr)s %(netmask)s %(gatewayip)s,
                expect D01,
                sendline provision {SERVER_IP} -u anonymous -p anonymous -f {DTB},
                expect D01,
                sendline provision {SERVER_IP} -u anonymous -p anonymous -f {FIRMWARE},
                expect D01,
                sendline provision {SERVER_IP} -u anonymous -p anonymous -f {KERNEL},
                expect D01,
                sendline provision {SERVER_IP} -u anonymous -p anonymous -f {RAMDISK},
                expect D01,
                sendline changelinuxatag,
                expect core_tag.flags,
                sendline 1,
                expect core_tag.pagesize,
                sendline 1000,
                expect core_tag.rootdev,
                sendline 0,
                expect mem_tag.start,
                sendline 0,
                expect mem_tag.size,
                sendline 10000000,
                expect initrd2_tag.start,
                sendline 3800040,
                expect cmdline_tag.cmdline,
                sendline 'console=ttyS0,115200 root=/dev/nfs root=/dev/nfs rw nfsroot={SERVER_IP}:{NFSROOTFS} ip=dhcp',
                expect D01,
                sendline setlinuxatag,
                expect D01,
                sendline reboot

boot_options =
    boot_cmds

[boot_cmds]
default = boot_cmds