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.jo... 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.commailto: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.commailto: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.orgmailto: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.orgmailto:kumar.gala@linaro.org> Cc: Andrei Gansari <andrei.gansari@linaro.orgmailto:andrei.gansari@linaro.org>; lava-users <lava-users@lists.lavasoftware.orgmailto: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.
https://www.thingbits.net/products/segger-j-link-base-jtag-swd-debugger?utm_...https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.thingbits.net%2Fproducts%2Fsegger-j-link-base-jtag-swd-debugger%3Futm_source%3Dgoogle%26utm_medium%3Dcpc%26gclid%3DCjwKCAiAlO7uBRANEiwA_vXQ-5LfXaVZ19mdNVQKMTOJJEXE6SCTlQl2y1ToYL7E06ebBwaEOUdy9xoC7W4QAvD_BwE&data=02%7C01%7Candrei.gansari%40nxp.com%7Ca2c8650a8ac848ad509108d79e5cfae7%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637151994488592509&sdata=E0fyFi0cjizCv05ciUnIiNtNIahpooCR1Dwt%2BXigHTs%3D&reserved=0
Regards, Dhanunjaya. P
On Sat, Nov 23, 2019 at 9:37 PM Kumar Gala <kumar.gala@linaro.orgmailto:kumar.gala@linaro.org> wrote:
On Nov 21, 2019, at 11:06 PM, dhanu msys <dhanuskd.palnati@gmail.commailto: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/35a5bcbc01780638e6fd5e126bdfe1809...https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fagansari%2Flite-lava%2Fblob%2F35a5bcbc01780638e6fd5e126bdfe18098c4ae77%2Flava_scheduler_app%2Ftests%2Fdevice-types%2Ffrdm-k64f.jinja2&data=02%7C01%7Candrei.gansari%40nxp.com%7Ca2c8650a8ac848ad509108d79e5cfae7%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637151994488602508&sdata=I40vIhf5dcZ3aS2vQ6TXSoFX%2FuuqFL2%2FfhomTAgyXbw%3D&reserved=0
Andrei,
Did you have a test job example to go along with this?
- k