I am using S32G274 board ,i make custom yocto image for this board create meta-layer and wrote recipe, but when i flash (core-image-eea-s32g274avtpdcu.rootfs_mini.sdcard) image to board my change not shown on board ,can you please tell me which image i need to flash on board and the process of flashing the image.
Hi mayank
bitbake-layers create-layers meta-abhjeet
bitbake-layers add-layers meta-abhijeet (i try this but unable to add then I added manually)
bitbake-layers show-layers (my layer was showing)
then inside meta-abhijeet/recipes-example i create one folder server.
inside server i create server_0.1.bb file and files directory
inside files directory i wrote my code in .c file and add this .c file in server_0.1.bb file in SRC_URI = "file://ser.c"
and add "server" BPT-yocto_nxp-bsp_34_0/sources/meta-nxp-pdcu/recipes-core/images$ vim core-image-eea.bb
IMAGE_INSTALL += " server" like that, then (bitbake server) after that build bitbake core-image-eea.
then i flash mini_sdcard image to my board but it will not shown in /usr/bin.
but when i extract core-image-eea-s32g274avtpdcu.roots.tar.bz2 file in my pc
it will show the "ser" in usr/bin
i thought in mini-sdcard not show the full feature
Hi @abhijeet1,
Can you please try to flash the full image which will be generated recently?
Also, try the following command to build:
bitbake -f -c cleansstate core-image-eea;bitbake core-image-eea -c cleanall;bitbake core-image-eea
The command will clear the already updated image and re-create a new image.
I think that the ROOTFS is updating but the .sdcard image is not updating again.
Thanks,
Mayank s Patel
Hi mayank
full image means? , Today i tried bitbake -f -c cleansstate core-image-eea;bitbake core-image-eea -c cleanall;bitbake core-image-eea these command and then flash mini.sdcard image but still my changes are not reflected on board.
Thank you
Abhijeet Mourya
Hi @abhijeet1,
Can you share your image with me?
Also, Please share the screenshot of your folder "tmp/deploy/images/s32g274ardb2".
Thanks,
Mayank s Patel
Hi @abhijeet1,
Why you are using "core-image-eea-s32g274avtpdcu.rootfs_mini.sdcard" image? Is there any specific use case for using this image?
Generally, "core-image-eea-s32g274avtpdcu.rootfs.sdcard" image should be used. Please try flashing this image and check your recipe is included in the build or not.
Thanks,
Mayank s Patel
Hi ,mayank
i flashed core-image-eea-s32g274avtpdcu.rootfs.sdcard and now my recipe is included in the build .
Thank you for your support.
Hi @abhijeet1,
How did you create the meta-layer and recipe in the yocto build? Please share the steps here.
I suspect that the meta-layer is not included in the build.
Also, you can follow the information available online for creating meta-layer and recipes using standard methods.
Hope this helps.
Thanks,
Mayank s Patel