PCIe serial card problem

Hi everyone
We are using tx1 jetpack3.2.1.
We have a netmos9904 pcie serial card, the card has four serial ports.
In the kernel we found the drivers/tty/serial/8250/8250_pci.c file is the dirver for it.
We change the CONFIG_SERIAL_8250_NR_UARTS and CONFIG_SERIAL_8250_RUNTIME_UARTS from 4 to 10.
After the kernel bootup, we try to write to the /dev/ttyS1 but got “Input/output error”

  Could anyone give us some ideas to debug this, thanks a lot!

we use cat /proc/tty/driver/serial the information as bellow:

root@tegra-ubuntu:/home/nvidia# cat /proc/tty/driver/serial 
serinfo:1.0 driver revision:
0: uart:Tegra mmio:0x70006000 irq:320 tx:163151 rx:953 RTS|CTS|DTR|RI
1: uart:unknown port:00001000 irq:368
2: uart:unknown port:00001008 irq:368
3: uart:unknown port:00001010 irq:368
4: uart:unknown port:00001018 irq:368
5: uart:unknown port:00000000 irq:0
6: uart:unknown port:00000000 irq:0
7: uart:unknown port:00000000 irq:0
8: uart:unknown port:00000000 irq:0
9: uart:unknown port:00000000 irq:0

setserial -g /dev/ttyS* show as shown below

nvidia@tegra-ubuntu:~$ setserial -g /dev/ttyS*
/dev/ttyS0, UART: undefined, Port: 0x0000, IRQ: 320
/dev/ttyS1, UART: unknown, Port: 0x1000, IRQ: 368
/dev/ttyS2, UART: unknown, Port: 0x1008, IRQ: 368
/dev/ttyS3, UART: unknown, Port: 0x1010, IRQ: 368
/dev/ttyS4, UART: unknown, Port: 0x1018, IRQ: 368
/dev/ttyS5, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS8, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS9, UART: unknown, Port: 0x0000, IRQ: 0

here is is the kernel dmesg info

