How to fix "Failed to extract /boot/tegra194-p3668-all-p3509-0000-hdr40.dtbo to | | jetson-io-overlay.dts!"

Hi,
I enabled the 3 pins with pwm function by using " sudo /opt/nvidia/jetson-io/jetson-io.py", and then might export to something like overlay choice. Once I rerun jetson-io.py, the following error occurred:
Failed to extract /boot/tegra194-p3668-all-p3509-0000-hdr40.dtbo to | | jetson-io-overlay.dts!

Could you help me fix this error? Thanks.
(Jetson Xavier NX 16GB)

hello Shepherd-Simple,

what three pins you’re used for testing?
had you try to update pinmux configurations to config them as PWMs?

pwm1(pin33) pwm4(15) and pwm8(32)

And I also tried on another Xavier NX module, after I save pin changes with jetson-io.py, fatal error occurred. Then jetson-io.py cannot work anymore and crash in splash screen.

I only config the three pwm pins by sudo jetson-io.py

  1. sudo /opt/nvidia/jetson-io/jetson-io.py
  2. Configure Jetson 40pin Header
  3. Configure header pins manually
  4. Choose pwm1 pwm4 pwm8
  5. Save pin changes and reboot

Did I miss any operations?

we would like to check this locally, please also check $ cat /etc/nv_tegra_release for your L4T release version.

R32 (release), REVISION: 7.2, GCID: 30192233
BOARD: t186ref EABI: aarch64, DATE: Sun Apr17 09:53:50 UTC 2022

hello Shepherd-Simple,

is this a developer kit? we cannot reproduce this issue locally.

Hello, JerryChang

We use customized baseboard.

hello Shepherd-Simple,

this Jetson-IO is a python script that runs on a Jetson developer kit.
please check Jetson Xavier NX Series Adaptation and Bring-Up since you’re using a customize board.

Hello, JerryChang

Could you please provide the busybox cmd to set pin 15 (GPIO12) as PWM similar to the following?

# Set BOARD pin 32 as mux function PWM (func 1):
# busybox devmem 0x2430040 32 0x401
# Set BOARD pin 33 as mux function PWM (func 2):
# busybox devmem 0x2440020 32 0x402

hello Shepherd-Simple,

GPIO12 this pin is by default configure as GPIO3_PCC.04, so, you need to have pinmux configuration to toggle the customer usage to update this pin as PWM.

Thanks, JerryChang
May I ask why GPIO07 is also by default configured as GPIO3_PR.00, but can be set by using busybox devmem 0x2430040 32 0x401?
Moreover, could you please provide detailed steps for configuring pinmux?

please refer to developer guide, Pinmux Changes.

Hello, May I ask why GPIO07 is also by default configured as GPIO3_PR.00 , but can be set by using busybox devmem 0x2430040 32 0x401 ?

hello Shepherd-Simple,

maybe you toggle the pin wrong address? please check pinmux cfg for pin define address.

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