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/WL1837MOD: WL1837 on mmc3 SDIO Interface not showing up detection

Part Number: WL1837MOD
Other Parts Discussed in Thread: WL1837, AM3357, TPS65910, WL1835

Tool/software: Linux

Hello Sir,

I am trying to bring up wl1837 which is connected to AM3357 based custom board. I am using TI SDK3.04.00.04 which comes with kernel 4.4.41  and u-boot-2016.05+gitAUTOINC+2f757e5b2c-g2f757e5b2c.

The problem is WLAN_EN pin was not going high both in uboot and linux. So I suspected that I have to make some changes in DTS but,  I successfully booted AM335x EVAL Board with DTS, Kernel and File System which I was using to boot our CUSTOM Board. In this exercise SDIO and the mmc cards getting detected at the particular mmc ports and wlcore is also getting probed after the kernel boot up. So this confirmed me that my DTS and kernel configs are well to wake up wlcore.

While doing this exercise register readings were taken both at U-Boot level and Linux level of EVAL Board and CUSTOM Board too. Later the Register readings of both the boards are compared. Register readings revel differences in registers called SD_ARG, SD_CMD, SD_HCTL, SD_SYSCTL.  The Bootlog, Register readings and differences docs are attached in this mail. I have attached the files. kindly go through them and how can i make this happen.

 

Registers of MMC2 in U-boot(AM335x Evaluation board)

47810110: 00002015 00000001 00000000 00000000    
47810120: 00000000 00000000 00000000 00000600    
47810130: 00000000 00000000 00000000 00000000    
=> md 0x47810200
47810200: 00000000 00000000 00000000 00000000    
47810210: 00000000 00000000 00000000 00000000    
47810220: 00000000 00070000 00000000 00000000    
47810230: 00000040 00000000 00000000 00000000    
47810240: 00e10080 00000000 00000000 00000000    
47810250: 00000000 00000000 00000000 00000000    
=> md 0x478102fc
478102fc: 31010000 00000000 00000000 00000000 

Registers of MMC2 in U-boot(AM335x Custom board)

=> md 0x47810110
47810110: 00002015 00000001 00000000 00000000   
47810120: 00000000 00000000 00000000 00000600    
47810130: 00000000 00000000 00000000 00000000   

47810200: 00000000 00000000 00000000 00000000   
47810210: 00000000 00000000 00000000 00000000   
47810220: 00000000 01f70000 00000000 00000000   
47810230: 00000040 00000000 00000000 00000000    
47810240: 00e10080 00000000 00000000 00000000   
47810250: 00000000 00000000 00000000 00000000

=> md 0x478102fc
478102fc: 31010000 00000000 00000000 00000000    

 Registers of MMC2 in Linux (AM335x Custom board)

Read at address  0x47810208 (0xb6faa208): 0x00000000
Read at address  0x4781020C (0xb6f9920c): 0x01020001
Read at address  0x47810210 (0xb6f22210): 0x00000000
Read at address  0x47810228 (0xb6fbe228): 0x00000B00
Read at address  0x4781022C (0xb6f1922c): 0x000E0007

Registers of MMC2 in Linux (AM335x Evaluation board)

Read at address  0x47810208 (0xb6fae208): 0x83FFF800
Read at address  0x4781020C (0xb6f4420c): 0x34020001
Read at address  0x47810210 (0xb6ff9210): 0x00001000
Read at address  0x47810228 (0xb6f13228): 0x00000B06
Read at address  0x4781022C (0xb6fd622c): 0x000D0087
 
Please check the boot logs
root@am335x-evm:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.41-gf9f6f0db2d (root@adems) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #4 PREEMPT Fri Jun 30 16:07
[    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
[    0.000000] cma: Reserved 48 MiB at 0xbd000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0955024, node_mem_map ef6f9000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.111:/home/adems/tisdk,nolock rw ip=dhcp
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 979372K/1048576K available (6603K kernel code, 317K rwdata, 2344K rodata, 264K init, 265K bss, 20052K reserved, 49152K )
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc08c5004   (8949 kB)
                     .init : 0xc08c6000 - 0xc0908000   ( 264 kB)
                     .data : 0xc0908000 - 0xc09574b0   ( 318 kB)
                      .bss : 0xc09574b0 - 0xc0999bd8   ( 266 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    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] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000040] OMAP clocksource: timer1 at 24000000 Hz
[    0.000178] clocksource_probe: no matching clocksources found
[    0.000353] Console: colour dummy device 80x30
[    0.000378] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000384] This ensures that you still see kernel messages. Please
[    0.000388] update your kernel commandline.
[    0.000406] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.089231] pid_max: default: 32768 minimum: 301
[    0.089350] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.089359] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.090028] Initializing cgroup subsys io
[    0.090059] Initializing cgroup subsys memory
[    0.090094] Initializing cgroup subsys devices
[    0.090108] Initializing cgroup subsys freezer
[    0.090121] Initializing cgroup subsys perf_event
[    0.090131] Initializing cgroup subsys pids
[    0.090157] CPU: Testing write buffer coherency: ok
[    0.090560] Setting up static identity map for 0x80008200 - 0x80008260
[    0.092419] devtmpfs: initialized
[    0.103039] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.115889] omap_hwmod: debugss: _wait_target_disable failed
[    0.171338] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.175121] pinctrl core: initialized pinctrl subsystem
[    0.176391] NET: Registered protocol family 16
[    0.178212] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.199222] cpuidle: using governor ladder
[    0.229211] cpuidle: using governor menu
[    0.232833] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[    0.233112] OMAP GPIO hardware version 0.1
[    0.233831] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[    0.234529] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[    0.235178] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[    0.240618] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrie
[    0.242429] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.276481] edma 49000000.edma: TI EDMA DMA engine driver
[    0.276838] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
[    0.277134] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@1[0]'
[    0.277379] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@2[0]' - status (0)
[    0.280476] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring e
[    0.280532] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring e
[    0.280640] media: Linux media interface: v0.10
[    0.280692] Linux video capture interface: v2.00
[    0.280736] pps_core: LinuxPPS API ver. 1 registered
[    0.280742] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.280767] PTP clock support registered
[    0.280816] EDAC MC: Ver: 3.0.0
[    0.281898] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.282220] Advanced Linux Sound Architecture Driver Initialized.
[    0.283284] clocksource: Switched to clocksource timer1
[    0.292717] NET: Registered protocol family 2
[    0.293506] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.293583] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.293650] TCP: Hash tables configured (established 8192 bind 8192)
[    0.293763] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.293785] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.293932] NET: Registered protocol family 1
[    0.294328] RPC: Registered named UNIX socket transport module.
[    0.294340] RPC: Registered udp transport module.
[    0.294345] RPC: Registered tcp transport module.
[    0.294351] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.294380] PCI: CLS 0 bytes, default 64
[    0.295264] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.296996] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.304184] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.304915] NFS: Registering the id_resolver key type
[    0.304984] Key type id_resolver registered
[    0.304990] Key type id_legacy registered
[    0.305063] ntfs: driver 2.1.32 [Flags: R/O].
[    0.308319] bounce: pool size: 64 pages
[    0.308560] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.308581] io scheduler noop registered
[    0.308593] io scheduler deadline registered
[    0.308734] io scheduler cfq registered (default)
[    0.309952] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.364827] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.368584] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    0.993821] console [ttyS0] enabled
[    0.998523] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
[    1.008393] [drm] Initialized drm 1.1.0 20060810
[    1.014935] tilcdc 4830e000.lcdc: no encoders/connectors found
[    1.027482] loop: module loaded
[    1.033003] libphy: Fixed MDIO Bus: probed
[    1.093361] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.099501] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.106631] Atheros 8031 ethernet 4a101000.mdio:00: GPIO lookup for consumer reset
[    1.106648] Atheros 8031 ethernet 4a101000.mdio:00: using lookup tables for GPIO lookup
[    1.106659] Atheros 8031 ethernet 4a101000.mdio:00: lookup for GPIO reset failed
[    1.106678] libphy: 4a101000.mdio: probed
[    1.110710] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
[    1.120758] cpsw 4a100000.ethernet: Detected MACID = d0:ff:50:37:ef:b9
[    1.127545] cpsw 4a100000.ethernet: cpts: overflow check period 850
[    1.135545] mousedev: PS/2 mouse device common for all mice
[    1.141720] i2c /dev entries driver
[    1.146300] cpuidle: enable-method property 'ti,am3352' found operations
[    1.153739] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.153755] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.153783] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
[    1.153862] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.158503] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    1.158513] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.158522] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
[    1.158531] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
[    1.158539] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.158549] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    1.183699] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[    1.183718] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.183730] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@47810000[0]'
[    1.183739] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@47810000[0]'
[    1.183747] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.183756] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
[    1.183766] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    1.183773] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.183781] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@47810000[0]'
[    1.183788] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@47810000[0]'
[    1.183796] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.183803] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
[    1.305098] ledtrig-cpu: registered to indicate activity on CPUs
[    1.313971] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[    1.324332] NET: Registered protocol family 10
[    1.330219] sit: IPv6 over IPv4 tunneling driver
[    1.335809] NET: Registered protocol family 17
[    1.340685] Key type dns_resolver registered
[    1.345300] omap_voltage_late_init: Voltage driver support not added
[    1.355484] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.360670] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.366924] gpiochip_find_base: found new base at 510
[    1.367084] gpiochip_add: registered GPIOs 510 to 511 on device: omap-gpmc
[    1.368129] omap2-nand 8000000.nand: GPIO lookup for consumer rb
[    1.368149] omap2-nand 8000000.nand: using device tree for GPIO lookup
[    1.368225] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]' - status (0)
[    1.368409] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    1.374908] nand: Micron MT29F2G08ABAEAWP
[    1.378959] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.386640] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    1.392082] 10 ofpart partitions found on MTD device 8000000.nand
[    1.398242] Creating 10 MTD partitions on "8000000.nand":
[    1.404366] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[    1.409892] 0x000000000000-0x000000020000 : "NAND.SPL"
[    1.415657] mmc0: new high speed SDIO card at address 0001
[    1.423802] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[    1.430862] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[    1.437735] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[    1.444595] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[    1.451612] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[    1.458375] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[    1.465211] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[    1.472666] 0x000000200000-0x000000a00000 : "NAND.kernel"
[    1.481917] 0x000000a00000-0x000010000000 : "NAND.file-system"
[    1.593541] tps65910 0-002d: No interrupt support, no core IRQ
[    1.599583] tps65910-gpio tps65910-gpio: ti,en-gpio-sleep not specified
[    1.599600] gpiochip_find_base: found new base at 504
[    1.599723] gpiochip_add: registered GPIOs 504 to 509 on device: tps65910
[    1.621779] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.629091] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    1.635334] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.635354] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.635386] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
[    1.635455] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.640098] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    1.640106] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.640115] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
[    1.640123] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
[    1.640132] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.640141] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    1.640493] vmmc: supplied by vbat
[    1.683971] vdd_mpu: supplied by vbat
[    1.692436] hctosys: unable to open rtc device (rtc0)
[    1.718409] net eth0: initializing cpsw version 1.12 (0)
[    1.723857] net eth0: initialized cpsw ale version 1.4
[    1.729041] net eth0: ALE Table size 1024
[    1.739651] mmc1: host does not support reading read-only switch, assuming write-enable
[    1.749678] mmc1: new high speed SDHC card at address 59b4
[    1.755909] mmcblk0: mmc1:59b4 NCard 7.51 GiB 
[    1.761638]  mmcblk0: p1 p2
[    1.814071] net eth0: phy found : id is : 0x4dd074
[    1.818979] net eth0: PHY already attached
[    1.823095] net eth0: phy "4a101000.mdio:00" not found on slave 1, err -16
[    1.835771] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.814350] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    5.822543] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.843347] Sending DHCP requests ., OK
[    5.893364] IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.100
[    5.901608] IP-Config: Complete:
[    5.905002]      device=eth0, hwaddr=d0:ff:50:37:ef:b9, ipaddr=192.168.1.100, mask=255.255.255.0, gw=192.168.1.1
[    5.915414]      host=192.168.1.100, domain=, nis-domain=(none)
[    5.921380]      bootserver=0.0.0.0, rootserver=192.168.1.111, rootpath=
[    5.928049]      nameserver0=192.168.1.1

