I'm using the ubuntu image in BSP34 for S32G2. For some reason, I need swap support enabled in the kernel.
To achieve this, I've followed the description in BSP34 User Manual (Section 3.1.7.2.2 Invoke menuconfig to set up a specific configuration for Linux) which includes
- Changing relevant setting via menuconfig
- rebuilding the kernel (bitbake -c compile -f virtual/kernel)
- deploying the image (bitbake virtual/kernel)
Now, I see the resulting image files in the deploy folder:
/fsl-auto-yocto-bsp_34/build_s32g274ardb2ubuntu/tmp/deploy/images/s32g274ardb2
It's called Image--5.10.120-r0-s32g274ardb2-20221109100710.bin and has fresh date.
Now I don't know how to continue as I always took resulting .sdcard file only and wrote it on my sdcard.
I've no clue what to do with the mentioned bin file.
What's the process? Calling bitbake fsl-image-ubuntu-base once again? Building somehow the .sdcard file again? Flashing multiple files on my sdcard?
Hello,
BSP 34 is on alpha stage since its no official release, is probably that you don't get the image, but in normal scenario you have to burn the sdcard with dd and the file should be *.wiz
The oficial BSP is at:
https://www.nxp.com/app-autopackagemgr/software-package-manager:AUTO-SW-PACKAGE-MANAGER#
Regards
BSP 34 is on alpha stage since its no official release, is probably that you don't get the image, but in normal scenario you have to burn the sdcard with dd and the file should be *.wiz
I've redone the same steps on BSP30:
foo@bar:~/fsl-auto-yocto-bsp$ source nxp-setup-alb.sh -m s32g274ardb2ubuntu
...
foo@bar:~/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu$ bitbake virtual/kernel -c menuconfig
...
foo@bar:~/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu$ bitbake -c compile -f virtual/kernel
foo@bar:~/fsl-auto-yocto-bsp/build_s32g274ardb2ubuntu$ bitbake virtual/kernel
Thanks. Then, I'll stick to BSP33.
Anyway, I'm not sure about the correct workflow in changing the kernel.
As of now, I was always building whole sdcard image and flash it from windows via Win32DiskImager to SDCard.
Is there a way to update the kernel of my running system (while keeping all changes on the sdcard)?
Hello,
No, if you have to burn the complete SDcard, it need erase completely.
regards