minnowboard-turbot-E3826
GRUB
x86 64-bit
Inheritance
- minnowboard-turbot-E3826
- minnowboard-common
- base-grub
- base
Key facts
- Vendor
- Intel
- Bootloader family
- GRUB
- Architecture
- x86 64-bit (guessed from the name)
- Console device
ttyS0- Baud rate
115200- Kernel start message
Booting in blind mode- Connections
- serial
{% extends 'minnowboard-common.jinja2' %}
# in milliseconds
character_delays:
boot: 1
hostname: 'minnowboard-turbot-E3826-01'
devicetype: 'minnowboard-turbot-E3826'
constants:
# POSIX os (not AOSP)
posix:
lava_test_sh_cmd: /bin/sh
lava_test_results_dir: /lava-%s
lava_test_shell_file: ~/.bashrc
# bootloader specific
barebox:
interrupt-prompt: 'Hit m for menu or any other key to stop autoboot'
interrupt-character: '
'
final-message: 'Starting kernel'
error-messages:
- '### ERROR ### Please RESET the board ###'
- 'ERROR: .*'
- '.*: Out of memory'
u-boot:
interrupt-prompt: 'Hit any key to stop autoboot'
interrupt-character: ' '
interrupt_ctrl_list: []
interrupt-newline: True
final-message: 'Starting kernel'
error-messages:
- 'Resetting CPU'
- 'Must RESET board to recover'
- 'TIMEOUT'
- 'Retry count exceeded'
- 'Retry time exceeded; starting again'
- 'The remote end did not respond in time.'
- 'File not found'
- 'Bad Linux ARM64 Image magic!'
- 'Wrong Ramdisk Image Format'
- 'Ramdisk image is corrupt or invalid'
- 'ERROR: Failed to allocate'
- 'TFTP error: trying to overwrite reserved memory'
- 'Bad Linux RISCV Image magic!'
- 'Wrong Image Format for boot'
- 'ERROR: Did not find a cmdline Flattened Device Tree'
- 'ERROR: RD image overlaps OS image'
- 'kernel_comp_addr_r or kernel_comp_size is not provided'
- 'zimage: Bad magic'
dfu-download: 'DOWNLOAD \.\.\. OK\r\nCtrl\+C to exit \.\.\.'
grub:
interrupt-prompt: 'SecStartup'
interrupt-character: 'c'
interrupt-newline: False
error-messages:
- "error: missing (.*) symbol."
- "error: couldn't send network packet"
- "error: destination unreachable"
- "error: couldn't autoconfigure"
- "error: timeout reading"
- "error: you need to load the kernel first."
- "error: file '(.*)' not found"
- "error: no such device"
- "error: disk '(.*)' not found"
- "error: unknown filesystem"
grub-efi:
interrupt-prompt: 'SecStartup'
interrupt-character: 'c'
error-messages:
- 'Undefined OpCode Exception PC at'
- 'Synchronous Exception at'
- "error: missing (.*) symbol."
- "error: couldn't send network packet"
- "error: destination unreachable"
- "error: couldn't autoconfigure"
- "error: timeout reading"
- "error: you need to load the kernel first."
- "error: file '(.*)' not found"
- "error: no such device"
- "error: disk '(.*)' not found"
- "error: unknown filesystem"
ipxe:
interrupt-prompt: 'Press Ctrl-B for the iPXE command line'
interrupt_ctrl_list: ['b']
error-messages:
- 'No configuration methods succeeded'
- 'Connection timed out'
depthcharge:
final-message: 'Starting kernel'
error-messages:
- 'Tftp failed.'
- 'Dhcp release failed.'
- 'No space left for ramdisk'
- 'TFTP failed for ramdisk.'
- 'Dhcp release failed.'
- 'Out of space adding TFTP server IP to the command line.'
- 'No network device.'
- 'Error code \d+( \([\w\s]+\))?\r\n'
# OS shutdown message
# Override: set as the shutdown-message parameter of an Action.
# SHUTDOWN_MESSAGE
shutdown-message: 'The system is going down for reboot NOW'
# Kernel starting message
kernel-start-message: 'Booting in blind mode'
# Default shell prompt for AutoLogin
# DEFAULT_SHELL_PROMPT
default-shell-prompt: 'lava-test: # '
# pexpect.spawn maxread
# SPAWN_MAXREAD - in bytes, quoted as a string
# 1 to turn off buffering, pexpect default is 2000
# maximum may be limited by platform issues to 4092
# avoid setting searchwindowsize:
# Data before searchwindowsize point is preserved, but not searched.
spawn_maxread: '4092'
# Set the failure retry to default or override it
failure_retry: 1
# Override boot_retry
boot_retry:
parameters:
# device_ip or device_mac
pass: # sata_uuid_sd_uuid_usb_uuid
actions:
deploy:
connections:
serial:
methods:
tftp:
nbd:
boot:
connections:
serial:
methods:
minimal:
grub:
parameters:
bootloader_prompt: grub>
needs_interrupt: True
ramdisk:
commands:
- set net_default_server={SERVER_IP}
- 'linux (tftp)/{KERNEL} console=tty0 console=ttyS0,115200 root=/dev/ram0 ip=:::::eth0:dhcp'
- initrd (tftp)/{RAMDISK}
- boot
nbd:
commands:
- clear
- insmod linux
- clear
- insmod tftp
- clear
- 'linux (tftp,{SERVER_IP})/{KERNEL} console=ttyS0,115200 ip=dhcp nbd.server={NBDSERVERIP} nbd.port={NBDSERVERPORT} root=/dev/ram0 ramdisk_size=16384 rootdelay=7 rw '
- clear
- initrd (tftp,{SERVER_IP})/{RAMDISK}
- boot
nfs:
commands:
- set net_default_server={SERVER_IP}
- 'linux (tftp)/{KERNEL} console=tty0 console=ttyS0,115200 root=/dev/nfs rw nfsroot={NFS_SERVER_IP}:{NFSROOTFS},tcp,hard ip=dhcp'
- initrd (tftp)/{RAMDISK}
- boot
debian-installer:
expect_shell: False
commands:
- net_bootp
- 'linux (tftp,{SERVER_IP})/{KERNEL} auto=true interface=eth0 priority=critical noshell BOOT_DEBUG=1 DEBIAN_FRONTEND=text url=tftp://{SERVER_IP}/{PRESEED_CONFIG} --- console=ttyS0,115200 debug verbose'
- initrd (tftp,{SERVER_IP})/{RAMDISK}
- boot
debian-installed:
commands:
- insmod part_gpt
- insmod ext2
- insmod part_msdos
- insmod chain
- ls
- ls (hd1,gpt1)
- sleep 10
- set
- set root=(hd1,gpt1)
- sleep 10
- ls (hd1,gpt1)
- sleep 10
- chainloader (hd1,gpt1)/efi/debian/grubaa64.efi
- sleep 10
- boot
test:
methods:
docker:
global_options:
-
options:
-
timeouts:
actions:
grub-main:
seconds: 5400
bootloader-action:
seconds: 5400
bootloader-interrupt:
seconds: 300
bootloader-commands:
seconds: 600
auto-login:
seconds: 600
auto-login-action:
seconds: 600
installer-wait:
seconds: 5400
pdu-reboot:
seconds: 3000
connections:
pdu-reboot:
seconds: 3000
grub-main:
seconds: 5400
bootloader-action:
seconds: 5400
installer-wait:
seconds: 5400
bootloader-retry:
seconds: 3000
bootloader-interrupt:
seconds: 300
bootloader-commands:
seconds: 600
Rendered with the default values (no device dictionary), using LAVA's own template environment.