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.

BBB AM335x and Graphics SDK 4.10.0.1

Other Parts Discussed in Thread: DA8XX

I am trying to get the Graphics SDK 4.10.0.1 running on my BBB in order to run Qt5 QtQuick2 applications which need OpenGL ES.

My Kernel is from the RoberCNelson tree: 

root@arm:~# uname -a
Linux arm 3.8.13-bone28 #1 SMP Wed Oct 23 21:43:09 CEST 2013 armv7l GNU/Linux

Compiler is gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux

I downloaded the Graphics_SDK_setuplinux_4_10_00_01_hardfp_minimal_demos.bin and also the Graphics_SDK_setuplinux_4_10_00_01.bin. In the second one compilng with SUPPORT_XORG=1 is not working. So I used the hardfp package.

Here the steps I made:

For the Kernel:

cloned https://github.com/RobertCNelson/linux-dev and checkout out the 3.8.13-bone28 branch

run ./kernel_build.sh to build the kernel

For the SDK:

  • Modified the Rules.make for my environment
  • Modified the /GFX_Linux_KM/services4/3rdparty/linux_drm/Kbuild file (uncommented Kernel 3.4 - 3.8 section and commented the default config)
    • file: 
      5165.Kbuild.txt
      SYS_USING_INTERRUPTS = 1
      SUPPORT_OMAP3430_OMAPFB3 =1
      SUPPORT_TI_DSS_FW = 0
      PVR_LINUX_USING_WORKQUEUES = 1
      SUPPORT_DRI_DRM =1
      SYS_CFLAGS.$(SYS_USING_INTERRUPTS)                      += -DSYS_USING_INTERRUPTS
      SYS_CFLAGS.$(SUPPORT_OMAP3430_OMAPFB3)                         += -DSUPPORT_OMAP3430_OMAPFB3
      SYS_CFLAGS.$(SUPPORT_TI_DSS_FW)                         += -DSUPPORT_TI_DSS_FW
      SYS_CFLAGS.$(PVR_LINUX_USING_WORKQUEUES)             += -DPVR_LINUX_USING_WORKQUEUES
      
      EXT_SOURCE_DIR := $(KERNELDIR)/drivers/gpu/drm
      
      EXTRA_CFLAGS =	-DLINUX \
      		-DCONFIG_PCI \
      		-Wno-error \
      		-I$(KERNELDIR)/include/drm \
      		-I$(KERNELDIR)/include/linux \
      		-I$(EXT_SOURCE_DIR) \
      		$(SYS_CFLAGS.1) \
      
      ifeq ($(SUPPORT_DRI_DRM),1)
      EXTRA_CFLAGS += -DPVR_DISPLAY_CONTROLLER_DRM_IOCTL
      ifeq ($(TI_PLATFORM),omap4)
      EXTRA_CFLAGS += -DCONFIG_SLOW_WORK
      endif
      endif
      
      obj-m := drm.o
      #ifeq ($(TI_PLATFORM),omap4)
      #drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drawable.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
      #	drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
      #	drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
      #	drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
      #	drm_crtc.o drm_modes.o drm_edid.o \
      #	drm_info.o drm_debugfs.o drm_encoder_slave.o
      #else
      # Works for 2.6.37 till 3.2 kernel
      #drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
      #	drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
      #	drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
      #	drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
      #	drm_crtc.o drm_modes.o drm_edid.o \
      #	drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o
      #endif
      
      # For 3.3 kernel only
      #drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
      #	drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
      #	drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
      #	drm_sysfs.o drm_hashtab.o drm_mm.o \
      #	drm_crtc.o drm_modes.o drm_edid.o \
      #	drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o
      
      # For greater than/equal to 3.4 till 3.8 kernel
      drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
      	drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
      	drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
      	drm_sysfs.o drm_hashtab.o drm_mm.o \
      	drm_crtc.o drm_modes.o drm_edid.o \
      	drm_info.o drm_debugfs.o drm_encoder_slave.o drm_global.o drm_platform.o drm_trace_points.o drm_prime.o
      
      # less than 2.6.32 kernel
      
      #drm-y := pvr_drm_stubs.o drm_auth.o drm_bufs.o drm_cache.o drm_context.o drm_dma.o drm_drawable.o drm_drv.o drm_fops.o drm_gem.o drm_ioctl.o drm_irq.o \
      #        drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \
      #        drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \
      #        drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o \
      #        drm_crtc.o drm_modes.o drm_edid.o \
      #        drm_info.o drm_debugfs.o drm_encoder_slave.o
      
  • Run make BUILD=release OMAPES=8.x FBDEV=yes SUPPORT_XORG=1 all
  • Run sudo make BUILD=release OMAPES=8.x FBDEV=yes SUPPORT_XORG=1 install
    • log: 
      5734.install.txt
      exporting necessary variables and installing...
      ########################################################
      Please ensure that PSP Linux kernel is re-built atleast once,
      Please refer online guide for further details.
      ########################################################
      creating directories...
      copying startup files...
      copying user space graphics libraries to target file system...
      copying install information to target file system...
      copying graphics SDK demos to target file system...
      

Loading the modules:

Run /etc/init.d/335x-demo

log: 

2335.install_on_device.txt
0x10205
release8.x
installing 8.x SGX release user libraries

Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.10@2359475' on target

File system installation root is /

Uninstalling existing version sgxddk_1.10@2359475
Uninstallation completed.
boot script rc.pvr -> /etc/init.d/rc.pvr
kernel module drm.ko -> /lib/modules/3.8.13-bone28/extra/drm.ko
kernel module pvrsrvkm.ko -> /lib/modules/3.8.13-bone28/extra/pvrsrvkm.ko
shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.10.2359475
shared library libusc.so -> /usr/lib/libusc.so.1.10.2359475
shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.10.2359475
shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.10.2359475
shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.10.2359475
shared library libEGL.so -> /usr/lib/libEGL.so.1.10.2359475
shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.10.2359475
shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
shared library libpvrPVR2D_DRIWSEGL.so -> /usr/lib/libpvrPVR2D_DRIWSEGL.so.1.10.2359475
shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.10.2359475
shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.10.2359475
shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.10.2359475
binary pvrsrvctl -> /usr/local/bin/pvrsrvctl
binary sgx_init_test -> /usr/local/bin/sgx_init_test
binary services_test -> /usr/local/bin/services_test
binary sgx_blit_test -> /usr/local/bin/sgx_blit_test
binary sgx_clipblit_test -> /usr/local/bin/sgx_clipblit_test
binary sgx_flip_test -> /usr/local/bin/sgx_flip_test
binary sgx_render_flip_test -> /usr/local/bin/sgx_render_flip_test
binary pvr2d_test -> /usr/local/bin/pvr2d_test
shader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txt
shader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txt
shader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txt
binary eglinfo -> /usr/local/bin/eglinfo
binary xeglinfo -> /usr/local/bin/xeglinfo
binary xgles1test1 -> /usr/local/bin/xgles1test1
binary xmultiegltest -> /usr/local/bin/xmultiegltest
binary xgles1_texture_stream -> /usr/local/bin/xgles1_texture_stream
binary xgles2test1 -> /usr/local/bin/xgles2test1
binary xgles2_texture_stream -> /usr/local/bin/xgles2_texture_stream
X.Org PVR DDX video module pvr_drv.so -> /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
X.Org configuration file xorg.conf -> /usr/local/XSGX/etc/xorg.conf

Installation complete!
You may now reboot your target.

