Thanks for your email and response. Let me share my job definition and device dictionary
Job definition: https://kernelci-1.cloud-v.co/scheduler/job/150
Device Dictionary: https://kernelci-1.cloud-v.co/scheduler/device/bpi-f3/devicedict
Regards, Hina Hafeez
On Thu, Jun 19, 2025 at 12:35 PM Milosz Wasilewski < milosz.wasilewski@foundries.io> wrote:
On Thu, Jun 19, 2025 at 6:37 AM hina.hafeez@10xengineers.ai wrote:
Hi LAVA users,
I have set-up a LAVA server, dispatcher and connected my device
(banana-pi) board serially via UART to host machine on which dispatcher is running.
I have defined a job which uses deploy "tmpfs" to download .itb file
from local file server. After that, under "boot" action, i am using u-boot method to boot the device.
Output:
- deploy images section runs successfully
- uboot action starts
- After connecting to device using telnet, device is reset(pdu-reboot).
- Device enters in Y modem state waiting for image to get transferred.
- After some time, "CCC CCCCCCC [ 99.943] spl: ymodem err -
Timed out"
Issue/Question: 6. At this stage, i want LAVA dispatcher(HOST machine) to send .itb file
over UART using Ymodem to device.
- But LAVA is unable to execute this command "sz -Y --ymodem
/uboot-opensbi.itb < /dev/ttyUSB0 > /dev/ttyUSB0" to transfer opensbi.itb file to device.
- I need to know what am i missing in writing job definition for this
case.
- Which device template should i use and how it should be extended.
- is there any job definition syntax to fulfill my requirement?
It would be easier to answer if you shared the job definition and your device dictionary.
I think you might need another "deploy" section at this point. There is no native ymodem deployment but you can use deploy-to-flasher. I have a similar job for TI am64 which sends u-boot binaries over xmodem: https://lava.infra.foundries.io/scheduler/job/79774#L357 am64-uart-flash.sh is not part of LAVA. It's a custom script that is called as part of the deployment process. You can see how it's done in the device dictionary:
https://lava.infra.foundries.io/scheduler/device/am64xx-evm-01/devicedict#de...
Hope this helps.
Best Regards, Milosz