[    5.932429] lis3_reg: disabling
[    5.935663] wlan-en-regulator: disabling
[    5.940205] ALSA device list:
[    5.943210]   No soundcards found.
[    5.964334] VFS: Mounted root (nfs filesystem) on device 0:14.
[    5.971011] devtmpfs: mounted
[    5.975068] Freeing unused kernel memory: 264K (c08c6000 - c0908000)
[    5.981464] This architecture does not have kernel memory protection.
[    6.336625] systemd[1]: System time before build time, advancing clock.
[    6.424332] random: systemd: uninitialized urandom read (16 bytes read, 97 bits of entropy available)
[    6.444469] random: systemd: uninitialized urandom read (16 bytes read, 98 bits of entropy available)
[    6.464633] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
[    6.483665] systemd[1]: Detected architecture arm.
[    6.505717] systemd[1]: Set hostname to <am335x-evm>.
[    6.670628] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 117 bits of entropy available)
[    6.714919] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 119 bits of entropy available)
[    6.768419] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 123 bits of entropy available)
[    6.846101] random: nonblocking pool is initialized
[    6.948590] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
[    7.353184] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[    7.361194] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[    7.369015] systemd[1]: sysinit.target: Found dependency on basic.target/start
[    7.376308] systemd[1]: sysinit.target: Found dependency on sockets.target/start
[    7.383767] systemd[1]: sysinit.target: Found dependency on avahi-daemon.socket/start
[    7.391643] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[    7.399100] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[    7.408635] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
[    7.449594] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.486343] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.514133] systemd[1]: Listening on Journal Socket.
[    7.574719] systemd[1]: Listening on Syslog Socket.
[    7.604118] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    7.633680] systemd[1]: Reached target Swap.
[    7.654322] systemd[1]: Listening on Network Service Netlink Socket.
[    7.683762] systemd[1]: Reached target Remote File Systems.
[    7.714145] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.743794] systemd[1]: Reached target Paths.
[    7.766963] systemd[1]: Created slice System Slice.
[    7.800919] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    7.862257] systemd[1]: Starting Setup Virtual Console...
[    7.929626] systemd[1]: Mounting POSIX Message Queue File System...
[    8.015901] systemd[1]: Starting Load Kernel Modules...
[    8.069770] systemd[1]: Mounting Debug File System...
[    8.126920] systemd[1]: Created slice User and Session Slice.
[    8.140490] cryptodev: driver 1.8 loaded.
[    8.174071] systemd[1]: Listening on udev Kernel Socket.
[    8.195143] systemd[1]: Created slice system-getty.slice.
[    8.215541] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    8.244065] systemd[1]: Listening on udev Control Socket.
[    8.269012] systemd[1]: Mounting Temporary Directory...
[    8.303998] systemd[1]: Reached target Slices.
[    8.328946] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.378201] systemd[1]: Starting Journal Service...
[    8.546908] systemd[1]: Mounted POSIX Message Queue File System.
[    8.584154] systemd[1]: Mounted Debug File System.
[    8.624122] systemd[1]: Mounted Temporary Directory.
[    8.646358] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    8.686036] systemd[1]: Started Setup Virtual Console.
[    8.702270] systemd[1]: Started Load Kernel Modules.
[    8.736960] systemd[1]: Started Remount Root and Kernel File Systems.
[    8.764858] systemd[1]: Started Journal Service.
[   10.094231] systemd-journald[107]: Received request to flush runtime journal from PID 1
[   12.057930] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
[   12.090656] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[   12.193991] rtc rtc0: 44e3e000.rtc: dev (254:0)
[   12.194043] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[   12.278535] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
[   12.278564] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
[   12.278581] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[   12.278591] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[   12.278600] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
[   12.278610] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
[   12.278619] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
[   12.278627] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
[   12.278636] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[   12.278644] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[   12.278652] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
[   12.278660] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
[   12.278743] 47401300.usb-phy supply vcc not found, using dummy regulator
[   12.386613] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
[   12.386645] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
[   12.386661] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
[   12.386671] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
[   12.386680] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
[   12.386691] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
[   12.386700] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
[   12.386708] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
[   12.386717] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
[   12.386725] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
[   12.386733] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
[   12.386741] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
[   12.386820] 47401b00.usb-phy supply vcc not found, using dummy regulator
[   12.641958] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@4802a000/tlv320aic3106@1b[0]'
[   12.642141] vaux2: supplied by vbat
[   13.241440] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[   13.372383] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
[   13.491525] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[   13.576208] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[   13.664884] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[   13.740358]  remoteproc0: 4a334000.pru0 is available
[   13.839657]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[   13.992514]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.192490]  remoteproc0: registered virtio0 (type 7)
[   14.247264] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
[   14.355245]  remoteproc1: 4a338000.pru1 is available
[   14.360281]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[   14.527232]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   14.691512]  remoteproc1: registered virtio1 (type 7)
[   14.753135] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
[   15.295224] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[   16.124086] [drm] Initialized pvr 1.14.3699939 20110701 on minor 0
[   16.133266]  remoteproc2: wkup_m3 is available
[   16.202827]  remoteproc2: Note: remoteproc is still under development and considered experimental.
[   16.347208]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[   16.494800] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[   16.548934]  remoteproc2: powering up wkup_m3
[   16.619629]  remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217280
[   16.668454] PM: bootloader does not support rtc-only!
[   16.755443]  remoteproc2: remote processor wkup_m3 is now up
[   16.755470] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[   17.181211] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[   17.361682] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   17.526929] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   20.971622] usbcore: registered new interface driver usbfs
[   21.088949] usbcore: registered new interface driver hub
[   21.122423] usbcore: registered new device driver usb
[   21.248001] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[   21.248029] musb-hdrc: MHDRC RTL version 2.0 
[   21.248038] musb-hdrc: setup fifo_mode 4
[   21.248056] musb-hdrc: 28/31 max ep, 16384/16384 memory
[   21.248202] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[   21.337170] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[   21.405515] hub 1-0:1.0: USB hub found
[   21.451830] hub 1-0:1.0: 1 port detected
[   21.532178] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[   21.532206] musb-hdrc: MHDRC RTL version 2.0 
[   21.532215] musb-hdrc: setup fifo_mode 4
[   21.532230] musb-hdrc: 28/31 max ep, 16384/16384 memory
[   21.532365] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[   21.614815]  remoteproc0: powering up 4a334000.pru0
[   21.633778] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
[   21.660380]  remoteproc0: Booting fw image am335x-pru0-fw, size 75724
[   21.704983] hub 2-0:1.0: USB hub found
[   21.718379] ti-pruss 4a300000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
[   21.742862] hub 2-0:1.0: 1 port detected
[   21.808063]  remoteproc0: remote processor 4a334000.pru0 is now up
[   21.848473] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x1e
[   21.857850] virtio_rpmsg_bus virtio0: rpmsg host is online
[   21.905590]  remoteproc1: powering up 4a338000.pru1
[   21.926514] wl18xx_driver wl18xx.0.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
[   21.956830]  remoteproc1: Booting fw image am335x-pru1-fw, size 75724
[   22.014103] ti-pruss 4a300000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
[   22.109763]  remoteproc1: remote processor 4a338000.pru1 is now up
[   22.139733] virtio_rpmsg_bus virtio1: creating channel rpmsg-pru addr 0x1f
[   22.148389] virtio_rpmsg_bus virtio1: rpmsg host is online
[   22.247333] cfg80211: World regulatory domain updated:
[   22.252576] cfg80211:  DFS Master region: unset
[   22.330795] rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru30
[   22.349894] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   22.380277] rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru31
[   22.387724] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   22.417577] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   22.462214] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   22.515829] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   22.525520] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   22.537221] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   22.547819] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   22.556833] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   22.565693] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   22.672265] wlcore: loaded
[   26.355512] using random self ethernet address
[   26.370359] using random host ethernet address
[   26.399393] using host ethernet address: D0:FF:50:37:EF:BB
[   26.424764] using random self ethernet address
[   26.432117] using random host ethernet address
[   26.457293] using host ethernet address: D0:FF:50:37:EF:BB
[   26.501752] usb0: HOST MAC d0:ff:50:37:ef:bb
[   26.553969] usb0: MAC 52:fc:66:a0:10:d4
[   26.705037] Mass Storage Function, version: 2009/09/11
[   26.710271] LUN: removable file: (no medium)
[   26.817668] LUN: removable read only file: /dev/mmcblk0p1
[   26.907511] Number of LUNs=1
[   26.947294] g_multi gadget: Multifunction Composite Gadget
[   26.952877] g_multi gadget: g_multi ready
[   27.007487] Bluetooth: Core ver 2.21
[   27.071038] NET: Registered protocol family 31
[   27.167369] Bluetooth: HCI device and connection manager initialized
[   27.248199] Bluetooth: HCI socket layer initialized
[   27.253189] Bluetooth: L2CAP socket layer initialized
[   27.392512] Bluetooth: SCO socket layer initialized
[   27.793891] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[   28.553599] NET: Registered protocol family 15
[   28.647415] wlcore: PHY firmware version: Rev 8.2.0.0.232
[   28.838313] wlcore: firmware booted (Rev 8.9.0.0.48)
[   28.956071] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   29.822372] Initializing XFRM netlink socket
[   36.234179] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
root@am335x-evm:~# dmesg | grep mmc
[    1.153739] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.153755] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.153783] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
[    1.153862] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.158503] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    1.158513] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.158522] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
[    1.158531] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
[    1.158539] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.158549] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    1.183699] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
[    1.183718] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.183730] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@47810000[0]'
[    1.183739] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@47810000[0]'
[    1.183747] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.183756] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
[    1.183766] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[    1.183773] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[    1.183781] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@47810000[0]'
[    1.183788] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@47810000[0]'
[    1.183796] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[    1.183803] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
[    1.313971] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[    1.404366] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[    1.415657] mmc0: new high speed SDIO card at address 0001
[    1.635334] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.635354] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.635386] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
[    1.635455] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.640098] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    1.640106] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.640115] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
[    1.640123] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
[    1.640132] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.640141] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    1.640493] vmmc: supplied by vbat
[    1.739651] mmc1: host does not support reading read-only switch, assuming write-enable
[    1.749678] mmc1: new high speed SDHC card at address 59b4
[    1.755909] mmcblk0: mmc1:59b4 NCard 7.51 GiB 
[    1.761638]  mmcblk0: p1 p2
[   17.181211] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[   17.361682] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   17.526929] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   26.817668] LUN: removable read only file: /dev/mmcblk0p1
root@am335x-evm:~# dmesg | grep SDIO
[    1.415657] mmc0: new high speed SDIO card at address 0001


Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.41-gf9f6f0db2d (root@adems) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #4 PREEMPT Fri Jun 30 16:07
[    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
[    0.000000] cma: Reserved 48 MiB at 0xbd000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.111:/home/adems/tisdk,nolock rw ip=dhcp
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 979372K/1048576K available (6603K kernel code, 317K rwdata, 2344K rodata, 264K init, 265K bss, 20052K reserved, 49152K )
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08c5004   (8949 kB)
[    0.000000]       .init : 0xc08c6000 - 0xc0908000   ( 264 kB)
[    0.000000]       .data : 0xc0908000 - 0xc09574b0   ( 318 kB)
[    0.000000]        .bss : 0xc09574b0 - 0xc0999bd8   ( 266 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    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] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000058] OMAP clocksource: timer1 at 24000000 Hz
[    0.000266] clocksource_probe: no matching clocksources found
[    0.000480] Console: colour dummy device 80x30
[    0.000510] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000519] This ensures that you still see kernel messages. Please
[    0.000525] update your kernel commandline.
[    0.000547] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.058749] pid_max: default: 32768 minimum: 301
[    0.058919] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.058935] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.059793] Initializing cgroup subsys io
[    0.059831] Initializing cgroup subsys memory
[    0.059874] Initializing cgroup subsys devices
[    0.059894] Initializing cgroup subsys freezer
[    0.059911] Initializing cgroup subsys perf_event
[    0.059927] Initializing cgroup subsys pids
[    0.059962] CPU: Testing write buffer coherency: ok
[    0.060415] Setting up static identity map for 0x80008200 - 0x80008260
[    0.063153] devtmpfs: initialized
[    0.079406] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.098017] omap_hwmod: debugss: _wait_target_disable failed
[    0.156390] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.161084] pinctrl core: initialized pinctrl subsystem
[    0.162712] NET: Registered protocol family 16
[    0.165245] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.188813] cpuidle: using governor ladder
[    0.218801] cpuidle: using governor menu
[    0.224553] OMAP GPIO hardware version 0.1
[    0.235601] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrie
[    0.238320] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.279791] edma 49000000.edma: TI EDMA DMA engine driver
[    0.285235] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring e
[    0.285304] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring e
[    0.285468] media: Linux media interface: v0.10
[    0.285545] Linux video capture interface: v2.00
[    0.285608] pps_core: LinuxPPS API ver. 1 registered
[    0.285618] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.285656] PTP clock support registered
[    0.285729] EDAC MC: Ver: 3.0.0
[    0.287194] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.287630] Advanced Linux Sound Architecture Driver Initialized.
[    0.289171] clocksource: Switched to clocksource timer1
[    0.303327] NET: Registered protocol family 2
[    0.304278] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.304398] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.304507] TCP: Hash tables configured (established 8192 bind 8192)
[    0.304628] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.304664] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.304863] NET: Registered protocol family 1
[    0.305336] RPC: Registered named UNIX socket transport module.
[    0.305353] RPC: Registered udp transport module.
[    0.305361] RPC: Registered tcp transport module.
[    0.305369] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.306485] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.308947] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.319974] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.320999] NFS: Registering the id_resolver key type
[    0.321076] Key type id_resolver registered
[    0.321086] Key type id_legacy registered
[    0.321184] ntfs: driver 2.1.32 [Flags: R/O].
[    0.325394] bounce: pool size: 64 pages
[    0.325703] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.325731] io scheduler noop registered
[    0.325748] io scheduler deadline registered
[    0.325955] io scheduler cfq registered (default)
[    0.327665] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.412197] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.417413] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[    1.042916] console [ttyS0] enabled
[    1.047934] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
[    1.058199] [drm] Initialized drm 1.1.0 20060810
[    1.065425] tilcdc 4830e000.lcdc: no encoders/connectors found
[    1.080627] loop: module loaded
[    1.087161] libphy: Fixed MDIO Bus: probed
[    1.149264] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.155409] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.162687] libphy: 4a101000.mdio: probed
[    1.166736] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
[    1.176008] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:73:09:19
[    1.182836] cpsw 4a100000.ethernet: cpts: overflow check period 850
[    1.191408] mousedev: PS/2 mouse device common for all mice
[    1.197753] i2c /dev entries driver
[    1.202772] cpuidle: enable-method property 'ti,am3352' found operations
[    1.210603] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.363270] ledtrig-cpu: registered to indicate activity on CPUs
[    1.374798] NET: Registered protocol family 10
[    1.381054] sit: IPv6 over IPv4 tunneling driver
[    1.386691] NET: Registered protocol family 17
[    1.391733] Key type dns_resolver registered
[    1.396311] omap_voltage_late_init: Voltage driver support not added
[    1.406848] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.412218] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.420118] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    1.426504] nand: Micron MT29F2G08ABAEAWP
[    1.430642] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.438285] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    1.443756] 10 ofpart partitions found on MTD device 8000000.nand
[    1.449903] Creating 10 MTD partitions on "8000000.nand":
[    1.455357] 0x000000000000-0x000000020000 : "NAND.SPL"
[    1.462328] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[    1.469820] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[    1.477088] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[    1.484390] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[    1.491922] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[    1.499066] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[    1.506361] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[    1.514354] 0x000000200000-0x000000a00000 : "NAND.kernel"
[    1.524179] 0x000000a00000-0x000010000000 : "NAND.file-system"
[    1.639475] tps65910 0-002d: No interrupt support, no core IRQ
[    1.670479] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.678282] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    1.684824] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.690064] vmmc: supplied by vbat
[    1.729971] vdd_mpu: supplied by vbat
[    1.736749] hctosys: unable to open rtc device (rtc0)
[    1.764728] net eth0: initializing cpsw version 1.12 (0)
[    1.770179] net eth0: initialized cpsw ale version 1.4
[    1.775347] net eth0: ALE Table size 1024
[    1.781674] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
[    1.789472] net eth0: phy found : id is : 0x2000a231
[    1.801271] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.790229] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    4.799289] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    4.819236] Sending DHCP requests ......
[   80.759240] random: nonblocking pool is initialized
[   92.309209]  timed out!
[   92.346520] IP-Config: Retrying forever (NFS root)...
[   92.351830] net eth0: initializing cpsw version 1.12 (0)
[   92.357189] net eth0: initialized cpsw ale version 1.4
[   92.362465] net eth0: ALE Table size 1024
[   92.369788] net eth0: phy found : id is : 0x2000a231
[   92.374910] net eth0: PHY already attached
[   92.379048] net eth0: phy "4a101000.mdio:00" not found on slave 1, err -16
[   92.392631] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   95.370232] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   95.378390] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   95.393036] Sending DHCP requests ., OK
[   95.439249] IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.103
[   95.447481] IP-Config: Complete:
[   95.450872]      device=eth0, hwaddr=68:c9:0b:73:09:19, ipaddr=192.168.1.103, mask=255.255.255.0, gw=192.168.1.1
[   95.461193]      host=192.168.1.103, domain=, nis-domain=(none)
[   95.467157]      bootserver=0.0.0.0, rootserver=192.168.1.111, rootpath=
[   95.473901]      nameserver0=192.168.1.1
[   95.478271] lis3_reg: disabling
[   95.481506] wlan-en-regulator: disabling
[   95.486029] ALSA device list:
[   95.489034]   No soundcards found.
[   95.507400] VFS: Mounted root (nfs filesystem) on device 0:14.
[   95.514372] devtmpfs: mounted
[   95.518262] Freeing unused kernel memory: 264K (c08c6000 - c0908000)
[   95.524804] This architecture does not have kernel memory protection.
[   95.918167] systemd[1]: System time before build time, advancing clock.
[   96.008860] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
[   96.028067] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.12!

[   96.051125] systemd[1]: Set hostname to <am335x-evm>.
[   96.484797] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
[   96.878784] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[   96.886817] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[   96.894672] systemd[1]: sysinit.target: Found dependency on basic.target/start
[   96.901979] systemd[1]: sysinit.target: Found dependency on sockets.target/start
[   96.909450] systemd[1]: sysinit.target: Found dependency on avahi-daemon.socket/start
[   96.917333] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[   96.924807] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[   96.934287] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
[ SKIP ] Ordering cycle found, skipping alignment.service
[   96.979526] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   97.010057] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   97.040451] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   97.069988] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[   97.102679] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   97.130083] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   97.159850] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   97.191297] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   97.219816] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   97.241428] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   97.301067] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   97.340004] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   97.376491] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   97.456651] systemd[1]: Starting Setup Virtual Console...
[   97.506456] cryptodev: driver 1.8 loaded.
         Starting Setup Virtual Console...
[   97.556202] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[   97.656592] systemd[1]: Mounting Temporary Directory...
         Mounting Temporary Directory...
[   97.695637] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[   97.755273] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   97.830209] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   97.865845] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   97.950501] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   98.019865] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   98.049904] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   98.081685] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   98.099918] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   98.173133] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   98.220003] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[   98.233196] systemd[1]: Mounted Temporary Directory.
[  OK  ] Mounted Temporary Directory.
[   98.260589] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[  100.349016] systemd-journald[105]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
         Mounting /media/ram...
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Load/Save Random Seed...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started udev Coldplug all Devices.
[  102.962297] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[  103.065355] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
[  103.078551] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[  103.172524] 47401300.usb-phy supply vcc not found, using dummy regulator
[  103.311714] 47401b00.usb-phy supply vcc not found, using dummy regulator
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Create Volatile Files and Directories.
[  103.718494] vaux2: supplied by vbat
[  104.061674] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[  104.411084] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
[  104.501042] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[  104.508838] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[  104.747551]  remoteproc0: 4a334000.pru0 is available
[  104.794396]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[  104.835015] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[  104.967531]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[  105.137755]  remoteproc0: registered virtio0 (type 7)
[  105.181384] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
[  105.295284]  remoteproc1: 4a338000.pru1 is available
[  105.363500]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[  105.477512]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[  105.631230]  remoteproc1: registered virtio1 (type 7)
[  105.636416] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
[  105.880684] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
         Starting Network Time Synchronization...
