Hello Team,
Good Day to you!
I have a requirement to pass "enter" key after u-boot process completion, to enter into the system. Without pressing any key cannot enter into prompt and it stays stagnant.
Please let me know how to pass "enter" press key at the end of u-boot log.
Thanks Pavan kumar
Hey Pavan kumar,
what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system?
For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template.
If your system is already booted up, it would be up to auto_login https://docs.lavasoftware.org/lava/actions-boot.html#auto-login to be configured properly and take over.
Regards Stefan | On 5/15/2023 9:29 AM, pawanKumar wrote:
Hello Team,
Good Day to you!
I have a requirement to pass "enter" key after u-boot process completion, to enter into the system. Without pressing any key cannot enter into prompt and it stays stagnant.
Please let me know how to pass "enter" press key at the end of u-boot log.
Thanks Pavan kumar
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Hi Stefan,
It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system.
Please check the attachment.
Best Regards *Pavan Kumar*
On Mon, May 15, 2023 at 1:22 PM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hey Pavan kumar,
what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system?
For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template.
If your system is already booted up, it would be up to auto_login < https://docs.lavasoftware.org/lava/actions-boot.html#auto-login%3E to be configured properly and take over.
Regards Stefan | On 5/15/2023 9:29 AM, pawanKumar wrote:
Hello Team,
Good Day to you!
I have a requirement to pass "enter" key after u-boot process
completion, to enter into the system.
Without pressing any key cannot enter into prompt and it stays stagnant.
Please let me know how to pass "enter" press key at the end of u-boot
log.
Thanks Pavan kumar
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Le lun. 15 mai 2023 à 11:32, pawanKumar pawan4749@gmail.com a écrit :
Hi Stefan,
It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system.
As answered by stefan, using auto-login feature should work.
Please check the attachment.
Best Regards *Pavan Kumar*
On Mon, May 15, 2023 at 1:22 PM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hey Pavan kumar,
what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system?
For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template.
If your system is already booted up, it would be up to auto_login < https://docs.lavasoftware.org/lava/actions-boot.html#auto-login%3E to be configured properly and take over.
Regards Stefan | On 5/15/2023 9:29 AM, pawanKumar wrote:
Hello Team,
Good Day to you!
I have a requirement to pass "enter" key after u-boot process
completion, to enter into the system.
Without pressing any key cannot enter into prompt and it stays stagnant.
Please let me know how to pass "enter" press key at the end of u-boot
log.
Thanks Pavan kumar
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Hi
The auto-login feature is not working here, job is failing with "*wait for Prompt timed out*". As I mentioned in a previous email, after completion the log login prompt is not displayed automatically and you need to press enter key to see the login prompt.
Below is the definition I'm using:
device_type: DEVICE-TYPE1 job_name: boot the device timeouts: job: minutes: 15 action: minutes: 10 connection: minutes: 5 visibility: public actions: - command: name: relay_pwr_on timeout: minutes: 1 - boot: method: u-boot commands: - boot auto_login: login_prompt: 'rezi-703683 login:' username: root login_commands: - touch /home/root/test_file - ifconfig band0 - cat /etc/os-release prompts: - 'root@rezi' - '#' [image: prompt-timeout.PNG] Best Regards *Pavan Kumar*
On Tue, May 16, 2023 at 12:53 PM Remi Duraffort remi.duraffort@linaro.org wrote:
Le lun. 15 mai 2023 à 11:32, pawanKumar pawan4749@gmail.com a écrit :
Hi Stefan,
It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system.
As answered by stefan, using auto-login feature should work.
Please check the attachment.
Best Regards *Pavan Kumar*
On Mon, May 15, 2023 at 1:22 PM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hey Pavan kumar,
what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system?
For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template.
If your system is already booted up, it would be up to auto_login < https://docs.lavasoftware.org/lava/actions-boot.html#auto-login%3E to be configured properly and take over.
Regards Stefan | On 5/15/2023 9:29 AM, pawanKumar wrote:
Hello Team,
Good Day to you!
I have a requirement to pass "enter" key after u-boot process
completion, to enter into the system.
Without pressing any key cannot enter into prompt and it stays
stagnant.
Please let me know how to pass "enter" press key at the end of u-boot
log.
Thanks Pavan kumar
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to
lava-users-leave@lists.lavasoftware.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
-- Rémi Duraffort Principal Tech Lead Automation Software Team Linaro
Hi Pavan,
what happens if you set the 'login_prompt' to (parts of) that "press enter" string? Sure it doesn't work currently, because the string you configured doesn't get displayed
Stefan
Am 17. Mai 2023 07:00:31 MESZ schrieb pawanKumar pawan4749@gmail.com:
Hi
The auto-login feature is not working here, job is failing with "*wait for Prompt timed out*". As I mentioned in a previous email, after completion the log login prompt is not displayed automatically and you need to press enter key to see the login prompt.
Below is the definition I'm using:
device_type: DEVICE-TYPE1 job_name: boot the device timeouts: job: minutes: 15 action: minutes: 10 connection: minutes: 5 visibility: public actions:
- command: name: relay_pwr_on timeout: minutes: 1
- boot: method: u-boot commands: - boot auto_login: login_prompt: 'rezi-703683 login:' username: root login_commands:
prompts:
- touch /home/root/test_file
- ifconfig band0
- cat /etc/os-release
- 'root@rezi'
- '#'
[image: prompt-timeout.PNG] Best Regards *Pavan Kumar*
On Tue, May 16, 2023 at 12:53 PM Remi Duraffort remi.duraffort@linaro.org wrote:
Le lun. 15 mai 2023 à 11:32, pawanKumar pawan4749@gmail.com a écrit :
Hi Stefan,
It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system.
As answered by stefan, using auto-login feature should work.
Please check the attachment.
Best Regards *Pavan Kumar*
On Mon, May 15, 2023 at 1:22 PM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hey Pavan kumar,
what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system?
For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template.
If your system is already booted up, it would be up to auto_login < https://docs.lavasoftware.org/lava/actions-boot.html#auto-login%3E to be configured properly and take over.
Regards Stefan | On 5/15/2023 9:29 AM, pawanKumar wrote:
Hello Team,
Good Day to you!
I have a requirement to pass "enter" key after u-boot process
completion, to enter into the system.
Without pressing any key cannot enter into prompt and it stays
stagnant.
Please let me know how to pass "enter" press key at the end of u-boot
log.
Thanks Pavan kumar
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to
lava-users-leave@lists.lavasoftware.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
-- Rémi Duraffort Principal Tech Lead Automation Software Team Linaro
Hi Stefan,
Did you mean auto_login: login_prompt: "press enter"
I tried it but there is no difference, it results in the same error. Any suggestions?
Best Regards *Pavan Kumar*
On Wed, May 17, 2023 at 10:58 AM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hi Pavan,
what happens if you set the 'login_prompt' to (parts of) that "press enter" string? Sure it doesn't work currently, because the string you configured doesn't get displayed
Stefan
Am 17. Mai 2023 07:00:31 MESZ schrieb pawanKumar pawan4749@gmail.com:
Hi
The auto-login feature is not working here, job is failing with "*wait for Prompt timed out*". As I mentioned in a previous email, after completion the log login prompt is not displayed automatically and you need to press enter key to see the login prompt.
Below is the definition I'm using:
device_type: DEVICE-TYPE1 job_name: boot the device timeouts: job: minutes: 15 action: minutes: 10 connection: minutes: 5 visibility: public actions:
- command: name: relay_pwr_on timeout: minutes: 1
- boot: method: u-boot commands: - boot auto_login: login_prompt: 'rezi-703683 login:' username: root login_commands: - touch /home/root/test_file - ifconfig band0 - cat /etc/os-release prompts:
- 'root@rezi'
- '#'
[image: prompt-timeout.PNG] Best Regards *Pavan Kumar*
On Tue, May 16, 2023 at 12:53 PM Remi Duraffort < remi.duraffort@linaro.org> wrote:
Le lun. 15 mai 2023 à 11:32, pawanKumar pawan4749@gmail.com a écrit :
Hi Stefan,
It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system.
As answered by stefan, using auto-login feature should work.
Please check the attachment.
Best Regards *Pavan Kumar*
On Mon, May 15, 2023 at 1:22 PM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hey Pavan kumar,
what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system?
For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template.
If your system is already booted up, it would be up to auto_login < https://docs.lavasoftware.org/lava/actions-boot.html#auto-login%3E to be configured properly and take over.
Regards Stefan | On 5/15/2023 9:29 AM, pawanKumar wrote:
Hello Team,
Good Day to you!
I have a requirement to pass "enter" key after u-boot process
completion, to enter into the system.
Without pressing any key cannot enter into prompt and it stays
stagnant.
Please let me know how to pass "enter" press key at the end of
u-boot log.
Thanks Pavan kumar
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to
lava-users-leave@lists.lavasoftware.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
-- Rémi Duraffort Principal Tech Lead Automation Software Team Linaro
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Hi Pavan,
if there's really no difference, then you are not using the correct string. Is the prompt really "press enter", or might it be that it is like "Press ENTER to activate this console" or "Please press Enter to activate this console"? That's a difference. You need to use a string that your device really displays on console.
Regards Stefan
On 2023-05-18 07:30, pawanKumar wrote:
Hi Stefan,
Did you mean auto_login: login_prompt: "press enter"
I tried it but there is no difference, it results in the same error. Any suggestions?
Best Regards /Pavan Kumar/
On Wed, May 17, 2023 at 10:58 AM Stefan lists.lavasoftware.org_23@green-sparklet.de wrote:
Hi Pavan, what happens if you set the 'login_prompt' to (parts of) that "press enter" string? Sure it doesn't work currently, because the string you configured doesn't get displayed Stefan Am 17. Mai 2023 07:00:31 MESZ schrieb pawanKumar <pawan4749@gmail.com>: Hi The auto-login feature is not working here, job is failing with "/wait for Prompt timed out/". As I mentioned in a previous email, after completion the log login prompt is not displayed automatically and you need to press enter key to see the login prompt. Below is the definition I'm using: device_type: DEVICE-TYPE1 job_name: boot the device timeouts: job: minutes: 15 action: minutes: 10 connection: minutes: 5 visibility: public actions: - command: name: relay_pwr_on timeout: minutes: 1 - boot: method: u-boot commands: - boot auto_login: login_prompt: 'rezi-703683 login:' username: root login_commands: - touch /home/root/test_file - ifconfig band0 - cat /etc/os-release prompts: - 'root@rezi' - '#' prompt-timeout.PNG Best Regards /Pavan Kumar/ On Tue, May 16, 2023 at 12:53 PM Remi Duraffort <remi.duraffort@linaro.org> wrote: Le lun. 15 mai 2023 à 11:32, pawanKumar <pawan4749@gmail.com> a écrit : Hi Stefan, It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system. As answered by stefan, using auto-login feature should work. Please check the attachment. Best Regards /Pavan Kumar/ On Mon, May 15, 2023 at 1:22 PM Stefan <lists.lavasoftware.org_23@green-sparklet.de> wrote: Hey Pavan kumar, what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system? For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template. If your system is already booted up, it would be up to auto_login <https://docs.lavasoftware.org/lava/actions-boot.html#auto-login> to be configured properly and take over. Regards Stefan | On 5/15/2023 9:29 AM, pawanKumar wrote: > Hello Team, > > Good Day to you! > > I have a requirement to pass "enter" key after u-boot process completion, to enter into the system. > Without pressing any key cannot enter into prompt and it stays stagnant. > > Please let me know how to pass "enter" press key at the end of u-boot log. > > > Thanks > Pavan kumar > > _______________________________________________ > Lava-users mailing list -- lava-users@lists.lavasoftware.org > To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s _______________________________________________ Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s -- Rémi Duraffort Principal Tech Lead Automation Software Team Linaro _______________________________________________ Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Hi All,
Thanks for your reply!
I have pasted the log in the link below https://pastebin.com/qquMLthi
After the boot completion I have to press "enter" manually to see the login prompt. If didn't press any key then it gets disconnected after some time. That's how the device is designed. By using the job definition it Enter to u-boot and send boot command successfully but fails while login as it doesn't see any login prompt. Any one please check the log and suggest whether need to make any changes in base file or base-uboot file. Since it's a new device connecting to existing lava setup I was confused a bit.
Thanks *Pavan Kumar*
Show quoted text
On Thu, 18 May, 2023, 11:23 am Stefan, < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hi Pavan,
if there's really no difference, then you are not using the correct string. Is the prompt really "press enter", or might it be that it is like "Press ENTER to activate this console" or "Please press Enter to activate this console"? That's a difference. You need to use a string that your device really displays on console.
Regards Stefan
On 2023-05-18 07:30, pawanKumar wrote:
Hi Stefan,
Did you mean auto_login: login_prompt: "press enter"
I tried it but there is no difference, it results in the same error. Any suggestions?
Best Regards *Pavan Kumar*
On Wed, May 17, 2023 at 10:58 AM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hi Pavan,
what happens if you set the 'login_prompt' to (parts of) that "press enter" string? Sure it doesn't work currently, because the string you configured doesn't get displayed
Stefan
Am 17. Mai 2023 07:00:31 MESZ schrieb pawanKumar pawan4749@gmail.com:
Hi
The auto-login feature is not working here, job is failing with "*wait for Prompt timed out*". As I mentioned in a previous email, after completion the log login prompt is not displayed automatically and you need to press enter key to see the login prompt.
Below is the definition I'm using:
device_type: DEVICE-TYPE1 job_name: boot the device timeouts: job: minutes: 15 action: minutes: 10 connection: minutes: 5 visibility: public actions:
- command: name: relay_pwr_on timeout: minutes: 1
- boot: method: u-boot commands: - boot auto_login: login_prompt: 'rezi-703683 login:' username: root login_commands: - touch /home/root/test_file - ifconfig band0 - cat /etc/os-release prompts:
- 'root@rezi'
- '#'
[image: prompt-timeout.PNG] Best Regards *Pavan Kumar*
On Tue, May 16, 2023 at 12:53 PM Remi Duraffort < remi.duraffort@linaro.org> wrote:
Le lun. 15 mai 2023 à 11:32, pawanKumar pawan4749@gmail.com a écrit :
Hi Stefan,
It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system.
As answered by stefan, using auto-login feature should work.
Please check the attachment.
Best Regards *Pavan Kumar*
On Mon, May 15, 2023 at 1:22 PM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hey Pavan kumar,
what do mean by "after U-Boot process completion"? What does your config look like? Are you still in U-Boot, or did you already boot up your system?
For the first one, it would help to modify |'||base_uboot_bootcmd' which can be overridden in your device template.
If your system is already booted up, it would be up to auto_login < https://docs.lavasoftware.org/lava/actions-boot.html#auto-login%3E to be configured properly and take over.
Regards Stefan | On 5/15/2023 9:29 AM, pawanKumar wrote: > Hello Team, > > Good Day to you! > > I have a requirement to pass "enter" key after u-boot process completion, to enter into the system. > Without pressing any key cannot enter into prompt and it stays stagnant. > > Please let me know how to pass "enter" press key at the end of u-boot log. > > > Thanks > Pavan kumar > > _______________________________________________ > Lava-users mailing list -- lava-users@lists.lavasoftware.org > To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
-- Rémi Duraffort Principal Tech Lead Automation Software Team Linaro
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Hi
Can anyone have a look at the log and suggest what can be done?
Thanks & Regards *Pavan Kumar*
On Sun, May 21, 2023 at 1:18 PM pawanKumar pawan4749@gmail.com wrote:
Hi All,
Thanks for your reply!
I have pasted the log in the link below https://pastebin.com/qquMLthi
After the boot completion I have to press "enter" manually to see the login prompt. If didn't press any key then it gets disconnected after some time. That's how the device is designed. By using the job definition it Enter to u-boot and send boot command successfully but fails while login as it doesn't see any login prompt. Any one please check the log and suggest whether need to make any changes in base file or base-uboot file. Since it's a new device connecting to existing lava setup I was confused a bit.
Thanks *Pavan Kumar*
Show quoted text
On Thu, 18 May, 2023, 11:23 am Stefan, < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hi Pavan,
if there's really no difference, then you are not using the correct string. Is the prompt really "press enter", or might it be that it is like "Press ENTER to activate this console" or "Please press Enter to activate this console"? That's a difference. You need to use a string that your device really displays on console.
Regards Stefan
On 2023-05-18 07:30, pawanKumar wrote:
Hi Stefan,
Did you mean auto_login: login_prompt: "press enter"
I tried it but there is no difference, it results in the same error. Any suggestions?
Best Regards *Pavan Kumar*
On Wed, May 17, 2023 at 10:58 AM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
Hi Pavan,
what happens if you set the 'login_prompt' to (parts of) that "press enter" string? Sure it doesn't work currently, because the string you configured doesn't get displayed
Stefan
Am 17. Mai 2023 07:00:31 MESZ schrieb pawanKumar pawan4749@gmail.com:
Hi
The auto-login feature is not working here, job is failing with "*wait for Prompt timed out*". As I mentioned in a previous email, after completion the log login prompt is not displayed automatically and you need to press enter key to see the login prompt.
Below is the definition I'm using:
device_type: DEVICE-TYPE1 job_name: boot the device timeouts: job: minutes: 15 action: minutes: 10 connection: minutes: 5 visibility: public actions:
- command: name: relay_pwr_on timeout: minutes: 1
- boot: method: u-boot commands: - boot auto_login: login_prompt: 'rezi-703683 login:' username: root login_commands: - touch /home/root/test_file - ifconfig band0 - cat /etc/os-release prompts:
- 'root@rezi'
- '#'
[image: prompt-timeout.PNG] Best Regards *Pavan Kumar*
On Tue, May 16, 2023 at 12:53 PM Remi Duraffort < remi.duraffort@linaro.org> wrote:
Le lun. 15 mai 2023 à 11:32, pawanKumar pawan4749@gmail.com a écrit :
Hi Stefan,
It means after the boot process completion, i should press "enter" then only it displays a login prompt to pass username then enters into the system.
As answered by stefan, using auto-login feature should work.
Please check the attachment.
Best Regards *Pavan Kumar*
On Mon, May 15, 2023 at 1:22 PM Stefan < lists.lavasoftware.org_23@green-sparklet.de> wrote:
> Hey Pavan kumar, > > what do mean by "after U-Boot process completion"? What does your > config look like? Are you still in U-Boot, or did you already boot up your > system? > > For the first one, it would help to modify |'||base_uboot_bootcmd' > which can be overridden in your device template. > > If your system is already booted up, it would be up to auto_login < > https://docs.lavasoftware.org/lava/actions-boot.html#auto-login%3E to > be configured properly and take over. > > Regards > Stefan > | > On 5/15/2023 9:29 AM, pawanKumar wrote: > > Hello Team, > > > > Good Day to you! > > > > I have a requirement to pass "enter" key after u-boot process > completion, to enter into the system. > > Without pressing any key cannot enter into prompt and it stays > stagnant. > > > > Please let me know how to pass "enter" press key at the end of > u-boot log. > > > > > > Thanks > > Pavan kumar > > > > _______________________________________________ > > Lava-users mailing list -- lava-users@lists.lavasoftware.org > > To unsubscribe send an email to > lava-users-leave@lists.lavasoftware.org > > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > > _______________________________________________ > Lava-users mailing list -- lava-users@lists.lavasoftware.org > To unsubscribe send an email to > lava-users-leave@lists.lavasoftware.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
-- Rémi Duraffort Principal Tech Lead Automation Software Team Linaro
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
lava-users@lists.lavasoftware.org