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.

AM4378: could not insert module cfg80211.ko

Part Number: AM4378
Other Parts Discussed in Thread: WL1835MODCOM8B, WL18XXCOM82SDMMC

Hello,

 I am trying to get the Wilink module WL1835MODCOM8B working with the MYIR RicoBoard

 The WL1835MODCOM8B board is connected via the WL18XXCOM82SDMMC board and a Flatfoil to the RicoBoard

 I have adapted the dts file and the config file and build the kernel according the WL18xx WiFi Build Process

 I used the tisdk-rootfs-image-am437x-evm file system and added the system files from the ws-build/fs folder to it

 after the kernel boot no modules are loaded

 The execution of insmod /lib/modules/4.4.41-gf9f6f0db2d/updates/compat/compat.ko gives no errors

 but when i execute insmod /lib/modules/4.4.41-gf9f6f0db2d/updates/net/wireless/cfg80211.ko

 i get a lot of errors and the loading of the module fails

 I am using ti-processor-sdk-linux-am437x-evm-03.03.00.04 and the for the wilink build i used build_wl18xx.sh update R8.7_SP2

 Any idea what could cause this problem?

 should the kernel load the modules automaticaly during startup? or has that to be done via a script?

 In attachment you can find the Kernel Boot log with the errors during the loading of the cfg80211.ko module

 In attachment you can also find my config file and dts file

Hello,

 I am trying to get the Wilink module WL1835MODCOM8B working with the MYIR RicoBoard

 The WL1835MODCOM8B board is connected via the WL18XXCOM82SDMMC board and a Flatfoil to the RicoBoard

 I have adapted the dts file and the config file and build the kernel according the WL18xx WiFi Build Process

 I used the tisdk-rootfs-image-am437x-evm file system and added the system files from the ws-build/fs folder to it

 after the kernel boot no modules are loaded

 The execution of insmod /lib/modules/4.4.41-gf9f6f0db2d/updates/compat/compat.ko gives no errors

 but when i execute insmod /lib/modules/4.4.41-gf9f6f0db2d/updates/net/wireless/cfg80211.ko

 i get a lot of errors and the loading of the module fails

 I am using ti-processor-sdk-linux-am437x-evm-03.03.00.04 and the for the wilink build i used build_wl18xx.sh update R8.7_SP2

 Any idea what could cause this problem?

 should the kernel load the modules automaticaly during startup? or has that to be done via a script?

 In attachment you can find the Kernel Boot log with the errors during the loading of the cfg80211.ko module

 In attachment you can also find my config file and dts file

StartupLog_Errors_LoadModule_cfg80211_ko.txt
U-Boot 2013.10 (Oct 13 2017 - 09:42:51)

I2C:   ready
DRAM:  512 MiB
lcd_bl_init
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
SF: Detected S25FL128S_64K with page size 256 Bytes, erase size 64 KiB, total 16 MiB, mapped at 30000000
*** Warning - bad CRC, using default environment

Init vbus0: 500mA@5V, OFF
Init vbus1: 500mA@5V, ON
Not found the LCD header IC
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  1  0 
mmc1(part 0) is current device
Booting from emmc
reading /zImage
3916112 bytes read in 205 ms (18.2 MiB/s)
reading /myir_ricoboard.dtb
55123 bytes read in 8 ms (6.6 MiB/s)
Kernel image @ 0x80200000 [ 0x000000 - 0x3bc150 ]
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Loading Device Tree to 9fb1c000, end 9fb2c752 ... OK

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 (ronny@ronny-desktop) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 PREEMPT Fri Oct 13 12:27:16 CEST 2017
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: MYIR Rico Board
[    0.000000] cma: Reserved 24 MiB at 0x9e000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200n8 omapdss.def_disp=display1 omapfb.mode=display1:1024x768MR-24@60 spi-ti-qspi.enable_qspi=1 root=/dev/mmcblk0p2 rootfstype=ext4
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 483604K/524288K available (7393K kernel code, 325K rwdata, 2480K rodata, 284K init, 253K bss, 16108K reserved, 24576K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc09ac698   (9874 kB)
[    0.000000]       .init : 0xc09ad000 - 0xc09f4000   ( 284 kB)
[    0.000000]       .data : 0xc09f4000 - 0xc0a45560   ( 326 kB)
[    0.000000]        .bss : 0xc0a47000 - 0xc0a865e0   ( 254 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU kthread priority: 1.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000038] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000051] OMAP clocksource: timer1 at 24000000 Hz
[    0.000224] sched_clock: 64 bits at 300MHz, resolution 3ns, wraps every 2199023255551ns
[    0.000244] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x45306eca54, max_idle_ns: 440795215369 ns
[    0.001042] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.001054] OMAP clocksource: 32k_counter at 32768 Hz
[    0.001843] Console: colour dummy device 80x30
[    0.001879] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.090367] pid_max: default: 32768 minimum: 301
[    0.090487] Security Framework initialized
[    0.090533] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090546] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091367] Initializing cgroup subsys io
[    0.091397] Initializing cgroup subsys memory
[    0.091441] Initializing cgroup subsys devices
[    0.091460] Initializing cgroup subsys freezer
[    0.091477] Initializing cgroup subsys perf_event
[    0.091492] Initializing cgroup subsys pids
[    0.091526] CPU: Testing write buffer coherency: ok
[    0.091927] Setting up static identity map for 0x80008200 - 0x80008260
[    0.093870] devtmpfs: initialized
[    0.112848] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.182322] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.184636] pinctrl core: initialized pinctrl subsystem
[    0.186105] NET: Registered protocol family 16
[    0.188090] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.210373] cpuidle: using governor ladder
[    0.240356] cpuidle: using governor menu
[    0.248258] OMAP GPIO hardware version 0.1
[    0.252238] omap_gpio 48322000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/display_mux_pins, deferring probe
[    0.262604] No ATAGs?
[    0.262645] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.262658] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.309712] edma 49000000.edma: TI EDMA DMA engine driver
[    0.315917] SCSI subsystem initialized
[    0.316315] usbcore: registered new interface driver usbfs
[    0.316392] usbcore: registered new interface driver hub
[    0.316516] usbcore: registered new device driver usb
[    0.317173] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
[    0.317234] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
[    0.317440] media: Linux media interface: v0.10
[    0.317514] Linux video capture interface: v2.00
[    0.317584] pps_core: LinuxPPS API ver. 1 registered
[    0.317594] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.317630] PTP clock support registered
[    0.318478] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.319006] Advanced Linux Sound Architecture Driver Initialized.
[    0.320510] clocksource: Switched to clocksource arm_global_timer
[    0.332087] NET: Registered protocol family 2
[    0.332979] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.333052] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.333110] TCP: Hash tables configured (established 4096 bind 4096)
[    0.333211] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.333234] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.333426] NET: Registered protocol family 1
[    0.333824] RPC: Registered named UNIX socket transport module.
[    0.333839] RPC: Registered udp transport module.
[    0.333847] RPC: Registered tcp transport module.
[    0.333855] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.336771] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.336875] audit: initializing netlink subsys (disabled)
[    0.336945] audit: type=2000 audit(0.320:1): initialized
[    0.344332] VFS: Disk quotas dquot_6.6.0
[    0.344549] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.345825] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.346698] NFS: Registering the id_resolver key type
[    0.346753] Key type id_resolver registered
[    0.346763] Key type id_legacy registered
[    0.346796] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.346813] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.347770] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.348673] fuse init (API version 7.23)
[    0.355295] io scheduler noop registered
[    0.355323] io scheduler deadline registered
[    0.355403] io scheduler cfq registered (default)
[    0.358996] pinctrl-single 44e10800.pinmux: bad data for mux unused_pins
[    0.359020] pinctrl-single 44e10800.pinmux: no pins entries for unused_pins
[    0.359161] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[    0.362157] backlight supply power not found, using dummy regulator
[    0.363414] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    0.365121] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.367149] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    0.367483] console [ttyS0] disabled
[    0.367554] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[    1.136817] console [ttyS0] enabled
[    1.140903] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[    1.149270] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 31, base_baud = 3000000) is a 8250
[    1.160233] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    1.167199] [drm] Initialized drm 1.1.0 20060810
[    1.173795] 4832a000.dss supply vdda_video not found, using dummy regulator
[    1.180981] OMAP DSS rev 2.0
[    1.184033] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
[    1.209014] brd: module loaded
[    1.219384] loop: module loaded
[    1.224463] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.233129] spi spi1.0: not using DMA for McSPI (-19)
[    1.238520] spidev spi1.0: buggy DT: spidev listed directly in DT
[    1.244721] ------------[ cut here ]------------
[    1.249380] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:719 spidev_probe+0x170/0x1ac()
[    1.257610] Modules linked in:
[    1.260708] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.41-gf9f6f0db2d #1
[    1.267526] Hardware name: Generic AM43 (Flattened Device Tree)
[    1.273529] [<c0014620>] (unwind_backtrace) from [<c00123bc>] (show_stack+0x10/0x14)
[    1.281339] [<c00123bc>] (show_stack) from [<c0030edc>] (warn_slowpath_common+0x74/0xac)
[    1.289476] [<c0030edc>] (warn_slowpath_common) from [<c0030f30>] (warn_slowpath_null+0x1c/0x24)
[    1.298321] [<c0030f30>] (warn_slowpath_null) from [<c047f608>] (spidev_probe+0x170/0x1ac)
[    1.306661] [<c047f608>] (spidev_probe) from [<c047d2b0>] (spi_drv_probe+0x7c/0xa8)
[    1.314381] [<c047d2b0>] (spi_drv_probe) from [<c040d29c>] (driver_probe_device+0x1d8/0x2a0)
[    1.322894] [<c040d29c>] (driver_probe_device) from [<c040b918>] (bus_for_each_drv+0x44/0x8c)
[    1.331483] [<c040b918>] (bus_for_each_drv) from [<c040d038>] (__device_attach+0xa0/0x104)
[    1.339792] [<c040d038>] (__device_attach) from [<c040c7c0>] (bus_probe_device+0x84/0x8c)
[    1.348027] [<c040c7c0>] (bus_probe_device) from [<c040ac90>] (device_add+0x378/0x520)
[    1.356005] [<c040ac90>] (device_add) from [<c047d104>] (spi_add_device+0x88/0x130)
[    1.363717] [<c047d104>] (spi_add_device) from [<c047ea70>] (of_register_spi_device+0x1f8/0x2e8)
[    1.372561] [<c047ea70>] (of_register_spi_device) from [<c047ef3c>] (spi_register_master+0x210/0x430)
[    1.381840] [<c047ef3c>] (spi_register_master) from [<c047f190>] (devm_spi_register_master+0x34/0x70)
[    1.391120] [<c047f190>] (devm_spi_register_master) from [<c04807bc>] (omap2_mcspi_probe+0x288/0x330)
[    1.400392] [<c04807bc>] (omap2_mcspi_probe) from [<c040e720>] (platform_drv_probe+0x50/0xb0)
[    1.408977] [<c040e720>] (platform_drv_probe) from [<c040d29c>] (driver_probe_device+0x1d8/0x2a0)
[    1.417908] [<c040d29c>] (driver_probe_device) from [<c040d3f0>] (__driver_attach+0x8c/0x90)
[    1.426404] [<c040d3f0>] (__driver_attach) from [<c040b9b4>] (bus_for_each_dev+0x54/0x88)
[    1.434640] [<c040b9b4>] (bus_for_each_dev) from [<c040c9a4>] (bus_add_driver+0xe8/0x1f4)
[    1.442871] [<c040c9a4>] (bus_add_driver) from [<c040d9f0>] (driver_register+0x78/0xf4)
[    1.450930] [<c040d9f0>] (driver_register) from [<c0009698>] (do_one_initcall+0x84/0x1d4)
[    1.459157] [<c0009698>] (do_one_initcall) from [<c09add98>] (kernel_init_freeable+0xf8/0x1c4)
[    1.467835] [<c09add98>] (kernel_init_freeable) from [<c06fd238>] (kernel_init+0x8/0xf8)
[    1.475987] [<c06fd238>] (kernel_init) from [<c000f778>] (ret_from_fork+0x14/0x3c)
[    1.483626] ---[ end trace e5ee0258688a0dff ]---
[    1.490213] m25p80 spi5.0: Spansion Quad bit not set
[    1.495294] m25p80 spi5.0: Spansion quad-read not enabled
[    1.500740] m25p80 spi5.0: quad mode not supported
[    1.505573] m25p80: probe of spi5.0 failed with error -22
[    1.570575] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.576714] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.583822] libphy: 4a101000.mdio: probed
[    1.587872] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[    1.598525] cpsw 4a100000.ethernet: Detected MACID = a8:1b:6a:c1:53:05
[    1.605318] cpsw 4a100000.ethernet: cpts: overflow check period 850
[    2.018854] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.025483] ehci-omap: OMAP-EHCI Host Controller driver
[    2.031578] dwc3 48390000.usb: otg: primary host xhci-hcd.0.auto registered
[    2.038584] dwc3 48390000.usb: otg: shared host xhci-hcd.0.auto registered
[    2.045535] dwc3 48390000.usb: otg: can't start till gadget registers
[    2.052116] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.057659] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.065823] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x00210010
[    2.074643] xhci-hcd xhci-hcd.1.auto: irq 259, io mem 0x483d0000
[    2.080893] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.087719] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.095001] usb usb1: Product: xHCI Host Controller
[    2.099906] usb usb1: Manufacturer: Linux 4.4.41-gf9f6f0db2d xhci-hcd
[    2.106389] usb usb1: SerialNumber: xhci-hcd.1.auto
[    2.112145] hub 1-0:1.0: USB hub found
[    2.115968] hub 1-0:1.0: 1 port detected
[    2.120319] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.125944] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.133768] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.142080] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    2.148907] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.156189] usb usb2: Product: xHCI Host Controller
[    2.161106] usb usb2: Manufacturer: Linux 4.4.41-gf9f6f0db2d xhci-hcd
[    2.167578] usb usb2: SerialNumber: xhci-hcd.1.auto
[    2.173229] hub 2-0:1.0: USB hub found
[    2.177039] hub 2-0:1.0: 1 port detected
[    2.181739] usbcore: registered new interface driver usb-storage
[    2.187951] usbcore: registered new interface driver usbserial
[    2.193971] usbcore: registered new interface driver ftdi_sio
[    2.199794] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.207799] mousedev: PS/2 mouse device common for all mice
[    2.216354] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    2.223893] i2c /dev entries driver
[    2.228853] usbcore: registered new interface driver uvcvideo
[    2.234746] USB Video Class driver (1.1.1)
[    2.240325] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.402254] ledtrig-cpu: registered to indicate activity on CPUs
[    2.408688] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[    2.417087] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[    2.426652] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[    2.435069] usbcore: registered new interface driver usbhid
[    2.440930] usbhid: USB HID core driver
[    2.448625]  remoteproc0: wkup_m3 is available
[    2.453204]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    2.462400]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    2.473024]  remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
[    2.484510] ti-pruss 54400000.pruss: creating PRU cores and other child platform devices
[    2.492803]  remoteproc0: failed to load am335x-pm-firmware.elf
[    2.498816] mmc1: MAN_BKOPS_EN bit is not set
[    2.504385] irq: no irq domain found for /ocp/pruss_wrapper@54426000/pruss@54400000/intc@54420000 !
[    2.514305] irq: no irq domain found for /ocp/pruss_wrapper@54426000/pruss@54400000/intc@54420000 !
[    2.524239] ti-pruss 54440000.pruss: creating PRU cores and other child platform devices
[    2.532934] mmc1: new high speed MMC card at address 0001
[    2.539472] irq: no irq domain found for /ocp/pruss_wrapper@54426000/pruss@54440000/intc@54460000 !
[    2.548977] mmcblk0: mmc1:0001 Q2J54A 3.64 GiB 
[    2.554637] irq: no irq domain found for /ocp/pruss_wrapper@54426000/pruss@54440000/intc@54460000 !
[    2.563831] mmcblk0boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    2.570113] mmcblk0boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    2.578469]  remoteproc1: 54434000.pru0 is available
[    2.584275]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[    2.593442]  mmcblk0: p1 p2 p3
[    2.596754]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    2.609359]  remoteproc1: Direct firmware load for am437x-pru1_0-fw failed with error -2
[    2.617643]  remoteproc1: failed to load am437x-pru1_0-fw
[    2.623158] pru-rproc 54434000.pru0: booting the PRU core manually
[    2.629373]  remoteproc1: powering up 54434000.pru0
[    2.634378]  remoteproc1: Direct firmware load for am437x-pru1_0-fw failed with error -2
[    2.642546]  remoteproc1: request_firmware failed: -2
[    2.647627] pru-rproc 54434000.pru0: rproc_boot failed
[    2.652882]  remoteproc1: releasing 54434000.pru0
[    2.657712] pru-rproc: probe of 54434000.pru0 failed with error -2
[    2.664443]  remoteproc1: 54438000.pru1 is available
[    2.669439]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[    2.678518]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    2.689095]  remoteproc1: Direct firmware load for am437x-pru1_1-fw failed with error -2
[    2.697308]  remoteproc1: failed to load am437x-pru1_1-fw
[    2.702790] pru-rproc 54438000.pru1: booting the PRU core manually
[    2.709001]  remoteproc1: powering up 54438000.pru1
[    2.714046]  remoteproc1: Direct firmware load for am437x-pru1_1-fw failed with error -2
[    2.722219]  remoteproc1: request_firmware failed: -2
[    2.727298] pru-rproc 54438000.pru1: rproc_boot failed
[    2.732539]  remoteproc1: releasing 54438000.pru1
[    2.737354] pru-rproc: probe of 54438000.pru1 failed with error -2
[    2.743989]  remoteproc1: 54474000.pru0 is available
[    2.748985]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[    2.758050]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    2.768613]  remoteproc1: Direct firmware load for am437x-pru0_0-fw failed with error -2
[    2.776819]  remoteproc1: failed to load am437x-pru0_0-fw
[    2.782298] pru-rproc 54474000.pru0: booting the PRU core manually
[    2.788509]  remoteproc1: powering up 54474000.pru0
[    2.793504]  remoteproc1: Direct firmware load for am437x-pru0_0-fw failed with error -2
[    2.801669]  remoteproc1: request_firmware failed: -2
[    2.806749] pru-rproc 54474000.pru0: rproc_boot failed
[    2.811985]  remoteproc1: releasing 54474000.pru0
[    2.816779] pru-rproc: probe of 54474000.pru0 failed with error -2
[    2.823365]  remoteproc1: 54478000.pru1 is available
[    2.828359]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[    2.837420]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    2.847965]  remoteproc1: Direct firmware load for am437x-pru0_1-fw failed with error -2
[    2.856164]  remoteproc1: failed to load am437x-pru0_1-fw
[    2.861635] pru-rproc 54478000.pru1: booting the PRU core manually
[    2.867845]  remoteproc1: powering up 54478000.pru1
[    2.872840]  remoteproc1: Direct firmware load for am437x-pru0_1-fw failed with error -2
[    2.881003]  remoteproc1: request_firmware failed: -2
[    2.886081] pru-rproc 54478000.pru1: rproc_boot failed
[    2.891313]  remoteproc1: releasing 54478000.pru1
[    2.896109] pru-rproc: probe of 54478000.pru1 failed with error -2
[    2.907573] NET: Registered protocol family 10
[    2.913484] sit: IPv6 over IPv4 tunneling driver
[    2.919017] NET: Registered protocol family 17
[    2.924036] Key type dns_resolver registered
[    2.928346] NET: Registered protocol family 41
[    2.933268] omap_voltage_late_init: Voltage driver support not added
[    2.940909] PM: Cannot get wkup_m3_ipc handle
[    2.945390] ThumbEE CPU extension supported.
[    2.953063] omapdrm omapdrm.0: DMM not available, disable DMM support
[    2.961245] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.967902] [drm] No driver support for vblank timestamp query.
[    3.024120] Console: switching to colour frame buffer device 100x30
[    3.047187] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    3.080762] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    3.087519] GPIO line 168 (SelLCDorHDMI) hogged as output/high
[    3.124807] ov2659 0-0030: Sensor detection failed (3030, 0)
[    3.130790] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 200 kHz
[    3.152972] ov2659 1-0030: Sensor detection failed (3030, 0)
[    3.158732] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 200 kHz
[    3.166282]  remoteproc0: powering up wkup_m3
[    3.170976]  remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
[    3.179705]  remoteproc0: request_firmware failed: -2
[    3.184865] wkup_m3_ipc 44e11324.wkup_m3_ipc: rproc_boot failed
[    3.192863] PM: bootloader does not support rtc-only!
[    3.203514] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[    3.215708] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    3.237218] wlan-en-regulator: disabling
[    3.244058] ALSA device list:
[    3.249242]   No soundcards found.
[    3.259292] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    3.271831] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    4.323109] EXT4-fs (mmcblk0p2): recovery complete
[    4.334552] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.348261] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    4.361412] devtmpfs: mounted
[    4.367214] Freeing unused kernel memory: 284K (c09ad000 - c09f4000)
[    4.377898] This architecture does not have kernel memory protection.
[    4.603287] systemd[1]: System time before build time, advancing clock.
[    4.667338] random: systemd: uninitialized urandom read (16 bytes read, 22 bits of entropy available)
[    4.687604] random: systemd: uninitialized urandom read (16 bytes read, 22 bits of entropy available)
[    4.710570] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[    4.741955] systemd[1]: Detected architecture arm.

