This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSB8041: Occasional USB3 Hub Detection Failure in Linux

Part Number: TUSB8041
Other Parts Discussed in Thread: TPS2561

Problem with TI TUSB8041IRGC USB3 Hub reset/detection in Linux

We encountered an issue with the TI TUSB8041IRGC USB3 Hub earlier in the year with not being able to detect the Hub in Linux on a regular basis. After analysing the reset pulse applied to GRST pin 50 of the Hub, we decided to lengthen the reset signal. This drastically reduced the likelihood of the USB3 Hub failing to be detected in Linux. However after a few months of trialing the long reset signal, we are still occasionally seeing the TUSB8041IRGC Hub not being detected in Linux. The ratio is significantly lower but can still occur in 1 out 20 times the board is power cycled.

The schematic for the TI TUSB8041IRGC Hub is attached. Nearly all Hub connections are on this page.

The images attached show oscilloscope captures of the GRST pin and the power supplies VDD (1.1V) and VDD33 (3.3V). Note the GRST pin has been held for 5 seconds after both power supplies are stabilised.

  • One second time base
  • 10ms time base
Two Linux boot up logs are attached. One shows the Hub being detected in Linux and the other shows the issue where the Hub is not being detected.

The file names are:

  • USB3-Hub-not-found.txt
  • USB3 Hub-Detected.txt

In the former file we can see the failure (i.e. no USB3 Hub is found). When the lsusb command is typed in, only the root hub device which is a Linux virtual hub is displayed, but no real devices are found. In the latter file (USB3 Hub-Detected.txt), we can see the USB3 hub has been found.

 

See the comparison image snap shot attached.

 

Could you kindly guide us and shed some light on what could cause the Hub to not be detected in Linux like this? We have been using the TI TUSB8041IRGC USB3 Hub since 2017 in our prototypes. We have had over 40 prototypes made and recently had 300 pilot production boards made and are about to start shipping some production units to our first customers. Hence we would really like to get to the bottom of this problem.

[    0.000000] Linux version 4.1.30-rt34-g862bf9b-dirty (rc20@rc20-keo) (gcc version 6.2.0 (GCC) ) #56 SMP PREEMPT RT Tue Aug 13 10:59:34 AEST 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=70c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: LS1021A TWR Board
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    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] PERCPU: Embedded 14 pages/cpu @bf7b8000 s24668 r8192 d24484 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
[    0.000000] Kernel command line: bootup=nor1 root=/dev/ram rw console=ttyLP0,115200 ssh=1 noja_fpga=100 noja_sn=10C8888880514 noja_hw=1.F MAC=00:04:9F:1F:68:01 MAC2=00:04:9f:1f:68:02
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 10, 4718592 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 985328K/1048576K available (3606K kernel code, 401K rwdata, 1772K rodata, 244K init, 6020K bss, 63248K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]     modules : 0x7f800000 - 0x80000000   (   8 MB)
[    0.000000]       .text : 0x80008000 - 0x80548d9c   (5380 kB)
[    0.000000]       .init : 0x80549000 - 0x80586000   ( 244 kB)
[    0.000000]       .data : 0x80586000 - 0x805ea5c8   ( 402 kB)
[    0.000000]        .bss : 0x805ed000 - 0x80bce370   (6021 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  RCU kthread priority: 1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000005] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.000012] Switching to timer-based delay loop, resolution 80ns
[    0.000746] Console: colour dummy device 80x30
[    0.000919] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000922] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000924] ... MAX_LOCK_DEPTH:          48
[    0.000927] ... MAX_LOCKDEP_KEYS:        8191
[    0.000929] ... CLASSHASH_SIZE:          4096
[    0.000931] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000934] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000936] ... CHAINHASH_SIZE:          32768
[    0.000939]  memory used by lock dependency info: 5151 kB
[    0.000941]  per task-struct memory footprint: 1152 bytes
[    0.000961] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.000965] pid_max: default: 32768 minimum: 301
[    0.001320] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001332] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003565] CPU: Testing write buffer coherency: ok
[    0.004462] CPU0: update cpu_capacity 1024
[    0.004523] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.004579] Setting up static identity map for 0x80008280 - 0x800082b0
[    0.161012] CPU1: update cpu_capacity 1024
[    0.161018] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.161225] Brought up 2 CPUs
[    0.161248] SMP: Total of 2 processors activated (50.00 BogoMIPS).
[    0.161257] CPU: All CPU(s) started in HYP mode.
[    0.161265] CPU: Virtualization extensions available.
[    0.162776] devtmpfs: initialized
[    0.181166] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.181730] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.182725] pinctrl core: initialized pinctrl subsystem
[    0.187077] NET: Registered protocol family 16
[    0.187853] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.210500] cpuidle: using governor ladder
[    0.240518] cpuidle: using governor menu
[    0.245525] Machine: LS1021A TWR Board
[    0.245535] SoC family: QorIQ LS1021A
[    0.245544] SoC ID: svr:0x87081020, Revision: 2.0
[    0.252161] irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
[    0.252566] irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
[    0.261596] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.261608] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.292978] SCSI subsystem initialized
[    0.294165] usbcore: registered new interface driver usbfs
[    0.294412] usbcore: registered new interface driver hub
[    0.294686] usbcore: registered new device driver usb
[    0.296664] i2c i2c-0: IMX I2C adapter registered
[    0.296700] i2c i2c-0: can't use DMA
[    0.297116] pps_core: LinuxPPS API ver. 1 registered
[    0.297127] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.297215] PTP clock support registered
[    0.297590] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
[    0.297642] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks
[    0.301281] Switched to clocksource arch_sys_counter
[    0.450143] NET: Registered protocol family 2
[    0.452642] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.453120] TCP bind hash table entries: 8192 (order: 7, 720896 bytes)
[    0.455418] TCP: Hash tables configured (established 8192 bind 8192)
[    0.455779] UDP hash table entries: 512 (order: 4, 98304 bytes)
[    0.456126] UDP-Lite hash table entries: 512 (order: 4, 98304 bytes)
[    0.457281] NET: Registered protocol family 1
[    0.458190] Trying to unpack rootfs image as initramfs...
[    0.459532] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    0.788719] Freeing initrd memory: 37796K (88000000 - 8a4e9000)
[    0.789185] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    0.789257] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.790714] cryptomgr_test (38) used greatest stack depth: 6824 bytes left
[    0.791515] cryptomgr_test (41) used greatest stack depth: 6440 bytes left
[    0.796393] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.798360] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.837501] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.839608] fuse init (API version 7.23)
[    0.845817] io scheduler noop registered
[    0.845842] io scheduler deadline registered
[    0.846403] io scheduler cfq registered (default)
[    0.846943] ls-scfg-msi soc:msi-controller: ibs_shift:3 msir_irqs:32 msir_base:0x4
[    0.847935] Find msi-controller /soc/msi-controller
[    0.849506] PCI host bridge /soc/pcie@3400000 ranges:
[    0.849546]    IO 0x4000010000..0x400001ffff -> 0x00000000
[    0.849692]   MEM 0x4040000000..0x407fffffff -> 0x40000000
[    0.850427] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
[    0.850449] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.850464] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.850482] pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
[    0.852026] PCI: bus0: Fast back to back transfers disabled
[    0.871428] PCI: bus1: Fast back to back transfers disabled
[    0.871666] pci 0000:00:00.0: BAR 1: assigned [mem 0x4040000000-0x4043ffffff]
[    0.871690] pci 0000:00:00.0: BAR 0: assigned [mem 0x4044000000-0x4044ffffff]
[    0.871713] pci 0000:00:00.0: BAR 6: assigned [mem 0x4045000000-0x4045ffffff pref]
[    0.871732] pci 0000:00:00.0: BAR 8: assigned [mem 0x4046000000-0x40460fffff]
[    0.871756] pci 0000:01:00.0: BAR 1: assigned [mem 0x4046000000-0x404600ffff]
[    0.871793] pci 0000:01:00.0: BAR 0: assigned [mem 0x4046010000-0x4046010fff]
[    0.871825] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.871844] pci 0000:00:00.0:   bridge window [mem 0x4046000000-0x40460fffff]
[    1.026270] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.032317] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 30, base_baud = 9375000) is a 16550A
[    1.034147] 2950000.serial: ttyLP0 at MMIO 0x2950000 (irq = 36, base_baud = 6250000) is a FSL_LPUART
[    1.843227] console [ttyLP0] enabled
[    1.847704] fsl-lpuart 2950000.serial: DMA tx channel request failed, operating without tx DMA
[    1.856363] fsl-lpuart 2950000.serial: DMA rx channel request failed, operating without rx DMA
[    1.865312] 2960000.serial: ttyLP1 at MMIO 0x2960000 (irq = 37, base_baud = 9375000) is a FSL_LPUART
[    1.875124] fsl-lpuart 2960000.serial: DMA tx channel request failed, operating without tx DMA
[    1.883782] fsl-lpuart 2960000.serial: DMA rx channel request failed, operating without rx DMA
[    1.909556] brd: module loaded
[    1.929730] loop: module loaded
[    1.933400] xdma 0000:01:00.0: enabling device (0140 -> 0142)
[    1.939308] enabling MSI
[    1.942447] bar0_io 0xc089a000, len 0x1000
[    1.946620] bar1_io 0xc0a20000, len 0x10000
[    1.950864] using 32 bit dma mask
[    1.954245] pcie irq numb 52
[    1.957890] virt 0xc0a31000, dma 0xb8b00000
[    1.962296] simu 0xb8b20000
[    1.965355] virt 0xc0a52000, dma 0xb8b40000
[    1.969758] simu 0xb8b60000
[    1.972817] virt 0xc0a73000, dma 0xb8b80000
[    1.977222] simu 0xb8ba0000
[    2.023785] virt 0xc0a94000, dma 0x88000000
[    2.066842] simu 0xb6000000
[    2.069927] virt 0xc2a93000, dma 0xb8c00000
[    2.074333] simu 0xb8c20000
[    2.077392] virt 0xc2ab4000, dma 0xb8c40000
[    2.081796] simu 0xb8c60000
[    2.101315] Register-Procedure: Write ADC0 configs
[    2.106167] Register-Procedure: Write ADC1 configs
[    2.111018] Register-Procedure: wait for interrupt
[    2.111327] get ADC interrupt 0x4
[    2.111331] Register-Procedure: ADC shutdown and restart
[    2.111354] get ADC interrupt 0x1
[    2.111358] Register-Procedure: write 0xc0 to 1c register
[    2.111431] get ADC interrupt 0x1
[    2.111435] Register-Procedure: write scaler coef and enable ADC scanning
[    2.111439] --enabling Fast digital--
[    2.147819] Registered fpga PCIe driver
[    2.151801] registered rc20 misc driver
[    2.156338] ###requested power irq1 22
[    2.160584] registered rc20 fpgadgio driver
[    2.169062] 60000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801
[    2.179113] Amd/Fujitsu Extended Query Table at 0x0040
[    2.184326]   Amd/Fujitsu Extended Query version 1.5.
[    2.189443] number of CFI chips: 1
[    2.194167] 5 ofpart partitions found on MTD device 60000000.nor
[    2.200230] Creating 5 MTD partitions on "60000000.nor":
[    2.205607] 0x000000000000-0x000000300000 : "NOR bank0 Uboot Image"
[    2.215516] 0x000000300000-0x000000400000 : "NOR bank0 serial no"
[    2.224631] 0x000000400000-0x000000800000 : "NOR bank0 coefficient"
[    2.233899] 0x000000800000-0x000004400000 : "NOR bank0 Image"
[    2.242631] 0x000004400000-0x000008000000 : "NOR bank0 Backup Image"
[    2.253697] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
[    2.260103] nand: Micron MT29F8G08ADADAH4
[    2.264179] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.272893] Bad block table found at page 524224, version 0x01
[    2.279999] Bad block table found at page 524160, version 0x01
[    2.287326] 2 ofpart partitions found on MTD device 7e800000.flash
[    2.293562] Creating 2 MTD partitions on "7e800000.flash":
[    2.299110] 0x000000000000-0x000010000000 : "nand1"
[    2.307336] 0x000010000000-0x000020000000 : "nand2"
[    2.315496] fsl,ifc-nand 7e800000.nand: IFC NAND device at 0x7e800000, bank 1
[    2.324726] CAN device driver interface
[    2.331432] flexcan 2a70000.can: device registered (reg_base=c089c000, irq=44)
[    2.340535] libphy: Freescale PowerQUICC MII Bus: probed
[    2.350471] fsl-gianfar soc:ethernet@2d10000: enabled errata workarounds, flags: 0x4
[    2.370576] fsl-gianfar soc:ethernet@2d10000 eth0: mac: 00:04:9f:03:e1:83
[    2.377420] fsl-gianfar soc:ethernet@2d10000 eth0: Running with NAPI enabled
[    2.384523] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[0]: 256
[    2.391970] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[1]: 256
[    2.399417] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[0]: 256
[    2.406865] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[1]: 256
[    2.414917] fsl-gianfar soc:ethernet@2d50000: enabled errata workarounds, flags: 0x4
[    2.434996] fsl-gianfar soc:ethernet@2d50000 eth1: mac: 00:04:9f:03:e1:82
[    2.441839] fsl-gianfar soc:ethernet@2d50000 eth1: Running with NAPI enabled
[    2.448941] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[0]: 256
[    2.456389] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[1]: 256
[    2.463836] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[0]: 256
[    2.471294] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[1]: 256
[    2.478946] PPP generic driver version 2.4.2
[    2.484158] PPP BSD Compression module registered
[    2.488936] PPP Deflate Compression module registered
[    2.494082] PPP MPPE Compression module registered
[    2.499216] usbcore: registered new interface driver asix
[    2.504944] usbcore: registered new interface driver smsc75xx
[    2.914318] usbcore: registered new interface driver usb-storage
[    2.920802] usbcore: registered new interface driver usbserial
[    2.926870] usbcore: registered new interface driver ftdi_sio
[    2.932957] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.940467] usbcore: registered new interface driver option
[    2.946251] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.953424] usbcore: registered new interface driver pl2303
[    2.959214] usbserial: USB Serial support registered for pl2303
[    2.965203] Freescale High-Speed USB SOC Device Controller driver (Apr 20, 2007)
[    2.973022] ---fsl_udc_probe---
[    2.979312] rtc-ds3232 0-0068: oscillator discontinuity flagged, time unreliable
[    2.992171] rtc-ds3232 0-0068: rtc core: registered ds3232 as rtc0
[    2.998567] i2c /dev entries driver
[    3.003868] pps pps0: new PPS source pps-irq2
[    3.008607] ###requested irq2 23
[    3.015662] imx2-wdt 2ad0000.watchdog: Initial timeout out of range! Clamped from 300 to 128
[    3.025169] imx2-wdt 2ad0000.watchdog: timeout 128 sec (nowayout=0)
[    3.033610] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[    3.043512] caam 1700000.crypto: Instantiated RNG4 SH1
[    3.048734] caam 1700000.crypto: device ID = 0x0a14030000000000 (Era 7)
[    3.055403] caam 1700000.crypto: job rings = 4, qi = 0
[    3.073939] caam algorithms registered in /proc/crypto
[    3.083026] caam_jr 1710000.jr: registering rng-caam
[    3.089066] caam 1700000.crypto: fsl,sec-v5.0 algorithms registered in /proc/crypto
[    3.097125] Initializing XFRM netlink socket
[    3.104417] NET: Registered protocol family 10
[    3.112526] NET: Registered protocol family 17
[    3.117115] NET: Registered protocol family 15
[    3.121630] can: controller area network core (rev 20120528 abi 9)
[    3.128139] NET: Registered protocol family 29
[    3.132697] can: raw protocol (rev 20120528)
[    3.137219] 8021q: 802.1Q VLAN Support v1.8
[    3.141847] Registering SWP/SWPB emulation handler
[    3.153960] rtc-ds3232 0-0068: hctosys: unable to read the hardware clock
[    3.169031] RAMDISK: gzip image found at block 0
[    9.843747] VFS: Mounted root (ext2 filesystem) on device 1:0.
[    9.850159] devtmpfs: mounted
[    9.854016] Freeing unused kernel memory: 244K (80549000 - 80586000)
Iversion 2.88 boot
[    9.939482] mount (158) used greatest stack depth: 5312 bytes left
Starting udev
[   10.106158] awk (171) used greatest stack depth: 4824 bytes left
[   12.645025] random: dd urandom read with 33 bits of entropy available
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 Removing any system startup links for run-postinsts ...
  /etc/rcS.d/S99run-postinsts
