Hi Milosz,

I was able to make the job successfully complete state without running any tests in the tests in the test job definiton.

But still i need to have support for "refine the Device type as much as possible" to make use of "flasher" method to make use of flasher_deploy_commands in the Device configuration.

Here I have shared the test job configuration file along with test results and device type configuration & device configurations. PFA.

Thanks & Regards,
Dhanunjaya. P


On Wed, Dec 4, 2019 at 4:44 PM dhanu msys <dhanuskd.palnati@gmail.com> wrote:
Hi Milosz,

As I mentioned above , I have found the linux based commands to flash my image on target using st-flash as below.

"st-flash --format ihex write /home/dhanunjaya/Downloads/demo_guix_medical.hex".

To run this specific testcases , i have added new device type & device with my basic understanding , upto now i can able to flash the image the as per the command which i have mentioned above using st-flash.

Now , i am little bit confused with the device type configurations , can you please help me out on this.

As mentioned earlier to make use of flasher deploy method , suggest me the device type configurations and also i dont need to maintain the connection to the hardware , why because i will be flashing the .hex image , its a combination of RTOS & Application base , so i will not be having any booting prompt.

If its flasher deploy method , how i can download the images(.hex) into the leshan server , If I Downloaded , then how i can update the Flash Command specific to this type of configuration.


Thanks & Regards,
Dhanunjaya. P


On Fri, Nov 29, 2019 at 4:26 PM Milosz Wasilewski <milosz.wasilewski@linaro.org> wrote:
On Fri, 29 Nov 2019 at 10:54, dhanu msys <dhanuskd.palnati@gmail.com> wrote:
>
> Hi Milosz,
>
> Yes.
> Please reffer the below link.
> https://startingelectronics.org/tutorials/STM32-microcontrollers/programming-STM32-flash-in-Linux/

So you have the answer. You need a new device type with this tool as 'flasher'.

milosz

>
> Dhanunjaya. P
>
>
> On Fri, Nov 29, 2019 at 4:17 PM Milosz Wasilewski <milosz.wasilewski@linaro.org> wrote:
>>
>> On Fri, 29 Nov 2019 at 10:44, dhanu msys <dhanuskd.palnati@gmail.com> wrote:
>> >
>> > Hi Remi,
>> >
>> > As i conveyed to you in earlier mail , we are able to boot the STM32F42xxx/F43xxx by flashing the .hex image file into the target through ST Link utility via USB.
>>
>> This is a Windows tool. Is there one available for Linux?
>>
>> milosz
>>
>> >
>> > Here I have attached the sequences of flashing the image on board & Board setup. PFA.
>> >
>> > Thanks & Regards,
>> > Dhanunjaya
>> >
>> >
>> >
>> > Dhanunjaya. P
>> >
>> >
>> > On Thu, Nov 28, 2019 at 7:17 PM Remi Duraffort <remi.duraffort@linaro.org> wrote:
>> >>
>> >> What kind of command do you run to flash over usb?
>> >>
>> >> Le jeu. 28 nov. 2019 à 13:26, dhanu msys <dhanuskd.palnati@gmail.com> a écrit :
>> >>>
>> >>> Hi Remi,
>> >>>
>> >>> We were flashing through USB otg cable.
>> >>>
>> >>> USB deploy method supported by lava right?
>> >>>
>> >>> Regards,
>> >>> Dhanunjaya
>> >>>
>> >>> On Thu, Nov 28, 2019, 17:52 Remi Duraffort <remi.duraffort@linaro.org> wrote:
>> >>>>
>> >>>> Hello,
>> >>>>
>> >>>> you should give more information if you want to have a proper answer.
>> >>>>
>> >>>> How do you flash the board? is it fully automatic?
>> >>>> Is this method already supported by LAVA?
>> >>>>
>> >>>>
>> >>>> Rgds
>> >>>>
>> >>>> Le jeu. 28 nov. 2019 à 07:48, dhanu msys <dhanuskd.palnati@gmail.com> a écrit :
>> >>>>>
>> >>>>> Hi Team,
>> >>>>>
>> >>>>> How can i deploy RTOS based Application Image on target.
>> >>>>>
>> >>>>> Notes :
>> >>>>> Target HW : STM32F429I-DISC1.
>> >>>>> RTOS : Open source RTOS
>> >>>>> Application Image (RTOS + Application specific code).
>> >>>>>
>> >>>>> We are able to flash the Developed Application Firmware (.out/.bin) through IAR IDE via USB, so we are in plan to make use of LAVA and run test applications automatically.
>> >>>>>
>> >>>>> So , Can you please provide some references to deploy this test scenarios in LAVA.
>> >>>>>
>> >>>>> Thanks & Regards,
>> >>>>> Dhanunjaya. P
>> >>>>> _______________________________________________
>> >>>>> Lava-users mailing list
>> >>>>> Lava-users@lists.lavasoftware.org
>> >>>>> https://lists.lavasoftware.org/mailman/listinfo/lava-users
>> >>>>
>> >>>>
>> >>>>
>> >>>> --
>> >>>> Rémi Duraffort
>> >>>> LAVA Architect
>> >>>> Linaro
>> >>
>> >>
>> >>
>> >> --
>> >> Rémi Duraffort
>> >> LAVA Architect
>> >> Linaro
>> >
>> > _______________________________________________
>> > Lava-users mailing list
>> > Lava-users@lists.lavasoftware.org
>> > https://lists.lavasoftware.org/mailman/listinfo/lava-users