I don’t know. This is card specific. Only the vendor would know. You can try both pull up and pull down case.
Thank you for your suggestions
Now I am configuring GPIO
and then
cat /sys/kernel/debug/gpio
gpio-316 (PAA.00 )
gpio-317 (PAA.01 )
gpio-318 (PAA.02 )
gpio-319 (PAA.03 |sysfs ) in lo
gpio-320 (PAA.04 )
gpio-321 (PAA.05 |fixed-regulators:reg) out hi
gpio-322 (PAA.06 )
gpio-323 (PAA.07 )
gpio-324 (PBB.00 )
gpio-325 (PBB.01 )
gpio-326 (PBB.02 )
gpio-327 (PBB.03 )
gpio-328 (PCC.00 )
gpio-329 (PCC.01 )
gpio-330 (PCC.02 )
gpio-331 (PCC.03 |mux ) out hi
gpio-332 (PCC.04 )
gpio-333 (PCC.05 )
gpio-334 (PCC.06 )
gpio-335 (PCC.07 )
gpio-336 (PDD.00 )
gpio-337 (PDD.01 )
gpio-338 (PDD.02 )
gpio-339 (PEE.00 )
gpio-340 (PEE.01 )
gpio-341 (PEE.02 )
gpio-342 (PEE.03 )
gpio-343 (PEE.04 |power-key ) in hi IRQ ACTIVE LOW
gpio-344 (PEE.05 )
gpio-345 (PEE.06 )
gpio-346 (PEE.07 )
gpio-347 (PGG.00 )
gpiochip0: GPIOs 348-511, parent: platform/2200000.gpio, tegra234-gpio:
gpio-348 (PA.00 |fixed-regulators:reg) out lo
Nothing display the gpio-330 (PCC.02)
Can I modefy the gpio configuration?
You can use /sys/class/gpio to control the GPIO and unbind/bind the pcie driver again to see the result.
I am trying to make some modifications
Can you tell me where to add w-disable1 configuration
I did’t find dts to add it
/home/xuxu/Linux_for_Tegra/source/public/hardware/nvidia/platform/t23x/p3768/kernel-dts
thank you very much.
Hi,wayne
Can I pull up the PCIe RST with busybox?
Suggest to unbind and bind the driver and it will toggle the RST#.
cd /sys/bus/platform/drivers/tegra194-pcie
echo 14160000.pcie > unbind
echo 14160000.pcie > bind
Modify 14160000 to match the controller you are using.
Thanks
I have tried,but it did not work,can I modify the dtsi?
Also,I find except for 141e00000, the others have reset
/sys/devices/platform/140a0000.pcie/pci0008:00/0008:00:00.0/0008:01:00.0/reset
/sys/devices/platform/14100000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/reset
/sys/devices/platform/14160000.pcie/pci0004:00/0004:00:00.0/0004:01:00.0/reset
I don’t think this is related to DTS.
The reset is under the device. Not pcie controller.
You can see that the reset is under “xxxx:01:00.0” but not “xxxx:00:00.0”.
Yes, this is my mistake.
but when we measure the RST,it output low
The RST will only be toggled for a while right after the driver is bind and unbind. If it does not link up, then it will be low again.
yes,we test it after the pcie-driver is bind and unbind,it is all low
Then pinmux setting seems still wrong. Are you sure your file get flashed to the board correctly?
Orin-jetson_orin_hdmia03_0109-pinmux -1.dtsi.txt (65.8 KB)
This is my setting,
And I use ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 jetson-orin-nano-devkit internal to flash
I tink pex_l7_clkreq_n_pag0 and pex_l7_rst_n_pag1 may like pex_l1_*,shoud I modify my configuration?
Orin-jetson_orin_hdmia03_0109-pinmux -1.dtsi.txt (65.8 KB)
This is my setting,
And I use ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 jetson-orin-nano-devkit internal to flash
這個回覆沒有回到重點.
我是請你對照你燒錄的log確認說你這個"Orin-jetson_orin_hdmia03_0109-pinmux -1.dtsi.txt" 有沒有被燒進去.
你給我pinmux dts跟flash command沒有幫助.我這裡看不到你flash時候的過程
抱歉,以下是我的dmesg和燒錄log
dmesg.txt (74.7 KB)
flash_log.txt (49.8 KB)
我換個問法問好了, 你的"Orin-jetson_orin_hdmia03_0109-pinmux -1.dtsi.txt" 怎麼變成要燒進去的檔案的?
你有改檔名? 還是你有改board config? 還是你不知道我的問題在問什麼?
我修改了/Linux_for_Tegra下的jetson-orin-nano-devkit.conf然後進行燒錄,
jetson-orin-nano-devkit.conf.txt (4.2 KB)
其中修改了
PINMUX_CONFIG=“Orin-jetson_orin_hdmia03_0109-pinmux.dtsi”;
PMC_CONFIG=“Orin-jetson_orin_hdmia03_0109-padvoltage-default.dtsi”;
其他的沒做變動