Hello Nagendra,
Not sure how you should go about this, I added JLink support to use on microcontrollers that after flashing start running. There is another boot method for uboot, maybe create separate jobs for flashing and running uboot?
This means running multiple jobs on the same board in sequence, and I don’t have experience doing so.
Regards, Andrei
From: Nagendra Singamsetti nag.singam91@gmail.com Sent: Thursday, May 28, 2020 4:57 PM To: lava-users@lists.lavasoftware.org Cc: andrei.gansari@linaro.org; Andrei Gansari andrei.gansari@nxp.com Subject: [EXT] Unable to run commands on U-boot on Renesas board Using LAVA
Caution: EXT Email Hello Team,
With the existing JLink.py library i have modified and able to flash multiple *.bin files in single instance/Job. I have used method : Jlink in boot:
But On the Renesas boards, After flash the binaries through Debugger Say JLink, Will get U-boot prints at ttyACM0. I can see the prints through ser2net telnet host.
Q1. How to send command at uboot level while using JLink boot method. I need to send run xa_boot from uboot prompt: => Below is sample Job description : - boot: method: jlink prompts: ["=>"] commands: ["run xa_boot"] timeout: minutes: 5 i am getting following error : Invalid job definition:
extra keys not allowed @ data['actions[1]']['boot']['jlink']['prompts']
I tried with out prompts and commands key values in job description Job terminated once the flash has done.
Attached logs for reference:
Looking forward for your kind response
Thanks
Regards
Nagendra S