[Bug 2004495] Re: Add support for the NXP S32G274A-RDB2 board
Isaac True
2004495 at bugs.launchpad.net
Thu Feb 2 14:53:34 UTC 2023
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 at 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 at 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.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2004495
Title:
Add support for the NXP S32G274A-RDB2 board
Status in flash-kernel package in Ubuntu:
Triaged
Bug description:
I've created a debdiff which adds support for the NXP S32G274A-RDB2
reference board for the S32G2 SoC. The added fit image template
(its/arm64/image-nxp-s32.its) can also be used for other boards in the
S32 family, which may be added in the future.
This is a development board for NXP's automotive platform with a
specific and custom BSP (https://github.com/nxp-auto-linux/). The
device tree and support for the board is not (yet) in the mainline
kernel, and the board is not supported by upstream U-Boot. In order to
achieve the best compatibility with the custom U-Boot implementation
required to boot this board, this patch instructs flash-kernel to only
generate the fit image and place it in /boot/firmware/fitImage,
without generating a boot script.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2004495/+subscriptions
More information about the Ubuntu-sponsors
mailing list