[code]
nvidia@tegra-ubuntu:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.38 (ubuntu@ubuntu) (gcc version 4.8.5 (GCC) ) #35 SMP PREEMPT Mon Jun 17 02:21:16 PDT 2019
[ 0.000000] Boot CPU: AArch64 Processor [411fd071]
[ 0.000000] Reserved memory: initialized node iram-carveout, compatible id nvidia,iram-carveout
[ 0.000000] Reserved memory: initialized node ramoops_carveout, compatible id nvidia,ramoops
[ 0.000000] cma: Reserved 16 MiB at 0x00000000fdc00000
[ 0.000000] On node 0 totalpages: 1043456
[ 0.000000] DMA zone: 8192 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 519168 pages, LIFO batch:31
[ 0.000000] Normal zone: 8192 pages used for memmap
[ 0.000000] Normal zone: 524288 pages, LIFO batch:31
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] PERCPU: Embedded 17 pages/cpu @ffffffc0ffe10000 s31616 r8192 d29824 u69632
[ 0.000000] pcpu-alloc: s31616 r8192 d29824 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] CPU features: enabling workaround for ARM erratum 832075
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1027072
[ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 OS=l4t fbcon=map:0 net.ifnames=0 androidboot.modem=none androidboot.serialno=04219180686770008205 androidboot.security=non-secure tegraid=21.1.2.0.0 ddr_die=2048M@2048M ddr_die=2048M@4096M section=256M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 debug_uartport=lsport,0 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff2bf000 nvdumper_reserved=0xff23f000 core_edp_mv=1125 core_edp_ma=4000 gpt root=/dev/mmcblk0p1 rw rootwait
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Memory: 4061644K/4173824K available (10997K kernel code, 2075K rwdata, 6428K rodata, 1208K init, 666K bss, 95796K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000 ( 246 GB)
vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum)
0xffffffbdc2000000 - 0xffffffbdc6000000 ( 64 MB actual)
fixed : 0xffffffbffa7fd000 - 0xffffffbffac00000 ( 4108 KB)
PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000 ( 16 MB)
modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
memory : 0xffffffc000000000 - 0xffffffc100000000 ( 4096 MB)
.init : 0xffffffc001185000 - 0xffffffc0012b3000 ( 1208 KB)
.text : 0xffffffc000080000 - 0xffffffc001184d74 ( 17428 KB)
.data : 0xffffffc0012ce000 - 0xffffffc0014d4c50 ( 2076 KB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] /interrupt-controller@60004000: 192 interrupts forwarded to /interrupt-controller
[ 0.000000] enable_t210_agic_clks:106 ape clocked & reset cleared
[ 0.000000] t210 clock_and_reset probe
[ 0.000000] clk_cbus_recalc_rate: no gbus parent
[ 0.000000] clk_cbus_recalc_rate: no gbus parent
[ 0.000000] clk_cbus_recalc_rate: no gbus parent
[ 0.000000] clk_cbus_recalc_rate: no gbus parent
[ 0.000000] clk_cbus_recalc_rate: no gbus parent
[ 0.000000] kmemleak: Kernel memory leak detector disabled
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.001699] Console: colour dummy device 80x25
[ 0.002652] console [tty0] enabled
[ 0.002684] Calibrating delay loop (skipped), value calculated using timer frequency… 38.40 BogoMIPS (lpj=76800)
[ 0.002719] pid_max: default: 32768 minimum: 301
[ 0.002808] Security Framework initialized
[ 0.002832] SELinux: Initializing.
[ 0.002899] SELinux: Starting in permissive mode
[ 0.002939] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.002965] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.003643] Initializing cgroup subsys io
[ 0.003676] Initializing cgroup subsys memory
[ 0.003715] Initializing cgroup subsys devices
[ 0.003741] Initializing cgroup subsys freezer
[ 0.003766] Initializing cgroup subsys net_cls
[ 0.003791] Initializing cgroup subsys perf_event
[ 0.003817] Initializing cgroup subsys net_prio
[ 0.003846] Initializing cgroup subsys pids
[ 0.003871] Initializing cgroup subsys debug
[ 0.004136] CPU0 ipc=1024
[ 0.004172] CPU1 ipc=1024
[ 0.004241] CPU2 ipc=1024
[ 0.004274] CPU3 ipc=1024
[ 0.004339] ASID allocator initialised with 65536 entries
[ 0.030322] tegra-id: chipid=22117.
[ 0.030354] tegra-id: opt_subrevision=0.
[ 0.030388] Tegra Speedo/IDDQ fuse revision 4
[ 0.030410] Tegra: CPU Speedo ID 7, SoC Speedo ID 0, GPU Speedo ID 2
[ 0.030433] Tegra: CPU Process ID 0, SoC Process ID 0, GPU Process ID 0
[ 0.030456] Tegra: CPU Speedo Value 2011, SoC Speedo Value 1904, GPU Speedo Value 2012
[ 0.030486] Tegra: CPU IDDQ Value 1592, SoC IDDQ Value 1776, GPU IDDQ Value 2100
[ 0.030530] Tegra Revision: A02 SKU: 0x17 CPU Process: 0 SoC Process: 0
[ 0.031990] DTS File Name: /home/ubuntu/work/project/tx1-generic/xdt/src/kernel_src/kernel/kernel-4.4/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
[ 0.032041] DTB Build time: Jun 13 2019 01:55:02
[ 0.048778] CPU1: Booted secondary processor [411fd071]
[ 0.060736] CPU2: Booted secondary processor [411fd071]
[ 0.072743] CPU3: Booted secondary processor [411fd071]
[ 0.072824] Brought up 4 CPUs
[ 0.072902] SMP: Total of 4 processors activated.
[ 0.072927] CPU: All CPU(s) started at EL2
[ 0.072970] alternatives: patching kernel code
[ 0.075489] devtmpfs: initialized
[ 0.144544] Initilizing CustomIPI irq domain
[ 0.144891] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.145482] pinctrl core: initialized pinctrl subsystem
[ 0.145670] OS set in device tree is not L4T.
[ 0.146034] regulator-dummy: no parameters
[ 0.146247] Initializing plugin-manager
[ 0.146317] Plugin module not found
[ 0.147333] node /plugin-manager/fragement@0 match with board >=2180-1000-300
[ 0.148730] Adding domain ape-pd to PM domain mc-clk-pd
[ 0.148780] Adding domain adsp-pd to PM domain ape-pd
[ 0.153686] NET: Registered protocol family 16
[ 0.175666] console [pstore-1] enabled
[ 0.175691] pstore: Registered ramoops as persistent store backend
[ 0.175715] ramoops: attached 0x200000@0xb0000000, ecc: 0/0
[ 0.188229] cpuidle: using governor ladder
[ 0.200220] cpuidle: using governor menu
[ 0.200545] bpmp: mail init ok
[ 0.201330] vdso: 2 pages (1 code @ ffffffc0012d5000, 1 data @ ffffffc0012d4000)
[ 0.201391] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.202815] atomic_pool_init():526: DMA: preallocated 1024 KiB pool for atomic allocations
[ 0.203768] tegra_powergate_init: DONE
[ 0.203809] DTS File Name: /home/ubuntu/work/project/tx1-generic/xdt/src/kernel_src/kernel/kernel-4.4/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
[ 0.203862] DTB Build time: Jun 13 2019 01:55:02
[ 0.206793] tegra_bpmp_of_clk_init: EMC proxy not found.
[ 0.206835] Error: Driver ‘tegra-mc’ is already registered, aborting…
[ 0.208328] platform tegra-carveouts: SMMU isn’t ready yet
[ 0.209035] platform tegra-carveouts: domain=ffffffc0fa163618 allocates as[0]=ffffffc0fa17c0a8
[ 0.209108] tegra_smmu 70019000.iommu: Loaded Tegra IOMMU driver
[ 0.209351] platform smmu_test: domain=ffffffc0fa163918 allocates as[0]=ffffffc0fa17c110
[ 0.209670] platform 70016000.bpmp: domain=ffffffc0fa163c18 allocates as[0]=ffffffc0fa17c178
[ 0.210377] bpmp: ping status is 0
[ 0.210485] bpmp 70016000.bpmp: firmware tag is 1e4b302fc0f866f97885165cf8b395ac
[ 0.210743] bpmp 70016000.bpmp: probe ok
[ 0.211397] mc: mapped MMIO address: 0xffffff800007e000 → 0x70019000
[ 0.211502] mc: mapped MMIO address: 0xffffff80000b6000 → 0x7001c000
[ 0.211609] mc: mapped MMIO address: 0xffffff80000dc000 → 0x7001d000
[ 0.211699] mc-err: Set intmask: 0x23d40
[ 0.222672] GPIO line 58 (wlan-default-input-h2) hogged as input
[ 0.222721] GPIO line 65 (wlan-default-input-i1) hogged as input
[ 0.222767] GPIO line 56 (wlan-default-output-high-h0) hogged as output/high
[ 0.222810] GPIO line 64 (wlan-default-output-high-i0) hogged as output/high
[ 0.222855] GPIO line 66 (wlan-default-output-high) hogged as output/high
[ 0.222905] GPIO line 148 (cam0-rst) hogged as output/low
[ 0.222947] GPIO line 151 (cam0-pwdn) hogged as output/low
[ 0.222987] GPIO line 149 (cam1-rst) hogged as output/low
[ 0.223027] GPIO line 152 (cam1-pwdn) hogged as output/low
[ 0.223134] gpiochip_add_data: registered GPIOs 0 to 255 on device: tegra-gpio
[ 0.225576] platform 70006000.serial: domain=ffffffc0fa276118 allocates as[0]=ffffffc0fa17c1e0
[ 0.226661] platform sound: domain=ffffffc0fa276a18 allocates as[0]=ffffffc0fa17c248
[ 0.229076] platform tegradc.1: domain=ffffffc0fa280c18 allocates as[0]=ffffffc0fa17c2b0
[ 0.231633] platform 57000000.gpu: domain=ffffffc0fa287f18 allocates as[0]=ffffffc0fa17c318
[ 0.231715] platform 57000000.gpu: domain=ffffffc0fa287f18 allocates as[1]=ffffffc0fa17c380
[ 0.231790] platform 57000000.gpu: domain=ffffffc0fa287f18 allocates as[2]=ffffffc0fa17c3e8
[ 0.231860] platform 57000000.gpu: domain=ffffffc0fa287f18 allocates as[3]=ffffffc0fa17c450
[ 0.232685] tegra-pmc 7000e400.pmc: i2c-thermtrip node not found, emergency thermal reset disabled.
[ 0.232732] tegra-pmc 7000e400.pmc: scratch reg offset dts data not present
[ 0.232759] tegra-pmc: ### PMC reset source: Software reset
[ 0.232782] tegra-pmc: ### PMC reset status reg: 0x3
[ 0.276352] padctrl padctrl.0: Pad control driver tegra-pmc-padctrl registered
[ 0.276388] tegra-pmc: Clear bootloader IO dpd settings
[ 0.276419] tegra-pmc 7000e400.pmc: IO padctrl driver initialized
[ 0.276489] tegra-pmc 7000e400.pmc: PMC: Successfully configure bootrom reset commands
[ 0.279656] platform 1003000.pcie-controller: domain=ffffffc0fa297018 allocates as[0]=ffffffc0fa17c4b8
[ 0.281924] platform sdhci-tegra.3: domain=ffffffc0fa38b118 allocates as[0]=ffffffc0fa17c520
[ 0.282514] platform sdhci-tegra.0: domain=ffffffc0fa38b518 allocates as[0]=ffffffc0fa17c588
[ 0.289397] vdd-ac-bat: 5000 mV
[ 0.290590] vdd-cpu-fixed: 1000 mV
[ 0.294462] irq: no irq domain found for /soctherm@0x700E2000 !
[ 0.294794] irq: no irq domain found for /soctherm@0x700E2000 !
[ 0.317439] ACPI: Interpreter disabled.
[ 0.318248] SCSI subsystem initialized
[ 0.318328] libata version 3.00 loaded.
[ 0.318541] usbcore: registered new interface driver usbfs
[ 0.318613] usbcore: registered new interface driver hub
[ 0.318716] usbcore: registered new device driver usb
[ 0.321779] gpiochip_add_data: registered GPIOs 496 to 511 on device: tca9539
[ 0.322663] tegra-i2c 7000c400.i2c: no acknowledge from address 0x77
[ 0.322739] pca953x 1-0077: failed reading register
[ 0.322820] pca953x: probe of 1-0077 failed with error -121
[ 0.325659] max77620 4-003c: PMIC Version OTP:0x3C and ES:0x8
[ 0.327478] GPIO line 490 (spmic-default-output-high) hogged as output/high
[ 0.327600] gpiochip_add_data: registered GPIOs 488 to 495 on device: max77620-gpio
[ 0.332389] vdd-core: 600 <–> 1400 mV at 1125 mV
[ 0.336341] vddio-ddr: at 1125 mV
[ 0.337097] vdd-pre-reg: 1350 mV
[ 0.340213] vdd-1v8: 1800 mV
[ 0.344214] avdd-sys: 1200 mV
[ 0.348213] vdd-pex: 1050 mV
[ 0.348831] vddio-sdmmc1: 1800 <–> 3300 mV at 3300 mV
[ 0.349559] vdd-cam-hv: 2800 mV
[ 0.352215] vdd-rtc: 850 mV
[ 0.352951] avdd-ts-hv: 3300 mV
[ 0.353686] vdd-ts: 1800 mV
[ 0.356215] vdd-gen-pll-edp: 1050 mV
[ 0.360214] vdd-hdmi-dp: 1050 mV
[ 0.360832] max77620 4-003c: max77620 probe successful
[ 0.362730] media: Linux media interface: v0.10
[ 0.362802] Linux video capture interface: v2.00
[ 0.370137] tegra210-emc 7001b000.memory-controller: validated EMC DFS table
[ 0.370482] Advanced Linux Sound Architecture Driver Initialized.
[ 0.373287] tegra210_dvfs: no clock found for sdmmc2_ddr
[ 0.373336] tegra210_dvfs: no clock found for sdmmc4_ddr
[ 0.373420] tegra210_dvfs: no clock found for sdmmc1_ddr
[ 0.373461] tegra210_dvfs: no clock found for sdmmc3_ddr
[ 0.376361] tegra_dvfs: Unable to get vdd-cpu rail for step info, defering probe
[ 0.380220] vdd-3v3: 3300 mV
[ 0.384215] max77620-gpio7: 1050 mV
[ 0.384522] lcd-bl-en: 1800 mV
[ 0.384819] en-vdd-sd: 3300 mV
[ 0.385055] en-vdd-cam: 1800 mV
[ 0.388218] vdd-sys-boost: 5000 mV
[ 0.388473] vdd-hdmi: 5000 mV
[ 0.388713] aux-3v3: 3300 mV
[ 0.388945] snsr_pm: 3300 mV
[ 0.392218] vdd-disp-3v0: 3000 mV
[ 0.392459] vdd-fan: 5000 mV
[ 0.392774] usb-vbus1: 5000 mV
[ 0.393012] en-vdd-ts-1v8: 1800 mV
[ 0.393242] en-vdd-ts-hv-3v3: 3300 mV
[ 0.393475] en-vdd-disp-3v3: 3300 mV
[ 0.393702] en-mdm-pwr-3v7: 3700 mV
[ 0.393951] en-vdd-disp-1v8: 1800 mV
[ 0.394187] en-vdd-cam-hv-2v8: 2800 mV
[ 0.394467] rtl-5v0: 5000 mV
[ 0.394742] en-usb-vbus2: 5000 mV
[ 0.394975] en-vdd-cam-1v2: 1200 mV
[ 0.395256] en-vdd-vcm-2v8: 2800 mV
[ 0.395508] en-vdd-cam-1v2-alt: 1200 mV
[ 0.398291] extcon-gpio-states extcon:extcon@1: Cable state 0
[ 0.399302] clocksource: Switched to clocksource arch_sys_counter
[ 0.443661] nvmap_heap_init: nvmap_heap_init: created heap block cache
[ 0.444031] nvmap_page_pool_init: Total RAM pages: 1019507
[ 0.444062] nvmap_page_pool_init: nvmap page pool size: 127438 pages (497 MB)
[ 0.444166] nvmap_background_zero_thread: PP zeroing thread starting.
[ 0.444358] misc nvmap: iram :dma coherent mem declare 0x0000000040001000,258048
[ 0.444493] misc nvmap: created heap iram base 0x0000000040001000 size (252KiB)
[ 0.445136] pnp: PnP ACPI: disabled
[ 0.456927] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type AO-therm
[ 0.458740] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type CPU-therm
[ 0.459139] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type GPU-therm
[ 0.459402] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[ 0.460966] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type Tdiode_tegra
[ 0.461215] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type PMIC-Die
[ 0.461435] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type Tboard_tegra
[ 0.462669] isomgr_init(): iso emc max clk=1600000KHz
[ 0.462695] isomgr_init(): max_iso_bw=11520000KB
[ 0.462837] NET: Registered protocol family 2
[ 0.463440] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.463678] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[ 0.463947] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.464050] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[ 0.464117] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[ 0.464359] NET: Registered protocol family 1
[ 0.464698] RPC: Registered named UNIX socket transport module.
[ 0.464728] RPC: Registered udp transport module.
[ 0.464751] RPC: Registered tcp transport module.
[ 0.464773] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.464814] PCI: CLS 0 bytes, default 128
[ 0.465020] Trying to unpack rootfs image as initramfs…
[ 0.475888] host1x 50000000.host1x: initialized
[ 0.477259] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.480329] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.480458] audit: initializing netlink subsys (disabled)
[ 0.480518] audit: type=2000 audit(0.475:1): initialized
[ 0.492352] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.492839] fuse init (API version 7.23)
[ 0.493548] SELinux: Registering netfilter hooks
[ 0.495678] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.495819] io scheduler noop registered
[ 0.495851] io scheduler deadline registered
[ 0.496046] io scheduler cfq registered (default)
[ 0.501365] tegra21x-padctl-uphy 7009f000.pinctrl: padctl mmio start 0x000000007009f000 end 0x000000007009ffff
[ 0.501414] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_SKU_CALIB_0 0x91e840f
[ 0.501450] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_USB_CALIB_EXT_0 0x4
[ 0.502902] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-0 is used by XUSB
[ 0.502939] tegra21x-padctl-uphy 7009f000.pinctrl: using UTMI port 0 for otg
[ 0.502970] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-2 is used by XUSB
[ 0.503007] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 5, set usb3_lanes = 0x20
[ 0.503054] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 1 maps to USB2 port 2
[ 0.503089] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-1 is used by XUSB
[ 0.503123] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 6, set usb3_lanes = 0x60
[ 0.503166] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 0 maps to USB2 port 1
[ 0.503212] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 4, set pcie_lanes = 0x10
[ 0.503260] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 0, set pcie_lanes = 0x11
[ 0.503329] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-3 is used by XUSB
[ 0.503364] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 3, set usb3_lanes = 0x68
[ 0.503405] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 2 maps to USB2 port 3
[ 0.503448] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 7, set sata_lanes = 0x80
[ 0.503876] tegra21x-padctl-uphy 7009f000.pinctrl: mailbox is not ready yet
[ 0.504880] tegra-pwm 7000a000.pwm: PWM clk cannot sleep in ops
[ 0.505985] tegra-dfll-pwm 70110000.pwm: DFLL pwm-rate: 12800000
[ 0.506722] Adding domain pcie-pd to PM domain mc-clk-pd
[ 0.511471] tegra-pcie 1003000.pcie-controller: wrong configuration updated in DT, switching to default 4x1, 1x1 configuration
[ 0.511555] tegra-pcie 1003000.pcie-controller: failed to get PHY: -517
[ 0.511582] tegra-pcie 1003000.pcie-controller: failed to get PHYs: -517
[ 0.515082] tsec 54500000.tsec: initialized
[ 0.516265] tsec 54100000.tsecb: initialized
[ 0.518805] nvdec 54480000.nvdec: initialized
[ 0.523962] falcon 54340000.vic: initialized
[ 0.525204] falcon 544c0000.nvenc: initialized
[ 0.526160] falcon 54380000.nvjpg: initialized
[ 0.528206] DC OR NODE connected to /host1x/sor1
[ 0.528307] display board info: id 0xffff, fab 0x0
[ 0.528363] panel_select fail by _node_status
[ 0.528422] display board info: id 0xffff, fab 0x0
[ 0.528468] panel_select fail by _node_status
[ 0.528497] generic_infoframe_type: 0x87
[ 0.528678] tegradc tegradc.1: DT parsed successfully
[ 0.528735] tegradc tegradc.1: Display dc.ffffff8000980000 registered with id=0
[ 0.529688] display board info: id 0xffff, fab 0x0
[ 0.529742] panel_select fail by _node_status
[ 0.533620] tegra-i2c 7000c700.i2c: no acknowledge from address 0x50
[ 0.534815] tegradc tegradc.1: probed
[ 0.535625] tegra_camera_platform tegra-camera-platform: tegra_camera_probe:camera_platform_driver probe
[ 0.535848] misc tegra_camera_ctrl: tegra_camera_isomgr_register isp_iso_bw=1020000, vi_iso_bw=750000, max_bw=1020000
[ 0.540067] tegra-apbdma 60020000.dma: Tegra20 APB DMA driver register 32 channels
[ 0.542069] tegra-adma 702e2000.adma: Tegra ADMA driver register 10 channels
[ 0.543615] tegra-fuse-burn 7000f800.efuse:efuse-burn: Fuse burn driver initialized
[ 0.543918] kfuse 7000fc00.kfuse: initialized
[ 0.545862] tegra-pmc-iopower pmc-iopower: NO_IOPOWER setting 0x0
[ 0.546717] clk_cbus_round_rate: no gbus parent
[ 0.546747] tegra_gpu_edp gpu_edp: unable to get max GPU freq
[ 0.547281] tegra-dfll-pwm 70110000.pwm: DFLL_PWM regulator is available now
[ 0.547374] vdd-cpu: 708 <–> 1322 mV at 708 mV
[ 0.547442] pwm-regulator pwm_regulators:pwm-regulator@0: PWM regulator registration passed
[ 0.548593] vdd-gpu: applied init 1000000uV constraint
[ 0.548630] vdd-gpu: 710 <–> 1320 mV at 1000 mV
[ 0.548696] pwm-regulator pwm_regulators:pwm-regulator@1: PWM regulator registration passed
[ 0.549128] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.549268] No Device Node present for smmu client: serial8250 !!
[ 0.549298] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[ 0.549335] No Device Node present for smmu client: serial8250 !!
[ 0.549361] platform serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[ 0.551692] No Device Node present for smmu client: serial8250 !!
[ 0.551729] serial8250 serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[ 0.551781] No Device Node present for smmu client: serial8250 !!
[ 0.551808] serial8250 serial8250: No iommus property found in DT node, got swgids from fixup(101004000)
[ 0.552487] console [ttyS0] disabled
[ 0.552577] 70006000.serial: ttyS0 at MMIO 0x70006000 (irq = 320, base_baud = 25500000) is a Tegra
[ 2.512068] console [ttyS0] enabled
[ 2.513314] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 321, base_baud = 0) is a TEGRA_UART
[ 2.513766] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 322, base_baud = 0) is a TEGRA_UART
[ 2.514093] serial-tegra 70006300.serial: RX in PIO mode
[ 2.514198] 70006300.serial: ttyTHS3 at MMIO 0x70006300 (irq = 323, base_baud = 0) is a TEGRA_UART
[ 2.515804] Console: switching to colour frame buffer device 80x30
[ 2.516505] gk20a 57000000.gpu: platform probe failed
[ 2.526643] brd: module loaded
[ 2.532159] loop: module loaded
[ 2.532794] zram: Added device: zram0
[ 2.532803] Silicon Labs C2 port support v. 0.51.0 - (C) 2007 Rodolfo Giometti
[ 2.532929] at24 2-0057: 256 byte 24c02 EEPROM, writable, 8 bytes/write
[ 2.533209] nct1008_nct72 0-004c: find device tree node, parsing dt
[ 2.533214] nct1008_nct72 0-004c: starting parse dt
[ 2.533287] nct1008_nct72 0-004c: success parsing dt
[ 2.533556] nct1008_nct72 0-004c: success in enabling tmp451 VDD rail
[ 2.659287] tegradc tegradc.1: fb registered
[ 2.666921] tmp451: Enabled overheat logging at 102.00C
[ 2.674421] nct1008_nct72 0-004c: nct1008_probe: initialized
[ 2.684751] THERMAL EST: found 2 subdevs
[ 2.690732] THERMAL EST num_resources: 0
[ 2.696665] [THERMAL EST subdev 0]
[ 2.702021] [THERMAL EST subdev 1]
[ 2.707620] thermal thermal_zone7: Registering thermal zone thermal_zone7 for type thermal-fan-est
[ 2.720270] THERMAL EST: thz register success.
[ 2.726687] THERMAL EST: end of probe, return err: 0
[ 2.733530] tegra_profiler: Branch: Dev
[ 2.739107] tegra_profiler: Version: 1.117
[ 2.744874] tegra_profiler: Samples version: 41
[ 2.751039] tegra_profiler: IO version: 22
[ 2.756738] armv8_pmu: imp: 0x41, idcode: 0x1
[ 2.762715] armv8_pmu: [0] arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0, pmu ver: 0x1
[ 2.774196] armv8_pmu: imp: 0x41, idcode: 0x1
[ 2.780188] armv8_pmu: [1] arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0, pmu ver: 0x1
[ 2.791617] armv8_pmu: imp: 0x41, idcode: 0x1
[ 2.797633] armv8_pmu: [2] arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0, pmu ver: 0x1
[ 2.809248] armv8_pmu: imp: 0x41, idcode: 0x1
[ 2.815348] armv8_pmu: [3] arch: AA64 PmuV3 ARM CORTEX-A57, type: 5, ver: 0, pmu ver: 0x1
[ 2.827210] tegra_profiler: auth: init
[ 2.833235] tegra-ahci 70027000.sata: Missing devslp-active state
[ 2.842091] Rounding down aligned max_sectors from 4294967295 to 4294967288
[ 2.851501] spi-tegra114 7000d400.spi: Static pin configuration used
[ 2.860667] spi-tegra114 7000da00.spi: Static pin configuration used
[ 2.870305] tun: Universal TUN/TAP device driver, 1.6
[ 2.877246] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com
[ 2.885730] PPP generic driver version 2.4.2
[ 2.892053] PPP BSD Compression module registered
[ 2.898656] PPP Deflate Compression module registered
[ 2.905656] PPP MPPE Compression module registered
[ 2.912402] NET: Registered protocol family 24
[ 2.918883] usbcore: registered new interface driver r8152
[ 2.926424] usbcore: registered new interface driver asix
[ 2.933827] usbcore: registered new interface driver ax88179_178a
[ 2.941830] usbcore: registered new interface driver cdc_ether
[ 2.949549] usbcore: registered new interface driver smsc95xx
[ 2.957096] usbcore: registered new interface driver net1080
[ 2.964469] usbcore: registered new interface driver cdc_subset
[ 2.972065] usbcore: registered new interface driver zaurus
[ 2.979276] usbcore: registered new interface driver cdc_ncm
[ 2.986543] usbcore: registered new interface driver cdc_acm
[ 2.993641] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 3.004537] usbcore: registered new interface driver usb-storage
[ 3.012123] usbcore: registered new interface driver usbserial
[ 3.019426] usbcore: registered new interface driver ftdi_sio
[ 3.026548] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 3.036588] usbcore: registered new interface driver option
[ 3.043620] usbserial: USB Serial support registered for GSM modem (1-port)
[ 3.052091] usbcore: registered new interface driver pl2303
[ 3.059148] usbserial: USB Serial support registered for pl2303
[ 3.067575] tegra-xudc-new 700d0000.xudc: usb2 phy is not available yet
[ 3.211573] max77686-rtc max77620-rtc: rtc core: registered max77620-rtc as rtc1
[ 3.224304] tegra_rtc 7000e000.rtc: rtc core: registered 7000e000.rtc as rtc0
[ 3.233129] tegra_rtc 7000e000.rtc: Tegra internal Real Time Clock
[ 3.241443] i2c /dev entries driver
[ 3.248675] IR NEC protocol handler initialized
[ 3.254973] IR Sharp protocol handler initialized
[ 3.261470] IR XMP protocol handler initialized
[ 3.267895] usbcore: registered new interface driver uvcvideo
[ 3.275527] USB Video Class driver (1.1.1)
[ 3.281820] max77620-power max77620-power: Event recorder REG_NVERC : 0x0
[ 3.292639] tegra_soctherm 700e2000.soctherm: pllx_offset tz:0 max:14, min:2
[ 3.301827] tegra_soctherm 700e2000.soctherm: pllx_offset tz:1 max:8, min:4
[ 3.311366] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when cpu reaches 102500 mC
[ 3.324232] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when cpu reaches 100500 mC
[ 3.337499] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[ 3.351145] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when gpu reaches 103000 mC
[ 3.364498] tegra_soctherm 700e2000.soctherm: throttrip: will throttle when gpu reaches 101000 mC
[ 3.378114] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
[ 3.391998] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature 2147483647 forced to 127000
[ 3.405721] tegra_soctherm 700e2000.soctherm: thermtrip: will shut down when pll reaches 127000 mC
[ 3.419382] tegra_soctherm 700e2000.soctherm: throttrip: pll: missing hot temperature
[ 3.432480] tegra_soctherm 700e2000.soctherm: failed to register sensor: -19
[ 3.443607] tegra_aotag tegra-aotag: Registering sensor 0
[ 3.451662] tegra_aotag tegra-aotag: Bound to TZ : ID 0
[ 3.459425] tegra_aotag tegra-aotag: Probe done [SUCCESS]:0
[ 3.468269] FAN dev name: pwm-fan
[ 3.474057] FAN:gpio request success.
[ 3.480232] pwm_fan_driver pwm-fan: cap state:7, cap pwm:255
[ 3.488696] pwm_fan_driver pwm-fan: got pwm for fan
[ 3.496143] pwm_fan_driver pwm-fan: fan tach request irq success
[ 3.504539] pwm_fan_driver pwm-fan: tach period: 1000
[ 3.511972] pwm_fan_driver pwm-fan: index 0: pwm=0, rpm=0, rru=40, rrd=40, state:2
[ 3.523981] pwm_fan_driver pwm-fan: index 1: pwm=80, rpm=1000, rru=2, rrd=2, state:2
[ 3.536166] pwm_fan_driver pwm-fan: index 2: pwm=120, rpm=2000, rru=1, rrd=1, state:2
[ 3.548647] pwm_fan_driver pwm-fan: index 3: pwm=160, rpm=3000, rru=1, rrd=1, state:2
[ 3.560908] pwm_fan_driver pwm-fan: index 4: pwm=255, rpm=4000, rru=1, rrd=1, state:3
[ 3.573165] pwm_fan_driver pwm-fan: index 5: pwm=255, rpm=5000, rru=1, rrd=1, state:3
[ 3.585418] pwm_fan_driver pwm-fan: index 6: pwm=255, rpm=6000, rru=1, rrd=1, state:3
[ 3.597668] pwm_fan_driver pwm-fan: index 7: pwm=255, rpm=7000, rru=1, rrd=1, state:4
[ 3.609947] pwm_fan_driver pwm-fan: index 8: pwm=255, rpm=10000, rru=1, rrd=1, state:4
[ 3.622549] pwm_fan_driver pwm-fan: index 9: pwm=255, rpm=11000, rru=1, rrd=1, state:4
[ 3.636396] tegra-wdt 60005100.watchdog: Tegra WDT enabled on probe. Timeout = 120 seconds.
[ 3.650198] tegra-wdt 60005100.watchdog: initialized (timeout = 120 sec, nowayout = 1)
[ 3.663958] device-mapper: uevent: version 1.0.3
[ 3.671643] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 3.691944] sdhci: Secure Digital Host Controller Interface driver
[ 3.700863] sdhci: Copyright(c) Pierre Ossman
[ 3.707888] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.716812] sdhci-tegra sdhci-tegra.3: Parent select= pll_p rate=408000000
[ 3.719630] tegra-se 70012000.se: tegra_se_probe: complete
[ 3.720240] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.723105] usbcore: registered new interface driver usbhid
[ 3.723107] usbhid: USB HID core driver
[ 3.756853] sdhci-tegra sdhci-tegra.3: Parent select= pll_c4_out2 rate=199680000
[ 3.769135] sdhci-tegra sdhci-tegra.3: Client registration for eMC Successful
[ 3.780068] tegra-i2c 7000c400.i2c: no acknowledge from address 0x42
[ 3.789057] ina3221x 1-0042: ina3221 reset failure status: 0xffffff87
[ 3.798350] ina3221x: probe of 1-0042 failed with error -121
[ 3.807198] tegra-i2c 7000c400.i2c: no acknowledge from address 0x43
[ 3.815990] ina3221x 1-0043: ina3221 reset failure status: 0xffffff87
[ 3.819375] mmc0: SDHCI controller on sdhci-tegra.3 [sdhci-tegra.3] using ADMA 64-bit with 64 bit addr
[ 3.819692] sdhci-tegra sdhci-tegra.1: Parent select= pll_p rate=408000000
[ 3.819712] sdhci-tegra sdhci-tegra.1: Client registration for eMC Successful
[ 3.857639] ina3221x: probe of 1-0043 failed with error -121
[ 3.859330] mmc1: SDHCI controller on sdhci-tegra.1 [sdhci-tegra.1] using ADMA 64-bit with 64 bit addr
[ 3.860036] sdhci-tegra sdhci-tegra.0: Got CD GPIO
[ 3.860085] sdhci-tegra sdhci-tegra.0: Got WP GPIO
[ 3.860164] sdhci-tegra sdhci-tegra.0: Parent select= pll_p rate=408000000
[ 3.860212] sdhci-tegra sdhci-tegra.0: wakeup init done, cd_irq: 262
[ 3.860232] sdhci-tegra sdhci-tegra.0: Client registration for eMC Successful
[ 3.862227] en-vdd-sd: supplied by vdd-3v3
[ 3.877732] mmc0: MAN_BKOPS_EN bit is not set
[ 3.884565] mmc0: Skipping tuning since strobe enabled
[ 3.890136] mmc0: new HS400 MMC card at address 0001
[ 3.890397] mmcblk mmc0:0001: Card claimed for testing.
[ 3.895020] mmcblk0: mmc0:0001 016G32 14.7 GiB
[ 3.895581] mmcblk0rpmb: mmc0:0001 016G32 partition 3 4.00 MiB
[ 3.897662] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19
[ 3.899541] mmc2: SDHCI controller on sdhci-tegra.0 [sdhci-tegra.0] using ADMA 64-bit with 64 bit addr
[ 3.936476] mmc1: queuing unknown CIS tuple 0x80 (5 bytes)
[ 4.002261] parse_throttle_dt_data: Num cap clks = 6
[ 4.009294] parse_throttle_dt_data: clk=cclk_g type=2
[ 4.016311] parse_throttle_dt_data: clk=gpu type=4
[ 4.023015] parse_throttle_dt_data: clk=cap.throttle.c2bus type=0
[ 4.031024] parse_throttle_dt_data: clk=cap.throttle.c3bus type=0
[ 4.038952] parse_throttle_dt_data: clk=cap.throttle.sclk type=0
[ 4.046680] parse_throttle_dt_data: clk=emc type=3
[ 4.055070] tegra_throttle_probe: probe successful. #cdevs=4
[ 4.067817] tegra21x_actmon 6000c800.actmon: in actmon_register()…
[ 4.077179] tegra21x_actmon 6000c800.actmon: initialization Completed for the device mc_all
[ 4.090603] tegra124-dfll 70110000.clock: config PMU interface as PWM
[ 4.100770] coresight-tmc 72030000.etf: TMC initialized
[ 4.108966] coresight-tmc 72050000.etr: TMC initialized
[ 4.116177] coresight-tpiu 72060000.tpiu: TPIU initialized
[ 4.123873] coresight-funnel 73010000.funnel_bccplex: FUNNEL initialized
[ 4.132726] coresight-funnel 72010000.funnel_major: FUNNEL initialized
[ 4.141652] coresight-replicator 72040000.replicator: REPLICATOR initialized
[ 4.151279] coresight-etm4x 73440000.ptm: ETM 4.0 initialized
[ 4.159481] coresight-etm4x 73540000.ptm: ETM 4.0 initialized
[ 4.168242] coresight-etm4x 73640000.ptm: ETM 4.0 initialized
[ 4.180569] coresight-etm4x 73740000.ptm: ETM 4.0 initialized
[ 4.189203] usbcore: registered new interface driver snd-usb-audio
[ 4.197005] No Device Node present for smmu client: snd-soc-dummy !!
[ 4.204865] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[ 4.205608] mmc1 tuning done saved tap delay=82
[ 4.205611] mmc1: hw tuning done …
[ 4.205618] mmc1: tuning_window[0]: 0xc7ffffff
[ 4.205623] mmc1: tuning_window[1]: 0x7fffffff
[ 4.205629] mmc1: tuning_window[2]: 0xfffffffc
[ 4.205634] mmc1: tuning_window[3]: 0x7fffffcf
[ 4.205640] mmc1: tuning_window[4]: 0x0
[ 4.205645] mmc1: tuning_window[5]: 0x0
[ 4.205650] mmc1: tuning_window[6]: 0x0
[ 4.205655] mmc1: tuning_window[7]: 0x0
[ 4.205659] sdhci: Tap value: 82 | Trim value: 8
[ 4.205663] sdhci: SDMMC_VENDOR_INTR_STATUS[0x108]: 0x40000
[ 4.215244] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 4.215319] mmc1: new ultra high speed SDR104 SDIO card at address 0001
[ 4.305071] No Device Node present for smmu client: snd-soc-dummy !!
[ 4.312788] platform snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[ 4.313665] input: tegra-hda HDMI/DP,pcm=3 as /devices/70030000.hda/sound/card0/input0
[ 4.336102] No Device Node present for smmu client: snd-soc-dummy !!
[ 4.344120] snd-soc-dummy snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[ 4.357453] No Device Node present for smmu client: snd-soc-dummy !!
[ 4.365517] snd-soc-dummy snd-soc-dummy: No iommus property found in DT node, got swgids from fixup(101004000)
[ 4.401304] tegra210-i2s tegra210-i2s.0: Missing prop fsync-width for I2S0
[ 4.411833] tegra210-i2s tegra210-i2s.2: Missing prop fsync-width for I2S2
[ 4.421118] tegra210-i2s tegra210-i2s.3: Missing prop fsync-width for I2S3
[ 4.430531] tegra210-i2s tegra210-i2s.4: Missing prop fsync-width for I2S4
[ 4.452299] OPE platform probe
[ 4.457349] OPE platform probe successful
[ 4.463594] OPE platform probe
[ 4.468661] OPE platform probe successful
[ 4.508623] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF1 <-> ADMAIF1 mapping ok
[ 4.520271] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF2 <-> ADMAIF2 mapping ok
[ 4.532088] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF3 <-> ADMAIF3 mapping ok
[ 4.544021] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF4 <-> ADMAIF4 mapping ok
[ 4.555992] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF5 <-> ADMAIF5 mapping ok
[ 4.567959] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF6 <-> ADMAIF6 mapping ok
[ 4.579967] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF7 <-> ADMAIF7 mapping ok
[ 4.591998] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF8 <-> ADMAIF8 mapping ok
[ 4.604065] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF9 <-> ADMAIF9 mapping ok
[ 4.616230] tegra-snd-t210ref-mobile-rt565x sound: ADMAIF10 <-> ADMAIF10 mapping ok
[ 4.655344] input: tegra-snd-t210ref-mobile-rt565x Headphone Jack as /devices/sound/sound/card1/input1
[ 4.670961] tegra-snd-t210ref-mobile-rt565x sound: codec-dai “dit-hifi” registered
[ 4.683963] tegra-snd-t210ref-mobile-rt565x sound: This is a dummy codec
[ 4.694318] GACT probability NOT on
[ 4.700591] Mirror/redirect action on
[ 4.706977] u32 classifier
[ 4.712291] Actions configured
[ 4.718267] Netfilter messages via NETLINK v0.30.
[ 4.725557] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 4.734579] ctnetlink v0.93: registering with nfnetlink.
[ 4.743080] xt_time: kernel timezone is -0000
[ 4.749875] IPVS: Registered protocols ()
[ 4.756263] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 4.768301] IPVS: Creating netns size=1424 id=0
[ 4.775183] IPVS: ipvs loaded.
[ 4.780477] IPVS: [rr] scheduler registered.
[ 4.787065] ipip: IPv4 over IPv4 tunneling driver
[ 4.794521] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 4.802150] arp_tables: (C) 2002 David S. Miller
[ 4.808903] Initializing XFRM netlink socket
[ 4.815897] NET: Registered protocol family 10
[ 4.823269] mip6: Mobile IPv6
[ 4.828154] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 4.835616] sit: IPv6 over IPv4 tunneling driver
[ 4.843114] NET: Registered protocol family 17
[ 4.849354] NET: Registered protocol family 15
[ 4.855501] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 4.871570] Key type dns_resolver registered
[ 4.878352] Registered cp15_barrier emulation handler
[ 4.894849] isp 54600000.isp: initialized
[ 4.903979] isp 54680000.isp: initialized
[ 4.913629] clk_cbus_recalc_rate: no gbus parent
[ 4.919970] clk_cbus_round_rate: no gbus parent
[ 4.926171] clk_cbus_round_rate: no gbus parent
[ 4.932324] clk_cbus_recalc_rate: no gbus parent
[ 4.939099] clk_cbus_recalc_rate: no gbus parent
[ 4.945206] clk_cbus_round_rate: no gbus parent
[ 4.951188] clk_cbus_round_rate: no gbus parent
[ 4.957128] clk_cbus_recalc_rate: no gbus parent
[ 4.963176] tegra_dvfs: GPU-cap: registered
[ 4.968877] tegra dvfs: vdd-cpu: nominal 1226mV, offset 708000uV, step 19200uV, scaling enabled
[ 4.980431] tegra dvfs: vdd-core: nominal 1125mV, offset 600000uV, step 12500uV, scaling enabled
[ 4.992261] tegra dvfs: vdd-gpu: nominal 1120mV, offset 710000uV, step 10000uV, scaling enabled
[ 5.007741] tegra_dvfs: vdd-gpu-vts: registered
[ 5.015881] xhci-tegra 70090000.xusb: can’t get usb3-0 phy (-517)
[ 5.024426] tegra21x-padctl-uphy 7009f000.pinctrl: padctl mmio start 0x000000007009f000 end 0x000000007009ffff
[ 5.037987] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_SKU_CALIB_0 0x91e840f
[ 5.049196] tegra21x-padctl-uphy 7009f000.pinctrl: TEGRA_FUSE_USB_CALIB_EXT_0 0x4
[ 5.061756] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-0 is used by XUSB
[ 5.070601] tegra21x-padctl-uphy 7009f000.pinctrl: using UTMI port 0 for otg
[ 5.079725] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-2 is used by XUSB
[ 5.088546] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 5, set usb3_lanes = 0x20
[ 5.100622] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 1 maps to USB2 port 2
[ 5.112579] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-1 is used by XUSB
[ 5.121757] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 6, set usb3_lanes = 0x60
[ 5.134470] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 0 maps to USB2 port 1
[ 5.146858] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 4, set pcie_lanes = 0x10
[ 5.159700] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 0, set pcie_lanes = 0x11
[ 5.172529] tegra21x-padctl-uphy 7009f000.pinctrl: UTMI-3 is used by XUSB
[ 5.181825] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 3, set usb3_lanes = 0x68
[ 5.194666] tegra21x-padctl-uphy 7009f000.pinctrl: USB3 port 2 maps to USB2 port 3
[ 5.207075] tegra21x-padctl-uphy 7009f000.pinctrl: uphy_lane = 7, set sata_lanes = 0x80
[ 5.220688] usb-vbus1: supplied by vdd-3v3
[ 5.229741] tegra21x-padctl-uphy 7009f000.pinctrl: Done tegra21x_padctl_uphy_probe
[ 5.244894] tegra-pcie 1003000.pcie-controller: wrong configuration updated in DT, switching to default 4x1, 1x1 configuration
[ 5.261650] tegra-pcie 1003000.pcie-controller: PCIE: Enable power rails
[ 5.271453] clk_cbus_round_rate: no gbus parent
[ 5.278559] tegra_gpu_edp gpu_edp: unable to get max GPU freq
[ 5.287501] tegra-ahci 70027000.sata: Missing devslp-active state
[ 5.288006] tegra-pcie 1003000.pcie-controller: probing port 0, using 4 lanes
[ 5.289130] gk20a 57000000.gpu: GPCPLL initial settings: NA mode, M=1, N=34, P=3
[ 5.290168] tegra-pcie 1003000.pcie-controller: probing port 1, using 1 lanes
[ 5.307490] gk20a 57000000.gpu: failed to allocate secure buffer -12
[ 5.342035] tegra-ahci 70027000.sata: AHCI 0001.0301 32 slots 2 ports 3 Gbps 0x1 impl platform mode
[ 5.348895] tegra-pcie 1003000.pcie-controller: PCI host bridge to bus 0000:00
[ 5.348903] pci_bus 0000:00: root bus resource [mem 0x13000000-0x1fffffff]
[ 5.348909] pci_bus 0000:00: root bus resource [mem 0x20000000-0x3fffffff pref]
[ 5.348916] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 5.348921] pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
[ 5.348955] pci 0000:00:01.0: [10de:0fae] type 01 class 0x060400
[ 5.349066] pci 0000:00:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.349400] pci 0000:00:02.0: [10de:0faf] type 01 class 0x060400
[ 5.349507] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.349808] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 5.349822] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 5.350029] pci 0000:01:00.0: [9710:9904] type 00 class 0x070002
[ 5.350084] pci 0000:01:00.0: reg 0x10: [io 0x0000-0x0007]
[ 5.350101] pci 0000:01:00.0: reg 0x14: [mem 0x00000000-0x00000fff]
[ 5.350152] pci 0000:01:00.0: reg 0x24: [mem 0x00000000-0x00000fff]
[ 5.350264] pci 0000:01:00.0: PME# supported from D3hot D3cold
[ 5.350590] pci 0000:01:00.1: [9710:9904] type 00 class 0x070002
[ 5.350644] pci 0000:01:00.1: reg 0x10: [io 0x0000-0x0007]
[ 5.350662] pci 0000:01:00.1: reg 0x14: [mem 0x00000000-0x00000fff]
[ 5.350711] pci 0000:01:00.1: reg 0x24: [mem 0x00000000-0x00000fff]
[ 5.350806] pci 0000:01:00.1: PME# supported from D3hot D3cold
[ 5.351117] pci 0000:01:00.2: [9710:9904] type 00 class 0x070002
[ 5.351171] pci 0000:01:00.2: reg 0x10: [io 0x0000-0x0007]
[ 5.351188] pci 0000:01:00.2: reg 0x14: [mem 0x00000000-0x00000fff]
[ 5.351239] pci 0000:01:00.2: reg 0x24: [mem 0x00000000-0x00000fff]
[ 5.351360] pci 0000:01:00.2: PME# supported from D3hot D3cold
[ 5.351675] pci 0000:01:00.3: [9710:9904] type 00 class 0x070002
[ 5.351728] pci 0000:01:00.3: reg 0x10: [io 0x0000-0x0007]
[ 5.351744] pci 0000:01:00.3: reg 0x14: [mem 0x00000000-0x00000fff]
[ 5.351794] pci 0000:01:00.3: reg 0x24: [mem 0x00000000-0x00000fff]
[ 5.351887] pci 0000:01:00.3: PME# supported from D3hot D3cold
[ 5.352196] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 5.352398] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000
[ 5.352458] pci 0000:02:00.0: reg 0x10: [io 0x2000-0x20ff]
[ 5.352499] pci 0000:02:00.0: reg 0x18: [mem 0x20004000-0x20004fff 64bit pref]
[ 5.352526] pci 0000:02:00.0: reg 0x20: [mem 0x20000000-0x20003fff 64bit pref]
[ 5.352640] pci 0000:02:00.0: supports D1 D2
[ 5.352645] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.352933] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 5.353013] pci 0000:00:01.0: BAR 8: assigned [mem 0x13000000-0x130fffff]
[ 5.353023] pci 0000:00:02.0: BAR 9: assigned [mem 0x20000000-0x200fffff 64bit pref]
[ 5.353030] pci 0000:00:01.0: BAR 7: assigned [io 0x1000-0x1fff]
[ 5.353036] pci 0000:00:02.0: BAR 7: assigned [io 0x2000-0x2fff]
[ 5.353051] pci 0000:01:00.0: BAR 1: assigned [mem 0x13000000-0x13000fff]
[ 5.353063] pci 0000:01:00.0: BAR 5: assigned [mem 0x13001000-0x13001fff]
[ 5.353075] pci 0000:01:00.1: BAR 1: assigned [mem 0x13002000-0x13002fff]
[ 5.353086] pci 0000:01:00.1: BAR 5: assigned [mem 0x13003000-0x13003fff]
[ 5.353097] pci 0000:01:00.2: BAR 1: assigned [mem 0x13004000-0x13004fff]
[ 5.353108] pci 0000:01:00.2: BAR 5: assigned [mem 0x13005000-0x13005fff]
[ 5.353119] pci 0000:01:00.3: BAR 1: assigned [mem 0x13006000-0x13006fff]
[ 5.353130] pci 0000:01:00.3: BAR 5: assigned [mem 0x13007000-0x13007fff]
[ 5.353141] pci 0000:01:00.0: BAR 0: assigned [io 0x1000-0x1007]
[ 5.353152] pci 0000:01:00.1: BAR 0: assigned [io 0x1008-0x100f]
[ 5.353164] pci 0000:01:00.2: BAR 0: assigned [io 0x1010-0x1017]
[ 5.353174] pci 0000:01:00.3: BAR 0: assigned [io 0x1018-0x101f]
[ 5.353187] pci 0000:00:01.0: PCI bridge to [bus 01]
[ 5.353193] pci 0000:00:01.0: bridge window [io 0x1000-0x1fff]
[ 5.353202] pci 0000:00:01.0: bridge window [mem 0x13000000-0x130fffff]
[ 5.353220] pci 0000:02:00.0: BAR 4: assigned [mem 0x20000000-0x20003fff 64bit pref]
[ 5.353242] pci 0000:02:00.0: BAR 2: assigned [mem 0x20004000-0x20004fff 64bit pref]
[ 5.353263] pci 0000:02:00.0: BAR 0: assigned [io 0x2000-0x20ff]
[ 5.353273] pci 0000:00:02.0: PCI bridge to [bus 02]
[ 5.353279] pci 0000:00:02.0: bridge window [io 0x2000-0x2fff]
[ 5.353291] pci 0000:00:02.0: bridge window [mem 0x20000000-0x200fffff 64bit pref]
[ 5.353529] pcieport 0000:00:01.0: Signaling PME through PCIe PME interrupt
[ 5.353533] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[ 5.353537] pci 0000:01:00.1: Signaling PME through PCIe PME interrupt
[ 5.353541] pci 0000:01:00.2: Signaling PME through PCIe PME interrupt
[ 5.353545] pci 0000:01:00.3: Signaling PME through PCIe PME interrupt
[ 5.353554] pcie_pme 0000:00:01.0:pcie01: service driver pcie_pme loaded
[ 5.353682] aer 0000:00:01.0:pcie02: service driver aer loaded
[ 5.353928] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt
[ 5.353933] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt
[ 5.353941] pcie_pme 0000:00:02.0:pcie01: service driver pcie_pme loaded
[ 5.354055] aer 0000:00:02.0:pcie02: service driver aer loaded
[ 5.354226] serial 0000:01:00.0: enabling device (0000 → 0003)
[ 5.354864] serial 0000:01:00.1: enabling device (0000 → 0003)
[ 5.355454] serial 0000:01:00.2: enabling device (0000 → 0003)
[ 5.356001] serial 0000:01:00.3: enabling device (0000 → 0003)
[ 5.740770] tegra-ahci 70027000.sata: flags: 64bit ncq sntf pm led pmp pio slum part deso sadm apst
[ 5.758509] scsi host0: tegra_ahci
[ 5.768121] scsi host1: tegra_ahci
[ 5.773373] ata1: SATA max UDMA/133 mmio [mem 0x70027000-0x70028fff] port 0x100 irq 370
[ 5.784701] ata2: DUMMY
[ 5.791976] tegra-xudc-new 700d0000.xudc: USB charger detection disabled
[ 5.800511] tegra-xudc-new 700d0000.xudc: entering ELPG
[ 5.807908] tegra21x-padctl-uphy 7009f000.pinctrl: trying to assert IDDQ while XUSB partitions are on
[ 5.808751] tegra_core_action core_dvfs_cdev_floor: Tegra CORE DVFS ‘floor cooling device’ registered
[ 5.809776] tegra_core_action core_dvfs_cdev_cap: Tegra CORE DVFS ‘cap cooling device’ registered
[ 5.810168] tegra_dfll_action dfll-cdev-cap: Tegra DFLL ‘cap cooling device’ registered
[ 5.810830] tegra_dfll_action dfll-cdev-floor: Tegra DFLL ‘floor cooling device’ registered
[ 5.812650] tegra124-dfll 70110000.clock: entered closed loop mode
[ 5.815244] xhci-tegra 70090000.xusb: UTMI port 0 has OTG_CAP
[ 5.815246] xhci-tegra 70090000.xusb: No USB3 port has OTG_CAP
[ 5.885108] tegra-xudc-new 700d0000.xudc: entering ELPG done
[ 5.885713] xhci-tegra 70090000.xusb: Direct firmware load for tegra21x_xusb_firmware failed with error -2
[ 5.885715] xhci-tegra 70090000.xusb: Falling back to user helper
[ 5.888028] input: gpio-keys as /devices/gpio-keys/input/input2
[ 5.928653] tegra_rtc 7000e000.rtc: setting system clock to 2019-06-17 09:23:47 UTC (1560763427)
[ 5.940433] vi 54080000.vi: vi_probe: ++
[ 5.955176] vi 54080000.vi: initialized
[ 5.965145] vi 54080000.vi: ep of_device is not enabled /host1x/vi/ports/port@0/endpoint.
[ 5.975180] vi 54080000.vi: ep of_device is not enabled /host1x/vi/ports/port@1/endpoint.
[ 5.985244] vi 54080000.vi: ep of_device is not enabled /host1x/vi/ports/port@2/endpoint.
[ 5.995307] vi 54080000.vi: ep of_device is not enabled /host1x/vi/ports/port@3/endpoint.
[ 6.005370] vi 54080000.vi: all channel register failed
[ 6.012408] Disable partitions left on by BL
[ 6.017609] disb
[ 6.032180] DRAM derating cdev registered.
[ 6.037930] vdd-cpu-fixed: disabling
[ 6.042376] vdd-cam-hv: disabling
[ 6.046633] avdd-ts-hv: disabling
[ 6.050875] vdd-ts: disabling
[ 6.054749] max77620-gpio7: disabling
[ 6.059406] lcd-bl-en: disabling
[ 6.063393] en-vdd-sd: disabling
[ 6.067347] en-vdd-cam: disabling
[ 6.071365] aux-3v3: disabling
[ 6.075088] snsr_pm: disabling
[ 6.078778] vdd-disp-3v0: disabling
[ 6.082898] vdd-fan: disabling
[ 6.086585] usb-vbus1: disabling
[ 6.090430] en-vdd-ts-1v8: disabling
[ 6.094598] en-vdd-ts-hv-3v3: disabling
[ 6.098996] en-vdd-disp-3v3: disabling
[ 6.103277] en-mdm-pwr-3v7: disabling
[ 6.107444] en-vdd-disp-1v8: disabling
[ 6.111333] ata1: SATA link down (SStatus 0 SControl 300)
[ 6.117538] en-vdd-cam-hv-2v8: disabling
[ 6.121910] rtl-5v0: disabling
[ 6.125393] en-usb-vbus2: disabling
[ 6.129301] en-vdd-cam-1v2: disabling
[ 6.133380] en-vdd-vcm-2v8: disabling
[ 6.137445] en-vdd-cam-1v2-alt: disabling
[ 6.143424] ALSA device list:
[ 6.146778] #0: tegra-hda at 0x70038000 irq 348
[ 6.151910] #1: tegra-snd-t210ref-mobile-rt565x
[ 6.158371] EXT4-fs (mmcblk0p1): couldn’t mount as ext3 due to feature incompatibilities
[ 6.168453] EXT4-fs (mmcblk0p1): couldn’t mount as ext2 due to feature incompatibilities
[ 6.182583] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 6.191865] VFS: Mounted root (ext4 filesystem) on device 179:1.
[ 6.201033] devtmpfs: mounted
[ 6.204966] Freeing unused kernel memory: 1208K (ffffffc001185000 - ffffffc0012b3000)
[ 6.214184] Freeing alternatives memory: 76K (ffffffc0012b3000 - ffffffc0012c6000)
[ 6.235503] btb inv war enabled
[ 6.319460] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 6.331663] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 6.342592] random: systemd: uninitialized urandom read (16 bytes read, 55 bits of entropy available)
[ 6.354822] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[ 6.376127] systemd[1]: Detected architecture arm64.
[ 6.387315] systemd[1]: Set hostname to .
[ 6.408238] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 6.421616] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 6.422003] random: systemd: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 6.422921] random: systemd: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 6.457328] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 6.469396] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 57 bits of entropy available)
[ 6.486599] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 58 bits of entropy available)
[ 6.615762] systemd[1]: Configuration file /etc/systemd/system/station-driver.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 6.657120] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 6.667960] systemd[1]: Reached target Remote File Systems (Pre).
[ 6.676373] systemd[1]: Listening on udev Kernel Socket.
[ 6.683953] systemd[1]: Reached target Encrypted Volumes.
[ 6.691600] systemd[1]: Reached target Swap.
[ 6.698788] systemd[1]: Created slice User and Session Slice.
[ 6.707275] systemd[1]: Created slice System Slice.
[ 6.714257] systemd[1]: Reached target Slices.
[ 6.721305] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 6.729648] systemd[1]: Listening on Syslog Socket.
[ 6.736525] systemd[1]: Listening on Journal Socket.
[ 6.744697] systemd[1]: Mounting Debug File System…
[ 6.756947] systemd[1]: Starting Load Kernel Modules…
[ 6.770423] systemd[1]: Started Braille Device Support.
[ 6.779505] systemd[1]: Starting Create list of required static device nodes for the current kernel…
[ 6.791749] systemd[1]: Reached target Remote File Systems.
[ 6.800741] systemd[1]: Starting LSB: controls configuration of serial ports…
[ 6.812644] systemd[1]: Mounting POSIX Message Queue File System…
[ 6.822682] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 6.831780] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 6.840882] systemd[1]: Reached target User and Group Name Lookups.
[ 6.844004] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
[ 6.856353] systemd[1]: Listening on Journal Socket (/dev/log).
[ 6.864524] systemd[1]: Listening on Journal Audit Socket.
[ 6.873675] systemd[1]: Starting Journal Service…
[ 6.880846] systemd[1]: Listening on udev Control Socket.
[ 6.891749] systemd[1]: Mounted POSIX Message Queue File System.
[ 6.900034] systemd[1]: Mounted Debug File System.
[ 6.908465] systemd[1]: Started Load Kernel Modules.
[ 6.918522] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 6.933567] systemd[1]: Started Remount Root and Kernel File Systems.
[ 7.012876] systemd[1]: Starting udev Coldplug all Devices…
[ 7.022284] systemd[1]: Starting Load/Save Random Seed…
[ 7.031447] systemd[1]: Starting Create Static Device Nodes in /dev…
[ 7.041614] systemd[1]: Mounting FUSE Control File System…
[ 7.050854] systemd[1]: Starting Apply Kernel Variables…
[ 7.060144] systemd[1]: Mounting Configuration File System…
[ 7.071812] systemd[1]: Mounted Configuration File System.
[ 7.079438] systemd[1]: Mounted FUSE Control File System.
[ 7.087097] systemd[1]: Started Journal Service.
[ 7.165824] systemd-journald[235]: Received request to flush runtime journal from PID 1
[ 7.497000] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 7.504573] r8169 0000:02:00.0 eth0: RTL8168f/8111f at 0xffffff800632e000, 00:00:00:00:00:05, XID 08100880 IRQ 424
[ 7.517987] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 7.538254] xhci-tegra 70090000.xusb: cannot find firmware…retry after 1 second
[ 7.823954] using random self ethernet address
[ 7.829993] using random host ethernet address
[ 7.939321] random: nonblocking pool is initialized
[ 7.950964] Mass Storage Function, version: 2009/09/11
[ 7.957619] LUN: removable file: (no medium)
[ 7.968125] using random self ethernet address
[ 7.973623] using random host ethernet address
[ 7.986496] usb0: HOST MAC f2:4e:97:90:e8:c1
[ 7.991662] usb0: MAC 92:66:95:1d:67:17
[ 7.996781] usb1: HOST MAC 66:66:26:55:20:96
[ 8.001891] usb1: MAC 16:6d:7e:fc:80:76
[ 8.006513] tegra-xudc-new 700d0000.xudc: exiting ELPG
[ 8.012945] tegra-xudc-new 700d0000.xudc: exiting ELPG done
[ 8.019227] tegra-xudc-new 700d0000.xudc: ep 0 (type: 0, dir: out) enabled
[ 8.026870] tegra-xudc-new 700d0000.xudc: entering ELPG
[ 8.033031] tegra-xudc-new 700d0000.xudc: entering ELPG done
[ 8.039370] tegra-xudc-new 700d0000.xudc: exiting ELPG
[ 8.047183] tegra-xudc-new 700d0000.xudc: exiting ELPG done
[ 8.053426] tegra-xudc-new 700d0000.xudc: entering ELPG
[ 8.059464] tegra-xudc-new 700d0000.xudc: entering ELPG done
[ 8.276226] device usb0 entered promiscuous mode
[ 8.298328] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 8.308965] l4tbr0: port 1(usb0) entered forwarding state
[ 8.314970] l4tbr0: port 1(usb0) entered forwarding state
[ 8.325828] device usb1 entered promiscuous mode
[ 8.335747] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[ 8.342172] l4tbr0: port 2(usb1) entered forwarding state
[ 8.348151] l4tbr0: port 2(usb1) entered forwarding state
[ 8.527450] l4tbr0: port 1(usb0) entered disabled state
[ 8.533418] l4tbr0: port 2(usb1) entered disabled state
[ 8.539628] r8169 0000:02:00.0 eth1: renamed from eth0
[ 8.613074] xhci-tegra 70090000.xusb: Firmware timestamp: 2017-10-20 11:40:00 UTC, Version: 50.19 release
[ 8.625924] xhci-tegra 70090000.xusb: xHCI Host Controller
[ 8.632273] xhci-tegra 70090000.xusb: new USB bus registered, assigned bus number 1
[ 8.633092] xhci-tegra 70090000.xusb: hcc params 0x0184f525 hci version 0x100 quirks 0x00010810
[ 8.633116] xhci-tegra 70090000.xusb: irq 319, io mem 0x70090000
[ 8.633221] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 8.633224] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.633226] usb usb1: Product: xHCI Host Controller
[ 8.633228] usb usb1: Manufacturer: Linux 4.4.38 xhci-hcd
[ 8.633230] usb usb1: SerialNumber: 70090000.xusb
[ 8.633547] hub 1-0:1.0: USB hub found
[ 8.633570] hub 1-0:1.0: 5 ports detected
[ 8.659009] xhci-tegra 70090000.xusb: xHCI Host Controller
[ 8.659018] xhci-tegra 70090000.xusb: new USB bus registered, assigned bus number 2
[ 8.659145] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 8.659148] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.659150] usb usb2: Product: xHCI Host Controller
[ 8.659152] usb usb2: Manufacturer: Linux 4.4.38 xhci-hcd
[ 8.659154] usb usb2: SerialNumber: 70090000.xusb
[ 8.659601] hub 2-0:1.0: USB hub found
[ 8.659631] hub 2-0:1.0: 4 ports detected
[ 8.971898] usb 2-1: new SuperSpeed USB device number 2 using xhci-tegra
[ 8.996568] usb 2-1: New USB device found, idVendor=0955, idProduct=09ff
[ 9.004345] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 9.013141] usb 2-1: Product: USB 10/100/1000 LAN
[ 9.013144] usb 2-1: Manufacturer: Nvidia
[ 9.013146] usb 2-1: SerialNumber: 000001000000
[ 9.013733] xhci-tegra 70090000.xusb: tegra_xhci_mbox_work mailbox command 6
[ 9.015674] xhci-tegra 70090000.xusb: tegra_xhci_mbox_work mailbox command 6
[ 9.016206] xhci-tegra 70090000.xusb: tegra_xhci_mbox_work mailbox command 6
[ 9.128222] usb 2-1: reset SuperSpeed USB device number 2 using xhci-tegra
[ 9.158314] r8152 2-1:1.0 eth0: v2.09.00 (2017/08/21)
[ 9.169258] r8152 2-1:1.0 eth0: This product is covered by one or more of the following patents:
US6,570,884, US6,115,776, and US6,327,625.