Welcome to Arago 2016.12!

[    4.772214] systemd[1]: Set hostname to <am437x-evm>.
[    4.870843] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[    4.928520] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
[    4.946841] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
[    4.971076] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
[    5.024853] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 27 bits of entropy available)
[    5.128821] random: systemd: uninitialized urandom read (16 bytes read, 30 bits of entropy available)
[    5.145235] random: systemd: uninitialized urandom read (16 bytes read, 30 bits of entropy available)
[    5.162583] random: systemd: uninitialized urandom read (16 bytes read, 30 bits of entropy available)
[    5.578031] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[    5.591309] systemd[1]: sysinit.target: Found dependency on uim-sysfs.service/start
[    5.604164] systemd[1]: sysinit.target: Found dependency on basic.target/start
[    5.616339] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[    5.628794] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job uim-sysfs.service/start
[    5.644646] systemd[1]: uim-sysfs.service: Job uim-sysfs.service/start deleted to break ordering cycle starting with sysinit.target/start
[ SKIP ] Ordering cycle found, skipping uim-sysfs.service
[    5.694942] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[    5.708040] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[    5.720940] systemd[1]: sysinit.target: Found dependency on basic.target/start
[    5.733044] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[    5.745494] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[    5.761256] 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
[    5.810688] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    5.845310] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.865112] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.895228] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.934560] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.954511] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.974655] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    5.995154] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    6.033821] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    6.054708] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    6.087893] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.116629] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    6.146708] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    6.175209] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    6.200802] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    6.239834] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[    6.320827] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    6.376451] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.413080] systemd[1]: Mounting Temporary Directory...
         Mounting Temporary Directory...
[    6.466216] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    6.501816] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    6.553133] 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...
[    6.661102] systemd[1]: Starting File System Check on Root Device...
         [    6.732042] systemd[1]: Listening on Network Service Netlink Socket.
Starting File System Check on Root Device...
[  OK  ] Listening on Network Service Netlink Socket.
[    6.766778] systemd[1]: Created slice system-getty.slice.

[  OK  ] Created slice system-getty.slice.
[    6.846398] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    6.952428] cmemk: disagrees about version of symbol module_layout
[    7.007396] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    7.031705] cryptodev: disagrees about version of symbol module_layout
[    7.049968] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    7.096057] systemd[1]: Mounted Temporary Directory.
[  OK  ] Mounted Temporary Directory.
[    7.128903] systemd[1]: Started Setup Virtual Console.
[  OK  ] Started Setup Virtual Console.
[    7.177649] systemd[1]: Started Create list of required static device nodes for the current kernel.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[    7.228298] systemd[1]: Started File System Check on Root Device.
[  OK  ] Started File System Check on Root Device.
[    7.258281] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[    7.276932] systemd[1]: Failed to start Load Kernel Modules.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[    7.334571] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[    7.347120] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[    7.362529] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Mounting FUSE Control File System...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Starting Remount Root and Kernel File Systems...
         Starting Create Static Device Nodes in /dev...
[    8.382356] sch_fq_codel: disagrees about version of symbol module_layout
[    8.446434] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
         Starting udev Coldplug all Devices...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[  OK  ] Started udev Kernel Device Manager.
[   11.098948] systemd-journald[150]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[   11.428340] ti_am335x_tscadc: disagrees about version of symbol module_layout
[   11.554160] virtio_ring: disagrees about version of symbol module_layout
[   11.575125] ti_am335x_tscadc: disagrees about version of symbol module_layout
[  OK  ] Started udev Coldplug all Devices.
[   11.676800] rtc_omap: disagrees about version of symbol module_layout
[   11.762396] omap_wdt: disagrees about version of symbol module_layout
[   11.799999] virtio_ring: disagrees about version of symbol module_layout
[   11.823126] ov2659: disagrees about version of symbol module_layout
[   11.851418] rtc_omap: disagrees about version of symbol module_layout
[   11.882723] ti_am335x_tscadc: disagrees about version of symbol module_layout
[   11.961043] omap_wdt: disagrees about version of symbol module_layout
[   11.984306] ov2659: disagrees about version of symbol module_layout
[   11.996821] virtio_ring: disagrees about version of symbol module_layout
[   12.023949] rtc_omap: disagrees about version of symbol module_layout
[   12.080088] ti_am335x_tscadc: disagrees about version of symbol module_layout
[  OK  ] Found device /dev/ttyS0.
[   12.151117] virtio_ring: disagrees about version of symbol module_layout
[   12.208894] rtc_omap: disagrees about version of symbol module_layout
[   12.336180] ti_am335x_tscadc: disagrees about version of symbol module_layout
[   12.383775] virtio_ring: disagrees about version of symbol module_layout
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[   12.611481] virtio_ring: disagrees about version of symbol module_layout
[   12.706740] ov2659: disagrees about version of symbol module_layout
[   12.740052] ti_am335x_tscadc: disagrees about version of symbol module_layout
[   12.945690] can_dev: disagrees about version of symbol module_layout
[   12.956772] can_dev: disagrees about version of symbol module_layout
[   13.048077] ov2659: disagrees about version of symbol module_layout
[   13.100414] rng_core: disagrees about version of symbol module_layout
[   13.111848] am437x_vpfe: disagrees about version of symbol module_layout
[   13.124901] am437x_vpfe: disagrees about version of symbol module_layout
[   13.137108] can_dev: disagrees about version of symbol module_layout
[  OK  ] Started Load/Save Random Seed.
[   13.153608] can_dev: disagrees about version of symbol module_layout
[   13.234129] am437x_vpfe: disagrees about version of symbol module_layout
[   13.331352] extcon: disagrees about version of symbol module_layout
[   13.342231] extcon: disagrees about version of symbol module_layout
[   13.359759] rng_core: disagrees about version of symbol module_layout
[   13.380732] can_dev: disagrees about version of symbol module_layout
[   13.433129] am437x_vpfe: disagrees about version of symbol module_layout
[  OK  ] Started Create Volatile Files and Directories.
[   13.482657] can_dev: disagrees about version of symbol module_layout
[   13.524376] extcon: disagrees about version of symbol module_layout
[   13.561460] extcon: disagrees about version of symbol module_layout
[   13.665458] can_dev: disagrees about version of symbol module_layout
[   13.677210] can_dev: disagrees about version of symbol module_layout
[   13.796544] extcon: disagrees about version of symbol module_layout
[   13.827350] extcon: disagrees about version of symbol module_layout
[   13.940526] extcon: disagrees about version of symbol module_layout
[   13.984337] extcon: disagrees about version of symbol module_layout
[   14.233841] usbcore: disagrees about version of symbol module_layout
[   14.245159] omap_sham: disagrees about version of symbol module_layout
[   14.259782] usbcore: disagrees about version of symbol module_layout
[   14.271490] omap_des: disagrees about version of symbol module_layout
[   14.284125] omap_aes_driver: disagrees about version of symbol module_layout
[   14.318954] am437x_pruss_wrapper: disagrees about version of symbol module_layout
[   14.364732] pvrsrvkm: disagrees about version of symbol module_layout
[   14.413631] omap_sham: disagrees about version of symbol module_layout
[   14.454308] omap_aes_driver: disagrees about version of symbol module_layout
[   14.475275] virtio_ring: disagrees about version of symbol module_layout
[   14.557130] usbcore: disagrees about version of symbol module_layout
[   14.574203] omap_des: disagrees about version of symbol module_layout
[   14.588767] usbcore: disagrees about version of symbol module_layout
[   14.635002] virtio_ring: disagrees about version of symbol module_layout
[   14.649215] pvrsrvkm: disagrees about version of symbol module_layout
[   14.902307] am437x_pruss_wrapper: disagrees about version of symbol module_layout
[   15.048717] virtio_ring: disagrees about version of symbol module_layout
[   15.245589] virtio_ring: disagrees about version of symbol module_layout
[   15.413111] virtio_ring: disagrees about version of symbol module_layout
[   15.461509] usbcore: disagrees about version of symbol module_layout
[   15.491996] usbcore: disagrees about version of symbol module_layout
         Starting Network Time Synchronization...
