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
the problem have occur .the message as following:
X.Org X Server 1.7.5Release Date: 2010-02-16X Protocol Version 11, Revision 0Build 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 armv7lKernel 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=0xBFD00000Build 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 pvrdrmOpenDevice: node name is /dev/dri/card0drmOpenDevice: open result is -1, (No such device or address)drmOpenDevice: open result is -1, (No such device or address)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card0drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card0drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card1drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card2drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card3drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card4drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card5drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card6drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card7drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card8drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card9drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card10drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card11drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card12drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card13drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card14drmOpenDevice: open result is -1, (No such device)drmOpenDevice: open result is -1, (No such device)drmOpenDevice: Open faileddrmOpenDevice: node name is /dev/dri/card15drmOpenDevice: 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 foundPlease 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.
If my reply answers your question then please click on the "Verify Answer" button.
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 FPS298 frames in 5.0 seconds = 59.546 FPS298 frames in 5.0 seconds = 59.506 FPS298 frames in 5.0 seconds = 59.538 FPS298 frames in 5.0 seconds = 59.525 FPS298 frames in 5.0 seconds = 59.498 FPS298 frames in 5.0 seconds = 59.514 FPS298 frames in 5.0 seconds = 59.554 FPS298 frames in 5.0 seconds = 59.506 FPS298 frames in 5.0 seconds = 59.513 FPS298 frames in 5.0 seconds = 59.547 FPS298 frames in 5.0 seconds = 59.521 FPS298 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 FPS297 frames in 5.0 seconds = 59.270 FPS297 frames in 5.0 seconds = 59.266 FPS297 frames in 5.0 seconds = 59.254 FPS297 frames in 5.0 seconds = 59.278 FPS297 frames in 5.0 seconds = 59.269 FPS297 frames in 5.0 seconds = 59.291 FPS297 frames in 5.0 seconds = 59.303 FPS297 frames in 5.0 seconds = 59.370 FPS297 frames in 5.0 seconds = 59.324 FPS297 frames in 5.0 seconds = 59.310 FPS297 frames in 5.0 seconds = 59.254 FPS297 frames in 5.0 seconds = 59.267 FPS297 frames in 5.0 seconds = 59.264 FPS297 frames in 5.0 seconds = 59.276 FPS297 frames in 5.0 seconds = 59.225 FPS294 frames in 5.0 seconds = 58.780 FPS276 frames in 5.0 seconds = 55.172 FPS277 frames in 5.0 seconds = 55.390 FPS286 frames in 5.0 seconds = 57.087 FPS288 frames in 5.0 seconds = 57.491 FPS
So somebody can help me! Thank You !
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
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 2012CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7fCPU: VIPT nonaliasing data cache, VIPT aliasing instruction cacheMachine: ti8168evmvram size = 20971520 at 0reserved size = 20971520 at 0FB: Reserving 20971520 bytes SDRAM for VRAMMemory policy: ECC disabled, Data cache writebackOMAP chip is TI8168 1.1Built 1 zonelists in Zone order, mobility grouping on. Total pages: 27392Kernel 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=0xBFD00000PID 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 totalMemory: 104224k/104224k available, 26848k reserved, 0K highmemVirtual 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=1NR_IRQS:407IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interruptsTotal of 128 interrupts on 1 active controllerGPMC revision 6.0Trying to install interrupt handler for IRQ400Trying to install interrupt handler for IRQ401Trying to install interrupt handler for IRQ402Trying to install interrupt handler for IRQ403Trying to install interrupt handler for IRQ404Trying to install interrupt handler for IRQ405Trying to install interrupt handler for IRQ406Trying to install type control for IRQ407Trying to set irq flags for IRQ407OMAP clockevent source: GPTIMER1 at 27000000 HzConsole: colour dummy device 80x30Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)pid_max: default: 32768 minimum: 301Security Framework initializedMount-cache hash table entries: 512CPU: Testing write buffer coherency: okdevtmpfs: initializedomap_voltage_early_init: voltage driver support not addedregulator: core version 0.5regulator: dummy: NET: Registered protocol family 16OMAP GPIO hardware version 0.1OMAP GPIO hardware version 0.1omap_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_sda3-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_sdwpregistered ti816x_vpss deviceregistered TI816x on-chip HDMI deviceregistered ti816x_sr devicepm_dbg_init: only OMAP3 supportedRegistered ti81xx_fb deviceti816x_pcie: Invoking PCI BIOS...ti816x_pcie: Setting up Host Controller...ti816x_pcie: Register base mapped @0xc8820000ti816x_pcie: Starting PCI scan...PCI: bus0: Fast back to back transfers enabledbio: create slab <bio-0> at 0vgaarb: loadedSCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbomap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHzomap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHzAdvanced Linux Sound Architecture Driver Version 1.0.23.Switching to clocksource gp timermusb-hdrc: version 6.0, host, debug=0musb-hdrc musb-hdrc.0: dma type: dma-cppi41registerd cppi-dma Intr @ IRQ 17Cppi41 Init Donemusb-hdrc: kernel must blacklist external hubsmusb-hdrc musb-hdrc.0: MUSB HDRC host drivermusb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1usb usb1: New USB device found, idVendor=1d6b, idProduct=0002usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb1: Product: MUSB HDRC host driverusb usb1: Manufacturer: Linux 2.6.37 musb-hcdusb usb1: SerialNumber: musb-hdrc.0hub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detectedmusb-hdrc musb-hdrc.0: USB Host mode controller at c880c000 using DMA, IRQ 18musb-hdrc musb-hdrc.1: dma type: dma-cppi41musb-hdrc: kernel must blacklist external hubsmusb-hdrc musb-hdrc.1: MUSB HDRC host drivermusb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2usb usb2: New USB device found, idVendor=1d6b, idProduct=0002usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb2: Product: MUSB HDRC host driverusb usb2: Manufacturer: Linux 2.6.37 musb-hcdusb usb2: SerialNumber: musb-hdrc.1hub 2-0:1.0: USB hub foundhub 2-0:1.0: 1 port detectedmusb-hdrc musb-hdrc.1: USB Host mode controller at c881e800 using DMA, IRQ 19NET: Registered protocol family 2IP 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 registeredUDP hash table entries: 256 (order: 0, 4096 bytes)UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)NET: Registered protocol family 1RPC: 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 0omap-iommu omap-iommu.0: ducati registeredomap-iommu omap-iommu.1: sys registeredJFFS2 version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.msgmni has been set to 203io scheduler noop registeredio scheduler deadline registeredio scheduler cfq registered (default)CIR device registered successfully (Major = 253, Minor = 0)res->start = 0x48022000,cir_res_len = 8192Serial: 8250/16550 driver, 4 ports, IRQ sharing enabledomap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2console [ttyO2] enabledbrd: module loadedloop: module loadedahci ahci.0: forcing PORTS_IMPL to 0x3ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform modeahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc scsi0 : ahci_platformscsi1 : ahci_platformata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16omap2-nand driver initializingONFI flash detectedONFI param page 0 validNAND 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 0xf9400000x000010000000-0x000010000000 : "Reserved"mtd: partition "Reserved" is out of reach -- disableddavinci_mdio davinci_mdio.0: davinci mdio revision 1.6davinci_mdio davinci_mdio.0: detected phy mask fffffff9davinci_mdio.0: probeddavinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknowndavinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknownusbcore: registered new interface driver cdc_etherusbcore: registered new interface driver dm9601Initializing USB Mass Storage driver...usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.mice: PS/2 mouse device common for all micertc-pcf8563 1-0051: chip found, driver version 0.4.3rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0i2c /dev entries driverLinux video capture interface: v2.00usbcore: registered new interface driver uvcvideoUSB Video Class driver (v1.0.0)OMAP Watchdog Timer Rev 0x00: initial timeout 60 secusb 2-1: new low speed USB device using musb-hdrc and address 2usbcore: registered new interface driver usbhidusbhid: USB HID core drivernotify_init : notify drivercreated for remote proc id 2 at physical Address 0xbfd00000usbcore: registered new interface driver snd-usb-audio File soc-core.c line#963 1asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok File soc-core.c line#963 1asoc: tvp5158-hifi <-> davinci-mcasp.0 mapping okALSA device list: #0: TI8168 DVR (AIC3x) #1: TI81XX DVR {TVP5158}TCP cubic registeredNET: Registered protocol family 17VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3omap_voltage_late_init: Voltage driver support not addedsmartreflex smartreflex: Driver initializeddavinci_emac_probe: using random MAC addr: b2:6f:59:05:e2:aadavinci_emac_probe: using random MAC addr: 5a:63:d1:d5:48:33rtc-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=0232usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0usb 2-1: Product: OMgeneric-usb 0003:04F3:0232.0001: input: USB HID v1.11 Mouse [OM] on usb-musb-hdrc.1-1/input0davinci_mdio davinci_mdio.0: resetting idled controllernet 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/FullVFS: Mounted root (nfs filesystem) on device 0:14.devtmpfs: mountedFreeing init memory: 192KINIT: version 2.86 bootingPlease wait: booting...Error opening /dev/fb0: No such file or directoryStarting udevudevd (74): /proc/74/oom_adj is deprecated, please use /proc/74/oom_score_adj instead.udev: starting version 141Root filesystem already rw, not remountingCaching udev devnodesPopulating dev cache
stopped here.......
next step:
Then I power off 8168 board and power on. The error message has occur:
Freeing init memory: 192KINIT: version 2.86 bootingError opening /dev/fb0: No such file or directoryPlease wait: booting...Starting udevudevd (74): /proc/74/oom_adj is deprecated, please use /proc/74/oom_score_adj instead.notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0Root filesystem already rw, not remountingnotify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0Caching udev devnodesPopulating dev cachenotify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0notify_shm_drv_sendevent failed! status = 0xfffffff0notify_send_event failed! status = 0xfffffff0mv: cannot rename '/tmp/devices': No such file or directorynotify_shm_drv_sendevent failed! status = 0xfffffff0notify_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?
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
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.
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 fordependencies
This is the Qt for Embedded Linux Open Source Edition.
You are licensed to use this software under the terms ofthe Lesser GNU General Public License (LGPL) versions 2.1.You are also licensed to use this software under the terms ofthe 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadProject 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' insteadThe 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 UserQT_INSTALL_DIR = $$PWD/../../..SGX_SDK_ROOT = /home/selfworkdir/DVRRDK_01.06.00.11/Graphics_SDK_4_05_00_03_XORG_1TSLIB_INSTALL_DIR = /home/selfworkdir/DVRRDK_01.06.00.11/tslib-1.0/srcFILESYSTEM_INSTALL_ROOT = /home/selfworkdir/filesys_01_06/rfsTSLIB_INCDIR = $TSLIB_INSTALL_DIR/includeTSLIB_LIBDIR = $FILESYSTEM_INSTALL_ROOT/usr/lib
# modifications to g++.confQMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfpQMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfpQMAKE_CC = arm-none-linux-gnueabi-gccQMAKE_CXX = arm-none-linux-gnueabi-g++QMAKE_LINK = arm-none-linux-gnueabi-g++QMAKE_LINK_SHLIB = arm-none-linux-gnueabi-g++
# modifications to linux.confQMAKE_AR = arm-none-linux-gnueabi-ar cqsQMAKE_OBJCOPY = arm-none-linux-gnueabi-objcopyQMAKE_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/includeQMAKE_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.xQMAKE_LIBDIR_OPENGL_QT = $$SGX_SDK_ROOT/gfx_dbg_es6.xQMAKE_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_ES2QMAKE_INCDIR_EGL += $$QT_INSTALL_DIR/src/3rdparty/powervr/wsegl2QMAKE_INCDIR_POWERVR = $$QT_INSTALL_DIR/src/3rdparty/powervr/wsegl2QMAKE_LIBDIR_EGL = $$QMAKE_LIBDIR_OPENGL_ES2QMAKE_LIBS_EGL = -lEGL -lIMGegl -lsrv_um -lGLESv2 -lGLES_CM -lusc
QMAKE_INCDIR += $$TSLIB_INCDIR QMAKE_INCDIR += $$QMAKE_INCDIR_OPENGL_ES2QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES2 QMAKE_LIBDIR += $$TSLIB_LIBDIRQMAKE_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.
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.
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
Note: Post the output of below Script, while posting queries related to SGX drivers:
https://gforge.ti.com/gf/download/docmanfileversion/203/3715/gfx_check.sh
Also read the below page,
http://processors.wiki.ti.com/index.php/SGXDbg
For User Interface queries, submit below details for faster response,
https://gforge.ti.com/gf/download/docmanfileversion/220/3798/UI_graphics_reqs_sheet_v1.xls
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.
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.