[ 9.211152] IPVS: Creating netns size=1424 id=1
[ 9.476608] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 9.487006] r8169 0000:02:00.0: Direct firmware load for rtl_nic/rtl8168f-2.fw failed with error -2
[ 9.497819] r8169 0000:02:00.0: Falling back to user helper
[ 9.682714] dhd_module_init in
[ 9.686834] found wifi platform device bcmdhd_wlan
[ 9.693915] Power-up adapter ‘DHD generic adapter’
[ 9.699767] wifi_platform_set_power = 1
[ 9.907423] wifi_platform_bus_enumerate device present 1
[ 9.930720] wifi_platform_bus_enumerate device present 0
[ 9.937704] F1 signature read @0x18000000=0x17214354
[ 9.967943] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[ 9.985893] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 9.996060] wifi_platform_prealloc: failed to alloc static mem section 7
[ 10.005399] wifi_platform_get_mac_addr
[ 10.032523] r8169 0000:02:00.0 eth1: unable to load firmware patch rtl_nic/rtl8168f-2.fw (-11)
[ 10.057157] r8169 0000:02:00.0 eth1: link down
[ 10.062771] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 10.073537] Bridge firewalling registered
[ 10.081613] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
[ 10.093456] wl_create_event_handler(): thread:wl_event_handler:40d started
[ 10.093468] CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0xffffffc078041a70
[ 10.119358] dhd_attach(): thread:dhd_watchdog_thread:419 started
[ 10.128635] dhd_attach(): thread:dhd_dpc:41b started
[ 10.135576] dhd_attach(): thread:dhd_rxf:41c started
[ 10.141536] dhd_deferred_work_init: work queue initialized
[ 10.149776] Dongle Host Driver, version 1.201.82 (r)
Compiled in drivers/net/wireless/bcmdhd

