Re: Run rt specific test in "core-image-rt" #patch #yocto #qemu #dunfell #linux


Alexander Kanavin
 

You can simply open the recipe file for core-image-rt (in poky/meta)
to see what it does. The realtime-ness (of any image) is set by
setting PREFERRED_PROVIDER_virtual/kernel to the realtime flavour,
which you already did, and so core-image-full-cmdline will be just as
realtime as this one.

We do not have a lot of automated testing for the realtime behaviour,
as it is difficult to control in a qemu based virtual environment.
There's basically just poky/meta/lib/oeqa/runtime/cases/rt.py

If you want to check timings, etc. you will have to most likely put
the image on real hardware, and experiment with running tests and
utilities from command line. Then you can think of how to automate
them.

It would help if you describe your overall goal.

Alex

On Tue, 4 Oct 2022 at 21:21, Nikita Gupta <nikitagupta2509@...> wrote:

Hello Alexander

But core-image-full-cmdline is not going to give real time exposure, isn't it? The requirement is to make real time image so core-image-full-cmdline will satisfy the requirement?

And would i need to run test of rt-suit one-by one or there is something so i can run in one go? Can you refer me some documents in which I get all these information as I didn't find all these info in one document.

As I am new in this thing please guide me . Your guidance is highly appreciated.



On Tue, Oct 4, 2022, 18:31 Alexander Kanavin <alex.kanavin@...> wrote:

The log file seems truncated?

To enable the standard rt test, use

TEST_SUITES:append = ' rt'

as seen in https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json#n1138

and build core-image-full-cmdline. core-image-rt is not well tested
unfortunately.

Alex

On Sun, 2 Oct 2022 at 16:15, Nikita Gupta <nikitagupta2509@...> wrote:

Hello Alexander,

Please find log.do_rootfs file for the image.

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.