[   15.599409] virtio_ring: disagrees about version of symbol module_layout
[   15.692228] virtio_ring: disagrees about version of symbol module_layout
         Starting Update UTMP about System Boot/Shutdown...
[   15.737205] usbcore: disagrees about version of symbol module_layout
[   15.751239] usbcore: disagrees about version of symbol module_layout
[   15.857543] virtio_ring: disagrees about version of symbol module_layout
[   16.014294] virtio_ring: disagrees about version of symbol module_layout
[   16.098591] usbcore: disagrees about version of symbol module_layout
[   16.112892] usbcore: disagrees about version of symbol module_layout
[   16.148239] virtio_ring: disagrees about version of symbol module_layout
[   16.229855] virtio_ring: disagrees about version of symbol module_layout
[   16.268207] usbcore: disagrees about version of symbol module_layout
[   16.281101] usbcore: disagrees about version of symbol module_layout
[   16.362930] virtio_ring: disagrees about version of symbol module_layout
[   16.440288] virtio_ring: disagrees about version of symbol module_layout
[   16.472045] virtio_ring: disagrees about version of symbol module_layout
[  OK  ] Started Network Time Synchronization.
[   16.555529] virtio_ring: disagrees about version of symbol module_layout
[   16.604703] virtio_ring: disagrees about version of symbol module_layout
[   16.648485] virtio_ring: disagrees about version of symbol module_layout
[   16.662018] pruss_intc: disagrees about version of symbol module_layout
[   16.673951] virtio_ring: disagrees about version of symbol module_layout
[   16.784484] virtio_ring: disagrees about version of symbol module_layout
[   16.791179] virtio_ring: disagrees about version of symbol module_layout
[   16.833498] virtio_ring: disagrees about version of symbol module_layout
[   16.848479] pruss_intc: disagrees about version of symbol module_layout
[   17.011373] virtio_ring: disagrees about version of symbol module_layout
[   17.032628] virtio_ring: disagrees about version of symbol module_layout
[   17.047567] virtio_ring: disagrees about version of symbol module_layout
[   17.146327] virtio_ring: disagrees about version of symbol module_layout
[   17.222613] virtio_ring: disagrees about version of symbol module_layout
[   17.342195] pruss_intc: disagrees about version of symbol module_layout
[   17.469363] pruss_intc: disagrees about version of symbol module_layout
[   17.510354] virtio_ring: disagrees about version of symbol module_layout
[   17.619313] virtio_ring: disagrees about version of symbol module_layout
[   17.785019] ti_emif_sram: disagrees about version of symbol module_layout
[   17.954505] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   17.982546] ti_emif_sram: disagrees about version of symbol module_layout
[   18.073442] FAT-fs (mmcblk0p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight...htness of backlight:backlight...
         Starting Synchronize System and HW clocks...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[  OK  ] Started Synchronize System and HW clocks.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on dropbear.socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting rc.pvr.service...
         Starting Login Service...
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
[  OK  ] Started System Logging Service.
         Starting Telephony service...
[   22.065419] pvrsrvkm: disagrees about version of symbol module_layout
         Starting Print notice about GPLv3 packages...
         Starting Permit User Sessions...
[  OK  ] Started D-Bus System Message Bus.
[   22.913379] xfrm_algo: disagrees about version of symbol module_layout
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Telephony service.
         Starting Network Service...
[   23.306790] bluetooth: disagrees about version of symbol module_layout
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Network Service.
[   24.057788] random: nonblocking pool is initialized
[   24.092950] net eth0: initializing cpsw version 1.15 (0)
[   24.171043] net eth0: initialized cpsw ale version 1.4
[   24.241467] net eth0: ALE Table size 1024
[   24.394624] net eth0: phy found : id is : 0x221622
[   24.504605] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   24.549939] xfrm_algo: disagrees about version of symbol module_layout
[   27.148568] pvrsrvkm: disagrees about version of symbol module_layout
[  OK  ] Started rc.pvr.service.
         Starting weston.service...
[  OK  ] Reached target Network.
         Starting Lightning Fast Webserver With Light System Requirements...
         Starting Network Name Resolution...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started weston.service.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Login Service.
         Starting telnetd.service...
[  OK  ] Started telnetd.service.
         Starting thttpd.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.
***************************************************************
***************************************************************
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.
[  OK  ] Started parse-ip.service.


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

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

Arago 2016.12 am437x-evm ttyS0

am437x-evm login: root

78root@am437x-evm:~# lsmod
Module                  Size  Used by
root@am437x-evm:~# insmod /lib/modules/4.4.41-gf9f6f0db2d// updates/co 
mpat/compat.ko 
[  121.584044] Loading modules backported from Linux version R8.7_SP2-0-g5c94cc5
[  121.609866] Backport generated by backports.git R8.7_SP2-0-gd4777ef
root@am437x-evm:~# insmod /lib/modules/4.4.41-gf9f6f0db2d/updates/ne 
t/wireless/cfg80211.ko 
[  201.522072] cfg80211: disagrees about version of symbol __sock_create
[  201.533121] cfg80211: Unknown symbol __sock_create (err -22)
[  201.542638] cfg80211: disagrees about version of symbol skb_copy_bits
[  201.557810] cfg80211: Unknown symbol skb_copy_bits (err -22)
[  201.574009] cfg80211: disagrees about version of symbol skb_put
[  201.583952] cfg80211: Unknown symbol skb_put (err -22)
[  201.597407] cfg80211: disagrees about version of symbol dev_set_name
[  201.610891] cfg80211: Unknown symbol dev_set_name (err -22)
[  201.623346] cfg80211: disagrees about version of symbol consume_skb
[  201.633868] cfg80211: Unknown symbol consume_skb (err -22)
[  201.648053] cfg80211: disagrees about version of symbol device_initialize
[  201.662639] cfg80211: Unknown symbol device_initialize (err -22)
[  201.672762] cfg80211: disagrees about version of symbol genlmsg_put
[  201.687930] cfg80211: Unknown symbol genlmsg_put (err -22)
[  201.700068] cfg80211: disagrees about version of symbol genlmsg_multicast_allns
[  201.715080] cfg80211: Unknown symbol genlmsg_multicast_allns (err -22)
[  201.728880] cfg80211: disagrees about version of symbol netdev_err
[  201.742330] cfg80211: Unknown symbol netdev_err (err -22)
[  201.751449] cfg80211: disagrees about version of symbol device_rename
[  201.766773] cfg80211: Unknown symbol device_rename (err -22)
[  201.779095] cfg80211: disagrees about version of symbol pskb_expand_head
[  201.793243] cfg80211: Unknown symbol pskb_expand_head (err -22)
[  201.803239] cfg80211: disagrees about version of symbol kfree_skb
[  201.818272] cfg80211: Unknown symbol kfree_skb (err -22)
[  201.830035] cfg80211: disagrees about version of symbol put_device
[  201.843410] cfg80211: Unknown symbol put_device (err -22)
[  201.852512] cfg80211: disagrees about version of symbol netlink_broadcast
[  201.868554] cfg80211: Unknown symbol netlink_broadcast (err -22)
[  201.881446] cfg80211: disagrees about version of symbol net_ns_type_operations
[  201.896434] cfg80211: Unknown symbol net_ns_type_operations (err -22)
[  201.909971] cfg80211: disagrees about version of symbol __alloc_skb
[  201.923264] cfg80211: Unknown symbol __alloc_skb (err -22)
[  201.932572] cfg80211: disagrees about version of symbol inet_csk_get_port
[  201.948628] cfg80211: Unknown symbol inet_csk_get_port (err -22)
[  201.961530] cfg80211: disagrees about version of symbol kobject_uevent_env
[  201.975810] cfg80211: Unknown symbol kobject_uevent_env (err -22)
[  201.988896] cfg80211: disagrees about version of symbol __dev_get_by_index
[  202.003202] cfg80211: Unknown symbol __dev_get_by_index (err -22)
[  202.013483] cfg80211: disagrees about version of symbol init_net
[  202.028181] cfg80211: Unknown symbol init_net (err -22)
[  202.039826] cfg80211: disagrees about version of symbol skb_pull
[  202.053018] cfg80211: Unknown symbol skb_pull (err -22)
[  202.061876] cfg80211: disagrees about version of symbol device_add
[  202.077107] cfg80211: Unknown symbol device_add (err -22)
[  202.089145] cfg80211: disagrees about version of symbol netlink_unicast
[  202.103173] cfg80211: Unknown symbol netlink_unicast (err -22)
[  202.112998] cfg80211: disagrees about version of symbol dev_get_by_index
[  202.128803] cfg80211: Unknown symbol dev_get_by_index (err -22)
[  202.141581] cfg80211: disagrees about version of symbol dev_close
[  202.154570] cfg80211: Unknown symbol dev_close (err -22)
[  202.163553] cfg80211: disagrees about version of symbol skb_push
[  202.178205] cfg80211: Unknown symbol skb_push (err -22)
[  202.189998] cfg80211: disagrees about version of symbol unregister_pernet_device
[  202.205211] cfg80211: Unknown symbol unregister_pernet_device (err -22)
[  202.219233] cfg80211: disagrees about version of symbol device_del
[  202.232712] cfg80211: Unknown symbol device_del (err -22)
[  202.241884] cfg80211: disagrees about version of symbol __pskb_pull_tail
[  202.257883] cfg80211: Unknown symbol __pskb_pull_tail (err -22)
[  202.270699] cfg80211: disagrees about version of symbol __netdev_alloc_skb
[  202.285060] cfg80211: Unknown symbol __netdev_alloc_skb (err -22)
[  202.295320] cfg80211: disagrees about version of symbol skb_trim
[  202.310030] cfg80211: Unknown symbol skb_trim (err -22)
[  202.321838] cfg80211: disagrees about version of symbol __put_net
[  202.332066] cfg80211: Unknown symbol __put_net (err -22)
[  202.345778] cfg80211: disagrees about version of symbol get_net_ns_by_pid
[  202.360014] cfg80211: Unknown symbol get_net_ns_by_pid (err -22)
[  202.373090] cfg80211: disagrees about version of symbol __genl_register_family
[  202.385207] cfg80211: Unknown symbol __genl_register_family (err -22)
[  202.400783] cfg80211: disagrees about version of symbol sock_release
[  202.414226] cfg80211: Unknown symbol sock_release (err -22)
[  202.423610] cfg80211: disagrees about version of symbol dev_change_net_namespace
[  202.440715] cfg80211: Unknown symbol dev_change_net_namespace (err -22)
[  202.454706] cfg80211: disagrees about version of symbol genl_unregister_family
[  202.469657] cfg80211: Unknown symbol genl_unregister_family (err -22)
[  202.485134] cfg80211: disagrees about version of symbol register_pernet_device
[  202.500221] cfg80211: Unknown symbol register_pernet_device (err -22)
[  202.513784] cfg80211: disagrees about version of symbol get_net_ns_by_fd
[  202.525025] cfg80211: Unknown symbol get_net_ns_by_fd (err -22)
insmod: ERROR: could not insert module /lib/modules/4.4.41-gf9f6f0db2d/updates/net/wireless/cfg80211.ko: Invalid parameters
root@am437x-evm:~# 
3034.ti4_4_myir_ricoboard_defconfig.txt
am437x-myir-ricoboard_wl8_dts.txt
/*
 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
 * Copyright (C) 2015 Pavel Pisa PiKRON.com - http://www.pikron.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.
 */

/* AM437x Myir Rico Board */

/dts-v1/;

#include "am4372.dtsi"
#include <dt-bindings/pinctrl/am43xx.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/gpio/gpio.h>