I can’t help much, but some initial information may be useful.

Keep in mind that when you query a UART you are really querying the driver, and the driver may not have a means to actually read what the UART is doing…the response you get might be what the driver was told to do regardless of whether the UART can actually do it. It wouldn’t be unusual for an “unknown” UART to function correctly.

You will want to post the output of “sudo lspci -vvv”.

The UARTs appear to share the IRQ 368. The other is an integrated Tegra UART. Those UARTs appear as ttyS1 through ttyS4, which may be a problem.

Understand that the TX1 has its native drivers set up in part via the device tree, but PCI will have its own method of setup which does not use the device tree. The two will not necessarily know about each other and may not cooperate.

In the scheme of the native UARTs the “compatible” entry for each serial UART controller names which drivers the UART can use. As an example:

compatible = "nvidia,tegra114-hsuart";

In one case the driver is a standard 8250 style UART driver (with emulation for 16450, 16550, and 16550A), and in the other driver there is a DMA capability added. When the older 8250 style driver is used the naming convention will use the “ttyS#” naming, and when the DMA driver is used the UART will use the non-conventional “high speed” naming “ttyHS#”. For a native controller case, “ttyS0” and “ttyTHS0” (“THS” is “Tegra High Speed”…in “compatible” device tree “hsuart” is “high speed uart”) are the same hardware, but viewed with two different drivers. It’s probably a bad idea to use both drivers at the same time, the result would be undefined. Both device special files can exist, but I wouldn’t advise actually using both at the same time.