[  106.590039]  remoteproc2: wkup_m3 is availableShutdown...
[  106.594535]  remoteproc2: Note: remoteproc is still under development and considered experimental.
[  106.778012]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[  OK  ] Started Network Time Synchronization.
[  107.356079]  remoteproc2: powering up wkup_m3
[  107.420167]  remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217280
[  107.427735]  remoteproc2: remote processor wkup_m3 is now up
[  107.427764] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[  107.800534] omap_hwmod: gfx: failed to hardreset
[  107.936773] pvrsrvkm 56000000.sgx: Unable to reset SGX!
[  107.986181] omap_hwmod: gfx: _wait_target_ready failed: -16
[  108.081821] PVR_K:(Error): EnableSGXClocks: pm_runtime_get_sync failed (16)
[  108.088973] PVR_K:(Error): SysInitialise: Failed to Enable system clocks (175)
[  108.260890] PM: bootloader does not support rtc-only!
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Found device /dev/ttyS3.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Synchronize System and HW clocks...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Synchronize System and HW clocks.
[  112.228159] usbcore: registered new interface driver usbfs
[  112.295701] usbcore: registered new interface driver hub
[  112.358556] usbcore: registered new device driver usb
[  112.539083] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[  112.589641] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[  112.650721] hub 1-0:1.0: USB hub found
[  112.686505] hub 1-0:1.0: 1 port detected
[  112.748528] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[  112.812495]  remoteproc0: powering up 4a334000.pru0
[  112.840557] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[  112.857736]  remoteproc0: Booting fw image am335x-pru0-fw, size 75724
[  112.896438] ti-pruss 4a300000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
[  112.915202] hub 2-0:1.0: USB hub found
[  112.937022] hub 2-0:1.0: 1 port detected
[  112.973433]  remoteproc0: remote processor 4a334000.pru0 is now up
[  113.008423] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x1e
[  113.017229] virtio_rpmsg_bus virtio0: rpmsg host is online
[  113.043496]  remoteproc1: powering up 4a338000.pru1
[  113.080801]  remoteproc1: Booting fw image am335x-pru1-fw, size 75724
[  113.087509] ti-pruss 4a300000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
[  113.117706]  remoteproc1: remote processor 4a338000.pru1 is now up
[  113.161381] virtio_rpmsg_bus virtio1: creating channel rpmsg-pru addr 0x1f
[  113.172294] virtio_rpmsg_bus virtio1: rpmsg host is online
[  113.310014] rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru30
[  113.336401] rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru31
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
        Starting Telephony service...i
                                                Starting Permit User Sessions...
         Starting Login Service...
         Starting uim-sysfs.service...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Telephony service.
         Starting Network Service...
[  OK  ] Started Kernel Logging Service.
[  117.268510] Bluetooth: Core ver 2.21
[  117.327853] NET: Registered protocol family 31
         Starting Print notice about GPLv3 packages...
[  117.392710] Bluetooth: HCI device and connection manager initialized
[  OK  ] Started System Logging Service.
[  117.461671] Bluetooth: HCI socket layer initialized
[  117.466620] Bluetooth: L2CAP socket layer initialized
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
         Starting Avahi mDNS/DNS-SD Stack...
[  117.585832] Bluetooth: SCO socket layer initialized
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Network Service.
[  119.203319] NET: Registered protocol family 15
[  120.503701] Initializing XFRM netlink socket
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
[  OK  ] Reached target Network.
         Starting Lightning Fast Webserver With Light System Requirements...
         Starting Network Name Resolution...
[  OK  ] Started Serial Getty on ttyS3.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started uim-sysfs.service.
         Starting rc.pvr.service...
[  OK  ] Started rc.pvr.service.
         Starting weston.service...

Regards,

