Hi ,
I am trying to automate the linux boot functionality on my custom boards using LAVA framework. Previously I have done it on Renesas board using LAVA it works fine.I got linux boot messages on lava job whereas i am not getting with customised board.
*Issue: *I am using trace32 debugger to flash images onto the board (working fine). After that i am calling minimal method in pipeline job to get prompt strings/login But i am not getting the linux boot messages on the job. always stucks at the following: [common] connect-device Connecting to device using 'telnet 10.10.0.18 4000' http://10.10.0.69/scheduler/job/789#L136Setting prompt string to ['lava-test: # '] http://10.10.0.69/scheduler/job/789#L137end: 2.3 connect-device (duration 00:00:00) [common] http://10.10.0.69/scheduler/job/789#L138end: 2 boot-trace32-image (duration 00:00:28) [common] http://10.10.0.69/scheduler/job/789#action_3start: 3 minimal-boot (timeout 00:03:00) [common] http://10.10.0.69/scheduler/job/789#action_3-1start: 3.1 connect-device (timeout 00:03:00) [common] http://10.10.0.69/scheduler/job/789#L141Already connected http://10.10.0.69/scheduler/job/789#L142end: 3.1 connect-device (duration 00:00:00) [common] http://10.10.0.69/scheduler/job/789#action_3-2start: 3.2 auto-login-action (timeout 00:03:00) [common] http://10.10.0.69/scheduler/job/789#L144Setting prompt string to ['Booting Linux'] http://10.10.0.69/scheduler/job/789#L145auto-login-action: Wait for prompt ['Booting Linux'] (timeout 00:03:00) http://10.10.0.69/scheduler/job/789#L146Trying 10.10.0.18... http://10.10.0.69/scheduler/job/789#L147Connected to 10.10.0.18. http://10.10.0.69/scheduler/job/789#L148Escape character is '^]'. http://10.10.0.69/scheduler/job/789#L149 http://10.10.0.69/scheduler/job/789#L150alif_asic01 4000 [115200 N81] http://10.10.0.69/scheduler/job/789#L151 http://10.10.0.69/scheduler/job/789#L152auto-login-action timed out after 180 seconds http://10.10.0.69/scheduler/job/789#L153end: 3.2 auto-login-action (duration 00:03:00) [common]
*Both telnet & serial server(ser2net) is configured.* *Uart cable attached with serial server: usb-Profolic_Technology_Inc._Usb-serial_Controller-ifoo-port0*
i am getting boot log messages using telnet manually but not with lava.
*Manual log with telnet:* $ telnet 10.10.0.18 4000 Trying 10.10.0.18... Connected to 10.10.0.18. Escape character is '^]'.
alif_asic01 4000 [115200 N81]
Booting Linux on physical CPU 0x0 Linux version 5.4.25-00024-g9283a6810958-dirty (nishit@alif) (gcc version 9.2.0 (GCC)) #72 Tue Apr 20 15:41:31 IST 2021 #HGG1 CPU: ARMv8-a aarch32 Processor [411fd010] revision 0 (ARMv8), cr=50c5383d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache #HGG1.1 OF: fdt: Machine model: corstone700
[PFA] yaml job
thanks
Regards Nagendra S