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.

Graphics_SDK_4_05_00_03 install failed

hello everyone !

 I have a problem of install Graphics_SDK_4_05_00_03 somebody can help me . thank you.

environment:

        DVRRDK_01.06.00.11

         linux-psp-dvr-04.00.00.12

         syslink_2_00_03_82

         HDVPSS_01_00_01_28

         hardware:EVM8168 board

the problem is like this:

 I have fellow this guide to build install guide Graphics_SDK_4_05_00_03.(http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#Debugging_SGX_Issues)

make BUILD=release OMAPES=6.x SUPPORT_XORG=0 all

make BUILD=release OMAPES=6.x SUPPORT_XORG=0 install

/etc/init.d/38xx-demo

after do this everything looks like ok.

then  

make BUILD=release OMAPES=6.x SUPPORT_XORG=1 all

make BUILD=release OMAPES=6.x SUPPORT_XORG=1 install

/etc/init.d/38xx-demo

the problem have occur .the message as following:

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.35-30-generic-pae i686
Current Operating System: Linux dvr 2.6.37 #113 Tue Apr 3 07:05:23 EDT 2012 armv7l
Kernel command line: mem=128M console=ttyO2,115200n8 root=/dev/nfs rw rootfstype=jffs2 nfsroot=192.168.8.99:/home/selfworkdir/filesys_01_06/rfs ip=192.168.8.189:192.168.8.1:192.168.8.254:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBFD00000
Build Date: 28 September 2011 11:37:44PM

Current version of pixman: 0.16.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: Thu Aug 13 09:46:06 2020
(++) Using config file: "/usr/local/XSGX/etc/xorg.conf"
(==) No Layout section. Using the first Screen section.
(**) |-->Screen "Screen" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Video Device"
(==) No monitor specified for screen "Screen".
Using a default monitor configuration.
(==) 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"
(==) |-->Input Device "Main Touch Screen"
(==) |-->Input Device "Keyboard"
(==) No Layout section. Using the first core pointer device.
(==) No Layout section. Using the first core keyboard device.
(II) Loader magic: 0x1a48a0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 2

(II) LoadModule: "extmod"
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "pvr"
(II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
(II) Module PVR: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 1.6.4117
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "evdev"
(II) Loading /usr/local/XSGX/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.7.5, module version = 2.3.3
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(II) pvr: Driver for PowerVR chipsets: PowerVR SGX
(WW) Falling back to old probe method for pvr
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card15
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
(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.
somebody can help me ? where is wrong?

THS

  • Hi,

    Did you do a depmod -a and run the 38xx-demo script again?

    Please refer to the below link -

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

    Please make sure you match the steps/output expected as shown in above link.

    Thanks,

    Prathap.

  • Thank You very much!

     As you said . the initialize DM8168 is OK. But we doing as following that Guide the error has  occur.

       #dmesg | grep -i drm

    #export LD_LIBRARY_PATH=/usr/local/XSGX/lib
    #export DISPLAY=:0
    #./xgles1test1 -f 1000
    
    
    error occur:
    
    
    ./xgles1test1: /lib/libc.so.6: version `GLIBC_2.10' not found (required by ./xgles1test1)
    root@dvr:/opt/gfxlibraries/gfx_rel_es6.x# (EE) pvr(0): PVRDisplayCommandNoArgs: drmCommandWrite failed (-22)
    (EE) pvr(0): PVRDisplayPowerManagementSet: PVRDisplayCommandNoArgs failed (-22)
    
    
    So I doing next app as  guide said
    #./glxgears
    the message output looks like this:
    298 frames in 5.0 seconds = 59.569 FPS
    298 frames in 5.0 seconds = 59.546 FPS
    298 frames in 5.0 seconds = 59.506 FPS
    298 frames in 5.0 seconds = 59.538 FPS
    298 frames in 5.0 seconds = 59.525 FPS
    298 frames in 5.0 seconds = 59.498 FPS
    298 frames in 5.0 seconds = 59.514 FPS
    298 frames in 5.0 seconds = 59.554 FPS
    298 frames in 5.0 seconds = 59.506 FPS
    298 frames in 5.0 seconds = 59.513 FPS
    298 frames in 5.0 seconds = 59.547 FPS
    298 frames in 5.0 seconds = 59.521 FPS
    298 frames in 5.0 seconds = 59.505 FPS
    (EE) pvr(0): PVRDisplayCommandNoArgs: drmCommandWrite failed (-22)
    (EE) pvr(0): PVRDisplayPowerManagementSet: PVRDisplayCommandNoArgs failed (-22)
    297 frames in 5.0 seconds = 59.273 FPS
    297 frames in 5.0 seconds = 59.270 FPS
    297 frames in 5.0 seconds = 59.266 FPS
    297 frames in 5.0 seconds = 59.254 FPS
    297 frames in 5.0 seconds = 59.278 FPS
    297 frames in 5.0 seconds = 59.269 FPS
    297 frames in 5.0 seconds = 59.291 FPS
    297 frames in 5.0 seconds = 59.303 FPS
    297 frames in 5.0 seconds = 59.370 FPS
    297 frames in 5.0 seconds = 59.324 FPS
    297 frames in 5.0 seconds = 59.310 FPS
    297 frames in 5.0 seconds = 59.254 FPS
    297 frames in 5.0 seconds = 59.267 FPS
    297 frames in 5.0 seconds = 59.264 FPS
    297 frames in 5.0 seconds = 59.276 FPS
    297 frames in 5.0 seconds = 59.225 FPS
    294 frames in 5.0 seconds = 58.780 FPS
    276 frames in 5.0 seconds = 55.172 FPS
    277 frames in 5.0 seconds = 55.390 FPS
    286 frames in 5.0 seconds = 57.087 FPS
    288 frames in 5.0 seconds = 57.491 FPS
    
    
    So somebody can help me! Thank You !
  • Hi,

    Good to see that you have got the Xorg driver running now.

    If you are able to see the display fine with glxgears, then its fine.

    The error related to xgles1test1 is file system specific.  The xgles1test1 was built with arago GCC 4.5 toolchain and since its a prebuilt binary you are running, it checks for the glibc version. The glibc version of the library on your file system is not the same with which the xgles1test1 was built. So you are getting the error as expected.

    You can run demos as well  if you have built with all option in build and did an install. The demos will be under /opt/gfxsdkdemos/ogles2.

    For the error -

    (EE) pvr(0): PVRDisplayCommandNoArgs: drmCommandWrite failed (-22).

    This is beacuse Xorg is trying to blank the screen(display) which has been already blanked by display driver.

    To get rid of this, modify xorg.conf as mentioned below-

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

    Thanks,

    Prathap.


     

     

  • HI Prathap Srinivas Thank You very much

    As follow that guide. The error is not occur.    

    But I have a another problem. 

    I reboot my DM8168 board after run #./glxgears succeed. The CPU can not mount NFS success.It is hang up. 

    The message output as following:(reboot board use "reboot" cmd in filesystem)


    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37 (root@localhost.localdomain) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #113 Tue Apr 3 07:05:23 EDT 2012
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8168evm
    vram size = 20971520 at 0
    reserved size = 20971520 at 0
    FB: Reserving 20971520 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 1.1
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 27392
    Kernel command line: mem=128M console=ttyO2,115200n8 root=/dev/nfs rw rootfstype=jffs2 nfsroot=192.168.8.99:/home/selfworkdir/filesys_01_06/rfs ip=192.168.8.189:192.168.8.1:192.168.8.254:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBFD00000
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 108MB = 108MB total
    Memory: 104224k/104224k available, 26848k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB)
    lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
    modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    .init : 0xc0008000 - 0xc0038000 ( 192 kB)
    .text : 0xc0038000 - 0xc0498000 (4480 kB)
    .data : 0xc0498000 - 0xc04dec40 ( 284 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 27000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy:
    NET: Registered protocol family 16
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 0
    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    3-wired eeprom init done. (H/W ver:00)
    _omap_mux_get_by_name: Could not find signal mmc_pow
    _omap_mux_get_by_name: Could not find signal mmc_clk
    _omap_mux_get_by_name: Could not find signal mmc_cmd
    _omap_mux_get_by_name: Could not find signal mmc_dat0
    _omap_mux_get_by_name: Could not find signal mmc_dat1_sdirq
    _omap_mux_get_by_name: Could not find signal mmc_dat2_sdrw
    _omap_mux_get_by_name: Could not find signal mmc_dat3
    _omap_mux_get_by_name: Could not find signal mmc_sdcd
    _omap_mux_get_by_name: Could not find signal mmc_sdwp
    registered ti816x_vpss device
    registered TI816x on-chip HDMI device
    registered ti816x_sr device
    pm_dbg_init: only OMAP3 supported
    Registered ti81xx_fb device
    ti816x_pcie: Invoking PCI BIOS...
    ti816x_pcie: Setting up Host Controller...
    ti816x_pcie: Register base mapped @0xc8820000
    ti816x_pcie: Starting PCI scan...
    PCI: bus0: Fast back to back transfers enabled
    bio: create slab <bio-0> at 0
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    musb-hdrc: kernel must blacklist external hubs
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at c880c000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    musb-hdrc: kernel must blacklist external hubs
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at c881e800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
    msgmni has been set to 203
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    CIR device registered successfully (Major = 253, Minor = 0)res->start = 0x48022000,cir_res_len = 8192
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    console [ttyO2] enabled
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x3
    ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci_platform
    scsi1 : ahci_platform
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    omap2-nand driver initializing
    ONFI flash detected
    ONFI param page 0 valid
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,3V 16-bit)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000240000 : "U-Boot"
    0x000000240000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x0000006c0000 : "Kernel"
    0x0000006c0000-0x0000106c0000 : "File System"
    mtd: partition "File System" extends beyond the end of device "omap2-nand.0" -- size truncated to 0xf940000
    0x000010000000-0x000010000000 : "Reserved"
    mtd: partition "Reserved" is out of reach -- disabled
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffff9
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    rtc-pcf8563 1-0051: chip found, driver version 0.4.3
    rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usb 2-1: new low speed USB device using musb-hdrc and address 2
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbfd00000
    usbcore: registered new interface driver snd-usb-audio

    File soc-core.c line#963 1
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok

    File soc-core.c line#963 1
    asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping ok
    ALSA device list:
    #0: TI8168 DVR (AIC3x)
    #1: TI81XX DVR {TVP5158}
    TCP cubic registered
    NET: Registered protocol family 17
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    smartreflex smartreflex: Driver initialized
    davinci_emac_probe: using random MAC addr: b2:6f:59:05:e2:aa
    davinci_emac_probe: using random MAC addr: 5a:63:d1:d5:48:33
    rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
    rtc-pcf8563 1-0051: setting system clock to 2020-08-14 08:13:54 UTC (1597392834)
    ata2: SATA link down (SStatus 0 SControl 300)
    ata1: SATA link down (SStatus 0 SControl 300)
    usb 2-1: New USB device found, idVendor=04f3, idProduct=0232
    usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    usb 2-1: Product: OM
    generic-usb 0003:04F3:0232.0001: input: USB HID v1.11 Mouse [OM] on usb-musb-hdrc.1-1/input0
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f014)
    IP-Config: Complete:
    device=eth0, addr=192.168.8.189, mask=255.255.255.0, gw=192.168.8.254,
    host=192.168.8.189, domain=, nis-domain=(none),
    bootserver=192.168.8.1, rootserver=192.168.8.99, rootpath=
    PHY: 0:01 - Link is Up - 100/Full
    VFS: Mounted root (nfs filesystem) on device 0:14.
    devtmpfs: mounted
    Freeing init memory: 192K
    INIT: version 2.86 booting
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    udevd (74): /proc/74/oom_adj is deprecated, please use /proc/74/oom_score_adj instead.
    udev: starting version 141
    Root filesystem already rw, not remounting
    Caching udev devnodes
    Populating dev cache
    
    
    stopped here.......
    
    
    next step:
    Then I power off 8168 board and power on. The error message has occur:
    Freeing init memory: 192K
    INIT: version 2.86 booting
    Error opening /dev/fb0: No such file or directory
    Please wait: booting...
    Starting udev
    udevd (74): /proc/74/oom_adj is deprecated, please use /proc/74/oom_score_adj instead.
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0Root filesystem already rw, not remounting

    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0Caching udev devnodes
    Populating dev cache
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0
    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0mv: cannot rename '/tmp/devices': No such file or directory

    notify_shm_drv_sendevent failed! status = 0xfffffff0
    notify_send_event failed! status = 0xfffffff0ALSA: Restoring mixer settings...
    NOT configuring network interfaces: / is an NFS mount
    
    
    
    
    As a result:
    
    
    if I do not install Graphics_SDK_4_05_00_03 I can mount NFS success everytime.
    So can you help what is wrong? Why can not mount NFS when install Graphics_SDK?
    
    
    Thank You very much!
  • Hi Han Wei,

    Its good to know that you have got the graphics Xorg driver running fine now.

    Have you taken a look at -

    http://processors.wiki.ti.com/index.php/RN_4_05_00_03#Kernel.28Linux_PSP.29_versions_used_for_validation

    • Due to a known issue in the Linux-PSP, disable the SII9022a driver using menuconfig
      Device Drivers -> Graphics support->
                            < > SII9022a HDMI Transimitter>
    Do the above change, build the linux PSP(kernel) and then build the graphics SDK again against this kernel. That should solve the error messages you are seeing.
    Sometimes there may file system issues, in that case press ctrl+c and see if the bootup continues.
     
    Thanks,
    Prathap.
  • Hi Prathap

    Thank You very much! as you said .remove the SII9022a HDMI Transimitter config. CPU can mount NFS success!

    another problem:

    when Graphics_SDK_4_05_00_03 install OK. I have download QT qt-everywhere-opensource-src-4.8.0.tar.gz  I have following this guide http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX to build QT.

    but when I do step4 the error has occur.

    The error message output like this:

    [root@localhost qt-src-4.8.0]# ./configure -prefix /home/selfworkdir/filesys_01_06/rfs -opensource -confirm-license -little-endian -host-little-endian -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-TIarmv7-sgx-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -opengl es2 -qt-gfx-transformed -qt-gfx-vnc -qt-gfx-linuxfb -qt-gfx-multiscreen -qt-mouse-tslib -plugin-gfx-powervr -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT

    You have not explicitly asked to use pkg-config and are cross-compiling.
    pkg-config will not be used to automatically query cflag/lib parameters for
    dependencies


    This is the Qt for Embedded Linux Open Source Edition.

    You are licensed to use this software under the terms of
    the Lesser GNU General Public License (LGPL) versions 2.1.
    You are also licensed to use this software under the terms of
    the GNU General Public License (GPL) versions 3.

    You have already accepted the terms of the  license.

    Creating qmake. Please wait...
    gmake: Nothing to be done for `first'.
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    Project WARNING: Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored
            To fix this include 'common/gcc-base-.conf and 'common/g++-.conf' instead
    The OpenGL ES 2.0 functionality test failed!
     You might need to modify the include and library search paths by editing
     QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
     /home/selfworkdir/DVRRDK_01.06.00.11/qt-src-4.8.0/mkspecs/qws/linux-TIarmv7-sgx-g++.
    [root@localhost qt-src-4.8.0]#

    my qmake.conf file is :

    #
    # qmake configuration for building with arm-linux-g++
    #

    include(../../common/g++.conf)
    include(../../common/linux.conf)
    include(../../common/qws.conf)

    #User specific Path - To Be edited by User
    QT_INSTALL_DIR          = $$PWD/../../..
    SGX_SDK_ROOT         = /home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1
    TSLIB_INSTALL_DIR   = /home/selfworkdir/DVRRDK_01.06.00.11/tslib-1.0/src
    FILESYSTEM_INSTALL_ROOT = /home/selfworkdir/filesys_01_06/rfs
    TSLIB_INCDIR            = $TSLIB_INSTALL_DIR/include
    TSLIB_LIBDIR            = $FILESYSTEM_INSTALL_ROOT/usr/lib

    # modifications to g++.conf
    QMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
    QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
    QMAKE_CC                = arm-none-linux-gnueabi-gcc
    QMAKE_CXX               = arm-none-linux-gnueabi-g++
    QMAKE_LINK              = arm-none-linux-gnueabi-g++
    QMAKE_LINK_SHLIB        = arm-none-linux-gnueabi-g++

    # modifications to linux.conf
    QMAKE_AR                = arm-none-linux-gnueabi-ar cqs
    QMAKE_OBJCOPY           = arm-none-linux-gnueabi-objcopy
    QMAKE_STRIP             = arm-none-linux-gnueabi-strip

    #Do not edit beyond this

    QMAKE_INCDIR_OPENGL_ES2 = $$SGX_SDK_ROOT/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/
    QMAKE_INCDIR_OPENGL_ES2 += $$SGX_SDK_ROOT/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/
    QMAKE_INCDIR_OPENGL_ES2 += $$SGX_SDK_ROOT/include
    QMAKE_INCDIR_OPENGL_ES2 += $$SGX_SDK_ROOT/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/
    QMAKE_LIBDIR_OPENGL_ES2 = $$SGX_SDK_ROOT/gfx_dbg_es6.x/
    QMAKE_LIBS_OPENGL_ES2   = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lusc

    QMAKE_INCDIR_OPENGL     += $$SGX_SDK_ROOT/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/
    QMAKE_LIBDIR_OPENGL     = $$SGX_SDK_ROOT/gfx_dbg_es6.x
    QMAKE_LIBDIR_OPENGL_QT  = $$SGX_SDK_ROOT/gfx_dbg_es6.x
    QMAKE_LIBS_OPENGL_ES1   = -lEGL -lGLES_CM -lIMGegl -lsrv_um -lusc

    QMAKE_INCDIR_OPENVG     = $$SGX_SDK_ROOT/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/
    QMAKE_LIBDIR_OPENVG     = $$SGX_SDK_ROOT/gfx_dbg_es6.x/
    QMAKE_LIBS_OPENVG       = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lOpenVG -lOpenVGU

    QMAKE_INCDIR_EGL        = $$QMAKE_INCDIR_OPENGL_ES2
    QMAKE_INCDIR_EGL        += $$QT_INSTALL_DIR/src/3rdparty/powervr/wsegl2
    QMAKE_INCDIR_POWERVR    = $$QT_INSTALL_DIR/src/3rdparty/powervr/wsegl2
    QMAKE_LIBDIR_EGL        = $$QMAKE_LIBDIR_OPENGL_ES2
    QMAKE_LIBS_EGL          = -lEGL -lIMGegl -lsrv_um -lGLESv2 -lGLES_CM -lusc

    QMAKE_INCDIR += $$TSLIB_INCDIR
    QMAKE_INCDIR += $$QMAKE_INCDIR_OPENGL_ES2
    QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES2
    QMAKE_LIBDIR += $$TSLIB_LIBDIR
    QMAKE_LIBS = $$QMAKE_LIBS_OPENGL_ES2 -lts

    load(qt_config)

    configure = ./configure -prefix /home/selfworkdir/filesys_01_06/rfs -opensource -confirm-license -little-endian -host-little-endian -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-TIarmv7-sgx-g++ -depths 16,24,32 -no-mmx -no-3dnow -no-sse -no-sse2 -no-glib -no-cups -no-largefile -no-accessibility -no-openssl -no-gtkstyle -qt-mouse-pc -qt-mouse-linuxtp -qt-mouse-linuxinput -plugin-mouse-linuxtp -plugin-mouse-pc -fast -opengl es2 -qt-gfx-transformed -qt-gfx-vnc -qt-gfx-linuxfb -qt-gfx-multiscreen -qt-mouse-tslib -plugin-gfx-powervr -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT

    So where is wrong? QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL is appoint in qmake.conf file? but it tell me search paths is wrong?

    Thank You!

  • Welcome Han Wei. Its really nice to know that you have got the latest graphics SDK 04_05_00_03 with Xorg driver working fine on your setup.

    Please raise the Qt 4.8 build issue as a separate query  so that a Qt expert or users who have already tried 4.8 Qt build can take a look at your issue & provide any suggestions.

    Thanks,

    Prathap.

  • well Thank You Prathap!

  • Welcome Han wei.

    Also, please click on verify answer for the answer/solution suggested for the NFS problem you faced in this thread. This will help other users to know its a verified answer & can apply the same when they face similar issue.

    Thanks,

    Prathap.

  • Han - Most likely the wsegl2 patch is not applied in your case. Also an additional step is required for Qt4.8. Always use -verbose to get clear debug information.

    Refer to below for config information for Qt4.8 with SGX:

    https://github.com/prabindh/qt-configs

  • In case anyone else looks at the webpage recommended above for Qt 4.8, the instructions are incomplete (at least for the TI8168).

    The patch named "002_pvrqwswsegl.c.patch" is incomplete and should be coupled with the one linked to on this webpage:

    http://processors.wiki.ti.com/index.php/Building_Qt_with_OpenGL_ES_accelerated_by_SGX

    The one on github only has one minor change whereas the one linked to from above has several changes to the file pvrqwswsegl.c.

    Ralph

  • Your observation is wrong. There are 2 patches in the github qt-configs repo. The 001 patch is the same as the wsegl2 patch. And README specifies clearly:

    1. Apply the 001, 002 patches one after another similar to
    
    patch -p1 < 001_wsegl2.patch


  • I missed that, sorry, though it would be more clear to have all changes in 1 patch.

    Ralph