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.

am335x_evm_config (for EVM_SK) and openGL

Other Parts Discussed in Thread: DA8XX, TPS65910, SYSCONFIG

Hello. I'm trying to recompile system at a AM335X SH board, to support X, but I'm facing a lot of problems:

This is mi first one:

 When recompiling kernel with am335x_evm_defconfig file, OGLE demos doesn't work anymore; I fear "am335_evm_config" is not tuned for OGLE support; but prebuilt uImage-am335x_evm.bin is. Could anyone send me the .config file of this prebuilt image, or give me any tip about which options must I add (make menuconfig) to "am335x_evm_defconfig" in order to compile the kernel with OGLE support?

PS: I'm using "filesystem" tar.gziped image as root filesystem...

Thanks a lot!!

Ok. It works with tisdk_am335x_evm_defconfig....how can I set X support with this config file?

  • Hi,

    There is nothing to enable specifically for the OGLES support in kernel menuconfig. OpenGL ES support is part of the graphics SDK release package only.

    am335x_evm_defconfig shoud work. What is the problem you are facing with OGLES demos?

    Can you please share the complete build steps & serial console logs?

    Please provide the details of your setup/environment through -

    http://processors.wiki.ti.com/index.php/SGXDbg#Baselining_the_current_SGX_driver_environment

    For Xorg support, you need to build the TI graphics SDK release package with SUPPORT_XORG=1 command line option.

    Please go through the following sections in the TI graphics SDK user guide for the same -

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#Xorg_build

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#make_command_line_options_details

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#Execution_instructions

    Thanks,

    Prathap.

    Thanks,

    Prathap.

  • Hello, and thanks for your help. This is the output for the gfx_check.sh script.

    WSEGL settings                                                                  
    [default]                                                                       
    WindowSystem=libpvrPVR2D_DRIWSEGL.so                                            
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so                                          
                                                                                    
    ------                                                                          
    ARM CPU information                                                             
    Processor       : ARMv7 Processor rev 2 (v7l)                                   
    BogoMIPS        : 718.02                                                        
    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        : am335xevm                                                     
    Revision        : 0000                                                          
    Serial          : 0000000000000000                                              
    ------                                                                          
    SGX driver information                                                          
    Version SGX_DDK_Linux_CustomerTI sgxddk 19 1.9@2188537 (release) /home/jenkins/a
    msdk-nightly-build/build-CORTEX_1/arago-tmp-external-arago-toolchain/work/am335x
    _evm-oe-linux-gnueabi/omap3-sgx-modules-4.08.00.02-r19a/Graphics_SDK_4_08_00_02/
    GFX_Linux_KM                                                                    
    System Version String: SGX revision = 1.2.5                                     
    ------                                                                          
    Framebuffer settings                                                            
                                                                                    
    mode "480x272-57"                                                               
        # D: 9.091 MHz, H: 16.992 kHz, V: 57.021 Hz                                 
        geometry 480 272 480 576 32                                                 
        timings 110000 43 8 12 4 4 10                                               
        rgba 8/16,8/8,8/0,8/24                                                      
    endmode                                                                         
                                                                                    
    Frame buffer device information:                                                
        Name        : DA8xx FB Drv                                                  
        Address     : 0x8f200000                                                    
        Size        : 1105920                                                       
        Type        : PACKED PIXELS                                                 
        Visual      : TRUECOLOR                                                     
        XPanStep    : 0                                                             
        YPanStep    : 1                                                             
        YWrapStep   : 0                                                             
        LineLength  : 1920                                                          
        Accelerator : No                                                            
    ------                                                                          
    Rotation settings                                                               
    0                                                                               
    ------                                                                          
    Kernel Module information                                                       
    Module                  Size  Used by                                           
    g_mass_storage         37823  0                                                 
    bufferclass_ti          4820  0                                                 
    omaplfb                10979  0                                                 
    pvrsrvkm              170279  2 omaplfb,bufferclass_ti                          
    wl12xx_sdio             3890  0                                                 
    wl12xx                201439  0                                                 
    mac80211              286169  1 wl12xx                                          
    cfg80211              186086  2 mac80211,wl12xx                                 
    ------                                                                          
    Boot settings                                                                   
    console=console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:/home/gtt/ti-
    sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw i ip=192.168.1.111:192.168.1.110:
    192.168.1.1:255.255.255.0:sitara:eth0:off                                       
    ------                                                                          
    Linux Kernel version                                                            
    Linux am335x-evm 3.2.0 #1 Sun Jun 9 20:51:51 CEST 2013 armv7l GNU/Linux

    (no aceleration???)

    These are my building steps for the kernel:

    $  ~/ti-sdk-am335x-evm-05.07.00.00/linux-devkit/. ./environment-setup

    [linux-devkit]: ...> export ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi-

    [linux-devkit]: .../linux-3.2.0-psp04.06.00.10> make tisdk_am335x-evm_defconfig

    [linux-devkit]: .../linux-3.2.0-psp04.06.00.10> make -j4 uImage

    [linux-devkit]: .../linux-3.2.0-psp04.06.00.10> cp ./arch/arm/boot/uImage /media/boot

    And these, for the Graphics environment (Graphics_SDK_4_09_00_01 , installed with "sdk" & "es8x" options checked):

    1. Edit Rules.make

    HOME=/home/gtt

    CSTOOL_DIR=/home/gtt/ti-sdk-am335x-evm-05.07.00.00/linux-devkit

    CSTOOL_PREFIX=`basename arm-arago-linux-gnueabi-`

    KERNEL_INSTALL_DIR=/home/gtt/ti-sdk-am335x-evm-05.07.00.00/board-support/linux-3.2.0-psp04.06.00.10

    TARGETFS_INSTALL_DIR=/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS

    (booting with kernel in SDCard but NFS root filesystem)

    GRAPHICS_INSTALL_DIR=/home/gtt/Graphics_SDK_4_09_00_01

    2. Make graphics SDK

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

    make BUILD=debug OMAPES=8.x FBDEV=yes SUPPORT_XORG=1 EGLIMAGE=1 install

    3. Boot from NFS:

    U-Boot SPL 201304 2013 - 2musb-hdrc: ConfigData=0 dyn FIFOs,it, HB-ISO x, SoftCo
    nn)                                                                             
    musb-hdrc version 2.0                                                           
    musb-hdrc: setup fifo_mode 4                                                    
    musb-hdrc: 28 memory                                                            
     controller  using PIO, -hdrc: Confi(UTMI-8, dyn FIFOs, bulk combine, bulk split
    , 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                                                                  
    reading u-boot.img                                                              
    reading u-boot.img                                                              
                                                                                    
                                                                                    
    U-Boot 2013.01.01 (Apr 04 2013 - 23:46:57)                                      
                                                                                    
    I2C:   ready                                                                    
    DRAM:  256 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, bulk combine, bulk split, 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, bulk combine, bulk split, 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                                                
    mmc0 is current device                                                          
    SD/MMC found on device 0                                                        
    reading uEnv.txt                                                                
    721 bytes read in 7 ms (100.6 KiB/s)                                            
    Loaded environment from uEnv.txt                                                
    Importing environment from mmc ...                                              
    Running uenvcmd ...                                                             
    reading uImage                                                                  
    3187728 bytes read in 354 ms (8.6 MiB/s)                                        
    Booting from mmc (uEnv.txt configuration) ...                                   
    ## Booting kernel from Legacy Image at 80200000 ...                             
       Image Name:   Linux-3.2.0                                                    
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    3187664 Bytes = 3 MiB                                          
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Uncompressing linux...                                                       
    [    0.000000] Linux version 3.2.0 (gtt@portatil-nhr) (gcc version 4.5.3 2011031
    1 (prerelease) (GCC) ) #1 Sun Jun 9 20:51:51 CEST 2013                          
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d  
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
    n cache                                                                         
    [    0.000000] Machine: am335xevm                                               
    [    0.000000] Memory policy: ECC disabled, Data cache writeback                
    [    0.000000] AM335X ES1.0 (sgx neon )                                         
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
    es: 65024                                                                       
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot
    =192.168.1.110:/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw i ip=
    192.168.1.111:192.168.1.110:192.168.1.1:255.255.255.0:sitara:eth0:off           
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)              
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)  
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)    
    [    0.000000] Memory: 256MB = 256MB total                                      
    [    0.000000] Memory: 253156k/253156k available, 8988k 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]     modules : 0xbf000000 - 0xc0000000   (  16 MB)                
    [    0.000000]       .text : 0xc0008000 - 0xc05b5000   (5812 kB)                
    [    0.000000]       .init : 0xc05b5000 - 0xc05f1000   ( 240 kB)                
    [    0.000000]       .data : 0xc05f2000 - 0xc065bc20   ( 424 kB)                
    [    0.000000]        .bss : 0xc065bc44 - 0xc068a7e4   ( 187 kB)                
    [    0.000000] NR_IRQS:396                                                      
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup
    ts                                                                              
    [    0.000000] Total of 128 interrupts on 1 active controller                   
    [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz                  
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz                           
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 13
    1071999ms                                                                       
    [    0.000000] Console: colour dummy device 80x30                               
    [    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)          
    [    0.058532] pid_max: default: 32768 minimum: 301                             
    [    0.058654] Security Framework initialized                                   
    [    0.058746] Mount-cache hash table entries: 512                              
    [    0.059143] CPU: Testing write buffer coherency: ok                          
    [    0.079620] omap_hwmod: pruss: failed to hardreset                           
    [    0.080718] print_constraints: dummy:                                        
    [    0.081085] NET: Registered protocol family 16                               
    [    0.083160] OMAP GPIO hardware version 0.1                                   
    [    0.085723] omap_mux_init: Add partition: #1: core, flags: 0                 
    [    0.087646]  omap_i2c.1: alias fck already exists                            
    [    0.088500]  omap2_mcspi.1: alias fck already exists                         
    [    0.088806]  omap2_mcspi.2: alias fck already exists                         
    [    0.089752]  edma.0: alias fck already exists                                
    [    0.089782]  edma.0: alias fck already exists                                
    [    0.089782]  edma.0: alias fck already exists                                
    [    0.116363] bio: create slab <bio-0> at 0                                    
    [    0.118591] SCSI subsystem initialized                                       
    [    0.120239] usbcore: registered new interface driver usbfs                   
    [    0.120544] usbcore: registered new interface driver hub                     
    [    0.120727] usbcore: registered new device driver usb                        
    [    0.120880] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3   
    [    0.121185] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1   
    [    0.138610] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz                   
    [    0.140441] tps65910 1-002d: JTAGREVNUM 0x0                                  
    [    0.142822] print_constraints: VRTC:                                         
    [    0.144256] print_constraints: VIO: at 1500 mV                               
    [    0.146575] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal      
    [    0.148864] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal      
    [    0.149871] print_constraints: VDD3: 5000 mV                                 
    [    0.151275] print_constraints: VDIG1: at 1800 mV                             
    [    0.152709] print_constraints: VDIG2: at 1800 mV                             
    [    0.154113] print_constraints: VPLL: at 1800 mV                              
    [    0.155548] print_constraints: VDAC: at 1800 mV                              
    [    0.156951] print_constraints: VAUX1: at 1800 mV                             
    [    0.158386] print_constraints: VAUX2: at 3300 mV                             
    [    0.159820] print_constraints: VAUX33: at 3300 mV                            
    [    0.161254] print_constraints: VMMC: at 3300 mV                              
    [    0.161743] tps65910 1-002d: No interrupt support, no core IRQ               
    [    0.163116] Advanced Linux Sound Architecture Driver Version 1.0.24.         
    [    0.164245] Switching to clocksource gp timer                                
    [    0.179565] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)             
    [    0.179748] musb-hdrc musb-hdrc.0: dma type: pio                             
    [    0.180084] MUSB0 controller's USBSS revision = 4ea20800                     
    [    0.180725] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using
    PIO, IRQ 18                                                                     
    [    0.180877] musb-hdrc musb-hdrc.1: dma type: pio                             
    [    0.181182] MUSB1 controller's USBSS revision = 4ea20800                     
    [    0.181335] musb-hdrc musb-hdrc.1: MUSB HDRC host driver                     
    [    0.181427] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numbe
    r 1                                                                             
    [    0.181549] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002    
    [    0.181579] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1                                                                               
    [    0.181579] usb usb1: Product: MUSB HDRC host driver                         
    [    0.181579] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd                     
    [    0.181610] usb usb1: SerialNumber: musb-hdrc.1                              
    [    0.182373] hub 1-0:1.0: USB hub found                                       
    [    0.182403] hub 1-0:1.0: 1 port detected                                     
    [    0.182952] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using
     PIO, IRQ 19                                                                    
    [    0.183349] NET: Registered protocol family 2                                
    [    0.183532] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)   
    [    0.183837] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.183990] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)        
    [    0.184082] TCP: Hash tables configured (established 8192 bind 8192)         
    [    0.184112] TCP reno registered                                              
    [    0.184112] UDP hash table entries: 256 (order: 0, 4096 bytes)               
    [    0.184143] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)          
    [    0.184387] NET: Registered protocol family 1                                
    [    0.184661] RPC: Registered named UNIX socket transport module.              
    [    0.184661] RPC: Registered udp transport module.                            
    [    0.184692] RPC: Registered tcp transport module.                            
    [    0.184692] RPC: Registered tcp NFSv4.1 backchannel transport module.        
    [    0.184936] NetWinder Floating Point Emulator V0.97 (double precision)       
    [    0.196044] VFS: Disk quotas dquot_6.5.2                                     
    [    0.196105] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)       
    [    0.196655] msgmni has been set to 494                                       
    [    0.199798] alg: No test for stdrng (krng)                                   
    [    0.200469] io scheduler noop registered                                     
    [    0.200469] io scheduler deadline registered                                 
    [    0.200561] io scheduler cfq registered (default)                            
    [    0.201721] Could not set LED4 to fully on                                   
    [    0.203430] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.833404] console [ttyO0] enabled                                          
    [    0.837677] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.845520] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.853271] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.861053] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.868835] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.877105] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00     
    [    0.893310] brd: module loaded                                               
    [    0.901275] loop: module loaded                                              
    [    0.904754] i2c-core: driver [tsl2550] using legacy suspend method           
    [    0.911224] i2c-core: driver [tsl2550] using legacy resume method            
    [    0.917663] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write  
    [    0.984802] No daughter card found                                           
    [    0.988403] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write  
    [    1.003570] Board name: A335X_SK                                             
    [    1.006958] Board version: 1.2B                                              
    [    1.010223] The board is a AM335x Starter Kit.                               
    [    1.015655]  omap_hsmmc.0: alias fck already exists                          
    [    1.021087]  omap_hsmmc.1: alias fck already exists                          
    [    1.027069]  da8xx_lcdc.0: alias fck already exists                          
    [    1.032501] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-4.3-ATXI#-T-1 panel     
    [    1.048767] Console: switching to colour frame buffer device 60x34           
    [    1.061737]  davinci-mcasp.1: alias fck already exists                       
    [    1.067504] Configure Bluetooth Enable pin...                                
    [    1.072906] registered am33xx_sr device                                      
    [    1.077148] _regulator_get: 1-0018 supply Vdd not found, using dummy regulato
    r                                                                               
    [    1.084777] _regulator_get: 1-0018 supply Vdd_IO not found, using dummy regul
    ator                                                                            
    [    1.113250] lis3lv02d: 8 bits 3DLH sensor found                              
    [    1.205230] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d
    /input/input0                                                                   
    [    1.216949] mtdoops: mtd device (mtddev=name/number) must be supplied        
    [    1.224090] omap2-nand driver initializing                                   
    [    1.228576] OneNAND driver initializing                                      
    [    1.233825] CAN device driver interface                                      
    [    1.237854] CAN bus driver for Bosch D_CAN controller 1.0                    
    [    1.284851] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6           
    [    1.291320] davinci_mdio davinci_mdio.0: detected phy mask fffffffc          
    [    1.299468] davinci_mdio.0: probed                                           
    [    1.303009] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.310394] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [    1.318084] usbcore: registered new interface driver zd1201                  
    [    1.324096] usbcore: registered new interface driver cdc_ether               
    [    1.330352] usbcore: registered new interface driver cdc_eem                 
    [    1.336425] usbcore: registered new interface driver dm9601                  
    [    1.342285] cdc_ncm: 04-Aug-2011                                             
    [    1.345825] usbcore: registered new interface driver cdc_ncm                 
    [    1.351745] Initializing USB Mass Storage driver...                          
    [    1.357055] usbcore: registered new interface driver usb-storage             
    [    1.363311] USB Mass Storage support registered.                             
    [    1.368560] mousedev: PS/2 mouse device common for all mice                  
    [    1.375549] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input
    1                                                                               
    [    1.384094] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0     
    [    1.391143] am33xx-rtc: already running                                      
    [    1.395294] i2c /dev entries driver                                          
    [    1.399322] Linux video capture interface: v2.00                             
    [    1.404449] usbcore: registered new interface driver uvcvideo                
    [    1.410461] USB Video Class driver (1.1.1)                                   
    [    1.416870] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec             
    [    1.425415] cpuidle: using governor ladder                                   
    [    1.430145] cpuidle: using governor menu                                     
    [    1.439025] omap4_aes_mod_init: loading AM33X AES driver                     
    [    1.444671] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02                
    [    1.451232] omap4_aes_probe: probe() done                                    
    [    1.455902] omap4_sham_mod_init: loading AM33X SHA/MD5 driver                
    [    1.462005] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03          
    [    1.473541] omap4_sham_probe: probe() done                                   
    [    1.483612] usbcore: registered new interface driver usbhid                  
    [    1.489501] usbhid: USB HID core driver                                      
    [    1.494171] tiadc tiadc: attached adc driver                                 
    [    1.502441] usbcore: registered new interface driver snd-usb-audio           
    [    1.510864] _regulator_get: 1-001b supply IOVDD not found, using dummy regula
    tor                                                                             
    [    1.518676] _regulator_get: 1-001b supply DVDD not found, using dummy regulat
    or                                                                              
    [    1.526367] _regulator_get: 1-001b supply AVDD not found, using dummy regulat
    or                                                                              
    [    1.534027] _regulator_get: 1-001b supply DRVDD not found, using dummy regula
    tor                                                                             
    [    1.544494] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok            
    [    1.552246] ALSA device list:                                                
    [    1.555389]   #0: AM335X EVM                                                 
    [    1.558380] oprofile: hardware counters not available                        
    [    1.563629] oprofile: using timer interrupt.                                 
    [    1.568115] nf_conntrack version 0.5.0 (3955 buckets, 15820 max)             
    [    1.574920] ip_tables: (C) 2000-2006 Netfilter Core Team                     
    [    1.580566] TCP cubic registered                                             
    [    1.583953] NET: Registered protocol family 17                               
    [    1.588623] can: controller area network core (rev 20090105 abi 8)           
    [    1.595153] NET: Registered protocol family 29                               
    [    1.599792] can: raw protocol (rev 20090105)                                 
    [    1.604248] can: broadcast manager protocol (rev 20090105 t)                 
    [    1.610198] Registering the dns_resolver key type                            
    [    1.615203] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
     rev 3                                                                          
    [    1.623199] ThumbEE CPU extension supported.                                 
    [    1.627746] mux: Failed to setup hwmod io irq -22                            
    [    1.633300] Power Management for AM33XX family                               
    [    1.638183] Trying to load am335x-pm-firmware.bin (60 secs timeout)          
    [    1.644897] Copied the M3 firmware to UMEM                                   
    [    1.649230] Cortex M3 Firmware Version = 0x18                                
    [    1.653900] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from E
    FUSE                                                                            
    [    1.661743] smartreflex: probe of smartreflex failed with error -22          
    [    1.668853] sr_init: platform driver register failed                         
    [    1.679046] clock: disabling unused clocks to save power                     
    [    1.694366] mmc0: host does not support reading read-only switch. assuming wr
    ite-enable.                                                                     
    [    1.704956] mmc0: new high speed SDHC card at address 1234                   
    [    1.711395] mmcblk0: mmc0:1234 SA08G 7.28 GiB                                
    [    1.718566] Detected MACID=0:18:31:e1:fc:2d                                  
    [    1.723785]  mmcblk0: p1 p2 p3                                               
    [    1.727996] cpsw: Detected MACID = 00:18:31:e1:fc:2e                         
    [    1.805725] input: gpio-keys as /devices/platform/gpio-keys/input/input2     
    [    1.813293] omap_rtc am33xx-rtc: setting system clock to 2013-04-05 13:04:59
    UTC (1365167099)                                                                
    [    1.826934] net eth0: CPSW phy found : id is : 0x4dd074                      
    [    1.859436] mmc1: card claims to support voltages below the defined range. Th
    ese will be ignored.                                                            
    [    1.878570] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)                   
    [    1.885192] mmc1: new SDIO card at address 0001                              
    [    3.826416] PHY: 0:00 - Link is Up - 100/Full                                
    [    3.855651] IP-Config: Complete:                                             
    [    3.859008]      device=eth0, addr=192.168.1.111, mask=255.255.255.0, gw=192.
    168.1.1,                                                                        
    [    3.866943]      host=sitara, domain=, nis-domain=(none),                    
    [    3.872589]      bootserver=192.168.1.110, rootserver=192.168.1.110, rootpath
    =                                                                               
    [    3.886871] VFS: Mounted root (nfs filesystem) on device 0:14.               
    [    3.893341] Freeing init memory: 240K                                        
    INIT: version 2.88 booting                                                      
    Starting udev                                                                   
    [    6.000885] Disabling lock debugging due to kernel taint                     
    [    7.519897] cfg80211: Calling CRDA to update world regulatory domain         
    [    7.681335] wl12xx: driver version: ol_R5.SP4.01-dirty                       
    [    7.686737] wl12xx: compilation time: Thu Apr  4 23:57:00 2013               
    [    7.896636] cfg80211: World regulatory domain updated:                       
    [    7.902069] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_g
    ain, max_eirp)                                                                  
    [    7.910827] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi,
    2000 mBm)                                                                       
    [    7.919097] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi,
    2000 mBm)                                                                       
    [    7.927368] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi,
    2000 mBm)                                                                       
    [    7.935638] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi,
    2000 mBm)                                                                       
    [    7.943878] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi,
    2000 mBm)                                                                       
    [    8.109100] wl12xx: loaded                                                   
    [    8.342895] kjournald starting.  Commit interval 5 seconds                   
    [    8.354064] EXT3-fs (mmcblk0p3): using internal journal                      
    [    8.359558] EXT3-fs (mmcblk0p3): recovery complete                           
    [    8.364562] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode   
    [    8.388824] kjournald starting.  Commit interval 5 seconds                   
    [    8.403411] EXT3-fs (mmcblk0p2): using internal journal                      
    [    8.409027] EXT3-fs (mmcblk0p2): recovery complete                           
    [    8.414031] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode   
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or d
    irectory                                                                        
    bootlogd.                                                                       
    ALSA: Restoring mixer settings...                                               
    No state is present for card EVM                                                
    Found hardware: "AM335X_EVM" "" "" "" ""                                        
    Hardware is initialized using a generic method                                  
    No state is present for card EVM                                                
    NOT configuring network interfaces: / is an NFS mount                           
    INIT: Entering runlevel: 5                                                      
    Starting system message bus: dbus.                                              
    Starting Dropbear SSH server: dropbear.                                         
    Starting telnet daemon.                                                         
    Performing wifi calibration...                                                  
    [   10.392761] wl12xx: loaded                                                   
    [   10.407287] wl12xx: power up                                                 
    [   10.887084] wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.135)           
    Using nvs version 2.1                                                           
    Calibrate /lib/firmware/ti-connectivity/wl1271-nvs.bin                          
    Writing calibration data to /lib/firmware/ti-connectivity/wl1271-nvs.bin        
    Writing mac addr[   10.963653] wl12xx: power down                               
    ess 00:00:00:00:00:00 to file /lib/firmware/ti-connectivity/wl1271-nvs.bin      
    Calibration done. FEM1 has 1 bands. AutoFEM is off. Resulting nvs is /lib/firmwa
    re/ti-connectivity/wl1271-nvs.bin                                               
    [   11.611572] wl12xx: loaded                                                   
    Starting network benchmark server: netserver.                                   
    Starting syslogd/klogd: done                                                    
    Starting thttpd.                                                                
    Starting PVR                                                                    
    Starting Lighttpd Web Server: lighttpd.                                         
    2013-04-05 13:05:09: (log.c.166) server started                                 
    /                                                                               
    Starting Matrix GUI application.                                                
    [   13.251312]  gadget: Mass Storage Function, version: 2009/09/11              
    [   13.258728]  gadget: Number of LUNs=2                                        
    [   13.262573]  lun0: LUN: removable file: /dev/mmcblk0p1                       
    [   13.267944]  lun1: LUN: removable file: /dev/mmcblk0p3                       
    [   13.273345]  gadget: Mass Storage Gadget, version: 2009/09/11                
    [   13.279357]  gadget: userspace failed to provide iSerialNumber               
    [   13.285461]  gadget: g_mass_storage ready                                    
    [   13.289672] musb-hdrc musb-hdrc.0: MUSB HDRC host driver                     
    [   13.295257] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numbe
    r 2                                                                             
    [   13.303100] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002    
    [   13.310180] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1                                                                               
    [   13.317718] usb usb2: Product: MUSB HDRC host driver                         
    [   13.322906] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd                     
    [   13.328460] usb usb2: SerialNumber: musb-hdrc.0                              
    [   13.333740] hub 2-0:1.0: USB hub found                                       
    [   13.337677] hub 2-0:1.0: 1 port detected                                     
    [   13.920684]  gadget: high-speed config #1: Linux File-Backed Storage         
    ***************************************************************                 
    ***************************************************************                 
    NOTICE: This file system contains the followin GPLv3 packages:                  
            binutils-symlinks                                                       
            binutils                                                                
            gdbserver                                                               
                                                                                    
    If you do not wish to distribute GPLv3 components please remove                 
    the above packages prior to distribution.  This can be done using               
    the opkg remove command.  i.e.:                                                 
        opkg remove <package>                                                       
    Where <package> is the name printed in the list above                           
                                                                                    
    NOTE: If the package is a dependency of another package you                     
          will be notified of the dependent packages.  You should                   
          use the --force-removal-of-dependent-packages option to                   
          also remove the dependent packages as well                                
    ***************************************************************                 
    ***************************************************************                 
    Stopping Bootlog daemon: bootlogd.                                              
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org am335x-evm ttyO0                         
                                                                                    
    Arago 2013.02 am335x-evm ttyO0    

    4. Running demos and tests:

    # runOGLESEvilSKull  --> Ok but too slow

    # /usr/local/XSGX/bin/rendercheck 

    rendercheck 1.4                                                                 
    rendercheck: Couldn't open display.

    #/usr/local/XSGX/bin# X                                          
    _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6                
    _XSERVTransOpen: transport open failed for inet6/am335x-evm:0                   
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6        
                                                                                    
    X.Org X Server 1.12.0                                                           
    Release Date: 2012-03-04                                                        
    X Protocol Version 11, Revision 0                                               
    Build Operating System: Linux 2.6.35-30-generic-pae i686                        
    Current Operating System: Linux am335x-evm 3.2.0 #1 Sun Jun 9 20:51:51 CEST 2013
     armv7l                                                                         
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:
    /home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw i ip=192.168.1.111:1
    92.168.1.110:192.168.1.1:255.255.255.0:sitara:eth0:off                          
    Build Date: 27 November 2012  06:46:03PM                                        
                                                                                    
    Current version of pixman: 0.24.4                                               
            Before reporting problems, check http://wiki.x.org                      
            to make sure that you have the latest version.                          
    Markers: (--) probed, (**) from config file, (==) default setting,              
            (++) from command line, (!!) notice, (II) informational,                
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.           
    (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Fri Apr  5 13:09:35 2
    013                                                                             
    (==) Using default built-in configuration (12 lines)                            
                                                                                    
    Fatal server error:                                                             
    no screens found                                                                
                                                                                    
    Please consult the The X.Org Foundation support                                 
             at http://wiki.x.org                                                   
     for help.                                                                      
    Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for addit
    ional information.                                                              
                                                                                    
    Server terminated with error (1). Closing log file. 

    # /usr/local/XSGX/bin/Xorg                                       
    _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6                
    _XSERVTransOpen: transport open failed for inet6/am335x-evm:0                   
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6        
                                                                                    
    X.Org X Server 1.12.0                                                           
    Release Date: 2012-03-04                                                        
    X Protocol Version 11, Revision 0                                               
    Build Operating System: Linux 2.6.35-30-generic-pae i686                        
    Current Operating System: Linux am335x-evm 3.2.0 #1 Sun Jun 9 20:51:51 CEST 2013
     armv7l                                                                         
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:
    /home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw i ip=192.168.1.111:1
    92.168.1.110:192.168.1.1:255.255.255.0:sitara:eth0:off                          
    Build Date: 27 November 2012  06:46:03PM                                        
                                                                                    
    Current version of pixman: 0.24.4                                               
            Before reporting problems, check http://wiki.x.org                      
            to make sure that you have the latest version.                          
    Markers: (--) probed, (**) from config file, (==) default setting,              
            (++) from command line, (!!) notice, (II) informational,                
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.           
    (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Fri Apr  5 13:12:38 2
    013                                                                             
    (==) Using default built-in configuration (12 lines)                            
                                                                                    
    Fatal server error:                                                             
    no screens found                                                                
                                                                                    
    Please consult the The X.Org Foundation support                                 
             at http://wiki.x.org                                                   
     for help.                                                                      
    Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for addit
    ional information.                                                              
                                                                                    
    Server terminated with error (1). Closing log file. 

    My Hardware is AM335x Starter Kit.

    Thanks a lot for your help.

  • Hi,

    From the logs you have provided, it looks like you are not following the instructions provided in graphics SDK user guide.

    Please follow the intsructions exactly as provided in the graphics SDK user guide -

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#Execution_instructions

    You need to run 335x-demo script as mentioned in intrsuctions above.

    For Xorg, please note that drm.ko needs to be inserted & not omaplfb. I see omaplfb inserted from your logs.

    Please ensure to follow the instructions provided in user guide step by step & that should help you get the Xorg driver running.

    Essentially build & insall graphics SDK with SUPPORT_XORG=1 & run the 335x-demo script.

    You can also refer to sgxdbg guide for troubleshooting info -

    http://processors.wiki.ti.com/index.php/SGXDbg#X_fails_to_start

    Thanks,

    Prathap.

  • Ok. I just added earlyprintk=serial vram=50M mem=256M  to bootargs in my uEnv.txt file.

    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
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    754 bytes read in 6 ms (122.1 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    reading uImage
    3185768 bytes read in 354 ms (8.6 MiB/s)
    Booting from mmc (uEnv.txt configuration) ...
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-3.2.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3185704 Bytes = 3 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0 (jenkins@sdit-build02) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Apr 4 23:52:23 CDT 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,no
    lock rw mem=256M ip=192.168.1.111:192.168.1.110:192.168.1.1:255.255.255.0:sitara:eth0:off 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] Memory: 256MB = 256MB total
    [    0.000000] Memory: 253212k/253212k available, 8932k 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]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05a7000   (5756 kB)
    [    0.000000]       .init : 0xc05a7000 - 0xc05e3000   ( 240 kB)
    [    0.000000]       .data : 0xc05e4000 - 0xc064dc20   ( 424 kB)
    [    0.000000]        .bss : 0xc064dc44 - 0xc067c7e4   ( 187 kB)
    [    0.000000] NR_IRQS:396
    [    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: GPTIMER2 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.058563] pid_max: default: 32768 minimum: 301
    [    0.058685] Security Framework initialized
    [    0.058776] Mount-cache hash table entries: 512
    [    0.059173] CPU: Testing write buffer coherency: ok
    [    0.079681] omap_hwmod: pruss: failed to hardreset
    [    0.080780] print_constraints: dummy:
    [    0.081146] NET: Registered protocol family 16
    [    0.083251] OMAP GPIO hardware version 0.1
    [    0.085784] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.087677]  omap_i2c.1: alias fck already exists
    [    0.088562]  omap2_mcspi.1: alias fck already exists
    [    0.088867]  omap2_mcspi.2: alias fck already exists
    [    0.089813]  edma.0: alias fck already exists
    [    0.089843]  edma.0: alias fck already exists
    [    0.089874]  edma.0: alias fck already exists
    [    0.116485] bio: create slab <bio-0> at 0
    [    0.118743] SCSI subsystem initialized
    [    0.120361] usbcore: registered new interface driver usbfs
    [    0.120666] usbcore: registered new interface driver hub
    [    0.120849] usbcore: registered new device driver usb
    [    0.121002] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.121307] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.138641] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.140533] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.142913] print_constraints: VRTC:
    [    0.144348] print_constraints: VIO: at 1500 mV
    [    0.146667] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
    [    0.148956] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
    [    0.149963] print_constraints: VDD3: 5000 mV
    [    0.151367] print_constraints: VDIG1: at 1800 mV
    [    0.152801] print_constraints: VDIG2: at 1800 mV
    [    0.154205] print_constraints: VPLL: at 1800 mV
    [    0.155639] print_constraints: VDAC: at 1800 mV
    [    0.157043] print_constraints: VAUX1: at 1800 mV
    [    0.158477] print_constraints: VAUX2: at 3300 mV
    [    0.159942] print_constraints: VAUX33: at 3300 mV
    [    0.161346] print_constraints: VMMC: at 3300 mV
    [    0.161834] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.163208] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.164306] Switching to clocksource gp timer
    [    0.179656] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.179840] musb-hdrc musb-hdrc.0: dma type: pio
    [    0.180145] MUSB0 controller's USBSS revision = 4ea20800
    [    0.180786] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18
    [    0.180938] musb-hdrc musb-hdrc.1: dma type: pio
    [    0.181243] MUSB1 controller's USBSS revision = 4ea20800
    [    0.181427] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.181488] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.181610] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.181640] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.181640] usb usb1: Product: MUSB HDRC host driver
    [    0.181671] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [    0.181671] usb usb1: SerialNumber: musb-hdrc.1
    [    0.182434] hub 1-0:1.0: USB hub found
    [    0.182464] hub 1-0:1.0: 1 port detected
    [    0.183013] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19
    [    0.183441] NET: Registered protocol family 2
    [    0.183624] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.183929] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.184082] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.184173] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.184173] TCP reno registered
    [    0.184204] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.184234] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.184478] NET: Registered protocol family 1
    [    0.184722] RPC: Registered named UNIX socket transport module.
    [    0.184753] RPC: Registered udp transport module.
    [    0.184753] RPC: Registered tcp transport module.
    [    0.184783] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.184997] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.196136] VFS: Disk quotas dquot_6.5.2
    [    0.196197] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.196746] msgmni has been set to 494
    [    0.199859] alg: No test for stdrng (krng)
    [    0.200531] io scheduler noop registered
    [    0.200561] io scheduler deadline registered
    [    0.200622] io scheduler cfq registered (default)
    [    0.201782] Could not set LED4 to fully on
    [    0.203491] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.836853] console [ttyO0] enabled
    [    0.841125] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.848968] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.856750] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.864501] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.872314] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.880584] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [    0.896820] brd: module loaded
    [    0.904754] loop: module loaded
    [    0.908294] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.914733] i2c-core: driver [tsl2550] using legacy resume method
    [    0.921173] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.984893] No daughter card found
    [    0.988494] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.003692] Board name: A335X_SK
    [    1.007049] Board version: 1.2B
    [    1.010314] The board is a AM335x Starter Kit.
    [    1.015747]  omap_hsmmc.0: alias fck already exists
    [    1.021148]  omap_hsmmc.1: alias fck already exists
    [    1.027160]  da8xx_lcdc.0: alias fck already exists
    [    1.032592] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-4.3-ATXI#-T-1 panel
    [    1.048858] Console: switching to colour frame buffer device 60x34
    [    1.061859]  davinci-mcasp.1: alias fck already exists
    [    1.067596] Configure Bluetooth Enable pin...
    [    1.073028] registered am33xx_sr device
    [    1.077270] _regulator_get: 1-0018 supply Vdd not found, using dummy regulator
    [    1.084899] _regulator_get: 1-0018 supply Vdd_IO not found, using dummy regulator
    [    1.113342] lis3lv02d: 8 bits 3DLH sensor found
    [    1.205322] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
    [    1.216979] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.224121] omap2-nand driver initializing
    [    1.228607] OneNAND driver initializing
    [    1.233856] CAN device driver interface
    [    1.237915] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.284942] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.291412] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    [    1.299621] davinci_mdio.0: probed
    [    1.303161] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.310546] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [    1.318237] usbcore: registered new interface driver zd1201
    [    1.324249] usbcore: registered new interface driver cdc_ether
    [    1.330535] usbcore: registered new interface driver cdc_eem
    [    1.336578] usbcore: registered new interface driver dm9601
    [    1.342437] cdc_ncm: 04-Aug-2011
    [    1.346008] usbcore: registered new interface driver cdc_ncm
    [    1.351898] Initializing USB Mass Storage driver...
    [    1.357208] usbcore: registered new interface driver usb-storage
    [    1.363494] USB Mass Storage support registered.
    [    1.368743] mousedev: PS/2 mouse device common for all mice
    [    1.375732] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input1
    [    1.384277] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [    1.391326] am33xx-rtc: already running
    [    1.395477] i2c /dev entries driver
    [    1.399505] Linux video capture interface: v2.00
    [    1.404632] usbcore: registered new interface driver uvcvideo
    [    1.410644] USB Video Class driver (1.1.1)
    [    1.417022] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.425537] cpuidle: using governor ladder
    [    1.430297] cpuidle: using governor menu
    [    1.439117] omap4_aes_mod_init: loading AM33X AES driver
    [    1.444793] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [    1.451354] omap4_aes_probe: probe() done
    [    1.456024] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [    1.462158] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [    1.473693] omap4_sham_probe: probe() done
    [    1.483795] usbcore: registered new interface driver usbhid
    [    1.489685] usbhid: USB HID core driver
    [    1.494354] tiadc tiadc: attached adc driver
    [    1.502624] usbcore: registered new interface driver snd-usb-audio
    [    1.511016] _regulator_get: 1-001b supply IOVDD not found, using dummy regulator
    [    1.518829] _regulator_get: 1-001b supply DVDD not found, using dummy regulator
    [    1.526519] _regulator_get: 1-001b supply AVDD not found, using dummy regulator
    [    1.534179] _regulator_get: 1-001b supply DRVDD not found, using dummy regulator
    [    1.544616] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    [    1.552398] ALSA device list:
    [    1.555541]   #0: AM335X EVM
    [    1.558532] oprofile: hardware counters not available
    [    1.563781] oprofile: using timer interrupt.
    [    1.568267] nf_conntrack version 0.5.0 (3956 buckets, 15824 max)
    [    1.575073] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.580718] TCP cubic registered
    [    1.584075] NET: Registered protocol family 17
    [    1.588775] can: controller area network core (rev 20090105 abi 8)
    [    1.595306] NET: Registered protocol family 29
    [    1.599945] can: raw protocol (rev 20090105)
    [    1.604400] can: broadcast manager protocol (rev 20090105 t)
    [    1.610351] Registering the dns_resolver key type
    [    1.615356] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.623352] ThumbEE CPU extension supported.
    [    1.627868] mux: Failed to setup hwmod io irq -22
    [    1.633453] Power Management for AM33XX family
    [    1.638336] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.645019] Copied the M3 firmware to UMEM
    [    1.649383] Cortex M3 Firmware Version = 0x18
    [    1.654052] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
    [    1.661895] smartreflex: probe of smartreflex failed with error -22
    [    1.668975] sr_init: platform driver register failed
    [    1.679168] clock: disabling unused clocks to save power
    [    1.694152] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    1.704772] mmc0: new high speed SDHC card at address 1234
    [    1.711242] mmcblk0: mmc0:1234 SA08G 7.28 GiB
    [    1.718261]  mmcblk0: p1 p2 p3
    [    1.793609] Detected MACID=0:18:31:e1:fc:2d
    [    1.798980] cpsw: Detected MACID = 00:18:31:e1:fc:2e
    [    1.805877] input: gpio-keys as /devices/platform/gpio-keys/input/input2
    [    1.813507] omap_rtc am33xx-rtc: setting system clock to 2013-04-05 12:29:38 UTC (1365164978)
    [    1.827209] net eth0: CPSW phy found : id is : 0x4dd074
    [    1.859558] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    1.878662] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.885314] mmc1: new SDIO card at address 0001
    [    3.826507] PHY: 0:00 - Link is Up - 100/Full
    [    3.855743] IP-Config: Complete:
    [    3.859130]      device=eth0, addr=192.168.1.111, mask=255.255.255.0, gw=192.168.1.1,
    [    3.867065]      host=sitara, domain=, nis-domain=(none),
    [    3.872680]      bootserver=192.168.1.110, rootserver=192.168.1.110, rootpath=
    [    3.914062] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    3.920532] Freeing init memory: 240K
    INIT: version 2.88 booting
    Starting udev
    [   14.418853] Disabling lock debugging due to kernel taint
    [   15.801239] cfg80211: Calling CRDA to update world regulatory domain
    [   17.458312] wl12xx: driver version: ol_R5.SP4.01-dirty
    [   17.463714] wl12xx: compilation time: Thu Apr  4 23:57:00 2013
    [   18.515258] wl12xx: loaded
    [   19.868408] cfg80211: World regulatory domain updated:
    [   19.873992] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   19.882781] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   19.891235] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   19.899658] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   19.908050] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   19.916564] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   20.317138] kjournald starting.  Commit interval 5 seconds
    [   20.334411] EXT3-fs (mmcblk0p2): using internal journal
    [   20.339904] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [   20.358551] kjournald starting.  Commit interval 5 seconds
    [   20.376556] EXT3-fs (mmcblk0p3): using internal journal
    [   20.382171] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    ALSA: Restoring mixer settings...
    No state is present for card EVM
    Found hardware: "AM335X_EVM" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    NOT configuring network interfaces: / is an NFS mount
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Performing wifi calibration...
    [   26.638641] wl12xx: loaded
    [   26.642456] wl12xx: power up
    [   27.767272] wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.135)
    Using nvs version 2.1
    Calibrate /lib/firmware/ti-connectivity/wl1271-nvs.bin
    Writing calibration data to /lib/firmware/ti-connectivity/wl1271-nvs.bin
    Writing mac address 00:00:00:00:00:00 to file /l[   27.854431] wl12xx: power down
    ib/firmware/ti-connectivity/wl1271-nvs.bin
    Calibration done. FEM1 has 1 bands. AutoFEM is off. Resulting nvs is /lib/firmware/ti-connectivity/wl1271-nvs.bin
    [   28.579864] wl12xx: loaded
    Starting network benchmark server: netserver.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    Starting Lighttpd Web Server: lighttpd.
    2013-04-05 12:30:14: (log.c.166) server started
    /
    Starting Matrix GUI application.
    [   41.254180]  gadget: Mass Storage Function, version: 2009/09/11
    [   41.260589]  gadget: Number of LUNs=2
    [   41.264404]  lun0: LUN: removable file: /dev/mmcblk0p1
    [   41.269805]  lun1: LUN: removable file: /dev/mmcblk0p3
    [   41.275207]  gadget: Mass Storage Gadget, version: 2009/09/11
    [   41.281219]  gadget: userspace failed to provide iSerialNumber
    [   41.287322]  gadget: g_mass_storage ready
    [   41.291534] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   41.297119] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [   41.304962] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   41.312072] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   41.319610] usb usb2: Product: MUSB HDRC host driver
    [   41.324798] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
    [   41.330352] usb usb2: SerialNumber: musb-hdrc.0
    [   41.335632] hub 2-0:1.0: USB hub found
    [   41.339599] hub 2-0:1.0: 1 port detected
    [   41.880645]  gadget: high-speed config #1: Linux File-Backed Storage

    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
            binutils-symlinks
            binutils
            gdbserver

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.

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

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

    Arago 2013.02 am335x-evm ttyO0

    am335x-evm login: root

    Then I ran the 335x-demo script.

    0x10205
    debug8.x
    installing 8.x SGX debug user libraries

    Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.9@2188537' on target

    File system installation root is /

    Nothing to un-install.
    boot script rc.pvr -> /etc/init.d/rc.pvr
    kernel module drm.ko -> /lib/modules/3.2.0/extra/drm.ko
    kernel module pvrsrvkm.ko -> /lib/modules/3.2.0/extra/pvrsrvkm.ko
    shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.9.2188537
    shared library libusc.so -> /usr/lib/libusc.so.1.9.2188537
    shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.9.2188537
    shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.9.2188537
    shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.9.2188537
    shared library libEGL.so -> /usr/lib/libEGL.so.1.9.2188537
    shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.9.2188537
    shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_DRIWSEGL.so -> /usr/lib/libpvrPVR2D_DRIWSEGL.so.1.9.2188537
    shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.9.2188537
    shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.9.2188537
    shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.9.2188537
    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
    binary gles1test1 -> /usr/local/bin/gles1test1
    binary gles2test1 -> /usr/local/bin/gles2test1
    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 xgles2test1 -> /usr/local/bin/xgles2test1
    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.

    Loaded PowerVR consumer services.
    root@am335x-evm:/etc/init.d# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
    _XSERVTransOpen: transport open failed for inet6/am335x-evm:0
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

    X.Org X Server 1.12.0
    Release Date: 2012-03-04
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.35-30-generic-pae i686
    Current Operating System: Linux am335x-evm 3.2.0 #1 Thu Apr 4 23:52:23 CDT 2013 armv7l
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw mem=256
    M ip=192.168.1.111:192.168.1.110:192.168.1.1:255.255.255.0:sitara:eth0:off earlyprintk=serial vram=50M
    Build Date: 27 November 2012  06:46:03PM
     
    Current version of pixman: 0.24.4
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Fri Apr  5 12:34:21 2013
    (++) Using config file: "/usr/local/XSGX/etc/xorg.conf"
    (==) ServerLayout "Server Layout"
    (**) |-->Screen "Screen" (0)
    (**) |   |-->Monitor "<default monitor>"
    (**) |   |-->Device "Video Device"
    (==) No monitor specified for screen "Screen".
            Using a default monitor configuration.
    (**) |-->Input Device "Keyboard"
    (**) |-->Input Device "Main Touch Screen"
    (==) Not automatically adding devices
    (==) Not automatically enabling devices
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
            Entry deleted from font path.
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.
            Entry deleted from font path.
    (==) FontPath set to:
            /usr/local/XSGX/share/fonts/X11/misc/,
            /usr/local/XSGX/share/fonts/X11/Type1/,
            /usr/local/XSGX/share/fonts/X11/100dpi/,
            /usr/local/XSGX/share/fonts/X11/75dpi/
    (==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
    (II) Module glx: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (==) AIGLX enabled
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so
    (II) Module record: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.13.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so
    (II) Module dri: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.2.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
    (II) Module PVR: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 109.218.8537
    (II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so
    (II) Module evdev: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 2.6.0
    (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
    (--) using VT number 2

    (WW) xf86OpenConsole: setpgid failed: Operation not permitted

    And when I reboot:

    U-Boot 2013.01.01 (Apr 04 2013 - 23:46:57)

    I2C:   ready
    DRAM:  256 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, bulk combine, bulk split, 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, bulk combine, bulk split, 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
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    754 bytes read in 7 ms (104.5 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Running uenvcmd ...
    reading uImage
    3185768 bytes read in 354 ms (8.6 MiB/s)
    Booting from mmc (uEnv.txt configuration) ...
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-3.2.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3185704 Bytes = 3 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0 (jenkins@sdit-build02) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Apr 4 23:52:23 CDT 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,n
    olock rw mem=256M ip=192.168.1.111:192.168.1.110:192.168.1.1:255.255.255.0:sitara:eth0:off 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] Memory: 256MB = 256MB total
    [    0.000000] Memory: 253212k/253212k available, 8932k 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]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05a7000   (5756 kB)
    [    0.000000]       .init : 0xc05a7000 - 0xc05e3000   ( 240 kB)
    [    0.000000]       .data : 0xc05e4000 - 0xc064dc20   ( 424 kB)
    [    0.000000]        .bss : 0xc064dc44 - 0xc067c7e4   ( 187 kB)
    [    0.000000] NR_IRQS:396
    [    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: GPTIMER2 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.058532] pid_max: default: 32768 minimum: 301
    [    0.058654] Security Framework initialized
    [    0.058746] Mount-cache hash table entries: 512
    [    0.059112] CPU: Testing write buffer coherency: ok
    [    0.079620] omap_hwmod: pruss: failed to hardreset
    [    0.080718] print_constraints: dummy:
    [    0.081085] NET: Registered protocol family 16
    [    0.083160] OMAP GPIO hardware version 0.1
    [    0.085693] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.087615]  omap_i2c.1: alias fck already exists
    [    0.088470]  omap2_mcspi.1: alias fck already exists
    [    0.088775]  omap2_mcspi.2: alias fck already exists
    [    0.089721]  edma.0: alias fck already exists
    [    0.089752]  edma.0: alias fck already exists
    [    0.089752]  edma.0: alias fck already exists
    [    0.116333] bio: create slab <bio-0> at 0
    [    0.118530] SCSI subsystem initialized
    [    0.120208] usbcore: registered new interface driver usbfs
    [    0.120513] usbcore: registered new interface driver hub
    [    0.120727] usbcore: registered new device driver usb
    [    0.120880] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.121154] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.138610] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.140472] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.142852] print_constraints: VRTC:
    [    0.144287] print_constraints: VIO: at 1500 mV
    [    0.146575] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
    [    0.148895] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
    [    0.149871] print_constraints: VDD3: 5000 mV
    [    0.151306] print_constraints: VDIG1: at 1800 mV
    [    0.152709] print_constraints: VDIG2: at 1800 mV
    [    0.154113] print_constraints: VPLL: at 1800 mV
    [    0.155548] print_constraints: VDAC: at 1800 mV
    [    0.156951] print_constraints: VAUX1: at 1800 mV
    [    0.158386] print_constraints: VAUX2: at 3300 mV
    [    0.159851] print_constraints: VAUX33: at 3300 mV
    [    0.161254] print_constraints: VMMC: at 3300 mV
    [    0.161773] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.163146] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.164245] Switching to clocksource gp timer
    [    0.179595] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.179748] musb-hdrc musb-hdrc.0: dma type: pio
    [    0.180084] MUSB0 controller's USBSS revision = 4ea20800
    [    0.180725] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18
    [    0.180877] musb-hdrc musb-hdrc.1: dma type: pio
    [    0.181152] MUSB1 controller's USBSS revision = 4ea20800
    [    0.181335] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.181396] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.181549] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.181549] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.181579] usb usb1: Product: MUSB HDRC host driver
    [    0.181579] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [    0.181579] usb usb1: SerialNumber: musb-hdrc.1
    [    0.182373] hub 1-0:1.0: USB hub found
    [    0.182403] hub 1-0:1.0: 1 port detected
    [    0.182952] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19
    [    0.183349] NET: Registered protocol family 2
    [    0.183532] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.183837] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.183990] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.184082] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.184112] TCP reno registered
    [    0.184112] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.184143] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.184387] NET: Registered protocol family 1
    [    0.184661] RPC: Registered named UNIX socket transport module.
    [    0.184692] RPC: Registered udp transport module.
    [    0.184692] RPC: Registered tcp transport module.
    [    0.184692] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.184936] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.196075] VFS: Disk quotas dquot_6.5.2
    [    0.196166] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.196716] msgmni has been set to 494
    [    0.199798] alg: No test for stdrng (krng)
    [    0.200469] io scheduler noop registered
    [    0.200469] io scheduler deadline registered
    [    0.200561] io scheduler cfq registered (default)
    [    0.201721] Could not set LED4 to fully on
    [    0.203460] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.836853] console [ttyO0] enabled
    [    0.841094] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.848937] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.856719] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.864471] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.872253] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.880523] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [    0.896820] brd: module loaded
    [    0.904724] loop: module loaded
    [    0.908233] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.914672] i2c-core: driver [tsl2550] using legacy resume method
    [    0.921112] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.984802] No daughter card found
    [    0.988403] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.003570] Board name: A335X_SK
    [    1.006958] Board version: 1.2B
    [    1.010223] The board is a AM335x Starter Kit.
    [    1.015655]  omap_hsmmc.0: alias fck already exists
    [    1.021057]  omap_hsmmc.1: alias fck already exists
    [    1.027069]  da8xx_lcdc.0: alias fck already exists
    [    1.032501] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-4.3-ATXI#-T-1 panel
    [    1.048767] Console: switching to colour frame buffer device 60x34
    [    1.061737]  davinci-mcasp.1: alias fck already exists
    [    1.067504] Configure Bluetooth Enable pin...
    [    1.072937] registered am33xx_sr device
    [    1.077178] _regulator_get: 1-0018 supply Vdd not found, using dummy regulator
    [    1.084808] _regulator_get: 1-0018 supply Vdd_IO not found, using dummy regulator
    [    1.113220] lis3lv02d: 8 bits 3DLH sensor found
    [    1.205230] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
    [    1.216918] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.224060] omap2-nand driver initializing
    [    1.228515] OneNAND driver initializing
    [    1.233764] CAN device driver interface
    [    1.237823] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.284851] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.291320] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    [    1.299499] davinci_mdio.0: probed
    [    1.303070] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.310455] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [    1.318145] usbcore: registered new interface driver zd1201
    [    1.324127] usbcore: registered new interface driver cdc_ether
    [    1.330383] usbcore: registered new interface driver cdc_eem
    [    1.336456] usbcore: registered new interface driver dm9601
    [    1.342315] cdc_ncm: 04-Aug-2011
    [    1.345855] usbcore: registered new interface driver cdc_ncm
    [    1.351776] Initializing USB Mass Storage driver...
    [    1.357086] usbcore: registered new interface driver usb-storage
    [    1.363342] USB Mass Storage support registered.
    [    1.368591] mousedev: PS/2 mouse device common for all mice
    [    1.375579] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input1
    [    1.384094] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [    1.391143] am33xx-rtc: already running
    [    1.395294] i2c /dev entries driver
    [    1.399353] Linux video capture interface: v2.00
    [    1.404479] usbcore: registered new interface driver uvcvideo
    [    1.410491] USB Video Class driver (1.1.1)
    [    1.416870] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.425415] cpuidle: using governor ladder
    [    1.430145] cpuidle: using governor menu
    [    1.438995] omap4_aes_mod_init: loading AM33X AES driver
    [    1.444641] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [    1.451202] omap4_aes_probe: probe() done
    [    1.455871] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [    1.462005] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [    1.473571] omap4_sham_probe: probe() done
    [    1.483673] usbcore: registered new interface driver usbhid
    [    1.489562] usbhid: USB HID core driver
    [    1.494201] tiadc tiadc: attached adc driver
    [    1.502502] usbcore: registered new interface driver snd-usb-audio
    [    1.510925] _regulator_get: 1-001b supply IOVDD not found, using dummy regulator
    [    1.518737] _regulator_get: 1-001b supply DVDD not found, using dummy regulator
    [    1.526428] _regulator_get: 1-001b supply AVDD not found, using dummy regulator
    [    1.534088] _regulator_get: 1-001b supply DRVDD not found, using dummy regulator
    [    1.544525] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    [    1.552276] ALSA device list:
    [    1.555419]   #0: AM335X EVM
    [    1.558410] oprofile: hardware counters not available
    [    1.563659] oprofile: using timer interrupt.
    [    1.568145] nf_conntrack version 0.5.0 (3956 buckets, 15824 max)
    [    1.574951] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.580596] TCP cubic registered
    [    1.583953] NET: Registered protocol family 17
    [    1.588623] can: controller area network core (rev 20090105 abi 8)
    [    1.595184] NET: Registered protocol family 29
    [    1.599822] can: raw protocol (rev 20090105)
    [    1.604248] can: broadcast manager protocol (rev 20090105 t)
    [    1.610229] Registering the dns_resolver key type
    [    1.615203] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.623199] ThumbEE CPU extension supported.
    [    1.627746] mux: Failed to setup hwmod io irq -22
    [    1.633331] Power Management for AM33XX family
    [    1.638214] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.644897] Copied the M3 firmware to UMEM
    [    1.649230] Cortex M3 Firmware Version = 0x18
    [    1.653900] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
    [    1.661743] smartreflex: probe of smartreflex failed with error -22
    [    1.668853] sr_init: platform driver register failed
    [    1.679046] clock: disabling unused clocks to save power
    [    1.694305] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    1.704895] mmc0: new high speed SDHC card at address 1234
    [    1.711395] mmcblk0: mmc0:1234 SA08G 7.28 GiB
    [    1.718292]  mmcblk0: p1 p2 p3
    [    1.723083] Detected MACID=0:18:31:e1:fc:2d
    [    1.798797] cpsw: Detected MACID = 00:18:31:e1:fc:2e
    [    1.805725] input: gpio-keys as /devices/platform/gpio-keys/input/input2
    [    1.813354] omap_rtc am33xx-rtc: setting system clock to 2013-04-05 13:27:05 UTC (1365168425)
    [    1.826995] net eth0: CPSW phy found : id is : 0x4dd074
    [    1.859436] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    1.878540] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.885192] mmc1: new SDIO card at address 0001
    [    3.826385] PHY: 0:00 - Link is Up - 100/Full
    [    3.855651] IP-Config: Complete:
    [    3.859008]      device=eth0, addr=192.168.1.111, mask=255.255.255.0, gw=192.168.1.1,
    [    3.866943]      host=sitara, domain=, nis-domain=(none),
    [    3.872589]      bootserver=192.168.1.110, rootserver=192.168.1.110, rootpath=
    [    3.907226] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    3.913696] Freeing init memory: 240K
    INIT: version 2.88 booting
    Starting udev
    [   15.699188] Disabling lock debugging due to kernel taint
    [   17.547424] cfg80211: Calling CRDA to update world regulatory domain
    [   19.457824] wl12xx: driver version: ol_R5.SP4.01-dirty
    [   19.463500] wl12xx: compilation time: Thu Apr  4 23:57:00 2013
    [   20.051910] wl12xx: loaded
    [   22.511718] cfg80211: World regulatory domain updated:
    [   22.517333] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   22.526275] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   22.534637] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   22.543121] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   22.551513] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   22.559814] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   23.010009] kjournald starting.  Commit interval 5 seconds
    [   23.016052] kjournald starting.  Commit interval 5 seconds
    [   23.024963] EXT3-fs (mmcblk0p2): using internal journal
    [   23.030487] EXT3-fs (mmcblk0p2): recovery complete
    [   23.035491] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [   23.043914] EXT3-fs (mmcblk0p3): using internal journal
    [   23.049407] EXT3-fs (mmcblk0p3): recovery complete
    [   23.054412] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    ALSA: Restoring mixer settings...
    No state is present for card EVM
    Found hardware: "AM335X_EVM" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    NOT configuring network interfaces: / is an NFS mount
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Performing wifi calibration...
    [   28.865509] wl12xx: loaded
    [   28.882843] wl12xx: power up
    [   30.026794] wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.135)
    Using nvs version 2.1
    Calibrate /lib/firmware/ti-connectivity/wl1271-nvs.bin
    Writing calibration data to /lib/firmware/ti-connectivity/wl1271-nvs.bin
    Writing mac address 00:00:00:00:[   30.113433] wl12xx: power down
    00:00 to file /lib/firmware/ti-connectivity/wl1271-nvs.bin
    Calibration done. FEM1 has 1 bands. AutoFEM is off. Resulting nvs is /lib/firmware/ti-connectivity/wl1271-nvs.bin
    [   30.829650] wl12xx: loaded
    Starting network benchmark server: netserver.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    [   38.963958] pvrsrvkm: Unknown parameter `/lib/modules/3.2.0/extra/pvrsrvkm.ko'
    Error: could not insert module /lib/modules/3.2.0/kernel/drivers/gpu/pvr/pvrsrvkm.ko: Unknown symbol in module
    Could not find pvrsrvkm driver
    Starting Lighttpd Web Server: lighttpd.
    2013-04-05 13:27:42: (log.c.166) server started
    /
    Starting Matrix GUI application.
    [   42.634796]  gadget: Mass Storage Function, version: 2009/09/11
    [   42.641326]  gadget: Number of LUNs=2
    [   42.645294]  lun0: LUN: removable file: /dev/mmcblk0p1
    [   42.650726]  lun1: LUN: removable file: /dev/mmcblk0p3
    [   42.656219]  gadget: Mass Storage Gadget, version: 2009/09/11
    [   42.662261]  gadget: userspace failed to provide iSerialNumber
    [   42.668548]  gadget: g_mass_storage ready
    [   42.672790] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   42.678497] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [   42.686340] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   42.693572] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   42.701202] usb usb2: Product: MUSB HDRC host driver
    [   42.706390] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
    [   42.711944] usb usb2: SerialNumber: musb-hdrc.0
    [   42.717285] hub 2-0:1.0: USB hub found
    [   42.721191] hub 2-0:1.0: 1 port detected
    [   43.295288]  gadget: high-speed config #1: Linux File-Backed Storage

    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
            binutils-symlinks
            binutils
            gdbserver

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.

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

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

    Arago 2013.02 am335x-evm ttyO0

    am335x-evm login:

    It seems that after running am335_demo, there is a problem with pvrsrvkm service...should I run am335x-demo EVERYTIME I boot?

    Then I run below instructions:

    root@am335x-evm:~# /etc/init.d/matrix-gui-2.0 stop
    Stopping Matrix GUI application.

    root@am335x-evm:~# /etc/init.d/rc.pvr stop
    Error: Module pvrsrvkm is not currently loaded
    Couldn't unload modules

    root@am335x-evm:~# /etc/init.d/rc.pvr start
    Loaded PowerVR consumer services.
    root@am335x-evm:~# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
    _XSERVTransOpen: transport open failed for inet6/am335x-evm:0
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

    X.Org X Server 1.12.0
    Release Date: 2012-03-04
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.35-30-generic-pae i686
    Current Operating System: Linux am335x-evm 3.2.0 #1 Thu Apr 4 23:52:23 CDT 2013 armv7l
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw mem=25
    6M ip=192.168.1.111:192.168.1.110:192.168.1.1:255.255.255.0:sitara:eth0:off earlyprintk=serial vram=50M
    Build Date: 27 November 2012  06:46:03PM
     
    Current version of pixman: 0.24.4
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Fri Apr  5 14:32:15 2013
    (++) Using config file: "/usr/local/XSGX/etc/xorg.conf"
    (==) ServerLayout "Server Layout"
    (**) |-->Screen "Screen" (0)
    (**) |   |-->Monitor "<default monitor>"
    (**) |   |-->Device "Video Device"
    (==) No monitor specified for screen "Screen".
            Using a default monitor configuration.
    (**) |-->Input Device "Keyboard"
    (**) |-->Input Device "Main Touch Screen"
    (==) Not automatically adding devices
    (==) Not automatically enabling devices
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
            Entry deleted from font path.
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.
            Entry deleted from font path.
    (==) FontPath set to:
            /usr/local/XSGX/share/fonts/X11/misc/,
            /usr/local/XSGX/share/fonts/X11/Type1/,
            /usr/local/XSGX/share/fonts/X11/100dpi/,
            /usr/local/XSGX/share/fonts/X11/75dpi/
    (==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
    (II) Module glx: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (==) AIGLX enabled
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so
    (II) Module record: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.13.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so
    (II) Module dri: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.2.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
    (II) Module PVR: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 109.218.8537
    (II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so
    (II) Module evdev: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 2.6.0
    (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
    (--) using VT number 2

    (WW) xf86OpenConsole: setpgid failed: Operation not permitted
    (WW) Falling back to old probe method for pvr
    (EE) Couldn't get PVR Services status
    (EE) No devices detected.
    Fatal server error:
    no screens found
    Please consult the The X.Org Foundation support
             at http://wiki.x.org
     for help.
    Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for additional information.

    Server terminated with error (1). Closing log file.

    WHY AGAIN (WW) xf86OpenConsole: setpgid failed: Operation not permitted? now I've stopped matrix!!

    root@am335x-evm:/etc/init.d# depmod -root@am335x-evm:/etc/init.d# ./335x-demo
    0x10205
    debug8.x
    installing 8.x SGX debug user libraries

    Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.9@2188537' on target

    File system installation root is /

    Uninstalling existing version sgxddk_1.9@2188537
    Uninstallation completed.
    boot script rc.pvr -> /etc/init.d/rc.pvr
    kernel module drm.ko -> /lib/modules/3.2.0/extra/drm.ko
    kernel module pvrsrvkm.ko -> /lib/modules/3.2.0/extra/pvrsrvkm.ko
    shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.9.2188537
    shared library libusc.so -> /usr/lib/libusc.so.1.9.2188537
    shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.9.2188537
    shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.9.2188537
    shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.9.2188537
    shared library libEGL.so -> /usr/lib/libEGL.so.1.9.2188537
    shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.9.2188537
    shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_DRIWSEGL.so -> /usr/lib/libpvrPVR2D_DRIWSEGL.so.1.9.2188537
    shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.9.2188537
    shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.9.2188537
    shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.9.2188537
    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
    binary gles1test1 -> /usr/local/bin/gles1test1
    binary gles2test1 -> /usr/local/bin/gles2test1
    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 xgles2test1 -> /usr/local/bin/xgles2test1
    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.

    Loaded PowerVR consumer services.
    root@am335x-evm:/etc/init.d# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
    _XSERVTransOpen: transport open failed for inet6/am335x-evm:0
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

    X.Org X Server 1.12.0
    Release Date: 2012-03-04
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.35-30-generic-pae i686
    Current Operating System: Linux am335x-evm 3.2.0 #1 Thu Apr 4 23:52:23 CDT 2013 armv7l
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw mem=25
    6M ip=192.168.1.111:192.168.1.110:192.168.1.1:255.255.255.0:sitara:eth0:off earlyprintk=serial vram=50M
    Build Date: 27 November 2012  06:46:03PM
     
    Current version of pixman: 0.24.4
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Fri Apr  5 14:41:26 2013
    (++) Using config file: "/usr/local/XSGX/etc/xorg.conf"
    (==) ServerLayout "Server Layout"
    (**) |-->Screen "Screen" (0)
    (**) |   |-->Monitor "<default monitor>"
    (**) |   |-->Device "Video Device"
    (==) No monitor specified for screen "Screen".
            Using a default monitor configuration.
    (**) |-->Input Device "Keyboard"
    (**) |-->Input Device "Main Touch Screen"
    (==) Not automatically adding devices
    (==) Not automatically enabling devices
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
            Entry deleted from font path.
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.
            Entry deleted from font path.
    (==) FontPath set to:
            /usr/local/XSGX/share/fonts/X11/misc/,
            /usr/local/XSGX/share/fonts/X11/Type1/,
            /usr/local/XSGX/share/fonts/X11/100dpi/,
            /usr/local/XSGX/share/fonts/X11/75dpi/
    (==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
    (II) Module glx: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (==) AIGLX enabled
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so
    (II) Module record: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.13.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so
    (II) Module dri: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 1.2.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
    (II) Module PVR: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 109.218.8537
    (II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so
    (II) Module evdev: vendor="X.Org Foundation"
            compiled for 1.12.0, module version = 2.6.0
    (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
    (--) using VT number 2

    (WW) xf86OpenConsole: setpgid failed: Operation not permitted
    (WW) Falling back to old probe method for pvr
    (EE) Couldn't get PVR Services status
    (EE) No devices detected.

    Fatal server error:
    no screens found

    Please consult the The X.Org Foundation support
             at http://wiki.x.org
     for help.
    Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for additional information.

    Server terminated with error (1). Closing log file.

    What more can I do? Thanks!!

  • Hi,

    Can you confirm if you are following the below steps -

    1)Build & install graphics SDK with SUPPORT_XORG=1.

    2)Once the EVM boots up, stop the matrix gui & run the 335x-demo script.

    3)You should see 2 modules - pvrsrvkm, drm on issuing lsmod command & ps command should show X running. If not issue depmod -a & run the 335x-demo script again.

    Please refer to -

    http://processors.wiki.ti.com/index.php/SGXDbg#Integration_with_DRI.2FDRM_.28Xorg.29

    http://processors.wiki.ti.com/index.php/SGXDbg#X_fails_to_start

    Thanks,

    Prathap.

  • Hello. I think I've correctly done those steps. I'll repeat again. Some questions:

    1. Could I use the "prebuilt images" at the SDK? (uImage-am335x-evm.bin) or, should I make a new uImage after installing graphics SDK? If the later, what config_file should I use as a template?, "tisdk_am335x-evm_defconfig" or "am335x_evm_defconfig"?

    2. About the root filesystem...I'm using the targetNFS filesystem automatically created by the setup script of the SDK (and pointing to it inside the Rules.make at Graphics SDK installation directory). Should I manually copy any other file to "targetNFS" directory?  Or are they all copied with the "make install" at the Graphics-SDK directory?

    When i boot (after am335x-demo) , we have:

    Starting PVR                                                                    
    [   12.556915] pvrsrvkm: Unknown parameter `/lib/modules/3.2.0/extra/pvrsrvkm.ko
    '                                                                               
    Error: could not insert module /lib/modules/3.2.0/kernel/drivers/gpu/pvr/pvrsrvk
    m.ko: Unknown symbol in module     

    And neither drm nor prvsvrkm modules loaded when lsmod.

    I cannot find drm at /lib/modules/3.2.0/kernel/drives/gpu; just a prv folder with bufferclass_ti, omapflb, and pvrsrvkm  .ko files.

    (wait, they are in /lib/modules/3.2.0/extra/drm.ko)

    # depmod -a

    Reboot again (same above error), stop matrix, run ./335x-demo again and:

    (WW) xf86OpenConsole: setpgid failed: Operation not permitted                   
    (WW) Falling back to old probe method for pvr                                   
    (EE) Couldn't get PVR Services status                                           
    (EE) No devices detected.                                                       
                                                                                    
    Fatal server error:                                                             
    no screens found   

    ** I can load drm.ko,  and pvrsrvkm with #modprobe drm pvrsrvkm

    [   79.811676] [drm] Initialized drm 1.1.0 20060810                             
    root@am335x-evm:~# lsmod                                                        
    Module                  Size  Used by                                           
    pvrsrvkm              170279  0                                                 
    drm                   144890  0                                                 
    g_mass_storage         37823  0                                                 
    wl12xx_sdio             3890  0                                                 
    wl12xx                201439  0                                                 
    mac80211              286169  1 wl12xx                                          
    cfg80211              186086  2 mac80211,wl12xx  

    but there is no connection between them...

    And when I run (again) 335x-demo, the same old story:

    (WW) xf86OpenConsole: setpgid failed: Operation not permitted                   
    (WW) Falling back to old probe method for pvr                                   
    (EE) Couldn't get PVR Services status                                           
    (EE) No devices detected.                                                       
                                                                                    
    Fatal server error:                                                             
    no screens found                                                                

    Output of gfx_check.sh

    WSEGL settings                                                                  
    [default]                                                                       
    WindowSystem=libpvrPVR2D_DRIWSEGL.so                                            
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so                                          
                                                                                    
    ------                                                                          
    ARM CPU information                                                             
    Processor       : ARMv7 Processor rev 2 (v7l)                                   
    BogoMIPS        : 718.02                                                        
    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        : am335xevm                                                     
    Revision        : 0000                                                          
    Serial          : 0000000000000000                                              
    ------                                                                          
    SGX driver information                                                          
    Version SGX_DDK_Linux_CustomerTI sgxddk 19 1.9@2188537 (release) /home/jenkins/a
    msdk-nightly-build/build-CORTEX_1/arago-tmp-external-arago-toolchain/work/am335x
    _evm-oe-linux-gnueabi/omap3-sgx-modules-4.08.00.02-r19a/Graphics_SDK_4_08_00_02/
    GFX_Linux_KM                                                                    
    System Version String: None                                                     
    ------                                                                          
    Framebuffer settings                                                            
                                                                                    
    mode "480x272-57"                                                               
        # D: 9.091 MHz, H: 16.992 kHz, V: 57.021 Hz                                 
        geometry 480 272 480 576 32                                                 
        timings 110000 43 8 12 4 4 10                                               
        rgba 8/16,8/8,8/0,8/24                                                      
    endmode                                                                         
                                                                                    
    Frame buffer device information:                                                
        Name        : DA8xx FB Drv                                                  
        Address     : 0x8f200000                                                    
        Size        : 1105920                                                       
        Type        : PACKED PIXELS                                                 
        Visual      : TRUECOLOR                                                     
        XPanStep    : 0                                                             
        YPanStep    : 1                                                             
        YWrapStep   : 0                                                             
        LineLength  : 1920                                                          
        Accelerator : No                                                            
    ------                                                                          
    Rotation settings                                                               
    0                                                                               
    ------                                                                          
    Kernel Module information                                                       
    Module                  Size  Used by                                           
    pvrsrvkm              170279  0                                                 
    drm                   144890  0                                                 
    g_mass_storage         37823  0                                                 
    wl12xx_sdio             3890  0                                                 
    wl12xx                201439  0                                                 
    mac80211              286169  1 wl12xx                                          
    cfg80211              186086  2 mac80211,wl12xx                                 
    ------                                                                          
    Boot settings                                                                   
    console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.1.110:/home/gtt/ti-sdk-am33
    5x-evm-05.07.00.00/targetNFS,nolock rw mem=256M ip=192.168.1.111:192.168.1.110:1
    92.168.1.1:255.255.255.0:sitara:eth0:off earlyprintk=serial vram=50M            
    ------                                                                          
    Linux Kernel version                                                            
    Linux am335x-evm 3.2.0 #1 Sat Jun 15 11:54:28 CEST 2013 armv7l GNU/Linux

    Any other suggestion? Thanks



  • Hi,

    Building & installing graphics SDK with SUPPORT_XORG=1 & then running 335x-demo script are the key steps.

    Please find the execution logs from our setup right from bootup attached.

    These are the things to check if Xorg driver is installed & running successfully -

    1. You should see X process running on issuing ps command.

    root@am335x-evm:~# ps | grep -i x
     1313 root         0 SW<  [wl12xx_wq]
     1315 root         0 SW   [irq/273-wl12xx]
     2258 root     16716 S    /usr/local/XSGX/bin/X -verbose -config /usr/local/XS

    2.You should see pvr - DRI setup complete & direct rendering enabled messages on running 335x-demo as below -

    (II) pvr(0): [DRI2] Setup complete
    (II) pvr(0): [DRI2]   DRI driver: pvr
    (II) EXA(0): Driver allocated offscreen pixmaps
    (II) EXA(0): Driver registered support for the following operations:
    (II)         Solid
    (II)         Copy
    (II)         Composite (RENDER acceleration)
    (II)         UploadToScreen
    (==) pvr(0): Backing store disabled
    (==) pvr(0): Silken mouse enabled
    (==) pvr(0): DPMS enabled
    (==) pvr(0): Direct rendering enabled

    3. If above 2 cases are fine,  then try running any unit test app like xgles1test1 as in attached document.

    Also check if you have Xorg file system (XSGX) installed correctly. You should also see xorg.conf file -

    root@am335x-evm:~# ls /usr/local/XSGX/etc/xorg.conf
    /usr/local/XSGX/etc/xorg.conf

    Anyways, i am attaching the complete logs from my setup right from bootup.Compare the logs with your setup & see what is the difference or any missing step.

    8321.335x_xorg.log
    U-Boot# bootm
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-3.2.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3109600 Bytes = 3 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0 (prathap@bangubntigfx) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Tue Feb 26 17:45:43 IST 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES2.0 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=172.24.146.98:/home1/prathap/nfs/am335x_0506_fs,nolock rw mem=128M ip=dhcp consoleblank=0
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 128MB = 128MB total
    [    0.000000] Memory: 123416k/123416k available, 7656k 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 : 0xc8800000 - 0xff000000   ( 872 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc058c000   (5648 kB)
    [    0.000000]       .init : 0xc058c000 - 0xc05c7000   ( 236 kB)
    [    0.000000]       .data : 0xc05c8000 - 0xc0628388   ( 385 kB)
    [    0.000000]        .bss : 0xc06283ac - 0xc0656ee4   ( 187 kB)
    [    0.000000] NR_IRQS:396
    [    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: GPTIMER2 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000122] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089050] pid_max: default: 32768 minimum: 301
    [    0.089172] Security Framework initialized
    [    0.089263] Mount-cache hash table entries: 512
    [    0.089630] CPU: Testing write buffer coherency: ok
    [    0.109466] omap_hwmod: pruss: failed to hardreset
    [    0.110504] print_constraints: dummy: 
    [    0.110870] NET: Registered protocol family 16
    [    0.112884] OMAP GPIO hardware version 0.1
    [    0.115264] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.117034]  omap_i2c.1: alias fck already exists
    [    0.117858]  omap2_mcspi.1: alias fck already exists
    [    0.118041]  omap2_mcspi.2: alias fck already exists
    [    0.118286]  edma.0: alias fck already exists
    [    0.118316]  edma.0: alias fck already exists
    [    0.118316]  edma.0: alias fck already exists
    [    0.140960] bio: create slab <bio-0> at 0
    [    0.143005] SCSI subsystem initialized
    [    0.144470] usbcore: registered new interface driver usbfs
    [    0.144744] usbcore: registered new interface driver hub
    [    0.144927] usbcore: registered new device driver usb
    [    0.145202] registerd cppi-dma Intr @ IRQ 17
    [    0.145233] Cppi41 Init Done Qmgr-base(c887a000) dma-base(c8878000)
    [    0.145233] Cppi41 Init Done
    [    0.145263] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.145568] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.159088] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.160858] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.163177] print_constraints: VRTC: 
    [    0.164611] print_constraints: VIO: at 1500 mV 
    [    0.166900] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
    [    0.169158] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
    [    0.170135] print_constraints: VDD3: 5000 mV 
    [    0.171508] print_constraints: VDIG1: at 1800 mV 
    [    0.172943] print_constraints: VDIG2: at 1800 mV 
    [    0.174346] print_constraints: VPLL: at 1800 mV 
    [    0.175720] print_constraints: VDAC: at 1800 mV 
    [    0.177124] print_constraints: VAUX1: at 1800 mV 
    [    0.178527] print_constraints: VAUX2: at 3300 mV 
    [    0.179931] print_constraints: VAUX33: at 3300 mV 
    [    0.181335] print_constraints: VMMC: at 3300 mV 
    [    0.181793] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.183074] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.184112] Switching to clocksource gp timer
    [    0.198364] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.198547] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [    0.198852] MUSB0 controller's USBSS revision = 4ea20800
    [    0.198883] musb0: Enabled SW babble control
    [    0.199768] musb-hdrc musb-hdrc.0: USB OTG mode controller at c883c000 using DMA, IRQ 18
    [    0.199920] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    [    0.200195] MUSB1 controller's USBSS revision = 4ea20800
    [    0.200225] musb1: Enabled SW babble control
    [    0.200622] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.200714] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.200836] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.200866] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.200866] usb usb1: Product: MUSB HDRC host driver
    [    0.200866] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [    0.200897] usb usb1: SerialNumber: musb-hdrc.1
    [    0.201629] hub 1-0:1.0: USB hub found
    [    0.201660] hub 1-0:1.0: 1 port detected
    [    0.202178] musb-hdrc musb-hdrc.1: USB Host mode controller at c883e800 using DMA, IRQ 19
    [    0.202575] NET: Registered protocol family 2
    [    0.202758] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.203033] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.203125] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.203155] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.203186] TCP reno registered
    [    0.203186] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.203216] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.203369] NET: Registered protocol family 1
    [    0.203613] RPC: Registered named UNIX socket transport module.
    [    0.203643] RPC: Registered udp transport module.
    [    0.203643] RPC: Registered tcp transport module.
    [    0.203643] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.203887] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.211059] VFS: Disk quotas dquot_6.5.2
    [    0.211120] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.211608] msgmni has been set to 241
    [    0.212310] io scheduler noop registered
    [    0.212310] io scheduler deadline registered
    [    0.212371] io scheduler cfq registered (default)
    [    0.216033] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.857513] console [ttyO0] enabled
    [    0.861724] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.869537] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.877319] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.885101] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.892822] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.909118] brd: module loaded
    [    0.916870] loop: module loaded
    [    0.920318] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.926818] i2c-core: driver [tsl2550] using legacy resume method
    [    0.933227] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.947174] Detected a daughter card on AM335x EVM..
    [    0.952178] CPLD version: CPLD1.0G
    [    0.955963] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.971099] Board name: A33515BB
    [    0.974487] Board version: 1.5B
    [    0.977783] SKU: SKU#01
    [    0.980865] The board is general purpose EVM in profile 0
    [    0.987487]  da8xx_lcdc.0: alias fck already exists
    [    0.992980] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
    [    1.016357] Console: switching to colour frame buffer device 100x30
    [    1.032379] omap-gpmc omap-gpmc: GPMC revision 6.0
    [    1.037445] Registering NAND on CS0
    [    1.041748]  omap_i2c.2: alias fck already exists
    [    1.064758] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    [    1.071166] tsl2550 2-0039: standard operating mode
    [    1.076995] tsl2550 2-0039: support ver. 1.2 enabled
    [    1.082794]  davinci-mcasp.1: alias fck already exists
    [    1.088623]  omap_hsmmc.0: alias fck already exists
    [    1.094024]  omap_hsmmc.2: alias fck already exists
    [    1.099426] Configure Bluetooth Enable pin...
    [    1.105285] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
    [    1.112915] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
    [    1.141357] lis3lv02d: 8 bits 3DLH sensor found
    [    1.235107] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
    [    1.246734] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.253967] omap2-nand driver initializing
    [    1.258605] ONFI flash detected
    [    1.262023] ONFI param page 0 valid
    [    1.265686] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
    [    1.274261] Creating 8 MTD partitions on "omap2-nand.0":
    [    1.279876] 0x000000000000-0x000000020000 : "SPL"
    [    1.286224] 0x000000020000-0x000000040000 : "SPL.backup1"
    [    1.292968] 0x000000040000-0x000000060000 : "SPL.backup2"
    [    1.299804] 0x000000060000-0x000000080000 : "SPL.backup3"
    [    1.306640] 0x000000080000-0x000000260000 : "U-Boot"
    [    1.313720] 0x000000260000-0x000000280000 : "U-Boot Env"
    [    1.320526] 0x000000280000-0x000000780000 : "Kernel"
    [    1.328979] 0x000000780000-0x000010000000 : "File System"
    [    1.438476] OneNAND driver initializing
    [    1.443786] CAN device driver interface
    [    1.447845] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.494750] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.501220] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    1.508636] davinci_mdio.0: probed
    [    1.512207] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.519927] usbcore: registered new interface driver zd1201
    [    1.525939] usbcore: registered new interface driver cdc_ether
    [    1.532196] usbcore: registered new interface driver cdc_eem
    [    1.538238] usbcore: registered new interface driver dm9601
    [    1.544128] cdc_ncm: 04-Aug-2011
    [    1.547637] usbcore: registered new interface driver cdc_ncm
    [    1.553558] Initializing USB Mass Storage driver...
    [    1.558898] usbcore: registered new interface driver usb-storage
    [    1.565185] USB Mass Storage support registered.
    [    1.570404] mousedev: PS/2 mouse device common for all mice
    [    1.577087] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
    [    1.586029] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input2
    [    1.594543] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
    [    1.601806] i2c /dev entries driver
    [    1.606109] Linux video capture interface: v2.00
    [    1.611236] usbcore: registered new interface driver uvcvideo
    [    1.617279] USB Video Class driver (1.1.1)
    [    1.622436] lm75 2-0048: hwmon0: sensor 'tmp275'
    [    1.630157] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.638671] cpuidle: using governor ladder
    [    1.643371] cpuidle: using governor menu
    [    1.653167] usbcore: registered new interface driver usbhid
    [    1.659057] usbhid: USB HID core driver
    [    1.663665] tiadc tiadc: attached adc driver
    [    1.669067] usbcore: registered new interface driver snd-usb-audio
    [    1.677368] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
    [    1.685211] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
    [    1.692901] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
    [    1.700622] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
    [    1.710968] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    [    1.718658] ALSA device list:
    [    1.721771]   #0: AM335X EVM
    [    1.724792] oprofile: hardware counters not available
    [    1.730102] oprofile: using timer interrupt.
    [    1.734588] nf_conntrack version 0.5.0 (1928 buckets, 7712 max)
    [    1.741241] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.746917] TCP cubic registered
    [    1.750305] NET: Registered protocol family 17
    [    1.754974] can: controller area network core (rev 20090105 abi 8)
    [    1.761505] NET: Registered protocol family 29
    [    1.766174] can: raw protocol (rev 20090105)
    [    1.770629] can: broadcast manager protocol (rev 20090105 t)
    [    1.776580] Registering the dns_resolver key type
    [    1.781555] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.789581] ThumbEE CPU extension supported.
    [    1.794097] mux: Failed to setup hwmod io irq -22
    [    1.799713] Power Management for AM33XX family
    [    1.804534] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.811279] Copied the M3 firmware to UMEM
    [    1.815643] Cortex M3 Firmware Version = 0x18
    [    1.828308] clock: disabling unused clocks to save power
    [    1.835906] Detected MACID=c8:a0:30:a1:e1:af
    [    1.841430] cpsw: Detected MACID = c8:a0:30:a1:e1:b1
    [    1.851379] input: gpio-keys as /devices/platform/gpio-keys/input/input3
    [    1.859069] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    1.872436] net eth0: CPSW phy found : id is : 0x4dd074
    [    1.885131] PHY 0:01 not found
    [    1.916534] mmc0: new SDHC card at address b7d7
    [    1.921905] mmcblk0: mmc0:b7d7 SD04G 3.69 GiB 
    [    1.931732]  mmcblk0: p1 p2 p3
    [    2.049377] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    2.068298] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    2.074859] mmc1: new SDIO card at address 0001
    [    3.866302] PHY: 0:00 - Link is Up - 100/Full
    [    3.905364] Sending DHCP requests ., OK
    [    3.925811] IP-Config: Got DHCP answer from 0.0.0.0, my address is 172.24.190.168
    [    3.935882] IP-Config: Complete:
    [    3.939331]      device=eth0, addr=172.24.190.168, mask=255.255.252.0, gw=172.24.188.1,
    [    3.947509]      host=172.24.190.168, domain=india.ti.com, nis-domain=(none),
    [    3.955017]      bootserver=0.0.0.0, rootserver=172.24.146.98, rootpath=
    [    3.970428] VFS: Mounted root (nfs filesystem) on device 0:14.
    [    3.976989] Freeing init memory: 236K
    INIT: version 2.88 booting
    Starting udev
    [    5.841583] Disabling lock debugging due to kernel taint
    [    8.233856] cfg80211: Calling CRDA to update world regulatory domain
    [    8.507141] wl12xx: driver version: ol_R5.SP3.06
    [    8.512054] wl12xx: compilation time: Thu Nov 15 08:50:59 2012
    [    8.712188] cfg80211: World regulatory domain updated:
    [    8.717712] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [    8.726501] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [    8.734832] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [    8.743164] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [    8.751464] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [    8.759796] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [    8.912567] wl12xx: loaded
    [   10.095733] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [   10.106384] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [   10.141815] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [   10.152557] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    ALSA: Restoring mixer settings...
    No state is present for card EVM
    Found hardware: "AM335X_EVM" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    NOT configuring network interfaces: / is an NFS mount
    Mon Dec 17 06:07:00 UTC 2012
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Performing wifi calibration...
    [   12.324188] wl12xx: loaded
    [   12.338806] wl12xx: power up
    [   12.816986] wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.132)
    Using nvs version 2.1
    Calibrate /lib/firmware/ti-connectivity/wl1271-nvs.bin
    Writing calibration data to /lib/firmware/ti-connectivity/wl1271-nvs.bin
    Writing mac address 00:00:00:00:00:00 to file /lib/firmware/ti-connectivity/wl1271-nvs.bin
    [   13.012664] wl12xx: power down
    Calibration done. FEM1 has 1 bands. AutoFEM is off. Resulting nvs is /lib/firmware/ti-connectivity/wl1271-nvs.bin
    [   13.672393] wl12xx: loaded
    Starting network benchmark server: netserver.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    [   14.460540] pvrsrvkm: Unknown symbol drm_open (err 0)
    [   14.465942] pvrsrvkm: Unknown symbol drm_fasync (err 0)
    [   14.471527] pvrsrvkm: Unknown symbol drm_poll (err 0)
    [   14.476898] pvrsrvkm: Unknown symbol drm_pci_init (err 0)
    [   14.482604] pvrsrvkm: Unknown symbol drm_pvr_dev_remove (err 0)
    [   14.489074] pvrsrvkm: Unknown symbol drm_ioctl (err 0)
    [   14.494598] pvrsrvkm: Unknown symbol drm_pvr_dev_add (err 0)
    [   14.500732] pvrsrvkm: Unknown symbol drm_mmap (err 0)
    [   14.506072] pvrsrvkm: Unknown symbol drm_pci_exit (err 0)
    [   14.511810] pvrsrvkm: Unknown symbol drm_release (err 0)
    insmod: error inserting '/lib/modules/3.2.0/extra/pvrsrvkm.ko': -1 Unknown symbol in module
    Could not find pvrsrvkm driver
    Starting Lighttpd Web Server: lighttpd.
    2012-12-17 06:07:03: (log.c.166) server started 
    [   14.838653] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [   14.849792] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [   14.884307] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [   14.895416] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    /
    Starting Matrix GUI application.
    [   15.495544]  gadget: Mass Storage Function, version: 2009/09/11
    [   15.502990]  gadget: Number of LUNs=2
    [   15.506896]  lun0: LUN: removable file: /dev/mmcblk0p1
    [   15.512298]  lun1: LUN: removable file: /dev/mmcblk0p3
    [   15.517730]  gadget: Mass Storage Gadget, version: 2009/09/11
    [   15.523773]  gadget: userspace failed to provide iSerialNumber
    [   15.529937]  gadget: g_mass_storage ready
    [   15.534149] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   15.539825] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [   15.547729] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   15.554901] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   15.562500] usb usb2: Product: MUSB HDRC host driver
    [   15.567718] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
    [   15.573333] usb usb2: SerialNumber: musb-hdrc.0
    [   15.578643] hub 2-0:1.0: USB hub found
    [   15.582611] hub 2-0:1.0: 1 port detected
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
    	binutils-symlinks
    	binutils
    	gdbserver
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyO0
    
    Arago 2012.10 am335x-evm ttyO0
    
    am335x-evm login: root
    root@am335x-evm:~# /etc/init.d/matrix-gui-2.0 stop
    Stopping Matrix GUI application.
    
    root@am335x-evm:~# depmod -a
    root@am335x-evm:~# /etc/init.d/335x-demo 
    0x10205
    release8.x
    installing 8.x SGX release user libraries
    
    Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.9@2188537' on target
    
    File system installation root is /
    
    Uninstalling existing version sgxddk_1.9@2188537
    Uninstallation completed.
    boot script rc.pvr -> /etc/init.d/rc.pvr
    kernel module drm.ko -> /lib/modules/3.2.0/extra/drm.ko
    kernel module pvrsrvkm.ko -> /lib/modules/3.2.0/extra/pvrsrvkm.ko
    shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.9.2188537
    shared library libusc.so -> /usr/lib/libusc.so.1.9.2188537
    shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.9.2188537
    shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.9.2188537
    shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.9.2188537
    shared library libEGL.so -> /usr/lib/libEGL.so.1.9.2188537
    shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.9.2188537
    shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so.1.9.2188537
    shared library libpvrPVR2D_DRIWSEGL.so -> /usr/lib/libpvrPVR2D_DRIWSEGL.so.1.9.2188537
    shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.9.2188537
    shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.9.2188537
    shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.9.2188537
    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
    binary gles1test1 -> /usr/local/bin/gles1test1
    binary gles2test1 -> /usr/local/bin/gles2test1
    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 xgles2test1 -> /usr/local/bin/xgles2test1
    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.
    
    Loaded PowerVR consumer services.
    root@am335x-evm:~# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
    _XSERVTransOpen: transport open failed for inet6/am335x-evm:0
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
    
    X.Org X Server 1.12.0
    Release Date: 2012-03-04
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.35-30-generic-pae i686 
    Current Operating System: Linux am335x-evm 3.2.0 #1 Tue Feb 26 17:45:43 IST 2013 armv7l
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=172.24.146.98:/home1/prathap/nfs/am335x_0506_fs,nolock rw mem=128M ip=dhcp consoleblank=0
    Build Date: 27 November 2012  06:46:03PM
     
    Current version of pixman: 0.24.4
    	Before reporting problems, check http://wiki.x.org
    	to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    	(++) from command line, (!!) notice, (II) informational,
    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Mon Dec 17 06:09:09 2012
    (++) Using config file: "/usr/local/XSGX/etc/xorg.conf"
    (==) ServerLayout "Server Layout"
    (**) |-->Screen "Screen" (0)
    (**) |   |-->Monitor "<default monitor>"
    (**) |   |-->Device "Video Device"
    (==) No monitor specified for screen "Screen".
    	Using a default monitor configuration.
    (**) |-->Input Device "Keyboard"
    (**) |-->Input Device "Main Touch Screen"
    (==) Not automatically adding devices
    (==) Not automatically enabling devices
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
    	Entry deleted from font path.
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/OT[  140.580505] [drm] Initialized drm 1.1.0 20060810
    F/" does not exist.
    	Entry deleted from font path.
    (==) FontPath set to:
    	/usr/local/XSGX/share/fonts/X11/misc/,
    	/usr/local/XSGX/share/fonts/X11/Type1/,
    	/usr/local/XSGX/share/fonts/X11/100dpi/,
    	/usr/local/XSGX/share/fonts/X11/75dpi/
    (==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so
    (II) Module extmod: vendor="X.Org Foundatio[  140.621856] [drm] Initialized pvrsrvkm 1.9.2188537 20110701 for SGX on minor 0
    n"
    	compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
    (II) Module glx: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 1.0.0
    (==) AIGLX enabled
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so
    (II) Module record: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 1.13.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so
    (II) Module dri: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 1.0.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 1.2.0
    (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
    (II) Module PVR: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 109.218.8537
    (II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so
    (II) Module evdev: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 2.6.0
    (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
    (--) using VT number 2
    
    (WW) xf86OpenConsole: setpgid failed: Operation not permitted
    (WW) Falling back to old probe method for pvr
    (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
    (II) pvr(0): Creating default Display subsection in Screen section
    	"Screen" for depth/fbbpp 24/32
    (==) pvr(0): Depth 24, (==) framebuffer bpp 32
    (==) pvr(0): RGB weight 888
    (==) pvr(0): Default visual is TrueColor
    (==) pvr(0): Using gamma correction (1.0, 1.0, 1.0)
    (--) pvr(0): Virtual size is 800x480 (pitch 800)
    (**) pvr(0):  Built-in mode "800x480"
    (==) pvr(0): DPI set to (96, 96)
    (II) Loading /usr/local/XSGX/lib/xorg/modules/libfb.so
    (II) Module fb: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 1.0.0
    (II) pvr(0): [pvr] Software copy threshold : 0B
    (II) pvr(0): [pvr] Software solid threshold : 0B
    (II) pvr(0): [pvr] Software composite threshold : 1024B
    (II) pvr(0): [pvr] Pixmap pool size: 1B
    (II) Loading /usr/local/XSGX/lib/xorg/modules/libexa.so
    (II) Module exa: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 2.5.0
    (--) Depth 24 pixmap format is 32 bpp
    (II) pvr(0): [DRI2] Setup complete
    (II) pvr(0): [DRI2]   DRI driver: pvr
    (II) EXA(0): Driver allocated offscreen pixmaps
    (II) EXA(0): Driver registered support for the following operations:
    (II)         Solid
    (II)         Copy
    (II)         Composite (RENDER acceleration)
    (II)         UploadToScreen
    (==) pvr(0): Backing store disabled
    (==) pvr(0): Silken mouse enabled
    (==) pvr(0): DPMS enabled
    (==) pvr(0): Direct rendering enabled
    (EE) pvr(0): PVRDisplayCommandNoArgs: drmCommandWrite failed (-22)
    (EE) pvr(0): PVRDisplayScreenInitFinalize: PVRDisplayCommandNoArgs failed (-22)
    (==) RandR enabled
    (EE) AIGLX error: dlopen of /usr/local/XSGX/lib/dri/pvr_dri.so failed (/usr/local/XSGX/lib/dri/pvr_dri.so: cannot open shared object file: No such file or directory)
    (EE) AIGLX: reverting to software rendering
    (II) AIGLX: Screen 0 is not DRI capable
    (II) AIGLX: Loaded and initialized swrast
    (II) GLX: Initialized DRISWRAST GL provider for screen 0
    (II) Using input driver 'evdev' for 'Keyboard'
    (**) Keyboard: always reports core events
    (**) Keyboard: Device: "/dev/input/event0"
    (--) Keyboard: Found absolute axes
    (--) Keyboard: Found x and y absolute axes
    (II) Keyboard: Configuring as mouse
    (II) XINPUT: Adding extended input device "Keyboard" (type: MOUSE, id 6)
    (II) Keyboard: initialized for absolute axes.
    (**) Keyboard: (accel) keeping acceleration scheme 1
    (**) Keyboard: (accel) acceleration profile 0
    (**) Keyboard: (accel) acceleration factor: 2.000
    (**) Keyboard: (accel) acceleration threshold: 4
    (II) Using input driver 'evdev' for 'Main Touch Screen'
    (**) Main Touch Screen: always reports core events
    (**) Main Touch Screen: Device: "/dev/input/event1"
    (--) Main Touch Screen: Found keys
    (II) Main Touch Screen: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Main Touch Screen" (type: KEYBOARD, id 7)
    
    root@am335x-evm:~# 
    root@am335x-evm:~# lsmod
    Module                  Size  Used by
    pvrsrvkm              179877  3 
    drm                   145242  4 pvrsrvkm
    g_mass_storage         37823  0 
    wl12xx_sdio             3890  0 
    wl12xx                201503  0 
    mac80211              286589  1 wl12xx
    cfg80211              186634  2 wl12xx,mac80211
    
    root@am335x-evm:~# ps  | grep -i xorg    x
     1313 root         0 SW<  [wl12xx_wq]
     1315 root         0 SW   [irq/273-wl12xx]
     2258 root     16668 S    /usr/local/XSGX/bin/X -verbose -config /usr/local/XS
     2280 root      2152 S    grep -i x
    
    root@am335x-evm:~# export DISPLAY=:0
    root@am335x-evm:~# export LD_LIBRARY_PATH=/usr/local/XSGX/lib/
    
    root@am335x-evm:~# cat /proc/pvr/version 
    Version SGX_DDK_Linux_CustomerTI sgxddk 19 1.9@2188537 (release) /home1/prathap/delete/Graphics_SDK_4_08_00_02/GFX_Linux_KM
    System Version String: SGX revision = 1.2.5
    
    root@am335x-evm:~#/opt/gfxlibraries/gfx_rel_es8.x/xgles1test1 -f 1000
    --------------------- started ---------------------
    --------------------- finished ---------------------
    (II) Keyboard: Close
    (II) Main Touch Screen: Close
    root@am335x-evm:~# 1 XSELINUXs still allocated at reset
    SCREEN: 0 objects of 140 bytes = 0 total bytes 0 private allocs
    COLORMAP: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    DEVICE: 0 objects of 64 bytes = 0 total bytes 0 private allocs
    CLIENT: 0 objects of 140 bytes = 0 total bytes 0 private allocs
    WINDOW: 0 objects of 32 bytes = 0 total bytes 0 private allocs
    PIXMAP: 1 objects of 84 bytes = 84 total bytes 0 private allocs
    GC: 0 objects of 52 bytes = 0 total bytes 0 private allocs
    CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
    TOTAL: 1 objects, 84 bytes, 0 allocs
    1 PIXMAPs still allocated at reset
    PIXMAP: 1 objects of 84 bytes = 84 total bytes 0 private allocs
    GC: 0 objects of 52 bytes = 0 total bytes 0 private allocs
    CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
    TOTAL: 1 objects, 84 bytes, 0 allocs
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 1.2.0
    (II) pvr(0): [DRI2] Setup complete
    (II) pvr(0): [DRI2]   DRI driver: pvr
    (II) EXA(0): Driver allocated offscreen pixmaps
    (II) EXA(0): Driver registered support for the following operations:
    (II)         Solid
    (II)         Copy
    (II)         Composite (RENDER acceleration)
    (II)         UploadToScreen
    (==) pvr(0): DPMS enabled
    (==) pvr(0): Direct rendering enabled
    (EE) pvr(0): PVRDisplayCommandNoArgs: drmCommandWrite failed (-22)
    (EE) pvr(0): PVRDisplayScreenInitFinalize: PVRDisplayCommandNoArgs failed (-22)
    (==) RandR enabled
    (EE) AIGLX error: dlopen of /usr/local/XSGX/lib/dri/pvr_dri.so failed (/usr/local/XSGX/lib/dri/pvr_dri.so: cannot open shared object file: No such file or directory)
    (EE) AIGLX: reverting to software rendering
    (II) AIGLX: Screen 0 is not DRI capable
    (II) AIGLX: Loaded and initialized swrast
    (II) GLX: Initialized DRISWRAST GL provider for screen 0
    (II) Using input driver 'evdev' for 'Keyboard'
    (**) Keyboard: always reports core events
    (**) Keyboard: Device: "/dev/input/event0"
    (--) Keyboard: Found absolute axes
    (--) Keyboard: Found x and y absolute axes
    (II) Keyboard: Configuring as mouse
    (II) Keyboard: initialized for absolute axes.
    (**) Keyboard: (accel) keeping acceleration scheme 1
    (**) Keyboard: (accel) acceleration profile 0
    (**) Keyboard: (accel) acceleration factor: 2.000
    (**) Keyboard: (accel) acceleration threshold: 4
    (II) Using input driver 'evdev' for 'Main Touch Screen'
    (**) Main Touch Screen: always reports core events
    (**) Main Touch Screen: Device: "/dev/input/event1"
    (--) Main Touch Screen: Found keys
    (II) Main Touch Screen: Configuring as keyboard
    
    root@am335x-evm:~# 
    root@am335x-evm:~# /opt/gfxlibraries/gfx_rel_es8.x/xgles1test1 -f 1000 -s 1
    --------------------- started ---------------------
    (II) pvr(0): [dri] Created flip chain 1
    (II) pvr(0): [dri] Destroying flip chain 1 
    --------------------- finished ---------------------
    (II) Keyboard: Close
    (II) Main Touch Screen: Close
    root@am335x-evm:~# 1 XSELINUXs still allocated at reset
    SCREEN: 0 objects of 140 bytes = 0 total bytes 0 private allocs
    COLORMAP: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    DEVICE: 0 objects of 64 bytes = 0 total bytes 0 private allocs
    CLIENT: 0 objects of 140 bytes = 0 total bytes 0 private allocs
    WINDOW: 0 objects of 32 bytes = 0 total bytes 0 private allocs
    PIXMAP: 1 objects of 84 bytes = 84 total bytes 0 private allocs
    GC: 0 objects of 52 bytes = 0 total bytes 0 private allocs
    CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
    TOTAL: 1 objects, 84 bytes, 0 allocs
    1 PIXMAPs still allocated at reset
    PIXMAP: 1 objects of 84 bytes = 84 total bytes 0 private allocs
    GC: 0 objects of 52 bytes = 0 total bytes 0 private allocs
    CURSOR: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    CURSOR_BITS: 0 objects of 4 bytes = 0 total bytes 0 private allocs
    DBE_WINDOW: 0 objects of 12 bytes = 0 total bytes 0 private allocs
    TOTAL: 1 objects, 84 bytes, 0 allocs
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
    	compiled for 1.12.0, module version = 1.2.0
    (II) pvr(0): [DRI2] Setup complete
    (II) pvr(0): [DRI2]   DRI driver: pvr
    (II) EXA(0): Driver allocated offscreen pixmaps
    (II) EXA(0): Driver registered support for the following operations:
    (II)         Solid
    (II)         Copy
    (II)         Composite (RENDER acceleration)
    (II)         UploadToScreen
    (==) pvr(0): DPMS enabled
    (==) pvr(0): Direct rendering enabled
    (EE) pvr(0): PVRDisplayCommandNoArgs: drmCommandWrite failed (-22)
    (EE) pvr(0): PVRDisplayScreenInitFinalize: PVRDisplayCommandNoArgs failed (-22)
    (==) RandR enabled
    (EE) AIGLX error: dlopen of /usr/local/XSGX/lib/dri/pvr_dri.so failed (/usr/local/XSGX/lib/dri/pvr_dri.so: cannot open shared object file: No such file or directory)
    (EE) AIGLX: reverting to software rendering
    (II) AIGLX: Screen 0 is not DRI capable
    (II) AIGLX: Loaded and initialized swrast
    (II) GLX: Initialized DRISWRAST GL provider for screen 0
    (II) Using input driver 'evdev' for 'Keyboard'
    (**) Keyboard: always reports core events
    (**) Keyboard: Device: "/dev/input/event0"
    (--) Keyboard: Found absolute axes
    (--) Keyboard: Found x and y absolute axes
    (II) Keyboard: Configuring as mouse
    (II) Keyboard: initialized for absolute axes.
    (**) Keyboard: (accel) keeping acceleration scheme 1
    (**) Keyboard: (accel) acceleration profile 0
    (**) Keyboard: (accel) acceleration factor: 2.000
    (**) Keyboard: (accel) acceleration threshold: 4
    (II) Using input driver 'evdev' for 'Main Touch Screen'
    (**) Main Touch Screen: always reports core events
    (**) Main Touch Screen: Device: "/dev/input/event1"
    (--) Main Touch Screen: Found keys
    (II) Main Touch Screen: Configuring as keyboard
    
    root@am335x-evm:~# 

     

    Thanks,

    Prathap.

  • Hello. My "step by step":

    1. Install Sitara SDK (ti-sdk-am335x-evm-05.07.00.00-Linux-x86-Install) to /home/gtt   (gtt is my user name). Run <sdk-root>$ ./setup.sh

    2. Source environment with <sdk-root>/linux-devkit/. ./environment-setup. source ARCH and CROSS_COMPILE env. variables with  > export ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi-

    3. Go to <sdk-root>/board-support/linux-3.2.0-psp04.06.00.10> and there run > make mrproper; make am335x_evm_defconfig

    4. Make kernel & modules, with > make -j4 uImage modules

    5. Install modules to filesystem (<sdk-root>/targetNFS ): > make modules_install INSTALL_MOD_PATH=/home/gtt//ti-sdk-am335x-evm-05.07.00.00/targetNFS

    6. Install Graphics SDK (Graphics_SDK_setuplinux_4_08_00_02_minimal_demos.bin --> es8.x, sdk)

    7. Go to Graphics_SDK directory (other terminal) --> $ cd ~/Graphics_SDK_4_08_00_02

    8. source environment; $ export ARCH=arm

    9. Change Rules.make:

       - HOME=/home/gtt/

       - CSTOOL_DIR=$(HOME)/ti-sdk-am335x-evm-05.07.00.00/linux-devkit/

       - CSTOOL_PREFIX=`basename arm-arago-linux-gnueabi-`

       - KERNEL_INSTALL_DIR=$(HOME)/ti-sdk-am335x-evm-05.07.00.00/board-support/linux-3.2.0-psp04.06.00.10/

       - TARGETFS_INSTALL_DIR=$(HOME)/ti-sdk-am335x-evm-05.07.00.00/targetNFS

    10. Make Graphics SDK   $make BUILD=release OMAPES=8.x SUPPORT_XORG=1 all

    11. Install Graphics SDK $make BUILD=release OMAPES=8.x SUPPORT_XORG=1 install --> fails

    11a. $ sudo chown gtt:gtt -R ~/ti-sdk-am335x-evm-05.07.00.00/targetNFS

    11b Install Graphics SDK $make BUILD=release OMAPES=8.x SUPPORT_XORG=1 install --> ok, installed to /usr/local, bufferclass_ti.ko  drm.ko  pvrsrvkm.ko installed to ./opt/gfxlibraries/gfx_rel_es8.x/


    (question: is something installed/ reconfigured at kernel dir?)

    12. ########################################################
    Please ensure that PSP Linux kernel is re-built atleast once,
    Please refer online guide for further details.
    ########################################################

    So, rebuild kernel: goto <sdk-root>/board-support/linux-3.2.0-psp04.06.00.10> make -j4 uImage modules
       > make modules_install INSTALL_MOD_PATH=/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS/

    (no dri & prvsrv module?)

    13, Copy MLO, u-boot.img (from <sdk-root>/board-support/prebuilt-images) to boot partition of SDCard

    14. Copy kernel uImage from <sdk-root>/board-support/linux-3.2.0-psp04.06.00.10/arch/arm/boot to boot partition of SDCard and /tftpboot  directory

    15. Copy uEnv.txt file with NFS booting:

    serverip=192.168.178.153
    ipaddr=192.168.178.108
    netmask=255.255.255.0
    gatewayip=192.168.178.254
    loadaddr=0x80200000
    mmcroot=/dev/mmcblk0p2 rw
    mmcrootfstype=ext3 rootwait
    rootpath=/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS
    bootfile=uImage-am335x-evm.bin
    console=ttyO0,115200n8
    end_iparg=sitara:eth0:off
    root=root=/dev/nfs  
    ip_method=none
    mmcargs=setenv bootargs console=${console} ${optargs} ${root}  nfsroot=${serverip}:${rootpath},nolock rw i ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${end_iparg};
    mmcboot=echo Booting from mmc (uEnv.txt configuration) ...; run mmcargs; bootm ${loadaddr}
    loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage
    uenvcmd=run loaduimagefat; run mmcboot

    16. When booting:

    Error: missing filename.                                                        
    Could not find pvrsrvkm driver    

    17. Stop Matrix: /etc/init.d/matrix-gui-2.0 stop  

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

    0x10205                                                                         
    release8.x                                                                      
    installing 8.x SGX release user libraries                                       
                                                                                    
    Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.9@2188537' on target         
                                                                                    
    File system installation root is /                                              
                                                                                    
    Nothing to un-install.                                                          
    boot script rc.pvr -> /etc/init.d/rc.pvr                                        
    kernel module drm.ko -> /lib/modules/3.2.0/extra/drm.ko                         
    kernel module pvrsrvkm.ko -> /lib/modules/3.2.0/extra/pvrsrvkm.ko               
    shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.9.2188537              
    shared library libusc.so -> /usr/lib/libusc.so.1.9.2188537                      
    shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.9.2188537                
    shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.9.2188537    
    shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.9.2188537                
    shared library libEGL.so -> /usr/lib/libEGL.so.1.9.2188537                      
    shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.9.2188537                  
    shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.9
    .2188537                                                                        
    shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.9
    .2188537                                                                        
    shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1
    .9.2188537                                                                      
    shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.
    so.1.9.2188537                                                                  
    shared library libpvrPVR2D_DRIWSEGL.so -> /usr/lib/libpvrPVR2D_DRIWSEGL.so.1.9.2
    188537                                                                          
    shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.9.2188537                
    shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.9.2188537            
    shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.9.218
    8537                                                                            
    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                                  
    binary gles1test1 -> /usr/local/bin/gles1test1                                  
    binary gles2test1 -> /usr/local/bin/gles2test1                                  
    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 xgles2test1 -> /usr/local/bin/xgles2test1                                
    X.Org PVR DDX video module pvr_drv.so -> /usr/local/XSGX/lib/xorg/modules/driver
    s/pvr_drv.so                                                                    
    X.Org configuration file xorg.conf -> /usr/local/XSGX/etc/xorg.conf             
                                                                                    
    Installation complete!                                                          
    You may now reboot your target.                                                 
                                                                                    
    Loaded PowerVR consumer services.                                               
    root@am335x-evm:/# _XSERVTransSocketOpenCOTSServer: Unable to open socket for in
    et6                                                                             
    _XSERVTransOpen: transport open failed for inet6/am335x-evm:0                   
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6        
                                                                                    
    X.Org X Server 1.12.0                                                           
    Release Date: 2012-03-04                                                        
    X Protocol Version 11, Revision 0                                               
    Build Operating System: Linux 2.6.35-30-generic-pae i686                        
    Current Operating System: Linux am335x-evm 3.2.0 #1 Thu Apr 4 23:52:23 CDT 2013
    armv7l                                                                          
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.178.15
    3:/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw i ip=192.168.178.1
    08:192.168.178.153:192.168.178.254:255.255.255.0:sitara:eth0:off                
    Build Date: 27 November 2012  06:46:03PM                                        
                                                                                    
    Current version of pixman: 0.24.4                                               
            Before reporting problems, check http://wiki.x.org                      
            to make sure that you have the latest version.                          
    Markers: (--) probed, (**) from config file, (==) default setting,              
            (++) from command line, (!!) notice, (II) informational,                
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.           
    (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Fri Apr  5 12:34:53 2
    013                                                                             
    (++) Using config file: "/usr/local/XSGX/etc/xorg.conf"                         
    (==) ServerLayout "Server Layout"                                               
    (**) |-->Screen "Screen" (0)                                                    
    (**) |   |-->Monitor "<default monitor>"                                        
    (**) |   |-->Device "Video Device"                                              
    (==) No monitor specified for screen "Screen".                                  
            Using a default monitor configuration.                                  
    (**) |-->Input Device "Keyboard"                                                
    (**) |-->Input Device "Main Touch Screen"                                       
    (==) Not automatically adding devices                                           
    (==) Not automatically enabling devices                                         
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.       
            Entry deleted from font path.                                           
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.       
            Entry deleted from font path.                                           
    (==) FontPath set to:                                                           
            /usr/local/XSGX/share/fonts/X11/misc/,                                  
            /usr/local/XSGX/share/fonts/X11/Type1/,                                 
            /usr/local/XSGX/share/fonts/X11/100dpi/,                                
            /usr/local/XSGX/share/fonts/X11/75dpi/                                  
    (==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"                       
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so           
    (II) Module extmod: vendor="X.Org Foundation"                                   
            compiled for 1.12.0, module version = 1.0.0                             
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so              
    (II) Module dbe: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 1.0.0                             
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so              
    (II) Module glx: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 1.0.0                             
    (==) AIGLX enabled                                                              
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so           
    (II) Module record: vendor="X.Org Foundation"                                   
            compiled for 1.12.0, module version = 1.13.0                            
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so              
    (II) Module dri: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 1.0.0                             
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so             
    (II) Module dri2: vendor="X.Org Foundation"                                     
            compiled for 1.12.0, module version = 1.2.0                             
    (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so                
    (II) Module PVR: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 109.218.8537                      
    (II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so                
    (II) Module evdev: vendor="X.Org Foundation"                                    
            compiled for 1.12.0, module version = 2.6.0                             
    (II) pvr: Driver for PowerVR chipsets: PowerVR SGX                              
    (--) using VT number 2                                                          
                                                                                    
    (WW) xf86OpenConsole: setpgid failed: Operation not permitted                   
    (WW) Falling back to old probe method for pvr                                   
    FATAL: Module pvrsrvkm not found.                                               
    (EE) Couldn't get PVR Services status                                           
    (EE) No devices detected.                                                       
                                                                                    
    Fatal server error:                                                             
    no screens found                                                                
                                                                                    
    Please consult the The X.Org Foundation support                                 
             at http://wiki.x.org                                                   
     for help.                                                                      
    Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for addit
    ional information.                                                              
                                                                                    
    Server terminated with error (1). Closing log file.   

    # depmod -a

    0x10205                                                                         
    release8.x                                                                      
    installing 8.x SGX release user libraries                                       
                                                                                    
    Installing PowerVR Consumer/Embedded DDK 'sgxddk_1.9@2188537' on target         
                                                                                    
    File system installation root is /                                              
                                                                                    
    Uninstalling existing version sgxddk_1.9@2188537                                
    Uninstallation completed.                                                       
    boot script rc.pvr -> /etc/init.d/rc.pvr                                        
    kernel module drm.ko -> /lib/modules/3.2.0/extra/drm.ko                         
    kernel module pvrsrvkm.ko -> /lib/modules/3.2.0/extra/pvrsrvkm.ko               
    shared library libGLES_CM.so -> /usr/lib/libGLES_CM.so.1.9.2188537              
    shared library libusc.so -> /usr/lib/libusc.so.1.9.2188537                      
    shared library libGLESv2.so -> /usr/lib/libGLESv2.so.1.9.2188537                
    shared library libglslcompiler.so -> /usr/lib/libglslcompiler.so.1.9.2188537    
    shared library libIMGegl.so -> /usr/lib/libIMGegl.so.1.9.2188537                
    shared library libEGL.so -> /usr/lib/libEGL.so.1.9.2188537                      
    shared library libpvr2d.so -> /usr/lib/libpvr2d.so.1.9.2188537                  
    shared library libpvrPVR2D_BLITWSEGL.so -> /usr/lib/libpvrPVR2D_BLITWSEGL.so.1.9
    .2188537                                                                        
    shared library libpvrPVR2D_FLIPWSEGL.so -> /usr/lib/libpvrPVR2D_FLIPWSEGL.so.1.9
    .2188537                                                                        
    shared library libpvrPVR2D_FRONTWSEGL.so -> /usr/lib/libpvrPVR2D_FRONTWSEGL.so.1
    .9.2188537                                                                      
    shared library libpvrPVR2D_LINUXFBWSEGL.so -> /usr/lib/libpvrPVR2D_LINUXFBWSEGL.
    so.1.9.2188537                                                                  
    shared library libpvrPVR2D_DRIWSEGL.so -> /usr/lib/libpvrPVR2D_DRIWSEGL.so.1.9.2
    188537                                                                          
    shared library libsrv_um.so -> /usr/lib/libsrv_um.so.1.9.2188537                
    shared library libsrv_init.so -> /usr/lib/libsrv_init.so.1.9.2188537            
    shared library libPVRScopeServices.so -> /usr/lib/libPVRScopeServices.so.1.9.218
    8537                                                                            
    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                                  
    binary gles1test1 -> /usr/local/bin/gles1test1                                  
    binary gles2test1 -> /usr/local/bin/gles2test1                                  
    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 xgles2test1 -> /usr/local/bin/xgles2test1                                
    X.Org PVR DDX video module pvr_drv.so -> /usr/local/XSGX/lib/xorg/modules/driver
    s/pvr_drv.so                                                                    
    X.Org configuration file xorg.conf -> /usr/local/XSGX/etc/xorg.conf             
                                                                                    
    Installation complete!                                                          
    You may now reboot your target.                                                 
                                                                                    
    Loaded PowerVR consumer services.                                               
    root@am335x-evm:/# _XSERVTransSocketOpenCOTSServer: Unable to open socket for in
    et6                                                                             
    _XSERVTransOpen: transport open failed for inet6/am335x-evm:0                   
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6        
                                                                                    
    X.Org X Server 1.12.0                                                           
    Release Date: 2012-03-04                                                        
    X Protocol Version 11, Revision 0                                               
    Build Operating System: Linux 2.6.35-30-generic-pae i686                        
    Current Operating System: Linux am335x-evm 3.2.0 #1 Thu Apr 4 23:52:23 CDT 2013
    armv7l                                                                          
    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.178.15
    3:/home/gtt/ti-sdk-am335x-evm-05.07.00.00/targetNFS,nolock rw i ip=192.168.178.1
    08:192.168.178.153:192.168.178.254:255.255.255.0:sitara:eth0:off                
    Build Date: 27 November 2012  06:46:03PM                                        
                                                                                    
    Current version of pixman: 0.24.4                                               
            Before reporting problems, check http://wiki.x.org                      
            to make sure that you have the latest version.                          
    Markers: (--) probed, (**) from config file, (==) default setting,              
            (++) from command line, (!!) notice, (II) informational,                
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.           
    (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Fri Apr  5 12:36:57 2
    013                                                                             
    (++) Using config file: "/usr/local/XSGX/etc/xorg.conf"                         
    (==) ServerLayout "Server Layout"                                               
    (**) |-->Screen "Screen" (0)                                                    
    (**) |   |-->Monitor "<default monitor>"                                        
    (**) |   |-->Device "Video Device"                                              
    (==) No monitor specified for screen "Screen".                                  
            Using a default monitor configuration.                                  
    (**) |-->Input Device "Keyboard"                                                
    (**) |-->Input Device "Main Touch Screen"                                       
    (==) Not automatically adding devices                                           
    (==) Not automatically enabling devices                                         
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.       
            E[  441.619018] [drm] Initialized drm 1.1.0 20060810                    
    ntry deleted from font path.                                                    
    (WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.       
            Entry deleted from font path.                                           
    (==) FontPath set to:                                                           
            /usr/local/XSGX/share/fonts/X11/misc/,                                  
            /usr/local/XSGX/share/fonts/X11/Type1/,                                 
            /usr/local/XSGX/share/fonts/X11/100dpi/,                                
            /usr/local/XSGX/share/fonts/X11/75dpi/                                  
    (==) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"                       
    (II) Loading /usr/local/XSGX/lib/xorg/modules/[  441.661834] [drm] Initialized p
    vrsrvkm 1.9.2188537 20110701 for SGX on minor 0                                 
    extensions/libextmod.so                                                         
    (II) Module extmod: vendor="X.Org Foundation"                                   
            compiled for 1.12.0, module version = 1.0.0                             
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so              
    (II) Module dbe: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 1.0.0                             
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so              
    (II) Module glx: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 1.0.0                             
    (==) AIGLX enabled                                                              
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/librecord.so           
    (II) Module record: vendor="X.Org Foundation"                                   
            compiled for 1.12.0, module version = 1.13.0                            
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so              
    (II) Module dri: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 1.0.0                             
    (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so             
    (II) Module dri2: vendor="X.Org Foundation"                                     
            compiled for 1.12.0, module version = 1.2.0                             
    (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so                
    (II) Module PVR: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 109.218.8537                      
    (II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so                
    (II) Module evdev: vendor="X.Org Foundation"                                    
            compiled for 1.12.0, module version = 2.6.0                             
    (II) pvr: Driver for PowerVR chipsets: PowerVR SGX                              
    (--) using VT number 2                                                          
                                                                                    
    (WW) xf86OpenConsole: setpgid failed: Operation not permitted                   
    (WW) Falling back to old probe method for pvr                                   
    (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support             
    (II) pvr(0): Creating default Display subsection in Screen section              
            "Screen" for depth/fbbpp 24/32                                          
    (==) pvr(0): Depth 24, (==) framebuffer bpp 32                                  
    (==) pvr(0): RGB weight 888                                                     
    (==) pvr(0): Default visual is TrueColor                                        
    (==) pvr(0): Using gamma correction (1.0, 1.0, 1.0)                             
    (--) pvr(0): Virtual size is 480x272 (pitch 480)                                
    (**) pvr(0):  Built-in mode "480x272"                                           
    (==) pvr(0): DPI set to (96, 96)                                                
    (II) Loading /usr/local/XSGX/lib/xorg/modules/libfb.so                          
    (II) Module fb: vendor="X.Org Foundation"                                       
            compiled for 1.12.0, module version = 1.0.0                             
    (II) pvr(0): [pvr] Software copy threshold : 0B                                 
    (II) pvr(0): [pvr] Software solid threshold : 0B                                
    (II) pvr(0): [pvr] Software composite threshold : 1024B                         
    (II) pvr(0): [pvr] Pixmap pool size: 1B                                         
    (II) Loading /usr/local/XSGX/lib/xorg/modules/libexa.so                         
    (II) Module exa: vendor="X.Org Foundation"                                      
            compiled for 1.12.0, module version = 2.5.0                             
    (--) Depth 24 pixmap format is 32 bpp                                           
    (II) pvr(0): [DRI2] Setup complete                                              
    (II) pvr(0): [DRI2]   DRI driver: pvr                                           
    (II) EXA(0): Driver allocated offscreen pixmaps                                 
    (II) EXA(0): Driver registered support for the following operations:            
    (II)         Solid                                                              
    (II)         Copy                                                               
    (II)         Composite (RENDER acceleration)                                    
    (II)         UploadToScreen                                                     
    (==) pvr(0): Backing store disabled                                             
    (==) pvr(0): Silken mouse enabled                                               
    (==) pvr(0): DPMS enabled                                                       
    (==) pvr(0): Direct rendering enabled                                           
    (EE) pvr(0): PVRDisplayCommandNoArgs: drmCommandWrite failed (-22)              
    (EE) pvr(0): PVRDisplayScreenInitFinalize: PVRDisplayCommandNoArgs failed (-22)
    (==) RandR enabled                                                              
    (EE) AIGLX error: dlopen of /usr/local/XSGX/lib/dri/pvr_dri.so failed (/usr/loca
    l/XSGX/lib/dri/pvr_dri.so: cannot open shared object file: No such file or direc
    tory)                                                                           
    (EE) AIGLX: reverting to software rendering                                     
    (II) AIGLX: Screen 0 is not DRI capable                                         
    (II) AIGLX: Loaded and initialized swrast                                       
    (II) GLX: Initialized DRISWRAST GL provider for screen 0                        
    (II) Using input driver 'evdev' for 'Keyboard'                                  
    (**) Keyboard: always reports core events                                       
    (**) Keyboard: Device: "/dev/input/event0"                                      
    (--) Keyboard: Found absolute axes                                              
    (--) Keyboard: Found x and y absolute axes                                      
    (II) Keyboard: Configuring as mouse                                             
    (II) XINPUT: Adding extended input device "Keyboard" (type: MOUSE, id 6)        
    (II) Keyboard: initialized for absolute axes.                                   
    (**) Keyboard: (accel) keeping acceleration scheme 1                            
    (**) Keyboard: (accel) acceleration profile 0                                   
    (**) Keyboard: (accel) acceleration factor: 2.000                               
    (**) Keyboard: (accel) acceleration threshold: 4                                
    (II) Using input driver 'evdev' for 'Main Touch Screen'                         
    (**) Main Touch Screen: always reports core events                              
    (**) Main Touch Screen: Device: "/dev/input/event1"                             
    (--) Main Touch Screen: Found absolute axes                                     
    (--) Main Touch Screen: Found x and y absolute axes                             
    (--) Main Touch Screen: Found absolute touchscreen                              
    (II) Main Touch Screen: Configuring as touchscreen                              
    (**) Main Touch Screen: YAxisMapping: buttons 4 and 5                           
    (**) Main Touch Screen: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateW
    heelTimeout: 200                                                                
    (II) XINPUT: Adding extended input device "Main Touch Screen" (type: TOUCHSCREEN
    , id 7)                                                                         
    (II) Main Touch Screen: initialized for absolute axes.                          
    (**) Main Touch Screen: (accel) keeping acceleration scheme 1                   
    (**) Main Touch Screen: (accel) acceleration profile 0                          
    (**) Main Touch Screen: (accel) acceleration factor: 2.000                      
    (**) Main Touch Screen: (accel) acceleration threshold: 4  

    Succes!!!

    #lsmod

    Module                  Size  Used by                                           
    pvrsrvkm              179685  3                                                 
    drm                   144890  4 pvrsrvkm                                        
    g_mass_storage         37823  0                                                 
    wl12xx_sdio             3890  0                                                 
    wl12xx                201439  0                                                 
    mac80211              286169  1 wl12xx                                          
    cfg80211              186086  2 mac80211,wl12xx

    #ps | grep X

     2734 root     15508 S    /usr/local/XSGX/bin/X -verbose -config /usr/local/XS

    ...and...

    # glestest1

    Its ok, but display switch on a moment and then swith off (it's normal)?

    # sgx_blit_test --> OK!

    # pvr2dtest --> OK

    # sgx_render_flip_test -nf --> OK

    It seems that it work now!!! Thanks a lot for your help!!

    Do you think that an X-based  library like SDL would work at the SITARA?

  • Hi,

    You are welcome. Glad to see that you have a working Xorg setup now.

    The above logs indicate your Xorg driver build is successfully running & now you can try your X apps.

    You need to run xgles1test1 for Xorg environment. Also it runs for a short number of frames by default.

    You can run it for more frames with -f option. For eg to run for 1000 frames issue the command -  ./xgles1test1 -f 1000.

    Again, glad to know that the instructions provided were helpful in getting the Xorg up & running on your setup.

    Thanks,

    Prathap.

  • Hi, I have compiled and installed SGX following the instructions
    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#Execution_instructions 


    Everything runs well. Bellow the used arguments to compile and install:

    make OMAPES=8.x BUILD=release FBDEV=yes SUPPORT_XORG=1 all_km
    sudo mkdir ponto-de-montagem/usr/local/XSG
    sudo make OMAPES=8.x BUILD=release FBDEV=yes SUPPORT_XORG=1 install_km

    But the target root file system size grew so much after instalation, from 142MB to 267MB!

    I didn't see any extra configuration for a smaller installation. Someone have any tip about?

    thank you in advanced.

  • Hi,

    We have different graphics SDK packages - right from complete package with all demos to driver only package.

    http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk/4_10_00_01/index_FDS.html

    Graphics_SDK_setuplinux_4_10_00_01_BinOnly.bin - This is the most minimal package without any demos. Its a driver only package to be used with softfp toolchains.

    If you are using hardfp/hardfloat toolchain this is the minimal package with only 4 demos(2 OpenGL ES 1.1, 2 OpenGL ES 2.0 demos)Graphics_SDK_setuplinux_4_10_00_01_hardfp_minimal_demos.bin  

    Thanks,

    Prathap.

  • Hi,

    Thanks for raising a separate query & also marking verified answer. This will help other users who would be looking for this information only.

    This query on graphics SDK installation size is now closed as part of the other thread -

    http://e2e.ti.com/support/arm/sitara_arm/f/791/p/298449/1040884.aspx#1040884

    Thanks,

    Prathap.

  • Hi Prathap

    To resolve my problem i followed many of your posts but not succeeded, so finally am posting my details and problem here for your help. Below is the output of gfx_check.sh.

    *******************************************

    root@am335x-evm:~# ./gfx_check.sh
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_DRIWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so

    ------
    ARM CPU information
    Processor : ARMv7 Processor rev 2 (v7l)
    BogoMIPS : 718.02
    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 : am335xevm
    Revision : 0000
    Serial : 0000000000000000
    ------
    SGX driver information
    cat: can't open '/proc/pvr/version': No such file or directory
    ------
    Framebuffer settings

    mode "1024x768-60"
    # D: 56.000 MHz, H: 47.298 kHz, V: 59.870 Hz
    geometry 1024 768 1024 1536 16
    timings 17857 80 48 15 3 32 4
    rgba 5/11,6/5,5/0,0/0
    endmode

    Frame buffer device information:
    Name : DA8xx FB Drv
    Address : 0x87400000
    Size : 3145728
    Type : PACKED PIXELS
    Visual : TRUECOLOR
    XPanStep : 0
    YPanStep : 1
    YWrapStep : 0
    LineLength : 2048
    Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module Size Used by
    g_mass_storage 37823 0
    wl12xx_sdio 3890 0
    ------
    Boot settings
    console=ttyO0,115200n8 root=/dev/mmcblk0p2 mem=128M rootwait
    ------
    Linux Kernel version
    Linux am335x-evm 3.2.0 #1 Tue Nov 5 14:17:03 IST 2013 armv7l GNU/Linux

    **************************************************

    I am booting Beaglebone+DVID using ti-sdk-am335x-evm-05.07.00.00-Linux-x86-Install and am able to see the matrix GUI. And for this i have added DVID support in it. My aim is run Basic / 3D unittests using Graphics_SDK_4_08_00_02_minimal  present inside  ti-sdk-am335x-evm-05.07.00.00-Linux-x86-Install. Here is the steps am doing.. 

    1:- make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- mrproper

    2:- make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- am335x_evm_defconfig

    3:- make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- uImage

    4:- make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- modules

    5:- make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- INSTALL_MOD_PATH=/usr/local/ti-sdk-am335x-evm/targetNFS modules_install

    6:- Replacing prebuilt uImage with fresh built uImage, so that i can use it at the time of creating SDcard using ./bin/create_sdcard.sh 

    7:- Inside Graphics_SDK_4_08_00_02_minimal, setting path in Rules.make to ti-sdk-am335x-evm/targetNFS so that i can able to access Arago-cross compiler and install inside targetNFS file system.

    8:- export ARCH=arm

    9:- make BUILD=release OMAPES=8.x FBDEV=no SUPPORT_XORG=1 all

    10:- make BUILD=release OMAPES=8.x SUPPORT_XORG=1 install

    11:- ./bin/create_sdcard.sh

    12:- Here am able to boot with matrix GUI

    13:- Stop Matrix: /etc/init.d/matrix-gui-2.0 stop  

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

    Here am able to load all the library/unittest/drm.ko/pvrsrv.ko...

    15:- # dmesg | grep -i drm
    [  313.773284] [drm] Initialized drm 1.1.0 20060810
    [  314.118225] [drm] Initialized pvrsrvkm 1.7.783851 Mon August 13 IST 2012 for SGX on minor 0

    But the problem is my X is becoming inactive , ps | grep X results nothing. So i cant run any unittests depends on X. And i tried to manually configure X but failed. And another scenario i observed  after stopping matrix-gui-2.0 when  X is active i am failed to load drm.ko & pvrsrvkm.ko.

    Here is the log from cat /proc/devices

    root@am335x-evm:/# cat /proc/devices
    Character devices:
    1 mem
    4 /dev/vc/0
    4 tty
    5 /dev/tty
    5 /dev/console
    5 /dev/ptmx
    7 vcs
    10 misc
    13 input
    29 fb
    81 video4linux
    89 i2c
    90 mtd
    116 alsa
    128 ptm
    136 pts
    180 usb
    189 usb_device
    226 drm
    252 ttyO
    253 iio
    254 rtc

    Block devices:
    1 ramdisk
    259 blkext
    7 loop
    8 sd
    31 mtdblock
    65 sd
    66 sd
    67 sd
    68 sd
    69 sd
    70 sd
    71 sd
    128 sd
    129 sd
    130 sd
    131 sd
    132 sd
    133 sd
    134 sd
    135 sd
    179 mmc

    There is no pvrsrvkm present.

    Results from unittests:

    root@am335x-evm:/# sgx_flip_test
    ----------------------- Start -----------------------
    Call PVRSRVConnect with a valid argument:
    OK
    Get number of devices from PVRSRVEnumerateDevices:
    OK
    .... Reported 1 devices
    .... Device Number | Device Type
    0000 | PVRSRV_DEVICE_ID_SGX
    Attempt to acquire device 0:
    OK
    Getting SGX Client info
    OK
    .... ui32ProcessID:1961
    Display Class API: enumerate devices
    OK
    PVRSRVEnumerateDeviceClass() returns 1 display device(s)
    OK
    Attempt to create memory context for SGX:
    OK
    Display Class API: open device
    OK
    Display Class API: Get display info
    OK
    .... Name:
    .... MaxSwapChains:0
    .... MaxSwapChainBuffers:0
    .... MinSwapInterval:0
    .... MaxSwapInterval:0
    Display Class API: enumerate display formats
    OK
    OK
    .... Display format 0 - Pixelformat:20
    Display Class API: enumerate display dimensions
    OK
    OK
    .... Display dimensions 0 - ByteStride:0 Width:0 Height:0
    Display Class API: get the system (primary) buffer
    OK
    .... Shared heap 0 - HeapID:0x7000000 DevVAddr:0x1000 Size:0x87fe000 Attr:0x2014200
    .... Shared heap 1 - HeapID:0x7000001 DevVAddr:0xc800000 Size:0xfff000 Attr:0x2024200
    .... Shared heap 2 - HeapID:0x7000002 DevVAddr:0xe400000 Size:0x7f000 Attr:0x2024200
    .... Shared heap 3 - HeapID:0x7000003 DevVAddr:0xf000000 Size:0x3ff000 Attr:0x2024200
    .... Shared heap 4 - HeapID:0x7000004 DevVAddr:0xf400000 Size:0x4ff000 Attr:0x2014200
    .... Shared heap 5 - HeapID:0x7000005 DevVAddr:0xfc00000 Size:0x1ff000 Attr:0x2014200
    .... Shared heap 6 - HeapID:0x7000006 DevVAddr:0xdc00000 Size:0x7ff000 Attr:0x2014200
    .... Shared heap 7 - HeapID:0x7000007 DevVAddr:0xe800000 Size:0x7ff000 Attr:0x2014200
    .... Shared heap 8 - HeapID:0x7000008 DevVAddr:0xd800000 Size:0x3ff000 Attr:0x2024200
    .... Shared heap 9 - HeapID:0x7000009 DevVAddr:0x8800000 Size:0x0 Attr:0x2024200
    .... Shared heap 10 - HeapID:0x700000a DevVAddr:0x8800000 Size:0x3fff000 Attr:0x2014200
    Display Class API: map display surface to SGX
    OK
    FAIL - PVRSRV_ERROR_NOT_SUPPORTED - fix

    root@am335x-evm:/# sgx_init_test
    ----------------------- Start -----------------------
    Try calling PVRSRVConnect with an invalid argument:
    OK
    Call PVRSRVConnect with a valid argument:
    OK
    Try calling PVRSRVEnumerateDevices with invalid puiNumDevices:
    OK
    Get number of devices from PVRSRVEnumerateDevices:
    OK
    .... Reported 1 devices
    .... Device Number | Device Type
    0000 | PVRSRV_DEVICE_ID_SGX
    Attempt to acquire device 0:
    OK
    Getting SGX Client info
    OK
    .... ui32ProcessID:1962
    Display Class API: enumerate devices
    OK
    PVRSRVEnumerateDeviceClass() returns 1 display device(s)
    OK
    Attempt to create memory context for SGX:
    OK
    Display Class API: open device
    OK
    Display Class API: Get display info
    OK
    .... Name:
    .... MaxSwapChains:0
    .... MaxSwapChainBuffers:0
    .... MinSwapInterval:0
    .... MaxSwapInterval:0
    Display Class API: enumerate display formats
    OK
    OK
    .... Display format 0 - Pixelformat:20
    Display Class API: enumerate display dimensions
    OK
    OK
    .... Display dimensions 0 - ByteStride:0 Width:0 Height:0
    Display Class API: get the system (primary) buffer
    OK
    .... Shared heap 0 - HeapID:0x7000000 DevVAddr:0x1000 Size:0x87fe000 Attr:0x2014200
    .... Shared heap 1 - HeapID:0x7000001 DevVAddr:0xc800000 Size:0xfff000 Attr:0x2024200
    .... Shared heap 2 - HeapID:0x7000002 DevVAddr:0xe400000 Size:0x7f000 Attr:0x2024200
    .... Shared heap 3 - HeapID:0x7000003 DevVAddr:0xf000000 Size:0x3ff000 Attr:0x2024200
    .... Shared heap 4 - HeapID:0x7000004 DevVAddr:0xf400000 Size:0x4ff000 Attr:0x2014200
    .... Shared heap 5 - HeapID:0x7000005 DevVAddr:0xfc00000 Size:0x1ff000 Attr:0x2014200
    .... Shared heap 6 - HeapID:0x7000006 DevVAddr:0xdc00000 Size:0x7ff000 Attr:0x2014200
    .... Shared heap 7 - HeapID:0x7000007 DevVAddr:0xe800000 Size:0x7ff000 Attr:0x2014200
    .... Shared heap 8 - HeapID:0x7000008 DevVAddr:0xd800000 Size:0x3ff000 Attr:0x2024200
    .... Shared heap 9 - HeapID:0x7000009 DevVAddr:0x8800000 Size:0x0 Attr:0x2024200
    .... Shared heap 10 - HeapID:0x700000a DevVAddr:0x8800000 Size:0x3fff000 Attr:0x2014200
    Display Class API: map display surface to SGX
    OK
    Misc Info API: Query the SGX features from host driver
    OK
    .... SGX Host driver DDK version: 1.9.19.2188537
    Misc Info API: Query the SGX features from microkernel
    OK
    .... Hardware core designer: 0, HW core revision: 1.2.5
    .... Hardware core ID: 112, name: SGX 520/530
    .... SGX microkernel DDK version: 1.9.19.2188537
    .... SGX microkernel software core ID: SGX 530, revision: 10205
    SGX microkernel build options
    .... DEBUG: disabled
    .... PDUMP: disabled
    .... PVRSRV_USSE_EDM_STATUS_DEBUG: disabled
    .... SUPPORT_HW_RECOVERY: enabled
    .... PVR_SECURE_HANDLES: enabled
    .... SGX_BYPASS_SYSTEM_CACHE: disabled
    .... SGX_DMS_AGE_ENABLE: disabled
    .... SGX_FAST_DPM_INIT: disabled
    .... SGX_FEATURE_WRITEBACK_DCU: disabled
    .... SGX_FEATURE_MP: disabled
    .... SGX_FEATURE_MP_CORE_COUNT: 1
    .... SGX_FEATURE_SYSTEM_CACHE: disabled
    .... SGX_SUPPORT_HWPROFILING: disabled
    .... SUPPORT_ACTIVE_POWER_MANAGEMENT: disabled
    .... SUPPORT_DISPLAYCONTROLLER_TILING: disabled
    .... SUPPORT_PERCONTEXT_PB: enabled
    .... SUPPORT_SGX_HWPERF: enabled
    .... SUPPORT_SGX_MMU_DUMMY_PAGE: disabled
    .... SUPPORT_SGX_PRIORITY_SCHEDULING: enabled
    .... USE_SUPPORT_NO_TA3D_OVERLAP: disabled
    Display Class API: unmap display surface from SGX
    OK
    Attempt to destroy memory context for SGX:
    OK
    Display Class API: close the device
    OK
    SGXReleaseClientInfo:
    OK
    PVRSRVDisconnect:
    OK
    ---------------------End loop 1---------------------

    root@am335x-evm:~# sgx_clipblit_test -dw 1000 -dh 700
    ----------------- SGX CLipBlit test -----------------
    ---------------------- Start ------------------------
    Dest surface width[ 1985.142578] Unhandled fault: imprecise external abort (0xc06) at 0x4023d140
    : 1000
    Dest surface height: 700
    Call PVRSRVConnect with a valid argument:
    OK
    Get number of devices from PVRSRVEnumerateDevices:
    OK
    .... Reported 1 devices
    .... Device Number | Device[ 1985.167022] Unhandled fault: imprecise external abort (0xc06) at 0xbeac69a8
    Type
    0000 | PVRSRV_DEVICE_ID_SGX
    Attempt to acquire device 0:
    OK
    Getting SGX Client info
    OK
    .... ui32ProcessID:1977
    Display Class API: enumerate devices
    OK
    PVRSRVEnumerateDeviceClass() returns 1 display device(s)
    OK
    Display Class API: open device
    OK
    Display Class API: Get display info
    OK
    .... Name:
    .... MaxSwapChains:0
    .... MaxSwapChainBuffers:0
    .... MinSwapInterval:0
    .... MaxSwapInterval:0
    Display Class API: enumerate display formats
    OK
    OK
    .... Display format 0 - Pixelformat:20
    Display Class API: enumerate display dimensions
    OK
    OK
    .... Display dimensions 0 - ByteStride:0 Width:0 Height:0
    Attempt to create memory context for SGX:
    OK
    .... Shared heap 0 - HeapID:0x7000000 DevVAddr:0x1000 Size:0x87fe000 Attr:0x2014200
    .... Shared heap 1 - HeapID:0x7000001 DevVAddr:0xc800000 Size:0xfff000 Attr:0x2024200
    .... Shared heap 2 - HeapID:0x7000002 DevVAddr:0xe400000 Size:0x7f000 Attr:0x2024200
    .... Shared heap 3 - HeapID:0x7000003 DevVAddr:0xf000000 Size:0x3ff000 Attr:0x2024200
    .... Shared heap 4 - HeapID:0x7000004 DevVAddr:0xf400000 Size:0x4ff000 Attr:0x2014200
    .... Shared heap 5 - HeapID:0x7000005 DevVAddr:0xfc00000 Size:0x1ff000 Attr:0x2014200
    .... Shared heap 6 - HeapID:0x7000006 DevVAddr:0xdc00000 Size:0x7ff000 Attr:0x2014200
    .... Shared heap 7 - HeapID:0x7000007 DevVAddr:0xe800000 Size:0x7ff000 Attr:0x2014200
    .... Shared heap 8 - HeapID:0x7000008 DevVAddr:0xd800000 Size:0x3ff000 Attr:0x2024200
    .... Shared heap 9 - HeapID:0x7000009 DevVAddr:0x8800000 Size:0x0 Attr:0x2024200
    .... Shared heap 10 - HeapID:0x700000a DevVAddr:0x8800000 Size:0x3fff000 Attr:0x2014200
    Display Class API: get the system (primary) buffer
    OK
    Display Class API: map display surface to SGX
    OK
    Attempt to create transfer context for SGX:
    OK
    Primary is thinner than the specified width. Clamping.
    Primary is lower than the specified height. Clamping.

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

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

    Arago 2013.02 am335x-evm ttyO0

    root@am335x-evm:~# sgx_render_flip_test -nf
    Flipping: DISABLED
    ----------------------- Start -----------------------
    Render width must be at least 32 pixels
    Aborted


    Please guide me here..

    Thanks & Regards

    Satya, 


  • Hi Sathya,

    There is a problem with the build command you have used .

    Please remove FBDEV=no from your build command line.

    Also please note that when you are building with SUPPORT_XORG=1, its for X11. If you do not need X11 support, then you need not pass this in command line.

    Thanks,

    Prathap.

  • Thank you Prathap for ur replay.

    It was working with FBDEV=yes  SUPPORT_XORG=1, am able to run evilskull / chamelionman and all. But i was searching for user-mode source code inside DDK like kernel-mode. But i find only binaries. Is it proprietary ?

    Regrads

    Satya  

  • Hi Prathap

    Here am surrounded by more number of doubts. Need your guidance. Am porting kernel mode Graphics_SDK_4_08_00_02 omap4430_linux  platform into generix SGX-1.9 DDK. But i have a confusion between  dc_omapfb3_linux  &  dc_ti335x_linux  under  services4/3rdparty/. Are these two platform directories dependent or they are quite independent ?

    If they are independent, can i block dc_omapfb3_linux , when am porting dc_ti335x_linux. ?

    If i will say   Graphics_SDK_4_08_00_02/GFX_LINUX_KM/  build-tree is bottom-top approach, then am following generic top-bottom approach, when am porting. So for that am reusing the omap4430_linux/Makefile. so here my doubt is, is there any sort of modification required in Makefile when am reusing that. ?

    Satyaprakash.

       

  • Hi Sathya,

    Glad to know you are able to get the graphics demos running on your setup.

    Yes user mode source is propreitary.

    Thanks,

    Prathap.

  • Hi Prathap

    Here am surrounded by more number of doubts. Need your guidance. Am porting kernel mode Graphics_SDK_4_08_00_02 omap4430_linux  platform into generic SGX-1.9 DDK. But i have a confusion between  dc_omapfb3_linux  &  dc_ti335x_linux  under  services4/3rdparty/. Are these two platform directories dependent or they are quite independent ?

    If they are independent, can i block dc_omapfb3_linux , when am porting dc_ti335x_linux. ?

    If i will say   Graphics_SDK_4_08_00_02/GFX_LINUX_KM/  build-tree is bottom-top approach, then am following generic top-bottom approach, when am porting. So for that am reusing the omap4430_linux/Makefile. so here my doubt is, is there any sort of modification required in Makefile when am reusing that. ?

    Satyaprakash.

  • Hi SathyaPrakash,

    dc_ti335x_linux is the folder having display class driver sources for AM335x. This has code to interface with the lcdc frame buffer driver for AM335x.

    dc_omapfb3_linux is the folder with display class driver sources for AM35xx/37xx devices. This has code to interface with the frame buffer/DSS driver for AM35xx/37xx devices.

    The release notes specifies the list of supported/validated devices with kernel used for validation -

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

    Thanks,

    Prathap.

  • Prathap

    Thanks for your valuable input. Can u suggest me little more on platform specific things. As i told am creating omap4430_linux platform under  eurasia_km/eurasiacon/build/linux2 keeping Graphics_SDK_4_08_00_02 reference. I made a diff between above TI-DDK  & and my imagination DDK and added ti335x platform specific things from TI-DDK to my DDK &  copied   omap4430_linux/Makefile  to eurasia_km/eurasiacon/build/linux2/ .  Below variable modification and path modification i did to build the tree for ti335x.

    Variables Modified

    PVR_SYSTEM := ti335x

    DISPLAY_CONTROLLER_COMPONENT += dc_ti335x_linux

    XORG_PVR_CONF := ti335x

    XORG_PVR_VIDEO := ti335x

    Path Modified

    eurasia_km/services4/3rdparty/dc_ti335x_linux/Linux.mk & Kbuild.mk

    After all above modification the tree started building for ti335x but failing in between,below is the logs.  am not able to trace which configuration/makefile file responsible for the failure. But am to build nohw_linux.

    root@igx-20:/usr/local/diff/eurasia_km/eurasiacon/build/linux2/omap4430_linux# make SGXCORE=530
    ../config/core.mk:285: Setting SGX_DISABLE_VISTEST_SUPPORT=1 because PVRSRV_USSE_EDM_STATUS_DEBUG=1
    LD /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/built-in.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/3rdparty/bufferclass_example/bufferclass_example.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/3rdparty/bufferclass_example/bufferclass_example_linux.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/3rdparty/bufferclass_example/bufferclass_example_private.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mutils.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mmap.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/module.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pdump.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/proc.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pvr_bridge_k.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/pvr_debug.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mm.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/mutex.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/event.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/env/linux/osperproc.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/buffer_manager.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/devicemem.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/deviceclass.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/handle.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/hash.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/lists.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/mem.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/mem_debug.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/metrics.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/osfunc_common.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/pdump_common.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/perproc.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/power.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/pvrsrv.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/queue.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/ra.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/refcount.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/common/resman.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/bridged/bridged_support.o
    CC [M] /usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/srvkm/bridged/bridged_pvr_bridge.o
    make[3]: *** No rule to make target `/usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/system/ti335x', needed by `/usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/pvrsrvkm.o'. Stop.
    make[2]: *** [_module_/usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild] Error 2
    make[1]: *** [kbuild] Error 2
    make: *** [build] Error 2

     Please help.

    Regards                                                                                                                                                                                                      Satyaprakash

  • Hi SathyaPrakash,

    We require few clarifications in order to provide right set of suggestions for you -

    1.You are using AM335x & started with 04.08.00.02 graphics SDK release & got it working.

    2.Now you are tring to port the Imagination 1.9 DDK  for AM335x. Can we understand what is the purpose here as Graphics SDK 04.08.00.02 release you are using already has the porting done & supports AM335x with 1.9 DDK.

    3.If you still want to port the IMG 1.9 DDK, please refer to the graphics SDK release.

    The above error indicates you do not have AM335x system folder. You can get this from the graphics SDK release - GFX_Linux_KM/services4/system/ti335x & copy it under the system folder of the DDK release you are using.

    Also you need to make sure to pass SGX_CORE_REV=125.

    Thanks,

    Prathap.

  • Parthap

    I have already copied ti335x directory manually from TI DDK to imagination DDK under  eurasia_km/services4/system/ and DDK failing to locate. Am referring "nohw_linux" platform Makefile and here PVR_SYSTEM is set to "sgx_nohw" and the DDK is able to locate that path and duplicating it under eurasia_km/eurasiacon/binary2_nohw_linux_release/target/kbuild/ . In ti335x case DDK is able to locate the path , because DDK is duplicating, 3rdparty/bufferclass_example &  srvkm/bridged  & srvkm/common & srvkm/env/linux/   under  eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/  but it is failing  to duplicate system/ti335x under it. In omap4430_linux Makefile PVR_SYSTEM is set to ti335x.

    Am not able to trace here what causing my build fail half way.

    2.Now you are tring to port the Imagination 1.9 DDK  for AM335x. Can we understand what is the purpose here as Graphics SDK 04.08.00.02 release you are using already has the porting done & supports AM335x with 1.9 DDK.

    My next project is based on porting work so i need the whole imagination DDK , user & kernel mode driver source code.

    Thanks!

  • Satyaprakash,

    As i understand you want to port Imagination DDK by referring to TI graphics SDK.

    An easier method for quick testing purpose would be not to change any build directories. Use them as is but ensure of following things -

    1.The omap4430 makefile is updated for SGX530 & SGX Core revision 1.2.5.

    2.The system folder name can still be the default (as present in Imagination DDK by default), but ensure to replace the files under this with ti335x system files.

    3.Similarly the display class driver folder name can be same/default as in Imagination DDK, but ensure to replace files under that with ti335x files.

    In KM porting, only 2 things are device dependant - system folder & display class folder.  For testing purpose, you need not create new directories but just replace the files in your Imagination DDK with relevant 335x files by referring to TI graphics SDK release.

    Thanks,

    Prathap.

     

  • Prathap,

    I think some confusion is there, here am making it clear.

    Imagination Graphics DDK(1.9.RC2@2139099) is not having support for ti335x platform  but  TI Graphics DDK(4_08_00_02)  supports ti335x. So here my aim is to create ti335x platform inside Imagination DDK. And for that am porting ti335x platform from TI Graphics DDK to Imagination DDK.

    I know here one question will arise, what is the need for that, when we have already drivers available in TI DDK. ? 

    Well that is my work for my upcoming project, i need whole "usermode and kernelmode" graphics source code made for AM335x. Here i can say thanks to TI for kernelmode AM335x source code, at-least i can port them. But for usermode code , i have write those for AM335x. 

    I think above explanation clears all confusion.

    So here TI Graphics DDK follows different build approach. i can say Top to Bottom approach. But imagination Source Tree follows conventional Bottom -Top approach, that means in imagination tree we have to enter into the platform directory to build the tree. For Ex : eurasia_km/eurasiacon/build/linux2/platform/ .

    So here if am porting ti335x platform files, 1st i need a platform Makefile which i can use in Imagination DDK and i got one Makefile in TI DDK  under  GFX_LINUX_KM/eurasiacon/build/linux2/omap4430_linux/ . And am using that in Imagination DDK to build ti335x at the time of porting. And as i described in my prev post, what sort of modification i did. And the Makefile started performing as expected,  i can say that by comparing nohw_linux platform build logs to this build logs. But build is failing half-way. when it is trying to duplicate system/ti335x/  under     eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/services4/.

    Am unable to trace which configuration is responsible for the failure. Here today one thing i traced, imagination DDK build is following exactly similar path mentioned in "Kbuild.mk" at  eurasia_km/services4/srvkm/env/linux/

    Here in Kbuild.mk when it is coming to below two lines it is not able to find PVR_SYSTEM. That causes build failure.

    services4/system/$(PVR_SYSTEM)/sysconfig.o \
    services4/system/$(PVR_SYSTEM)/sysutils.o

    But am not sure yet , the cause. If am commenting above two lines rest of the build follows smoothly. And pvrsrvkm.ko & bc_example.ko is generating under eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/.   

    Can please help here in locating the missing thread. So that i can build the DDK completely.

    Thanks!

  • Hi SathyaPrakash,

    Please find below inputs for the points mentioned by you -

    Here i can say thanks to TI for kernelmode AM335x source code, at-least i can port them. But for usermode code , i have write those for AM335x

    - The porting is on the kernel module driver only. The user mode libraries need to be just built for the right SGX hardware. For AM335x it is SGX 530 Core 1.2.5 version.

    Also for testing purpose, you can replace PVR_SYSYEM with ti335x since you are working on AM335x. Its just the name of the system folder & specifying this rightly will make the build go through.

    Thanks,

    Prathap.

     

  • Hello Prathap

    Now am able to build pvrsrvkm.ko for AM335x ,but as u suggested to give correct PVR_SYSTEM (ti335x) in makefile, that am doing from the beginning. But not worked.

    Yes by replacing PVR_SYTEM with ti335x in below lines in  "Kbuild.mk" at  eurasia_km/services4/srvkm/env/linux/   worked for me.

    services4/system/$(PVR_SYSTEM)/sysconfig.o \
    services4/system/$(PVR_SYSTEM)/sysutils.o

    Anyway am able to build pvrsrvkm.ko. with some drm warnings.

    But another thing is that am building two modules named pvrsrvkm.ko & bc_exapmle.ko. bc_example.ko is belongs to bufferclass_example. So in this case is bc_example.ko useful for me ?

    When i replaced KERNEL_COMPONENT with bufferclass_ti in place of bufferclass_example am able to build bufferclass_ti, this i feel more suitable for AM335x. is it correct ?

    And in TI DDK if am not selecting XORG am coping drm specific sources from KERNELDIR/driver/gpu/drm to linux_drm directory and building them to get drm.ko else omaplfb.ko. But here am not getting any of them , but yes am building dc_ti335x_linux .

    Here can i go without omaplfb.ko assuming it is included in pvrsrvkm.ko. or i have to do some sort of modification to bring drm sources in and build them .

    Please give some insight here.

    Thanks! 

  • Hi SathyaPrakash,

    pvrsrvkm.ko & omaplfb.ko are enough to get the OpenGLES 1.1, 2.0 apps running. omaplfb is for interfacing with frame buffer driver for display & it is not part of pvrsrvkm.

    Also if you do not want xorg support, you can execute the below command before the build -

    export EXCLUDED_APIS="xorg"

    This will give a non-Xorg build.

    Thanks,

    Prathap.

  • Prathap

    Its my goodness and thanks to you that am talking to you online.

    1. ) So at present am building pvrsrvkm.ko with some undefined drm symbol , can i ignore them , these are the symbols below.

    WARNING: "SysDRMRegisterPlugin" [/usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/pvrsrvkm.ko] undefined!
    WARNING: "drm_mmap" [/usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/pvrsrvkm.ko] undefined!
    WARNING: "SysDRMUnregisterPlugin" [/usr/local/diff/eurasia_km/eurasiacon/binary2_omap4430_linux_release/target/kbuild/pvrsrvkm.ko] undefined!

    2. ) Another module i have bufferclass_ti.ko , i assume this module is not much important. ?

    3. )Now am not able to create omalfb.ko even after building dc_ti335x_linux , that i need to figure out. 

    4. )If, i dont have drm.ko its fine i assume. I have a feeling that  XORG is depends on drm.ko . Then what is the significance of drm module in TI DDK ?

    5. )If am building pvrsrvkm.ko & omaplfb.ko without XORG , so can i run OpenGLES 1.1, 2.0 3D apps ? 

    Thanks!   

  • Hi SathyaPrakash,

    If you wan to run OpenGL ES 1.1, 2.0 3D apps, building pvrsrvkm.ko, omaplfb.ko is sufficient.

    For Imagination DDK, before build you need to set the environment variable -

    export EXCLUDED_APIS="xorg".

    Then this will not build the Xorg driver.

    Thanks,

    Prathap.

  • Prathap

    Thanks for your valuable input.

    By setting the environment variable am able to resolve all drm related warnings. Now i have pvrsrvkm.ko & omaplfb.ko both the modules.

    But when am doing independent insmod to both the modules pvrsrvkm.ko loads fine but at the time of loading omaplfb.ko it loads but with some dmesg dump. Do u have any idea why below dmesg dump is coming. ?

    [ 539.310455] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [ 539.319000] pgd = ce230000
    [ 539.321838] [00000000] *pgd=8f3eb831, *pte=00000000, *ppte=00000000
    [ 539.328399] Internal error: Oops: 17 [#1]
    [ 539.332580] Modules linked in: omaplfb(O+) pvrsrvkm(O) g_mass_storage wl12xx_sdio(O)
    [ 539.340698] CPU: 0 Tainted: G W O (3.2.0 #1)
    [ 539.346343] PC is at AllocateDeviceID+0xc/0x74 [pvrsrvkm]
    [ 539.351989] LR is at PVRSRVRegisterDCDeviceKM+0x154/0x190 [pvrsrvkm]
    [ 539.358612] pc : [<bf022104>] lr : [<bf01da80>] psr: 40000013
    [ 539.358612] sp : ce263df8 ip : ce263e08 fp : ce263e04
    [ 539.370605] r10: bf06a3bc r9 : bf06a1a8 r8 : bf06a000
    [ 539.376037] r7 : 00000000 r6 : cf770c04 r5 : 00000000 r4 : cf770c7c
    [ 539.382843] r3 : ce2cd080 r2 : ce2cd080 r1 : ce2cd088 r0 : 00000000
    [ 539.389648] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 539.397094] Control: 10c5387d Table: 8e230019 DAC: 00000015
    [ 539.403106] Process insmod (pid: 1548, stack limit = 0xce2622f0)
    [ 539.409362] Stack: (0xce263df8 to 0xce264000)
    [ 539.413909] 3de0: ce263e2c ce263e08
    [ 539.422454] 3e00: bf01da80 bf022104 ce2cd080 ce256500 cf770c00 bf06c028 bf06a058 bf06a014
    [ 539.430969] 3e20: ce263e84 ce263e30 bf06ad30 bf01d938 bf06a374 bf06a1f8 bf06a298 bf06a1e4
    [ 539.439514] 3e40: bf06a1d0 bf06a1bc c01d9e08 cf050740 bf06bf3c ce02bc80 00000000 c0650000
    [ 539.448059] 3e60: bf06bef4 ce262000 00000000 ce256580 000007dd bf06e000 ce263e94 ce263e88
    [ 539.456604] 3e80: bf06e010 bf06a994 ce263eec ce263e98 c000876c bf06e00c ce263ebc ce263ea8
    [ 539.465118] 3ea0: 00000002 00000005 ce252400 00000000 ce263edc ce263ec0 bf06bf3c bf06bef4
    [ 539.473663] 3ec0: 0000001c bf06bf3c bf06bef4 0000001c 00000001 ce256580 000007dd 00000001
    [ 539.482208] 3ee0: ce263fa4 ce263ef0 c006ded0 c000873c bf06bf00 00004965 ce263fac 00000000
    [ 539.490722] 3f00: 4bd29668 d096877c d096877c 000000c0 00000000 bf06bef4 00000001 d0966000
    [ 539.499267] 3f20: 00004965 d09689a0 d09688b1 d096a188 ce2cd080 00002030 00002510 00000000
    [ 539.507781] 3f40: 00000000 00000017 00000018 0000000f 0000000d 0000000c 00000000 00000000
    [ 539.516326] 3f60: 00000000 00000000 00000000 00000000 00000000 c058c4e8 00000002 bee8bc3c
    [ 539.524871] 3f80: 00000000 00021d80 00000080 c0014428 ce262000 00000000 00000000 ce263fa8
    [ 539.533386] 3fa0: c0014280 c006dde4 bee8bc3c 00000000 400d3000 00004965 4bd29668 400d3000
    [ 539.541931] 3fc0: bee8bc3c 00000000 00021d80 00000080 4bd29668 00021088 00004965 00000000
    [ 539.550476] 3fe0: 00000000 bee8bbec 4bd20a88 4bcae684 60000010 400d3000 e593c008 e5934000
    [ 539.558990] Backtrace:
    [ 539.561584] [<bf0220f8>] (AllocateDeviceID+0x0/0x74 [pvrsrvkm]) from [<bf01da80>] (PVRSRVRegisterDCDeviceKM+0x154/0x190 [pvrsrvkm])
    [ 539.573974] [<bf01d92c>] (PVRSRVRegisterDCDeviceKM+0x0/0x190 [pvrsrvkm]) from [<bf06ad30>] (OMAPLFBInit+0x3a8/0x598 [omaplfb])
    [ 539.585845] r7:bf06a014 r6:bf06a058 r5:bf06c028 r4:cf770c00
    [ 539.591796] [<bf06a988>] (OMAPLFBInit+0x0/0x598 [omaplfb]) from [<bf06e010>] (OMAPLFB_Init+0x10/0x34 [omaplfb])
    [ 539.602325] [<bf06e000>] (OMAPLFB_Init+0x0/0x34 [omaplfb]) from [<c000876c>] (do_one_initcall+0x3c/0x180)
    [ 539.612335] [<c0008730>] (do_one_initcall+0x0/0x180) from [<c006ded0>] (sys_init_module+0xf8/0x1ac8)
    [ 539.621887] [<c006ddd8>] (sys_init_module+0x0/0x1ac8) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
    [ 539.631317] Code: e89da830 e1a0c00d e92dd800 e24cb004 (e590c000)
    [ 539.637725] ---[ end trace ecbc3187177fa47d ]---

    Thnaks!

     

  • Hi SathyaPrakash,

    Can you provide the kernel version/details of the kernel against which you are building?

    You need to ensure SGX clocks are enabled. Are you using the system & display class driver folders as is from TI graphics SDK release in Imagination DDK? If not have you taken care of integrating all the required changes in system(system/ti335x) & display class driver(dc_ti335x_linux) sources by referring to  TI graphics SDK release?

    Thanks,

    Prathap.

  • Prathap

    Am using kernel-3.2.0 available at ti-sdk-am335x-evm-05.07.00.00-Linux-x86-Install.

    You need to ensure SGX clocks are enabled.

    Am new to this, am not sure how to verify SGX clocks are enabled or not ?

    Are you using the system & display class driver folders as is from TI graphics SDK release in Imagination DDK?

    Yes am using them as is from Ti graphics SDK.

    But am using omap4430_linux platform Makefile to build them. And i renamed some variables in it in order to build  ti335x system & display class driver. Here i have attached my Makefile. Please have a look.

    Another observation i have ,Imagination build (pvrsrvkm.ko & omaplfb.ko) is have less size than TI graphics SDK build (pvrsrvkm.ko & omaplfb.ko). Then i compared both the kernel mode build logs. I found they are same.  

    Thanks!

     

  • SathyaPrakash,

    There are some issues with your Makefile -

    SGXCORE := 540

    SGX_CORE_REV := 120

    The above should be SGX 530 & 125. If you are taking care of passing this in command line, then OK.

    Other thing - PVR_OMAPLFB_DRM_FB ?= 0 not 1.

    Also i see -

    KERNEL_COMPONENTS := srvkm bufferclass_ti dc_omapfb3_linux

    Hope you have replaced the files under dc_omapfb3_linux with files from dc_ti335x_linux folder of graphics SDK release. Also its not just replacing there will be a macro FBDEV_PRESENT, ensure its defined. If you are using TI graphics SDK, all the required things get automatically set/enabled or defined for you. But since you are using IMG DDK, you need to take care of this now.

    You can refer to top level Makefile.KM, GFX_Linux_KM/Makefile, GFX_Linux_KM/KBuild, dc_ti335x_linux/Kbuild of TI graphics SDK release & ensure that you define/enable the flags accordingly.

    Thanks,

    Prathap.

     

  • Prathap

    Thanks for your valuable guidance, am doing the same as you said.

    Am defining the macros in  eurasia_km/eurasiacon/build/linux2/config/core.mk  file exactly same as it is defined in TI DDK  GFX_Linux_KM/Makefile. But i find some of the macros are already defined.

    For Example:

    $(eval $(call TunableBothConfigC,SGXCORE,))
    $(eval $(call BothConfigC,SGX$(SGXCORE),))
    $(eval $(call BothConfigC,SUPPORT_SGX$(SGXCORE),))

    $(eval $(call TunableBothConfigC,SUPPORT_SGX,1)) 
    $(eval $(call TunableBothConfigC,SGX_CORE_REV,))
    $(eval $(call TunableBothConfigC,USE_SGX_CORE_REV_HEAD,)

    And above commands writing macros at config_kernel.h & config_kernel.mk, this i can understand. But when am folowing TI DDK tree GFX_Linux_KM/Makefile here the macros were defined with CFLAGS.

    For Example:

    SYS_CFLAGS.$(SUPPORT_SGX) += -DSUPPORT_SGX
    SYS_CFLAGS.$(SUPPORT_HW_RECOVERY) += -DSUPPORT_HW_RECOVERY
    SYS_CFLAGS.$(SUPPORT_SGX_HWPERF) += -DSUPPORT_SGX_HWPERF
    SYS_CFLAGS.$(SUPPORT_TI_PM) += -DSUPPORT_TI_PM
    SYS_CFLAGS.$(PVR2D_ALT_2DHW) += -DPVR2D_ALT_2DHW
    SYS_CFLAGS.$(LDM_PLATFORM) += -DLDM_PLATFORM

    So here , i can say those macros are already defined in Imagination DDK , i will keep them as it is . But those are not defined , i have to define them , as those are defined in TI DDK. 

    But am confused which one is the exact file to define them. I tried to define in top platform makefile , i find build tree is not including those.

    Do u have any idea ??

    Thanks! 

  • Prathap

    Even after defining macros in imagination way , i got no difference in pvrsrvkm.ko size , it still same,

    Am confused what wrong am doing.

    Thanks!