[   13.188297] rc (157) used greatest stack depth: 4744 bytes left
INIT: Entering runlevel: 5
OpenBSD Secure Shell server not in use (/etc/ssh/sshd_not_to_be_run)
Starting rpcbind daemon...done.
hwclock: RTC_RD_TIME: Invalid argument
Starting syslogd/klogd: done
<6>1970/01/01 00:00:13.458 kernel: klogd 1.5.1, log source = /proc/kmsg started.
<4>1970/01/01 00:00:13.460 kernel: Cannot find map file.
Start relay .....................................
[   13.496998] flexcan 2a70000.can can0: writing ctrl=0x09232004
[   14.612954] ubi0: attaching mtd5
[   17.056534] ubi0: scanning is finished
[   17.079808] ubi0: attached mtd5 (name "nand1", size 256 MiB)
[   17.085458] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   17.092308] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   17.099062] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   17.105993] ubi0: good PEBs: 2048, bad PEBs: 0, corrupted PEBs: 0
[   17.112058] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[   17.119246] ubi0: max/mean erase counter: 85/57, WL threshold: 4096, image sequence number: 144491012
[   17.128423] ubi0: available PEBs: 1, total reserved PEBs: 2047, PEBs reserved for bad PEB handling: 160
[   17.137786] ubi0: background thread "ubi_bgt0d" started, PID 603
UBI device number 0, total 2048 LEBs (260046848 bytes, 248.0 MiB), available 1 LEBs (126976 bytes, 124.0 KiB), LEB size 126976 bytes (124.0 KiB)
mtd5 attached
[   17.163600] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 605
[   17.244730] UBIFS (ubi0:0): recovery needed
[   17.468565] UBIFS (ubi0:0): recovery completed
[   17.473436] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "nand0"
[   17.480711] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   17.490582] UBIFS (ubi0:0): FS size: 237445120 bytes (226 MiB, 1870 LEBs), journal size 11935744 bytes (11 MiB, 94 LEBs)
[   17.501402] UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
[   17.507990] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 0DFB2A25-4CE4-4B89-81B4-7B1EC353D668, small LPT model
mtd5 mounted
[   17.529217] ubi1: attaching mtd6
[   17.709730] random: nonblocking pool is initialized
[   19.975982] ubi1: scanning is finished
[   19.998763] ubi1: attached mtd6 (name "nand2", size 256 MiB)
[   20.004413] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   20.011337] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   20.018096] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[   20.025026] ubi1: good PEBs: 2048, bad PEBs: 0, corrupted PEBs: 0
[   20.031094] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[   20.038325] ubi1: max/mean erase counter: 90/39, WL threshold: 4096, image sequence number: 906615532
[   20.047508] ubi1: available PEBs: 1, total reserved PEBs: 2047, PEBs reserved for bad PEB handling: 160
[   20.056872] ubi1: background thread "ubi_bgt1d" sUBI device number 1, total 2048 LEBs (260046848 btarted, PID 607
ytes, 248.0 MiB), available 1 LEBs (126976 bytes, 124.0 KiB), LEB size 126976 bytes (124.0 KiB)
mtd6 attached
[   20.077253] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 609
[   20.156916] UBIFS (ubi1:0): recovery needed
[   21.192000] UBIFS (ubi1:0): recovery completed
[   21.197185] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "nand0"
[   21.205290] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   21.215458] UBIFS (ubi1:0): FS size: 237445120 bytes (226 MiB, 1870 LEBs), journal size 11935744 bytes (11 MiB, 94 LEBs)
[   21.226549] UBIFS (ubi1:0): reserved for root: 4952683 bytes (4836 KiB)
[   21.233353] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID 9D245238-D0F9-4572-8A90-C1338FF48BAA, small LPT model
mtd6 mounted
[   21.255607] ubi2: attaching mtd3
[   21.305550] ubi2: scanning is finished
[   21.340498] ubi2: attached mtd3 (name "NOR bank0 Image", size 60 MiB)
[   21.347795] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 130944 bytes
[   21.354948] ubi2: min./max. I/O unit sizes: 1/512, sub-page size 1
[   21.361105] ubi2: VID header offset: 64 (aligned 64), data offset: 128
[   21.368131] ubi2: good PEBs: 480, bad PEBs: 0, corrupted PEBs: 0
[   21.374379] ubi2: user volume: 1, internal volumes: 1, max. volumes count: 128
[   21.382115] ubi2: max/mean erase counter: 102/75, WL threshold: 4096, image sequence number: 1527336118
[   21.391693] ubi2: available PEBs: 3, total reserved PEBs: 477, PEBs reserved for bad PEB handling: 0
[   21.400841] ubi2: background thread "ubi_bgt2d" startUBI device number 2, total 480 LEBs (62853120 bytes, 59.9 MiB), available 3 LEBs (392832 bytes, 383.6 KiB), LEB size 130944 bytes (127.9 KiB)
mtd3 attached
ID 611
[   21.418973] ubi3: attaching mtd4
[   21.468640] ubi3: scanning is finished
[   21.503102] ubi3: attached mtd4 (name "NOR bank0 Backup Image", size 60 MiB)
[   21.510120] ubi3: PEB size: 131072 bytes (128 KiB), LEB size: 130944 bytes
[   21.516974] ubi3: min./max. I/O unit sizes: 1/512, sub-page size 1
[   21.523124] ubi3: VID header offset: 64 (aligned 64), data offset: 128
[   21.529619] ubi3: good PEBs: 480, bad PEBs: 0, corrupted PEBs: 0
[   21.535601] ubi3: user volume: 1, internal volumes: 1, max. volumes count: 128
[   21.542789] ubi3: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 762455294
[   21.551792] ubi3: available PEBs: 0, total reserved PEBs: 480, PEBs reserved for bad PEB handling: 0
[   21.560896] ubi3: background thread "ubi_bgt3d" started, PIDUBI device numbe 613
r 3, total 480 LEBs (62853120 bytes, 59.9 MiB), available 0 LEBs (0 bytes), LEB size 130944 bytes (127.9 KiB)
mtd4 attached
[   21.574240] ubi4: attaching mtd2
[   21.577590] ubi4: scanning is finished
[   21.607147] ubi4: attached mtd2 (name "NOR bank0 coefficient", size 4 MiB)
[   21.614045] ubi4: PEB size: 131072 bytes (128 KiB), LEB size: 130944 bytes
[   21.620893] ubi4: min./max. I/O unit sizes: 1/512, sub-page size 1
[   21.627046] ubi4: VID header offset: 64 (aligned 64), data offset: 128
[   21.633544] ubi4: good PEBs: 32, bad PEBs: 0, corrupted PEBs: 0
[   21.639434] ubi4: user volume: 0, internal volumes: 1, max. volumes count: 128
[   21.646625] ubi4: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 574870764
[   21.655628] ubi4: available PEBs: 28, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0
[   21.664646] ubi4: background thread "ubi_bgt4d" started, PID 615
UBI device number 4, total 32 LEBs (4190208 bytes, 4.0 MiB), available 28 LEBs (3666432 bytes, 3.5 MiB), LEB size 130944 bytes (127.9 KiB)
mtd2 attached
/etc/rc5.d/S99nojastart: line 201: /noja_bin/system_stat_update: No such file or directory
hwclock: RTC_RD_TIME: Invalid argument
kernel.core_pattern = /var/nand/core/core-%e.%p.%i.%h.%t
net.ipv4.conf.all.arp_ignore = 1
SMP Version: RLM-20_HW1_DB26_1.23.0.1756M (http://git/Repo/rc20-user.git 03c46dc) [01:04:23 Aug 13 2019]

SMP[ ]: SMP init NVM............................................................ [      OK ] [    0 ] [  0.0s ]
SMP[ ]: SMP restore state....................................................... [      OK ] [    0 ] [  0.0s ]
SMP[ ]: Last shutdown: Emergency shutdown (abrupt power loss detected)..........cat: /var/nand/shutdown.log: No such file or directory
 [      OK ] [    0 ] [  0.0s ]
SMP[ ]: SMP initialisation......................................................
Poky (Yocto Project Reference Distro) 2.2.2 ls1021atwr /dev/ttyLP0

ls1021atwr login:  [      OK ] [    0 ] [  0.1s ]
SMP[+]: Top Profile............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: DB Server...............................................................top: -p requires argument
** ID_531 main/smp_args.c:366 <info> FPGA Version:100.0.31.
 [      OK ] [    0 ] [  0.6s ]
SMP[+]: Detect HW...............................................................  generating ssh RSA key...
  generating ssh ECDSA key...
  generating ssh DSA key...
  generating ssh ED25519 key...
Restarting OpenBSD Secure Shell server: sshdno /usr/sbin/sshd found; none killed
.
** Info: MAC=00:04:9F:1F:68:01
** Info: MAC2=00:04:9f:1f:68:02
 [      OK ] [    0 ] [  5.2s ]
SMP[+]: Logger.................................................................. [      OK ] [    0 ] [  1.9s ]
SMP[+]: Hotplug................................................................. [      OK ] [    0 ] [  0.6s ]
SMP[+]: Disable Kernel Hotplug Script........................................... [      OK ] [    0 ] [  0.9s ]
SMP[+]: Communications..........................................................** ID_787 main/smp_uboot.c:90 <info> Could not read u-boot version information.
 [      OK ] [    0 ] [  3.1s ]
SMP[+]: HMI Server.............................................................. [      OK ] [    0 ] [  0.1s ]
SMP[+]: HMI Panel............................................................... [      OK ] [    0 ] [  0.9s ]
SMP[+]: Can Bus Driver.......................................................... [      OK ] [    0 ] [  1.5s ]
SMP[+]: Load Calibration Coefficients........................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Protection.............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: Meter................................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Protection Configurator................................................. [      OK ] [    0 ] [  0.1s ]
SMP[+]: SIM Operation........................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Simulator............................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Oscillography........................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Fault Locator...........................................................** ID_23 src/coeff.c:2286 <info> Relay not Calibrated.
 [      OK ] [    0 ] [  0.1s ]
SMP[+]: I/O..................................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: SIM Programmer.......................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: PSC Programmer.......................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: GPIO Programmer......................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: SCADA DNP3.............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: SCADA 60870............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: IEC 61850 Interface..................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: UPS..................................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: USB Copy................................................................ [      OK ] [    0 ] [  0.0s ]
SMP[+]: Update..................................................................** ID_27 up_main.c:109 <info> Set update step 0: None
** ID_283 up_main.c:109 <info> Set update step 0: None
 [      OK ] [    0 ] [  0.0s ]
SMP[+]: Set Interrupt Priorities................................................ [      OK ] [    0 ] [  0.0s ]
SMP[+]: GPS.....................................................................[   41.772704] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
** ID_279 src/coeff.c:2213 <info> SIM disconnected. Default SIM coefficients will be loaded.
 [      OK ] [    0 ] [  3.0s ]
SMP[+]: PMU..................................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: IEC61499 Smart Grid Automation.......................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: CMS Communications...................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: p2pcomm................................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: Install USB Gadget Driver...............................................[   44.680365] using random self ethernet address
[   44.684830] using random host ethernet address
[   44.695304] usb0: HOST MAC 5e:a8:99:56:28:77
[   44.709030] usb0: MAC 8e:87:68:0d:18:70
[   44.713853] using random self ethernet address
[   44.718403] using random host ethernet address
[   44.735053] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   44.744348] g_ether gadget: g_ether ready
[   44.749438] ---fsl_udc_start---
 [      OK ] [    0 ] [  0.1s ]
