NXP S32G RDB2 Linux BSP U-Boot Customization Training Guide

This document describes the Uboot details of the S32G RDB2 board Linux board development package BSP30 to help customers understand how the Uboot of S32G works and how to modify it to the customer's new board.


NXP S32G RDB2 Linux BSP U-Boot Customization Training Guide - cover page
Brand
NXP
Category
Other software
Document type
Programming Manual
Language
Chinese
Pages
95
File format
PDF
File size
3.4 MB
Published
11 November, 2023
Updated
11 November, 2023
MD5 checksum
5C703B83FDA0AA5F563023E064933593

About this manual

This CAS training document (Rev. 4, 9/2021) by John Li describes the U-Boot part of the Linux board support package BSP30 for the NXP S32G RDB2 board. It explains how the S32G U-Boot runs and how it can be modified for a customer's new board, using the default no-security U-Boot boot flow; the security ATF boot flow is covered in a separate document.

The guide first shows how to create the Yocto build environment on Ubuntu 18.04 and how to compile U-Boot standalone. It then covers FDT support, driver model support, the U-Boot directory structure, U-Boot compilation and initialization flow, the customization steps, and U-Boot debug messages. The author notes that the document is training and supporting material and is not a replacement for the official documentation. This manual is written in Chinese.

What's inside

  • S32G Linux documentation overview
  • Creating the Yocto build environment
  • Standalone U-Boot compilation
  • FDT support
  • Driver model (DM) support
  • U-Boot directory structure
  • U-Boot compilation
  • U-Boot initialization flow
  • U-Boot customization
  • U-Boot debug messages

Specifications

U-Boot version2020.04
U-Boot BSP tagbsp30.0-2020.04
Linux kernel version5.10.41
Supported machine configurationss32g274aevb, s32g274ardb, s32g274ardb2
Build host operating systemUbuntu 18.04
Cross compilerGCC 10.2.0 (aarch64-none-linux-gnu)
Free disk space needed for Yocto buildat least 50 GB

Frequently asked questions

Which machine targets can be selected when setting up the build?

The setup script currently supports s32g274aevb, s32g274ardb and s32g274ardb2; the document uses s32g274ardb2 as its example.

Which Ubuntu version does the S32G2 RDB2 Yocto build require?

The Yocto build environment requires an Ubuntu 18.04 build host, for example the ubuntu-18.04.5-desktop-amd64.iso image.

How much disk space and RAM does a Yocto build need?

It needs at least 50 GB of free space, and the recommended RAM size is 8 GB.

Which U-Boot version does the BSP30 build produce?

U-Boot 2020.04, output as u-boot.s32-qspi and u-boot.s32-sdcard.

Download PDF (3.4 MB)

More NXP Manuals


View all NXP manuals →