OpenWrt Forum Archive

Topic: openwrt on TI am335x

The content of this topic has been archived on 30 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Dear all,

I'm porting openwrt on AM335x starter kit, and find a issue that request dma fail.
...
[    6.887218] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
[    6.893410] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
[    6.901620] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
...

did anyone met this situation? Any comment?
I'm looking forward to hearing from this.
thanks,


booting log as below,

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.13.7 (steve@steve-VB) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r40740) ) #61 SMP Fri May 23 10:33:05 CST 2014
[    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] Machine model: TI AM335x EVM-SK
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES1.0 (sgx neon )
[    0.000000] PERCPU: Embedded 7 pages/cpu @c07d0000 s8000 r8192 d12480 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64768
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 252860K/261120K available (3819K kernel code, 351K rwdata, 1208K rodata, 255K init, 231K bss, 8260K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04f0f1c   (5028 kB)
[    0.000000]       .init : 0xc04f1000 - 0xc0530f40   ( 256 kB)
[    0.000000]       .data : 0xc0532000 - 0xc0589ff4   ( 352 kB)
[    0.000000]        .bss : 0xc0589ff4 - 0xc05c3f14   ( 232 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000000] OMAP clocksource: timer1 at 24000000 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000326] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.119658] pid_max: default: 32768 minimum: 301
[    0.119827] Mount-cache hash table entries: 512
[    0.126269] CPU: Testing write buffer coherency: ok
[    0.126728] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.126801] Setting up static identity map for 0x800134b0 - 0x80013508
[    0.129538] Brought up 1 CPUs
[    0.129561] SMP: Total of 1 processors activated.
[    0.129572] CPU: All CPU(s) started in SVC mode.
[    0.134529] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.142050] omap_hwmod: tptc0 using broken dt data from edma
[    0.142097] omap_hwmod: tptc1 using broken dt data from edma
[    0.142132] omap_hwmod: tptc2 using broken dt data from edma
[    0.146525] omap_hwmod: debugss: _wait_target_disable failed
[    0.202906] pinctrl core: initialized pinctrl subsystem
[    0.203926] regulator-dummy: no parameters
[    0.204678] NET: Registered protocol family 16
[    0.205276] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.207708] cpuidle: using governor ladder
[    0.207731] cpuidle: using governor menu
[    0.216112] platform 49000000.edma: alias fck already exists
[    0.216145] platform 49000000.edma: alias fck already exists
[    0.216162] platform 49000000.edma: alias fck already exists
[    0.217606] OMAP GPIO hardware version 0.1
[    0.234253] omap_init_mbox: hwmod doesn't have valid attrs
[    0.248218] bio: create slab <bio-0> at 0
[    0.267299] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.268371] vbat: 5000 mV
[    0.268865] lis3_reg: no parameters
[    0.269423] vmmc-wl: 1800 mV
[    0.274270] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[    0.274312] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[    0.274804] pps_core: LinuxPPS API ver. 1 registered
[    0.274820] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.274998] PTP clock support registered
[    0.276408] Advanced Linux Sound Architecture Driver Initialized.
[    0.277919] Switched to clocksource timer1
[    0.297781] NET: Registered protocol family 2
[    0.299003] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.299053] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.299102] TCP: Hash tables configured (established 2048 bind 2048)
[    0.299197] TCP: reno registered
[    0.299216] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.299244] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.299581] NET: Registered protocol family 1
[    0.304406] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.304440] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.304708] msgmni has been set to 493
[    0.305100] io scheduler noop registered
[    0.305116] io scheduler deadline registered (default)
[    0.306418] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.309694] backlight.10 supply power not found, using dummy regulator
[    0.320189] Console: switching to colour frame buffer device 60x34
[    0.326147] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[    0.328704] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.328986] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    0.886108] console [ttyO0] enabled
[    0.891402] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    0.905485] mousedev: PS/2 mouse device common for all mice
[    0.912417] input: ti-tsc as /devices/ocp.3/44e0d000.tscadc/TI-am335x-tsc/input/input0
[    0.923552] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    0.931121] 44e3e000.rtc: already running
[    0.936303] i2c /dev entries driver
[    0.941793] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    0.950728] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[    0.958013] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[    0.965234] omap_hsmmc 48060000.mmc: vmmc regulator missing
[    0.971161] edma-dma-engine edma-dma-engine.0: freeing channel for 24
[    0.977962] edma-dma-engine edma-dma-engine.0: freeing channel for 25
[    0.984802] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
[    0.992500] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
[    0.999595] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
[    1.006807] 481d8000.mmc supply vmmc_aux not found, using dummy regulator
[    1.133642] omap_hsmmc 481d8000.mmc: card claims to support voltages below defined range
[    1.146887] davinci_evm sound.11: ASoC: CODEC (null) not registered
[    1.153656] davinci_evm sound.11: snd_soc_register_card failed (-517)
[    1.160479] platform sound.11: Driver davinci_evm requests probe deferral
[    1.170779] TCP: cubic registered
[    1.174308] NET: Registered protocol family 17
[    1.179235] 8021q: 802.1Q VLAN Support v1.8
[    1.185012] Registering SWP/SWPB emulation handler
[    1.193664] tps65910 0-002d: No interrupt support, no core IRQ
[    1.203517] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[    1.209491] vrtc: 1800 mV
[    1.212654] vrtc: supplied by vbat
[    1.218304] mmc0: new SDIO card at address 0001
[    1.223261] vio: at 1500 mV
[    1.226353] vio: supplied by vbat
[    1.232804] vdd_mpu: 912 <--> 1312 mV at 1137 mV
[    1.237827] vdd_mpu: supplied by vbat
[    1.243802] vdd_core: 912 <--> 1150 mV at 1137 mV
[    1.248947] vdd_core: supplied by vbat
[    1.254410] vdd3: 5000 mV
[    1.258904] vdig1: at 1800 mV
[    1.262177] vdig1: supplied by vbat
[    1.267405] vdig2: at 1800 mV
[    1.270735] vdig2: supplied by vbat
[    1.275975] vpll: at 1800 mV
[    1.279202] vpll: supplied by vbat
[    1.284344] vdac: at 1800 mV
[    1.287511] vdac: supplied by vbat
[    1.292706] vaux1: at 1800 mV
[    1.295980] vaux1: supplied by vbat
[    1.301277] vaux2: at 3300 mV
[    1.304550] vaux2: supplied by vbat
[    1.309913] vaux33: at 3300 mV
[    1.313279] vaux33: supplied by vbat
[    1.318676] vmmc: 1800 <--> 3300 mV at 3300 mV
[    1.323507] vmmc: supplied by vbat
[    1.328763] tps65910-rtc tps65910-rtc: IRQ is not free.
[    1.334296] tps65910-rtc: probe of tps65910-rtc failed with error -22
[    1.343885] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.350422] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[    1.357581] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[    1.364960] 48060000.mmc supply vmmc_aux not found, using dummy regulator
[    1.372413] omap_hsmmc 48060000.mmc: pins are not configured from the driver
[    1.420373] davinci_evm sound.11: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
[    1.497943] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.504368] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
[    1.512634] libphy: 4a101000.mdio: probed
[    1.516886] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
[    1.526639] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet
[    1.537255] Detected MACID = d4:94:a1:86:2f:f9
[    1.544303] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:45:34 UTC (946687534)
[    1.553664] ALSA device list:
[    1.556790]   #0: AM335x-EVMSK
[    1.560588] Waiting for root device /dev/mmcblk0p2...
[    1.575319] mmc1: host does not support reading read-only switch. assuming write-enable.
[    1.589080] mmc1: new high speed SDHC card at address aaaa
[    1.595638] isa bounce pool size: 16 pages
[    1.600188] mmcblk0: mmc1:aaaa SU04G 3.69 GiB
[    1.608501]  mmcblk0: p1 p2
[    1.686239] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
[    1.721749] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.730381] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.737107] Freeing unused kernel memory: 252K (c04f1000 - c0530000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
[    2.055430] random: mktemp urandom read with 31 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    2.188577] usbcore: registered new interface driver usbfs
[    2.194670] usbcore: registered new interface driver hub
[    2.200785] usbcore: registered new device driver usb
[    2.215797] SCSI subsystem initialized
[    2.227848] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.236406] ehci-platform: EHCI generic platform driver
[    2.246665] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
mounting /dev/root
[    5.308749] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    6.535654] NET: Registered protocol family 10
[    6.545112] ehci-omap: OMAP-EHCI Host Controller driver
[    6.559051] nf_conntrack version 0.5.0 (3954 buckets, 15816 max)
[    6.571126] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    6.629123] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    6.686770] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[    6.692961] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[    6.701199] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
[    6.738345] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[    6.744510] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[    6.752711] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
[    6.779821] 47401300.usb-phy supply vcc not found, using dummy regulator
[    6.816295] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[    6.822486] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[    6.830699] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
[    6.887218] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
[    6.893410] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
[    6.901620] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
[    6.940138] musb-hdrc musb-hdrc.0.auto: Falied to request rx1.
[    6.946307] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[    6.954519] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
[    6.990954] musb-hdrc musb-hdrc.1.auto: Falied to request rx1.
[    6.997103] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
[    7.005283] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
[    7.026073] hidraw: raw HID events driver (C) Jiri Kosina
[    7.044568] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.070975] usbcore: registered new interface driver usbhid
[    7.076876] usbhid: USB HID core driver
[    7.097008] xt_time: kernel timezone is -0000
[    7.109891] PPP generic driver version 2.4.2
[    7.117042] NET: Registered protocol family 24
[   10.408227] random: nonblocking pool is initialized
[   11.129967] net eth0: initializing cpsw version 1.12 (0)
[   11.137837] net eth0: phy found : id is : 0x4dd074
[   11.143625] net eth0: phy found : id is : 0x4dd074
[   11.181663] 8021q: adding VLAN 0 to HW filter on device eth0
[   11.187770] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.196218] device eth0 entered promiscuous mode
[   11.201273] net eth0: promiscuity ignored!
[   11.205678] net eth0: Ignoring Promiscuous mode
[   11.238591] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
procd: - init complete -
[   13.128679] libphy: 4a101000.mdio:01 - Link is Up - 0/Half
[   13.134554] br-lan: port 1(eth0) entered forwarding state
[   13.140333] br-lan: port 1(eth0) entered forwarding state
[   13.146185] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.152827] net eth0: Ignoring Promiscuous mode
[   13.157599] net eth0: Ignoring Promiscuous mode
[   13.162391] net eth0: Ignoring Promiscuous mode
[   13.168903] libphy: 4a101000.mdio:01 - Link is Down
[   13.178139] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   14.128839] br-lan: port 1(eth0) entered disabled state

(Last edited by linste0815 on 23 May 2014, 04:26)

The discussion might have continued from here.