/ {
	model = "MYIR Rico Board";
	compatible = "myir,ricoboard","ti,am4372","ti,am43";

	aliases {
		display0 = &lcd0;
		serial3 = &uart3;
		serial5 = &uart5;
		spi1    = &spi0;
		spi5    = &qspi;
	};

	evm_v3_3d: fixedregulator-v3_3d {
		compatible = "regulator-fixed";
		regulator-name = "evm_v3_3d";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		enable-active-high;
	};

	vtt_fixed: fixedregulator-vtt {
		compatible = "regulator-fixed";
		regulator-name = "vtt_fixed";
		regulator-min-microvolt = <1500000>;
		regulator-max-microvolt = <1500000>;
		regulator-always-on;
		regulator-boot-on;
		enable-active-high;
		gpio = <&gpio5 7 GPIO_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 - Bank3, pin2 */
		gpio = <&gpio3 2 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};

	lcd_bl: backlight {
		compatible = "pwm-backlight";
		pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
		brightness-levels = <0 51 53 56 62 75 101 152 255>;
		default-brightness-level = <8>;
	};

	/* Gpio keys, MYiR */
	gpio_keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		pinctrl-names = "default";
		pinctrl-0 = <&keys_pins_default>;

		user_key1 {
			label = "user_key1";
			gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>;
			linux,code = <102>;
			gpio-key,wakeup;
		};

		user_key2 {
			label = "user_key2";
			gpios = <&gpio5 13 GPIO_ACTIVE_HIGH>;
			linux,code = <158>;
			gpio-key,wakeup;
		};
	};

	/* Gpio leds, MYiR */
	gpio_leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&leds_pins_default>;

		status_led0 {
			label = "status_led0";
			gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
		};

		status_led1 {
			label = "status_led1";
			gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};

		status_led2 {
			label = "status_led2";
			gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};

		status_led3 {
			label = "status_led3";
			gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};
	};

	lcd0: display {
		compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
		label = "lcd";

		backlight = <&lcd_bl>;

		panel-timing {
			clock-frequency = <33000000>;
			hactive = <800>;
			vactive = <480>;
			hfront-porch = <210>;
			hback-porch = <16>;
			hsync-len = <30>;
			vback-porch = <10>;
			vfront-porch = <22>;
			vsync-len = <13>;
			hsync-active = <0>;
			vsync-active = <0>;
			de-active = <1>;
			pixelclk-active = <1>;
		};

		port {
			lcd_in: endpoint {
				remote-endpoint = <&dpi_out>;
			};
		};
	};

	/* fixed 24MHz oscillator */
	refclk: oscillator {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <24000000>;
	};

	/* fixed 32k external oscillator clock */
	clk_32k_rtc: clk_32k_rtc {
		#clock-cells = <0>;
		compatible = "fixed-clock";
		clock-frequency = <32768>;
	};

	sound0: sound@0 {
		status = "disabled";
		compatible = "simple-audio-card";
		simple-audio-card,name = "AM437x-GP-EVM";
		simple-audio-card,widgets =
			"Headphone", "Headphone Jack",
			"Line", "Line In";
		simple-audio-card,routing =
			"Headphone Jack",	"HPLOUT",
			"Headphone Jack",	"HPROUT",
			"LINE1L",		"Line In",
			"LINE1R",		"Line In";
		simple-audio-card,format = "dsp_b";
		/* simple-audio-card,bitclock-master = <&sound0_master>; */
		/* simple-audio-card,frame-master = <&sound0_master>; */
		simple-audio-card,bitclock-inversion;

		simple-audio-card,cpu {
			sound-dai = <&mcasp1>;
			system-clock-frequency = <12000000>;
		};

		/* Not directly available on RICO board
		 * sound0_master: simple-audio-card,codec {
		 *	sound-dai = <&tlv320aic3106>;
		 *	system-clock-frequency = <12000000>;
		 *};
		 */
	};

	audio_mstrclk: mclk_osc {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <12000000>;
	};

};