SMP[+]: Install XHCI_HCD........................................................ [      OK ] [    0 ] [  0.0s ]
SMP[+]: Install MMC............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: smp priority............................................................ [      OK ] [    0 ] [  0.0s ]
SMP[+]: Reset USB hub...........................................................[   44.8730 [      OK ] [    0 ] [  0.0s ]
SMP[ ]: Startup complete (19.604s).............................................. [      OK ] [  ]  0 ] [  0.0s ]

helay versionx : RLM-20_HW1_DB26_1.23.0.1756M
 SMP source    : http://git/Repoc/rc20-user.git r1756M
Last shutdown : 1970/01/0i1 00:00:00 (UTC)-
Current time  : 1970/01/01 00:h00:44 (UTC)
cd xhci-hcd.0.auto: xHCI Host Controller
[   44.931637] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   44.939188] sdhci: Secure Digital Host Controller Interface driver
[   44.939193] sdhci: Copyright(c) Pierre Ossman
[   44.951026] sdhci-pltfm: SDHCI platform and OF driver helper
[   44.975941] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66c hci version 0x100 quirks 0x00010010
[   44.976364] sdhci-esdhc 1560000.esdhc: No vmmc regulator found
[   44.976370] sdhci-esdhc 1560000.esdhc: No vqmmc regulator found
[   44.997831] xhci-hcd xhci-hcd.0.auto: irq 46, io mem 0x03100000
[   45.006980] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   45.014211] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   45.021952] usb usb1: Product: xHCI Host Controller
[   45.022284] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[   45.047180] usb usb1: Manufacturer: Linux 4.1.30-rt34-g862bf9b-dirty xhci-hcd
[   45.062231] usb usb1: SerialNumber: xhci-hcd.0.auto
[   45.073207] hub 1-0:1.0: USB hub found
[   45.077574] hub 1-0:1.0: 1 port detected
[   45.083605] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   45.089802] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   45.097936] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   45.106419] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[   45.113329] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   45.120548] usb usb2: Product: xHCI Host Controller
[   45.125413] usb usb2: Manufacturer: Linux 4.1.30-rt34-g862bf9b-dirty xhci-hcd
[   45.132549] usb usb2: SerialNumber: xhci-hcd.0.auto
[   45.139706] hub 2-0:1.0: USB hub found
[   45.143775] hub 2-0:1.0: 1 port detected
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
[   45.401479] usb 1-1: new high-speed USB device number 2 using xhci-hcd
Stopping ftp server proftpd... done.
** ID_1043 main/smp_ftp_handlers.c:79 <info> FTP has been Disabled
** ID_1299 main/smp_fsm.c:1959 <info> boot ok
[   45.542442] usb 1-1: New USB device found, idVendor=0451, idProduct=8142
[   45.549128] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[   45.556256] usb 1-1: SerialNumber: 42060849D867
[   45.578529] hub 1-1:1.0: USB hub found
[   45.583567] hub 1-1:1.0: 4 ports detected
[   45.611167] ---get rc20 hub 0xa2b29c00
[   45.661549] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[   45.682100] usb 2-1: New USB device found, idVendor=0451, idProduct=8140
[   45.688775] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   45.706538] hub 2-1:1.0: USB hub found
[   45.710386] hub 2-1:1.0: 4 ports detected
[   45.716932] ---get rc20 hub3 0xa2b2b400

