On 28/11/2022 20:08, Panayot Daskalov wrote:
Hi Mathias,
Thank you for the reply.
My company is building a product that uses QSMP-1570 module from KaRo
Electronics (https://www.karo-electronics.com/qsmp) and the modules itself is
based on STM32MP1 processor from ST. They have application software that works
on standard openSUSE 15.3 distro and Intel based board. They now want to build
similar product based on the QSMP-1570 module and prefer to use openSUSE again
so that the application does not need to get ported to a new Linux distro. The
module itself comes with full Linux support using Yocto. My task now is to
research the feasibility of spending the time to port openSUSE to the
QSMP-1570 module.
I have experience with Yocto/openEmbedded and embedded Linux, but have never
used and build openSUSE before. Where should I start looking? What's your
opinion - how hard would it be to make openSUSE work on this board?
I'd advise you to start looking into any not-yet upstream patches in the
kernel or U-Boot that would be needed. I hope there won't be any but who
knows. I suppose using the Yocto recipes that will be easy to find out.
OK, clear on that. Will do.
After that you will need to have to find out how the boot works. Will U-Boot
be part of the SD card image or will it be flashed in some SPI-Flash or
something similar. Do you need to get any specific binary FW on the SD card to
boot? Do you need to 'dd' U-boot a on specific offset on the SD card?
OK, clear on that too. I'm waiting for an EVK of the module, then will get
access to the additional docs and will be able to flash and test the whole thing.
Once you have an overview of that, we can start to have a look if we are
missing any kernel config options. And in parallel set up a kiwi image to
create a openSUSE Tumbleweed JeOS image (as a start).
Any advice on where would be the best place to start learning the openSUSE build
basics and setting that up?
I'm not sure what you mean. Ar you familiar with OBS? If not you might want to
have a look at [1] first.
For the creation of a JeOS image you can branch the following package:
https://build.opensuse.org/package/show/openSUSE:Factory:ARM/JeOS
There are a lot of files in there, but they get created from the *.in files, so
only edit them if you want to enable your platform.
You would also need to add it to _multibuild and probably disable other images
as you don't want to wait on all the image to be build. You can also have a look
at config.sh
I suppose that all. I'm not aware that we have that documented somewhere in the
wiki, so feel free to contribute to that with your findings.
Matthias
[1] https://openbuildservice.org/help/
Thanks.
Best regards,
Panayot