Commit da1c0f31 authored by Alexander Couzens's avatar Alexander Couzens

add support for tp-link wdr4300

parent 7bf6c7b7
......@@ -14,6 +14,8 @@ parameters:
actions:
deploy:
parameters:
foobar: "foobar"
methods:
tftp:
ssh:
......@@ -31,15 +33,15 @@ actions:
ssh:
u-boot:
parameters:
autoboot_escape: tpl
autoboot_prompt: {{ autoboot_prompt|default('Autobooting in ') }}
interrupt_char: ttpl
interrupt_prompt: {{ autoboot_prompt|default('Autobooting in ') }}
bootloader_prompt: {{ bootloader_prompt|default('db12x>') }}
boot_message: 'Booting image at 81000000'
ramdisk:
commands:
- setenv kernel_addr_r '{KERNEL_ADDR}'
- setenv ipaddr '192.168.201.11'
- setenv serverip '192.168.201.2'
- setenv ipaddr '{{ tftp_ip }}'
- setenv serverip '{{ tftp_server }}'
- ping {{ tftp_server }}
- 'tftp ${kernel_addr_r} {KERNEL}'
- 'bootm 0x81000000'
{% endblock %}
......@@ -57,7 +59,7 @@ timeouts:
seconds: 45
lava-test-shell:
seconds: 30
power_off:
power-off:
seconds: 35
connections:
uboot-retry:
......
{% extends 'ar71xx_tl-wdr4300.jinja2' %}
{% set hostname = '192.168.201.18' %}
{% set ssh_host = '192.168.201.18' %}
{% set tftp_server = '192.168.202.1' %}
{% set tftp_ip = '192.168.202.18' %}
{% set connection_command = 'telnet localhost 2010' %}
{% set power_off_command = 'sispmctl -f 1' %}
{% set power_on_command = 'sispmctl -o 1' %}
{% set hard_reset_command = 'sispmctl -o 1' %}
device_type: ar71xx_tl-wdr4300
job_name: "health check tl wdr4300"
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-wdr4300_initramfs.img
os: lede
- boot:
method: u-boot
commands: ramdisk
type: bootm
prompts:
- 'root@OpenWrt:'
- 'root@\(none\):'
auto_login:
login_prompt: 'Please press Enter to activate this console.'
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