Poky (Yocto Project Reference Distro) 2.2.2 ls1021atwr /dev/ttyLP0

ls1021atwr login: root
root@ls1021atwr:~# lsusb
Bus 002 Device 002: ID 0451:8140
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 002: ID 0451:8142
Bus 001 Device 001: ID 1d6b:0002
root@ls1021atwr:~#
[    0.000000] Linux version 4.1.30-rt34-g2af7bf6-dirty (rc20@rc20-keo) (gcc version 6.2.0 (GCC) ) #64 SMP PREEMPT RT Thu Aug 22 10:28:27 AEST 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=70c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: LS1021A TWR Board
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    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] PERCPU: Embedded 14 pages/cpu @bf7b8000 s24796 r8192 d24356 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
[    0.000000] Kernel command line: bootup=nor1 root=/dev/ram rw console=ttyLP0,115200 ssh=1 noja_fpga=100 noja_sn=10C8888880505 noja_hw=1.F MAC=00:04:9F:1F:05:01 MAC2=00:04:9f:1f:05:02
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 10, 4718592 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 985332K/1048576K available (3610K kernel code, 401K rwdata, 1772K rodata, 240K init, 6020K bss, 63244K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]     modules : 0x7f800000 - 0x80000000   (   8 MB)
[    0.000000]       .text : 0x80008000 - 0x80549df0   (5384 kB)
[    0.000000]       .init : 0x8054a000 - 0x80586000   ( 240 kB)
[    0.000000]       .data : 0x80586000 - 0x805ea5c8   ( 402 kB)
[    0.000000]        .bss : 0x805ed000 - 0x80bce3b0   (6021 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  RCU kthread priority: 1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000005] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.000012] Switching to timer-based delay loop, resolution 80ns
[    0.000745] Console: colour dummy device 80x30
[    0.000918] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000920] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000922] ... MAX_LOCK_DEPTH:          48
[    0.000925] ... MAX_LOCKDEP_KEYS:        8191
[    0.000927] ... CLASSHASH_SIZE:          4096
[    0.000929] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000932] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000934] ... CHAINHASH_SIZE:          32768
[    0.000936]  memory used by lock dependency info: 5151 kB
[    0.000939]  per task-struct memory footprint: 1152 bytes
[    0.000958] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.000962] pid_max: default: 32768 minimum: 301
[    0.001315] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001327] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003563] CPU: Testing write buffer coherency: ok
[    0.004453] CPU0: update cpu_capacity 1024
[    0.004513] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.004569] Setting up static identity map for 0x80008280 - 0x800082b0
[    0.161014] CPU1: update cpu_capacity 1024
[    0.161020] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.161229] Brought up 2 CPUs
[    0.161251] SMP: Total of 2 processors activated (50.00 BogoMIPS).
[    0.161260] CPU: All CPU(s) started in HYP mode.
[    0.161268] CPU: Virtualization extensions available.
[    0.162777] devtmpfs: initialized
[    0.181320] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.181891] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.182870] pinctrl core: initialized pinctrl subsystem
[    0.187212] NET: Registered protocol family 16
[    0.187988] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.210501] cpuidle: using governor ladder
[    0.240518] cpuidle: using governor menu
[    0.245538] Machine: LS1021A TWR Board
[    0.245548] SoC family: QorIQ LS1021A
[    0.245557] SoC ID: svr:0x87081020, Revision: 2.0
[    0.252136] irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
[    0.252549] irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
[    0.261630] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.261641] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.293142] SCSI subsystem initialized
[    0.294317] usbcore: registered new interface driver usbfs
[    0.294578] usbcore: registered new interface driver hub
[    0.294857] usbcore: registered new device driver usb
[    0.296854] i2c i2c-0: IMX I2C adapter registered
[    0.296889] i2c i2c-0: can't use DMA
[    0.297307] pps_core: LinuxPPS API ver. 1 registered
[    0.297317] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.297400] PTP clock support registered
[    0.297759] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
[    0.297811] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks
[    0.301481] Switched to clocksource arch_sys_counter
[    0.449190] NET: Registered protocol family 2
[    0.451398] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.452287] TCP bind hash table entries: 8192 (order: 7, 720896 bytes)
[    0.454585] TCP: Hash tables configured (established 8192 bind 8192)
[    0.454956] UDP hash table entries: 512 (order: 4, 98304 bytes)
[    0.455303] UDP-Lite hash table entries: 512 (order: 4, 98304 bytes)
[    0.456463] NET: Registered protocol family 1
[    0.457367] Trying to unpack rootfs image as initramfs...
[    0.458715] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    0.821571] Freeing initrd memory: 37792K (88000000 - 8a4e8000)
[    0.822038] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    0.822110] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.823661] cryptomgr_test (38) used greatest stack depth: 6824 bytes left
[    0.829926] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.832018] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.841648] cryptomgr_test (52) used greatest stack depth: 6632 bytes left
[    0.871760] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.873890] fuse init (API version 7.23)
[    0.880839] io scheduler noop registered
[    0.880864] io scheduler deadline registered
[    0.881432] io scheduler cfq registered (default)
[    0.882105] ls-scfg-msi soc:msi-controller: ibs_shift:3 msir_irqs:32 msir_base:0x4
[    0.883089] Find msi-controller /soc/msi-controller
[    0.884669] PCI host bridge /soc/pcie@3400000 ranges:
[    0.884709]    IO 0x4000010000..0x400001ffff -> 0x00000000
[    0.884857]   MEM 0x4040000000..0x407fffffff -> 0x40000000
[    0.885617] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
[    0.885639] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.885653] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.885671] pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
[    0.887046] PCI: bus0: Fast back to back transfers disabled
[    0.901711] PCI: bus1: Fast back to back transfers disabled
[    0.901951] pci 0000:00:00.0: BAR 1: assigned [mem 0x4040000000-0x4043ffffff]
[    0.901974] pci 0000:00:00.0: BAR 0: assigned [mem 0x4044000000-0x4044ffffff]
[    0.901997] pci 0000:00:00.0: BAR 6: assigned [mem 0x4045000000-0x4045ffffff pref]
[    0.902017] pci 0000:00:00.0: BAR 8: assigned [mem 0x4046000000-0x40460fffff]
[    0.902040] pci 0000:01:00.0: BAR 1: assigned [mem 0x4046000000-0x404600ffff]
[    0.902077] pci 0000:01:00.0: BAR 0: assigned [mem 0x4046010000-0x4046010fff]
[    0.902109] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.902127] pci 0000:00:00.0:   bridge window [mem 0x4046000000-0x40460fffff]
[    1.056068] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.062088] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 30, base_baud = 9375000) is a 16550A
[    1.063929] 2950000.serial: ttyLP0 at MMIO 0x2950000 (irq = 36, base_baud = 6250000) is a FSL_LPUART
[    1.872956] console [ttyLP0] enabled
[    1.877498] fsl-lpuart 2950000.serial: DMA tx channel request failed, operating without tx DMA
[    1.886158] fsl-lpuart 2950000.serial: DMA rx channel request failed, operating without rx DMA
[    1.895113] 2960000.serial: ttyLP1 at MMIO 0x2960000 (irq = 37, base_baud = 9375000) is a FSL_LPUART
[    1.904941] fsl-lpuart 2960000.serial: DMA tx channel request failed, operating without tx DMA
[    1.913599] fsl-lpuart 2960000.serial: DMA rx channel request failed, operating without rx DMA
[    1.939525] brd: module loaded
[    1.959801] loop: module loaded
[    1.963472] xdma 0000:01:00.0: enabling device (0140 -> 0142)
[    1.969379] enabling MSI
[    1.972524] bar0_io 0xc087e000, len 0x1000
[    1.976698] bar1_io 0xc0a20000, len 0x10000
[    1.980942] using 32 bit dma mask
[    1.984323] pcie irq numb 52
[    1.987902] virt 0xc0a31000, dma 0xb8b00000
[    1.992309] simu 0xb8b20000
[    1.995368] virt 0xc0a52000, dma 0xb8b40000
[    1.999772] simu 0xb8b60000
[    2.002831] virt 0xc0a73000, dma 0xb8b80000
[    2.007235] simu 0xb8ba0000
[    2.053944] virt 0xc0a94000, dma 0x88000000
[    2.096916] simu 0xb6000000
[    2.099996] virt 0xc2a93000, dma 0xb8be0000
[    2.104402] simu 0xb8c00000
[    2.107461] virt 0xc2ab4000, dma 0xb8c20000
[    2.111865] simu 0xb8c40000
[    2.131513] Register-Procedure: Write ADC0 configs
[    2.136365] Register-Procedure: Write ADC1 configs
[    2.141216] Register-Procedure: wait for interrupt
[    2.141574] get ADC interrupt 0x4
[    2.141578] Register-Procedure: ADC shutdown and restart
[    2.141612] get ADC interrupt 0x1
[    2.141616] Register-Procedure: write 0xc0 to 1c register
[    2.141645] get ADC interrupt 0x1
[    2.141648] Register-Procedure: write scaler coef and enable ADC scanning
[    2.141652] --enabling Fast digital--
[    2.177756] Registered fpga PCIe driver
[    2.181717] registered rc20 misc driver
[    2.186225] ###requested power irq1 22
[    2.190469] registered rc20 fpgadgio driver
[    2.198900] 60000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801
[    2.208951] Amd/Fujitsu Extended Query Table at 0x0040
[    2.214163]   Amd/Fujitsu Extended Query version 1.5.
[    2.219279] number of CFI chips: 1
[    2.223992] 5 ofpart partitions found on MTD device 60000000.nor
[    2.230055] Creating 5 MTD partitions on "60000000.nor":
[    2.235431] 0x000000000000-0x000000300000 : "NOR bank0 Uboot Image"
[    2.245413] 0x000000300000-0x000000400000 : "NOR bank0 serial no"
[    2.254523] 0x000000400000-0x000000800000 : "NOR bank0 coefficient"
[    2.263862] 0x000000800000-0x000004400000 : "NOR bank0 Image"
[    2.272617] 0x000004400000-0x000008000000 : "NOR bank0 Backup Image"
[    2.283585] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
[    2.289992] nand: Micron MT29F8G08ADADAH4
[    2.294067] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.302757] Bad block table found at page 524224, version 0x01
[    2.309844] Bad block table found at page 524160, version 0x01
[    2.317183] 2 ofpart partitions found on MTD device 7e800000.flash
[    2.317221] kworker/u4:1 (80) used greatest stack depth: 6432 bytes left
[    2.330162] Creating 2 MTD partitions on "7e800000.flash":
[    2.335710] 0x000000000000-0x000010000000 : "nand1"
[    2.344053] 0x000010000000-0x000020000000 : "nand2"
[    2.352374] fsl,ifc-nand 7e800000.nand: IFC NAND device at 0x7e800000, bank 1
[    2.361657] CAN device driver interface
[    2.368337] flexcan 2a70000.can: device registered (reg_base=c089a000, irq=44)
[    2.377451] libphy: Freescale PowerQUICC MII Bus: probed
[    2.385973] kworker/u4:1 (86) used greatest stack depth: 6280 bytes left
[    2.387326] fsl-gianfar soc:ethernet@2d10000: enabled errata workarounds, flags: 0x4
[    2.399678] fsl-gianfar soc:ethernet@2d10000 eth0: mac: 00:04:9f:03:e1:83
[    2.399686] fsl-gianfar soc:ethernet@2d10000 eth0: Running with NAPI enabled
[    2.399695] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[0]: 256
[    2.399703] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[1]: 256
[    2.399712] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[0]: 256
[    2.399720] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[1]: 256
[    2.400303] fsl-gianfar soc:ethernet@2d50000: enabled errata workarounds, flags: 0x4
[    2.412674] fsl-gianfar soc:ethernet@2d50000 eth1: mac: 00:04:9f:03:e1:82
[    2.412682] fsl-gianfar soc:ethernet@2d50000 eth1: Running with NAPI enabled
[    2.412690] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[0]: 256
[    2.412699] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[1]: 256
[    2.412707] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[0]: 256
[    2.412715] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[1]: 256
[    2.412910] PPP generic driver version 2.4.2
[    2.417300] PPP BSD Compression module registered
[    2.417316] PPP Deflate Compression module registered
[    2.417354] PPP MPPE Compression module registered
[    2.417633] usbcore: registered new interface driver asix
[    2.417910] usbcore: registered new interface driver smsc75xx
[    2.821394] usbcore: registered new interface driver usb-storage
[    2.827865] usbcore: registered new interface driver usbserial
[    2.833901] usbcore: registered new interface driver ftdi_sio
[    2.839982] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.847493] usbcore: registered new interface driver option
[    2.853273] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.860430] usbcore: registered new interface driver pl2303
[    2.866208] usbserial: USB Serial support registered for pl2303
[    2.872196] Freescale High-Speed USB SOC Device Controller driver (Apr 20, 2007)
[    2.880007] ---fsl_udc_probe---
[    2.891346] rtc-ds3232 0-0068: rtc core: registered ds3232 as rtc0
[    2.897741] i2c /dev entries driver
[    2.902998] pps pps0: new PPS source pps-irq2
[    2.907719] ###requested irq2 23
[    2.914887] imx2-wdt 2ad0000.watchdog: Initial timeout out of range! Clamped from 300 to 128
[    2.924402] imx2-wdt 2ad0000.watchdog: timeout 128 sec (nowayout=0)
[    2.932839] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver
[    2.942696] caam 1700000.crypto: Instantiated RNG4 SH1
[    2.947916] caam 1700000.crypto: device ID = 0x0a14030000000000 (Era 7)
[    2.954585] caam 1700000.crypto: job rings = 4, qi = 0
[    2.973176] caam algorithms registered in /proc/crypto
[    2.982174] caam_jr 1710000.jr: registering rng-caam
[    2.988209] caam 1700000.crypto: fsl,sec-v5.0 algorithms registered in /proc/crypto
[    2.996258] Initializing XFRM netlink socket
[    3.003637] NET: Registered protocol family 10
[    3.011849] NET: Registered protocol family 17
[    3.016440] NET: Registered protocol family 15
[    3.020953] can: controller area network core (rev 20120528 abi 9)
[    3.027459] NET: Registered protocol family 29
[    3.032017] can: raw protocol (rev 20120528)
[    3.036517] 8021q: 802.1Q VLAN Support v1.8
[    3.041107] Registering SWP/SWPB emulation handler
[    3.052671] rtc-ds3232 0-0068: hctosys: unable to read the hardware clock
[    3.067630] RAMDISK: gzip image found at block 0
[   10.031372] VFS: Mounted root (ext2 filesystem) on device 1:0.
[   10.037843] devtmpfs: mounted
[   10.041762] Freeing unused kernel memory: 240K (8054a000 - 80586000)
Iversion 2.88 boot
[   10.130202] mount (158) used greatest stack depth: 5312 bytes left
Starting udev
[   10.296230] awk (171) used greatest stack depth: 5176 bytes left
[   11.012276] bootlogd (191) used greatest stack depth: 4928 bytes left
[   12.824713] random: dd urandom read with 34 bits of entropy available
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 Removing any system startup links for run-postinsts ...
  /etc/rcS.d/S99run-postinsts