&am43xx_pinmux {
	pinctrl-names = "default";
	pinctrl-0 = <&ddr3_vtt_toggle_default &unused_pins &debugss_pins>;

	ddr3_vtt_toggle_default: ddr_vtt_toggle_default {
		pinctrl-single,pins = <
			0x25C (DS0_PULL_UP_DOWN_EN | PIN_OUTPUT_PULLUP | DS0_FORCE_OFF_MODE | MUX_MODE7) /* spi0_cs0.gpio5_7 */
		>;
	};

	i2c0_pins: i2c0_pins {
		pinctrl-single,pins = <
			0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_sda.i2c0_sda */
			0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_scl.i2c0_scl */
		>;
	};

	i2c1_pins_default: i2c1_pins_default {
		pinctrl-single,pins = <
			0x240 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE1)  /* gpio5_10.i2c1_scl */
			0x248 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE1)  /* gpio5_12.i2c1_sda */
		>;
	};

	i2c1_pins_sleep: i2c1_pins_sleep {
		pinctrl-single,pins = <
			0x240 (PIN_INPUT_PULLUP | MUX_MODE7)
			0x248 (PIN_INPUT_PULLUP | MUX_MODE7)
		>;
	};

	mmc1_pins_default: mmc1_pins_default {
		pinctrl-single,pins = <
			0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */
			0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */
			0x0f0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */
			0x0f4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */
			0x0f8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */
			0x0fc (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */
			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
		>;
	};

	mmc1_pins_sleep: mmc1_pins_sleep {
		pinctrl-single,pins = <
			0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7)       /* mmc0_clk.mmc0_clk */
			0x104 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* mmc0_cmd.mmc0_cmd */
			0x0f0 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* mmc0_dat0.mmc0_dat0 */
			0x0f4 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* mmc0_dat1.mmc0_dat1 */
			0x0f8 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* mmc0_dat2.mmc0_dat2 */
			0x0fc (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* mmc0_dat3.mmc0_dat3 */
			0x160 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* mmc0_sdcd.mmc0_sdcd */
		>;
	};

	/* wl12xx/wl18xx card enable/irq GPIOs. */
	wlan_pins_default: pinmux_wlan_pins_default {
		pinctrl-single,pins = <
			0x110 ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) /* WL_EN (B13) mii1_rx_er.gpio3[2] */
			0x10c ( PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7 ) 	 /* WL_IRQ (B14) mii1_crs.gpio3[1] */
			0x23c ( PIN_OUTPUT_PULLDOWN | MUX_MODE7 ) /*BT_EN (F24) gpio5_9.gpio5[9] */
		>;
	};

	wlan_pins_sleep: pinmux_wlan_pins_sleep {
		pinctrl-single,pins = <
			0x110 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* WL_EN (B13) mii1_rx_er.gpio3[2] */
			0x10C (PIN_INPUT | MUX_MODE7)		/* WL_IRQ (B14) mii1_crs.gpio3[1] */
			0x23C (PIN_OUTPUT_PULLUP | MUX_MODE7)	/*BT_EN (F24) gpio5_9.gpio5[9] */
		>;
	};

	ecap0_pins_default: backlight_pins_default {
		pinctrl-single,pins = <
			0x164 MUX_MODE0       /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
		>;
	};

	ecap0_pins_sleep: backlight_pins_sleep {
		pinctrl-single,pins = <
			0x164 (PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	cpsw_default: cpsw_default {
		pinctrl-single,pins = <
			/* Slave 1 */
			0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_txen */
			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rxctl */
			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_txd3 */
			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_txd2 */
			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_txd1 */
			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_txd0 */
			0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rmii1_tclk */
			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rmii1_rclk */
			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rxd3 */
			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rxd2 */
			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rxd1 */
			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rxd0 */
		>;
	};

	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 | PULL_DISABLE | MUX_MODE7)
			0x138 (PIN_INPUT | PULL_DISABLE | MUX_MODE7)
			0x13c (PIN_INPUT | PULL_DISABLE | MUX_MODE7)
			0x140 (PIN_INPUT | PULL_DISABLE | 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 | PULL_DISABLE | MUX_MODE7)
			0x14c (PIN_INPUT | PULL_DISABLE | MUX_MODE7)
		>;
	};

	nand_flash_x8_default: nand_flash_x8_default {
		pinctrl-single,pins = <
			0x0  (PIN_INPUT  | MUX_MODE0)	/* gpmc_ad0.gpmc_ad0 */
			0x4  (PIN_INPUT  | MUX_MODE0)	/* gpmc_ad1.gpmc_ad1 */
			0x8  (PIN_INPUT  | MUX_MODE0)	/* gpmc_ad2.gpmc_ad2 */
			0xc  (PIN_INPUT  | MUX_MODE0)	/* gpmc_ad3.gpmc_ad3 */
			0x10 (PIN_INPUT  | MUX_MODE0)	/* gpmc_ad4.gpmc_ad4 */
			0x14 (PIN_INPUT  | MUX_MODE0)	/* gpmc_ad5.gpmc_ad5 */
			0x18 (PIN_INPUT  | MUX_MODE0)	/* gpmc_ad6.gpmc_ad6 */
			0x1c (PIN_INPUT  | MUX_MODE0)	/* gpmc_ad7.gpmc_ad7 */
			0x70 (PIN_INPUT_PULLUP | MUX_MODE0)	/* gpmc_wait0.gpmc_wait0 */
			0x74 (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* gpmc_wpn.gpmc_wpn */
			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 */
		>;
	};

	nand_flash_x8_sleep: nand_flash_x8_sleep {
		pinctrl-single,pins = <
			0x0  (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad0.gpmc_ad0 */
			0x4  (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad1.gpmc_ad1 */
			0x8  (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad2.gpmc_ad2 */
			0xc  (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad3.gpmc_ad3 */
			0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad4.gpmc_ad4 */
			0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad5.gpmc_ad5 */
			0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad6.gpmc_ad6 */
			0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_ad7.gpmc_ad7 */
			0x70 (PIN_INPUT | PULL_DISABLE | MUX_MODE7)	/* gpmc_wait0.gpmc_wait0 */
			0x74 (PIN_INPUT_PULLDOWN | MUX_MODE7)	/* gpmc_wpn.gpmc_wpn */
			0x7c (PIN_INPUT | PULL_DISABLE | MUX_MODE7)		/* gpmc_csn0.gpmc_csn0  */
			0x90 (PIN_INPUT | PULL_DISABLE | MUX_MODE7)		/* gpmc_advn_ale.gpmc_advn_ale */
			0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7)		/* gpmc_oen_ren.gpmc_oen_ren */
			0x98 (PIN_INPUT_PULLDOWN |  MUX_MODE7)		/* gpmc_wen.gpmc_wen */
			0x9c (PIN_INPUT | PULL_DISABLE | MUX_MODE7)		/* gpmc_be0n_cle.gpmc_be0n_cle */
		>;
	};

	dss_pins_default: dss_pins_default {
		pinctrl-single,pins = <
			0x020 (PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 8 -> DSS DATA 23 */
			0x024 (PIN_OUTPUT_PULLUP | MUX_MODE1)
			0x028 (PIN_OUTPUT_PULLUP | MUX_MODE1)
			0x02c (PIN_OUTPUT_PULLUP | MUX_MODE1)
			0x030 (PIN_OUTPUT_PULLUP | MUX_MODE1)
			0x034 (PIN_OUTPUT_PULLUP | MUX_MODE1)
			0x038 (PIN_OUTPUT_PULLUP | MUX_MODE1)
			0x03c (PIN_OUTPUT_PULLUP | MUX_MODE1) /*gpmc ad 15 -> DSS DATA 16 */
			0x0a0 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 0 */
			0x0a4 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0a8 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0ac (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0b0 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0b4 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0b8 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0bc (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0c0 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0c4 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0c8 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0cc (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0d0 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0d4 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0d8 (PIN_OUTPUT_PULLUP | MUX_MODE0)
			0x0dc (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS DATA 15 */
			0x0e0 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS VSYNC */
			0x0e4 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS HSYNC */
			0x0e8 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS PCLK */
			0x0ec (PIN_OUTPUT_PULLUP | MUX_MODE0) /* DSS AC BIAS EN */

		>;
	};

	dss_pins_sleep: dss_pins_sleep {
		pinctrl-single,pins = <
			0x020 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x024 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x028 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x02c (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x030 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x034 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x038 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x03c (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0a0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0a4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0a8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0ac (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0b0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0b4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0b8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0bC (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0c0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0c4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0c8 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0cc (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0d0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0d4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0d8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | PULL_DISABLE | MUX_MODE7)
			0x0dc (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0e0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0e4 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0e8 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x0ec (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	display_mux_pins: display_mux_pins {
		pinctrl-single,pins = <
			/* GPIO 5_8 to select LCD / HDMI */
			0x238 (PIN_OUTPUT_PULLUP | MUX_MODE7)
		>;
	};

	dcan0_default: dcan0_default_pins {
		pinctrl-single,pins = <
			0x178 (PIN_OUTPUT | MUX_MODE2)		/* uart1_ctsn.d_can0_tx */
			0x17c (PIN_INPUT_PULLUP | MUX_MODE2)	/* uart1_rtsn.d_can0_rx */
		>;
	};

	dcan0_sleep: dcan0_sleep_pins {
		pinctrl-single,pins = <
			0x178 (PIN_INPUT_PULLUP | MUX_MODE7)	/* uart1_ctsn.gpio0_12 */
			0x17c (PIN_INPUT_PULLUP | MUX_MODE7)	/* uart1_rtsn.gpio0_13 */
		>;
	};

	dcan1_default: dcan1_default_pins {
		pinctrl-single,pins = <
			0x180 (PIN_OUTPUT | MUX_MODE2)		/* uart1_rxd.d_can1_tx */
			0x184 (PIN_INPUT_PULLUP | MUX_MODE2)	/* uart1_txd.d_can1_rx */
		>;
	};

	dcan1_sleep: dcan1_sleep_pins {
		pinctrl-single,pins = <
			0x180 (PIN_INPUT_PULLUP | MUX_MODE7)	/* uart1_rxd.gpio0_14 */
			0x184 (PIN_INPUT_PULLUP | MUX_MODE7)	/* uart1_txd.gpio0_15 */
		>;
	};

	vpfe0_pins_default: vpfe0_pins_default {
		pinctrl-single,pins = <
			/*0x270 (PIN_OUTPUT_PULLUP | MUX_MODE3) */  /* xdma_event_intr0.clkout1 mode 3*/
			0x1B0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_hd mode 0*/
			0x1B4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_vd mode 0*/
			0x1B8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_field mode 0*/
			0x1BC (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_wen mode 0*/
			0x1C0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_pclk mode 0*/
			0x1C4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data8 mode 0*/
			0x1C8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data9 mode 0*/
			0x208 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data0 mode 0*/
			0x20C (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data1 mode 0*/
			0x210 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data2 mode 0*/
			0x214 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data3 mode 0*/
			0x218 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data4 mode 0*/
			0x21C (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data5 mode 0*/
			0x220 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data6 mode 0*/
			0x224 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data7 mode 0*/
		>;
	};

	vpfe0_pins_sleep: vpfe0_pins_sleep {
		pinctrl-single,pins = <
			0x1B0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_hd mode 0*/
			0x1B4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_vd mode 0*/
			0x1B8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_field mode 0*/
			0x1BC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_wen mode 0*/
			0x1C0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_pclk mode 0*/
			0x1C4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data8 mode 0*/
			0x1C8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data9 mode 0*/
			0x208 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data0 mode 0*/
			0x20C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data1 mode 0*/
			0x210 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data2 mode 0*/
			0x214 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data3 mode 0*/
			0x218 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data4 mode 0*/
			0x21C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data5 mode 0*/
			0x220 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data6 mode 0*/
			0x224 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam0_data7 mode 0*/
		>;
	};

	vpfe1_pins_default: vpfe1_pins_default {
		pinctrl-single,pins = <
			/* 0x270 (PIN_OUTPUT_PULLUP | MUX_MODE3) */ /* xdma_event_intr0.clkout1 mode 3*/
			0x1CC (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data9 mode 0*/
			0x1D0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data8 mode 0*/
			0x1D4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_hd mode 0*/
			0x1D8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_vd mode 0*/
			0x1DC (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_pclk mode 0*/
			0x1E0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_field mode 0*/
			0x1E4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_wen mode 0*/
			0x1E8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data0 mode 0*/
			0x1EC (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data1 mode 0*/
			0x1F0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data2 mode 0*/
			0x1F4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data3 mode 0*/
			0x1F8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data4 mode 0*/
			0x1FC (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data5 mode 0*/
			0x200 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data6 mode 0*/
			0x204 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam1_data7 mode 0*/
		>;
	};

	vpfe1_pins_sleep: vpfe1_pins_sleep {
		pinctrl-single,pins = <
			0x1CC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data9 mode 0*/
			0x1D0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data8 mode 0*/
			0x1D4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_hd mode 0*/
			0x1D8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_vd mode 0*/
			0x1DC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_pclk mode 0*/
			0x1E0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_field mode 0*/
			0x1E4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_wen mode 0*/
			0x1E8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data0 mode 0*/
			0x1EC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data1 mode 0*/
			0x1F0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data2 mode 0*/
			0x1F4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data3 mode 0*/
			0x1F8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data4 mode 0*/
			0x1FC (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data5 mode 0*/
			0x200 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data6 mode 0*/
			0x204 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)  /* cam1_data7 mode 0*/
		>;
	};

	uart3_pins_default: uart3_pins_default {
		pinctrl-single,pins = <
			0x228 (PIN_INPUT | MUX_MODE0)		/* uart3_rxd.uart3_rxd */
			0x22c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_txd.uart3_txd */
			/* 0x230 (PIN_INPUT_PULLUP | MUX_MODE0) */	/* uart3_ctsn.uart3_ctsn */
			/* 0x234 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) */ /* uart3_rtsn.uart3_rtsn */
		>;
	};

	uart3_pins_sleep: uart3_pins_sleep {
		pinctrl-single,pins = <
			0x228 (PIN_INPUT | MUX_MODE0)		/* uart3_rxd.uart3_rxd */
			0x22c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart3_txd.uart3_txd */
			/* 0x230 (PIN_INPUT_PULLUP | MUX_MODE0) */	/* uart3_ctsn.uart3_ctsn */
			/* 0x234 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) */ /* uart3_rtsn.uart3_rtsn */
		>;
	};

	spi0_pins_default: spi0_pins_default {
		pinctrl-single,pins = <
			0x150 (PIN_OUTPUT | MUX_MODE0 | INPUT_EN) /* spi0_clk */
			0x154 (PIN_OUTPUT | MUX_MODE0)          /* spi0_d0/mosi */
			0x158 (PIN_INPUT_PULLUP | MUX_MODE0)    /* spi0_d1/miso */
			0x15C (PIN_OUTPUT | MUX_MODE0)          /* spi0_cs0 */
		>;
	};

	spi0_pins_sleep: spi0_pins_sleep {
		pinctrl-single,pins = <
			0x150 (PIN_INPUT_PULLUP | MUX_MODE7)    /* spi0_clk */
			0x154 (PIN_INPUT_PULLUP | MUX_MODE7)    /* spi0_d0/mosi */
			0x158 (PIN_INPUT_PULLUP | MUX_MODE7)    /* spi0_d1/miso */
			0x15C (PIN_INPUT_PULLUP | MUX_MODE7)    /* spi0_cs0 */
		>;
	};

	/* Qspi, MYiR */
	qspi_pins_default: qspi_pins_default {
		pinctrl-single,pins = <
			0x7c (PIN_OUTPUT_PULLUP | MUX_MODE3)	/* gpmc_csn0.qspi_csn */
			0x88 (PIN_OUTPUT | MUX_MODE2)		/* gpmc_csn3.qspi_clk */
			0x90 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_advn_ale.qspi_d0 */
			0x94 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_oen_ren.qspi_d1 */
			0x98 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_wen.qspi_d2 */
			0x9c (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_be0n_cle.qspi_d3 */
		>;
	};

	qspi_pins_sleep: qspi_pins_sleep{
		pinctrl-single,pins = <
			0x7c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x88 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x90 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x94 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x98 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x9c (PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	/* eeprom, MYiR */
	eeprom_wp_pin: eeprom_wp_pin {
		pinctrl-single,pins = <
			0x2a4 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* emu0.gpio3_7 */
		>;
	};


	mcasp1_pins: mcasp1_pins {
		pinctrl-single,pins = <
			0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4)	/* mii1_col.mcasp1_axr2 */
			0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4)	/* mii1_crs.mcasp1_aclkx */
			0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4)	/* mii1_rxerr.mcasp1_fsx */
			0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4)	/* rmii1_ref_clk.mcasp1_axr3 */
		>;
	};

	mcasp1_sleep_pins: mcasp1_sleep_pins {
		pinctrl-single,pins = <
			0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	emmc_pins_default: emmc_pins_default {
		pinctrl-single,pins = <
			0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
			0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
			0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
			0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
			0x10 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */
			0x14 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */
			0x18 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */
			0x1c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */
			0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
			0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
		>;
	};

	emmc_pins_sleep: emmc_pins_sleep {
		pinctrl-single,pins = <
			0x00 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad0.gpio1_0 */
			0x04 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad1.gpio1_1 */
			0x08 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad2.gpio1_2 */
			0x0c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad3.gpio1_3 */
			0x10 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad4.gpio1_4 */
			0x14 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad5.gpio1_5 */
			0x18 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad6.gpio1_6 */
			0x1c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad7.gpio1_7 */
			0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.gpio1_30 */
			0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.gpio1_31 */
		>;
	};

	uart0_pins_default: uart0_pins_default {
		pinctrl-single,pins = <
			/* 0x168 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0) */ /* uart0_ctsn.unused */
			/* 0x16C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0) */ /* uart0_rtsn.unused */
			0x170 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_rxd.uart0_rxd */
			0x174 (PIN_INPUT | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_txd.uart0_txd */
		>;
	};

	uart0_pins_sleep: uart0_pins_sleep {
		pinctrl-single,pins = <
			/* 0x168 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) */ /* uart0_ctsn.unused */
			/* 0x16C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7) */ /* uart0_rtsn.unused */
			0x170 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_rxd.uart0_rxd */
			0x174 (PIN_INPUT_PULLDOWN | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart0_txd.uart0_txd */
		>;
	};

	keys_pins_default: keys_pins_default {
		pinctrl-single,pins = <
			0x244 (PIN_OUTPUT | MUX_MODE7)  /* gpio5_11.gpio5_11 */
			0x24c (PIN_OUTPUT | MUX_MODE7)  /* gpio5_13.gpio5_13 */
		>;
	};

	leds_pins_default: leds_pins_default {
		pinctrl-single,pins = <
			0x60 (PIN_OUTPUT | MUX_MODE7)	/* gpmc_a8.gpio1_24 */
			0x64 (PIN_OUTPUT | MUX_MODE7)	/* gpmc_a9.gpio1_25 */
			0x68 (PIN_OUTPUT | MUX_MODE7)	/* gpmc_a10.gpio1_26 */
			0x6c (PIN_OUTPUT | MUX_MODE7)	/* gpmc_a11.gpio1_27 */
		>;
	};

	usb1_pins_default: usb1_pins_default {
		pinctrl-single,pins = <
			0x2c0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE0)
		>;
	};

	usb1_pins_sleep: usb1_pins_sleep {
		pinctrl-single,pins = <
			0x2c0 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	usb2_pins_default: usb2_pins_default {
		pinctrl-single,pins = <
			0x2c4 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE0)
		>;
	};

	usb2_pins_sleep: usb2_pins_sleep {
		pinctrl-single,pins = <
			0x2c4 (DS0_PULL_UP_DOWN_EN | PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

	unused_pins: unused_pins {
		pinctrl-single,pins = <
		/*	0x2C8	(PIN_INPUT_PULLDOWN) */
		/*	0x2D4	(PIN_INPUT_PULLDOWN) */
		/*	0x2D8	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2DC	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2E0	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2E4	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2E8	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2EC	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2F0	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2F4	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2F8	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x2FC	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x300	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x304	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x308	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x30C	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x310	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x314	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x318	(PIN_INPUT_PULLDOWN | MUX_MODE7) */
		/*	0x150	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* spi0_sclk */
		/*	0x154	(PIN_INPUT_PULLDOWN | MUX_MODE0) */ /* spi0_d0 */
		/*	0x23C	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* gpio5_9 */
		/*	0x250	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* spi4_sclk */
		/*	0x254	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* spi4_d0 */
		>;
	};

	/* Unconfigured pins which are used on Rico Board */
		/*	0x260	(PIN_INPUT | PULL_DISABLE | MUX_MODE7) */ /* spi2_sclk.gpio3_24.gpio0_22.hdmi_intn */

		/*	0x27C	(PIN_INPUT | PULL_DISABLE) */ /* nresetin_out */
		/*	0x50	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_a4.gpio1_20.CAM0_PWDN */
		/*	0x54	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_a5.gpio1_21.CAM0_RST */
		/*	0x40	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_a0.gpio1_16.CAM1_PWDN */
		/*	0x58	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* gpmc_a6.gpio1_22.CAM1_RST */
		/*	0x158   (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* spi0_d1.gpio0_4  */
		/*	0x15c   (PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* spi0_cs0.i2c1_scl */
		/*	0x268	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* spi2_d1.gpio0_21/gpio3_23.TP_RESET */
		/*	0x270	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* xdma_evt_intr0.CLKOUT1 */
		/*	0x258	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* spi4_d1.gpio5_6 */
		/*	0x278	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* clkreq.gpio0_24.LOWPOWERn */
		/*	0x190	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* mcasp0_aclkx */
		/*	0x194	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* mcasp0_fsx */
		/*	0x198	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* mcasp0_axr0 */
		/*	0x19C	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* mcasp0_ahclkr */
		/*	0x1A0	(PIN_INPUT_PULLDOWN | MUX_MODE7) */ /* mcasp0_aclkr */

	debugss_pins: pinmux_debugss_pins {
		pinctrl-single,pins = <
			0x290 (PIN_INPUT_PULLDOWN)
			0x294 (PIN_INPUT_PULLDOWN)
			0x298 (PIN_INPUT_PULLDOWN)
			0x29C (PIN_INPUT_PULLDOWN)
			0x2A0 (PIN_INPUT_PULLDOWN)
			0x2A4 (PIN_INPUT_PULLDOWN)
			0x2A8 (PIN_INPUT_PULLDOWN)
		>;
	};
};

&i2c0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_pins>;
	clock-frequency = <200000>;

	tps65218: tps65218@24 {
		reg = <0x24>;
		compatible = "ti,tps65218";
		interrupts = <GIC_SPI 7 IRQ_TYPE_NONE>; /* NMIn */
		interrupt-controller;
		#interrupt-cells = <2>;

		dcdc1: regulator-dcdc1 {
			compatible = "ti,tps65218-dcdc1";
			regulator-name = "vdd_core";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1144000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc2: regulator-dcdc2 {
			compatible = "ti,tps65218-dcdc2";
			regulator-name = "vdd_mpu";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1378000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc3: regulator-dcdc3 {
			compatible = "ti,tps65218-dcdc3";
			regulator-name = "vdcdc3";  /* powers VDDS_DDR */
			regulator-min-microvolt = <1500000>;
			regulator-max-microvolt = <1500000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
			regulator-state-disk {
				regulator-off-in-suspend;
			};
		};

		dcdc5: regulator-dcdc5 {
			compatible = "ti,tps65218-dcdc5";
			regulator-name = "v1_0bat";
			regulator-min-microvolt = <1000000>;
			regulator-max-microvolt = <1000000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		dcdc6: regulator-dcdc6 {
			compatible = "ti,tps65218-dcdc6";
			regulator-name = "v1_8bat";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		ldo1: regulator-ldo1 {
			compatible = "ti,tps65218-ldo1";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
		};
	};

	ov2659@30 {
		compatible = "ovti,ov2659";
		reg = <0x30>;

		clocks = <&audio_mstrclk>;
		clock-names = "xvclk";

		port {
			ov2659_0: endpoint {
				remote-endpoint = <&vpfe0_ep>;
				link-frequencies = /bits/ 64 <70000000>;
			};
		};
	};

	cat24c256@50 {
		compatible = "24c256";
		reg = <0x50>;

		pagesize = <64>;
	};
};

&i2c1 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&i2c1_pins_default>;
	pinctrl-1 = <&i2c1_pins_sleep>;
	clock-frequency = <200000>;

	ov2659@30 {
		compatible = "ovti,ov2659";
		reg = <0x30>;

		clocks = <&audio_mstrclk>;
		clock-names = "xvclk";

		port {
			ov2659_1: endpoint {
				remote-endpoint = <&vpfe1_ep>;
				link-frequencies = /bits/ 64 <70000000>;
			};
		};
	};
};

&epwmss0 {
	status = "okay";
};

&tscadc {
	status = "okay";

	adc {
		ti,adc-channels = <0 1 2 3 4 5 6 7>;
	};
};

&ecap0 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&ecap0_pins_default>;
	pinctrl-1 = <&ecap0_pins_sleep>;
};

&gpio0 {
	status = "okay";
};

&gpio1 {
	status = "okay";
};

&gpio2 {
	status = "okay";
};

&gpio3 {
	status = "okay";
};

&gpio4 {
	status = "okay";
};

&gpio5 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&display_mux_pins>;

	p8 {
		/*
		 * SelLCDorHDMI selects between display and audio paths:
		 * Low: HDMI display with audio via HDMI
		 * High: LCD display with analog audio via aic3111 codec
		 */
		gpio-hog;
		gpios = <8 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "SelLCDorHDMI";
	};
};

/* Enable qspi, 16MB S25FL128S norflash, MYiR */
&qspi {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&qspi_pins_default>;
	pinctrl-1 = <&qspi_pins_sleep>;

	spi-max-frequency = <24000000>;
	/* Export SPI MTD device to user-space for testing
	spidev4mtd@0 {
		spi-max-frequency = <24000000>;
		compatible = "spidev";
		reg = <0>;
	};
	*/
	m25p80@0 {
		/*"s25fl256s1", "spansion,s25fl128s", "spansion,m25p80"*/
		/* compatible = "s25fl256s1", "jedec,spi-nor"; */
		compatible = "jedec,spi-nor";
		spi-max-frequency = <24000000>;
		reg = <0>;
		spi-cpol;
		spi-cpha;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <4>;
		#address-cells = <1>;
		#size-cells = <1>;

		/* MTD partition table.
		 * The ROM checks the first 512KiB
		 * for a valid file to boot(XIP).
		 */
		partition@0 {
			label = "QSPI.U_BOOT";
			reg = <0x00000000 0x000080000>;
		};
		partition@1 {
			label = "QSPI.U_BOOT.backup";
			reg = <0x00080000 0x00080000>;
		};
		partition@2 {
			label = "QSPI.U_BOOT_ENV";
			reg = <0x00100000 0x00020000>;
		};
		partition@3 {
			label = "QSPI.U-BOOT-ENV.backup";
			reg = <0x00120000 0x00020000>;
		};
		partition@4 {
			label = "QSPI.U-BOOT-DEVICETREE";
			reg = <0x00140000 0x00010000>;
		};
		partition@5 {
			label = "QSPI.KERNEL";
			reg = <0x00150000 0x0500000>;
		};
		partition@6 {
			label = "QSPI.FILESYSTEM";
			reg = <0x00650000 0x9B0000>;
		};
	};
};

/* eMMC sits on mmc2 */
&mmc2 {
	status = "okay";
	vmmc-supply = <&evm_v3_3d>;
	bus-width = <8>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&emmc_pins_default>;
	pinctrl-1 = <&emmc_pins_sleep>;
	ti,non-removable;
};

&mmc1 {
	status = "okay";
	vmmc-supply = <&wlan_en_reg>;
	bus-width = <4>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mmc1_pins_default>;
	pinctrl-1 = <&mmc1_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";
		pinctrl-names = "default", "sleep";
		pinctrl-0 = <&wlan_pins_default>;
		pinctrl-1 = <&wlan_pins_sleep>;
		reg = <2>;
		interrupt-parent = <&gpio3>;
		interrupts = <1 IRQ_TYPE_EDGE_RISING>; 
	};
};

&uart3 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&uart3_pins_default>;
	pinctrl-1 = <&uart3_pins_sleep>;
};

&spi0 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&spi0_pins_default>;
	pinctrl-1 = <&spi0_pins_sleep>;
	ti,pindir-d0-out-d1-in = <1>;
	spidev@0 {
		compatible = "spidev";
		/* compatible = "rohm,dh2228fv"; */
		reg = <0>;
		#address-cells = <1>;
		#size-cells = <0>;//
		spi-max-frequency = <1000000>;
		/* spi-cpha; */
	};
};

&usb2_phy1 {
	status = "okay";
};

&usb1 {
	dr_mode = "otg";
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&usb1_pins_default>;
	pinctrl-1 = <&usb1_pins_sleep>;
};

&usb2_phy2 {
	status = "okay";
};

&usb2 {
	dr_mode = "host";
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&usb2_pins_default>;
	pinctrl-1 = <&usb2_pins_sleep>;
};

&mac {
	slaves = <1>;
	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>;
	status = "okay";
};

&cpsw_emac0 {
	phy_id = <&davinci_mdio>, <0>;
	phy-mode = "rgmii";
};

&elm {
	status = "okay";
};

&gpmc {
	/*
	 * When enabling GPMC, disable eMMC and set
	 * SelEMMCorNAND to output-low
	 */
	status = "disabled";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&nand_flash_x8_default>;
	pinctrl-1 = <&nand_flash_x8_sleep>;
	ranges = <0 0 0x08000000 0x01000000>;	/* CS0 space. Min partition = 16MB */
	nand@0,0 {
		compatible = "ti,omap2-nand";
		reg = <0 0 4>;		/* device IO registers */
		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 = "bch16";
		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 = <40>;
		gpmc,cs-wr-off-ns = <40>;
		gpmc,adv-on-ns = <0>;
		gpmc,adv-rd-off-ns = <25>;
		gpmc,adv-wr-off-ns = <25>;
		gpmc,we-on-ns = <0>;
		gpmc,we-off-ns = <20>;
		gpmc,oe-on-ns = <3>;
		gpmc,oe-off-ns = <30>;
		gpmc,access-ns = <30>;
		gpmc,rd-cycle-ns = <40>;
		gpmc,wr-cycle-ns = <40>;
		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 0x00040000>;
		};
		partition@1 {
			label = "NAND.SPL.backup1";
			reg = <0x00040000 0x00040000>;
		};
		partition@2 {
			label = "NAND.SPL.backup2";
			reg = <0x00080000 0x00040000>;
		};
		partition@3 {
			label = "NAND.SPL.backup3";
			reg = <0x000c0000 0x00040000>;
		};
		partition@4 {
			label = "NAND.u-boot-spl-os";
			reg = <0x00100000 0x00080000>;
		};
		partition@5 {
			label = "NAND.u-boot";
			reg = <0x00180000 0x00100000>;
		};
		partition@6 {
			label = "NAND.u-boot-env";
			reg = <0x00280000 0x00040000>;
		};
		partition@7 {
			label = "NAND.u-boot-env.backup1";
			reg = <0x002c0000 0x00040000>;
		};
		partition@8 {
			label = "NAND.kernel";
			reg = <0x00300000 0x00700000>;
		};
		partition@9 {
			label = "NAND.file-system";
			reg = <0x00a00000 0x1f600000>;
		};
	};
};

&uart0 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&uart0_pins_default>;
	pinctrl-1 = <&uart0_pins_sleep>;
};

&dss {
	status = "ok";

	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&dss_pins_default>;
	pinctrl-1 = <&dss_pins_sleep>;

	port {
		dpi_out: endpoint@0 {
			remote-endpoint = <&lcd_in>;
			data-lines = <24>;
		};
	};
};

&dcan0 {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&dcan0_default>;
	pinctrl-1 = <&dcan0_sleep>;
	status = "okay";
};

&dcan1 {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&dcan1_default>;
	pinctrl-1 = <&dcan1_sleep>;
	status = "okay";
};

&vpfe0 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&vpfe0_pins_default>;
	pinctrl-1 = <&vpfe0_pins_sleep>;

	port {
		vpfe0_ep: endpoint {
			remote-endpoint = <&ov2659_0>;
			ti,am437x-vpfe-interface = <0>;
			bus-width = <8>;
			hsync-active = <0>;
			vsync-active = <0>;
		};
	};
};

&vpfe1 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&vpfe1_pins_default>;
	pinctrl-1 = <&vpfe1_pins_sleep>;

	port {
		vpfe1_ep: endpoint {
			remote-endpoint = <&ov2659_1>;
			ti,am437x-vpfe-interface = <0>;
			bus-width = <8>;
			hsync-active = <0>;
			vsync-active = <0>;
		};
	};
};

&mcasp1 {
	#sound-dai-cells = <0>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mcasp1_pins>;
	pinctrl-1 = <&mcasp1_sleep_pins>;

	status = "disable";

	op-mode = <0>; /* MCASP_IIS_MODE */
	tdm-slots = <2>;
	/* 4 serializers */
	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
		0 0 1 2
	>;
	tx-num-evt = <32>;
	rx-num-evt = <32>;
};

&rtc {
	clocks = <&clk_32k_rtc>, <&clk_32768_ck>;
	clock-names = "ext-clk", "int-clk";
	system-power-controller;
	status = "okay";
};

&wkup_m3_ipc {
	ti,set-io-isolation;
	ti,scale-data-fw = "am43x-evm-scale-data.bin";
};

&sgx {
	status = "okay";
};

&cpu {
	cpu0-supply = <&dcdc2>;
	/* Operating frequencies */
	/* Defaults specified in arch/arm/mach-omap2/opp43xx_data.c */
	/* operating-points = <300000 950000>,
	                   <600000 1100000>,
	                   <720000 1200000>,
	                   <800000 1260000>,
	                   <1000000 1330000>; */
};

 

 

 

 

  • Ronny,

    We have assigned your post to the relevant engineer and you should hear back shortly.
  • I suggest, you use the script (load_wlcore.sh and ./unload_wlcore.sh) in '/usr/share/wl18xx/ to load/unload modues.. It ensure module dependencies are followed while booting..

    In addition, if you are using AM4x, why not just use the zImage (kernel) and Root file system from TISDK and only use your board specific device tree blob (dtb) for booting your board.. The stock TISDK, has all the relevant WiFi components dependencies are taken care of..

    Thanks
  • Hello Hari,

    What should my Kernel U-boot environment  content be to start the zImage in the TISDK root file system?

    What should the partitioning be of my EMMC?

    updatesys_sh.txt
    #
    # This script to update Rico Board system
    # This script will respectively update the u-boot, device tree, zImage to
    # QSPI.U_BOOT, QSPI.U-BOOT-DEVICETREE, QSPI.KERNEL, and update the filesystem
    # to emmc
    #
    # Author: MYiR
    # Email: support@myirtech.com
    # Date: 2015.1.21
    #
    
    #!/bin/sh
    
    # The path sdcard mounted
    SD_MOUNT_POINT="/media/mmcblk1p1"
    # The rootfs partition would be mounted on current 'rootfs' directory
    EMMC_BOOT_MP="boot"
    EMMC_ROOTFS_MP="rootfs"
    
    FILE_UBOOT="u-boot.bin"
    FILE_ZIMAGE="zImage_rvr"
    FILE_ZIMAGE_TARGET="zImage"
    FILE_DEVICETREE="myir_ricoboard_rvr.dtb"
    FILE_DEVICETREE_TARGET="myir_ricoboard.dtb"
    FILE_FILESYSTEM="rootfs.tar.gz"
    FILE_RAMDISK="ramdisk.gz"
    FILE_UBOOTENV="u-boot-env.bin"
    
    # eMMC is mmcblk0 and sdcard is mmcblk1
    EMMC_DRIVE=
    
    check_for_emmc()
    {
    	#
    	# Check the eMMC was whether identified or not
    	# if yes, the device node of eMMC is /dev/mmcblk0
    	# and it would be filtered by 'grep "1:"'
    	#
    	EMMC_DEVICEDRIVENAME=`cat /proc/partitions | grep -v 'sda' | grep '\<sd.\>\|\<mmcblk.\>' | grep -n '' | grep "1:" | awk '{print $5}'`
    	if [ -n $EMMC_DEVICEDRIVENAME ]; then
    		EMMC_DRIVE="/dev/$EMMC_DEVICEDRIVENAME"
    	else
    		echo -e "Invalid emmc"
    		exit 1
    	fi
    }
    
    check_for_qspiflash()
    {
    	# Find the avaible qspi falsh
    	PARTITION_TEST=`cat /proc/mtd | grep 'QSPI.'`
    	if [ "$PARTITION_TEST" = "" ]; then
    		echo -e "Not QSPI flash was found"
    		exit 1
    	fi
    }
    
    check_for_sdcards()
    {
    	# Find the avaible SD cards
    	ROOTDRIVE=`mount | grep 'on / ' | awk {'print $1'}`
    	PARTITION_TEST=`cat /proc/partitions | grep -v $ROOTDRIVE | grep '\<sd1.\>\|\<mmcblk1.\>' | grep -n ''`
    	if [ "$PARTITION_TEST" = "" ]; then
    		echo -e "Please insert a SD card to continue\n"
    		while [ "$PARTITION_TEST" = "" ]; do
    			read -p "Type 'y' to re-detect the SD card or 'n' to exit the script: " REPLY
    			if [ "$REPLY" = 'n' ]; then
    				exit 1
    			fi
    			ROOTDRIVE=`mount | grep 'on / ' | awk {'print $1'}`
    			PARTITION_TEST=`cat /proc/partitions | grep -v $ROOTDRIVE | grep '\<sd.\>\|\<mmcblk1.\>' | grep -n ''`
    		done
    	fi
    }
    
    check_files_in_sdcard()
    {
    	# Check u-boot.bin
    	if [ ! -f "$SD_MOUNT_POINT/$FILE_UBOOT" ]; then
    		echo "Update failed, $SD_MOUNT_POINT/$FILE_UBOOT not exist"
    		exit 1
    	fi
    
    	# Check zImage
    	if [ ! -f "$SD_MOUNT_POINT/$FILE_ZIMAGE" ]; then
    		echo "Update failed, $SD_MOUNT_POINT/$FILE_ZIMAGE not exist"
    		exit 1
    	fi
    
    	# Check device tree
    	if [ ! -f "$SD_MOUNT_POINT/$FILE_DEVICETREE" ]; then
    		echo "Update failed, $SD_MOUNT_POINT/$FILE_DEVICETREE not exist"
    		exit 1
    	fi
    
    	# Check filesystem
    	if [ ! -f "$SD_MOUNT_POINT/$FILE_FILESYSTEM" ]; then
    		echo "Update failed, $SD_MOUNT_POINT/$FILE_FILESYSTEM not exist"
    		exit 1
    	fi
    }
    
    qspi_update()
    {
    	echo "Updating u-boot.bin to QSPI flash..."
    	flashcp "$SD_MOUNT_POINT/$FILE_UBOOT" /dev/mtd0
    	echo "Initializing u-boot-env partitions..."
    	dd if=/dev/zero of=/dev/mtd2 bs=1024 count=128 > /dev/null 2>&1
    	dd if=/dev/zero of=/dev/mtd3 bs=1024 count=128 > /dev/null 2>&1
    
    	if [ "$1" = "kern2qspi" ]; then
    		echo "Updating devicetree to QSPI flash..."
    		flashcp "$SD_MOUNT_POINT/$FILE_DEVICETREE" /dev/mtd4
    		echo "updating zImage to QSPI flash..."
    		flashcp "$SD_MOUNT_POINT/$FILE_ZIMAGE" /dev/mtd5
    	fi
    }
    
    emmc_partition()
    {
    	#
    	# Format the eMMC, the partition table were be deleted
    	#
    	umount $EMMC_DRIVE"p1" > /dev/null 2>&1
    	umount $EMMC_DRIVE"p2" > /dev/null 2>&1
    	umount $EMMC_DRIVE"p3" > /dev/null 2>&1
    
    	dd if=/dev/zero of=$EMMC_DRIVE bs=1024 count=1024
    	if [ $? -ne 0 ]; then
    		echo "Format emmc failed"
    		exit 1
    	fi
    
    	SIZE=`fdisk -l $EMMC_DRIVE | grep Disk | awk '{print $5}'`
    
    	echo DISK SIZE - $SIZE bytes
    
    	CYLINDERS=475 #`echo $SIZE/255/63/512 | bc`
    
    	#
    	# Repartition eMMC
    	# first partition: rootfs, ext4, 680MB
    	# second partition: extended, vfat, 2.9GB
    	#
    	sfdisk -D -H 255 -S 63 -C $CYLINDERS $EMMC_DRIVE <<EOF
    ,19,0x0c,*
    20,180,0x83,-
    200,,0x0c,-
    EOF
    
    	if [ $? -ne 0 ]; then
    		echo "eMMC partition failed"
    		exit 1
    	fi
    
    	umount $EMMC_DRIVE"p1" > /dev/null 2>&1
    	sleep 1
    	mkfs.fat -F 32 -n "boot" "$EMMC_DRIVE"p1
    	if [ $? -ne 0 ]; then
    		echo "Creating boot partition failed"
    		exit 1
    	fi
    
    	umount $EMMC_DRIVE"p3" > /dev/null 2>&1
    	sleep 1
    	mkfs.fat -F 32 -n "extented" "$EMMC_DRIVE"p3
    	if [ $? -ne 0 ]; then
    		echo "Create extended partition failed"
    		exit 1
    	fi
    	
    	umount $EMMC_DRIVE"p2" >> /dev/null
    	sleep 1
    	mkfs.ext4 -L "rootfs" "$EMMC_DRIVE"p2
    	if [ $? -ne 0 ]; then
    		echo "Creating rootfs partition failed"
    		exit 1
    	fi
    
    	mkdir $EMMC_BOOT_MP
    	mount $EMMC_DRIVE"p1" $EMMC_BOOT_MP
    	mkdir $EMMC_ROOTFS_MP
    	mount -t ext4 $EMMC_DRIVE"p2" $EMMC_ROOTFS_MP
    }
    
    emmc_update()
    {
    	if [ "$1" != "kern2qspi" ]; then
    		echo "Updating kernel and devicetree to emmc..."
    		cp $SD_MOUNT_POINT/$FILE_ZIMAGE $EMMC_BOOT_MP/$FILE_ZIMAGE_TARGET
    		cp $SD_MOUNT_POINT/$FILE_DEVICETREE $EMMC_BOOT_MP/$FILE_DEVICETREE_TARGET
    		if [ -f $SD_MOUNT_POINT/$FILE_RAMDISK ]; then
    			cp $SD_MOUNT_POINT/$FILE_RAMDISK $EMMC_BOOT_MP
    		fi
    	fi
    	echo "Updating filesystem to emmc..."
    	
    	tar xzf $SD_MOUNT_POINT/$FILE_FILESYSTEM -C $EMMC_ROOTFS_MP
    	if [ $? -ne 0 ]; then
    		echo "Update eMMC failed"
    		umount $EMMC_ROOTFS_MP > /dev/null 2>&1
    		exit 1
    	fi
    	sync
    }
    
    echo "All data on eMMC and QSPI flash now will be destroyed! Continue? [y/n]"
    read ans
    if ! [ $ans == 'y' ]
    then
        exit
    fi
    
    check_for_qspiflash
    check_files_in_sdcard
    check_for_emmc
    emmc_partition
    if [ "$1" = "kern2qspi" ]; then
    	qspi_update $1
    	emmc_update $1
    else
    	qspi_update
    	emmc_update
    fi
    
    echo
    echo
    echo -e '\033[0;33;1m Update system completed, The board can be booted from QSPI flash now \033[0m'
    echo
    
    

    The U-boot is in the QSPI Flash and my EMMC has currently 2 Partitions

    Fat Partition of 2.9 GB and a EXT4 partition of 680 MB

    In the FAT partition the zImage is currently stored

    In the Ext4 partition the Root File system is located

    In attachment you can find the Update script that i currently use to program the QSPI flash and the EMMC

    This update script is a adapted version of the one delivered by MYIR

    I did not yet succeed to make a running U-Boot with the ti-processor-sdk-linux-am437x-evm-03.03.00.04(I get no UART output when i start

    the board from the SD card with the build U-boot)

    So i am using the one build with the Development environment delivered by MYIR with a slight adaption of the U-boot environment settings

    Kind Regards

     Ronny

  • Hello Hari,

     I succeeded to change the emmc partitioning and U-boot environment so that i can use

     the zImage (kernel) and Root file system from TISDK

     But the Wilink module is not working yet.

     I expect the GPIO line to control the WL_EN (GPIO3_2 pin B14 in my case) to come high when i execute the load_wlcore.sh from the Linux commandline

     But the line stays low and the loading is blocked at a certain moment, see attached log

     Also when i manualy set the WL_EN high at the Wilink module (Power Wilink module, set WL_EN high, start Linux Kernel, execute load_wlcore.sh script)

     The loading of the modules blocks

     Any Idea what could be the cause ?

    Kind Regards

     Ronny

    TISDK_Startup_log_and_Wilimk_Module_Load_Problem.txt
    U-Boot 2013.10 (Oct 16 2017 - 12:05:58)
    
    I2C:   ready
    DRAM:  512 MiB
    lcd_bl_init
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    SF: Detected S25FL128S_64K with page size 256 Bytes, erase size 64 KiB, total 16 MiB, mapped at 30000000
    *** Warning - bad CRC, using default environment
    
    Init vbus0: 500mA@5V, OFF
    Init vbus1: 500mA@5V, ON
    Not found the LCD header IC
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot:  1  0 
    mmc1(part 0) is current device
    Booting from emmc
    3493312 bytes read in 196 ms (17 MiB/s)
    55123 bytes read in 12 ms (4.4 MiB/s)
    Kernel image @ 0x80200000 [ 0x000000 - 0x354dc0 ]
    ## Flattened Device Tree blob at 80f80000
       Booting using the fdt blob at 0x80f80000
       Loading Device Tree to 9fb1c000, end 9fb2c752 ... OK
    
    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 (gtbldadm@ubuntu-16) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 PREEMPT Wed Mar 29 17:48:43 EDT 2017
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: MYIR Rico Board
    [    0.000000] cma: Reserved 48 MiB at 0x9c800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyS0,115200n8 omapdss.def_disp=display1 omapfb.mode=display1:1024x768MR-24@60 spi-ti-qspi.enable_qspi=1 root=/dev/mmcblk0p1 rootfstype=ext4
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 459804K/524288K available (6627K kernel code, 326K rwdata, 2428K rodata, 268K init, 266K bss, 15332K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08e0004   (9057 kB)
    [    0.000000]       .init : 0xc08e1000 - 0xc0924000   ( 268 kB)
    [    0.000000]       .data : 0xc0924000 - 0xc0975a38   ( 327 kB)
    [    0.000000]        .bss : 0xc0975a38 - 0xc09b85d8   ( 267 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] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000038] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000050] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000592] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000605] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.001123] Console: colour dummy device 80x30
    [    0.001163] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
    [    0.090241] pid_max: default: 32768 minimum: 301
    [    0.090393] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090408] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.091190] Initializing cgroup subsys io
    [    0.091223] Initializing cgroup subsys memory
    [    0.091267] Initializing cgroup subsys devices
    [    0.091286] Initializing cgroup subsys freezer
    [    0.091304] Initializing cgroup subsys perf_event
    [    0.091318] Initializing cgroup subsys pids
    [    0.091352] CPU: Testing write buffer coherency: ok
    [    0.091763] Setting up static identity map for 0x80008200 - 0x80008260
    [    0.093612] devtmpfs: initialized
    [    0.111966] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.185832] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.190173] pinctrl core: initialized pinctrl subsystem
    [    0.191718] NET: Registered protocol family 16
    [    0.193613] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.220234] cpuidle: using governor ladder
    [    0.250225] cpuidle: using governor menu
    [    0.258360] OMAP GPIO hardware version 0.1
    [    0.262520] omap_gpio 48322000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/display_mux_pins, deferring probe
    [    0.273337] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.273357] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.319621] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.326059] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
    [    0.326124] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [    0.326302] media: Linux media interface: v0.10
    [    0.326372] Linux video capture interface: v2.00
    [    0.326433] pps_core: LinuxPPS API ver. 1 registered
    [    0.326443] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.326488] PTP clock support registered
    [    0.326563] EDAC MC: Ver: 3.0.0
    [    0.327785] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.328249] Advanced Linux Sound Architecture Driver Initialized.
    [    0.329561] clocksource: Switched to clocksource timer1
    [    0.342013] NET: Registered protocol family 2
    [    0.342891] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.342953] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.343020] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.343120] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.343145] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.343318] NET: Registered protocol family 1
    [    0.343736] RPC: Registered named UNIX socket transport module.
    [    0.343753] RPC: Registered udp transport module.
    [    0.343762] RPC: Registered tcp transport module.
    [    0.343770] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.346607] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.355143] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.356037] NFS: Registering the id_resolver key type
    [    0.356097] Key type id_resolver registered
    [    0.356108] Key type id_legacy registered
    [    0.356188] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.360614] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.360646] io scheduler noop registered
    [    0.360663] io scheduler deadline registered
    [    0.360852] io scheduler cfq registered (default)
    [    0.364538] pinctrl-single 44e10800.pinmux: bad data for mux unused_pins
    [    0.364561] pinctrl-single 44e10800.pinmux: no pins entries for unused_pins
    [    0.364697] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.368484] backlight supply power not found, using dummy regulator
    [    0.437297] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.440977] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.441798] console [ttyS0] disabled
    [    0.441885] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.123838] console [ttyS0] enabled
    [    1.127936] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
    [    1.136784] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.147083] [drm] Initialized drm 1.1.0 20060810
    [    1.153720] 4832a000.dss supply vdda_video not found, using dummy regulator
    [    1.160939] OMAP DSS rev 2.0
    [    1.164012] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [    1.182215] loop: module loaded
    [    1.188068] spi spi1.0: not using DMA for McSPI (-19)
    [    1.195079] m25p80 spi5.0: s25fl128s (16384 Kbytes)
    [    1.200136] 7 ofpart partitions found on MTD device spi5.0
    [    1.205652] Creating 7 MTD partitions on "spi5.0":
    [    1.210493] 0x000000000000-0x000000080000 : "QSPI.U_BOOT"
    [    1.217278] 0x000000080000-0x000000100000 : "QSPI.U_BOOT.backup"
    [    1.224565] 0x000000100000-0x000000120000 : "QSPI.U_BOOT_ENV"
    [    1.231625] 0x000000120000-0x000000140000 : "QSPI.U-BOOT-ENV.backup"
    [    1.239174] 0x000000140000-0x000000150000 : "QSPI.U-BOOT-DEVICETREE"
    [    1.246833] 0x000000150000-0x000000650000 : "QSPI.KERNEL"
    [    1.253513] 0x000000650000-0x000001000000 : "QSPI.FILESYSTEM"
    [    1.262302] libphy: Fixed MDIO Bus: probed
    [    1.329626] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.335768] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.342896] libphy: 4a101000.mdio: probed
    [    1.346947] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [    1.357565] cpsw 4a100000.ethernet: Detected MACID = a8:1b:6a:c1:53:05
    [    1.364398] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [    1.372871] mousedev: PS/2 mouse device common for all mice
    [    1.379108] i2c /dev entries driver
    [    1.384233] cpuidle: enable-method property 'ti,am4372' found operations
    [    1.514374] omap_hsmmc 48060000.mmc: card claims to support voltages below defined range
    [    1.532476] mmc0: error -110 whilst initialising SDIO card
    [    1.551605] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.564921] NET: Registered protocol family 10
    [    1.571314] sit: IPv6 over IPv4 tunneling driver
    [    1.577046] NET: Registered protocol family 17
    [    1.585081] Key type dns_resolver registered
    [    1.589794] omap_voltage_late_init: Voltage driver support not added
    [    1.601017] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.609253] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.616007] [drm] No driver support for vblank timestamp query.
    [    1.622075] mmc1: MAN_BKOPS_EN bit is not set
    [    1.632265] mmc1: new high speed MMC card at address 0001
    [    1.642812] mmcblk0: mmc1:0001 Q2J54A 3.64 GiB 
    [    1.643152] mmcblk0boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
    [    1.643456] mmcblk0boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
    [    1.644926]  mmcblk0: p1 p2
    [    1.682674] Console: switching to colour frame buffer device 100x30
    [    1.724994] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.759828] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    1.766527] GPIO line 168 (SelLCDorHDMI) hogged as output/high
    [    1.801686] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.808734] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 200 kHz
    [    1.815808] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 200 kHz
    [    1.825234] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    1.832582] hctosys: unable to open rtc device (rtc0)
    [    1.841794] wlan-en-regulator: disabling
    [    1.845904] ALSA device list:
    [    1.848885]   No soundcards found.
    [    1.855225] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem
    [    1.862692] EXT4-fs (mmcblk0p1): write access will be enabled during recovery
    [    2.622981] EXT4-fs (mmcblk0p1): recovery complete
    [    2.629359] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    2.638065] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
    [    2.646784] devtmpfs: mounted
    [    2.650464] Freeing unused kernel memory: 268K (c08e1000 - c0924000)
    [    2.656860] This architecture does not have kernel memory protection.
    [    2.831637] systemd[1]: System time before build time, advancing clock.
    [    2.877555] random: systemd: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
    [    2.892354] random: systemd: uninitialized urandom read (16 bytes read, 25 bits of entropy available)
    [    2.914524] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    2.934090] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [    2.961221] systemd[1]: Set hostname to <am437x-evm>.
    [    3.061815] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 28 bits of entropy available)
    [    3.090648] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 28 bits of entropy available)
    [    3.103161] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
    [    3.127935] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 30 bits of entropy available)
    [    3.158567] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 31 bits of entropy available)
    [    3.228862] random: systemd: uninitialized urandom read (16 bytes read, 35 bits of entropy available)
    [    3.238842] random: systemd: uninitialized urandom read (16 bytes read, 35 bits of entropy available)
    [    3.249525] random: systemd: uninitialized urandom read (16 bytes read, 35 bits of entropy available)
    [    3.530032] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    3.537852] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    3.545637] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [    3.552994] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [    3.560457] systemd[1]: sysinit.target: Found dependency on rpcbind.socket/start
    [    3.567893] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    3.575351] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    3.584816] 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
    [    3.624711] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.661250] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.682177] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    3.704343] 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...
    [    3.750167] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.777146] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.810301] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.817965] CMEMK module: reference Linux version 4.4.41
    [    3.827280] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    3.835341] no physical memory specified
    [    3.839303] cmemk initialized
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.850250] cryptodev: driver 1.8 loaded.
    [    3.861131] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.879928] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    3.900132] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.929848] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.954224] systemd[1]: Starting File System Check on Root Device...
             Starting File System Check on Root Device...
    [    3.994083] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    4.021038] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.059047] systemd[1]: Mounting Temporary Directory...
             [    4.071328] systemd[1]: Reached target Swap.
    Mounting Temporary Directory...
    [  OK  ] Reached target Swap.
    [    4.118267] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    4.164361] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    4.199906] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    4.221116] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.243857] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    4.280186] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    4.304175] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.331406] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    4.392594] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    4.430207] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    4.460143] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    4.490556] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started File System Check on Root Device.
    [  OK  ] Started Setup Virtual Console.
             Starting Remount Root and Kernel File Systems...
             Starting Apply Kernel Variables...
             [    5.188972] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
    Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
             Starting Flush Journal to Persistent Storage...
             Starting udev Coldplug all Devices...
    [  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.
    [    6.295299] systemd-journald[110]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             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 Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [    7.495702] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    7.608288] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.671536]  remoteproc0: wkup_m3 is available
    [    7.676018]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [  OK  ] Started Network Time Synchronization.
    [    7.791150] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [  OK  ] Started udev Coldplug all Devices.
    [    7.888959]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    7.962130] ov2659 0-0030: Sensor detection failed (3030, 0)
    [    8.005717]  remoteproc0: powering up wkup_m3
    [    8.062029]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217280
    [  OK  ] Found device /dev/ttyS0.
    [    8.072973] ov2659 1-0030: Sensor detection failed (3030, 0)
    [    8.194023]  remoteproc0: remote processor wkup_m3 is now up
    [    8.199797] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [    8.801835] CAN device driver interface
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [    8.882910] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    8.924491] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=220)
    [    9.020747] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=221)
    [    9.311867] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
             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 D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [   10.090663] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started System Logging Service.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started D-Bus System Message Bus.
    [   10.523355] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [   10.564299] alg: skcipher: setkey failed on test 5 for ecb-des-omap: flags=100
    [   10.649877] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
    [   10.763118] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
    [   10.926099] ti-pruss 54400000.pruss: creating PRU cores and other child platform devices
    [   10.938226] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [   10.995663] PM: bootloader does not support rtc-only!
    [   11.060876] irq: no irq domain found for /ocp/pruss_wrapper@54426000/pruss@54400000/intc@54420000 !
    [   11.188104] irq: no irq domain found for /ocp/pruss_wrapper@54426000/pruss@54400000/intc@54420000 !
             Starting Network Service...
             Starting Telephony service...
    [   11.319858] ti-pruss 54440000.pruss: creating PRU cores and other child platform devices
    [   11.329033] irq: no irq domain found for /ocp/pruss_wrapper@54426000/pruss@54440000/intc@54460000 !
    [   11.350274] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
             Starting Login Service...
    [   11.544492] NET: Registered protocol family 15
             Starting Permit User Sessions...
             Starting uim-sysfs.service...
    [   11.692690] irq: no irq domain found for /ocp/pruss_wrapper@54426000/pruss@54440000/intc@54460000 !
             Starting Print notice about GPLv3 packages...
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [   12.001649]  remoteproc1: 54434000.pru0 is available
    [   12.006655]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [   12.136739] Bluetooth: Core ver 2.21
    [  OK  ] Started Network Service.
    [   12.203787] net eth0: initializing cpsw version 1.15 (0)
    [   12.209160] net eth0: initialized cpsw ale version 1.4
    [   12.241713] NET: Registered protocol family 31
    [   12.246195] Bluetooth: HCI device and connection manager initialized
    [  OK  ] Started Permit User Sessions.
    [   12.301955] net eth0: ALE Table size 1024
    [   12.320721]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   12.421506] net eth0: phy found : id is : 0x221622
    [   12.438548] Bluetooth: HCI socket layer initialized
    [   12.480586]  remoteproc1: registered virtio0 (type 7)
    [   12.487846] pru-rproc 54434000.pru0: PRU rproc node /ocp/pruss_wrapper@54426000/pruss@54400000/pru0@54434000 probed successfully
    [   12.520020] Bluetooth: L2CAP socket layer initialized
    [   12.525151] Bluetooth: SCO socket layer initialized
    [   12.535450] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   12.676078]  remoteproc2: 54438000.pru1 is available
    [   12.789751]  remoteproc2: Note: remoteproc is still under development and considered experimental.
    [   12.798772]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   13.042184] Initializing XFRM netlink socket
    [   13.075449]  remoteproc2: registered virtio1 (type 7)
    [   13.122442] pru-rproc 54438000.pru1: PRU rproc node /ocp/pruss_wrapper@54426000/pruss@54400000/pru1@54438000 probed successfully
    [   13.229466]  remoteproc3: 54474000.pru0 is available
    [   13.284917]  remoteproc3: Note: remoteproc is still under development and considered experimental.
    [   13.382637]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   13.509520]  remoteproc3: registered virtio2 (type 7)
    [   13.538641] pru-rproc 54474000.pru0: PRU rproc node /ocp/pruss_wrapper@54426000/pruss@54440000/pru0@54474000 probed successfully
    [   13.579652] random: nonblocking pool is initialized
    [   13.647906]  remoteproc4: 54478000.pru1 is available
    [   13.714360]  remoteproc4: Note: remoteproc is still under development and considered experimental.
    [   13.809791]  remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   13.935101]  remoteproc4: registered virtio3 (type 7)
    [   13.983181] pru-rproc 54478000.pru1: PRU rproc node /ocp/pruss_wrapper@54426000/pruss@54440000/pru1@54478000 probed successfully
    [   17.286286]  remoteproc1: powering up 54434000.pru0
    [   17.356443]  remoteproc1: Booting fw image am437x-pru1_0-fw, size 81680
    [   17.404963] ti-pruss 54400000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [   17.513031]  remoteproc1: remote processor 54434000.pru0 is now up
    [   17.553863] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x20
    [   17.571042] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   17.597374]  remoteproc2: powering up 54438000.pru1
    [   17.650121]  remoteproc2: Booting fw image am437x-pru1_1-fw, size 81680
    [   17.656955] ti-pruss 54400000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [   17.796050]  remoteproc2: remote processor 54438000.pru1 is now up
    [   17.833070] virtio_rpmsg_bus virtio1: creating channel rpmsg-pru addr 0x21
    [   17.840854] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   17.893541]  remoteproc3: powering up 54474000.pru0
    [   17.898917]  remoteproc3: Booting fw image am437x-pru0_0-fw, size 80560
    [   17.976768] ti-pruss 54440000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
    [   18.081070]  remoteproc3: remote processor 54474000.pru0 is now up
    [   18.130132] virtio_rpmsg_bus virtio2: creating channel rpmsg-pru addr 0x1e
    [   18.140459] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   18.181236]  remoteproc4: powering up 54478000.pru1
    [   18.186612]  remoteproc4: Booting fw image am437x-pru0_1-fw, size 80560
    [   18.276032] ti-pruss 54440000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
    [   18.375007]  remoteproc4: remote processor 54478000.pru1 is now up
    [   18.405295] virtio_rpmsg_bus virtio3: creating channel rpmsg-pru addr 0x1f
    [   18.424399] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   18.563782] rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru32
    [   18.612613] rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru33
    [   18.661816] rpmsg_pru rpmsg2: new rpmsg_pru device: /dev/rpmsg_pru30
    [   18.706288] rpmsg_pru rpmsg3: new rpmsg_pru device: /dev/rpmsg_pru31
    [   20.063986] usbcore: registered new interface driver usbfs
    [   20.099484] usbcore: registered new interface driver hub
    [   20.147121] usbcore: registered new device driver usb
    [   20.215893] dwc3 48390000.usb: otg: primary host xhci-hcd.0.auto registered
    [  OK  ] Started uim-sysfs.service.
    [   20.248349] dwc3 48390000.usb: otg: shared host xhci-hcd.0.auto registered
    [   20.289828] dwc3 48390000.usb: otg: can't start till gadget registers
    [   20.325112] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   20.349753] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   20.358073] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x00210010
    [   20.437934] xhci-hcd xhci-hcd.1.auto: irq 292, io mem 0x483d0000
    [   20.490080] hub 1-0:1.0: USB hub found
    [   20.497919] hub 1-0:1.0: 1 port detected
    [   20.520282] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   20.525820] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   20.595227] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   20.640902] hub 2-0:1.0: USB hub found
    [   20.662677] hub 2-0:1.0: 1 port detected
    [  OK  ] Started Telephony service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
    ***************************************************************
    ***************************************************************
    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
    ***************************************************************
    ***************************************************************
             Starting Load/Save Screen Backlight...htness of backlight:backlight...
    [  OK  ] Started Serial Getty on ttyS0.
    [   21.183455] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Network Name Resolution.
             Starting weston.service...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting thttpd.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.
    
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am437x-evm ttyS0
    
    Arago 2016.12 am437x-evm ttyS0
    
    am437x-evm login: root
    
    78root@am437x-evm:~# ls
    load_wlcore.sh
    root@am437x-evm:~# lsmod
    Module                  Size  Used by
    bc_example              7250  0
    xhci_plat_hcd           5375  0
    xhci_hcd              113343  1 xhci_plat_hcd
    usbcore               195911  2 xhci_plat_hcd,xhci_hcd
    rpmsg_pru               4958  0
    virtio_rpmsg_bus       12724  1 rpmsg_pru
    dwc3                   65911  0
    udc_core               12063  1 dwc3
    ti_am335x_adc           5783  0
    kfifo_buf               3291  1 ti_am335x_adc
    cbc                     2324  0
    drbg                   13425  1
    xfrm_user              22606  2
    xfrm4_tunnel            2040  0
    ipcomp                  2257  0
    xfrm_ipcomp             4311  1 ipcomp
    esp4                    6466  0
    bluetooth             327425  2
    pru_rproc              11796  4
    ah4                     5627  0
    pruss_intc              7163  5 pru_rproc
    af_key                 26406  0
    xfrm_algo               6970  5 ah4,esp4,af_key,xfrm_user,xfrm_ipcomp
    pm33xx                  5577  0
    pruss                  10892  1 pru_rproc
    ti_emif_sram            6242  1 pm33xx
    ecb                     1909  0
    sha512_generic          9903  0
    sha512_arm             12079  0
    sha256_generic          9503  1
    hmac                    2735  1
    md5                     1897  0
    sha1_generic            2621  0
    sha1_arm_neon           6261  0
    sha1_arm                3862  1 sha1_arm_neon
    pvrsrvkm              406839  5 bc_example
    am437x_pruss_wrapper     2953  0
    omap_des               11385  0
    omap_aes_driver        19488  0
    omap_sham              21513  0
    dwc3_omap               5054  0
    extcon                 14225  2 dwc3,dwc3_omap
    c_can_platform          6590  0
    omap_rng                4759  0
    c_can                   9642  1 c_can_platform
    am437x_vpfe            24568  0
    rng_core                7794  1 omap_rng
    can_dev                12315  1 c_can
    ov2659                  9532  0
    wkup_m3_ipc             8278  1 pm33xx
    wkup_m3_rproc           3669  1
    remoteproc             26901  4 pruss,wkup_m3_rproc,pru_rproc,wkup_m3_ipc
    ti_am335x_tsc           6029  0
    virtio                  7742  2 remoteproc,virtio_rpmsg_bus
    virtio_ring            12163  2 remoteproc,virtio_rpmsg_bus
    omap_wdt                4634  0
    ti_am335x_tscadc        6290  2 ti_am335x_adc,ti_am335x_tsc
    rtc_omap                8272  1
    sch_fq_codel            8289  2
    cryptodev              38007  2
    cmemk                  34640  0
    root@am437x-evm:~# ./load_wlcore.sh 
    [   59.713986] cfg80211: World regulatory domain updated:
    [   59.719177] cfg80211:  DFS Master region: unsetroot@am437x-evm:~# 
    [   59.733708] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   59.745194] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   59.758883] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   59.769375] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [   59.779869] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [   59.789445] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [   59.802822] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [   59.811193] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [   59.819244] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    

  • Hello Hari,

    In mean while also tryed with the latest TI SDK : ti-processor-sdk-linux-am437x-evm-04.01.00.06

    There i don't get a blocking situation but the WL_EN GPIO is also not going high

     In attachment the UART log with the latest SDK

    For the moment i have no clue what is wrong

    Are there test commands that i can use to get info on what is wrong?

    Or is there a way to get debug info of the Wilink module loading?

    Kind Regards

     Ronny04_01_00_06_log.txt

  • I believe, this is resolved so closing for now.. Please, re-open if need more help..

    Thanks
  • Hello Hari,

    Yes is resolved indeed
    Thanks for the support

    Kind Regards
    Ronny