# meta-alb **Repository Path**: float996/meta-alb ## Basic Information - **Project Name**: meta-alb - **Description**: for s32g2 yocto linux compile. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: release/bsp37.0-4.0 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-31 - **Last Updated**: 2025-04-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README OpenEmbedded/Yocto BSP layer for NXP Auto Linux BSP platforms ============================================================= First time setup ---------------- To install all prerequisites before starting any build, run: $ ./scripts/host-prepare.sh Creating Build Directories and Testing the Installation ------------------------------------------------------- You can create a build directory in the BSP root with command: $ . nxp-setup-alb.sh -m where can be any of the following NXP targets: s32g274ardb2, s32g274aevb, etc. When this is done, run command: $ bitbake where is any of the images fsl-image-base, fsl-image-auto, or any of the images that the setup script reports as being available for the selected machine. This will completely build u-boot, kernel, modules, and a rootfs ready to be deployed. Look for a build result in `build_/tmp/deploy/images/`. The file `.sdcard` is a disk image with all necessary partitions and contains the bootloader, kernel and rootfs. You can just low-level copy the data on this file to the SD card device using dd as on the following command example: $ sudo dd if=.sdcard of=/dev/sd bs=1M && sync To deploy only the rootfs to the target partition, run: $ sudo tar -xzf .tar.gz -C where is the destination partition (as mounted on the host).