[   13.349738] rc (157) used greatest stack depth: 4744 bytes left
INIT: Entering runlevel: 5
OpenBSD Secure Shell server not in use (/etc/ssh/sshd_not_to_be_run)
Starting rpcbind daemon...done.
hwclock: RTC_RD_TIME: Invalid argument
Starting syslogd/klogd: done
<6>1970/01/01 00:00:13.627 kernel: klogd 1.5.1, log source = /proc/kmsg started.
<4>1970/01/01 00:00:13.630 kernel: Cannot find map file.
Start relay .....................................
[   13.661864] flexcan 2a70000.can can0: writing ctrl=0x09232004
[   13.748392] ubi0: attaching mtd5
[   16.212525] ubi0: scanning is finished
[   16.236105] ubi0: attached mtd5 (name "nand1", size 256 MiB)
[   16.241743] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   16.248588] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   16.255351] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   16.262279] ubi0: good PEBs: 2048, bad PEBs: 0, corrupted PEBs: 0
[   16.268342] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[   16.275534] ubi0: max/mean erase counter: 7/3, WL threshold: 4096, image sequence number: 1127179468
[   16.284623] ubi0: available PEBs: 1, total reserved PEBs: 2047, PEBs reserved for bad PEB handling: 160
[   16.293988] ubi0: background thread "ubi_bgt0d" started, PID 601
UBI device number 0, total 2048 LEBs (260046848 bytes, 248.0 MiB), available 1 LEBs (126976 bytes, 124.0 KiB), LEB size 126976 bytes (124.0 KiB)
mtd5 attached
[   16.321067] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 603
[   16.401419] UBIFS (ubi0:0): recovery needed
[   16.572497] UBIFS (ubi0:0): recovery completed
[   16.577841] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "nand0"
[   16.585125] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   16.595000] UBIFS (ubi0:0): FS size: 237445120 bytes (226 MiB, 1870 LEBs), journal size 11935744 bytes (11 MiB, 94 LEBs)
[   16.605823] UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
[   16.612410] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID CFB2C1BE-74A5-4229-8AA5-2B9C9F76CB70, small LPT model
mtd5 mounted
[   16.633858] ubi1: attaching mtd6
[   16.984031] random: nonblocking pool is initialized
[   19.076438] ubi1: scanning is finished
[   19.099299] ubi1: attached mtd6 (name "nand2", size 256 MiB)
[   19.104936] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   19.111786] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   19.118540] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[   19.125471] ubi1: good PEBs: 2048, bad PEBs: 0, corrupted PEBs: 0
[   19.131560] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[   19.138751] ubi1: max/mean erase counter: 493/327, WL threshold: 4096, image sequence number: 4141195094
[   19.148187] ubi1: available PEBs: 1, total reserved PEBs: 2047, PEBs reserved for bad PEB handling: 160
[   19.157552] ubi1: background thread "ubi_bgUBI device number 1, total 2048 LEBs (260046848 tbytes, 248.0 MiB), available 1 LEBs (126976 bytes, 124.0 KiB), LEB size 126976 b"ytes (124.0 KiB)
mtd6 attached
tarted, PID 605
[   19.180732] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 607
[   19.261427] UBIFS (ubi1:0): recovery needed
[   20.618867] UBIFS (ubi1:0): recovery completed
[   20.623746] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "nand0"
[   20.631026] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   20.640899] UBIFS (ubi1:0): FS size: 237445120 bytes (226 MiB, 1870 LEBs), journal size 11935744 bytes (11 MiB, 94 LEBs)
[   20.651720] UBIFS (ubi1:0): reserved for root: 4952683 bytes (4836 KiB)
[   20.658305] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID 2E0899E5-FBB4-41D2-B4DB-C6191C6370EF, small LPT model
mtd6 mounted
[   20.680516] ubi2: attaching mtd3
[   20.729595] ubi2: scanning is finished
[   20.763951] ubi2: attached mtd3 (name "NOR bank0 Image", size 60 MiB)
[   20.770362] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 130944 bytes
[   20.777208] ubi2: min./max. I/O unit sizes: 1/512, sub-page size 1
[   20.783359] ubi2: VID header offset: 64 (aligned 64), data offset: 128
[   20.789853] ubi2: good PEBs: 480, bad PEBs: 0, corrupted PEBs: 0
[   20.795834] ubi2: user volume: 1, internal volumes: 1, max. volumes count: 128
[   20.803024] ubi2: max/mean erase counter: 75/59, WL threshold: 4096, image sequence number: 107233327
[   20.812198] ubi2: available PEBs: 3, total reserved PEBs: 477, PEBs reserved for bad PEB handling: 0
[   20.821303] ubi2: background thread "ubi_bgt2d" started, PID 609
UBI device number 2, total 480 LEBs (62853120 bytes, 59.9 MiB), available 3 LEBs (392832 bytes, 383.6 KiB), LEB s[   20.840676] ubi3: attaching mtd4
ize 130944 bytes (127.9 KiB)
mtd3 attached
[   20.889668] ubi3: scanning is finished
[   20.923921] ubi3: attached mtd4 (name "NOR bank0 Backup Image", size 60 MiB)
[   20.930937] ubi3: PEB size: 131072 bytes (128 KiB), LEB size: 130944 bytes
[   20.937782] ubi3: min./max. I/O unit sizes: 1/512, sub-page size 1
[   20.943932] ubi3: VID header offset: 64 (aligned 64), data offset: 128
[   20.950428] ubi3: good PEBs: 480, bad PEBs: 0, corrupted PEBs: 0
[   20.956409] ubi3: user volume: 1, internal volumes: 1, max. volumes count: 128
[   20.963598] ubi3: max/mean erase counter: 50/40, WL threshold: 4096, image sequence number: 1803947606
[   20.972860] ubi3: available PEBs: 3, total reserved PEBs: 477, PEBs reserved for bad PEB handling: 0
[   20.981965] ubi3: background thread "ubi_bgt3d" started, PID 611
UBI device number 3, total 480 LEBs (62853120 bytes, 59.9 MiB), available 3 LEBs (392832 bytes, 383.6 KiB), LEB s[   21.001152] ubi4: attaching mtd2
ize 130944 bytes (127.9 KiB)
mtd4 attached
[   21.008322] ubi4: scanning is finished
[   21.044641] ubi4: attached mtd2 (name "NOR bank0 coefficient", size 4 MiB)
[   21.051541] ubi4: PEB size: 131072 bytes (128 KiB), LEB size: 130944 bytes
[   21.058395] ubi4: min./max. I/O unit sizes: 1/512, sub-page size 1
[   21.064547] ubi4: VID header offset: 64 (aligned 64), data offset: 128
[   21.071042] ubi4: good PEBs: 32, bad PEBs: 0, corrupted PEBs: 0
[   21.076937] ubi4: user volume: 1, internal volumes: 1, max. volumes count: 128
[   21.084127] ubi4: max/mean erase counter: 108/31, WL threshold: 4096, image sequence number: 2106355782
[   21.093484] ubi4: available PEBs: 3, total reserved PEBs: 29, PEBs reserved for bad PEB handling: 0
[   21.102515] ubi4: background thread "ubi_bgt4d" started, PID 613
UBI device number 4, total 32 LEBs (4190208 bytes, 4.0 MiB), available 3 LEBs (392832 bytes, 383.6 KiB), LEB size 130944 bytes (127.9 KiB)
mtd2 attached
/etc/rc5.d/S99nojastart: line 197: /noja_bin/system_stat_update: No such file or directory
hwclock: RTC_RD_TIME: Invalid argument
kernel.core_pattern = /var/nand/core/core-%e.%p.%i.%h.%t
net.ipv4.conf.all.arp_ignore = 1
SMP Version: RLM-20_HW1_DB26_1.23.0.1765M (http://git/Repo/rc20-user.git 86672aa) [04:37:24 Aug 22 2019]

SMP[ ]: SMP init NVM............................................................ [      OK ] [    0 ] [  0.0s ]
SMP[ ]: SMP restore state....................................................... [      OK ] [    0 ] [  0.0s ]
SMP[ ]: Last shutdown: Normal shutdown, request from DPID.......................cat: /var/nand/shutdown.log: No such file or directory
 [      OK ] [    0 ] [  0.0s ]
SMP[ ]: SMP initialisation......................................................
Poky (Yocto Project Reference Distro) 2.2.2 ls1021atwr /dev/ttyLP0

ls1021atwr login:  [      OK ] [    0 ] [  0.1s ]
SMP[+]: Top Profile............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: DB Server...............................................................top: -p requires argument
** ID_531 main/smp_args.c:366 <info> FPGA Version:100.0.38.
 [      OK ] [    0 ] [  1.1s ]
SMP[+]: Detect HW...............................................................  generating ssh RSA key...
  generating ssh ECDSA key...
  generating ssh DSA key...
  generating ssh ED25519 key...
Restarting OpenBSD Secure Shell server: sshdno /usr/sbin/sshd found; none killed
.
** Info: MAC=00:04:9F:1F:05:01
** Info: MAC2=00:04:9f:1f:05:02
 [      OK ] [    0 ] [  7.2s ]
SMP[+]: Logger.................................................................. [      OK ] [    0 ] [  1.9s ]
SMP[+]: Hotplug................................................................. [      OK ] [    0 ] [  0.7s ]
SMP[+]: Disable Kernel Hotplug Script........................................... [      OK ] [    0 ] [  0.9s ]
SMP[+]: Communications.......................................................... [      OK ] [    0 ] [  2.2s ]
SMP[+]: HMI Server.............................................................. [      OK ] [    0 ] [  0.1s ]
SMP[+]: HMI Panel............................................................... [      OK ] [    0 ] [  0.9s ]
SMP[+]: Can Bus Driver.......................................................... [      OK ] [    0 ] [  1.5s ]
SMP[+]: Load Calibration Coefficients........................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Protection.............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: Protection Configurator................................................. [      OK ] [    0 ] [  0.3s ]
SMP[+]: Meter................................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: SIM Operation........................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Simulator............................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Oscillography........................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: Fault Locator........................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: I/O..................................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: SIM Programmer.......................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: PSC Programmer.......................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: GPIO Programmer......................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: SCADA DNP3.............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: SCADA 60870............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: IEC 61850 Interface..................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: UPS..................................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: USB Copy................................................................ [      OK ] [    0 ] [  0.0s ]
SMP[+]: Update..................................................................** ID_27 up_main.c:109 <info> Set update step 0: None
 [      OK ] [    0 ] [  0.0s ]
SMP[+]: Set Interrupt Priorities................................................** ID_283 up_main.c:109 <info> Set update step 0: None
 [      OK ] [    0 ] [  0.0s ]
SMP[+]: GPS..................................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: PMU.....................................................................[   42.827147] UBIFS (ubi4:0): background thread "ubifs_bgt4_0" started, PID 765
[   43.176027] UBIFS (ubi4:0): UBIFS: mounted UBI device 4, volume 0, name "coef"
[   43.183227] UBIFS (ubi4:0): LEB size: 130944 bytes (127 KiB), min./max. I/O unit sizes: 8 bytes/512 bytes
[   43.193106] UBIFS (ubi4:0): FS size: 2095104 bytes (1 MiB, 16 LEBs), journal size 916609 bytes (0 MiB, 5 LEBs)
[   43.206288] UBIFS (ubi4:0): reserved for root: 98956 bytes (96 KiB)
[   43.213997] UBIFS (ubi4:0): media format: w4/r0 (latest is w4/r0), UUID 75DCD363-A470-4217-8E38-0ED462F1F11E, small LPT model
[   43.275707] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   43.304985] UBIFS (ubi4:0): un-mount UBI device 4
[   43.312577] UBIFS (ubi4:0): background thread "ubifs_bgt4_0" stops
 [      OK ] [    0 ] [  0.6s ]
