This article explains how to boot a minimal Linux on the S32G using only QSPI Nor, for the most important purposes: emergency/upgrade/test mode for Linux, or fast booting
catalogs
1 Background and Information Note... 2
1.2 Description of the information required... 2
2 S32G QSPI Nor Mirror Layout Description... 3
2.1 S32G Linux BSP Support for QSPI Nor Boot... 3
2.2 S32G Yocto fsl-image-flash mechanism analysis... 5
2.3 Mirror Layout and Modification Targets for S32G QSPI Nor Boot... 7
3 Image modification and compilation... 8
3.1 Mirror image modification... 8
3.2 Yocto compilation methods... 10
3.3 Standalong compilation method... 11
4 How to shrink a Linux kernel image... 12
5 How to Make Minimum Rootfs. 12
5.1 Direct shrink based on existing rootfs... 12
7 How to add apps to Rootfs... 17
7.1 Adding methods to the Yocto environment... 17