From the screenshot it looks like you have a version of LAVA that does not support jlink boot method.
JLink was added in version 2019.10-1
Andrei
From: dhanu msys <dhanuskd.palnati@gmail.com>
Sent: Thursday, January 23, 2020 3:13 PM
To: Andrei Gansari <andrei.gansari@nxp.com>
Cc: Kumar Gala <kumar.gala@linaro.org>; Andrei Gansari <andrei.gansari@linaro.org>; lava-users <lava-users@lists.lavasoftware.org>
Subject: Re: [EXT] Re: [Lava-users] Test jobs to boot the target through JLink
Caution: EXT Email
Hi Andrei,
I run the test job based on the references shared by you.
But , facing the error , while running the test job.
Here I have attached the device template & device configuration files along with the error.
Please find the attachments & please provide me the inputs.
Thanks in Advance.
Regards,
Dhanunjaya. P
On Tue, Jan 21, 2020 at 5:29 PM Andrei Gansari <andrei.gansari@nxp.com> wrote:
Hello Dhanunjaya. P,
You need to create a yaml file in lava/lava_dispatcher/tests/sample_jobs/fpga_a64-jlink.yaml … assuming you have already created the device fpga_a64.
You have an example of FRDM-K64F booting cmsis-dap here:
https://github.com/Linaro/lite-lava-docker-compose/blob/lite/example/lava.job
You need to replace “method: cmsis-dap” -> “method: jlink”
I didn’t run a clean lava environment, so I maybe missing something.
Andrei G.
From: dhanu msys <dhanuskd.palnati@gmail.com>
Sent: Tuesday, January 21, 2020 12:31 PM
To: Andrei Gansari <andrei.gansari@nxp.com>
Cc: Kumar Gala <kumar.gala@linaro.org>; Andrei Gansari <andrei.gansari@linaro.org>; lava-users <lava-users@lists.lavasoftware.org>
Subject: Re: [EXT] Re: [Lava-users] Test jobs to boot the target through JLink
Caution: EXT Email
Hi Andrei,
Based on the information shared earlier , i have tried to configure the device type to make use of jlink based boot method test job , but i have faced an issue "Configuration Error: missing or invalid template. Jobs requesting this device type (fpga_a64) will not be able to start until a template is available on the master."
Can you please check once and share the updated Device-Type Template also.
Thanks & Regards,
Dhanunjaya. P
On Tue, Jan 21, 2020 at 3:28 PM dhanu msys <dhanuskd.palnati@gmail.com> wrote:
Hi Andrei ,
Hi Kumar,
Can you please share some of the Test Job definition references to check the Jlink-based test jobs configurations.
Thanks & Regards,
Dhanunjaya. P
On Tue, Nov 26, 2019 at 2:36 PM Andrei Gansari <andrei.gansari@nxp.com> wrote:
I’ve tested lava+jlink on Cortex M with both onboard debugger and external debugger, like the one you referenced.
You should change the following if needed:
address:
0x00000000
options:
- '-device MK64FN1M0xxx12'
- '-if SWD'
- '-speed 4000'
The interface SWD is supported, not JTAG, that can be easily changed if you need to.
Regards,
Andrei
From: Lava-users <lava-users-bounces@lists.lavasoftware.org> On Behalf Of dhanu msys
Sent: Tuesday, November 26, 2019 7:49 AM
To: Kumar Gala <kumar.gala@linaro.org>
Cc: Andrei Gansari <andrei.gansari@linaro.org>; lava-users <lava-users@lists.lavasoftware.org>
Subject: [EXT] Re: [Lava-users] Test jobs to boot the target through JLink
Caution: EXT Email
Hi Kumar,
Thanks for sharing the reference.
It's better to have some references for the test jobs submission also.
Currently we are in initial phase to make use of LAVA , so we wants to check the feasibility to deploy through JLink based test jobs.
Here I have provided the JLink Interface , which we are going to use for the development.
Regards,
Dhanunjaya. P
On Sat, Nov 23, 2019 at 9:37 PM Kumar Gala <kumar.gala@linaro.org> wrote:
> On Nov 21, 2019, at 11:06 PM, dhanu msys <dhanuskd.palnati@gmail.com> wrote:
>
> Hi Team,
>
> Can you please share some reference test jobs to run the tests using J-Link boot method.
Here’s a reference to the board cfg side change for J-Link:
https://github.com/agansari/lite-lava/blob/35a5bcbc01780638e6fd5e126bdfe18098c4ae77/lava_scheduler_app/tests/device-types/frdm-k64f.jinja2
Andrei,
Did you have a test job example to go along with this?
- k