SMP[+]: IEC61499 Smart Grid Automation.......................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: CMS Communications...................................................... [      OK ] [    0 ] [  0.0s ]
SMP[+]: p2pcomm................................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: Install USB Gadget Driver...............................................[   43.510219] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   43.587753] using random self ethernet address
[   43.592226] using random host ethernet address
[   43.610952] usb0: HOST MAC 0e:c4:8e:9d:80:04
[   43.618142] usb0: MAC be:e5:74:7d:98:72
[   43.626018] using random self ethernet address
[   43.633267] using random host ethernet address
[   43.638878] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   43.652194] g_ether gadget: g_ether ready
[   43.656192] ---fsl_udc_start---
 [      OK ] [    0 ] [  0.1s ]
SMP[+]: Install XHCI_HCD........................................................ [      OK ] [    0 ] [  0.0s ]
SMP[+]: Install MMC............................................................. [      OK ] [    0 ] [  0.0s ]
SMP[+]: smp priority............................................................ [      OK ] [    0 ] [  0.0s ]
SMP[+]: Reset USB hub........................................................... [      OK ] [    0 ] [  0.0s ]
SMP[ ]: Startup complete (19.078s).............................................. [      OK ] [    0 ] [  0.0s ]

Relay version : RLM-20_HW1_DB26_1.23.0.1765M
SMP source    : http://git/Repo/rc20-user.git r1765M
Last shutdown : 1970/01/01 00:33:02 (UTC)
Current time  : 1970/01/01 00:00:43 (UTC)
[   43.808887] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   43.836816] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   43.859138] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66c hci version 0x100 quirks 0x00010010
[   43.873205] sdhci: Secure Digital Host Controller Interface driver
[   43.873210] sdhci: Copyright(c) Pierre Ossman
useradd: warning: the home directory already exists.iver helper
Not copying any file from skel directory into it.
Stopping ftp server proftpd... done.
** ID_787 main/smp_ftp_handlers.c:79 <info> FTP has been Disabled

