Commit 7bf6c7b7 authored by Alexander Couzens's avatar Alexander Couzens

add support for tp-link v13

parent a8b5e4ae
{% extends 'base.jinja2' %}
{% set uboot_interrupt_newline = False %}
{% block body %}
{% set console_device = console_device | default('ttyS0') %}
{% set baud_rate = baud_rate | default(115200) %}
parameters:
bootm:
kernel: '{{ bootm_kernel_addr|default('0x81000000') }}'
dtb: '{{ bootm_dtb_addr|default('0x81000000') }}'
ramdisk: '{{ bootm_ramdisk_addr|default('0x81000000') }}'
actions:
deploy:
parameters:
foobar: "foobar"
methods:
tftp:
ssh:
options:
{{ ssh_options }}
identity_file: /root/.ssh/id_rsa
user: {{ ssh_user|default(root) }}
port: '{{ ssh_port|default(22) }}'
host: {{ ssh_host }}
boot:
connections:
serial:
ssh:
methods:
minimallogin:
ssh:
u-boot:
parameters:
interrupt_prompt: "continue to starting system."
# character needed to interrupt u-boot, single whitespace by default
interrupt_char: "t"
bootloader_prompt: "MT7628 #"
ramdisk:
commands:
- setenv autoload no
- setenv kernel_addr_r '{KERNEL_ADDR}'
- setenv ipaddr '192.168.201.12'
- setenv serverip '192.168.201.4'
- ping 192.168.201.4
- 'tftp ${kernel_addr_r} {KERNEL}'
- 'bootm ${kernel_addr_r}'
{% endblock %}
{% block timeouts %}
timeouts:
actions:
apply-overlay-image:
seconds: 120
apply-overlay-image:
seconds: 120
auto-login-action:
seconds: 120
umount-retry:
seconds: 45
lava-test-shell:
seconds: 30
power-off:
seconds: 35
connections:
uboot-retry:
seconds: 60
{% endblock -%}
{% extends 'ramips_tl-wr841-v13.jinja2' %}
{% set hostname = '192.168.202.17' %}
{% set tftp_server = '192.168.202.1' %}
{% set ssh_host = '192.168.201.17' %}
{% set connection_command = 'telnet localhost 2012' %}
{% set power_off_command = 'sispmctl -f 4' %}
{% set power_on_command = 'sispmctl -o 4' %}
{% set hard_reset_command = 'sispmctl -o 4' %}
device_type: ramips_tl-wr841-v13
job_name: "health check tl 841v13"
timeouts:
job:
minutes: 10
action:
seconds: 600
connection:
minutes: 5
visibility: public
actions:
- deploy:
timeout:
minutes: 2
to: tftp
kernel:
url: http://repo.fe80.eu/lava/gold/tl-wr841n-v13-initramfs-kernel.bin
os: lede
- boot:
method: u-boot
commands: ramdisk
type: bootm
prompts:
- 'root@lede:'
- 'root@\(none\):'
auto_login:
login_prompt: 'kmodloader: done loading kernel modules from /etc/modules.d/'
username: 'root'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment