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.

Linux/AM3352: AM3352 USB not boot on kernel 4.14.79

Part Number: AM3352
Other Parts Discussed in Thread: TPS65217

Tool/software: Linux

Hi

i'm using am3352 capture usb webcam picture.

when i used kernel 4.1.6 , i got more problem (DMA busy , usb frozen....).

and find some post like below:

e2e.ti.com/.../223368

e2e.ti.com/.../556181

but the problems are not fixed .so i change kernel version to 4.14.79

and now i get new problem ....

my usb driver is not boot

---------------------------------------------------------------------------------------------------------------

when kernel 4.1.6 booting i can see below message:

[ 5.482285] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
[ 7.303449] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 7.384778] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[ 7.419812] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 7.437326] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.454815] usb usb1: Product: MUSB HDRC host driver
[ 7.459825] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
[ 7.475727] usb usb1: SerialNumber: musb-hdrc.0.auto
[ 7.487646] hub 1-0:1.0: USB hub found
[ 7.494793] hub 1-0:1.0: 1 port detected

udevadm settle - timeout of 3 seconds reached, the event queue contains:
/sys/devices/platform/ocp/47400000.usb/47401400.usb [ 7.529951] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
(1073)
/sys/devices/platform/ocp/47400000.usb/47401c00.usb (1078)
/sys/devices/platform/ocp/47400000.usb/47401400.usb/musb-hdrc.0.auto (1158)
/sys/devices/platform/ocp/47400000.usb/47401400.usb/musb-hdrc.0.auto/usb1 (1159)
/sys/devices/platform/ocp/47400000.usb/47401400.usb/musb-hdrc.0.auto/usb1/1-0:1.0 (1160)
[ 7.665914] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[ 7.682403] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 7.696812] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.704089] usb usb2: Product: MUSB HDRC host driver
[ 7.720821] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 musb-hcd
[ 7.734712] usb usb2: SerialNumber: musb-hdrc.1.auto
[ 7.745350] hub 2-0:1.0: USB hub found
[ 7.755759] hub 2-0:1.0: 1 port detected

---------------------------------------------------------------------------------------------------------------

but change to 4.14.79 this message is gone

CCCCCCCC
U-Boot SPL 2015.07-svn271 (Apr 13 2017 - 13:28:03)
board/ti/am335x/board.c:am33xx_spl_board_init[278] ==>
Incorrect magic number (0xffffffff) in EEPROM
Could not get board ID.
board/ti/am335x/board.c:am33xx_spl_board_init[421] <==
arch/arm/cpu/armv7/omap-common/boot-common.c:spl_board_init[147] <==
common/spl/spl.c:board_init_r[202]
arch/arm/cpu/armv7/omap-common/boot-common.c:spl_boot_device[96] ==>boot=5
common/spl/spl.c:board_init_r[208] boot_device=5
common/spl/spl.c:board_init_r[231] before spl_nand_load_image()
common/spl/spl_nand.c:spl_nand_load_image[33] ==>
common/spl/spl_nand.c:spl_nand_load_image[38]
common/spl/spl_nand.c:spl_nand_load_image[130] load u-boot header
common/spl/spl_nand.c:spl_nand_load_image[137] load u-boot
common/spl/spl_nand.c:spl_nand_load_image[143] <==
common/spl/spl.c:board_init_r[292] Jumping to U-Boot


U-Boot 2015.07-svn271 (Apr 13 2017 - 13:28:03 +0800)

Watchdog enabled
I2C: ready
DRAM: 512 MiB
board/ti/am335x/board.c:board_init[560] ==>
NAND:
Read NAND flash ID 0 --> 0x2C
Read NAND flash ID 1 --> 0xDA
Read NAND flash ID 2 --> 0x90
Read NAND flash ID 3 --> 0x95
Read NAND flash ID 4 --> 0x6
Read NAND flash ID 5 --> 0x0
Read NAND flash ID 6 --> 0x0
Read NAND flash ID 7 --> 0x0
256 MiB
common/board_r.c:initr_mmc[403] ==>
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

board/ti/am335x/board.c:board_late_init[577] ==>
Incorrect magic number (0xffffffff) in EEPROM
Could not get board ID.
Net: board/ti/am335x/board.c:board_eth_init[671] ==>
<ethaddr> not set. Validating first E-fuse MAC
board/ti/am335x/board.c:board_eth_init[697] set am335x mac address==>
eeprom_mac_flag = 1
<eth1addr> not set. Validating first E-fuse MAC
Incorrect magic number (0xffffffff) in EEPROM
Could not get board ID.(board_eth_init)
drivers/net/cpsw.c:cpsw_register[962] ==>
drivers/net/cpsw.c:cpsw_mdio_init[529] ==>
drivers/net/cpsw.c:cpsw_phy_init[936] ==>
cpsw, usb_ether
Hit any key to stop autoboot: 0
WARNING: Could not determine device tree to use
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Booting from nand ...

NAND read: device 0 offset 0x80000, size 0x40000
262144 bytes read: OK

NAND read: device 0 offset 0x200000, size 0x800000
8388608 bytes read: OK
Kernel image @ 0x82000000 [ 0x000000 - 0x3c1200 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff4000, end 8ffff4f2 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.79-ge669d52447 (wei@wei-VirtualBox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Wed May 8 09:46:52 CST 2019
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black_____Willh
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9d000000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 456936K/524288K available (8192K kernel code, 321K rwdata, 2516K rodata, 1024K init, 269K bss, 18200K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0d50740 ( 322 kB)
[ 0.000000] .bss : 0xc0d50740 - 0xc0d93e8c ( 270 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000037] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000048] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000196] timer_probe: no matching timers found
[ 0.000404] Console: colour dummy device 80x30
[ 0.000431] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000439] This ensures that you still see kernel messages. Please
[ 0.000445] update your kernel commandline.
[ 0.000474] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[ 0.089154] pid_max: default: 32768 minimum: 301
[ 0.089352] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.089367] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090177] CPU: Testing write buffer coherency: ok
[ 0.090243] CPU0: Spectre v2: using BPIALL workaround
[ 0.090933] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.091087] Hierarchical SRCU implementation.
[ 0.091437] EFI services will not be available.
[ 0.092899] devtmpfs: initialized
[ 0.100478] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
[ 0.100961] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.101253] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.101276] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.104922] pinctrl core: initialized pinctrl subsystem
[ 0.105675] DMI not present or invalid.
[ 0.106084] NET: Registered protocol family 16
[ 0.108366] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.117800] omap_hwmod: tptc0 using broken dt data from edma
[ 0.117942] omap_hwmod: tptc1 using broken dt data from edma
[ 0.118064] omap_hwmod: tptc2 using broken dt data from edma
[ 0.122641] omap_hwmod: debugss: _wait_target_disable failed
[ 0.175501] cpuidle: using governor ladder
[ 0.175538] cpuidle: using governor menu
[ 0.179201] OMAP GPIO hardware version 0.1
[ 0.187746] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_default, deferring probe
[ 0.189750] No ATAGs?
[ 0.189764] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.198832] edma 49000000.edma: Legacy memcpy is enabled, things might not work
[ 0.202971] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.206233] usbcore: registered new interface driver usbfs
[ 0.206295] usbcore: registered new interface driver hub
[ 0.206469] usbcore: registered new device driver usb
[ 0.206727] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.206865] media: Linux media interface: v0.10
[ 0.206910] Linux video capture interface: v2.00
[ 0.207025] pps_core: LinuxPPS API ver. 1 registered
[ 0.207035] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.207058] PTP clock support registered
[ 0.207093] EDAC MC: Ver: 3.0.0
[ 0.207549] dmi: Firmware registration failed.
[ 0.208086] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.208420] Advanced Linux Sound Architecture Driver Initialized.
[ 0.209762] clocksource: Switched to clocksource timer1
[ 0.218058] NET: Registered protocol family 2
[ 0.218816] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.218871] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.218920] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.219022] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.219044] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.219409] NET: Registered protocol family 1
[ 0.219902] RPC: Registered named UNIX socket transport module.
[ 0.219917] RPC: Registered udp transport module.
[ 0.219924] RPC: Registered tcp transport module.
[ 0.219931] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.220808] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.220926] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.221849] audit: initializing netlink subsys (disabled)
[ 0.222548] audit: type=2000 audit(0.210:1): state=initialized audit_enabled=0 res=1
[ 0.222654] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.227011] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.227891] NFS: Registering the id_resolver key type
[ 0.227939] Key type id_resolver registered
[ 0.227946] Key type id_legacy registered
[ 0.227999] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.230253] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.230274] io scheduler noop registered
[ 0.230283] io scheduler deadline registered
[ 0.230512] io scheduler cfq registered (default)
[ 0.230524] io scheduler mq-deadline registered
[ 0.230532] io scheduler kyber registered
[ 0.231397] pinctrl-single 44e10800.pinmux: please update dts to use #pinctrl-cells = <1>
[ 0.231761] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.283577] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.286746] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 27, base_baud = 3000000) is a 8250
[ 0.986336] console [ttyS0] enabled
[ 0.990998] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 28, base_baud = 3000000) is a 8250
[ 1.000836] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 29, base_baud = 3000000) is a 8250
[ 1.011340] omap_rng 48310000.rng: Random Number Generator ver. 20
[ 1.029513] brd: module loaded
[ 1.039345] loop: module loaded
[ 1.044919] libphy: Fixed MDIO Bus: probed
[ 1.119846] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.127547] davinci_mdio 4a101000.mdio: detected phy mask fffffff6
[ 1.135817] libphy: 4a101000.mdio: probed
[ 1.139964] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet
[ 1.149578] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver RTL8211E Gigabit Ethernet
[ 1.160355] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:ba:98:1f
[ 1.167018] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 1.173504] cpsw 4a100000.ethernet: ALE Table size 1024
[ 1.178796] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[ 1.186839] cpsw 4a100000.ethernet: cpsw: Detected MACID = 98:5d:ad:ba:98:21
[ 1.195223] i2c /dev entries driver
[ 1.199159] IR NEC protocol handler initialized
[ 1.203777] IR RC5(x/sz) protocol handler initialized
[ 1.208849] IR RC6 protocol handler initialized
[ 1.213411] IR JVC protocol handler initialized
[ 1.217959] IR Sony protocol handler initialized
[ 1.222606] IR SANYO protocol handler initialized
[ 1.227328] IR Sharp protocol handler initialized
[ 1.232062] IR MCE Keyboard/mouse protocol handler initialized
[ 1.237917] IR XMP protocol handler initialized
[ 1.243573] cpu cpu0: OPP-v2 not supported, cpufreq-dt will attempt to use legacy tables.
[ 1.252394] sdhci: Secure Digital Host Controller Interface driver
[ 1.258605] sdhci: Copyright(c) Pierre Ossman
[ 1.263562] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.320418] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.329991] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.341196] NET: Registered protocol family 10
[ 1.347051] Segment Routing with IPv6
[ 1.350948] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.357596] NET: Registered protocol family 17
[ 1.362446] Key type dns_resolver registered
[ 1.366967] omap_voltage_late_init: Voltage driver support not added
[ 1.378872] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 1.384226] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 1.392089] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[ 1.398474] nand: Micron MT29F2G08ABAEAWP
[ 1.402637] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.410299] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 1.415873] 11 ofpart partitions found on MTD device omap2-nand.0
[ 1.422018] Creating 11 MTD partitions on "omap2-nand.0":
[ 1.427451] 0x000000000000-0x000000020000 : "NAND.SPL"
[ 1.433790] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[ 1.440648] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[ 1.447389] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[ 1.454291] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[ 1.461402] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[ 1.468537] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[ 1.475274] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[ 1.482697] 0x000000200000-0x000000a00000 : "NAND.kernel"
[ 1.496448] 0x000000a00000-0x00000e400000 : "NAND.file-system"
[ 1.707047] 0x00000e400000-0x00000fd00000 : "jffs2"
[ 1.764374] random: fast init done
[ 1.768532] vdd_1v8: Bringing 3300000uV into 1800000-1800000uV
[ 1.778064] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 1.783543] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.790733] ubi0: attaching mtd9
[ 2.880506] ubi0: scanning is finished
[ 2.893408] ubi0: attached mtd9 (name "NAND.file-system", size 218 MiB)
[ 2.900159] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.907064] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 2.913810] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.920815] ubi0: good PEBs: 1744, bad PEBs: 0, corrupted PEBs: 0
[ 2.926934] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 2.934207] ubi0: max/mean erase counter: 7/3, WL threshold: 4096, image sequence number: 1590725337
[ 2.943392] ubi0: available PEBs: 0, total reserved PEBs: 1744, PEBs reserved for bad PEB handling: 40
[ 2.952763] ubi0: background thread "ubi_bgt0d" started, PID 45
[ 2.959543] input: gpio_buttons@0 as /devices/platform/gpio_buttons@0/input/input0
[ 2.967672] hctosys: unable to open rtc device (rtc0)
[ 2.973314] vmmcsd_fixed: disabling
[ 2.976835] ALSA device list:
[ 2.979901] No soundcards found.
[ 2.989882] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 46
[ 3.024633] UBIFS (ubi0:0): recovery needed
[ 3.129497] UBIFS (ubi0:0): recovery completed
[ 3.134155] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 3.141612] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 3.151590] UBIFS (ubi0:0): FS size: 199225344 bytes (189 MiB, 1569 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 3.162343] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 3.168205] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID EABEA964-0FD9-430F-A00C-CD5D95DBC728, small LPT model
[ 3.180524] VFS: Mounted root (ubifs filesystem) on device 0:14.
[ 3.187442] devtmpfs: mounted
[ 3.191929] Freeing unused kernel memory: 1024K
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
[ 4.097079] udevd[80]: starting version 182
[ 5.554970] random: dd: uninitialized urandom read (512 bytes read)
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1729: No soundcards found...
hwclock: can't open '/dev/misc/rtc': No such file or directory
Sun Oct 4 07:10:38 UTC 2015
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Configuring network interfaces... [ 8.222719] net eth0: initializing cpsw version 1.12 (0)
[ 8.244446] RTL8211E Gigabit Ethernet 4a101000.mdio:03: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=4a101000.mdio:03, irq=POLL)
[ 8.267361] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
done.
Starting system message bus: [ 8.421176] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[ 8.465503] random: dbus-daemon: uninitialized urandom read (12 bytes read)
dbus.
Starting telnet daemon.
Starting rpcbind daemon...done.
starting statd: done
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting syslogd/klogd: done
grep: /var/lib/opkg/info/*.control: No such file or directory
check upgrade
/home/auto.sh: line 2: /home/root/auto.sh: No such file or directory

eGate login: [ 9.281373] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 9.289478] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

---------------------------------------------------------------------------------------------------------------

how should i do ?

console_and_config.zip

  • Hi Shawn,

    The 4.14 kernel boot log doesn't show any USB related message.

    Please run the following script on your board and provide its output.

    #!/bin/bash
    #
    # Util to check USB subsystem for Linux kernel 3.12+ on TI Sitara devices
    #
    # Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
    #
    #
    #  Redistribution and use in source and binary forms, with or without
    #  modification, are permitted provided that the following conditions
    #  are met:
    #
    #    Redistributions of source code must retain the above copyright
    #    notice, this list of conditions and the following disclaimer.
    #
    #    Redistributions in binary form must reproduce the above copyright
    #    notice, this list of conditions and the following disclaimer in the
    #    documentation and/or other materials provided with the
    #    distribution.
    #
    #    Neither the name of Texas Instruments Incorporated nor the names of
    #    its contributors may be used to endorse or promote products derived
    #    from this software without specific prior written permission.
    #
    #  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    #  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    #  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    #  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    #  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    #  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    #  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    #  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    #  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    #  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    
    VERSION=0.2.8
    
    
    ### functions ###
    
    # $1 command to be checked
    check_command() {
        local _cmd=$1
    
        which $_cmd > /dev/null || {
            echo "Error: $_cmd command not found"
            exit 1
        }
    }
    
    # check if the kernel is supported
    # this tool only runs on v3.12+ kernel
    # return 0 - if kernel version >= 3.12
    #        1 - if kernel version < 3.12
    has_supported_kernel() {
    	local _ver
    	local _t
    
        check_command uname
        uname -a
    	_ver=`uname -r`
        _t=${_ver%%.*}
        # 2.x.x, unsupported
        [ $_t -ge 3 ] || return 1
        # 4.x.x, supported
        [ $_t -lt 4 ] || return 0
    
        _ver=${_ver#*.}
        _t=${_ver%%.*}
        # < 3.12.x, unsupported
        [ $_t -ge 12 ] || return 1
        return 0
    }
    
    # check if the platform is supported
    #    $PLATFORM - global variable
    # return 0 - if platform is supported
    #        1 - if platform is not supported
    check_platform () {
    	local _hw
    
        check_command grep
        [ "$PLATFORM" != "" ] || {
    	    _hw=`cat /proc/device-tree/compatible | tr '\0' ' '`
    	    DBG_PRINT $_hw
    
            if [[ "$_hw" == *"ti,am33xx"* ]]; then
                PLATFORM="am335x"
            elif [[ "$_hw" == *"ti,am43"* ]]; then
                PLATFORM="am437x"
            elif [[ "$_hw" == *"ti,dra7"* ]]; then
                PLATFORM="am57x"
            elif [[ "$_hw" == *"ti,k2g"* ]]; then
                PLATFORM="keystone"
            elif [[ "$_hw" == *"ti,da850"* ]]; then
                PLATFORM="omapl1"
            elif [[ "$_hw" == *"ti,am654"* ]]; then
                PLATFORM="am65x"
            else
                PLATFORM=$_hw
            fi
        }
    
        DBG_PRINT $PLATFORM
        case $PLATFORM in
            "am335x")
                USB0='/ocp/usb@47400000/usb@47401000'
                USB1='/ocp/usb@47400000/usb@47401800'
                return 0;;
            "am437x")
                USB0='/ocp/omap_dwc3@48380000/usb@48390000'
                USB1='/ocp/omap_dwc3@483c0000/usb@483d0000'
                return 0;;
            "am57x")
                USB0='/ocp/omap_dwc3_1@48880000/usb@48890000'
                USB1='/ocp/omap_dwc3_2@488c0000/usb@488d0000'
                return 0;;
            "keystone")
                USB0='/ocp/omap_dwc3_1@48880000/usb@48890000'
                USB1='/ocp/omap_dwc3_2@488c0000/usb@488d0000'
                return 0;;
            "omapl1")
                USB0='/soc@1c00000/usb@200000'
                USB1=''
                return 0;;
            "am65x")
                USB0='/soc0/dwc3@4000000/usb@10000'
                USB1='/soc0/dwc3@4020000/usb@10000'
                return 0;;
            *)
                echo "Unsupported \"$PLATFORM\""
                return 1;;
        esac
    }
    
    # check a kernel CONFIG option
    # params $1 - the config option
    #        $2 = '-q', quiet output
    # return 0 - undefined
    #        1 - defined as 'm', kernel module
    #        2 - defined as 'y', kernel builtin
    check_kernel_config() {
        local _cfg
    
        [ -n "$1" ] || return 0
        check_command zcat
        _cfg=`zcat /proc/config.gz | grep "^$1\>"`
    
        case ${_cfg#*=} in
            "y") return 2;;
            "m") return 1;;
              *) [ "$2" = "-q" ] ||
                  echo "Error: $1 is undefined in kernel config"
              return 0;;
        esac
    }
    
    # check a kernel module
    # $1 - module name, relative path from drivers/, with .ko surfix
    # return 0 - found
    #        1 - error
    check_module() {
        local _modname
        local _moddep
    
        [ -n "$1" ] || return 1
    
        _modname="/lib/modules/`uname -r`/kernel/drivers/${1}.ko"
        _moddep="/lib/modules/`uname -r`/modules.dep"
    
        DBG_PRINT 1
        [ -f $_modname ] || {
            echo "Error: $_modname not found."
            echo "       Please ensure 'make module_install' is done properly."
            return 1
        }
    
        DBG_PRINT 2
        [ -f $_moddep ] || $moddep_checked || {
            echo "Error: $_moddep not found."
            echo "       Please ensure 'make module_install' is done properly."
            moddep_checked=true
        }
    
        DBG_PRINT 3
        check_command lsmod
        check_command basename
        check_command tr
    
        lsmod | grep `basename $1 | tr '-' '_'` > /dev/null || {
            DBG_PRINT ">>>> ${1}.ko:"
            if grep "${1}.ko:" $_moddep > /dev/null; then
                DBG_PRINT 5
                echo "Error: $_moddep seems to be valid,"
                echo "       but `basename $1`.ko is not loaded."
                echo "       Please provide /proc/config.gz and /lib/module/`uname -r`/*"
                echo "       for further investigation."
            else
                DBG_PRINT 6
                echo "Error: `basename $1`: $_moddep is invalid."
                echo "       Please run command 'depmod' on the target to re-generate it,"
                echo "       then reboot the target. If the issue still exists, please"
                echo "       ensure 'make module_install' is done properly."
            fi
    
            DBG_PRINT 7
            return 1
        }
        DBG_PRINT 8
        return 0
    }
    
    # check kernel config, and modules (if CONFIG_*=M) for musb
    check_musb_drivers() {
        check_kernel_config CONFIG_USB_MUSB_HDRC
        [ $? != 1 ] || check_module 'usb/musb/musb_hdrc'
    
        check_kernel_config CONFIG_USB_MUSB_DUAL_ROLE -q
        [ $? != 0 ] || echo "Warning: CONFIG_USB_MUSB_DUAL_ROLE undefined."
    
        case $PLATFORM in
            am335x)
                check_kernel_config CONFIG_USB_MUSB_DSPS
                [ $? != 1 ] || {
                    check_module 'usb/musb/musb_dsps'
                    check_module 'usb/musb/musb_am335x'
                }
                ;;
            omapl1)
                check_kernel_config CONFIG_USB_MUSB_DA8XX
                [ $? != 1 ] || check_module 'usb/musb/da8xx'
                ;;
        esac
    
        case $PLATFORM in
            am335x)
                check_kernel_config CONFIG_AM335X_PHY_USB
                [ $? != 1 ] || {
                    check_module 'usb/phy/phy-am335x'
                    check_module 'usb/phy/phy-am335x-control'
                }
                ;;
            omapl1)
                check_kernel_config CONFIG_NOP_USB_XCEIV
                [ $? != 1 ] || check_module 'usb/phy/phy-generic'
                ;;
        esac
    
        check_kernel_config CONFIG_MUSB_PIO_ONLY -q
        [ $? != 0 ] || {
           if check_kernel_config CONFIG_TI_CPPI41 -q; then
               echo "Error: MUSB CPPI DMA mode is enabled, but CPPI moudle is not enabled in DMA Engine."
               echo "       Please enable CONFIG_TI_CPPI41 under DMA Engine Support in kernel config."
           fi
        }
    }
    
    # check kernel config, and modules (if CONFIG_*=M) for dwc3
    check_dwc3_drivers() {
        check_kernel_config CONFIG_USB_DWC3
        [ $? != 1 ] || check_module 'usb/dwc3/dwc3'
    
        check_kernel_config CONFIG_USB_DWC3_DUAL_ROLE -q
        [ $? != 0 ] || echo "Warning: CONFIG_USB_DWC3_DUAL_ROLE undefined."
    
        check_kernel_config CONFIG_USB_OTG -q
        [ $? != 0 ] || echo "Warning: CONFIG_USB_OTG undefined, which is required for DRD mode."
    
        check_kernel_config CONFIG_USB_DWC3_OMAP
        [ $? != 1 ] || check_module 'usb/dwc3/dwc3-omap'
    
        check_kernel_config CONFIG_USB_XHCI_HCD
        [ $? != 1 ] || {
            check_module 'usb/host/xhci-plat-hcd'
            check_module 'usb/host/xhci-hcd'
        }
    
        check_kernel_config CONFIG_OMAP_CONTROL_PHY
        [ $? != 1 ] || check_module 'phy/phy-omap-control'
    
        if [ $PLATFORM = am437x ]; then
            check_kernel_config CONFIG_OMAP_USB2
            [ $? != 1 ] || check_module 'phy/phy-omap-usb2'
        else
            check_kernel_config CONFIG_TI_PIPE3
            [ $? != 1 ] || check_module 'phy/phy-ti-pipe3'
        fi
    }
    
    check_musb_dt() {
        local _dt_dir
        local _ent
        local _sts
    
        case $PLATFORM in
        am335x)
            _dt_dir='/proc/device-tree/ocp/usb@47400000'
            _ent='. control@44e10620 usb-phy@47401300 usb-phy@47401b00 dma-controller@47402000'
            ;;
        omapl1)
            _dt_dir='/proc/device-tree/soc@1c00000'
            _ent='usb@200000 chip-controller@1417c/usb-phy usb@200000/dma-controller@201000'
            ;;
        *)
            return ;;
        esac
    
        for _t in $_ent; do
            _sts=$(tr -d '\0' <${_dt_dir}/${_t}/status)
            [ "$_sts" != "disabled" ] || echo $_t: disabled in devicetree
        done
    }
    
    ### debug ###
    
    g_log_file=/tmp/chkusb.log
    
    DBG_ENABLE() { g_dbg_enabled=true; }
    DBG_DISABLE() { g_dbg_enabled=false; }
    DBG_LOG_RESET() { ! $g_dbg_enabled || echo > $g_log_file; }
    DBG_PRINT() { ! $g_dbg_enabled || echo "$(date +%H:%M:%S) [$(basename $0)]: $*"; }
    DBG_LOG() { DBG_PRINT $* >> $g_log_file; }
    DBG_LOG_MARK() { DBG_PRINT "----------------" >> $g_log_file; }
    
    
    ### main ####
    
    moddep_checked=false
    
    echo "chkusb.sh Version $VERSION"
    
    [ "$V" = "1" ] && DBG_ENABLE && DBG_LOG_RESET || DBG_DISABLE
    
    has_supported_kernel ||
        { echo "Unsupported kernel version: `uname -r`"; exit 1; }
    check_platform || exit 2
    DBG_PRINT device: $PLATFORM
    
    check_command lsusb
    if lsusb > /dev/null 2>&1; then
        echo "USB is initialized"
    else
        echo "USB initialization failed"
    fi
    
    # check kernel configs
    
    if [ -f /proc/config.gz ]; then
        case $PLATFORM in
            am335x | omapl1) check_musb_drivers;;
            am437x | am57x | keystone | am65x) check_dwc3_drivers;;
            *)
                echo "Error: unsupported platform $PLATFORM"
                exit 5;;
        esac
    else
        echo "Error: /proc/config.gz not found"
    fi
    
    case $PLATFORM in
        am335x | omapl1)
            _debugfs=`sed -ne 's/^debugfs \(.*\) debugfs.*/\1/p' /proc/mounts`
            [ -z "$_debugfs" ] ||
                grep -i 'power\|devctl\|testmode' ${_debugfs}/musb-hdrc.?/regdump
            ;;
    esac
    
    # check dr_mode & gadget drivers
    
    [ -d /proc/device-tree ] || {
        echo "Warning: /proc/device-tree/ not found"
        if [ -d "/lib/modules/`uname -r`/" ]; then
            echo "The list of USB gadget drivers installed:"
            ls -1Rp "/lib/modules/`uname -r`/kernel/drivers/usb/gadget/"
        fi
        exit 0
    }
    
    check_command basename
    for _usb in "${USB0}" "${USB1}"; do
        [ -n "$_usb" ] || continue
    
        _usb_dir="/proc/device-tree/${_usb}"
        _status=`tr -d '\0' <$_usb_dir/status`
        _dr_mode=`tr -d '\0'  <$_usb_dir/dr_mode`
        echo `basename $_usb`: $_dr_mode, $_status
    
        [ "$_status" = "disabled" -o "$_dr_mode" = "host" ] || gadget_mode=true
    done
    
    case $PLATFORM in
        am335x | omapl1) check_musb_dt;;
        *) ;;
    esac
    
    DBG_PRINT $gadget_mode
    $gadget_mode || exit 0
    
    echo
    
    check_kernel_config CONFIG_USB_LIBCOMPOSITE
    case $? in
        0) echo "Error: no any gadget driver enabled"
           exit 6;;
        1) is_gadget_builtin=false;;
        2) echo "The gadget driver is built-in"
           is_gadget_builtin=true;;
    esac
    
    check_kernel_config CONFIG_USB_ZERO -q ||
        echo "Gadget Kernel Config: g_zero is enabled"
    check_kernel_config CONFIG_USB_AUDIO -q ||
        echo "Gadget Kernel Config: g_audio is enabled"
    check_kernel_config CONFIG_USB_ETH -q ||
        echo "Gadget Kernel Config: g_ether is enabled"
    check_kernel_config CONFIG_USB_G_NCM -q ||
        echo "Gadget Kernel Config: g_ncm is enabled"
    check_kernel_config CONFIG_USB_MASS_STORAGE -q ||
        echo "Gadget Kernel Config: g_mass_storage is enabled"
    check_kernel_config CONFIG_USB_G_SERIAL -q ||
        echo "Gadget Kernel Config: g_serial is enabled"
    check_kernel_config CONFIG_USB_G_PRINTER -q ||
        echo "Gadget Kernel Config: g_printer is enabled"
    
    g_driver=`grep '^DRIVER=' /sys/class/udc/*/uevent 2>/dev/null`
    echo "gadget driver loaded: ${g_driver:-(none)}"
    
    echo
    
    if ! $is_gadget_builtin; then
        if [ -d "/lib/modules/`uname -r`/" ]; then
            echo "The list of USB gadget drivers installed:"
            ls -1Rp "/lib/modules/`uname -r`/kernel/drivers/usb/gadget/"
        else
            echo "Error: /lib/modules/`uname -r`/ not found"
            echo "       Please ensure 'make modules_install' is done properly."
            exit 7
        fi
    fi
    
    # vim: ft=sh:ts=4:sw=4:et
    

  • Hi  Bin :

    Thanks for your help ,

    maybe i konw what happen , 

    i look at  /lib/modules/, but only has old kernel "4.1.6-g52c4aa7" directory , 

    so my usb driver is never start , right?

    today i'm going to try , thank you very much.

    My test output 

    ---------------------

    Linux eGate 4.14.79-ge669d52447 #1 PREEMPT Wed May 8 14:35:58 CST 2019 armv7l GNU/Linux
    USB initialization failed
    Error: /lib/modules/4.14.79-ge669d52447/kernel/drivers/usb/musb/musb_dsps.ko not found.
    Please ensure 'make module_install' is done properly.
    Error: /lib/modules/4.14.79-ge669d52447/kernel/drivers/usb/musb/musb_am335x.ko not found.
    Please ensure 'make module_install' is done properly.
    Error: /lib/modules/4.14.79-ge669d52447/kernel/drivers/usb/phy/phy-am335x.ko not found.
    Please ensure 'make module_install' is done properly.
    Error: /lib/modules/4.14.79-ge669d52447/kernel/drivers/usb/phy/phy-am335x-control.ko not found.
    Please ensure 'make module_install' is done properly.
    grep: /sys/kernel/debug/musb-hdrc.?/regdump: No such file or directory
    usb@47401000: host, okay
    usb@47401800: host, okay

    The gadget driver is built-in
    Gadget Kernel Config: g_ether is enabled
    gadget driver loaded: (none)

    -------------------

  • Hi Bin :
    did you see my kernel config?
    has something can modify ?
  • Shawn,

    Shawn Shiu said:

    i look at  /lib/modules/, but only has old kernel "4.1.6-g52c4aa7" directory , 

    so my usb driver is never start , right?

    Correct. The output of the diagnosis script also tell the same.

  • Shawn Shiu said:
    did you see my kernel config?
    has something can modify ?

    My first glance didn't spot anything missing. The script chkusb.sh would point out if any kernel config is wrong.

  • Hi Ben :

    i create a new sd card , and using boot and rfs.
    but usb also cannt use .
    Why the usb initialization also failed?

    its my boot console message
    ----------------------------------------
    CCCCCCCC
    U-Boot SPL 2015.07-svn271 (Apr 13 2017 - 09:14:39)
    board/ti/am335x/board.c:am33xx_spl_board_init[278] ==>
    Incorrect magic number (0xffffffff) in EEPROM
    Could not get board ID.
    board/ti/am335x/board.c:am33xx_spl_board_init[421] <==
    arch/arm/cpu/armv7/omap-common/boot-common.c:spl_board_init[147] <==
    common/spl/spl.c:board_init_r[202]
    arch/arm/cpu/armv7/omap-common/boot-common.c:spl_boot_device[96] ==>boot=8
    common/spl/spl.c:board_init_r[208] boot_device=8
    common/spl/spl_mmc.c:spl_mmc_load_image[134] ==>
    arch/arm/cpu/armv7/omap-common/boot-common.c:board_mmc_init[154] ==>
    arch/arm/cpu/armv7/omap-common/boot-common.c:spl_boot_device[96] ==>boot=8
    arch/arm/cpu/armv7/omap-common/boot-common.c:spl_boot_mode[105] ==>val=2
    reading u-boot.img
    reading u-boot.img
    common/spl/spl.c:board_init_r[292] Jumping to U-Boot


    U-Boot 2015.07-svn271 (Apr 13 2017 - 09:14:39 +0800)

    Watchdog enabled
    I2C: ready
    DRAM: 512 MiB
    board/ti/am335x/board.c:board_init[560] ==>
    NAND:
    Read NAND flash ID 0 --> 0x2C
    Read NAND flash ID 1 --> 0xDA
    Read NAND flash ID 2 --> 0x90
    Read NAND flash ID 3 --> 0x95
    Read NAND flash ID 4 --> 0x6
    Read NAND flash ID 5 --> 0x0
    Read NAND flash ID 6 --> 0x0
    Read NAND flash ID 7 --> 0x0
    256 MiB
    common/board_r.c:initr_mmc[403] ==>
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    board/ti/am335x/board.c:board_late_init[577] ==>
    Incorrect magic number (0xffffffff) in EEPROM
    Could not get board ID.
    Net: board/ti/am335x/board.c:board_eth_init[671] ==>
    board/ti/am335x/board.c:board_eth_init[697] set am335x mac address==>
    eeprom_mac_flag = 1
    Incorrect magic number (0xffffffff) in EEPROM
    Could not get board ID.(board_eth_init)
    drivers/net/cpsw.c:cpsw_register[962] ==>
    drivers/net/cpsw.c:cpsw_mdio_init[529] ==>
    drivers/net/cpsw.c:cpsw_phy_init[936] ==>
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    reading am335x-boneblack.dtb
    34067 bytes read in 9 ms (3.6 MiB/s)
    reading zImage
    4137472 bytes read in 253 ms (15.6 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x3f2200 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff4000, end 8ffff512 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-ge669d52447 (wei@wei-VirtualBox) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Thu May 9 16:41:10 CST 2019
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Black_____Willh
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] cma: Reserved 48 MiB at 0x9d000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=01778ac7-02 rw rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 456920K/524288K available (8192K kernel code, 336K rwdata, 2632K rodata, 1024K init, 270K bss, 18216K reserved, 49152K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
    [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
    [ 0.000000] .data : 0xc0d00000 - 0xc0d540c0 ( 337 kB)
    [ 0.000000] .bss : 0xc0d540c0 - 0xc0d97af4 ( 271 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000036] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000047] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000204] timer_probe: no matching timers found
    [ 0.000409] Console: colour dummy device 80x30
    [ 0.000436] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000443] This ensures that you still see kernel messages. Please
    [ 0.000449] update your kernel commandline.
    [ 0.000482] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [ 0.089129] pid_max: default: 32768 minimum: 301
    [ 0.089322] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.089338] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.090136] CPU: Testing write buffer coherency: ok
    [ 0.090204] CPU0: Spectre v2: using BPIALL workaround
    [ 0.090893] Setting up static identity map for 0x80100000 - 0x80100060
    [ 0.091050] Hierarchical SRCU implementation.
    [ 0.091402] EFI services will not be available.
    [ 0.092865] devtmpfs: initialized
    [ 0.100383] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [ 0.100859] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.101160] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.101184] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.104833] pinctrl core: initialized pinctrl subsystem
    [ 0.105578] DMI not present or invalid.
    [ 0.105987] NET: Registered protocol family 16
    [ 0.108279] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.117688] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.117825] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.117948] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.122514] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.175324] cpuidle: using governor ladder
    [ 0.175359] cpuidle: using governor menu
    [ 0.178881] OMAP GPIO hardware version 0.1
    [ 0.187305] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_default, deferring probe
    [ 0.189292] No ATAGs?
    [ 0.189307] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.198662] edma 49000000.edma: Legacy memcpy is enabled, things might not work
    [ 0.202789] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.206111] usbcore: registered new interface driver usbfs
    [ 0.206177] usbcore: registered new interface driver hub
    [ 0.206349] usbcore: registered new device driver usb
    [ 0.206624] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.206754] media: Linux media interface: v0.10
    [ 0.206797] Linux video capture interface: v2.00
    [ 0.206912] pps_core: LinuxPPS API ver. 1 registered
    [ 0.206922] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.206948] PTP clock support registered
    [ 0.206984] EDAC MC: Ver: 3.0.0
    [ 0.207425] dmi: Firmware registration failed.
    [ 0.207958] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.208292] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.209631] clocksource: Switched to clocksource timer1
    [ 0.217899] NET: Registered protocol family 2
    [ 0.218661] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.218715] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.218764] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.218867] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.218888] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.219049] NET: Registered protocol family 1
    [ 0.219744] RPC: Registered named UNIX socket transport module.
    [ 0.219764] RPC: Registered udp transport module.
    [ 0.219771] RPC: Registered tcp transport module.
    [ 0.219778] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.220637] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 0.220760] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.222209] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [ 0.226545] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.227439] NFS: Registering the id_resolver key type
    [ 0.227489] Key type id_resolver registered
    [ 0.227499] Key type id_legacy registered
    [ 0.227553] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.229814] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.229839] io scheduler noop registered
    [ 0.229848] io scheduler deadline registered
    [ 0.230089] io scheduler cfq registered (default)
    [ 0.230101] io scheduler mq-deadline registered
    [ 0.230109] io scheduler kyber registered
    [ 0.230965] pinctrl-single 44e10800.pinmux: please update dts to use #pinctrl-cells = <1>
    [ 0.231331] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.283203] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.286358] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 27, base_baud = 3000000) is a 8250
    [ 0.970646] console [ttyS0] enabled
    [ 0.975260] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 28, base_baud = 3000000) is a 8250
    [ 0.985107] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 29, base_baud = 3000000) is a 8250
    [ 0.995589] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.013963] brd: module loaded
    [ 1.023761] loop: module loaded
    [ 1.029222] libphy: Fixed MDIO Bus: probed
    [ 1.099721] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.107426] davinci_mdio 4a101000.mdio: detected phy mask fffffff6
    [ 1.115727] libphy: 4a101000.mdio: probed
    [ 1.119876] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211E Gigabit Ethernet
    [ 1.129490] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver RTL8211E Gigabit Ethernet
    [ 1.140253] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:ba:98:1f
    [ 1.146927] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.153415] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.158708] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.166738] cpsw 4a100000.ethernet: cpsw: Detected MACID = 98:5d:ad:ba:98:21
    [ 1.174796] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.181407] ehci-pci: EHCI PCI platform driver
    [ 1.185959] ehci-platform: EHCI generic platform driver
    [ 1.191466] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 1.197730] ohci-pci: OHCI PCI platform driver
    [ 1.202287] ohci-platform: OHCI generic platform driver
    [ 1.208093] usbcore: registered new interface driver cdc_acm
    [ 1.213808] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 1.221924] usbcore: registered new interface driver usblp
    [ 1.227518] usbcore: registered new interface driver usbserial
    [ 1.243208] i2c /dev entries driver
    [ 1.247194] IR NEC protocol handler initialized
    [ 1.251886] IR RC5(x/sz) protocol handler initialized
    [ 1.256962] IR RC6 protocol handler initialized
    [ 1.261556] IR JVC protocol handler initialized
    [ 1.266106] IR Sony protocol handler initialized
    [ 1.270758] IR SANYO protocol handler initialized
    [ 1.275480] IR Sharp protocol handler initialized
    [ 1.280215] IR MCE Keyboard/mouse protocol handler initialized
    [ 1.286071] IR XMP protocol handler initialized
    [ 1.291845] cpu cpu0: OPP-v2 not supported, cpufreq-dt will attempt to use legacy tables.
    [ 1.300708] sdhci: Secure Digital Host Controller Interface driver
    [ 1.306919] sdhci: Copyright(c) Pierre Ossman
    [ 1.311906] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.370332] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.379991] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.393010] NET: Registered protocol family 10
    [ 1.398945] Segment Routing with IPv6
    [ 1.402834] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.409494] NET: Registered protocol family 17
    [ 1.414348] Key type dns_resolver registered
    [ 1.418862] omap_voltage_late_init: Voltage driver support not added
    [ 1.431510] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 1.436751] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.445056] mmc0: new high speed SDHC card at address 59b4
    [ 1.451212] mmcblk0: mmc0:59b4 USD 30.0 GiB
    [ 1.456559] mmcblk0: p1 p2
    [ 1.460345] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 1.468145] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [ 1.474672] nand: Micron MT29F2G08ABAEAWP
    [ 1.478705] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 1.486388] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 1.491975] 11 ofpart partitions found on MTD device omap2-nand.0
    [ 1.498094] Creating 11 MTD partitions on "omap2-nand.0":
    [ 1.503547] 0x000000000000-0x000000020000 : "NAND.SPL"
    [ 1.509875] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [ 1.516697] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [ 1.523514] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [ 1.530334] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [ 1.537372] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [ 1.544563] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [ 1.551307] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [ 1.558667] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [ 1.572460] 0x000000a00000-0x00000e400000 : "NAND.file-system"
    [ 1.783210] 0x00000e400000-0x00000fd00000 : "jffs2"
    [ 1.842375] random: fast init done
    [ 1.848479] vdd_1v8: Bringing 3300000uV into 1800000-1800000uV
    [ 1.858054] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [ 1.863533] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.872356] input: gpio_buttons@0 as /devices/platform/gpio_buttons@0/input/input0
    [ 1.881215] hctosys: unable to open rtc device (rtc0)
    [ 1.886774] ALSA device list:
    [ 1.889897] No soundcards found.
    [ 2.475678] EXT4-fs (mmcblk0p2): recovery complete
    [ 2.486122] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.494361] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 2.505044] devtmpfs: mounted
    [ 2.509522] Freeing unused kernel memory: 1024K
    [ 2.833907] systemd[1]: System time before build time, advancing clock.
    [ 2.888243] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [ 2.910088] systemd[1]: Detected architecture arm.

    Welcome to Arago 2018.10!

    [ 2.950947] systemd[1]: Set hostname to <am335x-evm>.
    [ 3.310101] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [ 3.560606] random: systemd: uninitialized urandom read (16 bytes read)
    [ 3.567713] systemd[1]: Listening on Syslog Socket.
    [ OK ] Listening on Syslog Socket.
    [ 3.599952] random: systemd: uninitialized urandom read (16 bytes read)
    [ 3.607050] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ 3.650027] random: systemd: uninitialized urandom read (16 bytes read)
    [ 3.657071] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 3.737130] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 3.770297] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 3.800239] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
    [ OK ] Created slice User and Session Slice.
    [ OK ] Created slice System Slice.
    Starting Create list of required st…ce nodes for the current kernel...
    [ OK ] Reached target Slices.
    Starting Journal Service...
    Mounting POSIX Message Queue File System...
    Starting Load Kernel Modules...
    Mounting Temporary Directory (/tmp)...
    [ 4.123504] cryptodev: loading out-of-tree module taints kernel.
    [ OK ] Listening on udev Kernel Socket.
    [ 4.160442] cryptodev: driver 1.9 loaded.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ OK ] Reached target Remote File Systems.
    [ OK ] Listening on Process Core Dump Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Created slice system-getty.slice.
    Starting Remount Root and Kernel File Systems...
    Mounting Kernel Debug File System...
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Reached target Paths.
    [ 4.414192] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ OK ] Listening on udev Control Socket.
    [ OK ] Mounted Kernel Debug File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Temporary Directory (/tmp).
    [ OK ] Started Journal Service.
    [ OK ] Started Create list of required sta…vice nodes for the current kernel.
    [ OK ] Started Load Kernel Modules.
    [ OK ] Started Remount Root and Kernel File Systems.
    Starting Rebuild Hardware Database...
    Starting Create System Users...
    Mounting Kernel Configuration File System...
    Starting Apply Kernel Variables...
    Starting Flush Journal to Persistent Storage...
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Started Create System Users.
    [ OK ] Started Apply Kernel Variables.
    [ 5.076940] systemd-journald[59]: Received request to flush runtime journal from PID 1
    Starting Create Static Device Nodes in /dev...
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started Create Static Device Nodes in /dev.
    Starting udev Kernel Device Manager...
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /media/ram...
    Mounting /var/volatile...
    [ OK ] Mounted /media/ram.
    [ OK ] Mounted /var/volatile.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Rebuild Journal Catalog...
    Starting Create Volatile Files and Directories...
    Starting Rebuild Dynamic Linker Cache...
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started Rebuild Journal Catalog.
    [ OK ] Started Create Volatile Files and Directories.
    Starting Update UTMP about System Boot/Shutdown...
    Starting Network Time Synchronization...
    [ OK ] Started Rebuild Dynamic Linker Cache.
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ OK ] Started Network Time Synchronization.
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Started Rebuild Hardware Database.
    Starting udev Coldplug all Devices...
    Starting Update is Completed...
    [ OK ] Started Update is Completed.
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Reached target System Initialization.
    Starting Network Service...
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    Starting Docker Socket for the API.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Listening on dropbear.socket.
    [ OK ] Listening on Docker Socket for the API.
    [ 11.140215] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    [ 11.184079] omap_rtc 44e3e000.rtc: registered as rtc0
    [ 11.203621] Error: Driver 'am335x-usb-childs' is already registered, aborting...
    [ 11.320698] Error: Driver 'am335x-usb-childs' is already registered, aborting...
    Starting uim-sysfs.service...
    [ OK ] Started D-Bus System Message Bus.
    [ OK ] Reached target Containers.
    [ 11.764862] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ OK ] Started Kernel Logging Service.
    [ OK ] Started System Logging Service.
    Starting Login Service...
    [ 12.070067] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ OK ] Started Network Service.
    [ OK ] Found device /dev/ttyS0.
    [ OK ] Reached target Network.
    Starting DNS forwarder and DHCP server...
    Starting Permit User Sessions...
    Starting Enable and configure wl18xx bluetooth stack...
    Starting Network Name Resolution...
    Starting Wait for Network to be Configured...
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Login Service.
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started Getty on tty1.
    [FAILED] Failed to start DNS forwarder and DHCP server.
    See 'systemctl status dnsmasq.service' for details.
    [ 12.671166] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ OK ] Started Enable and configure wl18xx bluetooth[ 12.829180] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    stack.
    [ 13.021760] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ 13.248758] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ OK ] Started Network Name Resolution.
    [ 13.738780] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ OK ] Reached target Host and Network Name Lookups.[ 14.050905] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)

    [ 14.253049] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ 14.360161] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ 14.382979] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ 14.560093] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    [ 14.786185] ti_emif_sram 4c000000.emif: Unable to get sram pool for ocmcram data
    [ OK ] Started uim-sysfs.service.
    Starting telnetd.service...
    [ OK ] Started telnetd.service.
    Starting thttpd.service...
    Starting busybox-udhcpd.service...
    [ OK ] Started thttpd.service.
    [ OK ] Started busybox-udhcpd.service.
    Starting thermal-zone-init.service...
    [ OK ] Started thermal-zone-init.service.
    [ 16.379351] net eth1: initializing cpsw version 1.12 (0)
    [ 16.392604] libphy: PHY 4a101000.mdio:07 not found
    [ 16.397448] net eth1: phy "4a101000.mdio:07" not found on slave 1, err -19
    [ 16.442463] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 16.669948] net eth0: initializing cpsw version 1.12 (0)
    [ 16.695533] RTL8211E Gigabit Ethernet 4a101000.mdio:03: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=4a101000.mdio:03, irq=POLL)
    [ 16.748410] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 17.052626] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 17.238795] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 17.345389] omap-aes 53500000.aes: will run requests pump with realtime priority
    [ 17.411140] remoteproc remoteproc0: wkup_m3 is available
    [ 17.761564] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 17.778765] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 17.849899] remoteproc remoteproc0: powering up wkup_m3
    [ 17.875286] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
    [ 17.890092] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 17.890115] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [ 17.913871] PM: Cannot get wkup_m3_ipc handle

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm ttyS0

    Arago 2018.10 am335x-evm ttyS0

    am335x-evm login: [ 18.710021] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 20.503778] usb_common: exports duplicate symbol of_usb_get_dr_mode_by_phy (owned by kernel)
    root
    root@am335x-evm:~# [ 90.559695] random: crng init done
    [ 90.563141] random: 7 urandom warning(s) missed due to ratelimiting
    [ 92.514438] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [ 92.548513] Bridge firewalling registered
    [ 92.601467] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
    [ 92.761121] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 93.305379] Initializing XFRM netlink socket
    [ 93.950098] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
    ----------------------------------------

    and The output of the script
    ----------------------------------------
    root@am335x-evm:~# ./check_usb.sh
    chkusb.sh Version 0.2.8
    Linux am335x-evm 4.14.79-ge669d52447 #1 PREEMPT Thu May 9 16:41:10 CST 2019 armv7l GNU/Linux
    USB initialization failed
    Warning: CONFIG_USB_MUSB_DUAL_ROLE undefined.
    grep: /sys/kernel/debug/musb-hdrc.?/regdump: No such file or directory
    usb@47401000: host, okay
    usb@47401800: host, okay

    The gadget driver is built-in
    Gadget Kernel Config: g_zero is enabled
    Gadget Kernel Config: g_ether is enabled
    Gadget Kernel Config: g_ncm is enabled
    Gadget Kernel Config: g_mass_storage is enabled
    Gadget Kernel Config: g_serial is enabled
    Gadget Kernel Config: g_printer is enabled
    gadget driver loaded: (none)
    ----------------------------------------
  • Hi Ben :

    i modify kernel config and rebuild kernel.

    after retry , USB initialization also failed ,

    i think about musb configs are opened ....

    but its cannt find directory '/sys/kernel/debug/musb-hdrc'

    how should i do ...? 

    the output of check usb script

    ----------------------------------------

    root@am335x-evm:~# ./check_usb.sh
    chkusb.sh Version 0.2.8
    Linux am335x-evm 4.14.79-ge669d52447 #1 PREEMPT Fri May 10 15:18:43 CST 2019 armv7l GNU/Linux
    USB initialization failed
    grep: /sys/kernel/debug/musb-hdrc.?/regdump: No such file or directory
    usb@47401000: host, okay
    usb@47401800: host, okay

    The gadget driver is built-in
    Gadget Kernel Config: g_zero is enabled
    Gadget Kernel Config: g_ether is enabled
    Gadget Kernel Config: g_ncm is enabled
    Gadget Kernel Config: g_mass_storage is enabled
    Gadget Kernel Config: g_serial is enabled
    Gadget Kernel Config: g_printer is enabled
    gadget driver loaded: (none)

    ----------------------------------------

    thanks for your help !!

    tisdk_am335x-evm_defconfig.rar

  • Hi Shawn,

    Your attached kernel defconfig is from the kernel source code, which is not exactly the same as that running on your board, so it doesn't tell what is configured for your board.

    But anyway, something is fundamentally wrong in your filesystem, which causes the musb drivers are failed to load. Below are the links to the documentation for how to create SD card from Processor SDK Linux prebuilt binaries and how to re-build the Processor SDK kernel. Please follow the links to re-create your rootfs.

    software-dl.ti.com/.../Overview_Getting_Started_Guide.html

    software-dl.ti.com/.../Foundational_Components_Kernel_Users_Guide.html