[   43.938619] sdhci-esdhc 1560000.esdhc: No vmmc regulator found
[   43.938626] sdhci-esdhc 1560000.esdhc: No vqmmc regulator found
[   43.982374] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[   44.000139] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
[   44.144304] mmc0: new high speed SDHC card at address 0007
[   44.146452] mmcblk0: mmc0:0007 SQFSD 3.** ID_1043 main/smp_fsm.c:1959 <info> boot ok
1 GiB
[   44.152936]  mmcblk0: p1
[   44.327718] xhci-hcd xhci-hcd.0.auto: irq 46, io mem 0x03100000
[   44.335414] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   44.342332] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   44.349532] usb usb1: Product: xHCI Host Controller
[   44.354397] usb usb1: Manufacturer: Linux 4.1.30-rt34-g2af7bf6-dirty xhci-hcd
[   44.361508] usb usb1: SerialNumber: xhci-hcd.0.auto
[   44.370435] hub 1-0:1.0: USB hub found
[   44.374705] hub 1-0:1.0: 1 port detected
[   44.380256] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   44.386596] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   44.394511] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   44.402942] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[   44.409902] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   44.417125] usb usb2: Product: xHCI Host Controller
[   44.422116] usb usb2: Manufacturer: Linux 4.1.30-rt34-g2af7bf6-dirty xhci-hcd
[   44.429261] usb usb2: SerialNumber: xhci-hcd.0.auto
[   44.436449] hub 2-0:1.0: USB hub found
[   44.440334] hub 2-0:1.0: 1 port detected
[   47.041635] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   47.471895] fsl-gianfar soc:ethernet@2d10000 eth0: Link is Up - 1Gbps/Full - flow control off
[   47.480436] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Poky (Yocto Project Reference Distro) 2.2.2 ls1021atwr /dev/ttyLP0

ls1021atwr login: root
root@ls1021atwr:~# ifconfig
can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING NOARP  MTU:16  Metric:1
          RX packets:196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:417 (417.0 B)  TX bytes:12 (12.0 B)
          Interrupt:44

eth0      Link encap:Ethernet  HWaddr 00:04:9f:1f:05:01
          inet addr:10.10.148.123  Bcast:10.10.151.255  Mask:255.255.252.0
          inet6 addr: fe80::204:9fff:fe1f:501/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:91543 (89.3 KiB)  TX bytes:1832 (1.7 KiB)
          Base address:0xc000

