Hello Lava Users,
Trying to boot a target in LAVA based on base-grub device type.The LAVA version installed is 2019.11.
From the GRUB command line when I manually enter following commands for
network setting ,it is getting executed successfully. grub> insmod efinet grub> net_ls_cards efinet2 20:87:56:b6:74:cd efinet1 20:87:56:f1:cf:21 efinet0 20:87:56:f1:cf:22 grub> net_add_addr test efinet0 134.86.62.99 grub> net_ls_addr test 20:87:56:f1:cf:22 134.86.62.99
But when I am sending same thing via LAVA , *net_add_addr test efinet0 134.86.62.99* [H[J[1;1Hgrub> net_add_addr test efinet0 134.86.62.99 bootloader-commands: Wait for prompt ['grub>'] (timeout 00:09:38) [1;7Hn[1;8H[1;8He[1;9H[1;9Ht[1;10H[1;10H_[1;11H[1;11Ha[1;12H[1;12Hd[1;13H[1;13Hd[1;14H[1;14H_[1;15H[1;15Ha[1;16H[1;16Hd[1;17H[1;17Hd[1;18H[1;18Hr[1;19H[1;19H [1;20H[1;20Ht[1;21H[1;21He[1;22H[1;22Hs[1;23H[1;23Ht[1;24H[1;24H [1;25H[1;25H [1;26H *error: three arguments expected.*
The above error will come when we don't pass 3 parameters to net_add_addr grub> net_add_addr test efinet0 error: three arguments expected.
I am getting this error even though 3 arguments are getting passed.
Attached is the screen shot of the Job execution log.
Thanks, Hemanth.
On Wed, 22 Jan 2020 at 07:14, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Lava Users,
Trying to boot a target in LAVA based on base-grub device type.The LAVA version installed is 2019.11.
From the GRUB command line when I manually enter following commands for network setting ,it is getting executed successfully. grub> insmod efinet grub> net_ls_cards efinet2 20:87:56:b6:74:cd efinet1 20:87:56:f1:cf:21 efinet0 20:87:56:f1:cf:22 grub> net_add_addr test efinet0 134.86.62.99 grub> net_ls_addr test 20:87:56:f1:cf:22 134.86.62.99
But when I am sending same thing via LAVA , net_add_addr test efinet0 134.86.62.99 [H[J[1;1Hgrub> net_add_addr test efinet0 134.86.62.99 bootloader-commands: Wait for prompt ['grub>'] (timeout 00:09:38) [1;7Hn[1;8H[1;8He[1;9H[1;9Ht[1;10H[1;10H_[1;11H[1;11Ha[1;12H[1;12Hd[1;13H[1;13Hd[1;14H[1;14H_[1;15H[1;15Ha[1;16H[1;16Hd[1;17H[1;17Hd[1;18H[1;18Hr[1;19H[1;19H [1;20H[1;20Ht[1;21H[1;21He[1;22H[1;22Hs[1;23H[1;23Ht[1;24H[1;24H [1;25H[1;25H [1;26H error: three arguments expected.
when you remove color codes it looks like only 'net_add_add test' is passed for some reason. LAVA sends the string that is presented with black background (with all params you need). This looks like the buffer is too short to pass complete string. Could this be the problem?
milosz
The above error will come when we don't pass 3 parameters to net_add_addr grub> net_add_addr test efinet0 error: three arguments expected.
I am getting this error even though 3 arguments are getting passed.
Attached is the screen shot of the Job execution log.
Thanks, Hemanth. _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hello Milosz,
As attached in screen shot ,the string that is present in black background has complete information " net_add_addr test efinet0 134.86.62.99" for "LAVA sends the string that is presented with black background (with all params you need)" If we remove colour codes also we can see complete information -- net_add_addr test efinet0 134.86.62.99
Thanks, Hemanth.
-----Original Message----- From: Lava-users [mailto:lava-users-bounces@lists.lavasoftware.org] On Behalf Of Milosz Wasilewski Sent: 22 January 2020 14:49 To: Hemanth K V kv.hemanth.mys@gmail.com Cc: lava-users lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] grub boot
On Wed, 22 Jan 2020 at 07:14, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Lava Users,
Trying to boot a target in LAVA based on base-grub device type.The LAVA version installed is 2019.11.
From the GRUB command line when I manually enter following commands for network setting ,it is getting executed successfully. grub> insmod efinet grub> net_ls_cards efinet2 20:87:56:b6:74:cd efinet1 20:87:56:f1:cf:21 efinet0 20:87:56:f1:cf:22 grub> net_add_addr test efinet0 134.86.62.99 net_ls_addr test 20:87:56:f1:cf:22 134.86.62.99
But when I am sending same thing via LAVA , net_add_addr test efinet0 134.86.62.99 [H[J[1;1Hgrub> net_add_addr test efinet0 134.86.62.99 bootloader-commands: Wait for prompt ['grub>'] (timeout 00:09:38) [1;7Hn[1;8H[1;8He[1;9H[1;9Ht[1;10H[1;10H_[1;11H[1;11Ha[1;12H[1;12Hd[1; 13H[1;13Hd[1;14H[1;14H_[1;15H[1;15Ha[1;16H[1;16Hd[1;17H[1;17Hd[1;18H[1 ;18Hr[1;19H[1;19H [1;20H[1;20Ht[1;21H[1;21He[1;22H[1;22Hs[1;23H[1;23Ht[1;24H[1;24H [1;25H[1;25H [1;26H error: three arguments expected.
when you remove color codes it looks like only 'net_add_add test' is passed for some reason. LAVA sends the string that is presented with black background (with all params you need). This looks like the buffer is too short to pass complete string. Could this be the problem?
milosz
The above error will come when we don't pass 3 parameters to net_add_addr grub> net_add_addr test efinet0 error: three arguments expected.
I am getting this error even though 3 arguments are getting passed.
Attached is the screen shot of the Job execution log.
Thanks, Hemanth. _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
_______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hemath,
Yes, I understand that. I'm trying to say that maybe the serial or grub buffer isn't big enough to accept this number of characters in one go. Maybe try to introduce boot_character_delay and/or test_character_delay in your device type?
milosz
On Wed, 22 Jan 2020 at 09:56, Koturappa, Hemanth Hemanth_Koturappa@mentor.com wrote:
Hello Milosz,
As attached in screen shot ,the string that is present in black background has complete information " net_add_addr test efinet0 134.86.62.99" for "LAVA sends the string that is presented with black background (with all params you need)" If we remove colour codes also we can see complete information -- net_add_addr test efinet0 134.86.62.99
Thanks, Hemanth.
-----Original Message----- From: Lava-users [mailto:lava-users-bounces@lists.lavasoftware.org] On Behalf Of Milosz Wasilewski Sent: 22 January 2020 14:49 To: Hemanth K V kv.hemanth.mys@gmail.com Cc: lava-users lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] grub boot
On Wed, 22 Jan 2020 at 07:14, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Lava Users,
Trying to boot a target in LAVA based on base-grub device type.The LAVA version installed is 2019.11.
From the GRUB command line when I manually enter following commands for network setting ,it is getting executed successfully. grub> insmod efinet grub> net_ls_cards efinet2 20:87:56:b6:74:cd efinet1 20:87:56:f1:cf:21 efinet0 20:87:56:f1:cf:22 grub> net_add_addr test efinet0 134.86.62.99 net_ls_addr test 20:87:56:f1:cf:22 134.86.62.99
But when I am sending same thing via LAVA , net_add_addr test efinet0 134.86.62.99 [H[J[1;1Hgrub> net_add_addr test efinet0 134.86.62.99 bootloader-commands: Wait for prompt ['grub>'] (timeout 00:09:38) [1;7Hn[1;8H[1;8He[1;9H[1;9Ht[1;10H[1;10H_[1;11H[1;11Ha[1;12H[1;12Hd[1; 13H[1;13Hd[1;14H[1;14H_[1;15H[1;15Ha[1;16H[1;16Hd[1;17H[1;17Hd[1;18H[1 ;18Hr[1;19H[1;19H [1;20H[1;20Ht[1;21H[1;21He[1;22H[1;22Hs[1;23H[1;23Ht[1;24H[1;24H [1;25H[1;25H [1;26H error: three arguments expected.
when you remove color codes it looks like only 'net_add_add test' is passed for some reason. LAVA sends the string that is presented with black background (with all params you need). This looks like the buffer is too short to pass complete string. Could this be the problem?
milosz
The above error will come when we don't pass 3 parameters to net_add_addr grub> net_add_addr test efinet0 error: three arguments expected.
I am getting this error even though 3 arguments are getting passed.
Attached is the screen shot of the Job execution log.
Thanks, Hemanth. _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hello Milosz,
By adding the boot character delay, assignment was successful.
Attached is screen shot for reference.
Thank you very much for the support.
Regards, Hemanth.
-----Original Message----- From: Milosz Wasilewski [mailto:milosz.wasilewski@linaro.org] Sent: 22 January 2020 16:26 To: Koturappa, Hemanth Hemanth_Koturappa@mentor.com Cc: lava-users lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] grub boot
Hemath,
Yes, I understand that. I'm trying to say that maybe the serial or grub buffer isn't big enough to accept this number of characters in one go. Maybe try to introduce boot_character_delay and/or test_character_delay in your device type?
milosz
On Wed, 22 Jan 2020 at 09:56, Koturappa, Hemanth Hemanth_Koturappa@mentor.com wrote:
Hello Milosz,
As attached in screen shot ,the string that is present in black background has complete information " net_add_addr test efinet0 134.86.62.99" for "LAVA sends the string that is presented with black background (with all params you need)" If we remove colour codes also we can see complete information -- net_add_addr test efinet0 134.86.62.99
Thanks, Hemanth.
-----Original Message----- From: Lava-users [mailto:lava-users-bounces@lists.lavasoftware.org] On Behalf Of Milosz Wasilewski Sent: 22 January 2020 14:49 To: Hemanth K V kv.hemanth.mys@gmail.com Cc: lava-users lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] grub boot
On Wed, 22 Jan 2020 at 07:14, Hemanth K V kv.hemanth.mys@gmail.com wrote:
Hello Lava Users,
Trying to boot a target in LAVA based on base-grub device type.The LAVA version installed is 2019.11.
From the GRUB command line when I manually enter following commands for network setting ,it is getting executed successfully. grub> insmod efinet grub> net_ls_cards efinet2 20:87:56:b6:74:cd efinet1 20:87:56:f1:cf:21 efinet0 20:87:56:f1:cf:22 grub> net_add_addr test efinet0 134.86.62.99 net_ls_addr test 20:87:56:f1:cf:22 134.86.62.99
But when I am sending same thing via LAVA , net_add_addr test efinet0 134.86.62.99 [H[J[1;1Hgrub> net_add_addr test efinet0 134.86.62.99 bootloader-commands: Wait for prompt ['grub>'] (timeout 00:09:38) [1;7Hn[1;8H[1;8He[1;9H[1;9Ht[1;10H[1;10H_[1;11H[1;11Ha[1;12H[1;12Hd[ 1; 13H[1;13Hd[1;14H[1;14H_[1;15H[1;15Ha[1;16H[1;16Hd[1;17H[1;17Hd[1;18H [1 ;18Hr[1;19H[1;19H [1;20H[1;20Ht[1;21H[1;21He[1;22H[1;22Hs[1;23H[1;23Ht[1;24H[1;24H [1;25H[1;25H [1;26H error: three arguments expected.
when you remove color codes it looks like only 'net_add_add test' is passed for some reason. LAVA sends the string that is presented with black background (with all params you need). This looks like the buffer is too short to pass complete string. Could this be the problem?
milosz
The above error will come when we don't pass 3 parameters to net_add_addr grub> net_add_addr test efinet0 error: three arguments expected.
I am getting this error even though 3 arguments are getting passed.
Attached is the screen shot of the Job execution log.
Thanks, Hemanth. _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
lava-users@lists.lavasoftware.org