The older 8250 style driver is all that U-Boot understands, and so serial console uses this both in U-Boot and once the Linux kernel is loaded (this is “/dev/ttyS0” which is the same hardware at the end of “/dev/ttyTHS0”). Most of the UART examples you find for a TX1 will use the “ttyTHS#” instead.

There are other UARTs in a TX1 beyond ttyS0/ttyTHS0. For example, J17 on the dev carrier is accessed as “/dev/ttyTHS2”. This is the same hardware as “/dev/ttyS2”.

Do you have a custom carrier board? Or is this the default dev board kit? Assuming the latter, then unless you did something to disable the other UARTs of “/dev/ttyS1” through “/dev/ttyS4”, I would guess that there is a conflict.

You may want to research your specific driver and see if there is a way to move them to “ttyS5” through “ttyS8”. Or you might consider using the device tree to disable conflicting native drivers. Or perhaps you could remove the non-high-speed drivers from the “compatible” list.

Disabling the native UARTs would be something like editing the device tree where you go to the “serial@” of those drivers, and set “status” to be:

status = "disabled";

…I’m not certain, but “disabled” could be “<0x0>;” instead…it depends on the driver as to what the disabled syntax is.

Did you happen to connect the card to an x86 system and see if the same procedure works there? If not, please get the correct procedure (from the manufacturer if required) and try with it.
From the log, it looks nothing wrong from PCIe side and only the procedure seems to be the issue here. Also, can you please confirm if the driver is bound with the device correctly? (by dumping ‘sudo lspci -vvvv’)

