Thanks for the patch, it has been pushed as https://review.linaro.org/#/c/10593/1
Comments are likely to be made on this review but will not necessarily make it to the lava-users mailing list. You may wish to register as a Community contributor at https://register.linaro.org/
As a standard U-Boot device, it should also be possible to convert this to a pipeline device-type template.
Possibly not that many changes compared to: https://git.linaro.org/lava/lava-server.git/blob/HEAD:/lava_scheduler_app/te... (Feel free to drop the ssh blocks and the media block.)
This is the full example for reference. https://validation.linaro.org/static/docs/pipeline-admin-example.html
On 15 February 2016 at 16:31, Marc Titinger mtitinger@baylibre.com wrote:
From: Marc Titinger mtitinger@baylibre.com
- specific u-boot prompt
- specific C-c interrupt char
- uImage only: hardkernel u-boot sources are heavily hardcoded in an old u-boot version (no bootz)
Signed-off-by: Marc Titinger mtitinger@baylibre.com
.../device-types/meson8b-odroidc1.conf | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 lava_dispatcher/default-config/lava-dispatcher/device-types/meson8b-odroidc1.conf
diff --git a/lava_dispatcher/default-config/lava-dispatcher/device-types/meson8b-odroidc1.conf b/lava_dispatcher/default-config/lava-dispatcher/device-types/meson8b-odroidc1.conf new file mode 100644 index 0000000..96232b4 --- /dev/null +++ b/lava_dispatcher/default-config/lava-dispatcher/device-types/meson8b-odroidc1.conf @@ -0,0 +1,44 @@ +client_type = bootloader +send_char = False +uimage_only = True +append_dtb = True
+u_load_addrs =
- 0x20000000
- 0x22000000
- 0x21000000
+z_load_addrs =
- 0x20000000
- 0x22000000
- 0x21000000
+boot_cmds_ramdisk =
- setenv autoload no,
- setenv kernel_addr_r "'{KERNEL_ADDR}'",
- setenv initrd_addr_r "'{RAMDISK_ADDR}'",
- setenv loadkernel "'tftp ${kernel_addr_r} {KERNEL}'",
- setenv loadinitrd "'tftp ${initrd_addr_r} {RAMDISK}; setenv initrd_size ${filesize}'",
- setenv bootargs "'console=ttyAML0,115200n8 root=/dev/ram0 ip=dhcp'",
- setenv bootcmd "'dhcp; dhcp; setenv serverip {SERVER_IP}; run loadkernel; run loadinitrd; {BOOTX}'",
- run bootcmd
+boot_cmds_nfs =
- setenv autoload no,
- setenv kernel_addr_r "'{KERNEL_ADDR}'",
- setenv initrd_addr_r "'{RAMDISK_ADDR}'",
- setenv loadkernel "'tftp ${kernel_addr_r} {KERNEL}'",
- setenv loadinitrd "'tftp ${initrd_addr_r} {RAMDISK}; setenv initrd_size ${filesize}'",
- setenv nfsargs "'setenv bootargs console=ttyAML0,115200n8 root=/dev/nfs rw nfsroot={SERVER_IP}:{NFSROOTFS},tcp,hard,intr ip=dhcp'",
- setenv bootcmd "'dhcp; setenv serverip {SERVER_IP}; run loadkernel; run loadinitrd; run nfsargs; {BOOTX}'",
- run bootcmd
+bootloader_prompt = odroidc# +interrupt_boot_prompt = key to stop autoboot +interrupt_boot_control_character = c
+boot_options =
- boot_cmds
+[boot_cmds]
+default = boot_cmds
2.5.0
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users