Hello, I’m beginning to yocto and I need some advice to several customizations that I need to do to an embedded Linux environment for Apalis TK1. We are migrating from a raspberry pi environment and the team is used to a Debian base image, with package management and a big set of packages.
This is what I need to do, for that I plan to create a custom meta-layer:
- Have a Linux console with some sw dependencies: For that I started to make a image recipe that extends the toradex console-tdx-image and uses IMAGE_INSTALL to add more packages. For now it builds but I see no outputs in the deploy folder. It would be good having a package manager and with a repository of packages. There is also some packages that are not available as bb recipes;
- Modify some kernel sources: I need to edit one driver to meet our custom requirements, I also need to add a new driver developed here. I don’t know how to do this yet, so if you have suggestions I appreciate them;
- Customise filesystem: I need to do some linux administration, for example create a new user, disable root log in, add custom startup scripts and also include our app there.
The last question is about flashing Apalis TK1 for now I’m using toradex easy installer with the TEZI image build by yocto. However it take some time to interrupt u-boot, enter rcm mode, flash the easy installer and then flash the final image. There is another way to directly flash the TK1 memory to be quicker, like in a production environment?
As I do know yocto very well yet I’am asking here in the hope that more experienced people can point me to the right way to do each required task.
Thanks in advance.