@DaneLLL
Hi DaneLLL,
I am using TX2 with custom carry board.
I try to use ODMDATA = 0x07090000; ,for my custom carry board has three USB3 and no PCIe.
But it seem the ODMDATA dont modify anything.
After i modify ODMDATA = 0x07090000; and the readout lane0…4 belong to as follow:
nvidia@tegra-ubuntu:~$ sudo devmem2 0x02520284 b
[sudo] password for nvidia:
/dev/mem opened.
Memory mapped at address 0x7fa6b04000.
Value at address 0x2520284 (0x7fa6b04284): 0x0
nvidia@tegra-ubuntu:~$ sudo devmem2 0x02530284 b
/dev/mem opened.
Memory mapped at address 0x7f81c23000.
Value at address 0x2530284 (0x7f81c23284): 0x1
nvidia@tegra-ubuntu:~$ sudo devmem2 0x02540284 b
/dev/mem opened.
Memory mapped at address 0x7fb1dbe000.
Value at address 0x2540284 (0x7fb1dbe284): 0x1
nvidia@tegra-ubuntu:~$ sudo devmem2 0x02550284 b
/dev/mem opened.
Memory mapped at address 0x7f9c077000.
Value at address 0x2550284 (0x7f9c077284): 0x1
nvidia@tegra-ubuntu:~$ sudo devmem2 0x02560284 b
/dev/mem opened.
Memory mapped at address 0x7f8a79e000.
Value at address 0x2560284 (0x7f8a79e284): 0x1
I change ODMDATA to 0x06090000 or 0x07090000 in p2771-0000.conf.common file
process_board_version()
{
local board_id="${1}";
local board_version="${2}";
local bdv=${board_version^^};
local bid=${board_id^^};
local uboot_build=500;
local fromfab="-a00";
local tofab="-c03"; # default = C03
local pmicfab="-c00"; # default = C00
local bpfdtbfab="-c00"; # default = C00
local tbcdtbfab="-c03"; # default = C03
local kerndtbfab="-c03"; # default = C03
ODMDATA=0x6090000; # default = C0X
#
# Board version is Alpah-Numeric value.
#
then flash kernel as
sudo ./flash.sh -r -k kernel jetson-tx2 mmcblk0p1
i have modify a00-base.dtsi as
xhci@3530000 {
status = "okay";
phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>,
<&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(1)>,
<&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(2)>,
<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>,
<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(1)>,
<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(2)>;
phy-names = "utmi-0", "utmi-1", "utmi-2", "usb3-0", "usb3-1","usb3-2";
nvidia,boost_cpu_freq = <800>;
};
pinctrl@3520000 {
status = "okay";
pinctrl-0 = <&tegra_xusb_padctl_pinmux_default>;
pinctrl-names = "default";
tegra_xusb_padctl_pinmux_default: pinmux {
/* Quill does not support usb3-micro AB */
usb2-expender-A {
nvidia,lanes = "otg-0";
nvidia,function = "xusb";
nvidia,port-cap = <TEGRA_PADCTL_PORT_OTG_CAP>;
status = "okay";
};
tusb8041-usb2 {
nvidia,lanes = "otg-1";
nvidia,function = "xusb";
nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
status = "okay";
};
tusb8041-usb3 {
nvidia,lanes = "usb3-1";
nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
status = "okay";
};
usb2-std-A-key {
nvidia,lanes = "otg-2";
nvidia,function = "xusb";
nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
status = "okay";
};
rt8153-1-usb3 {
nvidia,lanes = "usb3-0";
nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
status = "okay";
};
rt8153-2-usb3 {
nvidia,lanes = "usb3-2";
nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
status = "okay";
};
};
};