diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2014-11-18 18:28:38 +0000 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2014-11-19 16:34:09 +0000 |
commit | da81a09a2e2abddc8a971c6536f20fb001f4f760 (patch) | |
tree | ae17da6cac76e10f1502a0b083c73c0a836eb6e0 | |
parent | e84aeedb62b34e1552de258f2adc81e8a93d4119 (diff) |
Add LAVA boot script
This file is used by LAVA to control the Juno boot sequence.
Currently, it works with board_recovery_image_0.8.*.zip and will have to
be updated to work with version 0.9.2 or later.
This file was taken from:
http://git.linaro.org/git-ro/lava/lava-dispatcher.git
At this commit:
commit 1c8dac1dc2ae2144561ebadc752c7b0dd7a6783a
Author: Dave Pigott <dave.pigott@linaro.org>
Date: Mon Oct 13 12:47:50 2014 +0100
Correct the sdcard and userdata partitions
Change-Id: I998c23632711e141b54601fa19229604608e4b6b
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r-- | lava/juno.conf | 333 |
1 files changed, 333 insertions, 0 deletions
diff --git a/lava/juno.conf b/lava/juno.conf new file mode 100644 index 0000000..7e95d2b --- /dev/null +++ b/lava/juno.conf @@ -0,0 +1,333 @@ +client_type = vexpress + +master_testboot_label = TESTBOOT +master_sdcard_label = SDCARD +vexpress_uefi_path = SOFTWARE/fip.bin +vexpress_uefi_backup_path = SOFTWARE/backup-fip.bin +vexpress_uefi_image_filename = juno_fip.bin +vexpress_uefi_image_files = + juno_fip.bin + fip.bin +vexpress_bl1_path = SOFTWARE/bl1.bin +vexpress_bl1_backup_path = SOFTWARE/backup-bl1.bin +vexpress_bl1_image_filename = juno_bl1.bin +vexpress_bl1_image_files = + juno_bl1.bin + bl1.bin +vexpress_usb_mass_storage_device = /dev/disk/by-label/WG +vexpress_requires_trusted_firmware = True +vexpress_uefi_default = http://images.validation.linaro.org/juno/fip.bin +vexpress_bl1_default = http://images.validation.linaro.org/juno/bl1.bin + +interrupt_boot_prompt = The default boot selection will start in +bootloader_prompt = Start: +lmc_dev_arg = fastmodel +android_orig_block_device = sda +android_lava_block_device = sda +partition_padding_string_android = +partition_padding_string_org = +sys_part_android = 5 +data_part_android = 6 +sdcard_part_android = 7 +read_boot_cmds_from_image = 0 +boot_retries = 5 +bootloader_serial_delay_ms = 30 + +possible_partitions_files = + fstab.juno + init.partitions.rc + fstab.partitions + init.rc + +boot_cmds_master = expect Start:, + sendline 3, + expect Choice:, + sendline 3, + expect Delete entry:, + sendline 1, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendline 4, + expect File path of the EFI Application or the kernel:, + sendline Image, + expect Has FDT support? [y/n], + sendline y, + expect Add an initrd: [y/n], + sendline n, + expect Arguments to pass to the binary:, + sendline "console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda2 rootwait verbose debug", + expect Description for this new Entry:, + sendline LAVA Master Image, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendline 4, + expect File path of the FDT blob:, + sendline juno.dtb, + expect Choice:, + sendline 7, + expect Start:, + sendline 1 + +boot_cmds = expect Start:, + sendline 3, + expect Choice:, + sendline 3, + expect Delete entry:, + sendline 1, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendline 5, + expect File path of the EFI Application or the kernel:, + sendline Image, + expect Has FDT support? [y/n], + sendline y, + expect Add an initrd: [y/n], + sendline y, + expect File path of the initrd:, + sendline initrd.img, + expect Arguments to pass to the binary:, + sendline "console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda5 verbose debug", + expect Description for this new Entry:, + sendline LAVA Ubuntu Test Image, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendline 5, + expect File path of the FDT blob:, + sendline juno.dtb, + expect Choice:, + sendline 7, + expect Start:, + sendline 1 + + +boot_cmds_oe = expect Start:, + sendline 3, + expect Choice:, + sendline 3, + expect Delete entry:, + sendline 1, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendline 5, + expect File path of the EFI Application or the kernel:, + sendline Image, + expect Has FDT support? [y/n], + sendline y, + expect Add an initrd: [y/n], + sendline n, + expect Arguments to pass to the binary:, + sendline "console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda5 rootwait verbose debug", + expect Description for this new Entry:, + sendline LAVA OE Test Image, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendline 5, + expect File path of the FDT blob:, + sendline juno.dtb, + expect Choice:, + sendline 7, + expect Start:, + sendline 1 + + +boot_cmds_android = expect Start:, + sendline 3, + expect Choice:, + sendline 3, + expect Delete entry:, + sendline 1, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendline 5, + expect File path of the EFI Application or the kernel:, + sendline kernel, + expect Has FDT support? [y/n], + sendline y, + expect Add an initrd: [y/n], + sendline y, + expect File path of the initrd:, + sendline ramdisk.img, + expect Arguments to pass to the binary:, + sendline "console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/ram0 verbose debug", + expect Description for this new Entry:, + sendline LAVA Android Test Image, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendline 5, + expect File path of the FDT blob:, + sendline juno.dtb, + expect Choice:, + sendline 7, + expect Start:, + sendline 1 + +boot_cmds_ramdisk = expect Start:, + sendline 3, + expect Choice:, + sendline 3, + expect Delete entry:, + sendline 1, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendline 10, + expect Get the IP address from DHCP: [y/n], + sendline y, + expect Get the TFTP server IP address:, + sendline {SERVER_IP}, + expect File path of the EFI Application or the kernel, + sendline {KERNEL}, + expect Has FDT support? [y/n], + sendline y, + expect Add an initrd: [y/n], + sendline y, + expect Get the IP address from DHCP: [y/n], + sendline y, + expect Get the TFTP server IP address, + sendline {SERVER_IP}, + expect File path of the initrd, + sendline {RAMDISK}, + expect Arguments to pass to the binary:, + sendline "console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/ram0 verbose debug ip=dhcp", + expect Description for this new Entry:, + sendline LAVA Ramdisk Test Image, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendline 10, + expect Get the IP address from DHCP: [y/n], + sendline y, + expect Get the TFTP server IP address:, + sendline {SERVER_IP}, + expect File path of the FDT blob, + sendline {DTB}, + expect Choice:, + sendline 7, + expect Start:, + sendline 1 + +boot_cmds_nfs = expect Start:, + sendline 3, + expect Choice:, + sendline 3, + expect Delete entry:, + sendline 1, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 1, + expect Select the Boot Device:, + sendline 10, + expect Get the IP address from DHCP: [y/n], + sendline y, + expect Get the TFTP server IP address:, + sendline {SERVER_IP}, + expect File path of the EFI Application or the kernel, + sendline {KERNEL}, + expect Has FDT support? [y/n], + sendline y, + expect Add an initrd: [y/n], + sendline n, + expect Arguments to pass to the binary:, + sendline "console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/nfs rw nfsroot={SERVER_IP}:{NFSROOTFS},tcp,hard,intr ip=dhcp", + expect Description for this new Entry:, + sendline LAVA NFS Test Image, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendcontrol [, + sendcontrol M, + expect Choice:, + expect Choice:, + sendline 5, + expect Select the Boot Device:, + sendline 10, + expect Get the IP address from DHCP: [y/n], + sendline y, + expect Get the TFTP server IP address:, + sendline {SERVER_IP}, + expect File path of the FDT blob, + sendline {DTB}, + expect Choice:, + sendline 7, + expect Start:, + sendline 1 + +boot_options = + boot_cmds + +[boot_cmds] +default = boot_cmds + |