Hi linuxdev,vidyas:
Thank you for your patience and help. We have found the resolution from the github(GitHub - Kedia94/MCS99xx-driver-for-TX2)
By unbind the serial driver in kernel and then insmod the 99xx.ko from the github, the card can send and receive data with rts and cts open.
It is strange that if we remove the {PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9904} in the pci id table recompile the kernel and then insmod the 99xx.ko driver ,it still could not work normally.
Anyway, the problem has been basically solved, thanks a lot for your help

Hi liuke:
Can the card send and receive data?
we use EXAR pcie to uart, By unbind the serial driver in kernel ,insmod .ko,There are device files /dev/ttyXR0 and /dev/ttyXR1,But unable to send data,I’m typing at the terminal:
sudo echo 123 >/dev/ttyXR0 …blocking;
But everything works fine on x86,Why,Do you kown?
Does this have anything to do with CONFIG_SERIAL_8250_NR_UARTS and CONFIG_SERIAL_8250_RUNTIME_UARTS?

I don’t know the requirements of that card. There may indeed be specific kernel driver or features required, but if the device special files show up, then that means the driver has loaded.

Serial ports, and the programs using them, tend to need to agree on settings. For example, if you have hardware flow control on, but only echo text to the port, then nothing will show up until you assert the CTS/RTS correctly.