Sachin

  • Hi,
    We have received your query . We will get back to you shortly .

    Thanks
    Saurabh
  • Hello,

    Any suggestion for the above problem,

    Regards,

    Sachin

  • Hello,

    Any progress related to this thread


    Regards,
    Sachin
  • Hi Sachin,

    Can you attach your schematics ?

    Cheers,
    --Prabhakar Lad
  • Hello,

    yea sure, here is our schematic

    SE1605015_For_TI_Review.pdf

    Regards,

    Sachin

  • Hi,

    Have you configured the "mmc2_sdio_sel" properly ? Could you attach your complete dts file (In case dtc -I dtb -O dts your.dtb > devictree.dts )

    Cheers,
    --Prabhakar Lad
  • Hello,


    No, can you tell me where can I configure it, i haven't concentrated on it. Since it is same as eval board and as I am using ti sdk and as everything, means kernel and dts making the wlan0 up in eval board I thought we dont need any extra configuration, please help me in configuring it.

    here are the dtc,dtb,dts

    # Makefile.dtc
    #
    # This is not a complete Makefile of itself.  Instead, it is designed to
    # be easily embeddable into other systems of Makefiles.
    #
    DTC_SRCS = \
    	checks.c \
    	data.c \
    	dtc.c \
    	flattree.c \
    	fstree.c \
    	livetree.c \
    	srcpos.c \
    	treesource.c \
    	util.c
    
    DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
    DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o)
    

    �
    ���T8��(x��ti,am335x-evmti,am33xx&7TI AM335x EVMchosenaliases=/ocp/i2c@44e0b000B/ocp/i2c@4802a000G/ocp/i2c@4819c000L/ocp/serial@44e09000T/ocp/serial@48022000\/ocp/serial@48024000d/ocp/serial@481a6000l/ocp/serial@481a8000t/ocp/serial@481aa000|/ocp/can@481cc000�/ocp/can@481d0000�/ocp/usb@47400000/usb@47401000�/ocp/usb@47400000/usb@47401800#�/ocp/usb@47400000/usb-phy@47401300#�/ocp/usb@47400000/usb-phy@47401b00&�/ocp/ethernet@4a100000/slave@4a100200&�/ocp/ethernet@4a100000/slave@4a100300memory�memory��cpuscpu@0arm,cortex-a8
    �ti,am3352�cpu������	cpu��#3idle-statesmpu_gatearm,idle-state?(PZ`,q��opp_table0operating-points-v2��opp50@300000000���~�4��(��opp100@275000000�d*����r�����opp100@300000000�����r��� �opp100@500000000��e���r�����opp100@600000000�#�F���r���@opp120@600000000�#�F�O����@���opp120@720000000�*�T�O����@��oppturbo@720000000�*�T�9��p�P���oppturbo@800000000�/��9��p�P�oppnitro@1000000000�;���7��D�L�pmuarm,cortex-a8-pmu�socti,omap-inframpu
    ti,omap3-mpu�mpu�ocpsimple-bus��l3_mainl4_wkup@44c00000ti,am3-l4-wkupsimple-bus�D�(wkup_m3@100000ti,am3352-wkup-m3�@ 
    �umemdmem�wkup_m3�am335x-pm-firmware.elf�*�*prcm@200000ti,am3-prcm� @clocksclk_32768_ck�fixed-clock���clk_rc32k_ck�fixed-clock}��virt_19200000_ck�fixed-clock$��%�%virt_24000000_ck�fixed-clockn6�&�&virt_25000000_ck�fixed-clock}x@�'�'virt_26000000_ck�fixed-clock����(�(tclkin_ck�fixed-clock���dpll_core_ck�ti,am3-dpll-core-clock��\h�	�	dpll_core_x2_ck�ti,am3-dpll-x2-clock	�
    �
    dpll_core_m4_ck�ti,divider-clock
    ��#��dpll_core_m5_ck�ti,divider-clock
    ��#��dpll_core_m6_ck�ti,divider-clock
    ��#dpll_mpu_ck�ti,am3-dpll-clock�� ,��dpll_mpu_m2_ck�ti,divider-clock��#dpll_ddr_ck�ti,am3-dpll-no-gate-clock��4@��dpll_ddr_m2_ck�ti,divider-clock��#��dpll_ddr_m2_div2_ck�fixed-factor-clock:Edpll_disp_ck�ti,am3-dpll-no-gate-clock��HT�
    �
    dpll_disp_m2_ck�ti,divider-clock
    ��#O��dpll_per_ck�!ti,am3-dpll-no-gate-j-type-clock��p���dpll_per_m2_ck�ti,divider-clock��#��dpll_per_m2_div4_wkupdm_ck�fixed-factor-clock:Edpll_per_m2_div4_ck�fixed-factor-clock:Ecefuse_fck�ti,gate-clockb�
     clk_24mhz�fixed-factor-clock:E��clkdiv32k_ck�fixed-factor-clock:E���clkdiv32k_ick�ti,gate-clockb�L��l3_gclk�fixed-factor-clock:E��pruss_ocp_gclk�
    ti,mux-clock�0mmu_fck�ti,gate-clockb�	timer1_fck�
    ti,mux-clock�(timer2_fck�
    ti,mux-clock�timer3_fck�
    ti,mux-clock�timer4_fck�
    ti,mux-clock�timer5_fck�
    ti,mux-clock�timer6_fck�
    ti,mux-clock�timer7_fck�
    ti,mux-clock�usbotg_fck�ti,gate-clockb�|dpll_core_m4_div2_ck�fixed-factor-clock:E��ieee5000_fck�ti,gate-clockb��wdt1_fck�
    ti,mux-clock�8l4_rtc_gclk�fixed-factor-clock:El4hs_gclk�fixed-factor-clock:El3s_gclk�fixed-factor-clock:El4fw_gclk�fixed-factor-clock:El4ls_gclk�fixed-factor-clock:E�)�)sysclk_div_ck�fixed-factor-clock:Ecpsw_125mhz_gclk�fixed-factor-clock:E�L�Lcpsw_cpts_rft_clk�
    ti,mux-clock� �M�Mgpio0_dbclk_mux_ck�
    ti,mux-clock�<��gpio0_dbclk�ti,gate-clockb�gpio1_dbclk�ti,gate-clockb��gpio2_dbclk�ti,gate-clockb��gpio3_dbclk�ti,gate-clockb��lcd_gclk�
    ti,mux-clock�4O��mmc_clk�fixed-factor-clock:Egfx_fclk_clksel_ck�
    ti,mux-clockb�,��gfx_fck_div_ck�ti,divider-clock�,�W�Wsysclkout_pre_ck�
    ti,mux-clock���clkout2_div_ck�ti,divider-clockb��#�#dbg_sysclk_ck�ti,gate-clockb���dbg_clka_ck�ti,gate-clockb�� � stm_pmd_clock_mux_ck�
    ti,mux-clock b��!�!trace_pmd_clk_mux_ck�
    ti,mux-clock b��"�"stm_clk_div_ck�ti,divider-clock!b@�otrace_clk_div_ck�ti,divider-clock"b@�oclkout2_ck�ti,gate-clock#b�clockdomainsclk_24mhz_clkdmti,clockdomainscm@210000ti,am3-scmsimple-bus�! �! pinmux@800pinctrl-single�8� ��default�$pinmux_i2c0_pins��0�0�3�3pinmux_i2c1_pins�X2\2�5�5pinmux_uart0_pins�p0t�1�1pinmux_clkout2_pin���$�$nandflash_pins_s0x�00000000p0t7|�����T�Tbacklight_pins�d�H�Hcpsw_default`�" $(,0"4"8"<"@"�N�Ncpsw_sleep`�''' '$'(','0'4'8'<'@'�O�Odavinci_mdio_default�H0L�P�Pdavinci_mdio_sleep�H'L'�Q�Qpinmux_mmc1_pins�`/�:�:pinmux_mmc3_pins_default0�D3H3L3x3�3�3�=�=pinmux_mmc3_pins_sleep0�D'H'L'x'�'�'�?�?pinmux_uart1_pins_default �x(|�0��2�2pinmux_wlan_pins_default�@�/��>�>pinmux_wlan_pins_sleep�@�/��@�@scm_conf@0syscon���clockssys_clkin_ck�
    ti,mux-clock%&'(b�@��adc_tsc_fck�fixed-factor-clock:Edcan0_fck�fixed-factor-clock:E�B�Bdcan1_fck�fixed-factor-clock:E�C�Cmcasp0_fck�fixed-factor-clock:Emcasp1_fck�fixed-factor-clock:Esmartreflex0_fck�fixed-factor-clock:Esmartreflex1_fck�fixed-factor-clock:Esha0_fck�fixed-factor-clock:Eaes0_fck�fixed-factor-clock:Erng_fck�fixed-factor-clock:Eehrpwm0_tbclk@44e10664�ti,gate-clock)b�d�I�Iehrpwm1_tbclk@44e10664�ti,gate-clock)b�d�J�Jehrpwm2_tbclk@44e10664�ti,gate-clock)b�d�K�Kwkup_m3_ipc@1324ti,am3352-wkup-m3-ipc�$$�N�*�+,�am335x-evm-scale-data.bindma-router@f90ti,am335x-edma-crossbar��@
     %-�8�8clockdomainsinterrupt-controller@48200000ti,am33xx-intc1F�H ��edma@49000000ti,edma3-tpcc�tpcc�I	�edma3_cc�
    'Wedma3_ccintemda3_mperredma3_ccerrint@
    g./0p�-�-tptc@49800000ti,edma3-tptc�tptc0�I��pWedma3_tcerrint�.�.tptc@49900000ti,edma3-tptc�tptc1�I��qWedma3_tcerrint�/�/tptc@49a00000ti,edma3-tptc�tptc2�I��rWedma3_tcerrint�0�0emif@4c000000ti,emif-am3352�L�gpio@44e07000ti,omap4-gpio�gpio1��1F�D�p�`�;�;gpio@4804c000ti,omap4-gpio�gpio2��1F�H��b�X�Xgpio@481ac000ti,omap4-gpio�gpio3��1F�H�� gpio@481ae000ti,omap4-gpio�gpio4��1F�H��>�A�Aserial@44e09000ti,am3352-uartti,omap3-uart�uart1�l�D� �H�okay�--�txrx�default�1serial@48022000ti,am3352-uartti,omap3-uart�uart2�l�H  �I�okay�--�txrx�default�2serial@48024000ti,am3352-uartti,omap3-uart�uart3�l�H@ �J	�disabled�--�txrxserial@481a6000ti,am3352-uartti,omap3-uart�uart4�l�H` �,	�disabledserial@481a8000ti,am3352-uartti,omap3-uart�uart5�l�H� �-	�disabledserial@481aa000ti,am3352-uartti,omap3-uart�uart6�l�H� �.	�disabledi2c@44e0b000
    ti,omap4-i2c�i2c1�D��F�okay�default�3�tps@2d�-ti,tps65910�4�4�4�4�4�444regulatorsregulator@0�vrtc0regulator@1�vio0regulator@2�vdd1Dvdd_mpuS
    �tk�L�0��regulator@3�vdd2	Dvdd_coreS
    �tk�0�0regulator@4�vdd30regulator@5�vdig10regulator@6�vdig20regulator@7�vpll0regulator@8�vdac0regulator@9�	vaux10regulator@10�
    vaux20�7�7regulator@11�vaux330regulator@12�vmmcSw@k2Z�0�9�9regulator@13�
    vbbi2c@4802a000
    ti,omap4-i2c�i2c2�H��G�okay�default�5��lis331dlh@18st,lis331dlhst,lis3lv02d��6�6����
    �
    
    (6ETcr��x�x���&�&��tsl2550@39
    taos,tsl2550�9tmp275@48
    ti,tmp275�Htlv320aic3106@1b�ti,tlv320aic3106��okay�777!4i2c@4819c000
    ti,omap4-i2c�i2c3�H��	�disabledmmc@48060000ti,omap4-hsmmc�mmc1-:Q �88�txrx�@&�H�okayn9z�default�:�;mmc@481d8000ti,omap4-hsmmc�mmc2:�--�txrx�&�H�	�disabledmmc@47810000ti,omap4-hsmmc�mmc3:�&�G��okay �88
    �txrxn<z�defaultsleep�=>�?@�Q��wlcore@0
    ti,wl1835�&A�spinlock@480ca000ti,omap4-hwspinlock�H�	�spinlock�wdt@44e35000
    ti,omap3-wdt
    �wd_timer2�D�P�[can@481cc000ti,am3352-d_can�d_can0�H� B	fck�D�4	�disabledcan@481d0000ti,am3352-d_can�d_can1�H C	fck�D�7	�disabledmailbox@480C8000ti,omap4-mailbox�H��M�mailbox���+�+wkup_m31<�,�,mbox_pru01<mbox_pru11<timer@44e31000ti,am335x-timer-1ms�D��C�timer1Gtimer@48040000ti,am335x-timer�H�D�timer2timer@48042000ti,am335x-timer�H �E�timer3timer@48044000ti,am335x-timer�H@�\�timer4Vtimer@48046000ti,am335x-timer�H`�]�timer5Vtimer@48048000ti,am335x-timer�H��^�timer6Vtimer@4804a000ti,am335x-timer�H��_�timer7Vrtc@44e3e000ti,am3352-rtcti,da830-rtc�D���KL�rtc	ext-clkint-clkspi@48030000ti,omap4-mcspi�H�Ac�spi00�----�tx0rx0tx1rx1	�disabledspi@481a0000ti,omap4-mcspi�H�}c�spi10�-*-+-,--�tx0rx0tx1rx1	�disabledusb@47400000ti,am33xx-usb�G@��usb_otg_hs�okaycontrol@44e10620ti,am335x-usb-ctrl-module�D� D�H�phy_ctrlwakeup�okay�D�Dusb-phy@47401300ti,am335x-usb-phy�G@�phy�okayqD�E�Eusb@47401000ti,musb-am33xx�okay�G@G@�mccontrol�Wmc}otg������Eh�FFFFFFFFFF	F
    FFF
    FFFFFFFFFFF	F
    FFF
    F��rx1rx2rx3rx4rx5rx6rx7rx8rx9rx10rx11rx12rx13rx14rx15tx1tx2tx3tx4tx5tx6tx7tx8tx9tx10tx11tx12tx13tx14tx15usb-phy@47401b00ti,am335x-usb-phy�G@�phy�okayqD�G�Gusb@47401800ti,musb-am33xx�okay�G@G@�mccontrol�Wmc}host������Gh�FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF��rx1rx2rx3rx4rx5rx6rx7rx8rx9rx10rx11rx12rx13rx14rx15tx1tx2tx3tx4tx5tx6tx7tx8tx9tx10tx11tx12tx13tx14tx15dma-controller@47402000ti,am3359-cppi41 �G@G@ G@0G@@@#�gluecontrollerschedulerqueuemgr�Wglue
    ���okay�F�Fepwmss@48300000ti,am33xx-pwmss�H0�epwmss0�okay$�H0H0�H0�H0��H0H0�ecap@48300100ti,am3352-ecapti,am33xx-ecap��H0�)	fck�Wecap0�okay�default�Hpwm@48300200"ti,am3352-ehrpwmti,am33xx-ehrpwm��H0�I)
    	tbclkfck	�disabledepwmss@48302000ti,am33xx-pwmss�H0 �epwmss1	�disabled$�H0!H0!�H0!�H0!��H0"H0"�ecap@48302100ti,am3352-ecapti,am33xx-ecap��H0!�)	fck�/Wecap1	�disabledpwm@48302200"ti,am3352-ehrpwmti,am33xx-ehrpwm��H0"�J)
    	tbclkfck	�disabledepwmss@48304000ti,am33xx-pwmss�H0@�epwmss2	�disabled$�H0AH0A�H0A�H0A��H0BH0B�ecap@48304100ti,am3352-ecapti,am33xx-ecap��H0A�)	fck�=Wecap2	�disabledpwm@48304200"ti,am3352-ehrpwmti,am33xx-ehrpwm��H0B�K)
    	tbclkfck	�disabledethernet@4a100000ti,am335x-cpswti,cpsw�cpgmac0LM		fckcpts��
       ,3@�P�JJ&�()*+�a�okay�defaultsleep�N�Omdio@4a101000
    ti,cpsw-mdio
    �davinci_mdiohB@�J�okay�defaultsleep�P�Qq�
    ����R�Rslave@4a100200��R�rgmii-txidslave@4a100300��R�rgmii-txidcpsw-phy-sel@44e10650ti,am3352-cpsw-phy-sel�D�P	�gmii-selocmcram@40300000
    mmio-sram�@0 ���ocmcram_nocache@40302000
    mmio-sram�@0 �pruss@4a300000ti,am3352-pruss�pruss0�J0 J0  J10J2` J2�J3 X$�dram0dram1shrdram2cfgiepmii_rt�intc@4a320000ti,am3352-pruss-intc�J2 �intc �0Whost2host3host4host5host6host7host8host91F�S�Spru0@4a334000ti,am3352-pru�J3@ J2 J2$�iramcontroldebug&S�Wvringkickpru1@4a338000ti,am3352-pru�J3� J2@J2D�iramcontroldebug&S�Wvringkickmdio@4a332400ti,davinci_mdio�J3$�	fckhB@	�disabledelm@48080000ti,am3352-elm�H ��elm�okay�V�Vlcdc@4830e000ti,am33xx-tilcdc�H0�&�$�lcdc�okay�crossedtscadc@44e0d000ti,am3359-tscadc�D��&��adc_tsc�okaytscti,am3359-tsc		�	'	>"3	Madc	]ti,am3359-adc	ogpmc@50000000ti,am3352-gpmc�gpmc	�P �d�-4�rxtx	�	�1F���okay�default�T��U�Unand@0,0ti,omap2-nand�&U�	�U	�bch8	�V	�	�	�
    
    ,
    %,
    7
    F"
    Y,
    l
    z(
    �
    �6
    �@
    �R
    �R
    �
    �(1partition@0	INAND.SPL�partition@1INAND.SPL.backup1�partition@2INAND.SPL.backup2�partition@3INAND.SPL.backup3�partition@4INAND.u-boot-spl-os�partition@5INAND.u-boot�partition@6INAND.u-boot-env�partition@7INAND.u-boot-env.backup1�partition@8INAND.kernel� �partition@9INAND.file-system��`sham@53100000ti,omap4-sham�sham�S�m�-$�rxaes@53500000
    ti,omap4-aes�aes�SP��g�--�txrxmcasp@48038000ti,am33xx-mcasp-audio�mcasp0�H� F@�mpudat�PQWtxrx	�disabled�--	�txrxmcasp@4803C000ti,am33xx-mcasp-audio�mcasp1�H� F@@�mpudat�RSWtxrx	�disabled�-
    -�txrxrng@48310000
    ti,omap4-rng�rng�H1 �osgx@56000000ti,am3352-sgx530img,sgx530�gfx�V�%W	fclk�okayfixedregulator@0regulator-fixedDvbatSLK@kLK@��4�4fixedregulator@1regulator-fixed	Dlis3_reg��6�6fixedregulator@2regulator-fixedDwlan-en-regulatorSw@kw@Op`Xe�<�<	#address-cells#size-cellscompatibleinterrupt-parentmodeli2c0i2c1i2c2serial0serial1serial2serial3serial4serial5d_can0d_can1usb0usb1phy0phy1ethernet0ethernet1device_typeregenable-methodoperating-points-v2ti,syscon-efuseti,syscon-revclocksclock-namesclock-latencycpu-idle-statescpu0-supplyentry-latency-usexit-latency-usmin-residency-usti,idle-wkup-m3linux,phandleopp-hzopp-microvoltopp-supported-hwopp-suspendinterruptsti,hwmodssramrangesreg-namesti,pm-firmware#clock-cellsclock-frequencyti,max-divti,index-starts-at-oneclock-multclock-divti,set-rate-parentti,bit-shiftti,index-power-of-twopinctrl-single,register-widthpinctrl-single,function-maskpinctrl-namespinctrl-0pinctrl-single,pinsti,rprocmboxesti,scale-data-fw#dma-cellsdma-requestsdma-mastersinterrupt-controller#interrupt-cellsinterrupt-namesti,tptcsti,edma-memcpy-channelsgpio-controller#gpio-cellsstatusdmasdma-namesvcc1-supplyvcc2-supplyvcc3-supplyvcc4-supplyvcc5-supplyvcc6-supplyvcc7-supplyvccio-supplyregulator-compatibleregulator-always-onregulator-nameregulator-min-microvoltregulator-max-microvoltregulator-boot-onVdd-supplyVdd_IO-supplyst,click-single-xst,click-single-yst,click-single-zst,click-thresh-xst,click-thresh-yst,click-thresh-zst,irq1-clickst,irq2-clickst,wakeup-x-lost,wakeup-x-hist,wakeup-y-lost,wakeup-y-hist,wakeup-z-lost,wakeup-z-hist,min-limit-xst,min-limit-yst,min-limit-zst,max-limit-xst,max-limit-yst,max-limit-z#sound-dai-cellsAVDD-supplyIOVDD-supplyDRVDD-supplyDVDD-supplyti,dual-voltti,needs-special-resetti,needs-special-hs-handlingvmmc-supplybus-widthcd-gpiospinctrl-1ti,non-removablecap-power-off-cardkeep-power-in-suspend#hwlock-cellssyscon-raminit#mbox-cellsti,mbox-num-usersti,mbox-num-fifosti,mbox-send-noirqti,mbox-txti,mbox-rxti,timer-alwonti,timer-pwmti,spi-num-csti,ctrl_moddr_modementor,multipointmentor,num-epsmentor,ram-bitsmentor,powerphys#dma-channels#dma-requests#pwm-cellscpdma_channelsale_entriesbd_ram_sizeno_bd_rammac_controlslavesactive_slavecpts_clock_multcpts_clock_shiftsysconbus_freqti,rx-internal-delayti,tx-internal-delayti,fifo-depthti,strap-modeti,min-output-impedancemac-addressphy_idphy-modemap-execblue-and-red-wiringti,wiresti,x-plate-resistanceti,coordinate-readoutsti,wire-configti,charge-delay#io-channel-cellsti,adc-channelsti,no-idle-on-initgpmc,num-csgpmc,num-waitpinsrb-gpiosti,nand-ecc-optti,elm-idnand-bus-widthgpmc,device-widthgpmc,sync-clk-psgpmc,cs-on-nsgpmc,cs-rd-off-nsgpmc,cs-wr-off-nsgpmc,adv-on-nsgpmc,adv-rd-off-nsgpmc,adv-wr-off-nsgpmc,we-on-nsgpmc,we-off-nsgpmc,oe-on-nsgpmc,oe-off-nsgpmc,access-nsgpmc,rd-cycle-nsgpmc,wr-cycle-nsgpmc,bus-turnaround-nsgpmc,cycle2cycle-delay-nsgpmc,clk-activation-nsgpmc,wr-access-nsgpmc,wr-data-mux-bus-nslabelstartup-delay-usgpioenable-active-high

    /*
     * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    /dts-v1/;
    
    #include "am33xx.dtsi"
    #include <dt-bindings/net/ti-dp83867.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    
    / {
    	model = "TI AM335x EVM";
    	compatible = "ti,am335x-evm", "ti,am33xx";
    
    	cpus {
    		cpu@0 {
    			cpu0-supply = <&vdd1_reg>;
    		};
    	};
    
    	memory {
    		device_type = "memory";
    		reg = <0x80000000 0x10000000>; /* 256 MB */
    	};
    
    	vbat: fixedregulator@0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vbat";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-boot-on;
    	};
    
    	lis3_reg: fixedregulator@1 {
    		compatible = "regulator-fixed";
    		regulator-name = "lis3_reg";
    		regulator-boot-on;
    	};
    
    	/*
    	wlan_en_reg: fixedregulator@2 {
    		compatible = "regulator-fixed";
    		regulator-name = "wlan-en-regulator";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    
    		// WLAN_EN GPIO for this board - Bank1, pin16 
    		gpio = <&gpio1 16 0>;
    
    		// WLAN card specific delay 
    		startup-delay-us = <70000>;
    		enable-active-high;
    	};
    	
    	*/
    
    	wlan_en_reg: fixedregulator@2 {
    		compatible = "regulator-fixed";
    		regulator-name = "wlan-en-regulator";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		startup-delay-us = <70000>;
    
    		/* WLAN_EN GPIO for this board - Bank1, pin16 */
    		gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;
    		enable-active-high;
    	};
    
    
    
    };
    
    
    
    &am33xx_pinmux {
    	pinctrl-names = "default";
    	pinctrl-0 = <&clkout2_pin>;
    
    	i2c0_pins: pinmux_i2c0_pins {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_sda.i2c0_sda */
    			0x18c (PIN_INPUT_PULLUP | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
    		>;
    	};
    
    	i2c1_pins: pinmux_i2c1_pins {
    		pinctrl-single,pins = <
    			0x158 (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_d1.i2c1_sda */
    			0x15c (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_cs0.i2c1_scl */
    		>;
    	};
    
    	uart0_pins: pinmux_uart0_pins {
    		pinctrl-single,pins = <
    			0x170 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart0_rxd.uart0_rxd */
    			0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
    		>;
    	};
    
    //	uart1_pins: pinmux_uart1_pins {
    //		pinctrl-single,pins = <
    //			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    //			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    //			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    //			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_txd.uart1_txd */
    //		>;
    //	};
    
    	clkout2_pin: pinmux_clkout2_pin {
    		pinctrl-single,pins = <
    			0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* xdma_event_intr1.clkout2 */
    		>;
    	};
    
    	nandflash_pins_s0: nandflash_pins_s0 {
    		pinctrl-single,pins = <
    			0x0 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad0.gpmc_ad0 */
    			0x4 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad1.gpmc_ad1 */
    			0x8 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad2.gpmc_ad2 */
    			0xc (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad3.gpmc_ad3 */
    			0x10 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad4.gpmc_ad4 */
    			0x14 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad5.gpmc_ad5 */
    			0x18 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad6.gpmc_ad6 */
    			0x1c (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_ad7.gpmc_ad7 */
    			0x70 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_wait0.gpmc_wait0 */
    			0x74 (PIN_INPUT_PULLUP | MUX_MODE7)	/* gpmc_wpn.gpio0_30 */
    			0x7c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_csn0.gpmc_csn0  */
    			0x90 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_advn_ale.gpmc_advn_ale */
    			0x94 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_oen_ren.gpmc_oen_ren */
    			0x98 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_wen.gpmc_wen */
    			0x9c (PIN_OUTPUT | MUX_MODE0)		/* gpmc_be0n_cle.gpmc_be0n_cle */
    		>;
    	};
    
    	ecap0_pins: backlight_pins {
    		pinctrl-single,pins = <
    			0x164 0x0	/* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
    		>;
    	};
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 1 */
    			0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_tctl */
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl */
    			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd3.rgmii1_td3 */
    			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd2.rgmii1_td2 */
    			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 */
    			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 */
    			0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rgmii1_tclk */
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rgmii1_rclk */
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd3.rgmii1_rd3 */
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd2.rgmii1_rd2 */
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 */
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 1 reset value */
    			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	mmc1_pins: pinmux_mmc1_pins {
    		pinctrl-single,pins = <
    			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    		>;
    	};
    
    //	mmc3_pins: pinmux_mmc3_pins {
    //		pinctrl-single,pins = <
    //			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
    //			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */
    //			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */
    //			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
    //			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */
    //			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */
    //		>;
    //	};
    
    //	wlan_pins: pinmux_wlan_pins {
    //		pinctrl-single,pins = <
    //			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    //			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    //			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    //		>;
    //	};
    
    	/* wl12xx/wl18xx card on mmc3 */
    	mmc3_pins_default: pinmux_mmc3_pins_default {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_ben1.mmc2_dat3 */
    			0x88 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
    		pinctrl-single,pins = <
    			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a1.mmc2_dat0 */
    			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a2.mmc2_dat1 */
    			0x4C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a3.mmc2_dat2 */
    			0x78 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ben1.mmc2_da */
    			0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_csn3.mmc2_cmd */
    			0x8C (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_clk.mmc2_clk */
    		>;
    	};
    
    	uart1_pins_default: pinmux_uart1_pins_default {
    	pinctrl-single,pins = <
    			0x178 (PIN_INPUT | MUX_MODE0)		/* uart1_ctsn.uart1_ctsn */
    			0x17C (PIN_OUTPUT_PULLDOWN | MUX_MODE0)	/* uart1_rtsn.uart1_rtsn */
    			0x180 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_rxd.uart1_rxd */
    			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
    		>;
    	};
    
    	/* wl12xx/wl18xx card enable/irq GPIOs. */
    	wlan_pins_default: pinmux_wlan_pins_default {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    	wlan_pins_sleep: pinmux_wlan_pins_sleep {
    		pinctrl-single,pins = <
    			0x40 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* gpmc_a0.gpio1_16 */
    			0x19C (PIN_INPUT | MUX_MODE7)		/* mcasp0_ahclkr.gpio3_17 */
    			0x1AC (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* mcasp0_ahclkx.gpio3_21 */
    		>;
    	};
    
    };
    
    &uart0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart0_pins>;
    
    	status = "okay";
    };
    
    /* uart1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&uart1_pins>;
    
    	status = "okay";
    }; */
    
    
    &uart1 {
            pinctrl-names = "default";
            pinctrl-0 = <&uart1_pins_default>;
    
            status = "okay";
    };
    
    
    &i2c0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c0_pins>;
    
    	status = "okay";
    	clock-frequency = <400000>;
    
    	tps: tps@2d {
    		reg = <0x2d>;
    	};
    };
    
    &usb {
    	status = "okay";
    };
    
    &usb_ctrl_mod {
    	status = "okay";
    };
    
    &usb0_phy {
    	status = "okay";
    };
    
    &usb1_phy {
    	status = "okay";
    };
    
    &usb0 {
    	status = "okay";
    };
    
    &usb1 {
    	status = "okay";
    	dr_mode = "host";
    };
    
    &cppi41dma  {
    	status = "okay";
    };
    
    &i2c1 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&i2c1_pins>;
    
    	status = "okay";
    	clock-frequency = <100000>;
    
    	lis331dlh: lis331dlh@18 {
    		compatible = "st,lis331dlh", "st,lis3lv02d";
    		reg = <0x18>;
    		Vdd-supply = <&lis3_reg>;
    		Vdd_IO-supply = <&lis3_reg>;
    
    		st,click-single-x;
    		st,click-single-y;
    		st,click-single-z;
    		st,click-thresh-x = <10>;
    		st,click-thresh-y = <10>;
    		st,click-thresh-z = <10>;
    		st,irq1-click;
    		st,irq2-click;
    		st,wakeup-x-lo;
    		st,wakeup-x-hi;
    		st,wakeup-y-lo;
    		st,wakeup-y-hi;
    		st,wakeup-z-lo;
    		st,wakeup-z-hi;
    		st,min-limit-x = <120>;
    		st,min-limit-y = <120>;
    		st,min-limit-z = <140>;
    		st,max-limit-x = <550>;
    		st,max-limit-y = <550>;
    		st,max-limit-z = <750>;
    	};
    
    	tsl2550: tsl2550@39 {
    		compatible = "taos,tsl2550";
    		reg = <0x39>;
    	};
    
    	tmp275: tmp275@48 {
    		compatible = "ti,tmp275";
    		reg = <0x48>;
    	};
    
    	tlv320aic3106: tlv320aic3106@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		status = "okay";
    
    		/* Regulators */
    		AVDD-supply = <&vaux2_reg>;
    		IOVDD-supply = <&vaux2_reg>;
    		DRVDD-supply = <&vaux2_reg>;
    		DVDD-supply = <&vbat>;
    	};
    };
    
    &lcdc {
    	status = "okay";
    
    	blue-and-red-wiring = "crossed";
    };
    
    &elm {
    	status = "okay";
    };
    
    &epwmss0 {
    	status = "okay";
    
    	ecap0: ecap@48300100 {
    		status = "okay";
    		pinctrl-names = "default";
    		pinctrl-0 = <&ecap0_pins>;
    	};
    };
    
    &gpmc {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&nandflash_pins_s0>;
    	ranges = <0 0 0x08000000 0x1000000>;	/* CS0: 16MB for NAND */
    	nand@0,0 {
    		compatible = "ti,omap2-nand";
    		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
    		interrupt-parent = <&gpmc>;
    		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
    			     <1 IRQ_TYPE_NONE>;	/* termcount */
    		rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 */
    		ti,nand-ecc-opt = "bch8";
    		ti,elm-id = <&elm>;
    		nand-bus-width = <8>;
    		gpmc,device-width = <1>;
    		gpmc,sync-clk-ps = <0>;
    		gpmc,cs-on-ns = <0>;
    		gpmc,cs-rd-off-ns = <44>;
    		gpmc,cs-wr-off-ns = <44>;
    		gpmc,adv-on-ns = <6>;
    		gpmc,adv-rd-off-ns = <34>;
    		gpmc,adv-wr-off-ns = <44>;
    		gpmc,we-on-ns = <0>;
    		gpmc,we-off-ns = <40>;
    		gpmc,oe-on-ns = <0>;
    		gpmc,oe-off-ns = <54>;
    		gpmc,access-ns = <64>;
    		gpmc,rd-cycle-ns = <82>;
    		gpmc,wr-cycle-ns = <82>;
    		gpmc,bus-turnaround-ns = <0>;
    		gpmc,cycle2cycle-delay-ns = <0>;
    		gpmc,clk-activation-ns = <0>;
    		gpmc,wr-access-ns = <40>;
    		gpmc,wr-data-mux-bus-ns = <0>;
    		/* MTD partition table */
    		/* All SPL-* partitions are sized to minimal length
    		 * which can be independently programmable. For
    		 * NAND flash this is equal to size of erase-block */
    		#address-cells = <1>;
    		#size-cells = <1>;
    		partition@0 {
    			label = "NAND.SPL";
    			reg = <0x00000000 0x000020000>;
    		};
    		partition@1 {
    			label = "NAND.SPL.backup1";
    			reg = <0x00020000 0x00020000>;
    		};
    		partition@2 {
    			label = "NAND.SPL.backup2";
    			reg = <0x00040000 0x00020000>;
    		};
    		partition@3 {
    			label = "NAND.SPL.backup3";
    			reg = <0x00060000 0x00020000>;
    		};
    		partition@4 {
    			label = "NAND.u-boot-spl-os";
    			reg = <0x00080000 0x00040000>;
    		};
    		partition@5 {
    			label = "NAND.u-boot";
    			reg = <0x000C0000 0x00100000>;
    		};
    		partition@6 {
    			label = "NAND.u-boot-env";
    			reg = <0x001C0000 0x00020000>;
    		};
    		partition@7 {
    			label = "NAND.u-boot-env.backup1";
    			reg = <0x001E0000 0x00020000>;
    		};
    		partition@8 {
    			label = "NAND.kernel";
    			reg = <0x00200000 0x00800000>;
    		};
    		partition@9 {
    			label = "NAND.file-system";
    			reg = <0x00A00000 0x0F600000>;
    		};
    	};
    };
    
    #include "tps65910.dtsi"
    
    &tps {
    	vcc1-supply = <&vbat>;
    	vcc2-supply = <&vbat>;
    	vcc3-supply = <&vbat>;
    	vcc4-supply = <&vbat>;
    	vcc5-supply = <&vbat>;
    	vcc6-supply = <&vbat>;
    	vcc7-supply = <&vbat>;
    	vccio-supply = <&vbat>;
    
    	regulators {
    		vrtc_reg: regulator@0 {
    			regulator-always-on;
    		};
    
    		vio_reg: regulator@1 {
    			regulator-always-on;
    		};
    
    		vdd1_reg: regulator@2 {
    			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
    			regulator-name = "vdd_mpu";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1351500>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd2_reg: regulator@3 {
    			/* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
    			regulator-name = "vdd_core";
    			regulator-min-microvolt = <912500>;
    			regulator-max-microvolt = <1150000>;
    			regulator-boot-on;
    			regulator-always-on;
    		};
    
    		vdd3_reg: regulator@4 {
    			regulator-always-on;
    		};
    
    		vdig1_reg: regulator@5 {
    			regulator-always-on;
    		};
    
    		vdig2_reg: regulator@6 {
    			regulator-always-on;
    		};
    
    		vpll_reg: regulator@7 {
    			regulator-always-on;
    		};
    
    		vdac_reg: regulator@8 {
    			regulator-always-on;
    		};
    
    		vaux1_reg: regulator@9 {
    			regulator-always-on;
    		};
    
    		vaux2_reg: regulator@10 {
    			regulator-always-on;
    		};
    
    		vaux33_reg: regulator@11 {
    			regulator-always-on;
    		};
    
    		vmmc_reg: regulator@12 {
    			regulator-min-microvolt = <1800000>;
    			regulator-max-microvolt = <3300000>;
    			regulator-always-on;
    		};
    	};
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
    	ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
    	ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    	ti,strap-mode = <DP83867_4LEVEL_STRAP_MODE1>;
    	ti,min-output-impedance;
    
    	status = "okay";
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &cpsw_emac1 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii-txid";
    };
    
    &tscadc {
    	status = "okay";
    	tsc {
    		ti,wires = <4>;
    		ti,x-plate-resistance = <200>;
    		ti,coordinate-readouts = <5>;
    		ti,wire-config = <0x00 0x11 0x22 0x33>;
    		ti,charge-delay = <0x400>;
    	};
    
    	adc {
    		ti,adc-channels = <4 5 6 7>;
    	};
    };
    
    &mmc1 {
    	status = "okay";
    	vmmc-supply = <&vmmc_reg>;
    	bus-width = <4>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc1_pins>;
    	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
    };
    
    /*
    &mmc3 {
    	// these are on the crossbar and are outlined in the
    	//   xbar-event-map element 
    	dmas = <&edma_xbar 12 0 1
    		&edma_xbar 13 0 2>;
    	dma-names = "tx", "rx";
    	status = "okay";
    	vmmc-supply = <&wlan_en_reg>;
    	bus-width = <4>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&mmc3_pins &wlan_pins>;
    	ti,non-removable;
    	ti,needs-special-hs-handling;
    	status = "okay";
    };
    */
    &mmc3{
    	status = "okay";
    	vmmc-supply = <&wlan_en_reg>;
    	bus-width = <4>;
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
    	pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>;
    	ti,non-removable;
    	ti,needs-special-hs-handling;
    	cap-power-off-card;
    	keep-power-in-suspend;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@0 {
    		compatible = "ti,wl1835";
    		reg = <2>;
    		interrupt-parent = <&gpio3>;
    		interrupts = <17 IRQ_TYPE_EDGE_RISING>; 
    	};
    };
    
    &edma {
    
    	ti,edma-xbar-event-map = <1 12
    				  2 13>;
    };
    
    
    &wkup_m3_ipc {
    	ti,scale-data-fw = "am335x-evm-scale-data.bin";
    };
    
    &rtc {
    	clocks = <&clk_32768_ck>, <&clkdiv32k_ick>;
    	clock-names = "ext-clk", "int-clk";
    };
    
    &sgx {
    	status = "okay";
    };
    

    Regards,

    Sachin

  • Hi,

    Ask your hardware engineer, is it connected to gpio should it be set to low/high and as output ? I couldn’t get hold of TI's schematic either to check what that pin is.. Can you point to source from where you downloaded the SDK I could find TI SDK3.04.00.04.

    Also  is your wlan_en connected to gpio1_16 ? wlan irq to gpio3_17 ? and bt gps to gpio3_21 ?

    Cheers,
    --Prabhakar Lad

  • hi,

    I asked him about the pin MMC2_SDIO_SEL in my schematic , he told that pin has to high to select the SDIO pins.

    That  TI SDK is not 3.04.00, its TI SDK 3.03.00.04 and it was available from ti website, now they have released newer version.

    Yes all those pins are connected properly to their respective pins.

    On the same time to check weather the kernel is probing SDIO i am printing the function names on kernel bootlog. I am posting those bootlogs here. If possible go through them  and I welcome your suggestions for that. Here are the bootlogs,

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.41-gf9f6f0db2d (root@adems) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 PREEMPT T7
    [    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
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.111:/home/adems/tisdk,nolock rw ip=dhcp
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 979380K/1048576K available (6595K kernel code, 316K rwdata, 2344K rodata, 264K init, 265K bss, 20044K reserved, 49152K )
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08c3004   (8941 kB)
    [    0.000000]       .init : 0xc08c4000 - 0xc0906000   ( 264 kB)
    [    0.000000]       .data : 0xc0906000 - 0xc09553f0   ( 317 kB)
    [    0.000000]        .bss : 0xc09553f0 - 0xc0997a58   ( 266 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    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] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000047] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000061] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000268] clocksource_probe: no matching clocksources found
    [    0.000484] Console: colour dummy device 80x30
    [    0.000513] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000522] This ensures that you still see kernel messages. Please
    [    0.000529] update your kernel commandline.
    [    0.000553] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.058750] pid_max: default: 32768 minimum: 301
    [    0.058922] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.058937] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059798] Initializing cgroup subsys io
    [    0.059835] Initializing cgroup subsys memory
    [    0.059878] Initializing cgroup subsys devices
    [    0.059898] Initializing cgroup subsys freezer
    [    0.059915] Initializing cgroup subsys perf_event
    [    0.059930] Initializing cgroup subsys pids
    [    0.059967] CPU: Testing write buffer coherency: ok
    [    0.060427] Setting up static identity map for 0x80008200 - 0x80008260
    [    0.063168] devtmpfs: initialized
    [    0.079101] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.097765] omap_hwmod: debugss: _wait_target_disable failed
    [    0.155949] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.160819] pinctrl core: initialized pinctrl subsystem
    [    0.162420] NET: Registered protocol family 16
    [    0.164980] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.188811] cpuidle: using governor ladder
    [    0.218800] cpuidle: using governor menu
    [    0.224528] OMAP GPIO hardware version 0.1
    [    0.235649] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrie
    [    0.238325] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.279659] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.285071] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring e
    [    0.285140] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring e
    [    0.285301] media: Linux media interface: v0.10
    [    0.285379] Linux video capture interface: v2.00
    [    0.285442] pps_core: LinuxPPS API ver. 1 registered
    [    0.285452] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.285489] PTP clock support registered
    [    0.285563] EDAC MC: Ver: 3.0.0
    [    0.287026] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.287452] Advanced Linux Sound Architecture Driver Initialized.
    [    0.288980] clocksource: Switched to clocksource timer1
    [    0.303017] NET: Registered protocol family 2
    [    0.303976] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304098] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304207] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.304326] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304362] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304561] NET: Registered protocol family 1
    [    0.305040] RPC: Registered named UNIX socket transport module.
    [    0.305058] RPC: Registered udp transport module.
    [    0.305067] RPC: Registered tcp transport module.
    [    0.305076] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.306180] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.308600] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.319537] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.320539] NFS: Registering the id_resolver key type
    [    0.320623] Key type id_resolver registered
    [    0.320634] Key type id_legacy registered
    [    0.320733] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.324972] bounce: pool size: 64 pages
    [    0.325278] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.325303] io scheduler noop registered
    [    0.325320] io scheduler deadline registered
    [    0.325527] io scheduler cfq registered (default)
    [    0.327218] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.410945] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.416113] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.042859] console [ttyS0] enabled
    [    1.047876] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.058144] [drm] Initialized drm 1.1.0 20060810
    [    1.065322] tilcdc 4830e000.lcdc: no encoders/connectors found
    [    1.080512] loop: module loaded
    [    1.086998] libphy: Fixed MDIO Bus: probed
    [    1.149076] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.155223] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.162499] libphy: 4a101000.mdio: probed
    [    1.166550] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.175810] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:73:09:19
    [    1.182641] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.191203] mousedev: PS/2 mouse device common for all mice
    [    1.197546] i2c /dev entries driver
    [    1.202552] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.209580]  
     File drivers/mmc/core/bus.c, Function mmc_register_driver, Line 228 
     
    [    1.218449] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.250416]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
      
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1550 
      
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1550 
      
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.379032]  
    [    1.379032]  File drivers/mmc/core/core.c, Function mmc_rescan, Line 2573 
    [    1.379032]  [    1.389939] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.397318]  
     File drivers/mmc/core/core.c, Function mmc_rescan_try_freq, Line 2467 
     
    [    1.407811] NET: Registered protocol family 10
    [    1.413303]  
     File drivers/mmc/core/sdio_ops.c, Function sdio_reset, Line 212 
     
    [    1.421930] sit: IPv6 over IPv4 tunneling driver
    [    1.427741] NET: Registered protocol family 17
    [    1.432339]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72 
     
    [    1.441164] Key type dns_resolver registered
    [    1.445932] omap_voltage_late_init: Voltage driver support not added
    [    1.452799]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72 
     
    [    1.465201] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.470699]  
     File drivers/mmc/core/mmc_ops.c, Function mmc_go_idle, Line 149 
      
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.484326] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.492353] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.498740] nand: Micron MT29F2G08ABAEAWP
    [    1.503900] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.512560]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.519965] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.525596] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.532758]  
     File drivers/mmc/core/sd_ops.c, Function mmc_send_if_cond, Line 198 
     
    [    1.540652] Creating 10 MTD partitions on "8000000.nand":
    [    1.546285] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.551854]  
     File drivers/mmc/core/sdio.c, Function mmc_attach_sdio, Line 1071 
     
    [    1.561064] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.567468]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_send_io_op_cond, Line 24 
     
    [    1.576882] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.584650] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.591731]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.599598] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.606588]  
     File drivers/mmc/core/core.c, Function mmc_power_off, Line 1757 
     
    [    1.614927] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.621236]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.630120] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.638199] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.646208] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.656047] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.769289] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.800209] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.807992] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    1.814521] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.819768] vmmc: supplied by vbat
    [    1.823559]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
      
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1550 
      
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.869309]  
    [    1.869309]  File drivers/mmc/core/core.c, Function mmc_rescan, Line 2573 
    [    1.869309]  [    1.879852] vdd_mpu: supplied by vbat
    [    1.885340] hctosys: unable to open rtc device (rtc0)
    [    1.895190]  
     File drivers/mmc/core/core.c, Function mmc_rescan_try_freq, Line 2467 
      
     File drivers/mmc/core/sdio_ops.c, Function sdio_reset, Line 212 
      
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72 
     
    [    1.931106] net eth0: initializing cpsw version 1.12 (0)
    [    1.936654] net eth0: initialized cpsw ale version 1.4
    [    1.941879] net eth0: ALE Table size 1024
    [    1.945965]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72 
     
    [    1.956663] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [    1.964157]  
     File drivers/mmc/core/mmc_ops.c, Function mmc_go_idle, Line 149 
     
    [    1.972196] net eth0: phy found : id is : 0x2000a231
    [    1.979028]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.992674] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    1.999832]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
      
     File drivers/mmc/core/sd_ops.c, Function mmc_send_if_cond, Line 198 
      
     File drivers/mmc/core/sdio.c, Function mmc_attach_sdio, Line 1071 
      
     File drivers/mmc/core/sdio_ops.c, Function mmc_send_io_op_cond, Line 24 
      
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
      
     File drivers/mmc/core/core.c, Function mmc_power_off, Line 1757 
      
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    4.970061] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [    4.989106] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.009047] Sending DHCP requests ......
    [   80.779049] random: nonblocking pool is initialized
    [   93.459014]  timed out!
    [   93.496366] IP-Config: Retrying forever (NFS root)...
    [   93.501667] net eth0: initializing cpsw version 1.12 (0)
    [   93.507031] net eth0: initialized cpsw ale version 1.4
    [   93.512311] net eth0: ALE Table size 1024
    [   93.519634] net eth0: phy found : id is : 0x2000a231
    [   93.524757] net eth0: PHY already attached
    [   93.528893] net eth0: phy "4a101000.mdio:00" not found on slave 1, err -16
    [   93.542526] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   96.520040] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   96.528199] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   96.542840] Sending DHCP requests ., OK
    [   96.589056] IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.103
    [   96.597271] IP-Config: Complete:
    [   96.600656]      device=eth0, hwaddr=68:c9:0b:73:09:19, ipaddr=192.168.1.103, mask=255.255.255.0, gw=192.168.1.1
    [   96.610980]      host=192.168.1.103, domain=, nis-domain=(none)
    [   96.616947]      bootserver=0.0.0.0, rootserver=192.168.1.111, rootpath=
    [   96.623738]      nameserver0=192.168.1.1
    [   96.628116] lis3_reg: disabling
    [   96.631368] wlan-en-regulator: disabling
    [   96.635882] ALSA device list:
    [   96.638892]   No soundcards found.
    [   96.656361] VFS: Mounted root (nfs filesystem) on device 0:14.
    [   96.663166] devtmpfs: mounted
    [   96.667055] Freeing unused kernel memory: 264K (c08c4000 - c0906000)
    [   96.673590] This architecture does not have kernel memory protection.
    [   97.053927] systemd[1]: System time before build time, advancing clock.
    [   97.145219] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
    [   97.164408] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [   97.190950] systemd[1]: Set hostname to <am335x-evm>.
    [   97.626868] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [   98.017976] systemd[1]: basic.target: Found ordering cycle on basic.target/start
    [   98.025657] systemd[1]: basic.target: Found dependency on sysinit.target/start
    [   98.033064] systemd[1]: basic.target: Found dependency on alignment.service/start
    [   98.040732] systemd[1]: basic.target: Found dependency on basic.target/start
    [   98.047840] systemd[1]: basic.target: Breaking ordering cycle by deleting job alignment.service/start
    [   98.057160] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with basic.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [   98.098961] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   98.130265] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [   98.159758] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [   98.220592] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [   98.249579] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [   98.272848] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [   98.301353] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [   98.329845] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [   98.359796] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   98.389867] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [   98.424908] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [   98.448263] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    [   98.568189] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [   98.617504] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   98.708118] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   98.784325] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   98.870217] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [   98.944594] cryptodev: driver 1.8 loaded.
    [   98.950916] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [   98.999793] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [   99.031549] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [   99.071291] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [   99.096822] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [   99.140070] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [   99.194195] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   99.249594] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [   99.319710] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [   99.349686] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [   99.379603] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [   99.410389] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Load Kernel Modules.
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  101.469085] systemd-journald[95]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create Volatile Files and Directories.
    [  104.171976] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [  104.182992] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  104.260647] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [  104.351217] 47401300.usb-phy supply vcc not found, using dummy regulator
    [  104.450376] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [  OK  ] Found device /dev/ttyS0.
    [  104.881886] vaux2: supplied by vbat
    [  105.233832] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [  105.482454] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [  105.580754] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [  105.588549] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [  105.816763]  remoteproc0: 4a334000.pru0 is available
    [  105.866607] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [  105.891334]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [  106.010645]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  106.178267]  remoteproc0: registered virtio0 (type 7)
    [  106.219258] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
             Starting Network Time Synchronization...
    [  106.324562]  remoteproc1: 4a338000.pru1 is available
    [  106.414254]  remoteproc1: Note: remoteproc is still under development and considered experimental.
             Starting Update UTMP about System Boot/Shutdown...
    [  106.559944]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  106.763706]  remoteproc1: registered virtio1 (type 7)
    [  106.809351] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
    [  OK  ] Started Network Time Synchronization.
    [  107.723435] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [  108.173227]  remoteproc2: wkup_m3 is available
    [  108.177724]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [  108.343357]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  108.489780] omap_hwmod: gfx: failed to hardreset
    [  108.571928]  remoteproc2: powering up wkup_m3
    [  108.601896] PM: bootloader does not support rtc-only!
    [  108.630361]  remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217280
    [  108.637932]  remoteproc2: remote processor wkup_m3 is now up
    [  108.643650] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  108.799212] pvrsrvkm 56000000.sgx: Unable to reset SGX!
    [  108.873016] omap_hwmod: gfx: _wait_target_ready failed: -16
    [  108.999147] PVR_K:(Error): EnableSGXClocks: pm_runtime_get_sync failed (16)
    [  109.006185] PVR_K:(Error): SysInitialise: Failed to Enable system clocks (175)
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target System Time Synchronized.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Permit User Sessions...
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting uim-sysfs.service...
             Starting Login Service...
             Starting Network Service...
    [  OK  ] Started Kernel Logging Service.
             Starting Print notice about GPLv3 packages...
             Starting Telephony service...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Network Service.
    [  115.035195] Bluetooth: Core ver 2.21
    [  115.038926] NET: Registered protocol family 31
    [  115.163134] Bluetooth: HCI device and connection manager initialized
    [  115.222619] Bluetooth: HCI socket layer initialized
    [  115.275828] Bluetooth: L2CAP socket layer initialized
    [  115.348085] Bluetooth: SCO socket layer initialized
    [  115.664323] NET: Registered protocol family 15
    [  115.904674] usbcore: registered new interface driver usbfs
    [  116.008328] usbcore: registered new interface driver hub
    [  116.079372] usbcore: registered new device driver usb
    [  116.296959] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [  116.463027] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [  116.567201] hub 1-0:1.0: USB hub found
    [  116.640035] hub 1-0:1.0: 1 port detected
    [  116.758691] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [  116.882827]  remoteproc0: powering up 4a334000.pru0
    [  116.913697] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [  116.972835]  remoteproc0: Booting fw image am335x-pru0-fw, size 75724
    [  117.018382] hub 2-0:1.0: USB hub found
    [  117.059584] ti-pruss 4a300000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [  117.090247] hub 2-0:1.0: 1 port detected
    [  117.210698]  remoteproc0: remote processor 4a334000.pru0 is now up
    [  117.258982] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x1e
    [  117.278463] virtio_rpmsg_bus virtio0: rpmsg host is online
    [  117.331205]  remoteproc1: powering up 4a338000.pru1
    [  117.402509]  remoteproc1: Booting fw image am335x-pru1-fw, size 75724
    [  117.468955] ti-pruss 4a300000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [  117.626540]  remoteproc1: remote processor 4a338000.pru1 is now up
    [  117.668699] virtio_rpmsg_bus virtio1: creating channel rpmsg-pru addr 0x1f
    [  117.686956] virtio_rpmsg_bus virtio1: rpmsg host is online
    [  117.925898] Initializing XFRM netlink socket
    [  117.974171] rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru30
    [  118.045304] rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru31
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils
            bison-dev
            bison
            cpp-symlinks
            cpp
            dosfstools
            g++-symlinks
            g++
            gawk-dev
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gstreamer1.0-libav
            hidapi
            libcairo-perf-utils
            libgmp10
            libidn11
            libmpc3
            libmpfr4
            m4-dev
            m4
            make
            nettle
            swig-dev
            swig
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    
    

    EVM_DEBUG_BOOTLOG.txt

    Regards,

    Sachin

  • Hi,

    So have you made sure the pin is high ?
    Can you enable the MMC_DEBUG and the attach the logs.

    Cheers,
    --Prabhakar Lad
  • hi,

    yes, that pin is high, here is the  boot log with MMC_DEBUG,

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.41-gf9f6f0db2d (root@adems) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #3 PREEMPT F7
    [    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
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.111:/home/adems/tisdk,nolock rw ip=dhcp
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 979380K/1048576K available (6595K kernel code, 316K rwdata, 2348K rodata, 260K init, 265K bss, 20044K reserved, 49152K )
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08c4004   (8945 kB)
    [    0.000000]       .init : 0xc08c5000 - 0xc0906000   ( 260 kB)
    [    0.000000]       .data : 0xc0906000 - 0xc09553f0   ( 317 kB)
    [    0.000000]        .bss : 0xc09553f0 - 0xc0997a58   ( 266 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    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] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000059] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000271] clocksource_probe: no matching clocksources found
    [    0.000483] Console: colour dummy device 80x30
    [    0.000512] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000520] This ensures that you still see kernel messages. Please
    [    0.000527] update your kernel commandline.
    [    0.000551] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.058760] pid_max: default: 32768 minimum: 301
    [    0.058927] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.058945] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059812] Initializing cgroup subsys io
    [    0.059849] Initializing cgroup subsys memory
    [    0.059894] Initializing cgroup subsys devices
    [    0.059913] Initializing cgroup subsys freezer
    [    0.059931] Initializing cgroup subsys perf_event
    [    0.059946] Initializing cgroup subsys pids
    [    0.059983] CPU: Testing write buffer coherency: ok
    [    0.060451] Setting up static identity map for 0x80008200 - 0x80008260
    [    0.063212] devtmpfs: initialized
    [    0.079286] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.097930] omap_hwmod: debugss: _wait_target_disable failed
    [    0.155179] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.160090] pinctrl core: initialized pinctrl subsystem
    [    0.161700] NET: Registered protocol family 16
    [    0.164249] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.188822] cpuidle: using governor ladder
    [    0.218809] cpuidle: using governor menu
    [    0.224578] OMAP GPIO hardware version 0.1
    [    0.235732] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferrie
    [    0.238440] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.279690] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.285129] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring e
    [    0.285197] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring e
    [    0.285358] media: Linux media interface: v0.10
    [    0.285437] Linux video capture interface: v2.00
    [    0.285501] pps_core: LinuxPPS API ver. 1 registered
    [    0.285511] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.285548] PTP clock support registered
    [    0.285623] EDAC MC: Ver: 3.0.0
    [    0.287081] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.287501] Advanced Linux Sound Architecture Driver Initialized.
    [    0.289054] clocksource: Switched to clocksource timer1
    [    0.303102] NET: Registered protocol family 2
    [    0.304059] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304182] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.304293] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.304415] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304452] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.304650] NET: Registered protocol family 1
    [    0.305130] RPC: Registered named UNIX socket transport module.
    [    0.305147] RPC: Registered udp transport module.
    [    0.305156] RPC: Registered tcp transport module.
    [    0.305164] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.306276] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.308697] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.319634] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.320631] NFS: Registering the id_resolver key type
    [    0.320709] Key type id_resolver registered
    [    0.320720] Key type id_legacy registered
    [    0.320819] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.325040] bounce: pool size: 64 pages
    [    0.325348] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.325375] io scheduler noop registered
    [    0.325391] io scheduler deadline registered
    [    0.325599] io scheduler cfq registered (default)
    [    0.327299] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.411201] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.416377] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.043018] console [ttyS0] enabled
    [    1.048026] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.058299] [drm] Initialized drm 1.1.0 20060810
    [    1.065449] tilcdc 4830e000.lcdc: no encoders/connectors found
    [    1.080665] loop: module loaded
    [    1.087176] libphy: Fixed MDIO Bus: probed
    [    1.149143] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.155288] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.162563] libphy: 4a101000.mdio: probed
    [    1.166617] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver TI DP83867
    [    1.175883] cpsw 4a100000.ethernet: Detected MACID = 68:c9:0b:73:09:19
    [    1.182715] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.191294] mousedev: PS/2 mouse device common for all mice
    [    1.197654] i2c /dev entries driver
    [    1.202653] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.209679]  
     File drivers/mmc/core/bus.c, Function mmc_register_driver, Line 228 
     
    [    1.218537] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.250559]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.329093]  
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1550 
      
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1550 
     
    [    1.359076]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.379105]  
     File drivers/mmc/core/core.c, Function mmc_rescan, Line 2573 
      
     File drivers/mmc/core/core.c, Function mmc_rescan_try_freq, Line 2467 
     
    [    1.393913] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.403805] NET: Registered protocol family 10
    [    1.408989] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
    [    1.416798] sit: IPv6 over IPv4 tunneling driver
    [    1.421583]  
     File drivers/mmc/core/sdio_ops.c, Function sdio_reset, Line 212 
     
    [    1.430157] NET: Registered protocol family 17
    [    1.435191] Key type dns_resolver registered
    [    1.439582]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72 
     
    [    1.448600] omap_voltage_late_init: Voltage driver support not added
    [    1.455033]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72 
     
    [    1.467979] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.473283]  
     File drivers/mmc/core/mmc_ops.c, Function mmc_go_idle, Line 149 
     
    [    1.480882] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.488872] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.495393]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.504009] nand: Micron MT29F2G08ABAEAWP
    [    1.509094]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.517633]  
     File drivers/mmc/core/sd_ops.c, Function mmc_send_if_cond, Line 198 
     
    [    1.525525] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.533370] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.538820] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.545005] Creating 10 MTD partitions on "8000000.nand":
    [    1.550517]  
     File drivers/mmc/core/sdio.c, Function mmc_attach_sdio, Line 1071 
      
     File drivers/mmc/core/sdio_ops.c, Function mmc_send_io_op_cond, Line 24 
     
    [    1.565160] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.572318] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.580040] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.587639]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.595196] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.601870]  
     File drivers/mmc/core/core.c, Function mmc_power_off, Line 1757 
     
    [    1.610339] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.616938]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.625423] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.633919] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.641231] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.649218] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.658997] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.769358] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.800327] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.808108] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    1.814639] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.819885] vmmc: supplied by vbat
    [    1.823719]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.831362]  
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1550 
     
    [    1.859107]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    1.879384]  
     File drivers/mmc/core/core.c, Function mmc_rescan, Line 2573 
      
     File drivers/mmc/core/core.c, Function mmc_rescan_try_freq, Line 2467 
     
    [    1.893797] vdd_mpu: supplied by vbat
    [    1.899611] hctosys: unable to open rtc device (rtc0)
    [    1.923708] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
    [    1.930453]  
     File drivers/mmc/core/sdio_ops.c, Function sdio_reset, Line 212 
      
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72 
     
    [    1.945117] net eth0: initializing cpsw version 1.12 (0)
    [    1.950683] net eth0: initialized cpsw ale version 1.4
    [    1.955848] net eth0: ALE Table size 1024
    [    1.960329]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72 
     
    [    1.970973] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [    1.978768] net eth0: phy found : id is : 0x2000a231
    [    1.983793]  
     File drivers/mmc/core/mmc_ops.c, Function mmc_go_idle, Line 149 
      
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    2.005430] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.012378]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    2.021014]  
     File drivers/mmc/core/sd_ops.c, Function mmc_send_if_cond, Line 198 
     
    [    2.029512]  
     File drivers/mmc/core/sdio.c, Function mmc_attach_sdio, Line 1071 
      
     File drivers/mmc/core/sdio_ops.c, Function mmc_send_io_op_cond, Line 24 
     
    [    2.047477]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    2.055436]  
     File drivers/mmc/core/core.c, Function mmc_power_off, Line 1757 
      
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1036 
     
    [    4.970105] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [    4.979173] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    4.999137] Sending DHCP requests ......
    [   80.739123] random: nonblocking pool is initialized
    [   91.419087]  timed out!
    [   91.456454] IP-Config: Retrying forever (NFS root)...
    [   91.461763] net eth0: initializing cpsw version 1.12 (0)
    [   91.467124] net eth0: initialized cpsw ale version 1.4
    [   91.472401] net eth0: ALE Table size 1024
    [   91.479724] net eth0: phy found : id is : 0x2000a231
    [   91.484845] net eth0: PHY already attached
    [   91.488983] net eth0: phy "4a101000.mdio:00" not found on slave 1, err -16
    [   91.502670] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   94.480111] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   94.488273] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   94.502919] Sending DHCP requests ., OK
    [   94.549131] IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.103
    [   94.557352] IP-Config: Complete:
    [   94.560741]      device=eth0, hwaddr=68:c9:0b:73:09:19, ipaddr=192.168.1.103, mask=255.255.255.0, gw=192.168.1.1
    [   94.571065]      host=192.168.1.103, domain=, nis-domain=(none)
    [   94.577031]      bootserver=0.0.0.0, rootserver=192.168.1.111, rootpath=
    [   94.583782]      nameserver0=192.168.1.1
    [   94.588160] lis3_reg: disabling
    [   94.591401] wlan-en-regulator: disabling
    [   94.595920] ALSA device list:
    [   94.598928]   No soundcards found.
    [   94.621100] VFS: Mounted root (nfs filesystem) on device 0:14.
    [   94.627764] devtmpfs: mounted
    [   94.631802] Freeing unused kernel memory: 260K (c08c5000 - c0906000)
    [   94.638202] This architecture does not have kernel memory protection.
    [   95.086160] systemd[1]: System time before build time, advancing clock.
    [   95.189328] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCR)
    [   95.208403] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [   95.231564] systemd[1]: Set hostname to <am335x-evm>.
    [   95.713833] systemd[1]: [/lib/systemd/system/gadget-init.service:15] Unknown lvalue 'ExecStopPre' in section 'Service'
    [   96.187833] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [   96.195857] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [   96.203713] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [   96.211024] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [   96.218474] systemd[1]: sysinit.target: Found dependency on dropbear.socket/stop
    [   96.225943] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [   96.233424] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [   96.242905] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [   96.289559] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [   96.319575] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [   96.352324] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   96.381340] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [   96.444866] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [   96.470493] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [   96.501227] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [   96.532068] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [   96.566209] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    [   96.678805] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   96.761584] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [   96.800294] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [   96.880138] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [   96.920617] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   96.980300] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [   97.015101] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   97.055481] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [   97.117695] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   97.252525] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   97.326634] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [   97.430129] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [   97.460359] systemd[1]: Reached target Swap.
    [   97.469707] cryptodev: driver 1.8 loaded.
    [  OK  ] Reached target Swap.
    [   97.501760] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [   97.529724] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [   97.540204] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [   97.628643] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [   97.669841] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [   97.699689] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [   97.730478] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Load Kernel Modules.
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  100.002522] systemd-journald[89]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  102.656970] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  102.703997] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [  102.741080] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [  102.827508] 47401300.usb-phy supply vcc not found, using dummy regulator
    [  102.961909] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Found device /dev/ttyS0.
    [  103.423631] vaux2: supplied by vbat
    [  103.751668] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [  104.072307] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [  104.140778] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [  104.148574] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
    [  104.396625]  remoteproc0: 4a334000.pru0 is available
    [  104.440241]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [  104.467704] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [  104.585102]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  104.769527]  remoteproc0: registered virtio0 (type 7)
    [  104.774709] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
    [  104.887178]  remoteproc1: 4a338000.pru1 is available
    [  104.980754]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [  105.089742]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  105.250020]  remoteproc1: registered virtio1 (type 7)
    [  105.255205] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Network Time Synchronization.
    [  106.518669]  remoteproc2: wkup_m3 is available
    [  106.584974] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [  106.609402]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [  106.738343]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  107.181685]  remoteproc2: powering up wkup_m3
    [  107.263191]  remoteproc2: Booting fw image am335x-pm-firmware.elf, size 217280
    [  107.359580]  remoteproc2: remote processor wkup_m3 is now up
    [  107.359610] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  107.447692] omap_hwmod: gfx: failed to hardreset
    [  107.569303] pvrsrvkm 56000000.sgx: Unable to reset SGX!
    [  107.643973] omap_hwmod: gfx: _wait_target_ready failed: -16
    [  107.764653] PVR_K:(Error): EnableSGXClocks: pm_runtime_get_sync failed (16)
    [  107.830881] PVR_K:(Error): SysInitialise: Failed to Enable system clocks (175)
    [  107.969944] PM: bootloader does not support rtc-only!
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Found device /dev/ttyS3.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting uim-sysfs.service...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Permit User Sessions...
    [  OK  ] Started Kernel Logging Service.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Telephony service...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Telephony service.
    [  112.808637] NET: Registered protocol family 15
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
             Starting Network Service...
             Starting Print notice about GPLv3 packages...
    [  113.056872] Bluetooth: Core ver 2.21
             Starting Login Service...
    [  113.138232] NET: Registered protocol family 31
    [  113.188887] Bluetooth: HCI device and connection manager initialized
    [  113.313393] Bluetooth: HCI socket layer initialized
    [  113.401256] Bluetooth: L2CAP socket layer initialized
    [  OK  ] Started Permit User Sessions.
    [  113.508827] Bluetooth: SCO socket layer initialized
    [  114.248368] usbcore: registered new interface driver usbfs
    [  OK  ] Started Network Service.
    [  114.417039] usbcore: registered new interface driver hub
    [  114.508763] usbcore: registered new device driver usb
    [  114.698970] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [  114.894953] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [  115.007647] hub 1-0:1.0: USB hub found
    [  115.079331] hub 1-0:1.0: 1 port detected
    [  115.178443] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [  115.266228]  remoteproc0: powering up 4a334000.pru0
    [  115.326124] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [  115.356232]  remoteproc0: Booting fw image am335x-pru0-fw, size 75724
    [  115.435442] ti-pruss 4a300000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [  115.453022] hub 2-0:1.0: USB hub found
    [  115.498205] hub 2-0:1.0: 1 port detected
    [  115.548204] Initializing XFRM netlink socket
    [  115.578028]  remoteproc0: remote processor 4a334000.pru0 is now up
    [  115.655788] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x1e
    [  115.665880] virtio_rpmsg_bus virtio0: rpmsg host is online
    [  115.720593]  remoteproc1: powering up 4a338000.pru1
    [  115.802276]  remoteproc1: Booting fw image am335x-pru1-fw, size 75724
    [  115.873886] ti-pruss 4a300000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [  116.030790]  remoteproc1: remote processor 4a338000.pru1 is now up
    [  116.090420] virtio_rpmsg_bus virtio1: creating channel rpmsg-pru addr 0x1f
    [  116.099182] virtio_rpmsg_bus virtio1: rpmsg host is online
    [  116.373158] rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru30
    [  116.453517] rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru31
    [  OK  ] Started uim-sysfs.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils
            bison-dev
            bison
            cpp-symlinks
            cpp
            dosfstools
            g++-symlinks
            g++
            gawk-dev
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gstreamer1.0-libav
            hidapi
            libcairo-perf-utils
            libgmp10
            libidn11
            libmpc3
            libmpfr4
            m4-dev
            m4
            make
            nettle
            swig-dev
            swig
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
             Starting rc.pvr.service...
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Name Resolution.
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
             Starting busybox-udhcpd.service...
    [  OK  ] Started busybox-udhcpd.service.
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
             Starting parse-ip.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Started parse-ip.service.
    
    

    Regards,

    Sachin

  • Hello,

    As I am working out through this issue I found that, Initial command is going in and its returning error. So, its going off here.

    err = mmc_send_io_op_cond(host, 0, &ocr);
    if (err)
    return err;

    What might be the root cause for this. I found that EVM board sending the CMD53 and getting the reply. Why is this happening?

    Regards,
    Sachin
  • Hi,

    Can you print what error value is being returned ?
    Also can you add max-frequency=<1000000>; in mmc3 node and try.

    Cheers,
    --Prabhakar Lad
  • Hello,


    I have made the change, that seems to not work as expected,

    I am getting the error value of -110, check this part of kernel log from where mmc is being accessed to probe,

    File drivers/mmc/core/bus.c, Function mmc_register_driver, Line 228

     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 7 width 0 timing 0

     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1575
     
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1575
     
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 7 width 0 timing 0

     File drivers/mmc/core/core.c, Function mmc_rescan, Line 2599
     
     File drivers/mmc/core/core.c, Function mmc_rescan_try_freq, Line 2493

     File drivers/mmc/core/core.c, Function mmc_hw_reset_for_init, Line 2462
      
     File drivers/mmc/core/sdio_ops.c, Function sdio_reset, Line 212
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752


     mmc0: starting CMD52 arg 00000c00 flags 00000195
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     
    [    1.601024] mmc0: starting CMD52 arg 80000c08 flags 00000195

     File drivers/mmc/core/mmc_ops.c, Function mmc_go_idle, Line 149

     File drivers/mmc/core/core.c, Function mmc_set_chip_select, Line 1076

    [    1.645479]  mode no. = 1

     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 7 width 0 timing 0

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD0 arg 00000000 flags 000000c0

     File drivers/mmc/core/core.c, Function mmc_set_chip_select, Line 1076

    [    1.721980]  mode no. = 0
    [
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054

    [    1.749234] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 7 width 0 timing 0
     
     File drivers/mmc/core/sd_ops.c, Function mmc_send_if_cond, Line 198

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD8 arg 000000aa flags 000002f5

     File drivers/mmc/core/sdio.c, Function mmc_attach_sdio, Line 1071
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_send_io_op_cond, Line 24
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD5 arg 00000000 flags 000002e1
    err = -110

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD55 arg 00000000 flags 000000f5

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD55 arg 00000000 flags 000000f5

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD55 arg 00000000 flags 000000f5
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD55 arg 00000000 flags 000000f5

     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 7 width 0 timing 0

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD1 arg 00000000 flags 000000e1
    [    1.990177] tps65910 0-002d: No interrupt support, no core IRQ
     
     File drivers/mmc/core/core.c, Function mmc_power_off, Line 1782
     
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 0Hz busmode 2 powermode 0 cs 0 Vdd 0 width 0 timing 0

     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 0 timing 0

     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1575
     
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 0

     File drivers/mmc/core/core.c, Function mmc_rescan, Line 2599
     
     File drivers/mmc/core/core.c, Function mmc_rescan_try_freq, Line 2493

     File drivers/mmc/core/core.c, Function mmc_hw_reset_for_init, Line 2462
     
     File drivers/mmc/core/sdio_ops.c, Function sdio_reset, Line 212
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD52 arg 00000c00 flags 00000195
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752

    [    2.266646] mmc1: starting CMD52 arg 80000c08 flags 00000195

     File drivers/mmc/core/mmc_ops.c, Function mmc_go_idle, Line 149
     
     File drivers/mmc/core/core.c, Function mmc_set_chip_select, Line 1076
     
     mode no. = 1
     
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 0 timing 0

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD0 arg 00000000 flags 000000c0

     File drivers/mmc/core/core.c, Function mmc_set_chip_select, Line 1076
     
     mode no. = 0

     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 0

     File drivers/mmc/core/sd_ops.c, Function mmc_send_if_cond, Line 198
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD8 arg 000001aa flags 000002f5

     File drivers/mmc/core/sdio.c, Function mmc_attach_sdio, Line 1071
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_send_io_op_cond, Line 24
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD5 arg 00000000 flags 000002e1
    err = -110

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD55 arg 00000000 flags 000000f5

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD55 arg 00000000 flags 000000f5
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD55 arg 00000000 flags 000000f5

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD55 arg 00000000 flags 000000f5

     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0

     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD1 arg 00000000 flags 000000e1

     File drivers/mmc/core/core.c, Function mmc_power_off, Line 1782
     
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 0Hz busmode 2 powermode 0 cs 0 Vdd 0 width 0 timing 0

    Regards,

    Sachin

  • Hello,

    Can you scope and check if you are getting a clock of 33Khz on EXT_33K pin all the time ? Is your WLAN_EN pin going high when the SDIO cmds are being sent and then it goes low ?
    A strange thing which I observed is that you say you are trying to get wl1837 chip in your post, and why are setting the compatible string to
    "ti,wl1835" ? It needs to be "ti,wl1837"

    Cheers,
    --Prabhakar Lad

  • Hello,


    I have observed WLAN_EN pin going high during the boot up when CMD1 has sent and the clock is continuous, its there all time.  I have changed that compatibility string to "ti,wl1837".

    File drivers/mmc/core/bus.c, Function mmc_register_driver, Line 228
     
    [    1.278432] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.310391]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 7 width 0 timing 0
    [    1.399009]  
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1575
     
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1575
     
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 7 width 0 timing 0
    [    1.459016]  
     File drivers/mmc/core/core.c, Function mmc_rescan, Line 2599
     
     File drivers/mmc/core/core.c, Function mmc_rescan_try_freq, Line 2493
     
    [    1.473814] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.483708] NET: Registered protocol family 10
    [    1.488888]  
     File drivers/mmc/core/core.c, Function mmc_hw_reset_for_init, Line 2462
     
    [    1.498250] sit: IPv6 over IPv4 tunneling driver
    [    1.503210]  
     File drivers/mmc/core/sdio_ops.c, Function sdio_reset, Line 212
     
    [    1.511786] NET: Registered protocol family 17
    [    1.516825] Key type dns_resolver registered
    [    1.521204]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72
     
    [    1.529922] omap_voltage_late_init: Voltage driver support not added
    [    1.537998]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD52 arg 00000c00 flags 00000195
    [    1.553004] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.558184] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.564814]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72
     
    [    1.574849] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.581322]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     
    [    1.589043] nand: Micron MT29F2G08ABAEAWP
    [    1.593256] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.600890] mmc0: starting CMD52 arg 80000c08 flags 00000195
    [    1.606639] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.612058]  
     File drivers/mmc/core/mmc_ops.c, Function mmc_go_idle, Line 149
     
    [    1.619712] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.626015] Creating 10 MTD partitions on "8000000.nand":
    [    1.631470]  
     File drivers/mmc/core/core.c, Function mmc_set_chip_select, Line 1076
     
    [    1.639562] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.645341]
    [    1.645341]  mode no. = 1
    [    1.649509]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 7 width 0 timing 0
    [    1.664540] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.671917] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.679159]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD0 arg 00000000 flags 000000c0
    [    1.692248] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.699531] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.707156]  
     File drivers/mmc/core/core.c, Function mmc_set_chip_select, Line 1076
     
    [    1.716165] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.721842]
    [    1.721842]  mode no. = 0
    [    1.725963]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     
    [    1.735048] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.742524] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.749085] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 7 width 0 timing 0
    [    1.757700]  
     File drivers/mmc/core/sd_ops.c, Function mmc_send_if_cond, Line 198
     
    [    1.767046] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.777055] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.783003]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD8 arg 000000aa flags 000002f5
    [    1.808984]  
     File drivers/mmc/core/sdio.c, Function mmc_attach_sdio, Line 1071
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_send_io_op_cond, Line 24
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD5 arg 00000000 flags 000002e1
    [    1.860392] err = -110
    [    1.862857]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD55 arg 00000000 flags 000000f5
    [    1.888979]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD55 arg 00000000 flags 000000f5
    [    1.919332]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD55 arg 00000000 flags 000000f5
    [    1.949229]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD55 arg 00000000 flags 000000f5
    [    1.964142]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 7 width 0 timing 0
    [    1.977866]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc0: starting CMD1 arg 00000000 flags 000000e1
    [    1.990098] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.997259]  
     File drivers/mmc/core/core.c, Function mmc_power_off, Line 1782
     
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc0: clock 0Hz busmode 2 powermode 0 cs 0 Vdd 0 width 0 timing 0
    [    2.040506] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.048285] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    2.054812] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.060057] vmmc: supplied by vbat
    [    2.063846]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 0 timing 0
    [    2.077239]  
     File drivers/mmc/core/core.c, Function __mmc_set_signal_voltage, Line 1575
     
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 0
    [    2.129291]  
     File drivers/mmc/core/core.c, Function mmc_rescan, Line 2599
     
     File drivers/mmc/core/core.c, Function mmc_rescan_try_freq, Line 2493
     
    [    2.143714] vdd_mpu: supplied by vbat
    [    2.149527] hctosys: unable to open rtc device (rtc0)
    [    2.173640]  
     File drivers/mmc/core/core.c, Function mmc_hw_reset_for_init, Line 2462
     
     File drivers/mmc/core/sdio_ops.c, Function sdio_reset, Line 212
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72
     
    [    2.195303] net eth0: initializing cpsw version 1.12 (0)
    [    2.200874] net eth0: initialized cpsw ale version 1.4
    [    2.206040] net eth0: ALE Table size 1024
    [    2.210094]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD52 arg 00000c00 flags 00000195
    [    2.224465] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [    2.231796]  
     File drivers/mmc/core/sdio_ops.c, Function mmc_io_rw_direct_host, Line 72
     
    [    2.240715] net eth0: phy found : id is : 0x2000a231
    [    2.248035]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     
    [    2.260492] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.266602] mmc1: starting CMD52 arg 80000c08 flags 00000195
    [    2.272713]  
     File drivers/mmc/core/mmc_ops.c, Function mmc_go_idle, Line 149
     
     File drivers/mmc/core/core.c, Function mmc_set_chip_select, Line 1076
     
     mode no. = 1
    [    2.288497]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 0 timing 0
    [    2.303275]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD0 arg 00000000 flags 000000c0
    [    2.316437]  
     File drivers/mmc/core/core.c, Function mmc_set_chip_select, Line 1076
     
     mode no. = 0
    [    2.326012]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 0
    [    2.340963]  
     File drivers/mmc/core/sd_ops.c, Function mmc_send_if_cond, Line 198
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD8 arg 000001aa flags 000002f5
    [    2.360059]  
     File drivers/mmc/core/sdio.c, Function mmc_attach_sdio, Line 1071
     
     File drivers/mmc/core/sdio_ops.c, Function mmc_send_io_op_cond, Line 24
     
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD5 arg 00000000 flags 000002e1
    [    2.386834] err = -110
    [    2.389318]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD55 arg 00000000 flags 000000f5
    [    2.401785]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD55 arg 00000000 flags 000000f5
    [    2.414231]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD55 arg 00000000 flags 000000f5
    [    2.426699]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD55 arg 00000000 flags 000000f5
    [    2.439153]  
     File drivers/mmc/core/core.c, Function mmc_set_ios, Line 1054
     mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 timing 0
    [    2.452902]  
     File drivers/mmc/core/core.c, Function mmc_wait_for_cmd, Line 752
     mmc1: starting CMD1 arg 00000000 flags 000000e1
    [    2.465318]  
     File drivers/mmc/core/core.c, Function mmc_power_off, Line 1782
     
    Regards,

    Sachin

  • Hello,

    The wlan_en pin stays high for 700ms, but I didn't find any activity on sdio_clk line which I found on evm board.

    Regards,
    Sachin
  • Hello,

    Can you dump the registers in the kernel cand check if pinmux are set properly ?
    Also are you using the same code base for uboot and linux of the sdk release ? what all changes have you done to u-boot and Linux for your custom board ?

    Cheers,
    --Prabhakar Lad
  • Hello,

    Yes I am using the same code base for uboot and Linux of the sdk release .

    These are the changes I have made to Uboot.

     
    @@ -660,14 +666,15 @@ int board_late_init(void)
     #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
     	int rc;
     	char *name = NULL;
    -
    +#if 0
     	rc = read_eeprom();
     	if (rc)
     		puts("Could not get board ID.\n");
     
     	if (board_is_bbg1())
     		name = "BBG1";
    -	set_board_info_env(name);
    +#endif
    +	set_board_info_env("am335x-evm");
     #endif
     
     #if !defined(CONFIG_SPL_BUILD)
    diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
    index 8afa5f9..b79d2c1 100644
    --- a/board/ti/am335x/mux.c
    +++ b/board/ti/am335x/mux.c
    @@ -81,6 +81,20 @@ static struct module_pin_mux mmc0_no_cd_pin_mux[] = {
     	{-1},
     };
     
    +static struct module_pin_mux wifibt_pin_mux[] = {
    +
    +	{OFFSET(gpmc_csn3), (MODE(3) | RXACTIVE | PULLUP_EN)},	/* WIFIBT_CMD */
    +	{OFFSET(gpmc_clk), (MODE(3) | RXACTIVE | PULLUP_EN)},	/* WIFIBT_CLK */
    +	{OFFSET(gpmc_a1), (MODE(3) | RXACTIVE | PULLUP_EN)},	/* WIFIBT_DATA0 */
    +	{OFFSET(gpmc_a2), (MODE(3) | RXACTIVE | PULLUP_EN)},	/* WIFIBT_DATA1 */
    +	{OFFSET(gpmc_a3), (MODE(3) | RXACTIVE | PULLUP_EN)},	/* WIFIBT_DATA2 */
    +	{OFFSET(gpmc_be1n), (MODE(3) | RXACTIVE | PULLUP_EN)},	/* WIFIBT_DATA3 */
    +	{OFFSET(mcasp0_ahclkr), (MODE(0) | RXACTIVE )},			/* WIFIBT_IRQ */
    +	{OFFSET(ecap0_in_pwm0_out), (MODE(0) | RXACTIVE | PULLUP_EN )},	/* WIFIBT_BT_SEL */
    +
    +	{-1},
    +};
    +
     static struct module_pin_mux mmc0_pin_mux_sk_evm[] = {
     	{OFFSET(mmc0_dat3), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT3 */
     	{OFFSET(mmc0_dat2), (MODE(0) | RXACTIVE | PULLUP_EN)},	/* MMC0_DAT2 */
    @@ -340,6 +354,12 @@ static unsigned short detect_daughter_board_profile(void)
     
     void enable_board_pin_mux(void)
     {
    +
    +	configure_module_pin_mux(mmc0_pin_mux);
    +	configure_module_pin_mux(nand_pin_mux);
    +	configure_module_pin_mux(rgmii1_pin_mux);
    +	configure_module_pin_mux(wifibt_pin_mux);
    +#if 0
     	/* Do board-specific muxes. */
     	if (board_is_bone()) {
     		/* Beaglebone pinmux */
    @@ -400,4 +420,5 @@ void enable_board_pin_mux(void)
     		puts("Unknown board, cannot configure pinmux.");
     		hang();
     	}
    +#endif
     }
    diff --git a/configs/am335x_evm_nandboot_defconfig b/configs/am335x_evm_nandboot_defconfig
    index 4710d00..257543e 100644
    --- a/configs/am335x_evm_nandboot_defconfig
    +++ b/configs/am335x_evm_nandboot_defconfig
    @@ -16,6 +16,7 @@ CONFIG_CMD_ASKENV=y
     # CONFIG_CMD_FLASH is not set
     CONFIG_CMD_MMC=y
     CONFIG_CMD_SF=y
    +CONFIG_ENV_IS_IN_NAND=y
     CONFIG_CMD_SPI=y
     CONFIG_CMD_I2C=y
     CONFIG_CMD_USB=y
    @@ -43,10 +44,10 @@ CONFIG_USB_MUSB_HOST=y
     CONFIG_USB_MUSB_GADGET=y
     CONFIG_USB_GADGET=y
     CONFIG_RSA=y
    -CONFIG_FIT=y
    -CONFIG_SPL_OF_LIBFDT=y
    -CONFIG_SPL_LOAD_FIT=y
    -CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
    +# CONFIG_FIT=y
    +# CONFIG_SPL_OF_LIBFDT=y
    +# CONFIG_SPL_LOAD_FIT=y
    +# CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
     CONFIG_DM_NAND=y
     CONFIG_USB_GADGET_DOWNLOAD=y
     CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
    diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
    index 1139526..d1b8fd2 100644
    --- a/include/configs/am335x_evm.h
    +++ b/include/configs/am335x_evm.h
    @@ -95,6 +95,7 @@
     #define CONFIG_BOOTCOMMAND \
     	"run findfdt; " \
     	"run init_console; " \
    +	"run nandboot; " \
     	"run envboot; " \
     	"run distro_bootcmd"
     
    @@ -108,7 +109,7 @@
     	"bootpart=0:2\0" \
     	"bootdir=/boot\0" \
     	"bootfile=zImage\0" \
    -	"fdtfile=undefined\0" \
    +	"fdtfile=am335x-evm.dtb\0" \
     	"console=ttyO0,115200n8\0" \
     	"partitions=" \
     		"uuid_disk=${uuid_gpt_disk};" \

    Can you just tell me how can i check the pinmux by dumping registers.


    Regards,

    Sachin

  • Hello,

    Attached the executable copy it to your root filesystem and rename it to dev2mem. Usage is as followos

    dev2mem <address>

    Example:

    dev2mem 0x44E10844

    Above should print the pinmux for gpmc_a1.mmc2_dat0

    Cheers,

    --Prabhakar Lad

    ELF(�44 (p���444444�����LX�����PPP  Q�td/lib/ld-linux-armhf.so.3GNU%
    
    	i"O0yp� cG*h/@4V]libc.so.6fflushexitputsaborttolowermmap__errno_locationstdoutstrtoulstderrmunmapcloseopenfprintfstrerror__libc_start_main__gmon_start__GLIBC_2.4ii
    �$04�
    �
    �
    �
    �
    �
    �
    	
    
     @-�D�����-�������	Ə�ʌ����Ə�ʌ�����Ə�ʌ�����Ə�ʌ�����Ə�ʌ�����Ə�ʌ�����Ə�ʌ�����Ə�ʌ�����Ə�ʌ�����Ə�ʌ����Ə�ʌ����Ə�ʌ����Ə�ʌ����Ə�ʌ����Ə�ʌ����Ə�ʌ�����������
     �� -�-�����-���0����������D��
    0�� ��0�� ��R��/�����L@-� �� 0��0`�S����0��S���3�/����03,��,��@-�`�A���������0��S���3�/����00@-�@��0��S�������0��0�����8$��@-�0��S�
    0��S�
    3�/�@�������0H-����0�M�0�4�w0��0�00�S��0>�0@� ��40�0����T�@� ����������40�0��0������ �����0��0�00�S��40�0��0��0����`�����@��@�i����0�s�0>�0@�@��p���0��P��m���0��0����T���0��P��0�����@�O ��8<�0@�\�����Q���D�@�?���4>�0@�0����4���0��>��0�� � ��0������ ��0��D��� � 0�s�0>�0@�@��B���0��P��?���0��0����&���0��P��0�����@�U ��8<�0@�.�����#���X�@� ����4>�0@�0�������0�:��#:��  �0��$0�0�hS�
    wS�	
    bS�$0�0��0��$0�0��0�
    �$0�0��0�	�0>�0@�0����x�@� �����������@��$ �0�����4>�0@�0��������00�S�/�40�0��0������ ������(�0�hS�
    wS�
    bS�(0�s ��$0� ��$0�0��0��(0�s ��$0� ��$0�0��0��$0�( � ��$0�0��0����@�(� ����4>�0@�0������� �������0��s�0>�0@�@�����0��P�����0��0�������0��P��0�����@� ��8<�0@�������������0�����K�0����E-�p��LP�����H`�����P��n���`��`e�Fa�����PE�@��0������
     ��@��3�/�T�����������/�@-����
    Usage:	%s { address } [ type [ data ] ]
    	address : memory address to act upon
    	type    : access operation type : [b]yte, [h]alfword, [w]ord
    	data    : data to be written
    
    /dev/memError at line %d, file %s (%d) [%s]
    devmem2.c/dev/mem opened.Memory mapped at address %p.
    Illegal data type '%c'.
    Value at address 0x%X (%p): 0x%X
    Written 0x%X; readback 0x%X
    ����t�
    H��p8
    ��
    �<$���o���o���o������������������GCC: (crosstool-NG 1.21.0) 4.7.4A8aeabi.7-A
    A	
    "D.symtab.strtab.shstrtab.interp.note.ABI-tag.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.text.fini.rodata.ARM.exidx.eh_frame.init_array.fini_array.jcr.dynamic.got.data.bss.comment.ARM.attributes4Pp8�$<	�
    ��H
    P�������
    (0���P���w�����z���P�(���w�����w�
    wH
    ���w�
    wL
    X��c�w�p��(w4�4�h�,wt�t���8����w����������8���Tw���w�
    �<wDX����$���2���>�O�X�k�
    w���w��D� �( ��0��<�0H
    <!03(@Pm� ��,��P����
    d.<3�:<B4T0`�ew �0� ���
    �/home/prabhakar/work/jesper/16-feb-rel-0.5/flitzer-project/build/work/native/crosstool-ng/src/crosstool-ng-1.21.0/.build/arm-cortex_a8-linux-gnueabi/build/build-libc-final/csu/abi-note.o$d/home/prabhakar/work/jesper/16-feb-rel-0.5/flitzer-project/build/work/native/crosstool-ng/src/crosstool-ng-1.21.0/.build/arm-cortex_a8-linux-gnueabi/build/build-libc-final/csu/start.o$ainit.c/home/prabhakar/codesourcery/arm-cortex_a8/bin/../arm-cortex_a8-linux-gnueabi/sysroot/usr/lib/crti.ocall_weak_fn/home/prabhakar/codesourcery/arm-cortex_a8/bin/../arm-cortex_a8-linux-gnueabi/sysroot/usr/lib/crtn.ocrtstuff.c__JCR_LIST__deregister_tm_clonesregister_tm_clones__do_global_dtors_auxcompleted.9477__do_global_dtors_aux_fini_array_entryframe_dummy__frame_dummy_init_array_entrydevmem2.celf-init.c__FRAME_END____JCR_END____init_array_end_DYNAMIC__init_array_start_GLOBAL_OFFSET_TABLE___libc_csu_fini_ITM_deregisterTMCloneTabledata_startprintf@@GLIBC_2.4__bss_start__fflush@@GLIBC_2.4_bss_end__tolower@@GLIBC_2.4_edata_fini__bss_end__stderr@@GLIBC_2.4__data_startputs@@GLIBC_2.4__libc_start_main@@GLIBC_2.4strerror@@GLIBC_2.4__gmon_start__open@@GLIBC_2.4__dso_handleexit@@GLIBC_2.4_IO_stdin_usedstrtoul@@GLIBC_2.4mmap@@GLIBC_2.4fprintf@@GLIBC_2.4__libc_csu_init__errno_location@@GLIBC_2.4_end_start__end__stdout@@GLIBC_2.4__bss_startmainmunmap@@GLIBC_2.4_Jv_RegisterClasses__TMC_END___ITM_registerTMCloneTableabort@@GLIBC_2.4_initclose@@GLIBC_2.444#PP 1pp�70?88�G���o��&T���o c	$$l	B<<�u��p���{����HH�PP��p���������������������
    �
    P�((�00�00!�pQ9����U	@�

  • hello,

    I got it with devmem2,

    gpmc_a1: Read at address 0x44E10844 (0xb6fe6844): 0x00000033
    gpmc_a2: Read at address 0x44E10848 (0xb6fbd848): 0x00000033
    gpmc_a3: Read at address 0x44E1084C (0xb6feb84c): 0x00000033
    gpmc_ben1(mmc2_dat3):Read at address 0x44E10878 (0xb6fb7878): 0x00000033
    gpmc_clk: Read at address 0x44E1088C (0xb6fa288c): 0x00000033
    gpmc_csn3(mmc_cmd): Read at address 0x44E10888 (0xb6f6f888): 0x00000033

    Regards,
    Sachin
  • The pinmuxes look correct. Now to debug further can you use the same u-boot on evm which you are trying on your hardware and check if the wlan works on evm ? Similarly can test the linux but just use wlan in case you have any other hardware changes ?

    Cheers,
    --Prabhakar Lad
  • I couldnt boot, we are using nand boot and evm is using sd card boot.

    Regards,

    Sachin

  • Hello,

    Can you try the attached images on your hardware for nand boot mode and let me know.

    Note:- Rename MLO.txt to MLO and u-boot.img.txt to u-boot.img. Not sure if only this 2 images are required let me know if you need a different image type.

    Cheers,

    --Prabhakar Lad

    u-boot.img.txtMLO.txt

  • Hello Sir,

    Sorry for the delay in informing you that, I have tried the MLO and U-image that you posted. Its a bad luck I my board didnt come up with the uboot only. When i switched on it didnt show up anything.
    I was trying to debug the SPL, since I could able to boot EVM successfully boot with kernel, uboot and filesystem which i use to boot custom board. We are suspecting the SDIO interface which is not coming up. It is stopping and getting off after the command (CMD1).

    Can you suggest me what can make the SDIO interface to not come up?

    Regards,
    Sachin
  • Hello,

    Can you mention what u-boot images you build for your nand boot mode and also the steps ?

    Do you use am335x_evm_nandboot_defconfig to build with below changes ?

    +++ b/configs/am335x_evm_nandboot_defconfig
    @@ -17,6 +17,7 @@ CONFIG_CMD_ASKENV=y
     # CONFIG_CMD_FLASH is not set
     CONFIG_CMD_MMC=y
     CONFIG_CMD_SF=y
    +CONFIG_ENV_IS_IN_NAND=y
     CONFIG_CMD_SPI=y
     CONFIG_CMD_I2C=y
     CONFIG_CMD_USB=y
    @@ -44,10 +45,10 @@ CONFIG_USB_MUSB_HOST=y
     CONFIG_USB_MUSB_GADGET=y
     CONFIG_USB_GADGET=y
     CONFIG_RSA=y
    -CONFIG_FIT=y
    -CONFIG_SPL_OF_LIBFDT=y
    -CONFIG_SPL_LOAD_FIT=y
    -CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
    +# CONFIG_FIT=y
    +# CONFIG_SPL_OF_LIBFDT=y
    +# CONFIG_SPL_LOAD_FIT=y
    +# CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
     CONFIG_DM_NAND=y
     CONFIG_USB_GADGET_DOWNLOAD=y
     CONFIG_G_DNL_MANUFACTURER="Texas Instruments"

    And am335x_evm.h with below changes ?

    diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
    index 02d3bcc..f51e346 100644
    --- a/include/configs/am335x_evm.h
    +++ b/include/configs/am335x_evm.h
    @@ -98,6 +98,7 @@
            "fi;"   \
            "run findfdt; " \
            "run init_console; " \
    +       "run nandboot; " \
            "run envboot; " \
            "run distro_bootcmd"
     
    @@ -111,7 +112,7 @@
            "bootpart=0:2\0" \
            "bootdir=/boot\0" \
            "bootfile=zImage\0" \
    -       "fdtfile=undefined\0" \
    +       "fdtfile=am335x-evm.dtb\0" \
            "console=ttyO0,115200n8\0" \
            "partitions=" \
                    "uuid_disk=${uuid_gpt_disk};" \



    Cheers,
    --Prabhakar Lad

  • hello,

    yes, I use the am335x_evm_nandboot_defconfig.

    After adding that patch,

    I use these commands to compile the uboot,

    sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
    sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm_nandboot_defconfig
    sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4

    And am335x_evm.h with below changes ?
    Ans:- Yes

    Regards,
    Sachin
  • Can you dump the value of register CM_PER_MMC2_CLKCTRL in Linux ?
    Also which u-boot images you use MLO? u-boot.img ?

    Cheers,
    --Prabhakar Lad