Install my own b2qt via easy Installer

Hello everyone (again)

I have some issues with toradex easy installer and yocto images.
I managed to build my own b2qt images with yocto following this tutorial

https://doc.qt.io/QtForDeviceCreation/qtee-custom-embedded-linux-image.html

Everything seems to work fine but I now encounter some problems when installing my image with toradex easy installer.

  1. easy installer seems to only work with SD card and not USB flash drive (I tested it with b2qt demo image)
  2. I don’t understand what files need to be on the sd card to make it possible to install my image via easy installer

So is there some documentation on the YOCTO website or Qt website? I searched for hours and I am still stuck at this point.

Edit: here are all the files that are in my build directory link text

Thanks for your answers

Hi @Romain.Donze

It could be that your USB stick is formatted in a way that is not supported by Linux (e.g. exfat). Please use fat32 then it should also detect the image on the USB stick.

You are almost there with your build. You just have to extract “b2qt-embedded-qt5-image-colibri-imx6.tezi.tar” to your SD card or USB stick. Something like:

tar -xf <image name>.tezi.tar -C <SD Card/Where to unpack>

Then Toradex Easy Installer should find it. I hope this helps.

Regards,
Stefan

Thank you for your answer

I managed to solve my USB problem by looking at the carrier board documentation. The usb typ-a connector share ressources with the micro-usb next to it (I am using aster carrier board) so I just had to unplug the micro usb.

I also managed to install my image with your explanation

I will now try to change some settings like varenv or add a boot.scr. but I don’t really know how to do it and then recompile the image

hey @stefan_e.tx

I am sorry to insist but could you help me with some trouble that I have using YOCTO and understand how all of this environnement works

As I said before I am able to build and flash an image with an SD card via easy instaler. But since we are planning to develop our own carrier board with some extra interfaces, I would like to understand how I can edit my image to add for instance support for touchscreen.

It is said here that we can patch the device tree to add support for capacitive touchscreen

https://developer.toradex.com/knowledge-base/first-steps-with-capacitive-touch-display-7-inch-parallel

But I can’t find anywhere some tutorial that explain how to do it with yocto.

In my dream it would be as simple as one line, like “patch device tree”

Then I would need to rebuild my image and reflash it with my SD card via easy installer.

I hope that you understand my problems and can help me with that.

Romain

Hi @Romain.Donze

I am sorry to insist but could you help me with some trouble that I have using YOCTO and understand how all of this environnement works

What exactly is your issue?

As I said before I am able to build and flash an image with an SD card via easy instaler. But since we are planning to develop our own carrier board with some extra interfaces, I would like to understand how I can edit my image to add for instance support for touchscreen.

There are different ways, either you can take a regular Bsp and just change the U-Boot variable by editing the uEnv.txt or write a Yocto Patch to do this during the bitbake build.

But I can’t find anywhere some tutorial that explain how to do it with yocto.
In my dream it would be as simple as one line, like “patch device tree”

It is not that easy to do but also not difficult. Actually I would suggest you to create your own layer with your customer device-tree and include this in your custom image build.

Best regards,
Jaski

What exactly is your issue?

I created a new topic explaining more in detail what my problems are since my first question has already been answered by @stefan_e.tx

https://www.toradex.com/community/questions/46951/how-to-patch-device-tree-yocto.html

HI @Romain.Donze

Thanks for your feedback.

Best regards,
Jaski