As a test you can use loopback. Take the physical port associated with ttyXR0, and jumper TX to RX, as well as CTS to RTS. Then try to see if a serial console program can see an echo of whatever text is typed. I use gtkterm (“sudo apt-get install gtkterm”). To check at 115200 8N1 without flow control (it doesn’t hurt to have or not have CTS/RTS when the UART is told to not have flow control enabled):

sudo gtkterm -b 8 -t 1 -s 115200 -p /dev/ttyXR0
# ...now type text and look for an echo...

Within gtkterm you could then enable CTS/RTS flow control if you wish.

Hi linuxdev:
Thank you for your advice,insmod .ko I see log,On x86,only successful initialization information is displayed,
The interruption occurs when I enter echo …
But,On tx2,In addition to the successful initialization information,there were several interruptions,There are no more interrupts when I enter echo …
All go into interrupt handlers
iir = serial_in(up, UART_IIR);
if (!(iir & UART_IIR_NO_INT))//x86 to be true,tx to be false
serialxr_handle_port(up);

916 static irqreturn_t serialxr_interrupt(int irq, void *dev_id)
 917 {
 918         struct irq_info *i = dev_id;
 919         struct list_head *l, *end = NULL;
 920         int pass_counter = 0, handled = 0;
 921 
 922         DEBUG_INTR("serialxr_interrupt(%d)...", irq);
 923 
 924         spin_lock(&i->lock);
 925 
 926         l = i->head;
 927         do {
 928                 struct uart_xr_port *up;
 929                 unsigned int iir, lcr;
 930 
 931                 up = list_entry(l, struct uart_xr_port, list);
 932 
 933                 lcr = serial_in(up, UART_LCR);  // store value of LCR
 934                 serial_out(up, UART_LCR, lcr & 0x7F); // ensure LCR bit-7=0      before reading UART_IIR
 935                 iir = serial_in(up, UART_IIR);
 936                 if (!(iir & UART_IIR_NO_INT)) {
 937                         serialxr_handle_port(up);
 938 
 939                         handled = 1;
 940 
 941                         end = NULL;
 942                 } else if (end == NULL)
 943                         end = l;
 944 
 945                 serial_out(up, UART_LCR, lcr); // restore LCR
 946                 l = l->next;
 947 
 948                  /* add INT0 clear */
 949                  serial_in(up,0x80);
 950 
 951                 if (l == i->head && pass_counter++ > 256) {
 952                         /* If we hit this, we're dead. */
 953                         printk(KERN_ERR "serialxr: too much work for "
 954                                 "irq%d\n", irq);
 955                         break;
 956                 }
 957         } while (l != end);
 958 
 959         spin_unlock(&i->lock);
 960 
 961         DEBUG_INTR("end.\n");
 962 
 963         return IRQ_RETVAL(handled);
 964 }

hi wawxh1101:
Does your card use netmos99xx chip? We found the same problem with netmos99xx chips on other arm64 platform chips(hi3559a, rk3399 etc).It seems like the pcie bar0 is used for io space, bar1 is for mmio, but the default driver 8250 set port.iotype = UPIO_PORT using bar0 which lead the card could not be used on arm64.But they all can be solved by remove the default driver and insmod the ko. So we did not spend much time on this problem.

Hi liuke:
Thanks,we use EXAR’s XR17V352 chip ,we also remove the default driver and insmod the ko,but can’t send out the data…Let me think it over.

I’m unsure of the meaning of “The interruption occurs”. Are you speaking of a literal stop of IRQ (which would imply a locked up or failed driver)? If that is the case I couldn’t tell you what the failure is, but #liuke reminds me that DMA and other aspects of the driver may need to change when going from x86 to arm64. If there is a literal driver failure where IRQs stop upon echo, then I’d have to wonder if the driver was properly ported to arm64 (is the driver one which ships with 64-bit ARM, or was this added from some outside code source?).

Thanks linuxdev,help me troubleshoot problems,but I don’t think the reason is DMA or anything,Here are some logs:
On X86 insmod and dmesg:

[  189.332093] xr17v35x: loading out-of-tree module taints kernel.
[  189.332189] xr17v35x: module verification failed: signature and/or required key missing - tainting kernel
[  189.332507] Exar PCIe (XR17V35x) serial driver Revision: 2.2c
[  189.332704] 0000:07:00.0: ttyXR0 at MMIO 0xd8800000 (irq = 16, base_baud = 7812500) is a XR17v35x
[  189.332839] init_one_xrpciserialcard line:0
[  189.332844] 0000:07:00.0: ttyXR1 at MMIO 0xd8800400 (irq = 16, base_baud = 7812500) is a XR17v35x
[  189.332940] init_one_xrpciserialcard line:1

When input “echo 123 >/dev/ttyXR1”

serialxr_startup: FCTR=0xc0
[  329.198205]serialxr_set_termios: Port Index:1 c_ispeed:9600 c_ospeed:9600 baud=9600
[  329.198216] Using the 16x Mode
[  329.198221] XR_17V35X_4XMODE:0 
[  329.198225] XR_17V35X_8XMODE:0 
[  329.198229] XR_17V35X uartclk:125000000 Quot=0x32e
[  329.198235] Hardware Flow Control Disabled
[  329.198236] No Software Flow Control
[  329.198245] AUTO XANY NOT Enabled
[  329.198252] serialxr_set_termios: quot =0x32d quot_fraction=0xc DLD_reg=0x0
[  329.198351] serialxr_interrupt(16)...
[  329.198362] status = 60...
[  329.198381] THRE...
[  329.198392] end.

On tx2 insmod and dmesg:

