Chip ID of JP5.0.2


Is there a way to check chip id of AGX with Jetpack 5.0.2?

/sys/module/tegra_fuse_parameters/tegra_chip_id of Jetpack 4.6 deos show chip id.

We need the chip id for production using.

Thank you,

hello HuiW,

is this what you’re looking for, i.e. $ cat /sys/firmware/devicetree/base/chosen/ids

Hi JerryChang,

Thank you for your prompt support.
We actully is looking for a ID as the following.
For example : AGX Xavier ID is 0x19

TEGRA210 – 0x21
TEGRA186 – 0x18
TEGRA194 – 0x19
TEGRA234 – 0x23

However, if JP5 does not provide the ID anymore, we will try the data you provided.
We do still expect the id of tegra_chip_id, if you have it.

Thank you,

hello HuiW,

actually, it’s present in the very beginning of kernel logs.
for example,

$ sudo dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x4e0f0040]
[    0.000000] Linux version 5.10.104-tegra (buildbrain@mobile-u64-5240-d7000) (aarch64-buildroot-linux-gnu-gcc.br_real
(Buildroot 2020.08) 9.3.0, GNU ld (GNU Binutils) 2.33.1) #1 SMP PREEMPT Sun Sep 18 20:15:57 PDT 2022
[    0.000000] Machine model: Jetson-AGX

Hi JerryChang,

Thank you for your prompt support.
It helps.

Thank you,

hello HuiW,

it’s kernel side check device tree nodes and report the machine model.
you may check the sysfs directly instead of checking kernel logs.
for example,

# cat /sys/firmware/devicetree/base/model

here’s also compatible node to show complete device info, you’ll also see device-id here.
for example,

# cat /sys/firmware/devicetree/base/compatible

You may also try:

cat /sys/devices/soc0/soc_id

# or if you want the hex format:
SOC_ID=`printf "0x%x\n" $(cat /sys/devices/soc0/soc_id)`
echo $SOC_ID

# or
cat /sys/devices/soc1/soc_id | cut -d':' -f3
1 Like

Hi JerryChang and Honey_Patouceul,

Thank you for your support.
The information you provided works.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.