We designed a custom board for AGX Orin 64GB(p3701-0005), using UPHY2 Lane(RX2/TX2, RX3/TX3) connect to 88SE9170 as a PCIe to SATA bridge. we have done:
Downloaded pinmux table and change the usage of UPHY2 Lane(RX2/TX2, RX3/TX3)
Generarted pinmux.dtsi and gpio.dtsi, renamed these two files: tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi, tegra234-mb1-bct-gpio-p3701-0000-a04dtsi, replaced gpio file in /…/Linux_for_Tegra/bootloader and pinmux file in /…/Linux_for_Tegra/bootloader/t186ref/BCT/.
Changed ODMDATA in p3701.conf.common located on /…/Linux_for_Tegra/ ODMDATA=“gbe-uphy-config-22,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-0,gbe0-enable-10g”;
Maked .dtb and copied tegra234-p3701-0005-p3737-0000.dtb and tegra234-p3701-0000-p3737-0000.dtb from /…/kernel_output/arch/arm64/boot/dts/nvidia/ to /…/Linux_for_Tegra/kernel/dtb/
Burning successfully with sudo ./flash.sh -r jetson-agx-orin-devkit intenal, but can not find any PCI bridge and SATA controller.
I donot know what’s wrong with above steps and what shall I do.
Thanks a lot! dtsi.zip (6.5 KB)
Thank you for your reply! I deleted /boot/dtb/kernel-tegra234-p3701-0005-p3737-0000.dtb, and remove FDT in /boot/extlinux/extlinux.conf, it can successfully detect SATA controller by RX2/TX2, but RX3/TX3 still failure. and when I reboot, sometimes it can not detect any SATA controller, sometimes is OK to detect SATA controller by RX2/TX2. I don’t know why, anyway I will attach dmesg.
Another question for pinmux table, when I only confige RX2/TX2, or confige both RX2/TX2 and RX3/TX3, the pinmux.dtsi generated is all same, is it the right case?
it can successfully detect SATA controller by RX2/TX2, but RX3/TX3 still failure.
請問你是用什麼依據得出這個結論的…?
Another question for pinmux table, when I only confige RX2/TX2, or confige both RX2/TX2 and RX3/TX3, the pinmux.dtsi generated is all same, is it the right case?