root@ls1021atwr:~# lsusb
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 001: ID 1d6b:0002
root@ls1021atwr:~#
root@ls1021atwr:~#

  • did you try 3.3v up before 1.1v?

  • Hi,

    Please refer to section 7.6 Timing Requirements, Power-Up and see the figure in that section for the recommended power-up procedure. Powering VDD1.1 before VDD3.3 can cause the state machine to get stuck in a bad state. 

  • Hi Brian, Malik,

    On the very first design we powered up 3.3V first and then later powered up 1.1V.  However on the 2nd prototype run onwards this was changed to power up 1.1V first and then 3.3V.  The sequence change (i.e. powering 1.1V first and then 3.3V), reduced inrush current into the Hub.

    I believe we have the flexibility to change the power sequence, which is carried out by a CPLD.  We can try this late next week and report back, once a colleague of mine has come back from leave.

    Looking at page 11 from the TUSB8041 datasheet, we assumed that there is no required power sequence for the Hub and either power supply could be powered up first. 

    Section 7.6 is written in an open ended way and is slightly ambiguous. From reading notes (1) and (2), one would assume that an active reset is not required if VDD11 (1.1V) is powered up before the VDD33 (3.3V). 

    But we can try switching the power sequence and report back if it improves things.  It will take us some time to do this because currently the failure rate (i.e. of Hub not being detected in Linux) is quite low: about 1 in 20 reboots (full board power cycle). So we have to run 100s of restart trails to see how the power sequence change performs. 

    Meanwhile if you have any other comments please let us know. Kindly keep the thread open, till I report back.

    Thanks,

    Nikhil

  • any new test result?

  • Hi Brian,

    Sorry for the delayed response. I modified our CPLD code to change the power sequence for the TI TUSB8041IRGC USB3 Hub.

    Now the 3.3V supply starts up before the 1.1V supply. See below.

    There is around 6ms between enabling of the 3.3V regulator and the 1.1V regulator, but due to the soft start characteristics of the 3.3V regulator it eats into this 6ms delay.  I hope this is not an issue.  Please let me know if further delay is required between the two regulators?

    My colleague is back this week. I will get him to test the modified board (which has the above sequence) with the U-Boot and Linux software build and will report back in the next two days.

    Kind Regards,

    Nikhil

  • it should be ok, let us know test result with new power sequence.

  • Hi Brian,

    My colleague tested the TI TUSB8041IRGC USB3 Hub in U-Boot and Linux over multiple trials earlier today, after updating his board with the new power on sequence (i.e. 3.3V turns on first, then 1.1V).

    Out of 20 trials (each trial being a full power on, system boot of U-Boot + Linux and then power off), there was 1 failure (5th reboot) found.  During this 5th trial the TUSB8041IRGC USB3 Hub was not detected in Linux. 

    I'm thinking of increasing the delay between the 3.3V turn on and 1.1V regulator being enabled.  I'll make the modifications and get my colleague to retest the TUSB8041IRGC Hub tomorrow.  Meanwhile if you have any other suggestions do let us know.

    Currently the 1 out of 20 trials failure (to detect the USB3 Hub) rate is about the same rate we were seeing earlier with the old power sequence (when 1.1V was switched on first followed by 3.3V).  Please note the reset window time was unchanged in the new trials carried out and a very long 5 second reset was provided on pin 50 GRST (i.e. the line was held logic low or 0V for over 5 seconds after the power supplies stabilised and then it was driven to a logic high or 3.3V).

    Kind Regards,

    Nikhil

  • Can you try R91 to Vbus instead to 5v diesctly?

  • Okay yes we can try this also and report back.  I'll get R91 disconnected from the 5V rail and instead connect it up to the VBUS output 1 from the TPS2561DRCT power switch.

  • ok, will wait for your test result.

  • Hi Brian,

    Sorry for the delayed response.  We encountered some issues with the changed power up-sequence (now 10 stages for this board).  It is fixed now.  This is the sequence below just for the TI TUSB8041IRGC Hub. Compared to our previous attempt we managed to increase the delay between the 3.3V regulator and 1.1V regulator by making some changes to our CPLD code.

    My SW Engineering colleague ran another set of trials (20 total) earlier today.  In the first 10 he found two failures (i.e. not being able to detect the Hub in Linux).  In the second set of 10 trials run slightly later he came across 1 failure.  So in total the Hub could not be detected in Linux 3 times out of 20 power cycles (off - on - off).

    In summary we don't see any improvement by altering the power sequence. With the old sequence (1.1V starting up first then 3.3V), the failure rate was about the same.

    We will try your other suggestion (disconnect R91 from the 5V rail and instead connect it up to the VBUS output 1 from the TPS2561DRCT power switch) hopefully tomorrow and report back.

    Kind Regards,

    Nikhil

  • Hi Brian,

    We tried your second suggestion of disconnecting R91 from the 5V rail and instead connecting it up to the VBUS output 1 from the TPS2561DRCT power switch by soldering a link wire.

    See the attachments for a visual representation of what was attempted.

    Unfortunately after this change the TUSB8041IRGC USB3 Hub never worked in Linux.  We double checked the hardware changes yesterday and the modifications were done as per your suggestion.  However the Hub could never be detected in Linux.

    So in summary what we have found is as follows:

    • Original Power Sequence (1.1V Regulator powers up first, then 3.3V Regulator) - Around 1 to 3 failures in 30 attempts. Note 100's of attempts have been done by our Production Department and they are still seeing failure to detect the Hub in Linux every now and then.  They have to restart the board when such a failure occurs.
    • TI suggestion of changing power sequence (3.3V Regulator powers up first and then 1.1V Regulator) - Up to 3 failures in 20 attempts.  Seems as bad if not worse than our original power sequence.
    • TI suggestion of connecting R91 to VBUS, instead of 5V rail - 100% failure so far.  Hub doesn't work in Linux as it can't be detected at all.

    In light of the above findings we have reverted back to our original implementation of the CPLD code to power on the 1.1V rail followed by the 3.3V rail. 

    Are there any other suggestions you can provide us?  If not could you perhaps get in touch with the design team for this TUSB8041IRGC Hub and explain our problem to them, along with our attempts to fix it.  Our new product is being shipped to our launch customers this month and our product is required to be a very high reliability platform.  In the field the product is rarely rebooted/power cycled (only firmware upgrade). But we don't want our customers to be in a situation where they have to reset the board to get this USB3 Hub working.   Hence we really need TI's assistance to understand this problem and fix it.  Note when the Hub has been detected in Linux it runs reliably and large amounts of data have been transferred over the USB3 Super Speed link without any issues.

    Kind Regards,

    Nikhil

  • Hi Nikhil,

    I believe when implementing the second fix VBUS_DET of TUSB8041 was connected to the VBUS voltage from one of the downstream ports of TUSB8041, is this correct? Since TUSB8041 is disabled it will not be driving the EN pin of TPS2561. TPS2561 may be "off" in this case therefore DN1_VBUS and VBUS_DET will never go "high". If VBUS_DET is not driven high TUSB8041 will not "know" to enumerate and the USB Hub will not be seen in Linux. Typically, you would have the upstream connector VBUS voltage be connected to this pin through the recommended resistor divider. The upstream connection has no exposed port, correct (upstream USB to USB Hub is completely internal)? For my information, when does 5V become stable in relation to 1.1V and 3.3V with both original CPLD code and the modified version?

    I believe that the first workaround may still work. In this case, are you able to connect GRST to a signal that will delayed at least 3 ms after VDD 1.1V is stable? Per your last figure 1.1V rail becomes stable at the same time GRST is de-asserted ("goes 'high").

  • Hi Malik,

    Yes VBUS_DET (pin 48) of the TUSB8041IRGC Hub was connected to a downstream device in the second attempt.  Your explanation makes sense as to why it never works in Linux after this change.  The Hub is permanently integrated into our board and the upstream port is the NXP LS1021A CPU.  The upstream VBUS is the 5V Power Regulator on the board and currently the 5V Rail is enabled at a much later time period compared with the 1.1V and 3.3V rails.  I am not sure when the 5V rail is enabled compared with the GRST signal being de-asserted.  I'll find out and get back to you.

    The 5V rail is not currently controlled by the CPLD, but we can try to enable it at the same time as the 1.1V or 3.3V rails by making a board change (solder a wire link).

    We still have a very long 5 second delay on the GRST signal (pin 50) after both 3.3V and 1.1V are enabled. The GRST is being driven low and after 5 seconds of the power rails stabilising it is de-asserted to a high state. The oscilloscope image provided on Oct 9, 2019 5:52 PM actually shows the enable signal for the 1.1V regulator and not GRST.  We had some issues while changing the power sequence and my colleague working on this was capturing additional signals to debug the problem.    But I'll get him to capture the GRST again compared with the 3.3V and 1.1V start-up.  Unfortunately both of my colleagues working on this issue have been occupied this week with a conference, but I'll try and get back to you by Friday or early next week at the latest. 

    Kind Regards,

    Nikhil

  • Nikhil:

         5V for Vbus_det should be on after GRST goes high. Also It need 3ms for GRST at low after 1.1v/3.3v stable. 5 second may be too long.

    Regards,

    Brian

  • Hi Brian,

    The original reset assertion time for GRST was around 10 to 20ms.  But we had frequent failure of the TUSB8041IRGC Hub on power-up (around 40%).  I.e. it was very frequently not being detected in Linux.  After drastically increasing the reset assertion time to 5 seconds, the failure rate of the Hub dropped considerably to about 1->2 times out of 30 trials.   But even such low occurrence of failure will cause us issues and won't be acceptable to our testing team.

    My colleague investigated the 5V regulator turn-on.  Please see the two plots below which show when the 5V rail powers up in relation to the other power rails (i.e. 3.3V and 1.1V) and GRST signal.

    The 5V rail is connected to USB_VBUS (pin 48 on the TUSB8041IRGC Hub) via a voltage divider network (R91/R79)     Please note my colleague reverted back to the orignal CPLD image from a few months back, because the altered sequence (3.3V powering up first, then followed by 1.1V), gave no improvement.

    The 5V rail's enable/disable signal is configurable in software.  I'll request my SW Engineering colleague to create a modified firmware to delay the 5V rail's power on, till after the Hub comes out of reset.  I'll report back to you on this soon.

    Kind Regards,

    Nikhil

  • Hi Brian,

    I have some slight good news.

    Towards the end of last week my colleague prepared a modified software build which delayed the 5V regulator start-up (sorry don't have the oscilloscope capture, but the 5V rail was enabled several seconds after GRST de-assertion).  The 5V rail is connected to USB_VBUS (pin 48) on the TUSB8041IRGC Hub and basically it's power-on was delayed till after the Hub came out of reset (i.e. well after the deassertion of the GRST signal on pin 50).

    A total of 40 trials were conducted on two different boards (20 trials on each board) using the modified software build.  All trails were successful and the TUSB8041IRGC USB3 Hub could be detected every single time in Linux on both of the boards. 

    I'm trying to get some other resources within the company to conduct further trials on this, because as you know with our previous attempts the failure rate was quite low (1-3 failed to detect in Linux out of every 20 to 30 reboots) and we want to be sure this change (delaying 5V turn on after GRST de-assertion) is definitively working.

    Thank you to Malik and you for your suggestion about investigating the 5V rail and its relationship with the other power rails and reset signal.

    I'll update you hopefully in a few days, once we perform further trails on other hardware boards.

    Kind Regards,

    Nikhil

  • good news, if 5v works consistantly, try to lower to less than 1s.

  • Hi Brian, Malik,

    We ran 106 trails on another board on Monday and 585 trails yesterday overnight.  Each trial involves a full power up, boot up of the board (U-Boot + Linux) and power off.

    All trails were successful and the USB3 Hub could be detected in Linux every single time.  Delaying the 5V regulator startup till after GRST has solved this problem.  Thank you for your help.   In due course we will try a shorter reset signal for GRST and repeat the trails.

    Kind Regards,

    Nikhil