Hi Milosz,
Thanks for the reply.
I will try to get the eth008 if possible , otherwise i will try to make use of TFTP or u-boot methods to run the test job on STM32mp157c-dk2.
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:57 PM Milosz Wasilewski < milosz.wasilewski@linaro.org> wrote:
On Mon, 11 Nov 2019 at 11:07, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Really Thanks for sharing the Information.
I have basic question, we can't able to run any test job for the STM32
without external hardware(PDU) ?
Can you please share the device configuration , which helps to run the
test jobs without "ethernet controlled relay" for the STM32.
https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts/eth008_cont...
As I requested earlier , is there any possibility to run the STM32
specific jobs with any other deployment methods(tmpfs , tftp..etc).
Our boards use EFI for booting and I never tried tftp with that. You might need grub EFI application for that. Alternatively you might use u-boot. I didn't try that either.
milosz
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:19 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
Well, LAVA will try to switch the device into DFU mode for deployment step. These lines in the device dict do it: '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s on', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s on', Then it will power on the board: '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command on --port 3 --delay 20', After that it will try to flash it using the STM32_Programmer_CLI: '/usr/local/bin/STM32_Programmer_CLI -c port=usb1 -w {LAYOUT} -q', Lastly it will power the board down and flip the dip switches back: '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command off --port 3', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s off', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s off',
So if you don't have HW moded board, this device dict won't work for you. Sources for the scripts are here: https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts We're using pretty expensive HW in the LAB:
- managed APC PDUs:
https://www.apc.com/shop/uk/en/products/Rack-PDU-Switched-1U-16A-208-230V-8-...
(I couldn't find the exact models we have, they're discontinued)
- ETH008 relay board:
https://www.robot-electronics.co.uk/htm/eth008tech.htm
milosz
On Mon, 11 Nov 2019 at 10:42, dhanu msys dhanuskd.palnati@gmail.com
wrote:
Hi Milosz,
No. Through Manual Setup , we are able to switch between the modes.
Here I have attached the kernel & dtb image for your reference. PFA.
Dhanunjaya. P
On Mon, Nov 11, 2019 at 3:40 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
I think I forgot to ask key question when it comes to this device:
did
you do the HW mod to be able to switch between DFU and OS boot modes without manual step?
milosz
On Mon, 11 Nov 2019 at 10:01, dhanu msys dhanuskd.palnati@gmail.com
wrote:
Hi Milosz,
Thanks for reply.
I am new to the LAVA usage.
I have taken reference from the below link.
https://staging.validation.linaro.org/scheduler/device/staging-stm32mp157-01...
Here I have attached the device_dictionary & device configurations
files, PFA.
Note : I am not able to see the "lab-scripts" to have power
controlled commands in my local repository , is there any specific package need to install in my localhost , can you please share the lab-scripts to have pdu control and also please share the pdu device details if required to connect with the hardware.
Can you please share some references , which i can run some jobs
through any other deploy methods like "tmpfs , tftp " for "STM32MP157C-DK2".
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 2:59 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
> > Could you share your device dictionary? You might be missing > flasher_deploy_commands. > > Please check here for reference: >
https://ledge.validation.linaro.org/scheduler/device/lng-stm32mp157-01/devic...
> > milosz > > On Thu, 7 Nov 2019 at 07:48, dhanu msys <
dhanuskd.palnati@gmail.com> wrote:
> > > > Hi Team, > > > > I am trying to run the test_jobs on the specific device type
"stm32mp1157c-dk2" , but its throwing an error message to deploy "flasher" method in the deployment parameters.
> > > > Here I have attached the screenshots for reference. PFA. > > > > Thanks & Regards, > > Dhanunjaya. P > > _______________________________________________ > > Lava-users mailing list > > Lava-users@lists.lavasoftware.org > > https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hi Milosz,
Currently eth008 was unavailable, Is there any possibility to make use of Raspberry pi 4 as PDU to run power control commands on STM32mp157c-dk2 ?
Thanks in advance.
Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 5:36 PM dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Thanks for the reply.
I will try to get the eth008 if possible , otherwise i will try to make use of TFTP or u-boot methods to run the test job on STM32mp157c-dk2.
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:57 PM Milosz Wasilewski < milosz.wasilewski@linaro.org> wrote:
On Mon, 11 Nov 2019 at 11:07, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Really Thanks for sharing the Information.
I have basic question, we can't able to run any test job for the STM32
without external hardware(PDU) ?
Can you please share the device configuration , which helps to run the
test jobs without "ethernet controlled relay" for the STM32.
https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts/eth008_cont...
As I requested earlier , is there any possibility to run the STM32
specific jobs with any other deployment methods(tmpfs , tftp..etc).
Our boards use EFI for booting and I never tried tftp with that. You might need grub EFI application for that. Alternatively you might use u-boot. I didn't try that either.
milosz
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:19 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
Well, LAVA will try to switch the device into DFU mode for deployment step. These lines in the device dict do it: '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s on', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s on', Then it will power on the board: '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command on --port 3 --delay 20', After that it will try to flash it using the STM32_Programmer_CLI: '/usr/local/bin/STM32_Programmer_CLI -c port=usb1 -w {LAYOUT} -q', Lastly it will power the board down and flip the dip switches back: '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command off --port 3', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s off', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s off',
So if you don't have HW moded board, this device dict won't work for you. Sources for the scripts are here: https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts We're using pretty expensive HW in the LAB:
- managed APC PDUs:
https://www.apc.com/shop/uk/en/products/Rack-PDU-Switched-1U-16A-208-230V-8-...
(I couldn't find the exact models we have, they're discontinued)
- ETH008 relay board:
https://www.robot-electronics.co.uk/htm/eth008tech.htm
milosz
On Mon, 11 Nov 2019 at 10:42, dhanu msys dhanuskd.palnati@gmail.com
wrote:
Hi Milosz,
No. Through Manual Setup , we are able to switch between the modes.
Here I have attached the kernel & dtb image for your reference. PFA.
Dhanunjaya. P
On Mon, Nov 11, 2019 at 3:40 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
I think I forgot to ask key question when it comes to this device:
did
you do the HW mod to be able to switch between DFU and OS boot modes without manual step?
milosz
On Mon, 11 Nov 2019 at 10:01, dhanu msys <
dhanuskd.palnati@gmail.com> wrote:
> > Hi Milosz, > > Thanks for reply. > > I am new to the LAVA usage. > > I have taken reference from the below link. >
https://staging.validation.linaro.org/scheduler/device/staging-stm32mp157-01...
> > Here I have attached the device_dictionary & device
configurations files, PFA.
> > Note : I am not able to see the "lab-scripts" to have power
controlled commands in my local repository , is there any specific package need to install in my localhost , can you please share the lab-scripts to have pdu control and also please share the pdu device details if required to connect with the hardware.
> > Can you please share some references , which i can run some jobs
through any other deploy methods like "tmpfs , tftp " for "STM32MP157C-DK2".
> > Thanks & Regards, > Dhanunjaya. P > > > On Mon, Nov 11, 2019 at 2:59 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
>> >> Could you share your device dictionary? You might be missing >> flasher_deploy_commands. >> >> Please check here for reference: >>
https://ledge.validation.linaro.org/scheduler/device/lng-stm32mp157-01/devic...
>> >> milosz >> >> On Thu, 7 Nov 2019 at 07:48, dhanu msys <
dhanuskd.palnati@gmail.com> wrote:
>> > >> > Hi Team, >> > >> > I am trying to run the test_jobs on the specific device type
"stm32mp1157c-dk2" , but its throwing an error message to deploy "flasher" method in the deployment parameters.
>> > >> > Here I have attached the screenshots for reference. PFA. >> > >> > Thanks & Regards, >> > Dhanunjaya. P >> > _______________________________________________ >> > Lava-users mailing list >> > Lava-users@lists.lavasoftware.org >> > https://lists.lavasoftware.org/mailman/listinfo/lava-users
On Tue, 12 Nov 2019 at 08:14, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Currently eth008 was unavailable, Is there any possibility to make use of Raspberry pi 4 as PDU to run power control commands on STM32mp157c-dk2 ?
Sure. Anything that can drive a relay will work. You will need to create a script that LAVA can call. Eth008 is a good choice for a bigger LAB where you need a lot of relays (these boards have configurable MAC addresses). If you need just one, than pick any relay you can get on ebay and that will do the trick.
milosz
Thanks in advance.
Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 5:36 PM dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Thanks for the reply.
I will try to get the eth008 if possible , otherwise i will try to make use of TFTP or u-boot methods to run the test job on STM32mp157c-dk2.
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:57 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
On Mon, 11 Nov 2019 at 11:07, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Really Thanks for sharing the Information.
I have basic question, we can't able to run any test job for the STM32 without external hardware(PDU) ?
Can you please share the device configuration , which helps to run the test jobs without "ethernet controlled relay" for the STM32.
https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts/eth008_cont...
As I requested earlier , is there any possibility to run the STM32 specific jobs with any other deployment methods(tmpfs , tftp..etc).
Our boards use EFI for booting and I never tried tftp with that. You might need grub EFI application for that. Alternatively you might use u-boot. I didn't try that either.
milosz
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:19 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
Well, LAVA will try to switch the device into DFU mode for deployment step. These lines in the device dict do it: '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s on', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s on', Then it will power on the board: '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command on --port 3 --delay 20', After that it will try to flash it using the STM32_Programmer_CLI: '/usr/local/bin/STM32_Programmer_CLI -c port=usb1 -w {LAYOUT} -q', Lastly it will power the board down and flip the dip switches back: '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command off --port 3', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s off', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s off',
So if you don't have HW moded board, this device dict won't work for you. Sources for the scripts are here: https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts We're using pretty expensive HW in the LAB:
- managed APC PDUs:
https://www.apc.com/shop/uk/en/products/Rack-PDU-Switched-1U-16A-208-230V-8-... (I couldn't find the exact models we have, they're discontinued)
- ETH008 relay board: https://www.robot-electronics.co.uk/htm/eth008tech.htm
milosz
On Mon, 11 Nov 2019 at 10:42, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
No. Through Manual Setup , we are able to switch between the modes.
Here I have attached the kernel & dtb image for your reference. PFA.
Dhanunjaya. P
On Mon, Nov 11, 2019 at 3:40 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote: > > I think I forgot to ask key question when it comes to this device: did > you do the HW mod to be able to switch between DFU and OS boot modes > without manual step? > > milosz > > On Mon, 11 Nov 2019 at 10:01, dhanu msys dhanuskd.palnati@gmail.com wrote: > > > > Hi Milosz, > > > > Thanks for reply. > > > > I am new to the LAVA usage. > > > > I have taken reference from the below link. > > https://staging.validation.linaro.org/scheduler/device/staging-stm32mp157-01... > > > > Here I have attached the device_dictionary & device configurations files, PFA. > > > > Note : I am not able to see the "lab-scripts" to have power controlled commands in my local repository , is there any specific package need to install in my localhost , can you please share the lab-scripts to have pdu control and also please share the pdu device details if required to connect with the hardware. > > > > Can you please share some references , which i can run some jobs through any other deploy methods like "tmpfs , tftp " for "STM32MP157C-DK2". > > > > Thanks & Regards, > > Dhanunjaya. P > > > > > > On Mon, Nov 11, 2019 at 2:59 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote: > >> > >> Could you share your device dictionary? You might be missing > >> flasher_deploy_commands. > >> > >> Please check here for reference: > >> https://ledge.validation.linaro.org/scheduler/device/lng-stm32mp157-01/devic... > >> > >> milosz > >> > >> On Thu, 7 Nov 2019 at 07:48, dhanu msys dhanuskd.palnati@gmail.com wrote: > >> > > >> > Hi Team, > >> > > >> > I am trying to run the test_jobs on the specific device type "stm32mp1157c-dk2" , but its throwing an error message to deploy "flasher" method in the deployment parameters. > >> > > >> > Here I have attached the screenshots for reference. PFA. > >> > > >> > Thanks & Regards, > >> > Dhanunjaya. P > >> > _______________________________________________ > >> > Lava-users mailing list > >> > Lava-users@lists.lavasoftware.org > >> > https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hi Milosz,
As per earlier email , I am trying to boot the STM32mp157c-dk2 with the tftp deploy method , but getting failed to have proper device configuration.
Here I have attached the device configuration , device template & Job definition files. PFA.
Please let me know how to get resolve the issue.
Regards, Dhanunjaya. P
On Tue, Nov 12, 2019 at 2:45 PM Milosz Wasilewski < milosz.wasilewski@linaro.org> wrote:
On Tue, 12 Nov 2019 at 08:14, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Currently eth008 was unavailable, Is there any possibility to make use
of Raspberry pi 4 as PDU to run power control commands on STM32mp157c-dk2 ?
Sure. Anything that can drive a relay will work. You will need to create a script that LAVA can call. Eth008 is a good choice for a bigger LAB where you need a lot of relays (these boards have configurable MAC addresses). If you need just one, than pick any relay you can get on ebay and that will do the trick.
milosz
Thanks in advance.
Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 5:36 PM dhanu msys dhanuskd.palnati@gmail.com
wrote:
Hi Milosz,
Thanks for the reply.
I will try to get the eth008 if possible , otherwise i will try to make
use of TFTP or u-boot methods to run the test job on STM32mp157c-dk2.
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:57 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
On Mon, 11 Nov 2019 at 11:07, dhanu msys dhanuskd.palnati@gmail.com
wrote:
Hi Milosz,
Really Thanks for sharing the Information.
I have basic question, we can't able to run any test job for the
STM32 without external hardware(PDU) ?
Can you please share the device configuration , which helps to run
the test jobs without "ethernet controlled relay" for the STM32.
https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts/eth008_cont...
As I requested earlier , is there any possibility to run the STM32
specific jobs with any other deployment methods(tmpfs , tftp..etc).
Our boards use EFI for booting and I never tried tftp with that. You might need grub EFI application for that. Alternatively you might use u-boot. I didn't try that either.
milosz
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:19 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
Well, LAVA will try to switch the device into DFU mode for
deployment
step. These lines in the device dict do it: '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s on', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s on', Then it will power on the board: '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01
--command
on --port 3 --delay 20', After that it will try to flash it using the STM32_Programmer_CLI: '/usr/local/bin/STM32_Programmer_CLI -c port=usb1 -w {LAYOUT} -q', Lastly it will power the board down and flip the dip switches back: '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01
--command
off --port 3', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s off', '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s off',
So if you don't have HW moded board, this device dict won't work for you. Sources for the scripts are here: https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts We're using pretty expensive HW in the LAB:
- managed APC PDUs:
https://www.apc.com/shop/uk/en/products/Rack-PDU-Switched-1U-16A-208-230V-8-...
(I couldn't find the exact models we have, they're discontinued)
- ETH008 relay board:
https://www.robot-electronics.co.uk/htm/eth008tech.htm
milosz
On Mon, 11 Nov 2019 at 10:42, dhanu msys <
dhanuskd.palnati@gmail.com> wrote:
> > Hi Milosz, > > No. > Through Manual Setup , we are able to switch between the modes. > > Here I have attached the kernel & dtb image for your reference.
PFA.
> > Dhanunjaya. P > > > On Mon, Nov 11, 2019 at 3:40 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
>> >> I think I forgot to ask key question when it comes to this
device: did
>> you do the HW mod to be able to switch between DFU and OS boot
modes
>> without manual step? >> >> milosz >> >> On Mon, 11 Nov 2019 at 10:01, dhanu msys <
dhanuskd.palnati@gmail.com> wrote:
>> > >> > Hi Milosz, >> > >> > Thanks for reply. >> > >> > I am new to the LAVA usage. >> > >> > I have taken reference from the below link. >> >
https://staging.validation.linaro.org/scheduler/device/staging-stm32mp157-01...
>> > >> > Here I have attached the device_dictionary & device
configurations files, PFA.
>> > >> > Note : I am not able to see the "lab-scripts" to have power
controlled commands in my local repository , is there any specific package need to install in my localhost , can you please share the lab-scripts to have pdu control and also please share the pdu device details if required to connect with the hardware.
>> > >> > Can you please share some references , which i can run some
jobs through any other deploy methods like "tmpfs , tftp " for "STM32MP157C-DK2".
>> > >> > Thanks & Regards, >> > Dhanunjaya. P >> > >> > >> > On Mon, Nov 11, 2019 at 2:59 PM Milosz Wasilewski <
milosz.wasilewski@linaro.org> wrote:
>> >> >> >> Could you share your device dictionary? You might be missing >> >> flasher_deploy_commands. >> >> >> >> Please check here for reference: >> >>
https://ledge.validation.linaro.org/scheduler/device/lng-stm32mp157-01/devic...
>> >> >> >> milosz >> >> >> >> On Thu, 7 Nov 2019 at 07:48, dhanu msys <
dhanuskd.palnati@gmail.com> wrote:
>> >> > >> >> > Hi Team, >> >> > >> >> > I am trying to run the test_jobs on the specific device
type "stm32mp1157c-dk2" , but its throwing an error message to deploy "flasher" method in the deployment parameters.
>> >> > >> >> > Here I have attached the screenshots for reference. PFA. >> >> > >> >> > Thanks & Regards, >> >> > Dhanunjaya. P >> >> > _______________________________________________ >> >> > Lava-users mailing list >> >> > Lava-users@lists.lavasoftware.org >> >> > https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hmm, Do you know how tftp boot works? Loading 100M tarball into memory doesn't seem like a good idea. Which bootloader is running on your board?
milosz
On Tue, 12 Nov 2019 at 13:32, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
As per earlier email , I am trying to boot the STM32mp157c-dk2 with the tftp deploy method , but getting failed to have proper device configuration.
Here I have attached the device configuration , device template & Job definition files. PFA.
Please let me know how to get resolve the issue.
Regards, Dhanunjaya. P
On Tue, Nov 12, 2019 at 2:45 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
On Tue, 12 Nov 2019 at 08:14, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Currently eth008 was unavailable, Is there any possibility to make use of Raspberry pi 4 as PDU to run power control commands on STM32mp157c-dk2 ?
Sure. Anything that can drive a relay will work. You will need to create a script that LAVA can call. Eth008 is a good choice for a bigger LAB where you need a lot of relays (these boards have configurable MAC addresses). If you need just one, than pick any relay you can get on ebay and that will do the trick.
milosz
Thanks in advance.
Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 5:36 PM dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Thanks for the reply.
I will try to get the eth008 if possible , otherwise i will try to make use of TFTP or u-boot methods to run the test job on STM32mp157c-dk2.
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:57 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote:
On Mon, 11 Nov 2019 at 11:07, dhanu msys dhanuskd.palnati@gmail.com wrote:
Hi Milosz,
Really Thanks for sharing the Information.
I have basic question, we can't able to run any test job for the STM32 without external hardware(PDU) ?
Can you please share the device configuration , which helps to run the test jobs without "ethernet controlled relay" for the STM32.
https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts/eth008_cont...
As I requested earlier , is there any possibility to run the STM32 specific jobs with any other deployment methods(tmpfs , tftp..etc).
Our boards use EFI for booting and I never tried tftp with that. You might need grub EFI application for that. Alternatively you might use u-boot. I didn't try that either.
milosz
Thanks & Regards, Dhanunjaya. P
On Mon, Nov 11, 2019 at 4:19 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote: > > Well, LAVA will try to switch the device into DFU mode for deployment > step. These lines in the device dict do it: > '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s on', > '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s on', > Then it will power on the board: > '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command > on --port 3 --delay 20', > After that it will try to flash it using the STM32_Programmer_CLI: > '/usr/local/bin/STM32_Programmer_CLI -c port=usb1 -w {LAYOUT} -q', > Lastly it will power the board down and flip the dip switches back: > '/usr/local/lab-scripts/snmp_pdu_control --hostname lngpdu01 --command > off --port 3', > '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 1 -s off', > '/usr/local/lab-scripts/eth008_control -a 172.27.19.27 -r 2 -s off', > > So if you don't have HW moded board, this device dict won't work for > you. Sources for the scripts are here: > https://git.linaro.org/lava/lava-lab.git/tree/shared/lab-scripts > We're using pretty expensive HW in the LAB: > - managed APC PDUs: > https://www.apc.com/shop/uk/en/products/Rack-PDU-Switched-1U-16A-208-230V-8-... > (I couldn't find the exact models we have, they're discontinued) > - ETH008 relay board: https://www.robot-electronics.co.uk/htm/eth008tech.htm > > milosz > > On Mon, 11 Nov 2019 at 10:42, dhanu msys dhanuskd.palnati@gmail.com wrote: > > > > Hi Milosz, > > > > No. > > Through Manual Setup , we are able to switch between the modes. > > > > Here I have attached the kernel & dtb image for your reference. PFA. > > > > Dhanunjaya. P > > > > > > On Mon, Nov 11, 2019 at 3:40 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote: > >> > >> I think I forgot to ask key question when it comes to this device: did > >> you do the HW mod to be able to switch between DFU and OS boot modes > >> without manual step? > >> > >> milosz > >> > >> On Mon, 11 Nov 2019 at 10:01, dhanu msys dhanuskd.palnati@gmail.com wrote: > >> > > >> > Hi Milosz, > >> > > >> > Thanks for reply. > >> > > >> > I am new to the LAVA usage. > >> > > >> > I have taken reference from the below link. > >> > https://staging.validation.linaro.org/scheduler/device/staging-stm32mp157-01... > >> > > >> > Here I have attached the device_dictionary & device configurations files, PFA. > >> > > >> > Note : I am not able to see the "lab-scripts" to have power controlled commands in my local repository , is there any specific package need to install in my localhost , can you please share the lab-scripts to have pdu control and also please share the pdu device details if required to connect with the hardware. > >> > > >> > Can you please share some references , which i can run some jobs through any other deploy methods like "tmpfs , tftp " for "STM32MP157C-DK2". > >> > > >> > Thanks & Regards, > >> > Dhanunjaya. P > >> > > >> > > >> > On Mon, Nov 11, 2019 at 2:59 PM Milosz Wasilewski milosz.wasilewski@linaro.org wrote: > >> >> > >> >> Could you share your device dictionary? You might be missing > >> >> flasher_deploy_commands. > >> >> > >> >> Please check here for reference: > >> >> https://ledge.validation.linaro.org/scheduler/device/lng-stm32mp157-01/devic... > >> >> > >> >> milosz > >> >> > >> >> On Thu, 7 Nov 2019 at 07:48, dhanu msys dhanuskd.palnati@gmail.com wrote: > >> >> > > >> >> > Hi Team, > >> >> > > >> >> > I am trying to run the test_jobs on the specific device type "stm32mp1157c-dk2" , but its throwing an error message to deploy "flasher" method in the deployment parameters. > >> >> > > >> >> > Here I have attached the screenshots for reference. PFA. > >> >> > > >> >> > Thanks & Regards, > >> >> > Dhanunjaya. P > >> >> > _______________________________________________ > >> >> > Lava-users mailing list > >> >> > Lava-users@lists.lavasoftware.org > >> >> > https://lists.lavasoftware.org/mailman/listinfo/lava-users
lava-users@lists.lavasoftware.org