Comment 4 for bug 2004495

Revision history for this message
Isaac True (itrue) wrote : Re: Add support for the NXP S32G274A-RDB2 board

Hi Loïc,

Yes I've tested the version in the debdiff (3.106ubuntu9) on the target device (NXP S32G274A-RDB2 reference board aka S32G-VNP-RDB2: https://www.nxp.com/design/designs/s32g2-vehicle-networking-reference-design:S32G-VNP-RDB2) running 22.04.

Here's the output of the test:

ubuntu@ubuntu:~$ sudo flash-kernel $(uname -r)
Using DTB: s32g274a-rdb2.dtb
Installing /lib/firmware/5.15.0-59.65-bsp35.0-ppa14-nxp-s32/device-tree/freescale/s32g274a-rdb2.dtb into /boot/dtbs/5.15.0-59.65-bsp35.0-ppa14-nxp-s32/./s32g274a-rdb2.dtb
Taking backup of s32g274a-rdb2.dtb.
Installing new s32g274a-rdb2.dtb.
Installing /lib/firmware/5.15.0-59.65-bsp35.0-ppa14-nxp-s32/device-tree/freescale/s32g274a-rdb2.dtb into /boot/dtbs/5.15.0-59.65-bsp35.0-ppa14-nxp-s32/./s32g274a-rdb2.dtb
Taking backup of s32g274a-rdb2.dtb.
Installing new s32g274a-rdb2.dtb.
flash-kernel: installing version 5.15.0-59.65-bsp35.0-ppa14-nxp-s32
Generating u-boot image... done.
Taking backup of fitImage.
Installing new fitImage.

ubuntu@ubuntu:~$ sudo dumpimage -l /boot/firmware/fitImage
FIT description: Ubuntu kernel, ramdisk and FDT blobs for the NXP S32 family
Created: Thu Feb 2 14:52:24 2023
 Image 0 (kernel-1)
  Description: Ubuntu kernel
  Created: Thu Feb 2 14:52:24 2023
  Type: Kernel Image
  Compression: uncompressed
  Data Size: 46402048 Bytes = 45314.50 KiB = 44.25 MiB
  Architecture: AArch64
  OS: Linux
  Load Address: 0x80000000
  Entry Point: 0x80000000
  Hash algo: sha256
  Hash value: 96221c7b0ffdc2f429206ab7d27c3128b2d663462719990aabe94e1023b249de
 Image 1 (ramdisk-1)
  Description: Ubuntu ramdisk
  Created: Thu Feb 2 14:52:24 2023
  Type: RAMDisk Image
  Compression: uncompressed
  Data Size: 28992936 Bytes = 28313.41 KiB = 27.65 MiB
  Architecture: AArch64
  OS: Linux
  Load Address: 0x90000000
  Entry Point: unavailable
  Hash algo: sha256
  Hash value: 8d9415d0f6dac9bc5e24a6c3f44577331c8458e40929499df883a46a27367a35
 Image 2 (fdt-1)
  Description: NXP S32
  Created: Thu Feb 2 14:52:24 2023
  Type: Flat Device Tree
  Compression: uncompressed
  Data Size: 45491 Bytes = 44.42 KiB = 0.04 MiB
  Architecture: AArch64
  Load Address: 0x83000000
  Hash algo: sha256
  Hash value: 5501381d695ef799be36d9144cb35f8e2eb65842c77b5206ff471d09f800142c
 Default Configuration: 'nxp-s32'
 Configuration 0 (nxp-s32)
  Description: NXP S32
  Kernel: kernel-1
  Init Ramdisk: ramdisk-1
  FDT: fdt-1

The board successfully boots using the new fitImage file.