/etc/init.d/335x-demo: 21: /etc/init.d/335x-demo: [[: not found
 

reboot

root@arm:/etc/init.d# lsmod
Module Size Used by
g_multi 56821 0
libcomposite 17153 1 g_multi
nfsd 234170 2
exportfs 3701 1 nfsd
hid_multitouch 7690 0

root@arm:/etc/init.d# modprobe pvrsrvkm
[ 1628.158673] pvrsrvkm: Unknown symbol drm_pvr_dev_remove (err 0)
[ 1628.167921] pvrsrvkm: Unknown symbol drm_pvr_dev_add (err 0)
ERROR: could not insert 'pvrsrvkm': Unknown symbol in module, or unknown parameter (see dmesg)

root@arm:/etc/init.d# modprobe --show-depends drm
insmod /lib/modules/3.8.13-bone28/extra/drm.ko

root@arm:/etc/init.d# modprobe --show-depends pvrsrvkm
insmod /lib/modules/3.8.13-bone28/extra/drm.ko
insmod /lib/modules/3.8.13-bone28/extra/pvrsrvkm.ko

Also a depmod -a does not help. Any idea what it could be?

  • Please direct questions concerning BB Black and the Angstrom build to the Beagleboard community support: http://www.beagleboard.org/Community/Forums
  • I think this is very TI related as it is about installing the SDK on Linux for support of you hardware.

    EDIT: When I build the SDK without SUPPORT_XORG the pvrsrvkm.ko module is able to load. But omaplfb gives me following output

    root@arm:/opt/gfxsdkdemos/ogles2# modprobe omaplfb
    [ 705.240036] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [ 705.248709] pgd = df744000
    [ 705.251643] [00000000] *pgd=00000000
    [ 705.255507] Internal error: Oops: 5 [#1] SMP ARM
    [ 705.260356] Modules linked in: omaplfb(O+) pvrsrvkm(O) g_multi libcomposite nfsd exportfs hid_multitouch
    [ 705.270417] CPU: 0 Tainted: G O (3.8.13-bone28 #1)
    [ 705.276959] PC is at AllocateDeviceID+0x0/0x48 [pvrsrvkm]
    [ 705.282732] LR is at PVRSRVRegisterDCDeviceKM+0xf0/0x178 [pvrsrvkm]
    [ 705.289318] pc : [<bf07c640>] lr : [<bf0786a8>] psr: 40000013
    [ 705.289318] sp : de66be18 ip : de6bcc98 fp : 0000001c
    [ 705.301351] r10: 000bb800 r9 : 00000000 r8 : 00000001
    [ 705.306838] r7 : df33e898 r6 : 00000000 r5 : df33e804 r4 : 00000000
    [ 705.313687] r3 : de6bcbc0 r2 : 00000001 r1 : de6bcbc8 r0 : 00000000
    [ 705.320539] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 705.328026] Control: 10c5387d Table: 9f744019 DAC: 00000015
    [ 705.334056] Process modprobe (pid: 2932, stack limit = 0xde66a240)
    [ 705.340542] Stack: (0xde66be18 to 0xde66c000)
    [ 705.347974] be00: df74f280 de6bcbc0
    [ 705.356808] be20: 00000032 df33e800 00000000 00000000 000c8000 bf0b0cfc c009d008 60000013
    [ 705.365548] be40: c097d874 ffffffff bf0b1d5c bf0b1d5c de66bf58 00000000 00000001 bf0b1da4
    [ 705.374234] be60: bf0b4000 bf0b4008 de66a000 c0008890 bf0b4000 00000000 00000001 bf0b1d5c
    [ 705.382901] be80: bf0b1d5c de66bf58 00000000 00000001 bf0b1da4 00000001 df74f7c0 c0089bac
    [ 705.391568] bea0: bf0b1d68 00007fff c0085ab4 00000010 c008709c 00000028 00000000 bf0b1d68
    [ 705.400233] bec0: bf0b1eb0 000000c7 c06254ec e0f53228 de66beec b6f46d50 20000013 c088fca0
    [ 705.408899] bee0: de66bf1c c061ab58 e0f55000 b6f5f000 00000b01 00000000 00000000 00000000
    [ 705.417558] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 705.426219] bf20: 00000000 00000000 00000000 00000000 000000d2 b6f57000 00008b81 b6f46d50
    [ 705.437886] bf40: 00000080 c000da04 de66a000 00000000 00000000 c0089f28 e0f4d000 00008b81

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.255507] Internal error: Oops: 5 [#1] SMP ARM
    [ 705.468541] bf60: e0f52c10 e0f52a60 e0f553b0 00001ecc 0000268c 00000000 00000000 00000000

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.334056] Process modprobe (pid: 2932, stack limit = 0xde66a240)

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.340542] Stack: (0xde66be18 to 0xde66c000[ 705.503545] bf80: 00000027 00000028 00000015 00000019 00000012 00000000 00000000 b6f9b228
    )

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.347974] be00: df74f280 de6bcbc0

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.356808] be20: 00000032 df33e800 00000000 00000000 000c8000 bf0b0cfc c009d008 60000013

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 7[ 705.546509] bfa0: b6f9b338 c000d880 00000000 b6f9b228 b6f57000 00008b81 b6f46d50 00000002
    05.365548] be40: c097d874 ffffffff bf0b1d5c bf0b1d5c de66bf58 00000000 00000001 bf0b1da4

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.374234] be60: bf0b4000 bf0b4008 de66a000 c0008890 bf0b4000 00000000 00000001 bf0b1d5c

    Message from syslogd[ 705.579638] bfc0: 00000000 b6f9b228 b6f9b338 00000080 00000000 b6f46d50 00008b81 00000000
    @arm at Oct 24 08:25:08 ...
    kernel:[ 705.382901] be80: bf0b1d5c de66bf58 00000000 00000001 bf0b1da4 00000001 df74f7c0 c0089bac

    Message[ 705.600313] bfe0: 00040000 bedb98f4 b6f40b07 b6ec3d94 80000010 b6f57000 00000000 00000000
    from syslogd@ar[ 705.610243] [<bf07c640>] (AllocateDeviceID+0x0/0x48 [pvrsrvkm]) from [<bf0786a8>] (PVRSRVRegisterDCDeviceKM+0xf0/0x178 [pvrsrvkm])
    m at Oct 24 08:2[ 705.623804] [<bf0786a8>] (PVRSRVRegisterDCDeviceKM+0xf0/0x178 [pvrsrvkm]) from [<bf0b0cfc>] (OMAPLFBInit+0x410/0x578 [omaplfb])
    5:08 ...
    kern[ 705.637178] [<bf0b0cfc>] (OMAPLFBInit+0x410/0x578 [omaplfb]) from [<bf0b4008>] (OMAPLFB_Init+0x8/0x2c [omaplfb])
    el:[ 705.391568[ 705.649217] [<bf0b4008>] (OMAPLFB_Init+0x8/0x2c [omaplfb]) from [<c0008890>] (do_one_initcall+0x90/0x160)
    ] bea0: bf0b1d68[ 705.660619] [<c0008890>] (do_one_initcall+0x90/0x160) from [<c0089bac>] (load_module+0x1944/0x1bf4)
    00007fff c0085a[ 705.671473] [<c0089bac>] (load_module+0x1944/0x1bf4) from [<c0089f28>] (sys_init_module+0xcc/0xec)
    b4 00000010 c008[ 705.682243] [<c0089f28>] (sys_init_module+0xcc/0xec) from [<c000d880>] (ret_fast_syscall+0x0/0x30)
    709c 00000028 00[ 705.693236] Code: e3e00000 ebffed06 e1a00004 e8bd8038 (e5902000)
    [ 705.700816] ---[ end trace ce03e9003225b855 ]---


    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.400233] bec0: bf0b1eb0 000000c7 c06254ec e0f53228 de66beec b6f46d50 20000013 c088fca0

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.408899] bee0: de66bf1c c061ab58 e0f55000 b6f5f000 00000b01 00000000 00000000 00000000

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.417558] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.426219] bf20: 00000000 00000000 00000000 00000000 000000d2 b6f57000 00008b81 b6f46d50

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.437886] bf40: 00000080 c000da04 de66a000 00000000 00000000 c0089f28 e0f4d000 00008b81

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.468541] bf60: e0f52c10 e0f52a60 e0f553b0 00001ecc 0000268c 00000000 00000000 00000000

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.503545] bf80: 00000027 00000028 00000015 00000019 00000012 00000000 00000000 b6f9b228

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.546509] bfa0: b6f9b338 c000d880 00000000 b6f9b228 b6f57000 00008b81 b6f46d50 00000002

    Message from syslogd@arm at Oct 24 08:25:08 ...
    kernel:[ 705.579638] bfc0: 00000000 b6f9b228 b6f9b338 00000080 00000000 b6f46d50 00008b81 00000000

    Message from syslogd@arm at Oct 24 08:25:09 ...
    kernel:[ 705.600313] bfe0: 00040000 bedb98f4 b6f40b07 b6ec3d94 80000010 b6f57000 00000000 00000000

    Message from syslogd@arm at Oct 24 08:25:09 ...
    kernel:[ 705.693236] Code: e3e00000 ebffed06 e1a00004 e8bd8038 (e5902000)
    Segmentation fault


    gfx_check gives me following:

    root@arm:/opt# ./gfx_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so

    ------
    ARM CPU information
    processor : 0
    model name : ARMv7 Processor rev 2 (v7l)
    BogoMIPS : 198.72
    Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x3
    CPU part : 0xc08
    CPU revision : 2

    Hardware : Generic AM33XX (Flattened Device Tree)
    Revision : 0000
    Serial : 0000000000000000
    ------
    SGX driver information
    Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /home/alexander/bin/linuxcnc2/Graphics_SDK_4_10_00_01_hardfp/GFX_Linux_KM
    System Version String: None
    ------
    Framebuffer settings

    mode "800x480"
    geometry 800 480 800 480 16
    timings 0 0 0 0 0 0 0
    accel true
    rgba 5/11,6/5,5/0,0/0
    endmode

    Frame buffer device information:
    Name :
    Address : 0x9e300000
    Size : 768000
    Type : PACKED PIXELS
    Visual : TRUECOLOR
    XPanStep : 1
    YPanStep : 1
    YWrapStep : 0
    LineLength : 1600
    Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module Size Used by
    omaplfb 16623 1
    pvrsrvkm 179036 1 omaplfb
    g_multi 56821 0
    libcomposite 17153 1 g_multi
    nfsd 234170 2
    exportfs 3701 1 nfsd
    hid_multitouch 7690 0
    ------
    Boot settings
    console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc ip=
    ------
    Linux Kernel version
    Linux arm 3.8.13-bone28 #1 SMP Wed Oct 23 21:43:09 CEST 2013 armv7l GNU/Linux

  • I have now modified my kernel boot parameters to fit to the parameters mentioned in the install wiki. Still getting the same results when trying to load the omaplfb module. The omaplfb still seems to get loaded but when I try to run a demo I get PVRShell: EGL Error (EGL_BAD_ALLOC) error.

    root@arm:/opt# ./gfx_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so

    ------
    ARM CPU information
    processor : 0
    model name : ARMv7 Processor rev 2 (v7l)
    BogoMIPS : 198.72
    Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x3
    CPU part : 0xc08
    CPU revision : 2

    Hardware : Generic AM33XX (Flattened Device Tree)
    Revision : 0000
    Serial : 0000000000000000
    ------
    SGX driver information
    Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /home/alexander/bin/linuxcnc2/Graphics_SDK_4_10_00_01_hardfp/GFX_Linux_KM
    System Version String: None
    ------
    Framebuffer settings

    mode "800x480"
    geometry 800 480 800 480 16
    timings 0 0 0 0 0 0 0
    accel true
    rgba 5/11,6/5,5/0,0/0
    endmode

    Frame buffer device information:
    Name :
    Address : 0x8e300000
    Size : 768000
    Type : PACKED PIXELS
    Visual : TRUECOLOR
    XPanStep : 1
    YPanStep : 1
    YWrapStep : 0
    LineLength : 1600
    Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module Size Used by
    omaplfb 16623 1
    pvrsrvkm 179036 1 omaplfb
    g_multi 56821 0
    libcomposite 17153 1 g_multi
    nfsd 234170 2
    exportfs 3701 1 nfsd
    hid_multitouch 7690 0
    ------
    Boot settings
    console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=256M ip=dhcp earlyprintk=serial vram=50M
    ------
    Linux Kernel version
    Linux arm 3.8.13-bone28 #1 SMP Wed Oct 23 21:43:09 CEST 2013 armv7l GNU/Linux

  • Hi,

    Can you please check if the kernel sources you are using has the frame buffer driver support available & enabled for the device you are using?

    Please check kernel menuconfig & also after it boots up, are you able to see /dev/fb0 node & are you able to run any frame buffer aplication successfully?

    Thanks,

    Prathap.

  • Hi,

    /dev/fb0 is available. Can you give me an example for a simple framebuffer application so I can check whether it would work or not.

    This should be my current kernel config:  3482.config.txt

    Alexander

  • Hi,

    Thanks for sharing the kernel config.

    I see that in your config, linux bootup logo is enabled.

    Do you see the penguin logo while linux bootup?

    If so frame buffer display is fine.

    If you are using the TI AMSDK file system, you can run the matrix gui application. This uses the frame buffer for display.

    Thanks,

    Prathap.

  • Hi,

    The penguin shows up at boot. I have no AMSDK installed but I tested /dev/fb0 with this small application:

    http://git.ideasonboard.org/fbdev-test.git

    the framebuffer seems to work correctly. Also the application gave me following output:

    root@arm:/opt/testapp/fbdev-test# ./fbdev-test -f /dev/fb0
    Device /dev/fb0 opened:

    --- Fixed screen info ---
    Type: Packed Pixels
    Visual: True Color
    Chip/card: no hardware accelerator
    Memory: 768000 bytes @0x8e300000
    X Pan Step: 1
    Y Pan Step: 1
    Line Length: 1600 bytes

    --- Variable screen info ---
    Resolution: 800x480
    Virtual Resolution: 800x480
    X/Y Offset: (0,0)
    Size: 4294967295mm x 4294967295mm
    Pixel organization: RRRRRGGGGGGBBBBB
    (16 bits per pixel) 4321054321043210

    FB memory mapped at 0xb6dfe000
    Filling frame buffer with SMPTE test pattern

    Regards,

    Alexander

    EDIT: Here is the boot log of my system: 

    5047.boot.txt
    U-Boot SPL 2013.04-rc1-14237-g90639fe-dirty (Apr 13 2013 - 13:57:11)
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    OMAP SD/MMC: 0
    mmc_send_cmd : timeout: No status update
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2013.04-rc1-14237-g90639fe-dirty (Apr 13 2013 - 13:57:11)
    
    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment
    
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0 
    gpio: pin 53 (gpio 53) value is 1
    mmc0 is current device
    micro SD card found
    mmc0 is current device
    gpio: pin 54 (gpio 54) value is 1
    SD/MMC found on device 0
    reading uEnv.txt
    1891 bytes read in 5 ms (369.1 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    reading zImage
    3344504 bytes read in 385 ms (8.3 MiB/s)
    reading uInitrd
    2975910 bytes read in 343 ms (8.3 MiB/s)
    reading /dtbs/am335x-boneblack.dtb
    24808 bytes read in 11 ms (2.2 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 81000000 ...
       Image Name:   initramfs
       Image Type:   ARM Linux RAMDisk Image (uncompressed)
       Data Size:    2975846 Bytes = 2.8 MiB
       Load Address: 00000000
       Entry Point:  00000000
    ## Flattened Device Tree blob at 815f0000
       Booting using the fdt blob at 0x815f0000
       Using Device Tree in place at 815f0000, end 815f90e7
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.8.13-bone28 (alexander@thinkpad.site) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #1 SMP Wed Oct 23 21:43:09 CEST 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (neon )
    [    0.000000] PERCPU: Embedded 9 pages/cpu @c0c45000 s14080 r8192 d14592 u36864
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64768
    [    0.000000] Kernel command line: console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=256M ip=dhcp earlyprintk=serial vram=50M
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] __ex_table already sorted, skipping sort
    [    0.000000] allocated 524288 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Memory: 255MB = 255MB total
    [    0.000000] Memory: 244856k/244856k available, 17288k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08f1a00   (9127 kB)
    [    0.000000]       .init : 0xc08f2000 - 0xc093b700   ( 294 kB)
    [    0.000000]       .data : 0xc093c000 - 0xc09bf500   ( 526 kB)
    [    0.000000]        .bss : 0xc09bf500 - 0xc0a36900   ( 477 kB)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.010436] Calibrating delay loop... 363.67 BogoMIPS (lpj=354304)
    [    0.035947] pid_max: default: 32768 minimum: 301
    [    0.041059] Security Framework initialized
    [    0.045482] Mount-cache hash table entries: 512
    [    0.060067] Initializing cgroup subsys cpuacct
    [    0.064806] Initializing cgroup subsys memory
    [    0.069466] Initializing cgroup subsys blkio
    [    0.074113] CPU: Testing write buffer coherency: ok
    [    0.079824] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.085323] Setting up static identity map for 0x8061f130 - 0x8061f188
    [    0.093821] Brought up 1 CPUs
    [    0.097005] SMP: Total of 1 processors activated (363.67 BogoMIPS).
    [    0.104872] devtmpfs: initialized
    [    0.173059] pinctrl core: initialized pinctrl subsystem
    [    0.178812] rstctl core: initialized rstctl subsystem
    [    0.184654] regulator-dummy: no parameters
    [    0.189605] NET: Registered protocol family 16
    [    0.195383] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.212750] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.220965] platform 49000000.edma: alias fck already exists
    [    0.226931] platform 49000000.edma: alias fck already exists
    [    0.232881] platform 49000000.edma: alias fck already exists
    [    0.240134] OMAP GPIO hardware version 0.1
    [    0.249368] gpio-rctrl rstctl.3: loaded OK
    [    0.259118] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.267412] cpsw.0: No hwaddr in dt. Using c8:a0:30:b0:71:f9 from efuse
    [    0.274392] cpsw.1: No hwaddr in dt. Using c8:a0:30:b0:71:fb from efuse
    [    0.295862] bio: create slab <bio-0> at 0
    [    0.311864] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.319357] vmmcsd_fixed: 3300 mV 
    [    0.325907] SCSI subsystem initialized
    [    0.330370] usbcore: registered new interface driver usbfs
    [    0.336244] usbcore: registered new interface driver hub
    [    0.342131] usbcore: registered new device driver usb
    [    0.349655] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    0.357036] input: tps65217_pwr_but as /devices/ocp.2/44e0b000.i2c/i2c-0/0-0024/input/input0
    [    0.367791] DCDC1: at 1500 mV 
    [    0.372341] vdd_mpu: 925 <--> 1325 mV at 950 mV 
    [    0.378373] vdd_core: 925 <--> 1150 mV at 1100 mV 
    [    0.384557] LDO1: at 1800 mV 
    [    0.388842] LDO2: at 3300 mV 
    [    0.393983] LDO3: 1800 mV 
    [    0.398018] LDO4: at 3300 mV 
    [    0.402206] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    0.408668] omap_i2c 44e0b000.i2c: unable to select pin group
    [    0.415584] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
    [    0.424184] omap_i2c 4819c000.i2c: unable to select pin group
    [    0.430506] media: Linux media interface: v0.10
    [    0.435614] Linux video capture interface: v2.00
    [    0.440656] pps_core: LinuxPPS API ver. 1 registered
    [    0.445909] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.456163] Advanced Linux Sound Architecture Driver Initialized.
    [    0.463611] NetLabel: Initializing
    [    0.467253] NetLabel:  domain hash size = 128
    [    0.471847] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.477171] NetLabel:  unlabeled traffic allowed by default
    [    0.483518] Switching to clocksource gp_timer
    [    0.544325] NET: Registered protocol family 2
    [    0.550067] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.557565] TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
    [    0.564420] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.571170] TCP: reno registered
    [    0.574634] UDP hash table entries: 256 (order: 1, 12288 bytes)
    [    0.580881] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
    [    0.588016] NET: Registered protocol family 1
    [    0.593246] RPC: Registered named UNIX socket transport module.
    [    0.599528] RPC: Registered udp transport module.
    [    0.604508] RPC: Registered tcp transport module.
    [    0.609469] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.616650] Trying to unpack rootfs image as initramfs...
    [    0.973338] Freeing initrd memory: 2904K
    [    0.978601] CPU PMU: probing PMU on CPU 0
    [    0.982891] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [    0.991900] omap2_mbox_probe: platform not supported
    [    1.271680] VFS: Disk quotas dquot_6.5.2
    [    1.276147] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.284320] NFS: Registering the id_resolver key type
    [    1.289828] Key type id_resolver registered
    [    1.294279] Key type id_legacy registered
    [    1.298600] fuse init (API version 7.20)
    [    1.303621] Btrfs loaded
    [    1.306606] msgmni has been set to 483
    [    1.313600] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [    1.321381] io scheduler noop registered
    [    1.325546] io scheduler deadline registered
    [    1.330176] io scheduler cfq registered (default)
    [    1.337167] tps65217-bl tps65217-bl: no platform data provided
    [    1.343365] tps65217-bl: probe of tps65217-bl failed with error -22
    [    1.350831] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    1.359839] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
    [    1.367578] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
    [    1.375505] console [ttyO0] enabled, bootconsole disabled
    [    1.375505] console [ttyO0] enabled, bootconsole disabled
    [    1.388047] [drm] Initialized drm 1.1.0 20060810
    [    1.406642] brd: module loaded
    [    1.416955] loop: module loaded
    [    1.420435] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.427741] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.435028] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.442312] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.449594] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.464100] bone-capemgr bone_capemgr.8: Baseboard: 'A335BNLT,0A5A,1613BBBK1042'
    [    1.471944] bone-capemgr bone_capemgr.8: compatible-baseboard=ti,beaglebone-black
    [    1.479841] bone-capemgr bone_capemgr.8: Skipping disabled cape with part# BB-BONE-EMMC-2G
    [    1.488540] bone-capemgr bone_capemgr.8: Skipping disabled cape with part# BB-BONELT-HDMI
    [    1.527299] bone-capemgr bone_capemgr.8: slot #0: No cape found
    [    1.564404] bone-capemgr bone_capemgr.8: slot #1: No cape found
    [    1.601511] bone-capemgr bone_capemgr.8: slot #2: No cape found
    [    1.638622] bone-capemgr bone_capemgr.8: slot #3: No cape found
    [    1.644886] bone-capemgr bone_capemgr.8: slot #4: specific override
    [    1.651490] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 4
    [    1.659530] bone-capemgr bone_capemgr.8: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
    [    1.669679] bone-capemgr bone_capemgr.8: slot #5: specific override
    [    1.676283] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 5
    [    1.684321] bone-capemgr bone_capemgr.8: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
    [    1.694380] bone-capemgr bone_capemgr.8: slot #6: specific override
    [    1.700983] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 6
    [    1.709023] bone-capemgr bone_capemgr.8: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
    [    1.719391] bone-capemgr bone_capemgr.8: Skipping loading of disabled cape with part# BB-BONE-EMMC-2G
    [    1.729074] bone-capemgr bone_capemgr.8: Skipping loading of disabled cape with part# BB-BONELT-HDMI
    [    1.738850] bone-capemgr bone_capemgr.8: initialized OK.
    [    1.744471] bone-capemgr bone_capemgr.8: loader: before slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.753326] bone-capemgr bone_capemgr.8: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.764149] OneNAND driver initializing
    [    1.769788] usbcore: registered new interface driver cdc_ether
    [    1.776026] usbcore: registered new interface driver rndis_host
    [    1.782334] bone-capemgr bone_capemgr.8: loader: after slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.791221] usbcore: registered new interface driver cdc_ncm
    [    1.797209] bone-capemgr bone_capemgr.8: slot #6: Requesting firmware 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version '00A0'
    [    1.812335] usbcore: registered new interface driver cdc_acm
    [    1.818316] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    1.826706] Initializing USB Mass Storage driver...
    [    1.831877] bone-capemgr bone_capemgr.8: slot #6: dtbo 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
    [    1.843338] usbcore: registered new interface driver usb-storage
    [    1.849654] USB Mass Storage support registered.
    [    1.854853] bone-capemgr bone_capemgr.8: slot #6: #2 overlays
    [    1.863152] platform 4830e000.fb: alias fck already exists
    [    1.869237] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    1.875847] bone-capemgr bone_capemgr.8: slot #6: Applied #2 overlays.
    [    1.882742] bone-capemgr bone_capemgr.8: loader: done slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.891785] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
    [    1.897038] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
    [    1.906327] musb-hdrc musb-hdrc.0.auto: *** mode=3
    [    1.911408] musb-hdrc musb-hdrc.0.auto: *** power=250
    [    1.917502] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
    [    1.922807] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
    [    1.931831] musb-hdrc musb-hdrc.1.auto: *** mode=1
    [    1.936904] musb-hdrc musb-hdrc.1.auto: *** power=250
    [    1.942221] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    1.948685] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [    1.957200] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.964340] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.971918] usb usb1: Product: MUSB HDRC host driver
    [    1.977139] usb usb1: Manufacturer: Linux 3.8.13-bone28 musb-hcd
    [    1.983445] usb usb1: SerialNumber: musb-hdrc.1.auto
    [    1.989815] hub 1-0:1.0: USB hub found
    [    1.993892] hub 1-0:1.0: 1 port detected
    [    1.999405] mousedev: PS/2 mouse device common for all mice
    [    2.007937] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    2.015444] 44e3e000.rtc: already running
    [    2.019952] i2c /dev entries driver
    [    2.025396] pps_ldisc: PPS line discipline registered
    [    2.030864] Driver for 1-wire Dallas network protocol.
    [    2.038194] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.046177] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com
    [    2.055162] cpuidle: using governor ladder
    [    2.059524] cpuidle: using governor menu
    [    2.064178] omap_hsmmc mmc.4: of_parse_phandle_with_args of 'reset' failed
    [    2.071417] omap_hsmmc mmc.4: Failed to get rstctl; not using any
    [    2.078307] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [    2.085526] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [    2.092912] mmc.4 supply vmmc_aux not found, using dummy regulator
    [    2.100362] omap_hsmmc mmc.4: pins are not configured from the driver
    [    2.135369] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.7
    [    2.147119] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.7) status -22
    [    2.154427] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
    [    2.163422] leds-gpio gpio-leds.7: pins are not configured from the driver
    [    2.172094] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.178932] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
    [    2.186214] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    2.194921] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    2.201703] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
    [    2.209016] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
    [    2.217392] usbcore: registered new interface driver usbhid
    [    2.223326] usbhid: USB HID core driver
    [    2.229348] ashmem: initialized
    [    2.233288] logger: created 256K log 'log_main'
    [    2.238612] logger: created 256K log 'log_events'
    [    2.243970] logger: created 256K log 'log_radio'
    [    2.249199] logger: created 256K log 'log_system'
    [    2.258117] TCP: cubic registered
    [    2.261850] NET: Registered protocol family 10
    [    2.268094] NET: Registered protocol family 17
    [    2.272875] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    2.281753] Key type dns_resolver registered
    [    2.286738] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    2.294972] ThumbEE CPU extension supported.
    [    2.299558] mmc0: new high speed SDHC card at address 59b4
    [    2.305358] Registering SWP/SWPB emulation handler
    [    2.311486] registered taskstats version 1
    [    2.316752] mmcblk0: mmc0:59b4 00000 7.47 GiB 
    [    2.323985] tilcdc 4830e000.fb: No power control GPIO
    [    2.332306]  mmcblk0: p1 p2
    [    2.435552] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    2.456263] tilcdc 4830e000.fb: found TDA19988
    [    2.461779] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    2.468738] [drm] No driver support for vblank timestamp query.
    [    2.475115] [drm] forcing HDMI-A-1 connector ON
    [    2.561943] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
    [    2.561956] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    2.561967] usb 1-1: Product: USB2.0 Hub
    [    2.563418] hub 1-1:1.0: USB hub found
    [    2.563730] hub 1-1:1.0: 4 ports detected
    [    2.589833] tilcdc 4830e000.fb: Not sure which CEA mode to set, leaving as DVI
    [    2.603758] Console: switching to colour frame buffer device 100x30
    [    2.649318] tilcdc 4830e000.fb: fb0:  frame buffer device
    [    2.654992] tilcdc 4830e000.fb: registered panic notifier
    [    2.660688] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [    2.716803] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    2.723234] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    2.740413] libphy: 4a101000.mdio: probed
    [    2.744697] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    2.754604] Detected MACID = c8:a0:30:b0:71:f9
    [    2.759319] cpsw 4a100000.ethernet: NAPI disabled
    [    2.766456] omap_rtc 44e3e000.rtc: setting system clock to 2013-10-24 16:21:57 UTC (1382631717)
    [    2.830017] tilcdc 4830e000.fb: timeout waiting for framedone
    [    2.841929] usb 1-1.1: new low-speed USB device number 3 using musb-hdrc
    [    2.854094] net eth0: initializing cpsw version 1.12 (0)
    [    2.861919] net eth0: phy found : id is : 0x7c0f1
    [    2.866900] libphy: PHY 4a101000.mdio:01 not found
    [    2.872034] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [    2.884246] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.952533] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c31d
    [    2.959758] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    2.967420] usb 1-1.1: Product: USB Keyboard
    [    2.971902] usb 1-1.1: Manufacturer: Logitech
    [    2.983255] input: Logitech USB Keyboard as /devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/input/input1
    [    2.995609] hid-generic 0003:046D:C31D.0001: input: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input0
    [    3.017037] input: Logitech USB Keyboard as /devices/ocp.2/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.1/input/input2
    [    3.029316] hid-generic 0003:046D:C31D.0002: input: USB HID v1.10 Device [Logitech USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input1
    [    3.107571] usb 1-1.2: new full-speed USB device number 4 using musb-hdrc
    [    3.196544] usb 1-1.2: New USB device found, idVendor=0eef, idProduct=0001
    [    3.203791] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    3.211457] usb 1-1.2: Product: USB TouchController
    [    3.216575] usb 1-1.2: Manufacturer: eGalax Inc.
    [    5.939867] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
    [    5.945900] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.959077] Sending DHCP requests ., OK
    [    6.973056] IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.23
    [    6.981367] IP-Config: Complete:
    [    6.984800]      device=eth0, hwaddr=c8:a0:30:b0:71:f9, ipaddr=192.168.1.23, mask=255.255.255.0, gw=192.168.1.1
    [    6.995372]      host=192.168.1.23, domain=, nis-domain=(none)
    [    7.001488]      bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
    [    7.008509]      nameserver0=195.34.133.21, nameserver1=212.186.211.21
    [    7.015563] ALSA device list:
    [    7.018677]   No soundcards found.
    [    7.023050] Freeing init memory: 292K
    Loading, please wait...
    [    7.105850] udevd[96]: starting version 175
    modprobe: chdir(3.8.13-bone28): No such file or directory
    Begin: Loading essential drivers ... done.
    Begin: Running /scripts/init-premount ... done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... modprobe: chdir(3.8.13-bone28): No such file or directory
    done.
    modprobe: chdir(3.8.13-bone28): No such file or directory
    [    8.434087] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    Begin: Running /scripts/local-bottom ... done.
    done.
    Begin: Running /scripts/init-bottom ... done.
    INIT: version 2.88 booting
    [info] Using makefile-style concurrent boot in runlevel S.
    [....] Starting the hotplug events dispatcher: udevd[   10.488678] udevd[316]: starting version 175
    . ok 
    udevd[316]: unknown key 'BUS' in /lib/udev/rules.d/99-touchscreen.rules:2
    
    udevd[316]: invalid rule '/lib/udev/rules.d/99-touchscreen.rules:2'
    
    [....] Synthesizing the initial hotplug events...udevd[316]: unknown key 'BUS' in /lib/udev/rules.d/99-touchscreen.rules:2
    
    udevd[316]: invalid rule '/lib/udev/rules.d/99-touchscreen.rules:2'
    
    done.
    [ ok ] Waiting for /dev to be fully populated...done.
    [ ok ] Setting preliminary keymap...done.
    [ ok ] Setting parameters of disc: (none).
    [ ok ] Activating swap...done.
    [   14.523952] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [....] Checking root file system...fsck from util-linux 2.20.1
    rootfs: clean, 235273/485760 files, 1348625/1943040 blocks
    done.
    [   14.819948] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
    [info] Loading kernel module evdev.
    [info] Loading kernel module hid-multitouch.
    [ ok ] Cleaning up temporary files... /tmp.
    [ ok ] Activating lvm and md swap...done.
    [....] Checking file systems...fsck from util-linux 2.20.1
    done.
    [ ok ] Mounting local filesystems...done.
    [ ok ] Activating swapfile swap...done.
    [ ok ] Cleaning up temporary files....
    [ ok ] Setting kernel variables ...done.
    [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
    Copyright 2004-2011 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/
    
    Listening on LPF/eth0/c8:a0:30:b0:71:f9
    Sending on   LPF/eth0/c8:a0:30:b0:71:f9
    Sending on   Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
    DHCPREQUEST on eth0 to 255.255.255.255 port 67
    DHCPOFFER from 192.168.1.1
    DHCPACK from 192.168.1.1
    RTNETLINK answers: File exists
    bound to 192.168.1.23 -- renewal in 241409 seconds.
    done.
    [ ok ] Starting rpcbind daemon....
    [....] Starting NFS common utilities: statd[   22.507667] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [ ok pd.
    [ ok ] Cleaning up temporary files....
    [ ok ] Setting up ALSA...done.
    [info] Setting console screen modes.
    setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
    [info] Skipping font and keymap setup (handled by console-setup).
    [ ok ] Setting up console font and keymap...done.
    [ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
    INIT: Entering runlevel: 2
    [info] Using makefile-style concurrent boot in runlevel 2.
    Not starting X display manager (xdm); it is not the default display manager.
    [   25.042639]  gadget: using random self ethernet address
    [   25.074889] usb0: MAC a6:c4:17:93:c7:a8
    [   25.079004] usb0: HOST MAC c8:a0:30:b0:71:fb
    [   25.142644]  gadget: Mass Storage Function, version: 2009/09/11
    [   25.148912]  gadget: Number of LUNs=1
    [   25.203185]  lun0: LUN: removable file: /dev/mmcblk0p1
    [   25.238411]  gadget: Multifunction Composite Gadget
    [   25.263429]  gadget: g_multi ready
    [   25.279403] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   25.308106] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
    [   25.342040] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   25.349222] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   25.356800] usb usb2: Product: MUSB HDRC host driver
    [   25.362036] usb usb2: Manufacturer: Linux 3.8.13-bone28 musb-hcd
    [   25.368335] usb usb2: SerialNumber: musb-hdrc.0.auto
    [ ok ] Starting rpcbind daemon...[....] Already running..
    [   25.398952] hub 2-0:1.0: USB hub found
    [....] Starting NFS common utilities: statd idmapd[   25.422813] hub 2-0:1.0: 1 port detected
    . ok 
    [ ok ] Starting enhanced syslogd: rsyslogd.
    [ ok ] Starting deferred execution scheduler: atd.
    [ ok ] Starting periodic command scheduler: cron.
    [ ok ] Starting system message bus: dbus.
    [....] Starting MTA:[   27.753337] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [ ok ] Starting Light Display Manager: lightdm.
    [   29.398395] tilcdc 4830e000.fb: timeout waiting for framedone
    [ ok 4.
    [ ok ] Loading cpufreq kernel modules...done (none).
    [ ok ] CPUFreq Utilities: Setting ondemand CPUFreq governor...CPU0...done.
    Starting printer spooler: lpd.
    saned disabled; edit /etc/default/saned
    [ ok ] Starting OpenBSD Secure Shell server: sshd.
    Starting very small Busybox based DHCP server: /usr/sbin/udhcpd already running.
    udhcpd.
    /etc/rc.local: 15: /etc/rc.local: cannot create /sys/module/xeno_nucleus/parameters/xenomai_gid: Directory nonexistent
    [FAIL] startpar: service(s) returned failure: rc.local ... failed!
    
    Debian GNU/Linux 7 arm ttyO0
    
    arm login: 
    
     
    

    EDIT2: I get also:

    root@arm:~# /etc/init.d/rc.pvr start
    /usr/local/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=4)

    I tried different configurations with PM_RUNTIME=0 and PM_RUNTIME=1 getting always the same errors. I think this has no effect for Kernel 3.8.

  • Hi,

    Thanks for the confirmation on frame buffer.

    If you refer to the graphics SDK 04.10.00.01 release notes, it has been validated against 3.2 kernel.

    http://processors.wiki.ti.com/index.php/RN_4_10_00_01#Kernel.28Linux_PSP.29_versions_supported_or_used_for_validation

    Also good to see you are following other  threads where users have got the graphics SDK working on their setups with our suggestion -

    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/275714.aspx

    Were you able to try as mentioned in above thread?

    Also please see other threads below where users have got graphics SDK working on their setups  -

    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/283259.aspx

    http://e2e.ti.com/support/arm/sitara_arm/f/791/p/275648/964119.aspx

    http://e2e.ti.com/support/arm/sitara_arm/f/791/p/284135/991262.aspx

    If you are still very particular on 3.8 only, we can help you with relevant patches but please note that the 04.10.00.01 release was validated against the kernel as mentioned in the release notes.

    Thanks,

    Prathap.

     

     

  • Hi,

    I have not got it working using the above threads and steps for the 3.2 kernel. RobertCNelson told me that there are some bits are missing in the 3.8 kernel and that the GPU seems to be disabled. It would be great if you could provide patches for the 3.8 kernel. As mentioned in the beginning I use RoberCNelson linux-dev scripts with the 3.8.13-bone23 kernel

    Regards

    Alexander

  • There is a lot of people in the beaglebone community that need the assistance of TI on this subject.... We really love this product and this community! Please help us. 

    We are actually working with 3.8 kernel but if we have to move to the 3.12 or 3.13 kernel we will do it. But without you, we can't... 

  • I have to strongly support what Michael Says.

    BeagleBone Black is a board used by a lot of people, and your support for a SGX driver  compatible with a recent kernel (>= 3.8.x ) where all the other hardware is working is crucial to me and a lot of other people planning to use it.

    Giuseppe

  • I have to also support what both these gentlemen say, 

    I am rather surprised that TI has come out with this fantastic processor that offers a lot of options for it to be used, only to have crippled by poor software/driver development. I think most people that get beagle bone black they would want to design gfx  accelerated programs. If you guys could put a more effort in the driver development than in putting colored screens in calculators that don't need it, that would be fantastic.

  • Hi Alexander,

    Please find the patches attached.  These are to be applied againt kernel sources you are using.

    There is no patch for graphics SDK but patches are for kernel sources - SGX DT node addition & deasserting SGX reset.

    If you have kernel sources with working frame buffer support on your device, then SGX should also work with the attached patches applied.

    Thanks,

    Prathap.

    sgx_kernel_patches.tar.gz
  • Hi Prathap,

    Which kernel version are these patches for?

    Regards,

    John

  • Hi, I have tested the patch now and seems not to fit 100% to my kernel. However I was able to do the patch by hand and got everything to compile. But I still get some errors:

    8715.debug.txt
    linuxcnc@arm:~$ sudo /etc/init.d/rc.pvr start /usr/local/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=4)
    
    linuxcnc@arm:~$ sudo pvrsrvctl --start --no-module pvrsrvctl: SrvInit failed (already initialized?) (err=4)
    
    linuxcnc@arm:~$ /opt/gfx_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so
    
    ------
    ARM CPU information
    processor : 0
    model name : ARMv7 Processor rev 2 (v7l)
    BogoMIPS : 363.67
    Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x3
    CPU part : 0xc08
    CPU revision : 2
    
    Hardware : Generic AM33XX (Flattened Device Tree)
    Revision : 0000
    Serial : 0000000000000000
    ------
    SGX driver information
    Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /home/alexander/bin/linuxcnc2/Graphics_SDK_4_10_00_01_hardfp/GFX_Linux_KM
    System Version String: None
    ------
    Framebuffer settings
    
    mode "800x480"
    geometry 800 480 800 480 16
    timings 0 0 0 0 0 0 0
    extsync true
    accel true
    rgba 5/11,6/5,5/0,0/0
    endmode
    
    Frame buffer device information:
    Name : 
    Address : 0x9b300000
    Size : 768000
    Type : PACKED PIXELS
    Visual : TRUECOLOR
    XPanStep : 1
    YPanStep : 1
    YWrapStep : 0
    LineLength : 1600
    Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module Size Used by
    omaplfb 16623 1 
    pvrsrvkm 179036 1 omaplfb
    g_multi 56821 0 
    libcomposite 17153 1 g_multi
    nfsd 234170 2 
    exportfs 3701 1 nfsd
    hid_multitouch 7690 0 
    usbtouchscreen 11939 0 
    evdev 8634 4 
    ------
    Boot settings
    console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=462M ip=dhcp earlyprintk=serial vram=50M
    ------
    Linux Kernel version
    Linux arm 3.8.13xenomai-bone28 #3 SMP Tue Oct 29 15:00:54 CET 2013 armv7l GNU/Linux
    
    
    
    linuxcnc@arm:~$ /opt/gfxsdkdemos/ogles/OGLESCoverflow
    Can't open keypad input device (/dev/input/event0)
    Exit message has been set to: "PVRShell: Unable to initialise EGL
    ".
    PVRShell: EGL Error (EGL_BAD_ALLOC)
    InitAPI failed!
    PVRShell: Unable to initialise EGL
    
    
    
    linuxcnc@arm:~$ /opt/gfxsdkdemos/ogles/OGLESCoverflow
    Can't open keypad input device (/dev/input/event0)
    Exit message has been set to: "PVRShell: Unable to initialise EGL
    ".
    PVRShell: EGL Error (EGL_BAD_ALLOC)
    InitAPI failed!
    PVRShell: Unable to initialise EGL
    linuxcnc@arm:~$ /opt/gfxsdkdemos/ogles2/OGLES2Coverflow
    Can't open keypad input device (/dev/input/event0)
    libEGL warning: DRI2: failed to authenticate
    PVRShell: EGL 1.4 initialized
    Exit message has been set to: "PVRShell: Unable to create surface
    ".
    InitAPI failed!
    PVRShell: Unable to create surface
    
    
    
    linuxcnc@arm:~$ sudo modprobe omaplfb
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2346.930820] Internal error: Oops: 5 [#1] SMP ARM
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.011469] Process modprobe (pid: 2956, stack limit = 0xdb7cc240)
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.017930] Stack: (0xdb7cde18 to 0xdb7ce000)
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.031433] de00: db7b9400 db5246c0
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.048732] de20: 00000032 dc402600 00000000 00000000 000c8000 bf0becfc c009ca9c 60000013
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.057502] de40: c09712f4 ffffffff bf0bfd5c bf0bfd5c db7cdf58 00000000 00000001 bf0bfda4
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.066175] de60: bf0c2000 bf0c2008 db7cc000 c0008890 bf0c2000 00000000 00000001 bf0bfd5c
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.074854] de80: bf0bfd5c db7cdf58 00000000 00000001 bf0bfda4 00000001 db7b9cc0 c0089640
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.083494] dea0: bf0bfd68 00007fff c0085548 c09b34f4 c0086b30 00000028 00000000 bf0bfd68
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.092129] dec0: bf0bfeb0 000000c7 c061d4b0 dd75a22c db7cdeec b6ec3d50 20000013 c0885034
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.100734] dee0: db7cdf1c c0612a98 dd75c000 b6ede000 00000b05 00000000 00000000 00000000
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.109355] df00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.117950] df20: 00000000 00000000 00000000 00000000 000000d2 b6ed6000 00008b85 b6ec3d50
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.126546] df40: 00000080 c000da04 db7cc000 00000000 00000000 c00899bc dd754000 00008b85
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.150556] df60: dd759c14 dd759a64 dd75c3b4 00001ecc 0000268c 00000000 00000000 00000000
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.200238] df80: 00000027 00000028 00000015 00000019 00000012 00000000 00000000 b6f1a230
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.247328] dfa0: b6f1a340 c000d880 00000000 b6f1a230 b6ed6000 00008b85 b6ec3d50 00000002
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.290917] dfc0: 00000000 b6f1a230 b6f1a340 00000080 00000000 b6ec3d50 00008b85 00000000
    linuxcnc@arm:~$ 
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.328586] dfe0: 00040000 bed60414 b6ebdb07 b6e40d94 60000010 b6ed6000 00000000 00000000
    
    Message from syslogd@arm at Oct 29 20:57:08 ...
    kernel:[ 2347.411419] Code: e3e00000 ebffed06 e1a00004 e8bd8038 (e5902000) 
    

  • Hi,

    Do you see any errors/warnings on bootup wrt SGX dt? Hope you have loaded the updated dtb after updating dtsi file with sgx node (as in first patch)?

    Can you please make sure of that by putting prints in function - omap_sgx_init_of (arch/arm/mach-omap2/gpu.c) , as you can see, this function is getting added as part of second patch.

    Also put prints in beginning/end of the function. If you see this function is going through fine without any errors or warnings, it will ensure that your SGX DT integration is OK.

    If this is fine, then next step is to build graphics SDK with PM_RUNTIME=1 option only against this kernel & try.

    Thanks,

    Prathap.

  • I actually forgot to update the dtb files. However I have done that yet and I get the NULL pointer error again. Also with PM_RUNTIME=1 enabled again:
    7737.debug2.txt
    root@arm:~# /etc/init.d/rc.pvr start
    /etc/init.d/rc.pvr: 34: /etc/init.d/rc.pvr: /usr/local/bin/pvrsrvctl: not found
    root@arm:~# pvrsrvctl --start --no-module
    -bash: /usr/local/bin/pvrsrvctl: No such file or directory
    root@arm:~# /opt/gfx_check.sh 
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so
    
    ------
    ARM CPU information
    processor       : 0
    model name      : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 363.67
    Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2
    
    Hardware        : Generic AM33XX (Flattened Device Tree)
    Revision        : 0000
    Serial          : 0000000000000000
    ------
    SGX driver information
    Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /home/alexander/bin/linuxcnc2/Graphics_SDK_4_10_00_01/GFX_Linux_KM
    System Version String: None
    ------
    Framebuffer settings
    
    mode "800x480"
        geometry 800 480 800 480 16
        timings 0 0 0 0 0 0 0
        accel true
        rgba 5/11,6/5,5/0,0/0
    endmode
    
    Frame buffer device information:
        Name        : 
        Address     : 0x9b300000
        Size        : 768000
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 1600
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    pvrsrvkm              178486  0 
    g_multi                56821  0 
    libcomposite           17153  1 g_multi
    nfsd                  234170  2 
    exportfs                3701  1 nfsd
    hid_multitouch          7690  0 
    usbtouchscreen         11939  0 
    evdev                   8634  4 
    ------
    Boot settings
    console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=462M ip=dhcp earlyprintk=serial vram=50M
    ------
    Linux Kernel version
    Linux arm 3.8.13xenomai-bone28 #3 SMP Tue Oct 29 15:00:54 CET 2013 armv7l GNU/Linux
    root@arm:~# sudo modprobe omaplfb
    [  281.364771] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [  281.373396] pgd = dc700000
    [  281.376289] [00000000] *pgd=00000000
    [  281.380090] Internal error: Oops: 5 [#1] SMP ARM
    [  281.384931] Modules linked in: omaplfb(O+) pvrsrvkm(O) g_multi libcomposite nfsd exportfs hid_multitouch usbtouchscreen evdev
    [  281.396866] CPU: 0    Tainted: G           O  (3.8.13xenomai-bone28 #3)
    [  281.403962] PC is at AllocateDeviceID+0x0/0x48 [pvrsrvkm]
    [  281.409664] LR is at PVRSRVRegisterDCDeviceKM+0xf0/0x178 [pvrsrvkm]
    [  281.416221] pc : [<bf08a640>]    lr : [<bf0866a8>]    psr: 40000013
    [  281.416221] sp : dc3b5e18  ip : db53ca98  fp : 0000001c
    [  281.428219] r10: 000bb800  r9 : 00000000  r8 : 00000001
    [  281.433681] r7 : db75e898  r6 : 00000000  r5 : db75e804  r4 : 00000000
    [  281.440505] r3 : db53c9c0  r2 : 00000001  r1 : db53c9c8  r0 : 00000000
    [  281.447331] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [  281.454792] Control: 10c5387d  Table: 9c700019  DAC: 00000015
    [  281.460799] Process modprobe (pid: 2913, stack limit = 0xdc3b4240)
    [  281.467260] Stack: (0xdc3b5e18 to 0xdc3b6000)
    [  281.472068] 5e00:                                                       db7c7a80 db53c9c0
    [  281.480741] 5e20: 00000032 db75e800 00000000 00000000 000c8000 bf0becfc c009ca9c 60000013
    [  281.489353] 5e40: c09712f4 ffffffff bf0bfd50 bf0bfd50 dc3b5f58 00000000 00000001 bf0bfd98
    [  281.497954] 5e60: bf0c2000 bf0c2008 dc3b4000 c0008890 bf0c2000 00000000 00000001 bf0bfd50
    [  281.506550] 5e80: bf0bfd50 dc3b5f58 00000000 00000001 bf0bfd98 00000001 db7c7b40 c0089640
    [  281.515146] 5ea0: bf0bfd5c 00007fff c0085548 00000010 c0086b30 00000028 00000000 bf0bfd5c
    [  281.523744] 5ec0: bf0bfea4 000000c7 c061d4b0 dd759210 dc3b5eec b6f17d50 20000013 c0885034
    [  281.532341] 5ee0: dc3b5f1c c0612a98 dd75b000 b6f32000 00000ae9 00000000 00000000 00000000
    [  281.540935] 5f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  281.549529] 5f20: 00000000 00000000 00000000 00000000 000000d2 b6f2a000 00008b69 b6f17d50
    [  281.558125] 5f40: 00000080 c000da04 dc3b4000 00000000 00000000 c00899bc dd753000 00008b69
    [  281.566721] 5f60: dd758bf8 dd758a4a dd75b398 00001ec0 00002680 00000000 00000000 00000000
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.380090] Internal error: Oops: 5 [#1] SMP ARM
    
    [  281.594365] 5f80: 00000027 00000028 00000015 00000019 00000012 00000000 00000000 b6f6e230
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.460799] Process modprobe (pid: 2913, stack limit = 0xdc3b4240)
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.467260] Stack: (0xdc3b5e18 to 0xdc3b6000)
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.472068] 5e00:                                                       db7c7a80 db53c9c0
    [  281.637426] 5fa0: b6f6e340 c000d880 00000000 b6f6e230 b6f2a000 00008b69 b6f17d50 00000002
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.480741] 5e20: 00000032 db75e800 00000000 00000000 000c8000 bf0becfc c009ca9c 60000013
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.489353] 5e40: c09712f4 ffffffff bf0bfd50 bf0bfd50 dc3b5f58 00000000 00000001 bf0bfd98
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.497954] 5e60: bf0c2000 bf0c2008 [  281.684097] 5fc0: 00000000 b6f6e230 b6f6e340 00000080 00000000 b6f17d50 00008b69 00000000
    dc3b4000 c0008890 bf0c2000 00000000 00000001 bf0bfd50
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.506550] 5e80: bf0bfd50 dc3b5f58 00000000 00000001 bf0bfd98 00000001 db7c7b40 c0089640
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.515146] 5ea0: bf0bfd5c 00007fff c0085548 00000010 c008[  281.721704] 5fe0: 00040000 bee28954 b6f11b07 b6e94d94 80000010 b6f2a000 e28dd004 e8bd4ff0
    6b30 00000028 00[  281.731366] [<bf08a640>] (AllocateDeviceID+0x0/0x48 [pvrsrvkm]) from [<bf0866a8>] (PVRSRVRegisterDCDeviceKM+0xf0/0x178 [pvrsrvkm])
    [  281.744912] [<bf0866a8>] (PVRSRVRegisterDCDeviceKM+0xf0/0x178 [pvrsrvkm]) from [<bf0becfc>] (OMAPLFBInit+0x410/0x578 [omaplfb])
    
    
    Message fr[  281.758295] [<bf0becfc>] (OMAPLFBInit+0x410/0x578 [omaplfb]) from [<bf0c2008>] (OMAPLFB_Init+0x8/0x2c [omaplfb])
    om syslogd@arm a[  281.770362] [<bf0c2008>] (OMAPLFB_Init+0x8/0x2c [omaplfb]) from [<c0008890>] (do_one_initcall+0x90/0x160)
    t Oct 30 12:15:4[  281.781787] [<c0008890>] (do_one_initcall+0x90/0x160) from [<c0089640>] (load_module+0x1944/0x1bf4)
    2 ...
     kernel:[  281.792674] [<c0089640>] (load_module+0x1944/0x1bf4) from [<c00899bc>] (sys_init_module+0xcc/0xec)
    [  281.523744] 5[  281.803474] [<c00899bc>] (sys_init_module+0xcc/0xec) from [<c000d880>] (ret_fast_syscall+0x0/0x30)
    ec0: bf0bfea4 000000c7 c061d4b0 dd759210 dc3b5eec b6f17d50 20000013 c0885034
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  [  281.826260] Code: e3e00000 ebffed06 e1a00004 e8bd8038 (e5902000) 
    281.532341] 5ee0[  281.833490] ---[ end trace b7915ec03b4e3b7b ]---
    : dc3b5f1c c0612a98 dd75b000 b6f32000 00000ae9 00000000 00000000 00000000
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.540935] 5f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.549529] 5f20: 00000000 00000000 00000000 00000000 000000d2 b6f2a000 00008b69 b6f17d50
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.558125] 5f40: 00000080 c000da04 dc3b4000 00000000 00000000 c00899bc dd753000 00008b69
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.566721] 5f60: dd758bf8 dd758a4a dd75b398 00001ec0 00002680 00000000 00000000 00000000
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.594365] 5f80: 00000027 00000028 00000015 00000019 00000012 00000000 00000000 b6f6e230
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.637426] 5fa0: b6f6e340 c000d880 00000000 b6f6e230 b6f2a000 00008b69 b6f17d50 00000002
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.684097] 5fc0: 00000000 b6f6e230 b6f6e340 00000080 00000000 b6f17d50 00008b69 00000000
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.721704] 5fe0: 00040000 bee28954 b6f11b07 b6e94d94 80000010 b6f2a000 e28dd004 e8bd4ff0
    
    Message from syslogd@arm at Oct 30 12:15:42 ...
     kernel:[  281.826260] Code: e3e00000 ebffed06 e1a00004 e8bd8038 (e5902000) 
    
    Can you please tell me what exact kernel this patch was made for?
  • Hi,

    Thanks a lot for sharing the logs. Appreciate it. This really helps in providing right inputs/pointers.

    Appreciate your cooperation on this.

    Can you please apply the attached patch to graphics SDK? Apologize for missing this earlier. This  change is required for interfacing with the SGX DT node you have integrated in kernel now.

    Also please put prints as suggested earlier & observe kernel bootup logs for the prints so that it helps you to know if there are any issues with your SGX DT integration like missing loading the updated dtb with sgx etc.

    Please stick with release build & PM_RUNTIME=1 whenever you are trying.

    Thanks,

    Prathap.

    Change-for-interfacing-with-SGX-DT-node.patch.tar.gz
  • Hi that worked,

    Now I have another problem. The Xorg files are there but bash says that they are missing. Don't know why. Here is again my log: 

    5468.debug3.txt
     
    Linux arm 3.8.13xenomai-bone27 #4 SMP Tue Oct 1 17:44:04 CEST 2013 armv7l
    
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Wed Oct 30 22:35:28 2013 from 10.42.0.1
    Environment set up for linuxcnc
    linuxcnc@arm:~$ sudo /etc/init.d/335x-demo 
    0x10205
    release8.x
    installing 8.x SGX release user libraries
    
    Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.10@2359475' on target
    
    File system installation root is /
    
    Uninstalling existing version sgxddk_1.10@2359475
    Uninstallation completed.
    boot script rc.pvr -> /etc/init.d/rc.pvr
    kernel module drm.ko -> /lib/modules/3.8.13xenomai-bone27/extra/drm.ko
    kernel module pvrsrvkm.ko -> /lib/modules/3.8.13xenomai-bone27/extra/pvrsrvkm.ko
    shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.10.2359475
    shared library libusc.so -> /usr/lib/libusc.so.1.10.2359475
    shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.10.2359475
    shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.10.2359475
    shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.10.2359475
    shared library libEGL.so -> /usr/lib/libEGL.so.1.10.2359475
    shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.10.2359475
    shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.10.2359475
    shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
    shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
    shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
    shared library libpvrPVR2D_DRIWSEGL.so -> /usr/lib/libpvrPVR2D_DRIWSEGL.so.1.10.2359475
    shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.10.2359475
    shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.10.2359475
    shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.10.2359475
    binary pvrsrvctl -> /usr/local/bin/pvrsrvctl
    binary sgx_init_test -> /usr/local/bin/sgx_init_test
    binary services_test -> /usr/local/bin/services_test
    binary sgx_blit_test -> /usr/local/bin/sgx_blit_test
    binary sgx_clipblit_test -> /usr/local/bin/sgx_clipblit_test
    binary sgx_flip_test -> /usr/local/bin/sgx_flip_test
    binary sgx_render_flip_test -> /usr/local/bin/sgx_render_flip_test
    binary pvr2d_test -> /usr/local/bin/pvr2d_test
    shader glsltest1_vertshader.txt -> /usr/local/bin/glsltest1_vertshader.txt
    shader glsltest1_fragshaderA.txt -> /usr/local/bin/glsltest1_fragshaderA.txt
    shader glsltest1_fragshaderB.txt -> /usr/local/bin/glsltest1_fragshaderB.txt
    binary eglinfo -> /usr/local/bin/eglinfo
    binary xeglinfo -> /usr/local/bin/xeglinfo
    binary xgles1test1 -> /usr/local/bin/xgles1test1
    binary xmultiegltest -> /usr/local/bin/xmultiegltest
    binary xgles1_texture_stream -> /usr/local/bin/xgles1_texture_stream
    binary xgles2test1 -> /usr/local/bin/xgles2test1
    binary xgles2_texture_stream -> /usr/local/bin/xgles2_texture_stream
    X.Org PVR DDX video module pvr_drv.so -> /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
    X.Org configuration file xorg.conf -> /usr/local/XSGX/etc/xorg.conf
    
    Installation complete!
    You may now reboot your target.
    
    /etc/init.d/335x-demo: 21: /etc/init.d/335x-demo: [[: not found
    linuxcnc@arm:~$ /opt/gfx_check.sh 
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_DRIWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so
    
    ------
    ARM CPU information
    processor       : 0
    model name      : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 363.67
    Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2
    
    Hardware        : Generic AM33XX (Flattened Device Tree)
    Revision        : 0000
    Serial          : 0000000000000000
    ------
    SGX driver information
    cat: /proc/pvr/version: No such file or directory
    ------
    Framebuffer settings
    
    mode "800x480"
        geometry 800 480 800 480 16
        timings 0 0 0 0 0 0 0
        accel true
        rgba 5/11,6/5,5/0,0/0
    endmode
    
    Frame buffer device information:
        Name        : 
        Address     : 0x9b400000
        Size        : 768000
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 1600
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    g_multi                56889  0 
    libcomposite           17165  1 g_multi
    nfsd                  234233  2 
    exportfs                3701  1 nfsd
    hid_multitouch          7690  0 
    usbtouchscreen         11939  0 
    evdev                   8658  4 
    ------
    Boot settings
    console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=462M ip=dhcp earlyprintk=serial vram=50M
    ------
    Linux Kernel version
    Linux arm 3.8.13xenomai-bone27 #4 SMP Tue Oct 1 17:44:04 CEST 2013 armv7l GNU/Linux
    linuxcnc@arm:~$ /etc/init.d/rc.pvr start
    Loaded PowerVR consumer services.
    linuxcnc@arm:~$ /etc/init.d/rc.pvr: 14: /etc/init.d/rc.pvr: /usr/local/XSGX/bin/X: not found
    
    linuxcnc@arm:~$ file /usr/local/XSGX/bin/X
    /usr/local/XSGX/bin/X: symbolic link to `Xorg'
    linuxcnc@arm:~$ file /usr/local/XSGX/bin/Xorg
    /usr/local/XSGX/bin/Xorg: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
    

    My settings:

    make BUILD=release OMAPES=8.x FBDEV=yes SUPPORT_XORG=1 PM_RUNTIME=1 all

    sudo make BUILD=release OMAPES=8.x FBDEV=yes SUPPORT_XORG=1 PM_RUNTIME=1 install

    Regards

    Alexander

    EDIT: I have created some patches for the RobertCNelson kernel scripts and also corrected the patches work with this one:

    Kernel patches: 6012.kernel_patches.zip

    Patches to the linux-dev scripts (contains changes from above): 4213.linux_dev_patch.zip

    EDIT2: Ok that the X files where missing was somehow a problem with my SDK, I reinstalled it and the packages they where not missing anymore. However the X server did not work and hat a problem at startup: 

    2350.debug4.txt
     
    linuxcnc@arm:~$ lsmod
    Module                  Size  Used by
    g_multi                56821  0 
    libcomposite           17153  1 g_multi
    nfsd                  234170  2 
    exportfs                3701  1 nfsd
    hid_multitouch          7690  0 
    usbtouchscreen         11939  0 
    evdev                   8634  0 
    linuxcnc@arm:~$ sudo modprobe pvrsrvkm
    ERROR: could not insert 'pvrsrvkm': Unknown symbol in module, or unknown parameter (see dmesg)
    linuxcnc@arm:~$ dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.8.13xenomai-bone28 (alexander@thinkpad.site) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #4 SMP Fri Nov 1 15:31:13 CET 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] On node 0 totalpages: 118016
    [    0.000000] free_area_init_node: node 0, pgdat c09af840, node_mem_map c0a2a000
    [    0.000000]   Normal zone: 924 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 117092 pages, LIFO batch:31
    [    0.000000] AM335X ES1.0 (neon )
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c0dda000 s12288 r8192 d12288 u32768
    [    0.000000] pcpu-alloc: s12288 r8192 d12288 u32768 alloc=8*4096
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 117092
    [    0.000000] Kernel command line: console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=462M ip=dhcp earlyprintk=serial vram=50M
    [    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] __ex_table already sorted, skipping sort
    [    0.000000] allocated 946176 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Memory: 461MB = 461MB total
    [    0.000000] Memory: 453576k/453576k available, 19512k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xdd000000 - 0xff000000   ( 544 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdce00000   ( 462 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08e6364   (9081 kB)
    [    0.000000]       .init : 0xc08e7000 - 0xc0930000   ( 292 kB)
    [    0.000000]       .data : 0xc0930000 - 0xc09b2800   ( 522 kB)
    [    0.000000]        .bss : 0xc09b2800 - 0xc0a29c00   ( 477 kB)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.010433] Calibrating delay loop... 363.67 BogoMIPS (lpj=354304)
    [    0.035945] pid_max: default: 32768 minimum: 301
    [    0.041059] Security Framework initialized
    [    0.045474] Mount-cache hash table entries: 512
    [    0.060096] Initializing cgroup subsys cpuacct
    [    0.064833] Initializing cgroup subsys memory
    [    0.069492] Initializing cgroup subsys blkio
    [    0.074142] CPU: Testing write buffer coherency: ok
    [    0.079862] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.085364] Setting up static identity map for 0x80617070 - 0x806170c8
    [    0.093880] Brought up 1 CPUs
    [    0.097070] SMP: Total of 1 processors activated (363.67 BogoMIPS).
    [    0.104942] devtmpfs: initialized
    [    0.172873] pinctrl core: initialized pinctrl subsystem
    [    0.178623] rstctl core: initialized rstctl subsystem
    [    0.184457] regulator-dummy: no parameters
    [    0.189329] NET: Registered protocol family 16
    [    0.195091] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.212662] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.221150] platform 49000000.edma: alias fck already exists
    [    0.227121] platform 49000000.edma: alias fck already exists
    [    0.233074] platform 49000000.edma: alias fck already exists
    [    0.240159] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [    0.240393] OMAP GPIO hardware version 0.1
    [    0.246201] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [    0.247505] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [    0.249023] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [    0.249581] of_get_named_gpio_flags exited with status 52
    [    0.249614] gpio-rctrl rstctl.4: loaded OK
    [    0.259467] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.267803] cpsw.0: No hwaddr in dt. Using c8:a0:30:b0:71:f9 from efuse
    [    0.274757] cpsw.1: No hwaddr in dt. Using c8:a0:30:b0:71:fb from efuse
    [    0.296144] bio: create slab <bio-0> at 0
    [    0.312138] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.319411] of_get_named_gpio_flags: can't parse gpios property
    [    0.319629] vmmcsd_fixed: 3300 mV 
    [    0.326223] SCSI subsystem initialized
    [    0.330615] usbcore: registered new interface driver usbfs
    [    0.336507] usbcore: registered new interface driver hub
    [    0.342391] usbcore: registered new device driver usb
    [    0.349895] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    0.357320] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
    [    0.368106] DCDC1: at 1500 mV 
    [    0.372596] vdd_mpu: 925 <--> 1325 mV at 1100 mV 
    [    0.378728] vdd_core: 925 <--> 1150 mV at 1100 mV 
    [    0.384963] LDO1: at 1800 mV 
    [    0.389241] LDO2: at 3300 mV 
    [    0.394376] LDO3: 1800 mV 
    [    0.398425] LDO4: at 3300 mV 
    [    0.402634] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    0.409008] omap_i2c 44e0b000.i2c: unable to select pin group
    [    0.415908] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
    [    0.424436] omap_i2c 4819c000.i2c: unable to select pin group
    [    0.430758] media: Linux media interface: v0.10
    [    0.435772] Linux video capture interface: v2.00
    [    0.440842] pps_core: LinuxPPS API ver. 1 registered
    [    0.446099] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.456355] Advanced Linux Sound Architecture Driver Initialized.
    [    0.463834] NetLabel: Initializing
    [    0.467494] NetLabel:  domain hash size = 128
    [    0.472089] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.477424] NetLabel:  unlabeled traffic allowed by default
    [    0.483777] Switching to clocksource gp_timer
    [    0.543296] NET: Registered protocol family 2
    [    0.549056] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.556567] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
    [    0.563464] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.570215] TCP: reno registered
    [    0.573675] UDP hash table entries: 256 (order: 1, 12288 bytes)
    [    0.579922] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
    [    0.586995] NET: Registered protocol family 1
    [    0.592295] RPC: Registered named UNIX socket transport module.
    [    0.598541] RPC: Registered udp transport module.
    [    0.603522] RPC: Registered tcp transport module.
    [    0.608483] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.615778] Trying to unpack rootfs image as initramfs...
    [    0.972426] Freeing initrd memory: 2904K
    [    0.977308] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [    0.986218] CPU PMU: attempt to register multiple PMU devices!
    [    0.992126] arm-pmu: probe of arm-pmu failed with error -28
    [    0.998726] omap2_mbox_probe: platform not supported
    [    1.278913] VFS: Disk quotas dquot_6.5.2
    [    1.283466] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.291623] NFS: Registering the id_resolver key type
    [    1.297135] Key type id_resolver registered
    [    1.301581] Key type id_legacy registered
    [    1.305900] fuse init (API version 7.20)
    [    1.310978] Btrfs loaded
    [    1.313889] msgmni has been set to 891
    [    1.320942] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [    1.328711] io scheduler noop registered
    [    1.332876] io scheduler deadline registered
    [    1.337501] io scheduler cfq registered (default)
    [    1.344525] tps65217-bl tps65217-bl: no platform data provided
    [    1.350717] tps65217-bl: probe of tps65217-bl failed with error -22
    [    1.358253] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    1.367269] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
    [    1.375033] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
    [    1.382957] console [ttyO0] enabled, bootconsole disabled
    [    1.395537] [drm] Initialized drm 1.1.0 20060810
    [    1.414027] brd: module loaded
    [    1.424337] loop: module loaded
    [    1.427810] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.435135] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.442445] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.449753] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.457060] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.471488] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,0A5A,1613BBBK1042'
    [    1.479340] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
    [    1.487240] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONE-EMMC-2G
    [    1.495948] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMI
    [    1.535366] bone-capemgr bone_capemgr.9: slot #0: No cape found
    [    1.572470] bone-capemgr bone_capemgr.9: slot #1: No cape found
    [    1.609579] bone-capemgr bone_capemgr.9: slot #2: No cape found
    [    1.646689] bone-capemgr bone_capemgr.9: slot #3: No cape found
    [    1.652959] bone-capemgr bone_capemgr.9: slot #4: specific override
    [    1.659571] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
    [    1.667621] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
    [    1.677781] bone-capemgr bone_capemgr.9: slot #5: specific override
    [    1.684390] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
    [    1.692437] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
    [    1.702495] bone-capemgr bone_capemgr.9: slot #6: specific override
    [    1.709102] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
    [    1.717149] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
    [    1.727545] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONE-EMMC-2G
    [    1.737236] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMI
    [    1.747025] bone-capemgr bone_capemgr.9: initialized OK.
    [    1.752654] bone-capemgr bone_capemgr.9: loader: before slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.761520] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.772358] OneNAND driver initializing
    [    1.777986] usbcore: registered new interface driver cdc_ether
    [    1.784234] usbcore: registered new interface driver rndis_host
    [    1.790554] bone-capemgr bone_capemgr.9: loader: after slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.799465] usbcore: registered new interface driver cdc_ncm
    [    1.805465] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version '00A0'
    [    1.820689] usbcore: registered new interface driver cdc_acm
    [    1.826660] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    1.835057] Initializing USB Mass Storage driver...
    [    1.840231] bone-capemgr bone_capemgr.9: slot #6: dtbo 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
    [    1.851689] usbcore: registered new interface driver usb-storage
    [    1.858010] USB Mass Storage support registered.
    [    1.863238] bone-capemgr bone_capemgr.9: slot #6: #2 overlays
    [    1.871588] platform 4830e000.fb: alias fck already exists
    [    1.877631] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    1.884251] bone-capemgr bone_capemgr.9: slot #6: Applied #2 overlays.
    [    1.891138] bone-capemgr bone_capemgr.9: loader: done slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.900226] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
    [    1.905486] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
    [    1.914420] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    1.914442] musb-hdrc: MHDRC RTL version 2.0 
    [    1.914456] musb-hdrc: setup fifo_mode 4
    [    1.914484] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    1.914638] musb-hdrc musb-hdrc.0.auto: *** mode=3
    [    1.919742] musb-hdrc musb-hdrc.0.auto: *** power=250
    [    1.925842] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
    [    1.931147] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
    [    1.939963] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    1.939983] musb-hdrc: MHDRC RTL version 2.0 
    [    1.939996] musb-hdrc: setup fifo_mode 4
    [    1.940018] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    1.940172] musb-hdrc musb-hdrc.1.auto: *** mode=1
    [    1.945268] musb-hdrc musb-hdrc.1.auto: *** power=250
    [    1.950609] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    1.957094] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [    1.965416] musb-hdrc musb-hdrc.1.auto: supports USB remote wakeup
    [    1.965555] usb usb1: default language 0x0409
    [    1.965615] usb usb1: udev 1, busnum 1, minor = 0
    [    1.965637] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.972801] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.980394] usb usb1: Product: MUSB HDRC host driver
    [    1.985620] usb usb1: Manufacturer: Linux 3.8.13xenomai-bone28 musb-hcd
    [    1.992568] usb usb1: SerialNumber: musb-hdrc.1.auto
    [    1.998662] usb usb1: usb_probe_device
    [    1.998692] usb usb1: configuration #1 chosen from 1 choice
    [    1.998764] usb usb1: adding 1-0:1.0 (config #1, interface 0)
    [    1.998952] hub 1-0:1.0: usb_probe_interface
    [    1.998974] hub 1-0:1.0: usb_probe_interface - got id
    [    1.999007] hub 1-0:1.0: USB hub found
    [    2.003058] hub 1-0:1.0: 1 port detected
    [    2.007208] hub 1-0:1.0: standalone hub
    [    2.007228] hub 1-0:1.0: individual port power switching
    [    2.007245] hub 1-0:1.0: no over-current protection
    [    2.007261] hub 1-0:1.0: Single TT
    [    2.007281] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [    2.007299] hub 1-0:1.0: power on to power good time: 10ms
    [    2.007343] hub 1-0:1.0: local power source is good
    [    2.007447] hub 1-0:1.0: enabling power on all ports
    [    2.008589] mousedev: PS/2 mouse device common for all mice
    [    2.016840] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    2.024387] 44e3e000.rtc: already running
    [    2.028906] i2c /dev entries driver
    [    2.034361] pps_ldisc: PPS line discipline registered
    [    2.039852] Driver for 1-wire Dallas network protocol.
    [    2.047275] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.055315] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com
    [    2.064799] of_get_named_gpio_flags exited with status 6
    [    2.064822] of_get_named_gpio_flags: can't parse gpios property
    [    2.064838] of_get_named_gpio_flags: can't parse gpios property
    [    2.064875] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
    [    2.072121] omap_hsmmc mmc.5: Failed to get rstctl; not using any
    [    2.078969] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [    2.086208] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [    2.093598] mmc.5 supply vmmc_aux not found, using dummy regulator
    [    2.100603] omap_hsmmc mmc.5: pins are not configured from the driver
    [    2.107768] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
    [    2.107854] hub 1-0:1.0: hub_suspend
    [    2.107897] usb usb1: bus auto-suspend, wakeup 1
    [    2.135622] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
    [    2.147386] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
    [    2.154705] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
    [    2.163712] leds-gpio gpio-leds.8: pins are not configured from the driver
    [    2.170976] of_get_named_gpio_flags exited with status 53
    [    2.171000] of_get_named_gpio_flags exited with status 54
    [    2.171021] of_get_named_gpio_flags exited with status 55
    [    2.171041] of_get_named_gpio_flags exited with status 56
    [    2.171079] of_get_named_gpio_flags exited with status 53
    [    2.171379] of_get_named_gpio_flags exited with status 54
    [    2.171602] of_get_named_gpio_flags exited with status 55
    [    2.171785] of_get_named_gpio_flags exited with status 56
    [    2.172436] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.179317] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
    [    2.186607] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    2.195346] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    2.201719] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
    [    2.209349] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
    [    2.217866] usbcore: registered new interface driver usbhid
    [    2.223806] usbhid: USB HID core driver
    [    2.229341] ashmem: initialized
    [    2.233244] logger: created 256K log 'log_main'
    [    2.238183] usb usb1: usb wakeup-resume
    [    2.238237] usb usb1: usb auto-resume
    [    2.238269] hub 1-0:1.0: hub_resume
    [    2.238327] hub 1-0:1.0: port 1: status 0101 change 0001
    [    2.239069] logger: created 256K log 'log_events'
    [    2.244585] logger: created 256K log 'log_radio'
    [    2.249780] logger: created 256K log 'log_system'
    [    2.258779] TCP: cubic registered
    [    2.262510] NET: Registered protocol family 10
    [    2.268724] NET: Registered protocol family 17
    [    2.273517] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    2.282393] Key type dns_resolver registered
    [    2.287424] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    2.295655] ThumbEE CPU extension supported.
    [    2.300271] Registering SWP/SWPB emulation handler
    [    2.305506] mmc0: new high speed SDHC card at address 59b4
    [    2.312267] registered taskstats version 1
    [    2.317488] mmcblk0: mmc0:59b4 00000 7.47 GiB 
    [    2.324835] of_get_named_gpio_flags: can't parse gpios property
    [    2.324868] tilcdc 4830e000.fb: No power control GPIO
    [    2.332286]  mmcblk0: p1 p2
    [    2.340303] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
    [    2.340389] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
    [    2.445572] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    2.456468] tilcdc 4830e000.fb: found TDA19988
    [    2.461978] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    2.468941] [drm] No driver support for vblank timestamp query.
    [    2.475320] [drm] forcing HDMI-A-1 connector ON
    [    2.571536] usb 1-1: default language 0x0409
    [    2.571836] usb 1-1: udev 2, busnum 1, minor = 1
    [    2.571852] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
    [    2.571865] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    2.571876] usb 1-1: Product: USB2.0 Hub
    [    2.572586] usb 1-1: usb_probe_device
    [    2.572606] usb 1-1: configuration #1 chosen from 1 choice
    [    2.572960] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
    [    2.573149] hub 1-1:1.0: usb_probe_interface
    [    2.573161] hub 1-1:1.0: usb_probe_interface - got id
    [    2.573184] hub 1-1:1.0: USB hub found
    [    2.573523] hub 1-1:1.0: 4 ports detected
    [    2.573535] hub 1-1:1.0: standalone hub
    [    2.573544] hub 1-1:1.0: ganged power switching
    [    2.573553] hub 1-1:1.0: global over-current protection
    [    2.573562] hub 1-1:1.0: Single TT
    [    2.573575] hub 1-1:1.0: TT requires at most 32 FS bit times (2664 ns)
    [    2.573584] hub 1-1:1.0: Port indicators are supported
    [    2.573593] hub 1-1:1.0: power on to power good time: 100ms
    [    2.573988] hub 1-1:1.0: local power source is good
    [    2.573998] hub 1-1:1.0: no over-current condition exists
    [    2.574285] hub 1-1:1.0: enabling power on all ports
    [    2.575679] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
    [    2.575718] hub 1-0:1.0: port 1 enable change, status 00000503
    [    2.588134] tilcdc 4830e000.fb: Not sure which CEA mode to set, leaving as DVI
    [    2.602019] Console: switching to colour frame buffer device 100x30
    [    2.647604] tilcdc 4830e000.fb: fb0:  frame buffer device
    [    2.653282] tilcdc 4830e000.fb: registered panic notifier
    [    2.658984] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [    2.680832] hub 1-1:1.0: port 1: status 0301 change 0001
    [    2.681407] hub 1-1:1.0: port 2: status 0101 change 0001
    [    2.715075] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    2.721503] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    2.738729] libphy: 4a101000.mdio: probed
    [    2.743023] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    2.752948] Detected MACID = c8:a0:30:b0:71:f9
    [    2.757661] cpsw 4a100000.ethernet: NAPI disabled
    [    2.764822] omap_rtc 44e3e000.rtc: setting system clock to 2013-11-01 17:05:43 UTC (1383325543)
    [    2.781977] net eth0: initializing cpsw version 1.12 (0)
    [    2.789657] hub 1-1:1.0: state 7 ports 4 chg 0006 evt 0000
    [    2.790026] hub 1-1:1.0: port 1, status 0301, change 0000, 1.5 Mb/s
    [    2.790334] net eth0: phy found : id is : 0x7c0f1
    [    2.795516] libphy: PHY 4a101000.mdio:01 not found
    [    2.800711] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [    2.813938] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    2.875440] usb 1-1.1: new low-speed USB device number 3 using musb-hdrc
    [    2.966355] usb 1-1.1: skipped 1 descriptor after interface
    [    2.966388] usb 1-1.1: skipped 1 descriptor after interface
    [    2.966858] usb 1-1.1: default language 0x0409
    [    2.968780] usb 1-1.1: udev 3, busnum 1, minor = 2
    [    2.968807] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c31d
    [    2.976054] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    2.983731] usb 1-1.1: Product: USB Keyboard
    [    2.988229] usb 1-1.1: Manufacturer: Logitech
    [    2.993514] usb 1-1.1: usb_probe_device
    [    2.993545] usb 1-1.1: configuration #1 chosen from 1 choice
    [    2.994970] usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0)
    [    2.996422] usbhid 1-1.1:1.0: usb_probe_interface
    [    2.996448] usbhid 1-1.1:1.0: usb_probe_interface - got id
    [    3.000764] input: Logitech USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/input/input1
    [    3.013248] hid-generic 0003:046D:C31D.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input0
    [    3.026916] usb 1-1.1: adding 1-1.1:1.1 (config #1, interface 1)
    [    3.028159] usbhid 1-1.1:1.1: usb_probe_interface
    [    3.028189] usbhid 1-1.1:1.1: usb_probe_interface - got id
    [    3.036181] input: Logitech USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.1/input/input2
    [    3.048573] hid-generic 0003:046D:C31D.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input1
    [    3.062522] hub 1-1:1.0: port 2, status 0101, change 0000, 12 Mb/s
    [    3.129344] usb 1-1.2: new full-speed USB device number 4 using musb-hdrc
    [    3.217806] usb 1-1.2: skipped 1 descriptor after interface
    [    3.218019] usb 1-1.2: default language 0x0409
    [    3.218572] usb 1-1.2: udev 4, busnum 1, minor = 3
    [    3.218596] usb 1-1.2: New USB device found, idVendor=0eef, idProduct=0001
    [    3.225848] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    3.233528] usb 1-1.2: Product: USB TouchController
    [    3.238662] usb 1-1.2: Manufacturer: eGalax Inc.
    [    3.244120] usb 1-1.2: usb_probe_device
    [    3.244151] usb 1-1.2: configuration #1 chosen from 1 choice
    [    3.244728] usb 1-1.2: adding 1-1.2:1.0 (config #1, interface 0)
    [    3.245002] usbhid 1-1.2:1.0: usb_probe_interface
    [    3.245025] usbhid 1-1.2:1.0: usb_probe_interface - got id
    [    5.867899] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
    [    5.873981] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.887145] Sending DHCP requests ., OK
    [    6.903026] IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.23
    [    6.911516] IP-Config: Complete:
    [    6.915002]      device=eth0, hwaddr=c8:a0:30:b0:71:f9, ipaddr=192.168.1.23, mask=255.255.255.0, gw=192.168.1.1
    [    6.925593]      host=192.168.1.23, domain=, nis-domain=(none)
    [    6.931728]      bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
    [    6.938767]      nameserver0=195.34.133.21, nameserver1=212.186.211.21
    [    6.945855] ALSA device list:
    [    6.948986]   No soundcards found.
    [    6.953848] Freeing init memory: 292K
    [    7.081549] udevd[95]: starting version 175
    [    9.091258] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   10.902691] udevd[320]: starting version 175
    [   12.880930] usbtouchscreen 1-1.2:1.0: usb_probe_interface
    [   12.880971] usbtouchscreen 1-1.2:1.0: usb_probe_interface - got id
    [   12.900800] input: eGalax Inc. USB TouchController as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/input/input3
    [   13.047395] usbcore: registered new interface driver usbtouchscreen
    [   16.727469] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   17.063657] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
    [   27.422456] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [   30.859873]  gadget: using random self ethernet address
    [   30.887935] usb0: MAC fe:16:32:c0:f9:9c
    [   30.892077] usb0: HOST MAC c8:a0:30:b0:71:fb
    [   30.961302]  gadget: Mass Storage Function, version: 2009/09/11
    [   30.967604]  gadget: Number of LUNs=1
    [   30.997941]  lun0: LUN: removable file: /dev/mmcblk0p1
    [   31.045006]  gadget: Multifunction Composite Gadget
    [   31.076553]  gadget: g_multi ready
    [   31.110064] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   31.135161] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
    [   31.160561] musb-hdrc musb-hdrc.0.auto: supports USB remote wakeup
    [   31.160707] usb usb2: default language 0x0409
    [   31.160769] usb usb2: udev 1, busnum 2, minor = 128
    [   31.160793] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   31.168003] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   31.175598] usb usb2: Product: MUSB HDRC host driver
    [   31.180825] usb usb2: Manufacturer: Linux 3.8.13xenomai-bone28 musb-hcd
    [   31.187773] usb usb2: SerialNumber: musb-hdrc.0.auto
    [   31.224369] usb usb2: usb_probe_device
    [   31.224410] usb usb2: configuration #1 chosen from 1 choice
    [   31.224506] usb usb2: adding 2-0:1.0 (config #1, interface 0)
    [   31.226237] hub 2-0:1.0: usb_probe_interface
    [   31.226271] hub 2-0:1.0: usb_probe_interface - got id
    [   31.226310] hub 2-0:1.0: USB hub found
    [   31.254332] hub 2-0:1.0: 1 port detected
    [   31.279669] hub 2-0:1.0: standalone hub
    [   31.279704] hub 2-0:1.0: individual port power switching
    [   31.279723] hub 2-0:1.0: no over-current protection
    [   31.279740] hub 2-0:1.0: Single TT
    [   31.279761] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [   31.279780] hub 2-0:1.0: power on to power good time: 10ms
    [   31.279850] hub 2-0:1.0: local power source is good
    [   31.280017] hub 2-0:1.0: enabling power on all ports
    [   31.381371] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
    [   31.381472] hub 2-0:1.0: hub_suspend
    [   31.381518] usb usb2: bus auto-suspend, wakeup 1
    [   33.537678] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [  125.855983] pvrsrvkm: Unknown symbol drm_pvr_dev_remove (err 0)
    [  125.864176] pvrsrvkm: Unknown symbol drm_pvr_dev_add (err 0)
    

    So I tried it without X support and that resulted in other problems. The kernel modules seem to load but when testing the demos the dri and dri2 module are unable to initialize (the demos work but very slow). Here is the log: 

    0066.debug5.txt
    linuxcnc@arm:~$ /opt/gfx_check.sh 
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_FRONTWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so
    
    ------
    ARM CPU information
    processor       : 0
    model name      : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 363.67
    Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2
    
    Hardware        : Generic AM33XX (Flattened Device Tree)
    Revision        : 0000
    Serial          : 0000000000000000
    ------
    SGX driver information
    Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /home/alexander/bin/linuxcnc2/Graphics_SDK_4_10_00_01_hardfp/GFX_Linux_KM
    System Version String: None
    ------
    Framebuffer settings
    
    mode "800x480"
        geometry 800 480 800 480 16
        timings 0 0 0 0 0 0 0
        accel true
        rgba 5/11,6/5,5/0,0/0
    endmode
    
    Frame buffer device information:
        Name        : 
        Address     : 0x9b300000
        Size        : 768000
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 1600
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    omaplfb                11394  0 
    g_multi                56821  0 
    libcomposite           17153  1 g_multi
    nfsd                  234170  2 
    exportfs                3701  1 nfsd
    hid_multitouch          7690  0 
    pvrsrvkm              179065  1 omaplfb
    usbtouchscreen         11939  0 
    evdev                   8634  4 
    ------
    Boot settings
    console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=462M ip=dhcp earlyprintk=serial vram=50M
    ------
    Linux Kernel version
    Linux arm 3.8.13xenomai-bone28 #4 SMP Fri Nov 1 15:31:13 CET 2013 armv7l GNU/Linux
    linuxcnc@arm:~$ export DISPLAY=:0
    linuxcnc@arm:~$ /opt/gfxsdkdemos/ogles/OGLESCoverflow 
    Exit message has been set to: "PVRShell: Unable to initialise EGL
    ".
    PVRShell: EGL Error (EGL_BAD_ALLOC)
    InitAPI failed!
    PVRShell: Unable to initialise EGL
    linuxcnc@arm:~$ /opt/gfxsdkdemos/ogles2/OGLES2Coverflow 
    libEGL warning: DRI2: failed to authenticate
    PVRShell: EGL 1.4 initialized
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
    PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.
     
    

  • Please respond. I think we are very close to the solution. This would be a great success for the BeagleBone community so they can start developing nice graphical applications for the Bone and show what a good Raspberry Pi killer it is.

  • yes, we really would like that TI help the Beagle community on this point. It's really a shame to have a beautiful screen and not being able to develop great application on it.

    Micka,

  • Hi,

    Can you build & run without Xorg? Please use the below commands -

    make BUILD=release OMAPES=8.x PM_RUNTIME=1 all

    sudo make BUILD=release OMAPES=8.x PM_RUNTIME=1 install

    Thanks,

    Prathap.

  • Hi Prathap,

    Given that there are many developers waiting for a working solution, surely a better solution would be for you to use the same setup Alexander is using and then do these tests yourself. If you don't have the time to replicate the setup, perhaps Alexander can send you his SD image. 

    I would really like to see this resolved soon.

    Thank you for all your help.

    Regards,

    John

  • Hi John,

    Alexander has the right patches now. He needs to try with non-Xorg build for the last problem he reported.

    Alexander,

    Have you tried the below build commands after integrating patches?

    Can you share the problem you are facing when issuing below commands & execution (non-Xorg)?

    Build & Install -

    make BUILD=release OMAPES=8.x PM_RUNTIME=1

    sudo make BUILD=release OMAPES=8.x PM_RUNTIME=1 install.

    Execution on BBB -

    /etc/init.d/335x-demo

    Thanks,

    Prathap.

     

  • Hi Prathap,

    This works and the kernel modules seems to load correctly: 

    8407.debug6.txt
    linuxcnc@arm:~$ /opt/gfx_check.sh                                                                                                                                                
    WSEGL settings                                                                                                                                                                   
    [default]                                                                                                                                                                        
    WindowSystem=libpvrPVR2D_FRONTWSEGL.so                                                                                                                                           
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so                                                                                                                                           
                                                                                                                                                                                     
    ------                                                                                                                                                                           
    ARM CPU information                                                                                                                                                              
    processor       : 0                                                                                                                                                              
    model name      : ARMv7 Processor rev 2 (v7l)                                                                                                                                    
    BogoMIPS        : 363.67                                                                                                                                                         
    Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls                                                                                                        
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2
    
    Hardware        : Generic AM33XX (Flattened Device Tree)
    Revision        : 0000
    Serial          : 0000000000000000
    ------
    SGX driver information
    Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /home/alexander/bin/linuxcnc2/Graphics_SDK_4_10_00_01/GFX_Linux_KM
    System Version String: None
    ------
    Framebuffer settings
    
    mode "800x480"
        geometry 800 480 800 480 16
        timings 0 0 0 0 0 0 0
        accel true
        rgba 5/11,6/5,5/0,0/0
    endmode
    
    Frame buffer device information:
        Name        : 
        Address     : 0x9b400000
        Size        : 768000
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 1600
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    g_multi                56889  0 
    libcomposite           17165  1 g_multi
    nfsd                  234233  2 
    exportfs                3701  1 nfsd
    hid_multitouch          7690  0 
    usbtouchscreen         11939  0 
    pvrsrvkm              178969  0 
    evdev                   8658  4 
    ------
    Boot settings
    console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=462M ip=dhcp earlyprintk=serial vram=50M
    ------
    Linux Kernel version
    Linux arm 3.8.13xenomai-bone28 #5 SMP Fri Nov 1 19:11:02 CET 2013 armv7l GNU/Linux 
    

    omaplfb is not loaded per default put that probably is no problem.

    But when I try to start the demos I get:

    linuxcnc@arm:~$ /opt/gfxsdkdemos/ogles2/OGLES2Coverflow
    Can't open keypad input device (/dev/input/event0)
    libEGL warning: failed to authenticate magic
    libEGL warning: DRI2: failed to open i965 (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
    libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
    libEGL warning: GLX: failed to load GLX
    PVRShell: EGL 1.4 initialized
    X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
    Major opcode of failed request: 14 (X_GetGeometry)
    Resource id in failed request: 0x0
    Serial number of failed request: 7
    Current serial number in output stream: 7

    So the driver seems not to be registered in the system. The dri folder looks like this:

    linuxcnc@arm:/usr/lib/arm-linux-gnueabihf/dri$ ls
    nouveau_dri.so nouveau_vieux_dri.so r200_dri.so r300_dri.so r600_dri.so radeon_dri.so swrast_dri.so vmwgfx_dri.so

    I have deactivated the swrast_dri.so by myself with a chmod 000 command to make sure the demos will not get executed with the software raster engine.

    How can I proceed, what are the next steps make my system using the SGX dri modules?

    Regards

    Alexander

     

     

  • Hi Prathap,

    From Alexander's last response, it doesn't look like this incremental back and forth is going to result in a solution anytime soon. Perhaps I need to understand your reluctance to take Alexander's SDCard image and then do these tests yourself. That way, with your expertise, you can test, debug and fix everything and then publish a working solution. I understand that you guys are very busy, but surely this will save you time by not having to respond on a daily basis. What am I missing?

    Regards,

    John

  • Hi John,

    Yes it is a good idea to solve this issue internally. I have now uploaded my diskimage here: https://drive.google.com/file/d/0B-P7NDJ6kj3pOHdoc1JDNS1WOXM/edit?usp=sharing

    This image is GZip compressed and fits on a 8GiB SD card. Attached was Faytech 7" monitor over HDMI and an eGalax Touchscreen over USB. To configure a different monitor change the settings in the beginning of the /boot/uboot/uEnv.txt file.

    Passwords are:

    user: linuxcnc pw: linuxcnc

    user: root pw: root

    @Prathap: It would be great if someone of TI could try to figure out what is the problem internally. It would be a great success if you could make it work and share your results.

    Regards

    Alexander

  • Hi Alexander,

    I am seeing that still you are using demos built with SUPPORT_XORG=1.

    If you see the thread, i have been mentioning to use below commands after you have merged the patches.

    make BUILD=release OMAPES=8.x PM_RUNTIME=1 all

    sudo make BUILD=release OMAPES=8.x PM_RUNTIME=1 install

    If you have built without xorg in command line, the demos do not look for X, dri. So please ensure that you have built demos *without* using SUPPORT_XORG in command line.

    On EVM-

    /etc/init.d/335x-demo

    Points to note -

    You need to ensure that you are building *without* SUPPORT_XORG=1 after integrating the patches.

    You should see both pvrsrvkm, omaplfb inserted on running 335x-demo.

    Can you please share the build & execution logs from the graphics SDK built without Xorg?

    Thanks,

    Prathap.

     

  • Hi Prathap et.al

    I've managed to compile and test the necessary drivers, at least for the basic functionality. I can successfully execute most of the tests in the ES8.x folder. Some fail with a "PVRSRV_ERROR_TOOMANYBUFFERS" message.

    Next step will be to test the OGLES package. My setup is a little bit different (Yocto) but everything is running kernel 3.8.13 and GFX SDK 4.10.00.01.

    Best,

    Andreas

  • Hi Prathap,

    Here are my logs:

    5340.compile.log

    1220.install.log
    exporting necessary variables and installing...
    ########################################################
    Please ensure that PSP Linux kernel is re-built atleast once,
    Please refer online guide for further details.
    ########################################################
    creating directories...
    copying startup files...
    copying user space graphics libraries to target file system...
    copying install information to target file system...
    copying graphics SDK demos to target file system...
    

    Regards

    Alexander

    EDIT: still get the same results with the demos in /opt/gfxsdkdemos/ogles and ogles2

  • Hi Andreas,

    Thanks for the update. Glad to know that you have been able to get Graphics SDK 04.10.00.01 working with 3.8 kernel.

    Were the SGX DT & kernel patches already part of your setup  or did you use the patches i had shared earlier on this thread? It would be helpful if you can share the steps/instructions you followed so that its helpful for Alexander & others as well.

    Alexander,

    Thanks for the build & install logs. The logs do not have the build & install command lines used. Hope you are building with PM_RUNTIME=1. Also I did not see the exexcution logs i had asked for.

    Can you share the complete serial console logs right from bootup, including the output from running 335x-demo script? Also share your complete dmesg logs right from bootup and covering the steps you are following for graphics driver on BBB?  

    Also please remove any init scripts trying to load gfx driver & on a fresh bootup, can you run the steps below manually one by one & share the logs. This will help in identifying the step causing the issue on your setup.

    insmod /opt/gfxlibraries/gfx_rel_es8.x/pvrsrvkm.ko

    insmod /opt/gfxlibraries/gfx_rel_es8.x/omaplfb.ko

    /opt/gfxlibraries/gfx_rel_es8.x/pvrsrvctl --start --no-module

    Thanks,

    Prathap.

     

     

     

  • Prathap,

    I had to apply patches described earlier in this thread, but somewhat tweaked. Some of the start up scripts in the Graphics SDK had to change as well.

    For the kernel: 0601.kernel.tar.gz

    For the Graphics SDK 4555.graphics.tar.gz

    Note: There are two files (non-patches) included in the graphics tarball, cputype and pvr.rc. These are init scripts needed for the yocto/angstrom/openembbeded build. The main difference is the addition of the generic AM33xx to the cputype and changing pvrsrvinit to 'pvrsrvctl --start --no-module'

    The linux-3.8.patch and Change-for-interfacing-with-SGX-DT-node.patch need to be patched into the GFX_Linux_KM folder whereas 0001-ShadowTechniques-Makefile.patch needs to be patched into the toplevel SDK folder. This has to do with the build system as the driver is built separately from the rest of the sdk.

    I hope this helps.

    -Andreas

  • Hi Prathap,

    Here are my boot and dmesg logs: 

    0285.debug7.txt
    U-Boot SPL 2013.04-rc1-14237-g90639fe-dirty (Apr 13 2013 - 13:57:11)
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    OMAP SD/MMC: 0
    mmc_send_cmd : timeout: No status update
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2013.04-rc1-14237-g90639fe-dirty (Apr 13 2013 - 13:57:11)
    
    I2C:   ready
    DRAM:  512 MiB
    WARNING: Caches not enabled
    NAND:  No NAND device found!!!
    0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment
    
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0 
    gpio: pin 53 (gpio 53) value is 1
    mmc0 is current device
    micro SD card found
    mmc0 is current device
    gpio: pin 54 (gpio 54) value is 1
    SD/MMC found on device 0
    reading uEnv.txt
    2032 bytes read in 5 ms (396.5 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    reading zImage
    3476552 bytes read in 417 ms (8 MiB/s)
    reading uInitrd
    2975910 bytes read in 343 ms (8.3 MiB/s)
    reading /dtbs/am335x-boneblack.dtb
    24996 bytes read in 11 ms (2.2 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 81000000 ...
       Image Name:   initramfs
       Image Type:   ARM Linux RAMDisk Image (uncompressed)
       Data Size:    2975846 Bytes = 2.8 MiB
       Load Address: 00000000
       Entry Point:  00000000
    ## Flattened Device Tree blob at 815f0000
       Booting using the fdt blob at 0x815f0000
       Using Device Tree in place at 815f0000, end 815f91a3
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.8.13xenomai-bone28 (alexander@thinkpad.site) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #5 SMP Fri Nov 1 19:11:02 CET 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (neon )
    [    0.000000] PERCPU: Embedded 11 pages/cpu @c0eed000 s23552 r8192 d13312 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 117092
    [    0.000000] Kernel command line: console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=462M ip= earlyprintk=serial vram=50M
    [    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] __ex_table already sorted, skipping sort
    [    0.000000] allocated 946176 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Memory: 461MB = 461MB total
    [    0.000000] Memory: 452464k/452464k available, 20624k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xdd000000 - 0xff000000   ( 544 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdce00000   ( 462 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0986b74   (9723 kB)
    [    0.000000]       .init : 0xc0987000 - 0xc09d8c00   ( 327 kB)
    [    0.000000]       .data : 0xc09da000 - 0xc0a5e2c0   ( 529 kB)
    [    0.000000]        .bss : 0xc0a5e2c0 - 0xc0b3c380   ( 889 kB)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] I-pipe, 24.000 MHz clocksource
    [    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
    [    0.000000] Interrupt pipeline (release #3)
    [    0.000000] Console: colour dummy device 80x30
    [    0.019992] Calibrating delay loop... 363.67 BogoMIPS (lpj=354304)
    [    0.045709] pid_max: default: 32768 minimum: 301
    [    0.050860] Security Framework initialized
    [    0.055290] Mount-cache hash table entries: 512
    [    0.070938] Initializing cgroup subsys cpuacct
    [    0.075666] Initializing cgroup subsys memory
    [    0.080327] Initializing cgroup subsys blkio
    [    0.084987] CPU: Testing write buffer coherency: ok
    [    0.090758] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.096255] Setting up static identity map for 0x8069e048 - 0x8069e0a0
    [    0.104847] Brought up 1 CPUs
    [    0.108050] SMP: Total of 1 processors activated (363.67 BogoMIPS).
    [    0.116483] devtmpfs: initialized
    [    0.185611] pinctrl core: initialized pinctrl subsystem
    [    0.191385] rstctl core: initialized rstctl subsystem
    [    0.197282] regulator-dummy: no parameters
    [    0.202136] NET: Registered protocol family 16
    [    0.207966] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.225736] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.234162] platform 49000000.edma: alias fck already exists
    [    0.240139] platform 49000000.edma: alias fck already exists
    [    0.246092] platform 49000000.edma: alias fck already exists
    [    0.253401] OMAP GPIO hardware version 0.1
    [    0.262818] gpio-rctrl rstctl.4: loaded OK
    [    0.272779] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.281126] cpsw.0: No hwaddr in dt. Using c8:a0:30:b0:71:f9 from efuse
    [    0.288096] cpsw.1: No hwaddr in dt. Using c8:a0:30:b0:71:fb from efuse
    [    0.311701] bio: create slab <bio-0> at 0
    [    0.328423] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.335965] vmmcsd_fixed: 3300 mV 
    [    0.342572] SCSI subsystem initialized
    [    0.347002] usbcore: registered new interface driver usbfs
    [    0.352885] usbcore: registered new interface driver hub
    [    0.358789] usbcore: registered new device driver usb
    [    0.366362] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    0.373986] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
    [    0.384856] DCDC1: at 1500 mV 
    [    0.389506] vdd_mpu: 925 <--> 1325 mV at 1100 mV 
    [    0.395717] vdd_core: 925 <--> 1150 mV at 1100 mV 
    [    0.401981] LDO1: at 1800 mV 
    [    0.406350] LDO2: at 3300 mV 
    [    0.411622] LDO3: 1800 mV 
    [    0.415713] LDO4: at 3300 mV 
    [    0.419949] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    0.426405] omap_i2c 44e0b000.i2c: unable to select pin group
    [    0.433329] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
    [    0.442058] omap_i2c 4819c000.i2c: unable to select pin group
    [    0.448384] media: Linux media interface: v0.10
    [    0.453432] Linux video capture interface: v2.00
    [    0.458526] pps_core: LinuxPPS API ver. 1 registered
    [    0.463776] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.474096] Advanced Linux Sound Architecture Driver Initialized.
    [    0.481573] NetLabel: Initializing
    [    0.485217] NetLabel:  domain hash size = 128
    [    0.489819] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.495196] NetLabel:  unlabeled traffic allowed by default
    [    0.501597] Switching to clocksource ipipe_tsc
    [    0.564354] NET: Registered protocol family 2
    [    0.570137] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.577686] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
    [    0.584617] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.591372] TCP: reno registered
    [    0.594836] UDP hash table entries: 256 (order: 1, 12288 bytes)
    [    0.601087] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
    [    0.608234] NET: Registered protocol family 1
    [    0.613519] RPC: Registered named UNIX socket transport module.
    [    0.619774] RPC: Registered udp transport module.
    [    0.624754] RPC: Registered tcp transport module.
    [    0.629716] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.636932] Trying to unpack rootfs image as initramfs...
    [    1.002236] Freeing initrd memory: 2904K
    [    1.007125] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [    1.016033] CPU PMU: attempt to register multiple PMU devices!
    [    1.021942] arm-pmu: probe of arm-pmu failed with error -28
    [    1.028556] omap2_mbox_probe: platform not supported
    [    1.320985] I-pipe: head domain Xenomai registered.
    [    1.326198] Xenomai: hal/arm started.
    [    1.332024] Xenomai: scheduling class idle registered.
    [    1.337568] Xenomai: scheduling class rt registered.
    [    1.350979] Xenomai: real-time nucleus v2.6.3 (Lies and Truths) loaded.
    [    1.357953] Xenomai: debug mode enabled.
    [    1.362700] Xenomai: starting native API services.
    [    1.367792] Xenomai: starting POSIX services.
    [    1.372602] Xenomai: starting RTDM services.
    [    1.378638] VFS: Disk quotas dquot_6.5.2
    [    1.383143] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.391488] NFS: Registering the id_resolver key type
    [    1.397037] Key type id_resolver registered
    [    1.401487] Key type id_legacy registered
    [    1.405818] fuse init (API version 7.20)
    [    1.410944] Btrfs loaded
    [    1.413886] msgmni has been set to 889
    [    1.421165] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [    1.428942] io scheduler noop registered
    [    1.433114] io scheduler deadline registered
    [    1.437763] io scheduler cfq registered (default)
    [    1.444770] tps65217-bl tps65217-bl: no platform data provided
    [    1.450973] tps65217-bl: probe of tps65217-bl failed with error -22
    [    1.458473] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    1.467583] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
    [    1.475414] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
    [    1.483357] console [ttyO0] enabled, bootconsole disabled
    [    1.483357] console [ttyO0] enabled, bootconsole disabled
    [    1.495878] [drm] Initialized drm 1.1.0 20060810
    [    1.515249] brd: module loaded
    [    1.526338] loop: module loaded
    [    1.529877] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.537174] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.544468] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.551754] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.559039] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.573455] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,0A5A,1613BBBK1042'
    [    1.581308] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
    [    1.589221] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONE-EMMC-2G
    [    1.597921] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMI
    [    1.637281] bone-capemgr bone_capemgr.9: slot #0: No cape found
    [    1.674385] bone-capemgr bone_capemgr.9: slot #1: No cape found
    [    1.711493] bone-capemgr bone_capemgr.9: slot #2: No cape found
    [    1.748600] bone-capemgr bone_capemgr.9: slot #3: No cape found
    [    1.754860] bone-capemgr bone_capemgr.9: slot #4: specific override
    [    1.761463] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
    [    1.769504] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
    [    1.779650] bone-capemgr bone_capemgr.9: slot #5: specific override
    [    1.786251] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
    [    1.794285] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
    [    1.804335] bone-capemgr bone_capemgr.9: slot #6: specific override
    [    1.810937] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
    [    1.818979] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
    [    1.829357] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONE-EMMC-2G
    [    1.839047] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMI
    [    1.848827] bone-capemgr bone_capemgr.9: initialized OK.
    [    1.854450] bone-capemgr bone_capemgr.9: loader: before slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.863302] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.874166] OneNAND driver initializing
    [    1.879831] usbcore: registered new interface driver cdc_ether
    [    1.886076] usbcore: registered new interface driver rndis_host
    [    1.892388] bone-capemgr bone_capemgr.9: loader: after slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.901294] usbcore: registered new interface driver cdc_ncm
    [    1.907286] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version '00A0'
    [    1.922528] usbcore: registered new interface driver cdc_acm
    [    1.928486] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    1.936871] Initializing USB Mass Storage driver...
    [    1.942049] bone-capemgr bone_capemgr.9: slot #6: dtbo 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
    [    1.953494] usbcore: registered new interface driver usb-storage
    [    1.959812] USB Mass Storage support registered.
    [    1.965025] bone-capemgr bone_capemgr.9: slot #6: #2 overlays
    [    1.973526] platform 4830e000.fb: alias fck already exists
    [    1.979568] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    1.986183] bone-capemgr bone_capemgr.9: slot #6: Applied #2 overlays.
    [    1.993057] bone-capemgr bone_capemgr.9: loader: done slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    2.002154] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
    [    2.007414] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
    [    2.016562] musb-hdrc musb-hdrc.0.auto: *** mode=3
    [    2.021668] musb-hdrc musb-hdrc.0.auto: *** power=250
    [    2.027922] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
    [    2.033176] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
    [    2.042173] musb-hdrc musb-hdrc.1.auto: *** mode=1
    [    2.047266] musb-hdrc musb-hdrc.1.auto: *** power=250
    [    2.052601] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    2.059191] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [    2.067693] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.074849] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.082432] usb usb1: Product: MUSB HDRC host driver
    [    2.087656] usb usb1: Manufacturer: Linux 3.8.13xenomai-bone28 musb-hcd
    [    2.094597] usb usb1: SerialNumber: musb-hdrc.1.auto
    [    2.101053] hub 1-0:1.0: USB hub found
    [    2.105108] hub 1-0:1.0: 1 port detected
    [    2.110822] mousedev: PS/2 mouse device common for all mice
    [    2.119221] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    2.126775] 44e3e000.rtc: already running
    [    2.131310] i2c /dev entries driver
    [    2.136849] pps_ldisc: PPS line discipline registered
    [    2.142360] Driver for 1-wire Dallas network protocol.
    [    2.149910] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.157940] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com
    [    2.167428] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
    [    2.174703] omap_hsmmc mmc.5: Failed to get rstctl; not using any
    [    2.181599] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [    2.188845] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [    2.196240] mmc.5 supply vmmc_aux not found, using dummy regulator
    [    2.203741] omap_hsmmc mmc.5: pins are not configured from the driver
    [    2.237572] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
    [    2.249322] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
    [    2.256636] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
    [    2.265638] leds-gpio gpio-leds.8: pins are not configured from the driver
    [    2.274500] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.281405] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
    [    2.288703] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    2.297725] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    2.304091] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
    [    2.311381] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
    [    2.319913] usbcore: registered new interface driver usbhid
    [    2.325844] usbhid: USB HID core driver
    [    2.331473] ashmem: initialized
    [    2.335441] logger: created 256K log 'log_main'
    [    2.341294] logger: created 256K log 'log_events'
    [    2.346806] logger: created 256K log 'log_radio'
    [    2.352159] logger: created 256K log 'log_system'
    [    2.361376] TCP: cubic registered
    [    2.365183] NET: Registered protocol family 10
    [    2.371421] NET: Registered protocol family 17
    [    2.376226] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    2.385109] Key type dns_resolver registered
    [    2.390125] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    2.398382] ThumbEE CPU extension supported.
    [    2.403024] Registering SWP/SWPB emulation handler
    [    2.408272] mmc0: new high speed SDHC card at address 59b4
    [    2.415157] registered taskstats version 1
    [    2.420386] mmcblk0: mmc0:59b4 00000 7.47 GiB 
    [    2.427789] tilcdc 4830e000.fb: No power control GPIO
    [    2.435259]  mmcblk0: p1 p2
    [    2.549442] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    2.560661] tilcdc 4830e000.fb: found TDA19988
    [    2.566230] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    2.573197] [drm] No driver support for vblank timestamp query.
    [    2.579578] [drm] forcing HDMI-A-1 connector ON
    [    2.675804] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
    [    2.675816] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    2.675827] usb 1-1: Product: USB2.0 Hub
    [    2.677180] hub 1-1:1.0: USB hub found
    [    2.677523] hub 1-1:1.0: 4 ports detected
    [    2.686277] tilcdc 4830e000.fb: Not sure which CEA mode to set, leaving as DVI
    [    2.700205] Console: switching to colour frame buffer device 100x30
    [    2.745831] tilcdc 4830e000.fb: fb0:  frame buffer device
    [    2.751512] tilcdc 4830e000.fb: registered panic notifier
    [    2.757219] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [    2.813067] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    2.819481] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    2.837558] libphy: 4a101000.mdio: probed
    [    2.841896] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    2.851808] Detected MACID = c8:a0:30:b0:71:f9
    [    2.856535] cpsw 4a100000.ethernet: NAPI disabled
    [    2.863960] omap_rtc 44e3e000.rtc: setting system clock to 2013-11-13 07:16:17 UTC (1384326977)
    [    2.880506] ALSA device list:
    [    2.883753]   No soundcards found.
    [    2.889338] Freeing init memory: 324K
    Loading, please wait...
    [    2.959985] usb 1-1.1: new low-speed USB device number 3 using musb-hdrc
    [    3.038948] udevd[96]: starting version 175
    [    3.063375] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c31d
    [    3.070653] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    3.078322] usb 1-1.1: Product: USB Keyboard
    [    3.082821] usb 1-1.1: Manufacturer: Logitech
    [    3.108707] input: Logitech USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/input/input1
    [    3.135521] hid-generic 0003:046D:C31D.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input0
    [    3.176163] input: Logitech USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.1/input/input2
    [    3.202856] hid-generic 0003:046D:C31D.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input1
    [    3.303760] usb 1-1.2: new full-speed USB device number 4 using musb-hdrc
    [    3.402993] usb 1-1.2: New USB device found, idVendor=0eef, idProduct=0001
    [    3.410235] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    3.417912] usb 1-1.2: Product: USB TouchController
    [    3.423048] usb 1-1.2: Manufacturer: eGalax Inc.
    modprobe: chdir(3.8.13xenomai-bone28): No such file or directory
    Begin: Loading essential drivers ... done.
    Begin: Running /scripts/init-premount ... done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... modprobe: chdir(3.8.13xenomai-bone28): No such file or directory
    done.
    modprobe: chdir(3.8.13xenomai-bone28): No such file or directory
    [    5.723745] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    Begin: Running /scripts/local-bottom ... done.
    done.
    Begin: Running /scripts/init-bottom ... done.
    INIT: version 2.88 booting
    [info] Using makefile-style concurrent boot in runlevel S.
    [....] Starting the hotplug events dispatcher: udevd[    7.725439] udevd[340]: starting version 175
    . ok 
    udevd[340]: unknown key 'BUS' in /lib/udev/rules.d/99-touchscreen.rules:2
    
    udevd[340]: invalid rule '/lib/udev/rules.d/99-touchscreen.rules:2'
    
    [....] Synthesizing the initial hotplug events...udevd[340]: unknown key 'BUS' in /lib/udev/rules.d/99-touchscreen.rules:2
    
    udevd[340]: invalid rule '/lib/udev/rules.d/99-touchscreen.rules:2'
    
    done.
    [....] Waiting for /dev to be fully populated...[    9.844920] input: eGalax Inc. USB TouchController as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/input/input3
    [    9.981390] usbcore: registered new interface driver usbtouchscreen
    done.
    [ ok ] Setting preliminary keymap...done.
    [ ok ] Setting parameters of disc: (none).
    [ ok ] Activating swap...done.
    [   14.391855] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [....] Checking root file system...fsck from util-linux 2.20.1
    rootfs: clean, 252313/485760 files, 1483713/1943040 blocks
    done.
    [   14.772464] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
    [info] Loading kernel module evdev.
    [info] Loading kernel module hid-multitouch.
    [ ok ] Cleaning up temporary files... /tmp.
    [ ok ] Activating lvm and md swap...done.
    [....] Checking file systems...fsck from util-linux 2.20.1
    done.
    [ ok ] Mounting local filesystems...done.
    [ ok ] Activating swapfile swap...done.
    [ ok ] Cleaning up temporary files....
    [ ok ] Setting kernel variables ...done.
    [ ok ] Configuring network interfaces...done.
    [ ok ] Starting rpcbind daemon....
    [....] Starting NFS common utilities: statd[   24.398040] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [ ok pd.
    [ ok ] Cleaning up temporary files....
    [ ok ] Setting up ALSA...done.
    [info] Setting console screen modes.
    setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
    [info] Skipping font and keymap setup (handled by console-setup).
    [ ok ] Setting up console font and keymap...done.
    [ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.
    INIT: Entering runlevel: 2
    [info] Using makefile-style concurrent boot in runlevel 2.
    Not starting X display manager (xdm); it is not the default display manager.
    [   28.170435]  gadget: using random self ethernet address
    [   28.198877] usb0: MAC 42:af:52:34:ff:ee
    [   28.203077] usb0: HOST MAC c8:a0:30:b0:71:fb
    [   28.243959]  gadget: Mass Storage Function, version: 2009/09/11
    [   28.250304]  gadget: Number of LUNs=1
    [   28.289845]  lun0: LUN: removable file: /dev/mmcblk0p1
    [   28.326570]  gadget: Multifunction Composite Gadget
    [   28.369890]  gadget: g_multi ready
    [   28.393308] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   28.438596] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
    [   28.478653] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   28.485883] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   28.493476] usb usb2: Product: MUSB HDRC host driver
    [   28.498702] usb usb2: Manufacturer: Linux 3.8.13xenomai-bone28 musb-hcd
    [   28.505647] usb usb2: SerialNumber: musb-hdrc.0.auto
    [   28.540316] hub 2-0:1.0: USB hub found
    [   28.575017] hub 2-0:1.0: 1 port detected
    [ ok ] Starting rpcbind daemon...[....] Already running..
    [ ok ] Starting NFS common utilities: statd idmapd.
    [ ok ] Starting enhanced syslogd: rsyslogd.
    [ ok ] Starting deferred execution scheduler: atd.
    [ ok ] Starting periodic command scheduler: cron.
    [....] Starting system message bus: dbus[   30.895947] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    . ok 
    [ ok ] Starting Light Display Manager: lightdm.
    [....] Starting MTA:[   32.475336] tilcdc 4830e000.fb: timeout waiting for framedone
    [ ok 4.
    [ ok ] Loading cpufreq kernel modules...done (none).
    [ ok ] CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
    Starting printer spooler: lpd.
    [ ok ] Starting network connection manager: NetworkManager.
    [   38.217543] net eth0: initializing cpsw version 1.12 (0)
    [   38.241504] net eth0: phy found : id is : 0x7c0f1
    [   38.264445] libphy: PHY 4a101000.mdio:01 not found
    [   38.269598] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [   38.306416] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    saned disabled; edit /etc/default/saned
    [ ok ] Starting OpenBSD Secure Shell server: sshd.
    Starting very small Busybox based DHCP server: /usr/sbin/udhcpd already running.
    udhcpd.
    
    Debian GNU/Linux 7 arm ttyO0
    
    arm login: [   41.317571] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
    [   41.325500] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
    Debian GNU/Linux 7 arm ttyO0
    
    arm login: root
    Password: 
    Last login: Fri Nov  1 17:05:20 UTC 2013 on tty4
    Linux arm 3.8.13xenomai-bone28 #5 SMP Fri Nov 1 19:11:02 CET 2013 armv7l
    
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    root@arm:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.8.13xenomai-bone28 (alexander@thinkpad.site) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #5 SMP Fri Nov 1 19:11:02 CET 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] On node 0 totalpages: 118016
    [    0.000000] free_area_init_node: node 0, pgdat c0a5b300, node_mem_map c0b3d000
    [    0.000000]   Normal zone: 924 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 117092 pages, LIFO batch:31
    [    0.000000] AM335X ES1.0 (neon )
    [    0.000000] PERCPU: Embedded 11 pages/cpu @c0eed000 s23552 r8192 d13312 u45056
    [    0.000000] pcpu-alloc: s23552 r8192 d13312 u45056 alloc=11*4096
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 117092
    [    0.000000] Kernel command line: console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G video=HDMI-A-1:800x480M@85e root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc mem=462M ip= earlyprintk=serial vram=50M
    [    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] __ex_table already sorted, skipping sort
    [    0.000000] allocated 946176 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Memory: 461MB = 461MB total
    [    0.000000] Memory: 452464k/452464k available, 20624k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xdd000000 - 0xff000000   ( 544 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xdce00000   ( 462 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0986b74   (9723 kB)
    [    0.000000]       .init : 0xc0987000 - 0xc09d8c00   ( 327 kB)
    [    0.000000]       .data : 0xc09da000 - 0xc0a5e2c0   ( 529 kB)
    [    0.000000]        .bss : 0xc0a5e2c0 - 0xc0b3c380   ( 889 kB)
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] I-pipe, 24.000 MHz clocksource
    [    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
    [    0.000000] Interrupt pipeline (release #3)
    [    0.000000] Console: colour dummy device 80x30
    [    0.019992] Calibrating delay loop... 363.67 BogoMIPS (lpj=354304)
    [    0.045709] pid_max: default: 32768 minimum: 301
    [    0.050860] Security Framework initialized
    [    0.055290] Mount-cache hash table entries: 512
    [    0.070938] Initializing cgroup subsys cpuacct
    [    0.075666] Initializing cgroup subsys memory
    [    0.080327] Initializing cgroup subsys blkio
    [    0.084987] CPU: Testing write buffer coherency: ok
    [    0.090758] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [    0.096255] Setting up static identity map for 0x8069e048 - 0x8069e0a0
    [    0.104847] Brought up 1 CPUs
    [    0.108050] SMP: Total of 1 processors activated (363.67 BogoMIPS).
    [    0.116483] devtmpfs: initialized
    [    0.185611] pinctrl core: initialized pinctrl subsystem
    [    0.191385] rstctl core: initialized rstctl subsystem
    [    0.197282] regulator-dummy: no parameters
    [    0.202136] NET: Registered protocol family 16
    [    0.207966] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.225736] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.234162] platform 49000000.edma: alias fck already exists
    [    0.240139] platform 49000000.edma: alias fck already exists
    [    0.246092] platform 49000000.edma: alias fck already exists
    [    0.253209] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [    0.253401] OMAP GPIO hardware version 0.1
    [    0.259234] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [    0.260640] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [    0.262220] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [    0.262786] of_get_named_gpio_flags exited with status 52
    [    0.262818] gpio-rctrl rstctl.4: loaded OK
    [    0.272779] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.281126] cpsw.0: No hwaddr in dt. Using c8:a0:30:b0:71:f9 from efuse
    [    0.288096] cpsw.1: No hwaddr in dt. Using c8:a0:30:b0:71:fb from efuse
    [    0.311701] bio: create slab <bio-0> at 0
    [    0.328423] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.335670] of_get_named_gpio_flags: can't parse gpios property
    [    0.335965] vmmcsd_fixed: 3300 mV 
    [    0.342572] SCSI subsystem initialized
    [    0.347002] usbcore: registered new interface driver usbfs
    [    0.352885] usbcore: registered new interface driver hub
    [    0.358789] usbcore: registered new device driver usb
    [    0.366362] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    0.373986] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0
    [    0.384856] DCDC1: at 1500 mV 
    [    0.389506] vdd_mpu: 925 <--> 1325 mV at 1100 mV 
    [    0.395717] vdd_core: 925 <--> 1150 mV at 1100 mV 
    [    0.401981] LDO1: at 1800 mV 
    [    0.406350] LDO2: at 3300 mV 
    [    0.411622] LDO3: 1800 mV 
    [    0.415713] LDO4: at 3300 mV 
    [    0.419949] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    0.426405] omap_i2c 44e0b000.i2c: unable to select pin group
    [    0.433329] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz
    [    0.442058] omap_i2c 4819c000.i2c: unable to select pin group
    [    0.448384] media: Linux media interface: v0.10
    [    0.453432] Linux video capture interface: v2.00
    [    0.458526] pps_core: LinuxPPS API ver. 1 registered
    [    0.463776] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.474096] Advanced Linux Sound Architecture Driver Initialized.
    [    0.481573] NetLabel: Initializing
    [    0.485217] NetLabel:  domain hash size = 128
    [    0.489819] NetLabel:  protocols = UNLABELED CIPSOv4
    [    0.495196] NetLabel:  unlabeled traffic allowed by default
    [    0.501597] Switching to clocksource ipipe_tsc
    [    0.564354] NET: Registered protocol family 2
    [    0.570137] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.577686] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
    [    0.584617] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.591372] TCP: reno registered
    [    0.594836] UDP hash table entries: 256 (order: 1, 12288 bytes)
    [    0.601087] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
    [    0.608234] NET: Registered protocol family 1
    [    0.613519] RPC: Registered named UNIX socket transport module.
    [    0.619774] RPC: Registered udp transport module.
    [    0.624754] RPC: Registered tcp transport module.
    [    0.629716] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.636932] Trying to unpack rootfs image as initramfs...
    [    1.002236] Freeing initrd memory: 2904K
    [    1.007125] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [    1.016033] CPU PMU: attempt to register multiple PMU devices!
    [    1.021942] arm-pmu: probe of arm-pmu failed with error -28
    [    1.028556] omap2_mbox_probe: platform not supported
    [    1.320985] I-pipe: head domain Xenomai registered.
    [    1.326198] Xenomai: hal/arm started.
    [    1.332024] Xenomai: scheduling class idle registered.
    [    1.337568] Xenomai: scheduling class rt registered.
    [    1.350979] Xenomai: real-time nucleus v2.6.3 (Lies and Truths) loaded.
    [    1.357953] Xenomai: debug mode enabled.
    [    1.362700] Xenomai: starting native API services.
    [    1.367792] Xenomai: starting POSIX services.
    [    1.372602] Xenomai: starting RTDM services.
    [    1.378638] VFS: Disk quotas dquot_6.5.2
    [    1.383143] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.391488] NFS: Registering the id_resolver key type
    [    1.397037] Key type id_resolver registered
    [    1.401487] Key type id_legacy registered
    [    1.405818] fuse init (API version 7.20)
    [    1.410944] Btrfs loaded
    [    1.413886] msgmni has been set to 889
    [    1.421165] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [    1.428942] io scheduler noop registered
    [    1.433114] io scheduler deadline registered
    [    1.437763] io scheduler cfq registered (default)
    [    1.444770] tps65217-bl tps65217-bl: no platform data provided
    [    1.450973] tps65217-bl: probe of tps65217-bl failed with error -22
    [    1.458473] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    1.467583] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
    [    1.475414] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
    [    1.483357] console [ttyO0] enabled, bootconsole disabled
    [    1.495878] [drm] Initialized drm 1.1.0 20060810
    [    1.515249] brd: module loaded
    [    1.526338] loop: module loaded
    [    1.529877] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.537174] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.544468] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.551754] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.559039] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    1.573455] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,0A5A,1613BBBK1042'
    [    1.581308] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black
    [    1.589221] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONE-EMMC-2G
    [    1.597921] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMI
    [    1.637281] bone-capemgr bone_capemgr.9: slot #0: No cape found
    [    1.674385] bone-capemgr bone_capemgr.9: slot #1: No cape found
    [    1.711493] bone-capemgr bone_capemgr.9: slot #2: No cape found
    [    1.748600] bone-capemgr bone_capemgr.9: slot #3: No cape found
    [    1.754860] bone-capemgr bone_capemgr.9: slot #4: specific override
    [    1.761463] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4
    [    1.769504] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'
    [    1.779650] bone-capemgr bone_capemgr.9: slot #5: specific override
    [    1.786251] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5
    [    1.794285] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'
    [    1.804335] bone-capemgr bone_capemgr.9: slot #6: specific override
    [    1.810937] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6
    [    1.818979] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'
    [    1.829357] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONE-EMMC-2G
    [    1.839047] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMI
    [    1.848827] bone-capemgr bone_capemgr.9: initialized OK.
    [    1.854450] bone-capemgr bone_capemgr.9: loader: before slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.863302] bone-capemgr bone_capemgr.9: loader: check slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.874166] OneNAND driver initializing
    [    1.879831] usbcore: registered new interface driver cdc_ether
    [    1.886076] usbcore: registered new interface driver rndis_host
    [    1.892388] bone-capemgr bone_capemgr.9: loader: after slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    1.901294] usbcore: registered new interface driver cdc_ncm
    [    1.907286] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version '00A0'
    [    1.922528] usbcore: registered new interface driver cdc_acm
    [    1.928486] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    1.936871] Initializing USB Mass Storage driver...
    [    1.942049] bone-capemgr bone_capemgr.9: slot #6: dtbo 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
    [    1.953494] usbcore: registered new interface driver usb-storage
    [    1.959812] USB Mass Storage support registered.
    [    1.965025] bone-capemgr bone_capemgr.9: slot #6: #2 overlays
    [    1.973526] platform 4830e000.fb: alias fck already exists
    [    1.979568] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    1.986183] bone-capemgr bone_capemgr.9: slot #6: Applied #2 overlays.
    [    1.993057] bone-capemgr bone_capemgr.9: loader: done slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
    [    2.002154] musb-hdrc musb-hdrc.0.auto: pdev->id = 0
    [    2.007414] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
    [    2.016343] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    2.016367] musb-hdrc: MHDRC RTL version 2.0 
    [    2.016382] musb-hdrc: setup fifo_mode 4
    [    2.016409] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    2.016562] musb-hdrc musb-hdrc.0.auto: *** mode=3
    [    2.021668] musb-hdrc musb-hdrc.0.auto: *** power=250
    [    2.027922] musb-hdrc musb-hdrc.1.auto: pdev->id = 1
    [    2.033176] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK
    [    2.041978] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    2.041998] musb-hdrc: MHDRC RTL version 2.0 
    [    2.042012] musb-hdrc: setup fifo_mode 4
    [    2.042034] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    2.042173] musb-hdrc musb-hdrc.1.auto: *** mode=1
    [    2.047266] musb-hdrc musb-hdrc.1.auto: *** power=250
    [    2.052601] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    2.059191] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [    2.067480] musb-hdrc musb-hdrc.1.auto: supports USB remote wakeup
    [    2.067606] usb usb1: default language 0x0409
    [    2.067670] usb usb1: udev 1, busnum 1, minor = 0
    [    2.067693] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.074849] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.082432] usb usb1: Product: MUSB HDRC host driver
    [    2.087656] usb usb1: Manufacturer: Linux 3.8.13xenomai-bone28 musb-hcd
    [    2.094597] usb usb1: SerialNumber: musb-hdrc.1.auto
    [    2.100688] usb usb1: usb_probe_device
    [    2.100717] usb usb1: configuration #1 chosen from 1 choice
    [    2.100794] usb usb1: adding 1-0:1.0 (config #1, interface 0)
    [    2.101000] hub 1-0:1.0: usb_probe_interface
    [    2.101021] hub 1-0:1.0: usb_probe_interface - got id
    [    2.101053] hub 1-0:1.0: USB hub found
    [    2.105108] hub 1-0:1.0: 1 port detected
    [    2.109270] hub 1-0:1.0: standalone hub
    [    2.109290] hub 1-0:1.0: individual port power switching
    [    2.109307] hub 1-0:1.0: no over-current protection
    [    2.109324] hub 1-0:1.0: Single TT
    [    2.109344] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [    2.109362] hub 1-0:1.0: power on to power good time: 10ms
    [    2.109409] hub 1-0:1.0: local power source is good
    [    2.109542] hub 1-0:1.0: enabling power on all ports
    [    2.110822] mousedev: PS/2 mouse device common for all mice
    [    2.119221] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    2.126775] 44e3e000.rtc: already running
    [    2.131310] i2c /dev entries driver
    [    2.136849] pps_ldisc: PPS line discipline registered
    [    2.142360] Driver for 1-wire Dallas network protocol.
    [    2.149910] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.157940] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-devel@redhat.com
    [    2.167353] of_get_named_gpio_flags exited with status 6
    [    2.167374] of_get_named_gpio_flags: can't parse gpios property
    [    2.167390] of_get_named_gpio_flags: can't parse gpios property
    [    2.167428] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed
    [    2.174703] omap_hsmmc mmc.5: Failed to get rstctl; not using any
    [    2.181599] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [    2.188845] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [    2.196240] mmc.5 supply vmmc_aux not found, using dummy regulator
    [    2.203741] omap_hsmmc mmc.5: pins are not configured from the driver
    [    2.210667] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
    [    2.210754] hub 1-0:1.0: hub_suspend
    [    2.210798] usb usb1: bus auto-suspend, wakeup 1
    [    2.237572] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8
    [    2.249322] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22
    [    2.256636] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single
    [    2.265638] leds-gpio gpio-leds.8: pins are not configured from the driver
    [    2.272898] of_get_named_gpio_flags exited with status 53
    [    2.272924] of_get_named_gpio_flags exited with status 54
    [    2.272945] of_get_named_gpio_flags exited with status 55
    [    2.272965] of_get_named_gpio_flags exited with status 56
    [    2.273006] of_get_named_gpio_flags exited with status 53
    [    2.273354] of_get_named_gpio_flags exited with status 54
    [    2.273597] of_get_named_gpio_flags exited with status 55
    [    2.273799] of_get_named_gpio_flags exited with status 56
    [    2.274500] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.281405] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
    [    2.288703] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    2.297725] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    2.304091] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
    [    2.311381] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
    [    2.319913] usbcore: registered new interface driver usbhid
    [    2.325844] usbhid: USB HID core driver
    [    2.331473] ashmem: initialized
    [    2.335441] logger: created 256K log 'log_main'
    [    2.340420] usb usb1: usb wakeup-resume
    [    2.340476] usb usb1: usb auto-resume
    [    2.340506] hub 1-0:1.0: hub_resume
    [    2.340567] hub 1-0:1.0: port 1: status 0101 change 0001
    [    2.341294] logger: created 256K log 'log_events'
    [    2.346806] logger: created 256K log 'log_radio'
    [    2.352159] logger: created 256K log 'log_system'
    [    2.361376] TCP: cubic registered
    [    2.365183] NET: Registered protocol family 10
    [    2.371421] NET: Registered protocol family 17
    [    2.376226] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    2.385109] Key type dns_resolver registered
    [    2.390125] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    2.398382] ThumbEE CPU extension supported.
    [    2.403024] Registering SWP/SWPB emulation handler
    [    2.408272] mmc0: new high speed SDHC card at address 59b4
    [    2.415157] registered taskstats version 1
    [    2.420386] mmcblk0: mmc0:59b4 00000 7.47 GiB 
    [    2.427755] of_get_named_gpio_flags: can't parse gpios property
    [    2.427789] tilcdc 4830e000.fb: No power control GPIO
    [    2.435259]  mmcblk0: p1 p2
    [    2.444191] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
    [    2.444279] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
    [    2.549442] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    2.560661] tilcdc 4830e000.fb: found TDA19988
    [    2.566230] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    2.573197] [drm] No driver support for vblank timestamp query.
    [    2.579578] [drm] forcing HDMI-A-1 connector ON
    [    2.675459] usb 1-1: default language 0x0409
    [    2.675788] usb 1-1: udev 2, busnum 1, minor = 1
    [    2.675804] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
    [    2.675816] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    2.675827] usb 1-1: Product: USB2.0 Hub
    [    2.676550] usb 1-1: usb_probe_device
    [    2.676567] usb 1-1: configuration #1 chosen from 1 choice
    [    2.676924] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
    [    2.677143] hub 1-1:1.0: usb_probe_interface
    [    2.677155] hub 1-1:1.0: usb_probe_interface - got id
    [    2.677180] hub 1-1:1.0: USB hub found
    [    2.677523] hub 1-1:1.0: 4 ports detected
    [    2.677535] hub 1-1:1.0: standalone hub
    [    2.677544] hub 1-1:1.0: ganged power switching
    [    2.677554] hub 1-1:1.0: global over-current protection
    [    2.677563] hub 1-1:1.0: Single TT
    [    2.677576] hub 1-1:1.0: TT requires at most 32 FS bit times (2664 ns)
    [    2.677586] hub 1-1:1.0: Port indicators are supported
    [    2.677596] hub 1-1:1.0: power on to power good time: 100ms
    [    2.677990] hub 1-1:1.0: local power source is good
    [    2.678001] hub 1-1:1.0: no over-current condition exists
    [    2.678436] hub 1-1:1.0: enabling power on all ports
    [    2.680009] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
    [    2.680052] hub 1-0:1.0: port 1 enable change, status 00000503
    [    2.686277] tilcdc 4830e000.fb: Not sure which CEA mode to set, leaving as DVI
    [    2.700205] Console: switching to colour frame buffer device 100x30
    [    2.745831] tilcdc 4830e000.fb: fb0:  frame buffer device
    [    2.751512] tilcdc 4830e000.fb: registered panic notifier
    [    2.757219] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [    2.780302] hub 1-1:1.0: port 1: status 0301 change 0001
    [    2.780890] hub 1-1:1.0: port 2: status 0101 change 0001
    [    2.813067] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    2.819481] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    2.837558] libphy: 4a101000.mdio: probed
    [    2.841896] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    2.851808] Detected MACID = c8:a0:30:b0:71:f9
    [    2.856535] cpsw 4a100000.ethernet: NAPI disabled
    [    2.863960] omap_rtc 44e3e000.rtc: setting system clock to 2013-11-13 07:16:17 UTC (1384326977)
    [    2.880506] ALSA device list:
    [    2.883753]   No soundcards found.
    [    2.887541] hub 1-1:1.0: state 7 ports 4 chg 0006 evt 0000
    [    2.887938] hub 1-1:1.0: port 1, status 0301, change 0000, 1.5 Mb/s
    [    2.889338] Freeing init memory: 324K
    [    2.959985] usb 1-1.1: new low-speed USB device number 3 using musb-hdrc
    [    3.038948] udevd[96]: starting version 175
    [    3.060778] usb 1-1.1: skipped 1 descriptor after interface
    [    3.060822] usb 1-1.1: skipped 1 descriptor after interface
    [    3.061363] usb 1-1.1: default language 0x0409
    [    3.063343] usb 1-1.1: udev 3, busnum 1, minor = 2
    [    3.063375] usb 1-1.1: New USB device found, idVendor=046d, idProduct=c31d
    [    3.070653] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    3.078322] usb 1-1.1: Product: USB Keyboard
    [    3.082821] usb 1-1.1: Manufacturer: Logitech
    [    3.100322] usb 1-1.1: usb_probe_device
    [    3.100362] usb 1-1.1: configuration #1 chosen from 1 choice
    [    3.101920] usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0)
    [    3.103940] usbhid 1-1.1:1.0: usb_probe_interface
    [    3.103972] usbhid 1-1.1:1.0: usb_probe_interface - got id
    [    3.108707] input: Logitech USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/input/input1
    [    3.135521] hid-generic 0003:046D:C31D.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input0
    [    3.165029] usb 1-1.1: adding 1-1.1:1.1 (config #1, interface 1)
    [    3.166727] usbhid 1-1.1:1.1: usb_probe_interface
    [    3.166762] usbhid 1-1.1:1.1: usb_probe_interface - got id
    [    3.176163] input: Logitech USB Keyboard as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.1/input/input2
    [    3.202856] hid-generic 0003:046D:C31D.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-musb-hdrc.1.auto-1.1/input1
    [    3.235123] hub 1-1:1.0: port 2, status 0101, change 0000, 12 Mb/s
    [    3.303760] usb 1-1.2: new full-speed USB device number 4 using musb-hdrc
    [    3.401966] usb 1-1.2: skipped 1 descriptor after interface
    [    3.402215] usb 1-1.2: default language 0x0409
    [    3.402963] usb 1-1.2: udev 4, busnum 1, minor = 3
    [    3.402993] usb 1-1.2: New USB device found, idVendor=0eef, idProduct=0001
    [    3.410235] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    3.417912] usb 1-1.2: Product: USB TouchController
    [    3.423048] usb 1-1.2: Manufacturer: eGalax Inc.
    [    3.472165] usb 1-1.2: usb_probe_device
    [    3.472209] usb 1-1.2: configuration #1 chosen from 1 choice
    [    3.475355] usb 1-1.2: adding 1-1.2:1.0 (config #1, interface 0)
    [    3.475764] usbhid 1-1.2:1.0: usb_probe_interface
    [    3.475792] usbhid 1-1.2:1.0: usb_probe_interface - got id
    [    5.723745] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.725439] udevd[340]: starting version 175
    [    9.839700] usbtouchscreen 1-1.2:1.0: usb_probe_interface
    [    9.839839] usbtouchscreen 1-1.2:1.0: usb_probe_interface - got id
    [    9.844920] input: eGalax Inc. USB TouchController as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/input/input3
    [    9.981390] usbcore: registered new interface driver usbtouchscreen
    [   14.391855] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   14.772464] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
    [   24.398040] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [   28.170435]  gadget: using random self ethernet address
    [   28.198877] usb0: MAC 42:af:52:34:ff:ee
    [   28.203077] usb0: HOST MAC c8:a0:30:b0:71:fb
    [   28.243959]  gadget: Mass Storage Function, version: 2009/09/11
    [   28.250304]  gadget: Number of LUNs=1
    [   28.289845]  lun0: LUN: removable file: /dev/mmcblk0p1
    [   28.326570]  gadget: Multifunction Composite Gadget
    [   28.369890]  gadget: g_multi ready
    [   28.393308] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [   28.438596] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
    [   28.478410] musb-hdrc musb-hdrc.0.auto: supports USB remote wakeup
    [   28.478560] usb usb2: default language 0x0409
    [   28.478628] usb usb2: udev 1, busnum 2, minor = 128
    [   28.478653] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   28.485883] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   28.493476] usb usb2: Product: MUSB HDRC host driver
    [   28.498702] usb usb2: Manufacturer: Linux 3.8.13xenomai-bone28 musb-hcd
    [   28.505647] usb usb2: SerialNumber: musb-hdrc.0.auto
    [   28.539774] usb usb2: usb_probe_device
    [   28.539817] usb usb2: configuration #1 chosen from 1 choice
    [   28.539921] usb usb2: adding 2-0:1.0 (config #1, interface 0)
    [   28.540250] hub 2-0:1.0: usb_probe_interface
    [   28.540277] hub 2-0:1.0: usb_probe_interface - got id
    [   28.540316] hub 2-0:1.0: USB hub found
    [   28.575017] hub 2-0:1.0: 1 port detected
    [   28.604262] hub 2-0:1.0: standalone hub
    [   28.604300] hub 2-0:1.0: individual port power switching
    [   28.604320] hub 2-0:1.0: no over-current protection
    [   28.604338] hub 2-0:1.0: Single TT
    [   28.604359] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [   28.604378] hub 2-0:1.0: power on to power good time: 10ms
    [   28.604453] hub 2-0:1.0: local power source is good
    [   28.604621] hub 2-0:1.0: enabling power on all ports
    [   28.705931] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
    [   28.706037] hub 2-0:1.0: hub_suspend
    [   28.706083] usb usb2: bus auto-suspend, wakeup 1
    [   30.895947] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [   32.475336] tilcdc 4830e000.fb: timeout waiting for framedone
    [   38.217543] net eth0: initializing cpsw version 1.12 (0)
    [   38.241504] net eth0: phy found : id is : 0x7c0f1
    [   38.264445] libphy: PHY 4a101000.mdio:01 not found
    [   38.269598] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [   38.306416] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   41.317571] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
    [   41.325500] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
     
    

    What are the exact boot scripts which load the driver? I have removed 335x-demo and rc.pvr but the kernel module is still loaded at startup.

    The insmod commands both work (pvrsrvkm is actually already loaded), but starting pvrsrvctl gives me:

    bash: /opt/gfxlibraries/gfx_rel_es8.x/pvrsrvctl: No such file or directory

    root@arm:/etc/init.d# file /opt/gfxlibraries/gfx_rel_es8.x/pvrsrvctl
    /opt/gfxlibraries/gfx_rel_es8.x/pvrsrvctl: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped

    But why?

    Regards

    Alexander

  • Hi Andreas,

    Thanks for sharing the details. Glad to know that you are able to use the patches shared.

    Hi Alexander,

    For stanadlone graphics SDK release package, it is 335x-demo script. For AMSDK file system it will be pvr-init(/etc/init.d/pvr-init). What file system are you using? Is it TI AM SDK 6.0 hardfloat file system?

    bash: /opt/gfxlibraries/gfx_rel_es8.x/pvrsrvctl: No such file or directory

    The above error is typically seen if you are using a hardfloat file system/toolchain but using graphics SDK with soft float libraries.

    We release both soft & hard float graphics SDK release packages . If you are using hardfloat toolchain/file system, you need to ensure of using hardfloat graphics SDK package only. The package name clearly mentions hardfp in it as below -

    http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk/4_10_00_01//exports/Graphics_SDK_setuplinux_4_10_00_01_hardfp_minimal_demos.bin

    Can you confirm/ensure you are using the above hardfloat graphics SDK package if you are using hardfloat toolchain/file system? Also you can cross check with details shared by Andreas who has got the graphics SDK 04.10.00.01 package working with 3.8 kernel on BBB by using the patches shared on this thread earlier.

    Thanks,

    Prathap.

     

  • Hi Prathap,

    I'm seeing a performance issue with this new 3.8 version that I don't remember seeing in the 3.2 kernel.

    I see throughput of about 10fps regardless of frame resolution and other parameters that could impact rendering performance. I've tried with both fbdev and pixmap (FBDEV=0) but no difference.

    Context switching (test14) takes 100ms, and the same goes for pixmap_2_triangles_test. Rendering one frame takes to a pixmap 100ms.

    However, if I render a simple scene to the fbdev, I can achieve 25-30fps. But running the demos and trainingcourses, I'm back to ~10fps.

     I have a feeling something is timing out after 100ms.

    UPDATE: GFX_Linux_KM/services4/srvkm/env/linux/osfunc.c, #define EVENT_OBJECT_TIMEOUT_MS (100)

    Thoughts?

    -Andreas

  • Hi Andreas,

    Thanks for sharing your observations with 3.8.

    This is quite likely due to SGX interrupts may not be occuring. Can you check the /proc/interrupts & see if SGX_ISR count is incrementing on running the demos. I strongly suspect you will not see it incrementing & in that case this is the cause for the performance issue you are observing.

    You can then apply the attached patch , build graphics SDK & now check /proc/interrupts. Now you should see SGX ISR count  incrementing & you should be able to get the expected performance.

    Thanks,

    Prathap.

    0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch.tar.gz
  • Prathap,

    You are correct about the interrupts.

    That patch wasn't enough though. However, changing line 202 in syslocal.h made everything behave better:

    #if defined(SGX_OCP_REGS_ENABLED) && defined(SGX_OCP_NO_INT_BYPASS)

    SGX_OCP_NO_INT_BYPASS wasn't defined, which meant that interrupts couldn't be enabled per the subsequent lines. I removed the second test and everything works fine. 

    I opted not to enable that define as I'm not sure what other effects it might have.

    Let me know if you want me to create a new patch for this.

    -Andreas

  • Hi Andreas,

    Thanks for the update. Glad to know that everything is working fine for you now.

    If you see line 102 in GFX_Linux_KM/services4/system/ti335x/syslocal.h, SGX_OCP_REGS_ENABLED is defined for SGX540 only. The SGX core on AM335x is SGX530 & hence this is not defined by default. So unless you have now defined SGX_OCP_REGS_ENABLED explicitly, you will still be hitting the else part of the check in line 202 of syslocal.h. You can check this during build which part is being taken, whether the code under SGX_OCP_REGS_ENABLED  check or the else part in syslocal.h

    Also you had the same graphics SDK code working with 3.2 kernel & as you see this define is not kernel version specific. Its SGX specific.

    So i would say that patch is sufficient as it is tied to kernel version. 

    However thanks for the update & glad to know you have things working fine with 3.8 kernel on BBB setup now.

    Thanks,

    Prathap.

  • You're correct. I don't have SGX_OCP_REGS_ENABLED defined so it wouldn't really matter.

    I'll double check it again tomorrow morning. For some reason, the interrupt didn't seem to be enabled initially. 

    Anyhow, thanks for your help. I really appreciate it.

    -Andreas

  • Welcome Andreas. Thanks for the confirmation/acknowledgement on the define & also for the cooperation provided.

    Glad to know that with the help & inputs provided, you now have a 3.8 kernel BBB setup with 3D graphics/SGX working.

    Hi All,

    We have graphics SDK alpha release 05.00.00.01 supporting 3.12 kernel available for download now at -

    http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/5_00_00_01/index_FDS.html

    More details on the above release is posted here -

    http://tigraphics.blogspot.in/2013/11/4q-2013-linux-graphics-sdk-release.html

    This release support 3.12 kernel, the details of the kernel used is mentioned in release notes. Patches discussed on this thread are not required if you are using this 3.12 kernel mentioned in release notes.

    You only need to apply SGX DT patch to kernel sources which is available in the include/patches folder of this graphics SDK release package.

    Please refer to the release notes for the kernel used for validation -

    http://processors.wiki.ti.com/index.php/RN_5_00_00_01_alpha#Kernel.28Linux_PSP.29_versions_supported_or_used_for_validation

    The release notes has all the details regarding new features, prerequistes & what is not supported.

    Please follow the instructions mentioned in the prerequisites & you should be able to get the SGX working & 3D graphics demos running on your setup with 3.12 kernel.

    Thanks,

    Prathap. 

  • Hi Andreas & Alexander,

    Did either of you manage to get QT5 working on BBB using V3.8.13? I need Xenomai support, so moving to V3.12 at this time is not an option. 

    Regards,

    John

  • Hi Prathap,

    I managed to get SGX working on TI 3.12 kernel using gfxsdk5_00_00_01 and I also managed to get QT5.1.1 running on BBB. However, I do need Xenomai and since it is only released for V3.8.13, I am trying to get SGX working by following the work of Alexander and Andreas. I'm using the same Xenomai patched kernel as Alexander. I applied all patches, but when I start pvr I get the following core dump:


    sudo /etc/init.d/rc.pvr start


    [ 287.088179] Unhandled fault: external abort on non-linefetch (0x1008) at 0xe0
    000ca8
    [ 287.096217] Internal error: : 1008 [#1] SMP ARM
    [ 287.100958] Modules linked in: g_multi libcomposite nfsd exportfs hid_multito
    uch hid_ortek pvrsrvkm(O) evdev
    [ 287.111318] CPU: 0 Tainted: G O (3.8.13xenomai-bone28 #5)
    [ 287.118404] PC is at PollForValueKM+0x48/0xb8 [pvrsrvkm]
    [ 287.124033] LR is at PollForValueKM+0x38/0xb8 [pvrsrvkm]
    [ 287.129597] pc : [<bf00db9c>] lr : [<bf00db8c>] psr: 80000013
    [ 287.129597] sp : dc42fcf8 ip : 00000000 fp : 000f4240
    [ 287.141600] r10: 00000000 r9 : 000000ff r8 : e0000ca8
    [ 287.147062] r7 : 00000000 r6 : 00000000 r5 : 00000001 r4 : ff37f327
    [ 287.153886] r3 : 00000001 r2 : 00c80cd9 r1 : 000003e8 r0 : 00000000
    [ 287.160714] Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 287.168172] Control: 10c5387d Table: 9c5a0019 DAC: 00000015
    [ 287.174177] Process pvrsrvctl (pid: 2981, stack limit = 0xdc42e240)
    [ 287.180733] Stack: (0xdc42fcf8 to 0xdc430000)
    [ 287.185294] fce0: e0000
    ca8 ff37f328
    [ 287.193858] fd00: 000000ff db7b3000 00000000 dd992120 00000000 00000006 dc42e
    000 beaaa9f4
    [ 287.202413] fd20: db39b660 bf01b7b4 00000032 00000000 db7b3000 bf01b858 bf026
    07c db7b3000
    [ 287.210962] fd40: 00000000 dd992120 00000000 bf0185d4 db7b3000 00000000 bf028
    3f0 00000000
    [ 287.219519] fd60: db7b3000 db7f4580 dc42fe38 bf01bc00 00000000 c01c0d94 dc42f
    d88 dc06a2c0
    [ 287.228074] fd80: bf0283b0 dc42fd98 ffffffff bf0283b0 bf028438 c06979cc dc54b
    8c0 00000000
    [ 287.236626] fda0: dc54b8c0 00000000 00000000 bf008938 dc42fde0 bf0088c4 00000
    000 bf010940
    [ 287.245182] fdc0: dc54b8c0 dc42fde0 00000000 00000000 00000000 bf028394 bf008
    b70 bf0088c4
    [ 287.253741] fde0: 00000000 00000000 00000000 00000000 00000000 ffffffff db7f4
    580 bf019368
    [ 287.262302] fe00: db7f4580 00000006 dc42fe38 ffffffff dd992180 dc5c0e40 db7f4
    580 00000000
    [ 287.270863] fe20: dd1c9000 bf017960 00000000 00000000 00000000 bf0088c4 00000
    000 bf010940
    [ 287.279419] fe40: dc54b8c0 0f003180 00000000 00000000 ffffffff bf028394 db7b3
    000 00000000
    [ 287.287984] fe60: dd1c9000 dc5c0e40 dd1c9000 dc42e000 beaaa9f4 bf017a5c bf017
    9d8 bf00da0c
    [ 287.296544] fe80: 00000000 dd1c9000 dd1c8000 bf00da00 db7f4580 bf01073c bf028
    398 00000000
    [ 287.305106] fea0: dd1c8000 bf01daa4 dc42fedc dc54b6c0 00000045 bf01ebb4 da826
    940 c01c6745
    [ 287.313660] fec0: dc3fcf00 c01c6745 00000000 bf017240 dc3b6c28 dc54b6c0 c0b3d
    000 00000045
    [ 287.322214] fee0: 0000001c beaaaa20 00000008 beaaaa28 00000008 00000001 dc42f
    fb0 00000000
    [ 287.330771] ff00: dc3fcf00 00000003 c01c6745 c017cd64 00002000 c017d894 bf027
    d28 00000000
    [ 287.339323] ff20: 0000004c c0167734 0000002e c0167734 c09d3e60 00000000 db6f7
    5cc db6f75cc
    [ 287.347881] ff40: db6f75c8 c000dd08 00000000 c06996f4 c09daf88 db6f75c8 00000
    000 00000000
    [ 287.356436] ff60: dc3fcf00 beaaa9f4 c01c6745 00000000 dc42e000 00000003 00000
    000 c017d934
    [ 287.365000] ff80: 00000003 00000000 beaaa9f4 00012008 00000014 00000001 00000
    036 c000dd08
    [ 287.373565] ffa0: 00000000 c000db40 00012008 00000014 00000003 c01c6745 beaaa
    9f4 00000008
    [ 287.382128] ffc0: 00012008 00000014 00000001 00000036 00000000 00000000 b6fa9
    000 00000000
    [ 287.390688] ffe0: 00000000 beaaa9f0 b6e4b034 b6eff44c 20000010 00000003 9ccfe
    821 9ccfec21
    [ 287.399442] [<bf00db9c>] (PollForValueKM+0x48/0xb8 [pvrsrvkm]) from [<bf01b7b
    4>] (SGXResetInvalDC.isra.4+0x58/0x60 [pvrsrvkm])
    [ 287.411546] [<bf01b7b4>] (SGXResetInvalDC.isra.4+0x58/0x60 [pvrsrvkm]) from [
    <bf01b858>] (SGXReset+0x88/0x1a4 [pvrsrvkm])
    [ 287.423178] [<bf01b858>] (SGXReset+0x88/0x1a4 [pvrsrvkm]) from [<bf0185d4>] (
    SGXInitialise+0x58/0x164 [pvrsrvkm])
    [ 287.434080] [<bf0185d4>] (SGXInitialise+0x58/0x164 [pvrsrvkm]) from [<bf01bc0
    0>] (SGXPostPowerState+0x50/0xa8 [pvrsrvkm])
    [ 287.445679] [<bf01bc00>] (SGXPostPowerState+0x50/0xa8 [pvrsrvkm]) from [<bf00
    8938>] (PVRSRVDevicePostPowerStateKM_AnyVaCb+0x74/0x88 [pvrsrvkm])
    [ 287.459244] [<bf008938>] (PVRSRVDevicePostPowerStateKM_AnyVaCb+0x74/0x88 [pvr
    srvkm]) from [<bf010940>] (List_PVRSRV_POWER_DEV_PVRSRV_ERROR_Any_va+0x30/0x58 [
    pvrsrvkm])
    [ 287.474987] [<bf010940>] (List_PVRSRV_POWER_DEV_PVRSRV_ERROR_Any_va+0x30/0x58
    [pvrsrvkm]) from [<bf008b70>] (PVRSRVSetDevicePowerStateKM+0x4c/0x64 [pvrsrvkm]
    )
    [ 287.489960] [<bf008b70>] (PVRSRVSetDevicePowerStateKM+0x4c/0x64 [pvrsrvkm]) f
    rom [<bf019368>] (SGXScheduleCCBCommandKM+0x64/0xb8 [pvrsrvkm])
    [ 287.503327] [<bf019368>] (SGXScheduleCCBCommandKM+0x64/0xb8 [pvrsrvkm]) from
    [<bf017960>] (SGXGetMiscInfoUkernel+0x78/0xf0 [pvrsrvkm])
    [ 287.516149] [<bf017960>] (SGXGetMiscInfoUkernel+0x78/0xf0 [pvrsrvkm]) from [<
    bf017a5c>] (SGXDevInitCompatCheck+0x84/0x2ac [pvrsrvkm])
    [ 287.528861] [<bf017a5c>] (SGXDevInitCompatCheck+0x84/0x2ac [pvrsrvkm]) from [
    <bf00da00>] (PVRSRVDevInitCompatCheck+0x14/0x20 [pvrsrvkm])
    [ 287.541821] [<bf00da00>] (PVRSRVDevInitCompatCheck+0x14/0x20 [pvrsrvkm]) from
    [<bf01073c>] (List_PVRSRV_DEVICE_NODE_PVRSRV_ERROR_Any+0x20/0x40 [pvrsrvkm])
    [ 287.556450] [<bf01073c>] (List_PVRSRV_DEVICE_NODE_PVRSRV_ERROR_Any+0x20/0x40
    [pvrsrvkm]) from [<bf01daa4>] (PVRSRVInitSrvDisconnectBW+0x48/0x78 [pvrsrvkm])
    [ 287.571201] [<bf01daa4>] (PVRSRVInitSrvDisconnectBW+0x48/0x78 [pvrsrvkm]) fro
    m [<bf01ebb4>] (BridgedDispatchKM+0xf4/0x14c [pvrsrvkm])
    [ 287.583940] [<bf01ebb4>] (BridgedDispatchKM+0xf4/0x14c [pvrsrvkm]) from [<bf0
    17240>] (PVRSRV_BridgeDispatchKM+0xf0/0x204 [pvrsrvkm])
    [ 287.596504] [<bf017240>] (PVRSRV_BridgeDispatchKM+0xf0/0x204 [pvrsrvkm]) from
    [<c017cd64>] (vfs_ioctl+0x28/0x3c)
    [ 287.607158] [<c017cd64>] (vfs_ioctl+0x28/0x3c) from [<c017d894>] (do_vfs_ioct
    l+0x54c/0x5a0)
    [ 287.615896] [<c017d894>] (do_vfs_ioctl+0x54c/0x5a0) from [<c017d934>] (sys_io
    ctl+0x4c/0x70)
    [ 287.624642] [<c017d934>] (sys_ioctl+0x4c/0x70) from [<c000db40>] (ret_fast_sy
    scall+0x0/0x30)
    [ 287.633468] Code: e59d3004 e1a07000 ea000011 e1a05003 (e5983000)
    [ 287.639850] ---[ end trace 3d28a1c78df663d0 ]---

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.096217] Internal error: : 1008 [#1] SMP ARM

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.174177] Process pvrsrvctl (pid: 2981, stack limit = 0xdc42e240)

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.180733] Stack: (0xdc42fcf8 to 0xdc430000)

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.185294] fce0:
    e0000ca8 ff37f328

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.193858] fd00: 000000ff db7b3000 00000000 dd992120 00000000 000000
    06 dc42e000 beaaa9f4

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.202413] fd20: db39b660 bf01b7b4 00000032 00000000 db7b3000 bf01b8
    58 bf02607c db7b3000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.210962] fd40: 00000000 dd992120 00000000 bf0185d4 db7b3000 000000
    00 bf0283f0 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.219519] fd60: db7b3000 db7f4580 dc42fe38 bf01bc00 00000000 c01c0d
    94 dc42fd88 dc06a2c0

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.228074] fd80: bf0283b0 dc42fd98 ffffffff bf0283b0 bf028438 c06979
    cc dc54b8c0 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.236626] fda0: dc54b8c0 00000000 00000000 bf008938 dc42fde0 bf0088
    c4 00000000 bf010940

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.245182] fdc0: dc54b8c0 dc42fde0 00000000 00000000 00000000 bf0283
    94 bf008b70 bf0088c4

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.253741] fde0: 00000000 00000000 00000000 00000000 00000000 ffffff
    ff db7f4580 bf019368

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.262302] fe00: db7f4580 00000006 dc42fe38 ffffffff dd992180 dc5c0e
    40 db7f4580 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.270863] fe20: dd1c9000 bf017960 00000000 00000000 00000000 bf0088
    c4 00000000 bf010940

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.279419] fe40: dc54b8c0 0f003180 00000000 00000000 ffffffff bf0283
    94 db7b3000 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.287984] fe60: dd1c9000 dc5c0e40 dd1c9000 dc42e000 beaaa9f4 bf017a
    5c bf0179d8 bf00da0c

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.296544] fe80: 00000000 dd1c9000 dd1c8000 bf00da00 db7f4580 bf0107
    3c bf028398 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.305106] fea0: dd1c8000 bf01daa4 dc42fedc dc54b6c0 00000045 bf01eb
    b4 da826940 c01c6745

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.313660] fec0: dc3fcf00 c01c6745 00000000 bf017240 dc3b6c28 dc54b6
    c0 c0b3d000 00000045

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.322214] fee0: 0000001c beaaaa20 00000008 beaaaa28 00000008 000000
    01 dc42ffb0 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.330771] ff00: dc3fcf00 00000003 c01c6745 c017cd64 00002000 c017d8
    94 bf027d28 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.339323] ff20: 0000004c c0167734 0000002e c0167734 c09d3e60 000000
    00 db6f75cc db6f75cc

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.347881] ff40: db6f75c8 c000dd08 00000000 c06996f4 c09daf88 db6f75
    c8 00000000 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.356436] ff60: dc3fcf00 beaaa9f4 c01c6745 00000000 dc42e000 000000
    03 00000000 c017d934

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.365000] ff80: 00000003 00000000 beaaa9f4 00012008 00000014 000000
    01 00000036 c000dd08

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.373565] ffa0: 00000000 c000db40 00012008 00000014 00000003 c01c67
    45 beaaa9f4 00000008

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.382128] ffc0: 00012008 00000014 00000001 00000036 00000000 000000
    00 b6fa9000 00000000

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.390688] ffe0: 00000000 beaaa9f0 b6e4b034 b6eff44c 20000010 000000
    03 9ccfe821 9ccfec21

    Message from syslogd@arm at Dec 17 04:09:32 ...
    kernel:[ 287.633468] Code: e59d3004 e1a07000 ea000011 e1a05003 (e5983000)


    Here is my kernel patch:

    diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
    index 5791c69..81375e5 100644
    --- a/arch/arm/boot/dts/am33xx.dtsi
    +++ b/arch/arm/boot/dts/am33xx.dtsi
    @@ -96,6 +96,14 @@
     			reg = <0x48200000 0x1000>;
     		};
     
    +		sgx@0x56000000 {
    +			compatible = "ti,sgx";
    +			ti,hwmods = "gfx";
    +			clock-frequency = <200000000>;
    +			reg = <0x56000000 0x1000000>;
    +			interrupts = <37>;
    +		};
    +
     		edma: edma@49000000 {
     			compatible = "ti,edma3";
     			ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
    diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
    index afecbbc..6c253bd 100644
    --- a/arch/arm/mach-omap2/Makefile
    +++ b/arch/arm/mach-omap2/Makefile
    @@ -5,7 +5,7 @@
     # Common support
     obj-y := id.o io.o control.o mux.o devices.o fb.o serial.o gpmc.o timer.o pm.o \
     	 common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
    -	 omap_device.o sram.o
    +	 omap_device.o sram.o gpu.o
     
     omap-2-3-common				= irq.o
     hwmod-common				= omap_hwmod.o \
    diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
    index fac00f0..24bdc10 100644
    --- a/arch/arm/mach-omap2/board-generic.c
    +++ b/arch/arm/mach-omap2/board-generic.c
    @@ -22,6 +22,7 @@
     #include "common.h"
     #include "common-board-devices.h"
     #include "dss-common.h"
    +#include "soc.h"
     
     #if !(defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3))
     #define intc_of_init	NULL
    @@ -50,6 +51,8 @@ static void __init omap_generic_init(void)
     		omap4_panda_display_init_of();
     	else if (of_machine_is_compatible("ti,omap4-sdp"))
     		omap_4430sdp_display_init_of();
    +	if (omap3_has_sgx())
    +		omap_sgx_init_of();
     }
     
     #ifdef CONFIG_SOC_OMAP2420
    diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
    index f077fbd..dca5aca 100644
    --- a/arch/arm/mach-omap2/common.h
    +++ b/arch/arm/mach-omap2/common.h
    @@ -293,6 +293,7 @@ extern void omap_reserve(void);
     
     struct omap_hwmod;
     extern int omap_dss_reset(struct omap_hwmod *);
    +void __init omap_sgx_init_of(void);
     
     /* SoC specific clock initializer */
     extern int (*omap_clk_init)(void);
    diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
    index 6723683..190378e 100644
    --- a/drivers/video/da8xx-fb.c
    +++ b/drivers/video/da8xx-fb.c
    @@ -204,6 +204,9 @@ static struct fb_fix_screeninfo da8xx_fb_fix = {
     	.accel = FB_ACCEL_NONE
     };
     
    +static vsync_callback_t vsync_cb_handler;
    +static void *vsync_cb_arg;
    +
     static struct fb_videomode known_lcd_panels[] = {
     	/* Sharp LCD035Q3DG01 */
     	[0] = {
    @@ -814,6 +817,32 @@ static int lcd_init(struct da8xx_fb_par *par, const struct lcd_ctrl_config *cfg,
     	return 0;
     }
     
    +int register_vsync_cb(vsync_callback_t handler, void *arg, int idx)
    +{
    +	if ((vsync_cb_handler == NULL) && (vsync_cb_arg == NULL)) {
    +		vsync_cb_arg = arg;
    +		vsync_cb_handler = handler;
    +	} else {
    +		return -EEXIST;
    +	}
    +
    +	return 0;
    +}
    +EXPORT_SYMBOL(register_vsync_cb);
    +
    +int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx)
    +{
    +	if ((vsync_cb_handler == handler) && (vsync_cb_arg == arg)) {
    +		vsync_cb_handler = NULL;
    +		vsync_cb_arg = NULL;
    +	} else {
    +		return -ENXIO;
    +	}
    +
    +	return 0;
    +}
    +EXPORT_SYMBOL(unregister_vsync_cb);
    +
     /* IRQ handler for version 2 of LCDC */
     static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg)
     {
    @@ -851,6 +880,8 @@ static irqreturn_t lcdc_irq_handler_rev02(int irq, void *arg)
     				   LCD_DMA_FRM_BUF_CEILING_ADDR_0_REG);
     			par->vsync_flag = 1;
     			wake_up_interruptible(&par->vsync_wait);
    +			if (vsync_cb_handler)
    +				vsync_cb_handler(vsync_cb_arg);
     		}
     
     		if (stat & LCD_END_OF_FRAME1) {
    @@ -926,6 +957,8 @@ static irqreturn_t lcdc_irq_handler_rev01(int irq, void *arg)
     				   LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG);
     			par->vsync_flag = 1;
     			wake_up_interruptible(&par->vsync_wait);
    +			if (vsync_cb_handler)
    +				vsync_cb_handler(vsync_cb_arg);
     		}
     	}
     
    diff --git a/include/video/da8xx-fb.h b/include/video/da8xx-fb.h
    index f888259..6b1abfd 100644
    --- a/include/video/da8xx-fb.h
    +++ b/include/video/da8xx-fb.h
    @@ -86,5 +86,9 @@ struct lcd_sync_arg {
     /* Proprietary FB_SYNC_ flags */
     #define FB_SYNC_CLK_INVERT 0x40000000
     
    +typedef void (*vsync_callback_t)(void *arg);
    +int register_vsync_cb(vsync_callback_t handler, void *arg, int idx);
    +int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx);
    +
     #endif  /* ifndef DA8XX_FB_H */
     
    
  • Hi Prathap,

    I'm just wondering if Andreas was using the TI V3.8 kernel since I was able to get SGX working with the TI 3.12 kernel, but Robert Nelson's V3.12 kernel had some pieces missing and SGX didn't work. Perhaps this is the reason why Alexander was having difficulty?

    Regards,

    John

  • Hi John,

    Glad to know that you could get SGX working on your setup with TI 3.12 kernel.

    The graphics SDK release notes always mentions the kernel version/details against which the release was validated against.

    http://processors.wiki.ti.com/index.php/RN_5_00_00_01_alpha#Kernel.28Linux_PSP.29_versions_supported_or_used_for_validation

    If a different kernel is being used, then one needs to take care of integrating the missing pieces by referring to the kernel sources as mentioned in release notes. For SGX, its mainly the DT node addition & enabling the reset driver framework as mentioned in release notes link above.

    Andreas,

    Can you please confirm on the kernel version you had used?

    Thanks,

    Prathap.

  • Hi guys,

    I'm using the kernel from the meta-beagleboard repo: https://github.com/beagleboard/meta-beagleboard

    It looks very similar to TI's official release but I cannot say for sure.

    I have not tried to build Qt so I can't help you there.

    -Andreas

  • Hi Prathap & Andreas,

    Finally this makes sense. I missed the part where Andreas said he was using Yocto and I assumed he was using the same kernel as Alexander. Clearly there is something missing in Robert Nelson's kernel required for SGX to work. Now I know were to look. Thank you both for all your help. 

    Regards,

    John

  • Have you tried to post the questions related to kernel from Beagleboard at bleagleboard.org forums?

  • Yes, and Robert Nelson is looking into adding the necessary SGX support in his 3.12 kernel. I'm working on patching the Angstrom, Yocto and TI v3.8 kernels to see which support SGX and will post my results to beagleboard.org. 

    Regards,

    John

  • Update,

    SGX is now running on Robert Nelson's 3.12.5-bone10.4 kernel. I have also confirmed that QT5.1.1 is also running on this kernel.

    Robert Nelson said the TI 3.12 kernel was built on top of the old (none kms) CONFIG_FB_DA8XX video driver... Not the new fancy CONFIG_DRM_TILCDC Robert has been using since 3.8, that has edid/etc working. 

    Regards,

    John

  • Hi Prathap,

    Robert Nelson has built in SGX support into his am33x-v12 branch. Building SGX with:

    make BUILD=release OMAPES=8.x FBDEV=no SUPPORT_XORG=0 PM_RUNTIME=1 all

    builds without error. However, building SGX with:

    make BUILD=release OMAPES=8.x FBDEV=yes SUPPORT_XORG=1 PM_RUNTIME=0 all

    gives the following error:

    make GRAPHICS_INSTALL_DIR=/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/ KERNEL_INSTALL_DIR=/mnt/SSD/GIT/linux-dev-3.12/KERNEL HOME=/home/jsynesio CSTOOL_PREFIX=arm-linux-gnueabihf- CSTOOL_DIR=/mnt/SSD/GIT/linux-dev-3.12/dl/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux BUILD=release OMAPES=8.x FBDEV=yes SUPPORT_XORG=1 PM_RUNTIME=0 all
    building the sgx kernel modules...
    make[1]: Entering directory `/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM'
    make[1]: Leaving directory `/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM'
    make[1]: Entering directory `/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM'
    make -C /mnt/SSD/GIT/linux-dev-3.12/KERNEL M=`pwd` 
    make[2]: Entering directory `/mnt/SSD/GIT/linux-dev-3.12/KERNEL'
      LD      /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
      LD [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bufferclass_ti.o
      LD      /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/built-in.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/pvr_drm_stubs.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_auth.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_bufs.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_cache.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_context.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_dma.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_drv.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_fops.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_gem.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_ioctl.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_irq.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_lock.o
      CC [M]  /mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_memory.o
    make[4]: *** No rule to make target `/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm_proc.o', needed by `/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm/drm.o'.  Stop.
    make[3]: *** [/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/linux_drm] Error 2
    make[2]: *** [_module_/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM] Error 2
    make[2]: Leaving directory `/mnt/SSD/GIT/linux-dev-3.12/KERNEL'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/mnt/SSD/GIT/linux-dev-3.12/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM'
    make: *** [buildkernel] Error 2
    

    Any idea what is missing?

    Regards,

    John