nvidia@tegra-ubuntu:~/xr17v25x_35x-lnx2.6.32-and-newer-pak$ sudo insmod xr17v35x
.ko                                                                             
[  154.730545] Exar PCIe (XR17V35x) serial driver Revision: 2.2c                
[  154.736638] 0000:01:00.0: ttyXR0 at MMIO 0x50100000 (irq = 388, base_baud = 7
812500) is a XR17v35x                                                           
[  154.745895] init_one_xrpciserialcard line:0                                  
[  154.750114] 0000:01:00.0: ttyXR1 at MMIO 0x50100400 (irq = 388, base_baud = 7
812500) is a XR17v35x                                                           
[  154.759247] init_one_xrpciserialcard line:1                                  
nvidia@tegra-ubuntu:~/xr17v25x_35x-lnx2.6.32-and-newer-pak$ [  156.252785] seria
lxr_startup: FCTR=0x20                                                          
[  156.256609]                                                                  
[  156.256609] serialxr_set_termios: Port Index:1 c_ispeed:9600 c_ospeed:9600 ba
ud=9600[  156.265911] Using the 16x Mode                                        
[  156.269068] XR_17V35X_4XMODE:0                                               
[  156.272367] XR_17V35X_8XMODE:0                                               
[  156.275598] XR_17V35X uartclk:125000000 Quot=0x32e                           
[  156.280478] Hardware Flow Control Disabled                                   
[  156.284581] No Software Flow Control                                         
[  156.288169] AUTO XANY NOT Enabled                                            
[  156.291494] serialxr_set_termios: quot =0x32d quot_fraction=0xc DLD_reg=0x0  
[  156.298597]                                                                  
serialxr_set_termios: Port Index:1 c_ispeed:57600 c_ospeed:57600 baud=57600     
[  156.306659] Using the 16x Mode                                               
[  156.309948] XR_17V35X_4XMODE:0                                               
[  156.313144] XR_17V35X_8XMODE:0                                               
[  156.316310] XR_17V35X uartclk:125000000 Quot=0x88                            
[  156.321060] Hardware Flow Control Disabled                                   
[  156.325153] Software Flow Control Enabled                                    
[  156.329164] AUTO XANY Enabled                                                
[  156.332133] serialxr_set_termios: quot =0x87 quot_fraction=0xa DLD_reg=0x0   
[  156.339127]                                                                  
serialxr_set_termios: Port Index:1 c_ispeed:0 c_ospeed:0 baud=9600              
[  156.346387] Using the 16x Mode                                               
[  156.349656] XR_17V35X_4XMODE:0                                               
[  156.352825] XR_17V35X_8XMODE:0                                               
[  156.355997] XR_17V35X uartclk:125000000 Quot=0x32e                           
[  156.360810] Hardware Flow Control Disabled                                   
[  156.364899] Software Flow Control Enabled                                    
[  156.368906] AUTO XANY Enabled                                                
[  156.371874] serialxr_set_termios: quot =0x32d quot_fraction=0xc DLD_reg=0x0  
[  156.379061] serialxr_startup: FCTR=0xc0                                      
[  156.382759]                                                                  
[  156.382759] serialxr_set_termios: Port Index:0 c_ispeed:9600 c_ospeed:9600 ba
ud=9600[  156.392023] Using the 16x Mode                                    
[  156.395104] XR_17V35X_4XMODE:0                                               
[  156.398240] XR_17V35X_8XMODE:0                                               
[  156.401398] XR_17V35X uartclk:125000000 Quot=0x32e                           
[  156.406194] Hardware Flow Control Disabled                                   
[  156.410282] No Software Flow Control                                         
[  156.413858] AUTO XANY NOT Enabled                                            
[  156.417170] serialxr_set_termios: quot =0x32d quot_fraction=0xc DLD_reg=0x0  
[  156.424154]                                                                  
serialxr_set_termios: Port Index:0 c_ispeed:57600 c_ospeed:57600 baud=57600     
[  156.432159] Using the 16x Mode                                               
[  156.435399] XR_17V35X_4XMODE:0                                               
[  156.438535] XR_17V35X_8XMODE:0                                               
[  156.441681] XR_17V35X uartclk:125000000 Quot=0x88                            
[  156.446389] Hardware Flow Control Disabled                                   
[  156.450477] Software Flow Control Enabled                                    
[  156.454483] AUTO XANY Enabled                                                
[  156.457449] serialxr_set_termios: quot =0x87 quot_fraction=0xa DLD_reg=0x0   
[  156.464357]                                                                  
serialxr_set_termios: Port Index:0 c_ispeed:0 c_ospeed:0 baud=9600              
[  156.471584] Using the 16x Mode                                               
[  156.474818] XR_17V35X_4XMODE:0                                               
[  156.477963] XR_17V35X_8XMODE:0                                               
[  156.481108] XR_17V35X uartclk:125000000 Quot=0x32e                           
[  156.485901] Hardware Flow Control Disabled                                   
[  156.489990] Software Flow Control Enabled                                    
[  156.493996] AUTO XANY Enabled                                                
[  156.496961] serialxr_set_termios: quot =0x32d quot_fraction=0xc DLD_reg=0x0  
[  156.503949]                                                                  
serialxr_set_termios: Port Index:1 c_ispeed:57600 c_ospeed:57600 baud=57600     
[  156.511957] Using the 16x Mode                                               
[  156.515197] XR_17V35X_4XMODE:0                                               
[  156.518332] XR_17V35X_8XMODE:0                                               
[  156.521479] XR_17V35X uartclk:125000000 Quot=0x88                            
[  156.526188] Hardware Flow Control Disabled                                   
[  156.530276] Software Flow Control Enabled                                    
[  156.534283] AUTO XANY Enabled                                                
[  156.537249] serialxr_set_termios: quot =0x87 quot_fraction=0xa DLD_reg=0x0   
[  156.544195] serialxr_interrupt(388)...end.                                   
[  156.548335] serialxr_interrupt(388)...end.                                   
[  156.604589]                                                                  
serialxr_set_termios: Port Index:0 c_ispeed:57600 c_ospeed:57600 baud=57600     
[  156.612630] Using the 16x Mode                                               
[  156.615908] XR_17V35X_4XMODE:0                                               
[  156.619093] XR_17V35X_8XMODE:0                                               
[  156.622256] XR_17V35X uartclk:125000000 Quot=0x88                            
[  156.627013] Hardware Flow Control Disabled                                   
[  156.631107] Software Flow Control Enabled                                    
[  156.635118] AUTO XANY Enabled                                                
[  156.638088] serialxr_set_termios: quot =0x87 quot_fraction=0xa DLD_reg=0x0   
[  156.645093] serialxr_interrupt(388)...end.                                   
[  156.649240] serialxr_interrupt(388)...end.                                   
[  168.015385] serialxr_startup: FCTR=0xe3                                      
[  168.019172]                                                                  
[  168.019172] serialxr_set_termios: Port Index:1 c_ispeed:57600 c_ospeed:57600 
baud=57600[  168.028831] Using the 16x Mode                                     
[  168.031992] XR_17V35X_4XMODE:0                                               
[  168.035237] XR_17V35X_8XMODE:0                                               
[  168.038388] XR_17V35X uartclk:125000000 Quot=0x88                            
[  168.043178] Hardware Flow Control Disabled                                   
[  168.047278] Software Flow Control Enabled                                    
[  168.051294] AUTO XANY Enabled                                                
[  168.054270] serialxr_set_termios: quot =0x87 quot_fraction=0xa DLD_reg=0x0   
[  168.061277]                                                                  
serialxr_set_termios: Port Index:1 c_ispeed:115200 c_ospeed:115200 baud=115200  
[  168.069587] Using the 16x Mode                                               
[  168.072876] XR_17V35X_4XMODE:0                                               
[  168.076069] XR_17V35X_8XMODE:0                                               
[  168.079254] XR_17V35X uartclk:125000000 Quot=0x44                            
[  168.083980] Hardware Flow Control Disabled                                   
[  168.088073] No Software Flow Control                                         
[  168.091653] AUTO XANY NOT Enabled                                            
[  168.094970] serialxr_set_termios: quot =0x43 quot_fraction=0xd DLD_reg=0x0   
[  168.102004] serialxr_interrupt(388)...end.                                   
[  168.106160] serialxr_interrupt(388)...end.                                   
[  169.013529] serialxr_startup: FCTR=0xe3                                      
[  169.017333]                                                                  
[  169.017333] serialxr_set_termios: Port Index:0 c_ispeed:57600 c_ospeed:57600 
baud=57600[  169.027009] Using the 16x Mode                                     
[  169.030118] XR_17V35X_4XMODE:0                                               
[  169.033352] XR_17V35X_8XMODE:0                                               
[  169.036543] XR_17V35X uartclk:125000000 Quot=0x88                            
[  169.041296] Hardware Flow Control Disabled                                   
[  169.045397] Software Flow Control Enabled                                    
[  169.049415] AUTO XANY Enabled                                                
[  169.052392] serialxr_set_termios: quot =0x87 quot_fraction=0xa DLD_reg=0x0   
[  169.059391]                                                                  
serialxr_set_termios: Port Index:0 c_ispeed:115200 c_ospeed:115200 baud=115200  
[  169.067725] Using the 16x Mode                                               
[  169.071015] XR_17V35X_4XMODE:0                                               
[  169.074187] XR_17V35X_8XMODE:0                                               
[  169.077384] XR_17V35X uartclk:125000000 Quot=0x44                            
[  169.082111] Hardware Flow Control Disabled                                   
[  169.086205] No Software Flow Control                                         
[  169.089787] AUTO XANY NOT Enabled                                            
[  169.093104] serialxr_set_termios: quot =0x43 quot_fraction=0xd DLD_reg=0x0   
[  169.100124] serialxr_interrupt(388)...end.                                   
[  169.104279] serialxr_interrupt(388)...end.

When input “echo 123 >/dev/ttyXR1”

nvidia@tegra-ubuntu:~/xr17v25x_35x-lnx2.6.32-and-newer-pak$ sudo echo 123  >/dev
/ttyXR1                                                                         
[  282.993469] serialxr_startup: FCTR=0xe3                                      
[  282.997322]                                                                  
[  282.997322] serialxr_set_termios: Port Index:1 c_ispeed:115200 c_ospeed:11520
0 baud=115200[  283.007246] Using the 16x Mode                                  
[  283.010341] XR_17V35X_4XMODE:0                                               
[  283.013600] XR_17V35X_8XMODE:0                                               
[  283.016842] XR_17V35X uartclk:125000000 Quot=0x44                            
[  283.021632] Hardware Flow Control Disabled                                   
[  283.025732] No Software Flow Control                                         
[  283.029317] AUTO XANY NOT Enabled                                            
[  283.032640] serialxr_set_termios: quot =0x43 quot_fraction=0xd DLD_reg=0x0

insmod ko,had twice irq,There was no more interruption ,I don’t know why. The card is to transfer 485/422, Dest not tx support?

There isn’t enough to go by here, but if you’re really using RS-485, then there is more to control than with RS-232. You might want to post the exact serial card you are using, but what I know is based on RS-232. RS-485 starts adding shared bus cooperation to what RS-232 provides (RS-232 does not share a bus).

Or if using RS-422, you would still need to add more details. Regardless, I suspect there is more configuration required for using this card than is required for the average serial UART.

I see a lot of speed settings going on in dmesg, but I have no idea how many ports the card has, nor what extra setup is required as RS-485, nor do I know what else is talking to the bus. I may not be able to help, but to find out you’ll need to provide the exact topology of what ports this card has, and to what each port is connected. Without that I doubt anyone would be able to help.