2). Copy the padvoltage.dtsi and pinmux.dtsi files to the <l4t_top>/bootloader/generic/BCT/ directory and copy the gpio.dtsi file to the <l4t_top>/bootloader/ directory.
3).
Update or create a board .conf file to point to the new files (or overwrite the old .conf).
Put Jetson in recovery mode (power off, connect USB-C).
Flash Jetson using:
cd ~/jetson_bsp/Linux_for_Tegra
sudo ./flash.sh jetson-orin-nano-devkit mmcblk0p1
But stil at the end. My GPIO pin didn’t worked.
Tell me where I’m doing mistake?
*** Please note that this reply is generated by LLM automatically ***
Based on the provided context, it seems like you are trying to configure GPIO pins on a Jetson Orin Nano device. However, after following the steps you mentioned, the GPIO pin is not working as expected.
To help you identify the issue, let’s break down the steps you’ve taken:
You generated the pinmux.dtsi, gpiodtsi, and padvoltagedtsi files. These files are likely related to the device tree configuration, which defines the hardware components and their connections on the Jetson Orin Nano.
You copied the padvoltagedtsi and pinmux.dtsi files to a specific directory. This directory is likely where the device tree configuration files are stored.
You updated the file ( likely a configuration file) to point to the new pinmux.dtsi and padvoltagedtsi files or overwrote the old files.
However, after completing these steps and powering off the device, connecting it via USB-C, and rebooting, the GPIO pin is still not working.
Here are a few potential issues to consider:
Device tree compilation: After updating the device tree configuration files, you need to recompile the device tree. This step is crucial to ensure that the changes are applied to the device. You can use the dtc (Device Tree Compiler) tool to compile the device tree.
Kernel configuration: The GPIO pin configuration might be dependent on the kernel configuration. Ensure that the kernel is configured to support the GPIO pin you are trying to use. You can check the kernel configuration using the make menuconfig command.
Device tree overlay: If you are using a device tree overlay, ensure that it is correctly configured and applied. A device tree overlay is a way to modify the device tree configuration without recompiling the entire device tree.
GPIO pin configuration: Double-check that the GPIO pin is correctly configured in the device tree configuration files. Ensure that the pin is set as an output and that the correct voltage level is applied.
Power management: Some GPIO pins might be controlled by power management features, such as wake-up or reset signals. Ensure that the GPIO pin is not being controlled by these features.
To further troubleshoot the issue, you can try the following:
Check the kernel logs for any errors related to the GPIO pin configuration.
Use the gpio command-line tool to verify that the GPIO pin is correctly configured and exported.
Try using a different GPIO pin to rule out any issues with the specific pin you are trying to use.
If none of these suggestions help, please provide more information about your setup, including the device tree configuration files and the kernel version you are using. This will help me provide a more detailed and accurate solution to your problem.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
and at this loc→ <l4t_top>/bootloader/ I’m copying the gpio.dtsi file.
Then I opened the .conf file using this command→
gedit ~/nvidia/nvidia_sdk/JetPack_6.2.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/jetson-orin-nano-devkit.conf
made these changes-
PINMUX_CONFIG=bootloader/generic/BCT/pinmux.dtsi
PADVOL_CONFIG=bootloader/generic/BCT/padvoltage.dtsi
GPIO_CONFIG=bootloader/gpio.dtsi
Then flashed using this command→
cd ~/nvidia/nvidia_sdk/JetPack_6.2.1_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra
sudo ./flash.sh jetson-orin-nano-devkit mmcblk0p1
I just change these two→
PINMUX_CONFIG=bootloader/generic/BCT/pinmux.dtsi;
PMC_CONFIG=bootloader/generic/BCT/padvoltage.dtsi; @WayneWWW ?
please tell me where I’m doing mistake
I actually didn’t get what you try to indicate from the namings→
I did these changes:
Orin-jetson orin nano&nx pinmux dp-gpio-default.dtsi → gpio.dtsi
Orin-jetson orin nano&nx pinmux dp-padvoltage-default.dtsi → padvoltage.dtsi
Orin-jetson orin nano&nx pinmux dp-pinmux.dtsi→ pinmux.dtsi