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.

pvrsrvkm.ko: Invalid module format on Custom Am335x board

Other Parts Discussed in Thread: TPS65910, AM3352, TMDXEVM3358, AM3359

Hi,

I am using the following configuration :

Target : AM335x Sitara evm Customer board

SDK : ti-processor-sdk-linux-am335x-evm-01.00.00.03

Host : Ubuntu 14.04

Kernel used : linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b (Just added our LCD module)

We also installed the Graphics_SDK_5_01_01_02. I will attach my Rules.make file here. I am unable to run the QT application. 

Here is the kernel logs :

....

[    9.267673] 0-0018 supply SPLVDD not found, using dummy regulator
[    9.819307] cryptodev: driver 1.6 loaded.
[    9.834574] pvrsrvkm: disagrees about version of symbol module_layout
[   10.131493] pvrsrvkm: disagrees about version of symbol module_layout
[   10.248354] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[   10.276598] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   10.288214] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   10.295395] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   10.307741] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   10.315212] omap_hsmmc 48060000.mmc: failed to activate pinctrl state

...

Starting PVR
[   18.280595] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   18.292198] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   18.299398] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   18.311737] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   18.319186] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[   18.433614] pvrsrvkm: disagrees about version of symbol module_layout
insmod: ERROR: could not insert module /lib/modules/3.14.43-g875c69b/extra/pvrsrvkm.ko: Invalid module format
Could not find pvrsrvkm driver
Starting Lighttpd Web Server: lighttpd.

& When I run my QT application, I get : 

root@am335x-evm:/usr# ./myapp
PVR: Hint: Setting WindowSystem to libpvrPVR2D_FRONTWSEGL.so
PVR:(Error): PVRSRVMetricsTimeNow: using (potentially) low resolution timer [97, /pvr_metrics.c]
PVR:(Error): OpenServices: Cannot open device driver /dev/pvrsrvkm. [79, /pvr_bridge_u.c]
PVR:(Error): PVRSRVConnect: Unable to open connection. [337, /bridged_pvr_glue.c]
PVR:(Error): Couldn't connect to services [58, /srv_sgx.c]
Could not initialize egl display
Aborted

 

What I dont understand is even though I installed graphics SDK, I still face EGL error.

Please help us. 

Thank you 

 

Note :

#Rules.make

################# FIELDS MODIFIABLE BY THE USER ###############################
############### All the fields below are MANDATORY ############################

#By default all below variables have been initialized with equivalent AMSDK variables
# Change them to appropriate paths as per your machine/build environment paths.
# Set home area (ex /home/user/)
#HOME=$(SDK_INSTALL_DIR)/graphics
HOME=/home/vk18434
GRAPHICS_INSTALL_DIR=${HOME}/Graphics_SDK_5_01_01_02

# Set Toolchain path (ex /home/user/toolchain/arago-2011.09/armv7a)
CSTOOL_DIR=/home/vk18434/ti-processor-sdk-linux-am335x-evm-01.00.00.03/linux-devkit/sysroots/i686-arago-linux/usr/bin

# Set Tool chain prefix (ex arm-arago-linux-gnueabi- )
CSTOOL_PREFIX=arm-linux-gnueabihf-

# Set kernel installation path ( ex /home/user/linux-04.00.01.13 )
KERNEL_INSTALL_DIR=/media/vk18434/3c980693-a765-4d02-bd42-128e506d6ea0/cyient/ti-processor-sdk-linux-am335x-evm-01.00.00.03/board-support/linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b

# Set Target filesystem path ( ex /home/user/targetfs )
TARGETFS_INSTALL_DIR=/media/vk18434/rootfs1

# Set installation folder
GRAPHICS_INSTALL_DIR=$(HOME)/Graphics_SDK_5_01_01_02

pvr_logs.txt
U-Boot 2015.04-rc1-dirty (May 21 2015 - 18:32:42)

       Watchdog enabled
I2C:   ready
DRAM:  256 MiB
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

Viswa this is my Image
Net:   <ethaddr> not set. Validating first E-fuse MAC
Phy 0 not found
cpsw, usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
4368432 bytes read in 613 ms (6.8 MiB/s)
36538 bytes read in 48 ms (743.2 KiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x42a830 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8e6f4000, end 8e6ffeb9 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.43-g875c69b (cyient@cyient-OptiPlex-9010) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.135
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x EVM-SK
[    0.000000] cma: CMA: reserved 24 MiB at 8c800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64768
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[    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: 225184K/261120K available (5883K kernel code, 329K rwdata, 2168K rodata, 262K init, 238K bss, 35936K reserved, 0K highm)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07e50c4   (8053 kB)
[    0.000000]       .init : 0xc07e6000 - 0xc0827aac   ( 263 kB)
[    0.000000]       .data : 0xc0828000 - 0xc087a5a0   ( 330 kB)
[    0.000000]        .bss : 0xc087a5a0 - 0xc08b5e78   ( 239 kB)
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000033] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000078] OMAP clocksource: timer1 at 24000000 Hz
[    0.000688] Console: colour dummy device 80x30
[    0.000741] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000757] This ensures that you still see kernel messages. Please
[    0.000772] update your kernel commandline.
[    0.000818] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.068450] pid_max: default: 32768 minimum: 301
[    0.068683] Security Framework initialized
[    0.068799] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.068827] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087608] CPU: Testing write buffer coherency: ok
[    0.088339] Setting up static identity map for 0x805c4560 - 0x805c45b8
[    0.090560] devtmpfs: initialized
[    0.094933] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.113784] omap_hwmod: tptc0 using broken dt data from edma
[    0.113993] omap_hwmod: tptc1 using broken dt data from edma
[    0.114183] omap_hwmod: tptc2 using broken dt data from edma
[    0.120733] omap_hwmod: debugss: _wait_target_disable failed
[    0.190774] pinctrl core: initialized pinctrl subsystem
[    0.193062] regulator-dummy: no parameters
[    0.197841] NET: Registered protocol family 16
[    0.202749] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.208920] cpuidle: using governor ladder
[    0.208958] cpuidle: using governor menu
[    0.225100] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
[    0.228702] platform 49000000.edma: alias fck already exists
[    0.228757] platform 49000000.edma: alias fck already exists
[    0.228794] platform 49000000.edma: alias fck already exists
[    0.231473] OMAP GPIO hardware version 0.1
[    0.256637] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_default, deferring probe
[    0.256711] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[    0.265752] No ATAGs?
[    0.265794] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.333219] bio: create slab <bio-0> at 0
[    0.373708] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.376039] vbat: 5000 mV
[    0.376945] lis3_reg: no parameters
[    0.378071] vtt: 1500 mV
[    0.385825] vgaarb: loaded
[    0.387098] i2c-core: driver [palmas] using legacy suspend method
[    0.387125] i2c-core: driver [palmas] using legacy resume method
[    0.388967] SCSI subsystem initialized
[    0.392612] usbcore: registered new interface driver usbfs
[    0.393070] usbcore: registered new interface driver hub
[    0.393566] usbcore: registered new device driver usb
[    0.395855] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[    0.395919] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[    0.395985] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe
[    0.396022] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
[    0.396964] pps_core: LinuxPPS API ver. 1 registered
[    0.396989] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.397332] PTP clock support registered
[    0.402214] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.404243] Advanced Linux Sound Architecture Driver Initialized.
[    0.407993] Switched to clocksource timer1
[    0.456839] NET: Registered protocol family 2
[    0.458988] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.459075] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.459147] TCP: Hash tables configured (established 2048 bind 2048)
[    0.459300] TCP: reno registered
[    0.459331] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.459379] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.459790] NET: Registered protocol family 1
[    0.460615] RPC: Registered named UNIX socket transport module.
[    0.460643] RPC: Registered udp transport module.
[    0.460660] RPC: Registered tcp transport module.
[    0.460676] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.462998] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.469653] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.910550] VFS: Disk quotas dquot_6.5.2
[    0.910693] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.911833] NFS: Registering the id_resolver key type
[    0.911994] Key type id_resolver registered
[    0.912014] Key type id_legacy registered
[    0.912102] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    0.912511] msgmni has been set to 487
[    0.916020] NET: Registered protocol family 38
[    0.916108] io scheduler noop registered
[    0.916129] io scheduler deadline registered
[    0.916180] io scheduler cfq registered (default)
[    0.920436] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.936682] fb_ph128160 itdb28:  Dev Dev fbtft_probe_common()
[    0.936726] fb_ph128160 itdb28: fbtft_probe_common()
[    0.936763] fbtft_of_value: buswidth = 8
[    0.936787] fbtft_of_value: debug = 1
[    0.936806] fbtft_of_value: rotate = 90
[    0.937104] fb_ph128160 itdb28: FBTFT Registering Write Resigter with 8 and 8
[    0.937379] fb_ph128160 itdb28: fbtft_request_one_gpio: 'dc-gpios' = GPIO86
[    0.937462] fb_ph128160 itdb28: fbtft_request_one_gpio: 'rd-gpios' = GPIO88
[    0.937531] fb_ph128160 itdb28: fbtft_request_one_gpio: 'wr-gpios' = GPIO87
[    0.937596] fb_ph128160 itdb28: fbtft_request_one_gpio: 'cs-gpios' = GPIO89
[    0.937665] fb_ph128160 itdb28: fbtft_request_one_gpio: 'db-gpios' = GPIO70
[    0.937738] fb_ph128160 itdb28: fbtft_request_one_gpio: 'db-gpios' = GPIO71
[    0.937814] fb_ph128160 itdb28: fbtft_request_one_gpio: 'db-gpios' = GPIO72
[    0.937895] fb_ph128160 itdb28: fbtft_request_one_gpio: 'db-gpios' = GPIO73
[    0.938087] fb_ph128160 itdb28: fbtft_request_one_gpio: 'db-gpios' = GPIO74
[    0.938189] fb_ph128160 itdb28: fbtft_request_one_gpio: 'db-gpios' = GPIO75
[    0.938286] fb_ph128160 itdb28: fbtft_request_one_gpio: 'db-gpios' = GPIO76
[    0.938383] fb_ph128160 itdb28: fbtft_request_one_gpio: 'db-gpios' = GPIO77
[    0.938878] fb_ph128160 itdb28: SANJU Init Display called making RD as High
[    2.594842] (NULL device *): SANJU, Calling init Display -1070712612 and return is 0
[    2.594875] fb_ph128160 itdb28: SANJU Init Display called making RD as High
[    4.250774] (NULL device *): SANJU, Calling init Display -1070712612 and return is 0
[    4.250806] (NULL device *): SANJU, Done with Display Init Check for logsConsole: switching to colour frame buffer device 20x16
[    4.351257] graphics fb0: fb_ph128160 frame buffer, 162x128, 40 KiB video memory, 4 KiB DMA buffer memory, fps=20
[    4.360808] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    4.373472] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250
[    5.309805] console [ttyS0] enabled
[    5.316107] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a 8250
[    5.329395] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    5.336936] [drm] Initialized drm 1.1.0 20060810
[    5.374989] brd: module loaded
[    5.392168] loop: module loaded
[    5.396170] (hci_tty): inside hci_tty_init
[    5.401550] (hci_tty): allocated 250, 0
[    5.412874] mtdoops: mtd device (mtddev=name/number) must be supplied
[    5.429411] usbcore: registered new interface driver asix
[    5.435372] usbcore: registered new interface driver ax88179_178a
[    5.441930] usbcore: registered new interface driver cdc_ether
[    5.448364] usbcore: registered new interface driver smsc95xx
[    5.454486] usbcore: registered new interface driver net1080
[    5.460646] usbcore: registered new interface driver cdc_subset
[    5.467066] usbcore: registered new interface driver zaurus
[    5.473189] usbcore: registered new interface driver cdc_ncm
[    5.480192] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.486773] ehci-pci: EHCI PCI platform driver
[    5.491794] ehci-omap: OMAP-EHCI Host Controller driver
[    5.498211] usbcore: registered new interface driver cdc_wdm
[    5.504460] usbcore: registered new interface driver usb-storage
[    5.513016] mousedev: PS/2 mouse device common for all mice
[    5.523361] i2c-core: driver [rtc-ds1307] using legacy suspend method
[    5.529939] i2c-core: driver [rtc-ds1307] using legacy resume method
[    5.537976] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    5.547182] i2c /dev entries driver
[    5.551299] Driver for 1-wire Dallas network protocol.
[    5.561849] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    5.572261] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[    5.583833] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[    5.591067] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[    5.603454] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[    5.617771] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[    5.629320] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[    5.636515] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[    5.648885] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[    5.656336] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[    5.662914] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[    5.674417] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[    5.681639] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[    5.693999] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[    5.701475] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[    5.708594] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
[    5.715391] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
[    5.730400] ledtrig-cpu: registered to indicate activity on CPUs
[    5.737156] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    5.746038] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    5.755638] usbcore: registered new interface driver usbhid
[    5.761350] usbhid: USB HID core driver
[    5.765800] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[    5.780560] oprofile: using arm/armv7
[    5.784925] TCP: cubic registered
[    5.788366] Initializing XFRM netlink socket
[    5.792832] NET: Registered protocol family 17
[    5.797394] NET: Registered protocol family 15
[    5.808312] Key type dns_resolver registered
[    5.814314] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[    5.823189] cpu cpu0: cpu0 clock notifier not ready, retry
[    5.828795] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[    5.837622] PM: bootloader does not support rtc-only!
[    5.842974] ThumbEE CPU extension supported.
[    5.847358] Registering SWP/SWPB emulation handler
[    5.855708] lis3_reg: disabling
[    5.859127] vbat: disabling
[    5.861956] regulator-dummy: disabling
[    5.867236] Error: Driver 'tfp410' is already registered, aborting...
[    5.876343] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    5.881641] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    5.890045] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    5.896463] nand: Micron MT29F2G08ABAEAWP
[    5.900601] nand: 256MiB, SLC, page size: 2048, OOB size: 64
[    5.906302] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    5.912055] 10 ofpart partitions found on MTD device omap2-nand.0
[    5.918242] Creating 10 MTD partitions on "omap2-nand.0":
[    5.923695] 0x000000000000-0x000000020000 : "NAND.SPL"
[    5.932936] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[    5.942665] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[    5.952355] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[    5.961781] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[    5.971570] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[    5.981355] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[    5.990778] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[    6.007109] 0x000000200000-0x000000a00000 : "NAND.kernel"
[    6.022983] 0x000000a00000-0x000010000000 : "NAND.rootfs"
[    6.245182] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
[    6.254916] tps65910 1-002d: No interrupt support, no core IRQ
[    6.267423] vrtc: 1800 mV
[    6.270687] vrtc: supplied by vbat
[    6.276583] vio: at 1500 mV
[    6.285869] vio: supplied by vbat
[    6.292033] vdd_mpu: 912 <--> 1375 mV at 1100 mV
[    6.296939] vdd_mpu: supplied by vbat
[    6.303470] vdd_core: 912 <--> 1150 mV at 1100 mV
[    6.308530] vdd_core: supplied by vbat
[    6.314603] vdd3: 5000 mV
[    6.319602] vdig1: at 1800 mV
[    6.322854] vdig1: supplied by vbat
[    6.328662] vdig2: at 1800 mV
[    6.331913] vdig2: supplied by vbat
[    6.337648] vpll: at 1800 mV
[    6.340858] vpll: supplied by vbat
[    6.346386] vdac: at 1800 mV
[    6.349695] vdac: supplied by vbat
[    6.355367] vaux1: at 1800 mV
[    6.358660] vaux1: supplied by vbat
[    6.364398] vaux2: at 3300 mV
[    6.367661] vaux2: supplied by vbat
[    6.373491] vaux33: at 3300 mV
[    6.376826] vaux33: supplied by vbat
[    6.382686] vmmc: 1800 <--> 3300 mV at 3300 mV
[    6.387415] vmmc: supplied by vbat
[    6.392637] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[    6.405504] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[    6.417074] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[    6.424309] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[    6.436682] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[    6.444794] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[    6.456330] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[    6.463559] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[    6.475932] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[    6.483408] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[    6.490003] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[    6.501503] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[    6.508725] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[    6.521089] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[    6.528563] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[    6.569380]  remoteproc0: wkup_m3 is available
[    6.573888]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    6.582997]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    6.593807]  remoteproc0: Direct firmware load failed with error -2
[    6.600241]  remoteproc0: Falling back to user helper
[    6.678019] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    6.684168] davinci_mdio 4a101000.mdio: no live phy, scanning all
[    6.690820] davinci_mdio: probe of 4a101000.mdio failed with error -5
[    6.698604] cpsw 4a100000.ethernet: Missing slave[0] phy_id property
[    6.705007] cpsw 4a100000.ethernet: cpsw: platform data missing
[    6.713838] input: gpio_buttons@0 as /devices/gpio_buttons@0/input/input0
[    6.721976] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    6.733783] mmc0: host does not support reading read-only switch. assuming write-enable.
[    6.743136] ALSA device list:
[    6.746134]   No soundcards found.
[    6.750600] Waiting for root device /dev/mmcblk0p2...
[    6.755939] mmc0: new high speed SDHC card at address aaaa
[    6.762663] mmcblk0: mmc0:aaaa SU08G 7.40 GiB
[    6.769376]  mmcblk0: p1 p2
[    6.860634] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    6.868063] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    7.210900] EXT4-fs (mmcblk0p2): recovery complete
[    7.252549] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    7.260884] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    7.271943] devtmpfs: mounted
[    7.276039] Freeing unused kernel memory: 260K (c07e6000 - c0827000)
INIT: version 2.88 booting
Starting udev
[    8.246861] udevd[919]: starting version 182
[    8.591938] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[    8.603532] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[    8.610731] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[    8.623072] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[    8.630538] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[    8.969984]  remoteproc0: powering up wkup_m3
[    8.975333]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
[    8.988968] 47401300.usb-phy supply vcc not found, using dummy regulator
[    9.058397] 0-0018 supply HPVDD not found, using dummy regulator
[    9.064533] 0-0018 supply SPRVDD not found, using dummy regulator
[    9.117410] PM: CM3 Firmware Version = 0x190
[    9.159199] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[    9.170755] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[    9.177937] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[    9.190283] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[    9.197717] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[    9.238872]  remoteproc0: remote processor wkup_m3 is now up
[    9.258380] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    9.267673] 0-0018 supply SPLVDD not found, using dummy regulator
[    9.819307] cryptodev: driver 1.6 loaded.
[    9.834574] pvrsrvkm: disagrees about version of symbol module_layout
[   10.131493] pvrsrvkm: disagrees about version of symbol module_layout
[   10.248354] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[   10.276598] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   10.288214] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   10.295395] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   10.307741] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   10.315212] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[   10.774479] davinci_evm sound: ASoC: CODEC DAI tlv320aic3x-hifi not registered
[   10.964061] davinci_evm sound: snd_soc_register_card failed (-517)
[   11.208819] platform sound: Driver davinci_evm requests probe deferral
Starting Bootlog daemon:
udevadm settle - timeout of 3 seconds reached, the event queue contains:
  /sys/devices/ocp/48060000.mmc/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/mmcblk0p1 (900)
  /sys/devices/ocp/48060000.mmc/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/mmcblk0p2 (901)
  /sys/devices/virtual/block/loop0 (1046)
  /sys/devices/virtual/block/loop3 (1049)
  /sys/devices/virtual/block/loop4 (1050)
  /sys/devices/virtual/block/loop5 (1051)
  /sys/devices/virtual/block/loop6 (1052)
  /sys/devices/virtual/block/loop7 (1053)
  /sys/devices/virtual/block/ram0 (1054)
  /sys/devices/virtual/block/ram1 (1055)
  /sys/devices/virtual/block/ram10 (1056)
  /sys/devices/virtual/block/ram11 (1057)
  /sys/devices/virtual/block/ram12 (1058)
  /sys/devices/virtual/block/ram13 (1059)
  /sys/devices/virtual/block/ram14 (1060)
  /sys/devices/virtual/block/ram15 (1061)
  /sys/devices/virtual/block/ram2 (1062)
  /sys/devices/virtual/block/ram3 (1063)
  /sys/devices/virtual/block/ram4 (1064)
  /sys/devices/virtual/block/ram5 (1065)
  /sys/devices/virtual/block/ram6 (1066)
  /sys/devices/virtual/block/ram7 (1067)
  /sys/devices/virtual/block/ram8 (1068)
  /sys/devices/virtual/block/ram9 (1069)
  /sys/devices/virtual/mtd/mtd0/mtdblock0 (1077)
  /sys/devices/virtual/mtd/mtd1/mtdblock1 (1080)
  /sys/devices/virtual/mtd/mtd2/mtdblock2 (1083)
  /sys/devices/virtual/mtd/mtd3/mtdblock3 (1086)
  /sys/devices/virtual/mtd/mtd4/mtdblock4 (1089)
  /sys/devices/virtual/mtd/mtd4ro (1090)
  /sys/devices/virtual/mtd/mtd5/mtdblock5 (1092)
  /sys/devices/virtual/mtd/mtd5ro (1093)
  /sys/devices/virtual/mtd/mtd6/mtdblock6 (1095)
[   12.159570] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   12.171149] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   12.178349] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   12.190689] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   12.198139] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[   13.506047] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[   13.724108] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[   13.848570] random: nonblocking pool is initialized
[   13.864159] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   13.871128] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.878408] usb usb1: Product: MUSB HDRC host driver
[   13.883400] usb usb1: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
[   13.889731] usb usb1: SerialNumber: musb-hdrc.0.auto
[   14.216764] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   14.239191] hub 1-0:1.0: USB hub found
[   14.280261] hub 1-0:1.0: 1 port detected
[   14.339593] davinci_evm sound: ASoC: CODEC DAI tlv320aic3x-hifi not registered
[   14.346935] davinci_evm sound: snd_soc_register_card failed (-517)
[   14.410914] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[   14.489076] platform sound: Driver davinci_evm requests probe deferral
[   14.496730] davinci_evm sound: ASoC: CODEC DAI tlv320aic3x-hifi not registered
[   14.504837] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[   14.557216] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   14.564177] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.571457] usb usb2: Product: MUSB HDRC host driver
[   14.576448] usb usb2: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
[   14.582765] usb usb2: SerialNumber: musb-hdrc.1.auto
[   14.607783] davinci_evm sound: snd_soc_register_card failed (-517)
[   14.624599] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   14.636217] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   14.643419] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   14.655761] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   14.663212] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[   14.669899] platform sound: Driver davinci_evm requests probe deferral
[   14.733393] hub 2-0:1.0: USB hub found
[   14.744906] hub 2-0:1.0: 1 port detected
[   14.750878] davinci_evm sound: ASoC: CODEC DAI tlv320aic3x-hifi not registered
[   14.798331] davinci_evm sound: snd_soc_register_card failed (-517)
[   14.804645] platform sound: Driver davinci_evm requests probe deferral
[   14.899284] davinci_evm sound: ASoC: CODEC DAI tlv320aic3x-hifi not registered
[   14.923853] davinci_evm sound: snd_soc_register_card failed (-517)
[   14.955155] platform sound: Driver davinci_evm requests probe deferral
[   15.258746] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   15.270316] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   15.277495] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   15.289842] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   15.297277] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[   15.359089] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in a_wait_vrise (80, <SessEnd), retry #3, port1 0008010c
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1729: No soundcards found...
Mon Jul  6 21:04:00 UTC 2015
INIT: Entering runlevel: 5
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
done.
[   16.126173] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   16.137774] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   16.144974] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   16.157314] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   16.164765] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
Starting system message bus: dbus.
UIM SYSFS Node Not Found
[   17.028926] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   17.040480] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   17.047659] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   17.060024] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   17.067459] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting rpcbind daemon...rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
done.
creating NFS state directory: done
starting statd: done
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
[   18.280595] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   18.292198] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   18.299398] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   18.311737] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   18.319186] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[   18.433614] pvrsrvkm: disagrees about version of symbol module_layout
insmod: ERROR: could not insert module /lib/modules/3.14.43-g875c69b/extra/pvrsrvkm.ko: Invalid module format
Could not find pvrsrvkm driver
Starting Lighttpd Web Server: lighttpd.
2015-07-06 21:04:02: (/home/gtbldadm/ti/oe-layersetup/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa8t2hf-vfp-neon-linux-gnue
/
Starting Matrix GUI application.
Enabling thermal zones...
/etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
***************************************************************
***************************************************************
NOTICE: This file system contains the followin GPLv3 packages[   22.122359] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested bc
:
        autoconf
        binutils
        cpp-symlinks
        cpp
        g++-symlinks
        g+[   22.134027] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
+
        gcc-symlinks
        gcc
        gdbserver
        gstreamer1.0-libav
        libgmp[   22.146776] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pine
10
        libmpc3
        libmpfr4
        make

If you do not wish to distribu[   22.164675] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
te GPLv3 components please remove
the above packages prior to d[   22.177687] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
istribution.  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.
[   22.357866] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   22.369471] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   22.376653] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   22.388996] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   22.396432] omap_hsmmc 48060000.mmc: failed to activate pinctrl state

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

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

Arago 2015.05 am335x-evm /dev/ttyO0

am335x-evm login: root
[   24.402593] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   24.414226] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   24.421462] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   24.433835] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   24.441315] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
root@am335x-evm:~# cd /usr/
root@am335x-evm:/usr# ./tailyn
[   29.322751] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   29.334423] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   29.341661] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   29.354033] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   29.361513] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
[   29.499819] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot claim for 48060000.mmc
[   29.511444] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
[   29.518679] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pins  on device pinctrl-single
[   29.531049] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[   29.538526] omap_hsmmc 48060000.mmc: failed to activate pinctrl state
PVR: Hint: Setting WindowSystem to libpvrPVR2D_FRONTWSEGL.so
PVR:(Error): PVRSRVMetricsTimeNow: using (potentially) low resolution timer [97, /pvr_metrics.c]
PVR:(Error): OpenServices: Cannot open device driver /dev/pvrsrvkm. [79, /pvr_bridge_u.c]
PVR:(Error): PVRSRVConnect: Unable to open connection. [337, /bridged_pvr_glue.c]
PVR:(Error): Couldn't connect to services [58, /srv_sgx.c]
Could not initialize egl display
Aborted
root@am335x-evm:/usr#


 

  • Hi,

    When building the pvr driver from Graphics SDK, you need to set $KERNELDIR (export KERNELDIR=/path/to/kernel) variable (needed to access kernel headers in order to apply the appropriate version), see board-support/extra-drivers/sgx-modules-5.01.01.02/INSTALL file for instructions on how to build the ddk.

    After you compile the kernel modules, you should copy the generated .ko drivers to the rootfs partition of your sdcard in /lib/modules/<kernel version>/extra/
    Then you need to insmod (or modprobe) the .ko files on your target board.

    Also try using

    Best Regards,
    Yordan
  • But - I am confused now.
    Which graphics SDK to build ?
    #1. Should I follow - processors.wiki.ti.com/.../Graphics_SDK_Quick_installation_and_user_guide
    or
    #2. board-support/extra-drivers/sgx-modules-5.01.01.02/

    Really confused now. Please guide me.
    Thank you
  • Hi,

    VIJAY KULKARNI24 said:

     

    The download link for Graphics SDK provided in this wiki, contains the same SGX sources (used to generate pvrsrvkm) included in board-support/extra-drivers/sgx-modules-5.01.01.02/ 

    They both are for Graphics SDK-5.01.01.02.  

    Best Regards, 
    Yordan

  • And also you should have the install binary: Graphics_SDK_setuplinux_hardfp_5_01_01_02.bin in ti-processor-sdk-linux-am335x-evm-01.00.00.03 folder.

    Best Regards,
    Yordan
  • Hi,

    I have two things now in Processor SDK 1.00.

    #1. Graphics_SDK_setuplinux_hardfp_5_01_01_02.bin

    #2. /home/vk18434/ti-processor-sdk-linux-am335x-evm-01.00.00.00/board-support/extra-drivers/sgx-modules-5.01.01.02


    I have tried installing Graphics_SDK_setuplinux_hardfp_5_01_01_02.bin and followed Graphics_SDK_Quick_installation_and_user_guide from below link

    _processors.wiki.ti.com/.../Graphics_SDK_Quick_installation_and_user_guide

    But this procedure is not working. I will detail you the steps in some time.

    I tried to build the package that contains sgx-modules in "/board-support/extra-drivers/sgx-modules-5.01.01.02" . But I do not know where to make env variable changes. I just changed the top level Makefile

    export KERNELDIR=/home/vk18434/sitara-linux/

    Then there no folder like : eurasiacon/build/linux/platform/kbuild

    Yordan Kovachev (1732051) - Please help us on how to build the sgx-modules-5.01.01.02.

    Thank you
  • .

    I have built the SGX. Still I face the PVR crash. 

    Procedure I followed till now.

    This is my Rules.make
    ===============================================================================================
    HOME=/home/vk18434
    GRAPHICS_INSTALL_DIR=/home/vk18434/Graphics_SDK_5_01_01_02

    # Set Toolchain path (ex /home/user/toolchain/arago-2011.09/armv7a)
    CSTOOL_DIR=/home/vk18434/ti-processor-sdk-linux-am335x-evm-01.00.00.00/linux-devkit/sysroots/i686-arago-linux/

    # Set Tool chain prefix (ex arm-arago-linux-gnueabi- )
    CSTOOL_PREFIX=arm-linux-gnueabihf-

    # Set kernel installation path ( ex /home/user/linux-04.00.01.13 )
    KERNEL_INSTALL_DIR=/home/vk18434/ti-processor-sdk-linux-am335x-evm-01.00.00.00/board-support/linux-3.14.26-g2489c02

    # Set Target filesystem path ( ex /home/user/targetfs ) TARGETFS_INSTALL_DIR=/media/vk18434/rootfs/

    # Set installation folder
    GRAPHICS_INSTALL_DIR=$(HOME)/Graphics_SDK_5_01_01_02/
    ===============================================================================================

    These are my build procedure.

    # make BUILD=debug OMAPES=8.x FBDEV=yes all_km
    # sudo make BUILD=debug OMAPES=8.x EGLIMAGE=1 install_km (this is not installing the .ko in sd card)


    So I am manually copying (pvrsrvkm.ko) it from this /home/vk18434/Graphics_SDK_5_01_01_02/GFX_Linux_KM to  

    /rootfs/lib/modules/3.14.26-gb9df364-dirty/extra/

     

    [    0.935559] fb_ph128160 itdb28.9:  Dev Dev fbtft_probe_common()
    [    0.935606] fb_ph128160 itdb28.9: fbtft_probe_common()
    [    0.935656] fbtft_of_value: buswidth = 8
    [    0.935682] fbtft_of_value: debug = 1
    [    0.935702] fbtft_of_value: rotate = 90
    [    0.935998] fb_ph128160 itdb28.9: FBTFT Registering Write Resigter with 8 and 8
    [    0.936274] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'dc-gpios' = GPIO86
    [    0.936360] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'rd-gpios' = GPIO88
    [    0.936432] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'wr-gpios' = GPIO87
    [    0.936502] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'cs-gpios' = GPIO89
    [    0.936575] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO70
    [    0.936651] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO71
    [    0.936731] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO72
    [    0.936813] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO73
    [    0.936898] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO74
    [    0.936988] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO75
    [    0.937082] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO76
    [    0.937179] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO77
    [    0.937683] fb_ph128160 itdb28.9: SANJU Init Display called making RD as High
    [    2.593784] (NULL device *): SANJU, Calling init Display -1070710752 and return is 0
    [    2.593818] fb_ph128160 itdb28.9: SANJU Init Display called making RD as High
    [    4.249772] (NULL device *): SANJU, Calling init Display -1070710752 and return is 0
    [    4.249806] (NULL device *): SANJU, Done with Display Init Check for logsConsole: switching to colour frame6
    [    4.349805] graphics fb0: fb_ph128160 frame buffer, 162x128, 40 KiB video memory, 4 KiB DMA buffer memory, 0
    [    4.359230] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    4.366746] omap_uart 44e09000.serial: no wakeirq for uart0
    [    4.367069] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [    5.331682] console [ttyO0] enabled
    [    5.336959] omap_uart 48024000.serial: no wakeirq for uart0
    [    5.343459] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
    [    5.356351] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    5.364336] [drm] Initialized drm 1.1.0 20060810
    [    5.402580] brd: module loaded
    [    5.419926] loop: module loaded
    [    5.424092] (hci_tty): inside hci_tty_init
    [    5.429550] (hci_tty): allocated 249, 0
    [    5.440136] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    5.456713] usbcore: registered new interface driver asix
    [    5.463043] usbcore: registered new interface driver ax88179_178a
    [    5.470016] usbcore: registered new interface driver cdc_ether
    [    5.476734] usbcore: registered new interface driver smsc95xx
    [    5.483230] usbcore: registered new interface driver net1080
    [    5.489720] usbcore: registered new interface driver cdc_subset
    [    5.496402] usbcore: registered new interface driver zaurus
    [    5.502792] usbcore: registered new interface driver cdc_ncm
    [    5.510019] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.516888] ehci-pci: EHCI PCI platform driver
    [    5.522095] ehci-omap: OMAP-EHCI Host Controller driver
    [    5.528742] usbcore: registered new interface driver cdc_wdm
    [    5.535254] usbcore: registered new interface driver usb-storage
    [    5.544354] mousedev: PS/2 mouse device common for all mice
    [    5.554907] i2c-core: driver [rtc-ds1307] using legacy suspend method
    [    5.561776] i2c-core: driver [rtc-ds1307] using legacy resume method
    [    5.570141] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    5.579576] i2c /dev entries driver
    [    5.583625] Driver for 1-wire Dallas network protocol.
    [    5.600082] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    5.610680] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [    5.622744] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [    5.630291] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [    5.643211] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    5.652152] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [    5.659300] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    [    5.674468] ledtrig-cpu: registered to indicate activity on CPUs
    [    5.681638] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    5.690496] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    5.700194] usbcore: registered new interface driver usbhid
    [    5.706066] usbhid: USB HID core driver
    [    5.710742] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [    5.725384] oprofile: using arm/armv7
    [    5.730118] TCP: cubic registered
    [    5.733614] Initializing XFRM netlink socket
    [    5.738159] NET: Registered protocol family 17
    [    5.743101] NET: Registered protocol family 15
    [    5.748006] Key type dns_resolver registered
    [    5.754163] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [    5.763415] cpu cpu0: cpu0 clock notifier not ready, retry
    [    5.769409] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    5.778543] PM: bootloader does not support rtc-only!
    [    5.784102] ThumbEE CPU extension supported.
    [    5.794815] Registering SWP/SWPB emulation handler
    [    5.803307] lis3_reg: disabling
    [    5.806634] vbat: disabling
    [    5.809813] regulator-dummy: disabling
    [    5.818035] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    5.823572] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    5.832218] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    5.839007] nand: Micron MT29F2G08ABAEAWP
    [    5.843232] nand: 256MiB, SLC, page size: 2048, OOB size: 64
    [    5.849206] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    5.855155] 10 ofpart partitions found on MTD device omap2-nand.0
    [    5.861608] Creating 10 MTD partitions on "omap2-nand.0":
    [    5.867302] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    5.876801] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    5.886732] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    5.896698] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    5.906646] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    5.916679] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    5.926770] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    5.936453] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    5.947044] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    5.963209] 0x000000a00000-0x000010000000 : "NAND.rootfs"
    [    6.192317] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [    6.202269] tps65910 1-002d: No interrupt support, no core IRQ
    [    6.215144] vrtc: 1800 mV
    [    6.218493] vrtc: supplied by vbat
    [    6.224834] vio: at 1500 mV
    [    6.228067] vio: supplied by vbat
    [    6.234451] vdd_mpu: 912 <--> 1375 mV at 1100 mV
    [    6.239638] vdd_mpu: supplied by vbat
    [    6.246323] vdd_core: 912 <--> 1150 mV at 1100 mV
    [    6.251588] vdd_core: supplied by vbat
    [    6.257781] vdd3: 5000 mV
    [    6.269099] vdig1: at 1800 mV
    [    6.272520] vdig1: supplied by vbat
    [    6.278518] vdig2: at 1800 mV
    [    6.281987] vdig2: supplied by vbat
    [    6.287915] vpll: at 1800 mV
    [    6.291271] vpll: supplied by vbat
    [    6.297142] vdac: at 1800 mV
    [    6.300476] vdac: supplied by vbat
    [    6.306316] vaux1: at 1800 mV
    [    6.309738] vaux1: supplied by vbat
    [    6.315637] vaux2: at 3300 mV
    [    6.319066] vaux2: supplied by vbat
    [    6.324965] vaux33: at 3300 mV
    [    6.328432] vaux33: supplied by vbat
    [    6.334399] vmmc: 1800 <--> 3300 mV at 3300 mV
    [    6.339485] vmmc: supplied by vbat
    [    6.344868] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    6.351856] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [    6.363917] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [    6.371465] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [    6.384377] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    6.400063] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [    6.412133] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [    6.419669] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [    6.432567] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    6.440394] omap_hsmmc 48060000.mmc: pins are not configured from the driver
    [    6.481238]  remoteproc0: wkup_m3 is available
    [    6.485935]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    6.495425]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guar.
    [    6.508703]  remoteproc0: Direct firmware load failed with error -2
    [    6.515299]  remoteproc0: Falling back to user helper
    [    6.565900] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    6.576402] mmc0: new high speed SDHC card at address b368
    [    6.583031] mmcblk0: mmc0:b368 NCard 3.69 GiB
    [    6.592406] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    6.598872] davinci_mdio 4a101000.mdio: no live phy, scanning all
    [    6.606131] davinci_mdio: probe of 4a101000.mdio failed with error -5
    [    6.613370]  mmcblk0: p1 p2
    [    6.619212] cpsw 4a100000.ethernet: Missing slave[0] phy_id property
    [    6.625932] cpsw 4a100000.ethernet: cpsw: platform data missing
    [    6.634810] input: gpio_buttons.8 as /devices/gpio_buttons.8/input/input0
    [    6.643067] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:02 UTC (946684802)
    [    6.656258] ALSA device list:
    [    6.659501]   No soundcards found.
    [    6.678287] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    6.687003] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    6.697716] devtmpfs: mounted
    [    6.701473] Freeing unused kernel memory: 268K (c07cb000 - c080e000)
    INIT: version 2.88 booting
    Starting udev
    [    7.810003] udevd[898]: starting version 182
    [    8.314700]  remoteproc0: powering up wkup_m3
    [    8.359716]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
    [    8.368084] PM: CM3 Firmware Version = 0x190
    [    8.429963] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    8.496118] 0-0018 supply HPVDD not found, using dummy regulator
    [    8.514607]  remoteproc0: remote processor wkup_m3 is now up
    [    8.602867] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    8.636339] 0-0018 supply SPRVDD not found, using dummy regulator
    [    8.669111] 0-0018 supply SPLVDD not found, using dummy regulator
    [    8.689176] cryptodev: driver 1.6 loaded.
    [    9.166142] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [    9.438015] PVR: PVRCore_Init
    [    9.467383] PVR: PVRSRVDriverProbe(pDevice=cf0d1c00)
    [    9.490288] omap_hwmod: gfx: failed to hardreset
    [    9.495178] pvrsrvkm 56000000.sgx: Unable to reset SGX!
    [    9.547310] PVR: SGX register base: 0x56000000
    [    9.552178] PVR: SGX register size: 16777215
    [    9.556685] PVR: SGX IRQ: 53
    Starting Bootlog daemon: [    9.636961] PVR: EnableSystemClocks: Enabling System Clocks
    [    9.668572] PVR: GPTIMER11 clock is 24MHz
    [    9.692836] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa04a054
    [    9.700946] Internal error: : 1028 [#1] ARM
    [    9.705358] Modules linked in: pvrsrvkm(O+) cryptodev(O) snd_soc_davinci_mcasp snd_soc_tlv320aic31xx musb_ax
    [    9.716136] CPU: 0 PID: 920 Comm: udevd Tainted: G           O 3.14.26-gb9df364-dirty #2
    [    9.724667] task: cf4ba800 ti: cf4da000 task.ti: cf4da000
    [    9.730902] PC is at AcquireGPTimer+0x158/0x250 [pvrsrvkm]
    [    9.736865] LR is at OSMapPhysToLin+0xb8/0xec [pvrsrvkm]
    [    9.742466] pc : [<bf069a30>]    lr : [<bf04bd4c>]    psr: a00f0013
    [    9.742466] sp : cf4dbbf8  ip : cf4dbbc8  fp : cf4dbc34
    [    9.754560] r10: c0078144  r9 : cf4da000  r8 : 00000014
    [    9.760063] r7 : bf07ced4  r6 : 00000000  r5 : bf07ced4  r4 : cf0d1c10
    [    9.766939] r3 : fa04a054  r2 : cf6e2458  r1 : 00000000  r0 : fa04a054
    [    9.773819] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    9.781338] Control: 10c5387d  Table: 8f51c019  DAC: 00000015
    [    9.787392] Process udevd (pid: 920, stack limit = 0xcf4da238)
    [    9.793537] Stack: (0xcf4dbbf8 to 0xcf4dc000)
    [    9.798130] bbe0:                                                       600f0013 bf07ecb4
    [    9.806752] bc00: 600f0013 bf07fe44 cf6e2458 4804a054 cf00bd00 fa04a054 00000000 016e3600
    [    9.815374] bc20: cf00bd00 bf041550 cf4dbc54 cf4dbc38 bf069c34 bf0698e4 bf053500 bf07fd18
    [    9.823995] bc40: cf5ea440 bf07fe44 cf4dbc9c cf4dbc58 bf06a590 bf069bc4 bf07ced4 00000000
    [    9.832615] bc60: cf4dbc90 cf4dbc70 c035f4ac bf07fd18 00000000 bf07fd18 cc376800 cf5ea4d4
    [    9.841237] bc80: bf07feb4 00000000 00000000 0000000b cf4dbcc4 cf4dbca0 bf048404 bf069fb4
    [    9.849857] bca0: cf4dbcbc cf0d1c00 00000000 fffffff0 c0826478 cf0d1c10 cf4dbcdc cf4dbcc8
    [    9.858479] bcc0: c0363e00 bf048330 c0896568 cf0d1c10 cf4dbd04 cf4dbce0 c0362928 c0363dec
    [    9.867100] bce0: 00000000 cf0d1c10 bf07ced4 cf0d1c44 00000000 bf098000 cf4dbd24 cf4dbd08
    [    9.875722] bd00: c0362ae0 c0362824 cf0c73bc 00000000 bf07ced4 c0362a4c cf4dbd4c cf4dbd28
    [    9.884343] bd20: c0361068 c0362a58 cf068d8c cf0c73b0 cf69a3b4 bf07ced4 cf69a380 c0846cc8
    [    9.892965] bd40: cf4dbd5c cf4dbd50 c0362420 c0361018 cf4dbd84 cf4dbd60 c0362028 c0362408
    [    9.901586] bd60: bf074ae4 cf4dbd70 bf07ced4 bf07d024 00000000 cc348cc0 cf4dbd9c cf4dbd88
    [    9.910208] bd80: c0363164 c0361f58 cf4dbf48 bf07d024 cf4dbdac cf4dbda0 c0363d54 c03630f0
    [    9.918829] bda0: cf4dbdf4 cf4dbdb0 bf0980b0 c0363d10 cfd713c0 c0863564 cf4dbddc cf4dbdc8
    [    9.927451] bdc0: c05b2778 c05b1534 c0091ee4 ffffffff cf4dbdec cf4dbde0 c0091edc c05b2620
    [    9.936072] bde0: cf4dbe1c cf4dbdf0 cf4dbe84 cf4dbdf8 c00088b8 bf09800c 00000000 00000000
    [    9.944694] be00: bf07d018 00000000 bf07d018 c0078144 cf4dbe44 cf4dbe20 c05b54a8 c05b5da0
    [    9.953314] be20: ffffffff c0829bb0 cf4dbe44 cf4dbe38 c005dc80 c005e8b0 cf4dbe6c cf4dbe48
    [    9.961936] be40: c0054844 c005dc7c 00000000 cf4dbe58 cf4dbf48 bf07d024 00000001 cf4dbf48
    [    9.970557] be60: bf07d024 00000001 cc348cc0 00000001 bf07d018 c0078144 cf4dbf44 cf4dbe88
    [    9.979180] be80: c007a8bc c00087d0 bf07d024 00007fff c007836c 00000000 cf4dbec4 d0b3b000
    [    9.987802] bea0: 00000000 bf07d024 00000000 d0dcebe4 cf4dbedc cf4da000 bf07d060 bf07d144
    [    9.996426] bec0: c0077f80 c079ff8c d0b3b000 00359c0f 00035f18 00000000 0b300002 bf06b3c0
    [   10.005046] bee0: 00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [   10.013667] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00001ad8 00000000
    [   10.022291] bf20: 00000005 b6f1fb80 0000017b c000e964 cf4da000 00000000 cf4dbfa4 cf4dbf48
    [   10.030916] bf40: c007b0f4 c0079260 d0b3b000 00359c0f d0dce504 d0dce372 d0e8eb34 0005ef30
    [   10.039540] bf60: 0006d8c0 00000000 00000000 00000000 0000002c 0000002d 00000017 00000014
    [   10.048164] bf80: 0000000e 00000000 00000000 00000000 00000000 00000000 00000000 cf4dbfa8
    [   10.056785] bfa0: c000e7e0 c007b094 00000000 00000000 00000005 b6f1fb80 00000000 00000000
    [   10.065408] bfc0: 00000000 00000000 00000000 0000017b b6f1fb80 00000000 0003ef70 00043a28
    [   10.074030] bfe0: bea45a60 bea45a50 b6f17bc4 4cd6dce0 800f0010 00000005 00000000 00000000
    [   10.082641] Backtrace:
    [   10.085620] [<bf0698d8>] (AcquireGPTimer [pvrsrvkm]) from [<bf069c34>] (EnableSystemClocks+0x7c/0x8c [pvrsr)
    [   10.096715] [<bf069bb8>] (EnableSystemClocks [pvrsrvkm]) from [<bf06a590>] (SysInitialise+0x5e8/0x7bc [pvrs)
    [   10.107855] [<bf069fa8>] (SysInitialise [pvrsrvkm]) from [<bf048404>] (PVRSRVDriverProbe+0xe0/0x108 [pvrsrv)
    [   10.118651] [<bf048324>] (PVRSRVDriverProbe [pvrsrvkm]) from [<c0363e00>] (platform_drv_probe+0x20/0x50)
    [   10.128650] [<c0363de0>] (platform_drv_probe) from [<c0362928>] (driver_probe_device+0x110/0x234)
    [   10.137996]  r5:cf0d1c10 r4:c0896568
    [   10.141781] [<c0362818>] (driver_probe_device) from [<c0362ae0>] (__driver_attach+0x94/0x98)
    [   10.150669]  r8:bf098000 r7:00000000 r6:cf0d1c44 r5:bf07ced4 r4:cf0d1c10 r3:00000000
    [   10.158866] [<c0362a4c>] (__driver_attach) from [<c0361068>] (bus_for_each_dev+0x5c/0x90)
    [   10.167478]  r6:c0362a4c r5:bf07ced4 r4:00000000 r3:cf0c73bc
    [   10.173468] [<c036100c>] (bus_for_each_dev) from [<c0362420>] (driver_attach+0x24/0x28)
    [   10.181898]  r6:c0846cc8 r5:cf69a380 r4:bf07ced4
    [   10.186784] [<c03623fc>] (driver_attach) from [<c0362028>] (bus_add_driver+0xdc/0x1d8)
    [   10.195132] [<c0361f4c>] (bus_add_driver) from [<c0363164>] (driver_register+0x80/0xfc)
    [   10.203562]  r7:cc348cc0 r6:00000000 r5:bf07d024 r4:bf07ced4
    [   10.209554] [<c03630e4>] (driver_register) from [<c0363d54>] (__platform_driver_register+0x50/0x64)
    [   10.219083]  r5:bf07d024 r4:cf4dbf48
    [   10.222988] [<c0363d04>] (__platform_driver_register) from [<bf0980b0>] (PVRCore_Init+0xb0/0x344 [pvrsrvkm])
    [   10.233466] [<bf098000>] (PVRCore_Init [pvrsrvkm]) from [<c00088b8>] (do_one_initcall+0xf4/0x150)
    [   10.242837] [<c00087c4>] (do_one_initcall) from [<c007a8bc>] (load_module+0x1668/0x1d40)
    [   10.251358]  r10:c0078144 r9:bf07d018 r8:00000001 r7:cc348cc0 r6:00000001 r5:bf07d024
    [   10.259637]  r4:cf4dbf48
    [   10.262318] [<c0079254>] (load_module) from [<c007b0f4>] (SyS_finit_module+0x6c/0x78)
    [   10.270566]  r10:00000000 r9:cf4da000 r8:c000e964 r7:0000017b r6:b6f1fb80 r5:00000005
    [   10.278843]  r4:00000000
    [   10.281530] [<c007b088>] (SyS_finit_module) from [<c000e7e0>] (ret_fast_syscall+0x0/0x30)
    [   10.290143]  r6:00000000 r5:00000000 r4:00000000
    [   10.295028] Code: e34b3f07 ebff5f2d ea000030 e51b3020 (e5933000)
    [   10.301456] ---[ end trace 3a60b4d80fdbae42 ]---

     

    Let me know if I am missing any thing above.

  • I have built the SGX. Still I face the PVR crash. 

    Procedure I followed till now.

    This is my Rules.make
    ===============================================================================================
    HOME=/home/vk18434
    GRAPHICS_INSTALL_DIR=/home/vk18434/Graphics_SDK_5_01_01_02

    # Set Toolchain path (ex /home/user/toolchain/arago-2011.09/armv7a)
    CSTOOL_DIR=/home/vk18434/ti-processor-sdk-linux-am335x-evm-01.00.00.00/linux-devkit/sysroots/i686-arago-linux/

    # Set Tool chain prefix (ex arm-arago-linux-gnueabi- )
    CSTOOL_PREFIX=arm-linux-gnueabihf-

    # Set kernel installation path ( ex /home/user/linux-04.00.01.13 )
    KERNEL_INSTALL_DIR=/home/vk18434/ti-processor-sdk-linux-am335x-evm-01.00.00.00/board-support/linux-3.14.26-g2489c02

    # Set Target filesystem path ( ex /home/user/targetfs ) TARGETFS_INSTALL_DIR=/media/vk18434/rootfs/

    # Set installation folder
    GRAPHICS_INSTALL_DIR=$(HOME)/Graphics_SDK_5_01_01_02/
    ===============================================================================================

    These are my build procedure.

    # make BUILD=debug OMAPES=8.x FBDEV=yes all_km
    # sudo make BUILD=debug OMAPES=8.x EGLIMAGE=1 install_km (this is not installing the .ko in sd card)


    So I am manually copying (pvrsrvkm.ko) it from this /home/vk18434/Graphics_SDK_5_01_01_02/GFX_Linux_KM to  

    /rootfs/lib/modules/3.14.26-gb9df364-dirty/extra/

     

    [    0.935559] fb_ph128160 itdb28.9:  Dev Dev fbtft_probe_common()
    [    0.935606] fb_ph128160 itdb28.9: fbtft_probe_common()
    [    0.935656] fbtft_of_value: buswidth = 8
    [    0.935682] fbtft_of_value: debug = 1
    [    0.935702] fbtft_of_value: rotate = 90
    [    0.935998] fb_ph128160 itdb28.9: FBTFT Registering Write Resigter with 8 and 8
    [    0.936274] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'dc-gpios' = GPIO86
    [    0.936360] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'rd-gpios' = GPIO88
    [    0.936432] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'wr-gpios' = GPIO87
    [    0.936502] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'cs-gpios' = GPIO89
    [    0.936575] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO70
    [    0.936651] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO71
    [    0.936731] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO72
    [    0.936813] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO73
    [    0.936898] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO74
    [    0.936988] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO75
    [    0.937082] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO76
    [    0.937179] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO77
    [    0.937683] fb_ph128160 itdb28.9: SANJU Init Display called making RD as High
    [    2.593784] (NULL device *): SANJU, Calling init Display -1070710752 and return is 0
    [    2.593818] fb_ph128160 itdb28.9: SANJU Init Display called making RD as High
    [    4.249772] (NULL device *): SANJU, Calling init Display -1070710752 and return is 0
    [    4.249806] (NULL device *): SANJU, Done with Display Init Check for logsConsole: switching to colour frame6
    [    4.349805] graphics fb0: fb_ph128160 frame buffer, 162x128, 40 KiB video memory, 4 KiB DMA buffer memory, 0
    [    4.359230] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    4.366746] omap_uart 44e09000.serial: no wakeirq for uart0
    [    4.367069] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [    5.331682] console [ttyO0] enabled
    [    5.336959] omap_uart 48024000.serial: no wakeirq for uart0
    [    5.343459] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
    [    5.356351] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    5.364336] [drm] Initialized drm 1.1.0 20060810
    [    5.402580] brd: module loaded
    [    5.419926] loop: module loaded
    [    5.424092] (hci_tty): inside hci_tty_init
    [    5.429550] (hci_tty): allocated 249, 0
    [    5.440136] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    5.456713] usbcore: registered new interface driver asix
    [    5.463043] usbcore: registered new interface driver ax88179_178a
    [    5.470016] usbcore: registered new interface driver cdc_ether
    [    5.476734] usbcore: registered new interface driver smsc95xx
    [    5.483230] usbcore: registered new interface driver net1080
    [    5.489720] usbcore: registered new interface driver cdc_subset
    [    5.496402] usbcore: registered new interface driver zaurus
    [    5.502792] usbcore: registered new interface driver cdc_ncm
    [    5.510019] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.516888] ehci-pci: EHCI PCI platform driver
    [    5.522095] ehci-omap: OMAP-EHCI Host Controller driver
    [    5.528742] usbcore: registered new interface driver cdc_wdm
    [    5.535254] usbcore: registered new interface driver usb-storage
    [    5.544354] mousedev: PS/2 mouse device common for all mice
    [    5.554907] i2c-core: driver [rtc-ds1307] using legacy suspend method
    [    5.561776] i2c-core: driver [rtc-ds1307] using legacy resume method
    [    5.570141] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    5.579576] i2c /dev entries driver
    [    5.583625] Driver for 1-wire Dallas network protocol.
    [    5.600082] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    5.610680] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [    5.622744] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [    5.630291] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [    5.643211] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    5.652152] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [    5.659300] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    [    5.674468] ledtrig-cpu: registered to indicate activity on CPUs
    [    5.681638] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    5.690496] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    5.700194] usbcore: registered new interface driver usbhid
    [    5.706066] usbhid: USB HID core driver
    [    5.710742] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [    5.725384] oprofile: using arm/armv7
    [    5.730118] TCP: cubic registered
    [    5.733614] Initializing XFRM netlink socket
    [    5.738159] NET: Registered protocol family 17
    [    5.743101] NET: Registered protocol family 15
    [    5.748006] Key type dns_resolver registered
    [    5.754163] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [    5.763415] cpu cpu0: cpu0 clock notifier not ready, retry
    [    5.769409] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    5.778543] PM: bootloader does not support rtc-only!
    [    5.784102] ThumbEE CPU extension supported.
    [    5.794815] Registering SWP/SWPB emulation handler
    [    5.803307] lis3_reg: disabling
    [    5.806634] vbat: disabling
    [    5.809813] regulator-dummy: disabling
    [    5.818035] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    5.823572] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    5.832218] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    5.839007] nand: Micron MT29F2G08ABAEAWP
    [    5.843232] nand: 256MiB, SLC, page size: 2048, OOB size: 64
    [    5.849206] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    5.855155] 10 ofpart partitions found on MTD device omap2-nand.0
    [    5.861608] Creating 10 MTD partitions on "omap2-nand.0":
    [    5.867302] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    5.876801] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    5.886732] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    5.896698] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    5.906646] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    5.916679] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    5.926770] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    5.936453] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    5.947044] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    5.963209] 0x000000a00000-0x000010000000 : "NAND.rootfs"
    [    6.192317] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [    6.202269] tps65910 1-002d: No interrupt support, no core IRQ
    [    6.215144] vrtc: 1800 mV
    [    6.218493] vrtc: supplied by vbat
    [    6.224834] vio: at 1500 mV
    [    6.228067] vio: supplied by vbat
    [    6.234451] vdd_mpu: 912 <--> 1375 mV at 1100 mV
    [    6.239638] vdd_mpu: supplied by vbat
    [    6.246323] vdd_core: 912 <--> 1150 mV at 1100 mV
    [    6.251588] vdd_core: supplied by vbat
    [    6.257781] vdd3: 5000 mV
    [    6.269099] vdig1: at 1800 mV
    [    6.272520] vdig1: supplied by vbat
    [    6.278518] vdig2: at 1800 mV
    [    6.281987] vdig2: supplied by vbat
    [    6.287915] vpll: at 1800 mV
    [    6.291271] vpll: supplied by vbat
    [    6.297142] vdac: at 1800 mV
    [    6.300476] vdac: supplied by vbat
    [    6.306316] vaux1: at 1800 mV
    [    6.309738] vaux1: supplied by vbat
    [    6.315637] vaux2: at 3300 mV
    [    6.319066] vaux2: supplied by vbat
    [    6.324965] vaux33: at 3300 mV
    [    6.328432] vaux33: supplied by vbat
    [    6.334399] vmmc: 1800 <--> 3300 mV at 3300 mV
    [    6.339485] vmmc: supplied by vbat
    [    6.344868] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [    6.351856] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [    6.363917] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [    6.371465] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [    6.384377] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    6.400063] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [    6.412133] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [    6.419669] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [    6.432567] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [    6.440394] omap_hsmmc 48060000.mmc: pins are not configured from the driver
    [    6.481238]  remoteproc0: wkup_m3 is available
    [    6.485935]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    6.495425]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guar.
    [    6.508703]  remoteproc0: Direct firmware load failed with error -2
    [    6.515299]  remoteproc0: Falling back to user helper
    [    6.565900] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    6.576402] mmc0: new high speed SDHC card at address b368
    [    6.583031] mmcblk0: mmc0:b368 NCard 3.69 GiB
    [    6.592406] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    6.598872] davinci_mdio 4a101000.mdio: no live phy, scanning all
    [    6.606131] davinci_mdio: probe of 4a101000.mdio failed with error -5
    [    6.613370]  mmcblk0: p1 p2
    [    6.619212] cpsw 4a100000.ethernet: Missing slave[0] phy_id property
    [    6.625932] cpsw 4a100000.ethernet: cpsw: platform data missing
    [    6.634810] input: gpio_buttons.8 as /devices/gpio_buttons.8/input/input0
    [    6.643067] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:02 UTC (946684802)
    [    6.656258] ALSA device list:
    [    6.659501]   No soundcards found.
    [    6.678287] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    6.687003] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    6.697716] devtmpfs: mounted
    [    6.701473] Freeing unused kernel memory: 268K (c07cb000 - c080e000)
    INIT: version 2.88 booting
    Starting udev
    [    7.810003] udevd[898]: starting version 182
    [    8.314700]  remoteproc0: powering up wkup_m3
    [    8.359716]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
    [    8.368084] PM: CM3 Firmware Version = 0x190
    [    8.429963] 47401300.usb-phy supply vcc not found, using dummy regulator
    [    8.496118] 0-0018 supply HPVDD not found, using dummy regulator
    [    8.514607]  remoteproc0: remote processor wkup_m3 is now up
    [    8.602867] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [    8.636339] 0-0018 supply SPRVDD not found, using dummy regulator
    [    8.669111] 0-0018 supply SPLVDD not found, using dummy regulator
    [    8.689176] cryptodev: driver 1.6 loaded.
    [    9.166142] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [    9.438015] PVR: PVRCore_Init
    [    9.467383] PVR: PVRSRVDriverProbe(pDevice=cf0d1c00)
    [    9.490288] omap_hwmod: gfx: failed to hardreset
    [    9.495178] pvrsrvkm 56000000.sgx: Unable to reset SGX!
    [    9.547310] PVR: SGX register base: 0x56000000
    [    9.552178] PVR: SGX register size: 16777215
    [    9.556685] PVR: SGX IRQ: 53
    Starting Bootlog daemon: [    9.636961] PVR: EnableSystemClocks: Enabling System Clocks
    [    9.668572] PVR: GPTIMER11 clock is 24MHz
    [    9.692836] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa04a054
    [    9.700946] Internal error: : 1028 [#1] ARM
    [    9.705358] Modules linked in: pvrsrvkm(O+) cryptodev(O) snd_soc_davinci_mcasp snd_soc_tlv320aic31xx musb_ax
    [    9.716136] CPU: 0 PID: 920 Comm: udevd Tainted: G           O 3.14.26-gb9df364-dirty #2
    [    9.724667] task: cf4ba800 ti: cf4da000 task.ti: cf4da000
    [    9.730902] PC is at AcquireGPTimer+0x158/0x250 [pvrsrvkm]
    [    9.736865] LR is at OSMapPhysToLin+0xb8/0xec [pvrsrvkm]
    [    9.742466] pc : [<bf069a30>]    lr : [<bf04bd4c>]    psr: a00f0013
    [    9.742466] sp : cf4dbbf8  ip : cf4dbbc8  fp : cf4dbc34
    [    9.754560] r10: c0078144  r9 : cf4da000  r8 : 00000014
    [    9.760063] r7 : bf07ced4  r6 : 00000000  r5 : bf07ced4  r4 : cf0d1c10
    [    9.766939] r3 : fa04a054  r2 : cf6e2458  r1 : 00000000  r0 : fa04a054
    [    9.773819] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    9.781338] Control: 10c5387d  Table: 8f51c019  DAC: 00000015
    [    9.787392] Process udevd (pid: 920, stack limit = 0xcf4da238)
    [    9.793537] Stack: (0xcf4dbbf8 to 0xcf4dc000)
    [    9.798130] bbe0:                                                       600f0013 bf07ecb4
    [    9.806752] bc00: 600f0013 bf07fe44 cf6e2458 4804a054 cf00bd00 fa04a054 00000000 016e3600
    [    9.815374] bc20: cf00bd00 bf041550 cf4dbc54 cf4dbc38 bf069c34 bf0698e4 bf053500 bf07fd18
    [    9.823995] bc40: cf5ea440 bf07fe44 cf4dbc9c cf4dbc58 bf06a590 bf069bc4 bf07ced4 00000000
    [    9.832615] bc60: cf4dbc90 cf4dbc70 c035f4ac bf07fd18 00000000 bf07fd18 cc376800 cf5ea4d4
    [    9.841237] bc80: bf07feb4 00000000 00000000 0000000b cf4dbcc4 cf4dbca0 bf048404 bf069fb4
    [    9.849857] bca0: cf4dbcbc cf0d1c00 00000000 fffffff0 c0826478 cf0d1c10 cf4dbcdc cf4dbcc8
    [    9.858479] bcc0: c0363e00 bf048330 c0896568 cf0d1c10 cf4dbd04 cf4dbce0 c0362928 c0363dec
    [    9.867100] bce0: 00000000 cf0d1c10 bf07ced4 cf0d1c44 00000000 bf098000 cf4dbd24 cf4dbd08
    [    9.875722] bd00: c0362ae0 c0362824 cf0c73bc 00000000 bf07ced4 c0362a4c cf4dbd4c cf4dbd28
    [    9.884343] bd20: c0361068 c0362a58 cf068d8c cf0c73b0 cf69a3b4 bf07ced4 cf69a380 c0846cc8
    [    9.892965] bd40: cf4dbd5c cf4dbd50 c0362420 c0361018 cf4dbd84 cf4dbd60 c0362028 c0362408
    [    9.901586] bd60: bf074ae4 cf4dbd70 bf07ced4 bf07d024 00000000 cc348cc0 cf4dbd9c cf4dbd88
    [    9.910208] bd80: c0363164 c0361f58 cf4dbf48 bf07d024 cf4dbdac cf4dbda0 c0363d54 c03630f0
    [    9.918829] bda0: cf4dbdf4 cf4dbdb0 bf0980b0 c0363d10 cfd713c0 c0863564 cf4dbddc cf4dbdc8
    [    9.927451] bdc0: c05b2778 c05b1534 c0091ee4 ffffffff cf4dbdec cf4dbde0 c0091edc c05b2620
    [    9.936072] bde0: cf4dbe1c cf4dbdf0 cf4dbe84 cf4dbdf8 c00088b8 bf09800c 00000000 00000000
    [    9.944694] be00: bf07d018 00000000 bf07d018 c0078144 cf4dbe44 cf4dbe20 c05b54a8 c05b5da0
    [    9.953314] be20: ffffffff c0829bb0 cf4dbe44 cf4dbe38 c005dc80 c005e8b0 cf4dbe6c cf4dbe48
    [    9.961936] be40: c0054844 c005dc7c 00000000 cf4dbe58 cf4dbf48 bf07d024 00000001 cf4dbf48
    [    9.970557] be60: bf07d024 00000001 cc348cc0 00000001 bf07d018 c0078144 cf4dbf44 cf4dbe88
    [    9.979180] be80: c007a8bc c00087d0 bf07d024 00007fff c007836c 00000000 cf4dbec4 d0b3b000
    [    9.987802] bea0: 00000000 bf07d024 00000000 d0dcebe4 cf4dbedc cf4da000 bf07d060 bf07d144
    [    9.996426] bec0: c0077f80 c079ff8c d0b3b000 00359c0f 00035f18 00000000 0b300002 bf06b3c0
    [   10.005046] bee0: 00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [   10.013667] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00001ad8 00000000
    [   10.022291] bf20: 00000005 b6f1fb80 0000017b c000e964 cf4da000 00000000 cf4dbfa4 cf4dbf48
    [   10.030916] bf40: c007b0f4 c0079260 d0b3b000 00359c0f d0dce504 d0dce372 d0e8eb34 0005ef30
    [   10.039540] bf60: 0006d8c0 00000000 00000000 00000000 0000002c 0000002d 00000017 00000014
    [   10.048164] bf80: 0000000e 00000000 00000000 00000000 00000000 00000000 00000000 cf4dbfa8
    [   10.056785] bfa0: c000e7e0 c007b094 00000000 00000000 00000005 b6f1fb80 00000000 00000000
    [   10.065408] bfc0: 00000000 00000000 00000000 0000017b b6f1fb80 00000000 0003ef70 00043a28
    [   10.074030] bfe0: bea45a60 bea45a50 b6f17bc4 4cd6dce0 800f0010 00000005 00000000 00000000
    [   10.082641] Backtrace:
    [   10.085620] [<bf0698d8>] (AcquireGPTimer [pvrsrvkm]) from [<bf069c34>] (EnableSystemClocks+0x7c/0x8c [pvrsr)
    [   10.096715] [<bf069bb8>] (EnableSystemClocks [pvrsrvkm]) from [<bf06a590>] (SysInitialise+0x5e8/0x7bc [pvrs)
    [   10.107855] [<bf069fa8>] (SysInitialise [pvrsrvkm]) from [<bf048404>] (PVRSRVDriverProbe+0xe0/0x108 [pvrsrv)
    [   10.118651] [<bf048324>] (PVRSRVDriverProbe [pvrsrvkm]) from [<c0363e00>] (platform_drv_probe+0x20/0x50)
    [   10.128650] [<c0363de0>] (platform_drv_probe) from [<c0362928>] (driver_probe_device+0x110/0x234)
    [   10.137996]  r5:cf0d1c10 r4:c0896568
    [   10.141781] [<c0362818>] (driver_probe_device) from [<c0362ae0>] (__driver_attach+0x94/0x98)
    [   10.150669]  r8:bf098000 r7:00000000 r6:cf0d1c44 r5:bf07ced4 r4:cf0d1c10 r3:00000000
    [   10.158866] [<c0362a4c>] (__driver_attach) from [<c0361068>] (bus_for_each_dev+0x5c/0x90)
    [   10.167478]  r6:c0362a4c r5:bf07ced4 r4:00000000 r3:cf0c73bc
    [   10.173468] [<c036100c>] (bus_for_each_dev) from [<c0362420>] (driver_attach+0x24/0x28)
    [   10.181898]  r6:c0846cc8 r5:cf69a380 r4:bf07ced4
    [   10.186784] [<c03623fc>] (driver_attach) from [<c0362028>] (bus_add_driver+0xdc/0x1d8)
    [   10.195132] [<c0361f4c>] (bus_add_driver) from [<c0363164>] (driver_register+0x80/0xfc)
    [   10.203562]  r7:cc348cc0 r6:00000000 r5:bf07d024 r4:bf07ced4
    [   10.209554] [<c03630e4>] (driver_register) from [<c0363d54>] (__platform_driver_register+0x50/0x64)
    [   10.219083]  r5:bf07d024 r4:cf4dbf48
    [   10.222988] [<c0363d04>] (__platform_driver_register) from [<bf0980b0>] (PVRCore_Init+0xb0/0x344 [pvrsrvkm])
    [   10.233466] [<bf098000>] (PVRCore_Init [pvrsrvkm]) from [<c00088b8>] (do_one_initcall+0xf4/0x150)
    [   10.242837] [<c00087c4>] (do_one_initcall) from [<c007a8bc>] (load_module+0x1668/0x1d40)
    [   10.251358]  r10:c0078144 r9:bf07d018 r8:00000001 r7:cc348cc0 r6:00000001 r5:bf07d024
    [   10.259637]  r4:cf4dbf48
    [   10.262318] [<c0079254>] (load_module) from [<c007b0f4>] (SyS_finit_module+0x6c/0x78)
    [   10.270566]  r10:00000000 r9:cf4da000 r8:c000e964 r7:0000017b r6:b6f1fb80 r5:00000005
    [   10.278843]  r4:00000000
    [   10.281530] [<c007b088>] (SyS_finit_module) from [<c000e7e0>] (ret_fast_syscall+0x0/0x30)
    [   10.290143]  r6:00000000 r5:00000000 r4:00000000
    [   10.295028] Code: e34b3f07 ebff5f2d ea000030 e51b3020 (e5933000)
    [   10.301456] ---[ end trace 3a60b4d80fdbae42 ]---

     

    Let me know if I am missing any thing above

  • I have built the SGX. Still I face the PVR crash.

    Procedure I followed till now.

    This is my Rules.make
    ===============================================================================================
    HOME=/home/vk18434
    GRAPHICS_INSTALL_DIR=/home/vk18434/Graphics_SDK_5_01_01_02

    # Set Toolchain path (ex /home/user/toolchain/arago-2011.09/armv7a)
    CSTOOL_DIR=/home/vk18434/ti-processor-sdk-linux-am335x-evm-01.00.00.00/linux-devkit/sysroots/i686-arago-linux/

    # Set Tool chain prefix (ex arm-arago-linux-gnueabi- )
    CSTOOL_PREFIX=arm-linux-gnueabihf-

    # Set kernel installation path ( ex /home/user/linux-04.00.01.13 )
    KERNEL_INSTALL_DIR=/home/vk18434/ti-processor-sdk-linux-am335x-evm-01.00.00.00/board-support/linux-3.14.26-g2489c02

    # Set Target filesystem path ( ex /home/user/targetfs ) TARGETFS_INSTALL_DIR=/media/vk18434/rootfs/

    # Set installation folder
    GRAPHICS_INSTALL_DIR=$(HOME)/Graphics_SDK_5_01_01_02/
    ===============================================================================================

    These are my build procedure.

    # make BUILD=debug OMAPES=8.x FBDEV=yes all_km
    # sudo make BUILD=debug OMAPES=8.x EGLIMAGE=1 install_km (this is not installing the .ko in sd card)



    So I am manually copying (pvrsrvkm.ko) it from this /home/vk18434/Graphics_SDK_5_01_01_02/GFX_Linux_KM to

    /rootfs/lib/modules/3.14.26-gb9df364-dirty/extra/



    [ 0.935559] fb_ph128160 itdb28.9: Dev Dev fbtft_probe_common()
    [ 0.935606] fb_ph128160 itdb28.9: fbtft_probe_common()
    [ 0.935656] fbtft_of_value: buswidth = 8
    [ 0.935682] fbtft_of_value: debug = 1
    [ 0.935702] fbtft_of_value: rotate = 90
    [ 0.935998] fb_ph128160 itdb28.9: FBTFT Registering Write Resigter with 8 and 8
    [ 0.936274] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'dc-gpios' = GPIO86
    [ 0.936360] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'rd-gpios' = GPIO88
    [ 0.936432] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'wr-gpios' = GPIO87
    [ 0.936502] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'cs-gpios' = GPIO89
    [ 0.936575] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO70
    [ 0.936651] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO71
    [ 0.936731] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO72
    [ 0.936813] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO73
    [ 0.936898] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO74
    [ 0.936988] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO75
    [ 0.937082] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO76
    [ 0.937179] fb_ph128160 itdb28.9: fbtft_request_one_gpio: 'db-gpios' = GPIO77
    [ 0.937683] fb_ph128160 itdb28.9: SANJU Init Display called making RD as High
    [ 2.593784] (NULL device *): SANJU, Calling init Display -1070710752 and return is 0
    [ 2.593818] fb_ph128160 itdb28.9: SANJU Init Display called making RD as High
    [ 4.249772] (NULL device *): SANJU, Calling init Display -1070710752 and return is 0
    [ 4.249806] (NULL device *): SANJU, Done with Display Init Check for logsConsole: switching to colour frame6
    [ 4.349805] graphics fb0: fb_ph128160 frame buffer, 162x128, 40 KiB video memory, 4 KiB DMA buffer memory, 0
    [ 4.359230] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 4.366746] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 4.367069] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [ 5.331682] console [ttyO0] enabled
    [ 5.336959] omap_uart 48024000.serial: no wakeirq for uart0
    [ 5.343459] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
    [ 5.356351] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 5.364336] [drm] Initialized drm 1.1.0 20060810
    [ 5.402580] brd: module loaded
    [ 5.419926] loop: module loaded
    [ 5.424092] (hci_tty): inside hci_tty_init
    [ 5.429550] (hci_tty): allocated 249, 0
    [ 5.440136] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 5.456713] usbcore: registered new interface driver asix
    [ 5.463043] usbcore: registered new interface driver ax88179_178a
    [ 5.470016] usbcore: registered new interface driver cdc_ether
    [ 5.476734] usbcore: registered new interface driver smsc95xx
    [ 5.483230] usbcore: registered new interface driver net1080
    [ 5.489720] usbcore: registered new interface driver cdc_subset
    [ 5.496402] usbcore: registered new interface driver zaurus
    [ 5.502792] usbcore: registered new interface driver cdc_ncm
    [ 5.510019] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 5.516888] ehci-pci: EHCI PCI platform driver
    [ 5.522095] ehci-omap: OMAP-EHCI Host Controller driver
    [ 5.528742] usbcore: registered new interface driver cdc_wdm
    [ 5.535254] usbcore: registered new interface driver usb-storage
    [ 5.544354] mousedev: PS/2 mouse device common for all mice
    [ 5.554907] i2c-core: driver [rtc-ds1307] using legacy suspend method
    [ 5.561776] i2c-core: driver [rtc-ds1307] using legacy resume method
    [ 5.570141] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ 5.579576] i2c /dev entries driver
    [ 5.583625] Driver for 1-wire Dallas network protocol.
    [ 5.600082] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 5.610680] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [ 5.622744] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 5.630291] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [ 5.643211] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 5.652152] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [ 5.659300] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    [ 5.674468] ledtrig-cpu: registered to indicate activity on CPUs
    [ 5.681638] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 5.690496] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 5.700194] usbcore: registered new interface driver usbhid
    [ 5.706066] usbhid: USB HID core driver
    [ 5.710742] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [ 5.725384] oprofile: using arm/armv7
    [ 5.730118] TCP: cubic registered
    [ 5.733614] Initializing XFRM netlink socket
    [ 5.738159] NET: Registered protocol family 17
    [ 5.743101] NET: Registered protocol family 15
    [ 5.748006] Key type dns_resolver registered
    [ 5.754163] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [ 5.763415] cpu cpu0: cpu0 clock notifier not ready, retry
    [ 5.769409] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [ 5.778543] PM: bootloader does not support rtc-only!
    [ 5.784102] ThumbEE CPU extension supported.
    [ 5.794815] Registering SWP/SWPB emulation handler
    [ 5.803307] lis3_reg: disabling
    [ 5.806634] vbat: disabling
    [ 5.809813] regulator-dummy: disabling
    [ 5.818035] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 5.823572] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 5.832218] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [ 5.839007] nand: Micron MT29F2G08ABAEAWP
    [ 5.843232] nand: 256MiB, SLC, page size: 2048, OOB size: 64
    [ 5.849206] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 5.855155] 10 ofpart partitions found on MTD device omap2-nand.0
    [ 5.861608] Creating 10 MTD partitions on "omap2-nand.0":
    [ 5.867302] 0x000000000000-0x000000020000 : "NAND.SPL"
    [ 5.876801] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [ 5.886732] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [ 5.896698] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [ 5.906646] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [ 5.916679] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [ 5.926770] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [ 5.936453] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [ 5.947044] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [ 5.963209] 0x000000a00000-0x000010000000 : "NAND.rootfs"
    [ 6.192317] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [ 6.202269] tps65910 1-002d: No interrupt support, no core IRQ
    [ 6.215144] vrtc: 1800 mV
    [ 6.218493] vrtc: supplied by vbat
    [ 6.224834] vio: at 1500 mV
    [ 6.228067] vio: supplied by vbat
    [ 6.234451] vdd_mpu: 912 <--> 1375 mV at 1100 mV
    [ 6.239638] vdd_mpu: supplied by vbat
    [ 6.246323] vdd_core: 912 <--> 1150 mV at 1100 mV
    [ 6.251588] vdd_core: supplied by vbat
    [ 6.257781] vdd3: 5000 mV
    [ 6.269099] vdig1: at 1800 mV
    [ 6.272520] vdig1: supplied by vbat
    [ 6.278518] vdig2: at 1800 mV
    [ 6.281987] vdig2: supplied by vbat
    [ 6.287915] vpll: at 1800 mV
    [ 6.291271] vpll: supplied by vbat
    [ 6.297142] vdac: at 1800 mV
    [ 6.300476] vdac: supplied by vbat
    [ 6.306316] vaux1: at 1800 mV
    [ 6.309738] vaux1: supplied by vbat
    [ 6.315637] vaux2: at 3300 mV
    [ 6.319066] vaux2: supplied by vbat
    [ 6.324965] vaux33: at 3300 mV
    [ 6.328432] vaux33: supplied by vbat
    [ 6.334399] vmmc: 1800 <--> 3300 mV at 3300 mV
    [ 6.339485] vmmc: supplied by vbat
    [ 6.344868] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
    [ 6.351856] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [ 6.363917] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 6.371465] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [ 6.384377] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 6.400063] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [ 6.412133] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 6.419669] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [ 6.432567] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 6.440394] omap_hsmmc 48060000.mmc: pins are not configured from the driver
    [ 6.481238] remoteproc0: wkup_m3 is available
    [ 6.485935] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 6.495425] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guar.
    [ 6.508703] remoteproc0: Direct firmware load failed with error -2
    [ 6.515299] remoteproc0: Falling back to user helper
    [ 6.565900] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 6.576402] mmc0: new high speed SDHC card at address b368
    [ 6.583031] mmcblk0: mmc0:b368 NCard 3.69 GiB
    [ 6.592406] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 6.598872] davinci_mdio 4a101000.mdio: no live phy, scanning all
    [ 6.606131] davinci_mdio: probe of 4a101000.mdio failed with error -5
    [ 6.613370] mmcblk0: p1 p2
    [ 6.619212] cpsw 4a100000.ethernet: Missing slave[0] phy_id property
    [ 6.625932] cpsw 4a100000.ethernet: cpsw: platform data missing
    [ 6.634810] input: gpio_buttons.8 as /devices/gpio_buttons.8/input/input0
    [ 6.643067] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:02 UTC (946684802)
    [ 6.656258] ALSA device list:
    [ 6.659501] No soundcards found.
    [ 6.678287] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 6.687003] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 6.697716] devtmpfs: mounted
    [ 6.701473] Freeing unused kernel memory: 268K (c07cb000 - c080e000)
    INIT: version 2.88 booting
    Starting udev
    [ 7.810003] udevd[898]: starting version 182
    [ 8.314700] remoteproc0: powering up wkup_m3
    [ 8.359716] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
    [ 8.368084] PM: CM3 Firmware Version = 0x190
    [ 8.429963] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 8.496118] 0-0018 supply HPVDD not found, using dummy regulator
    [ 8.514607] remoteproc0: remote processor wkup_m3 is now up
    [ 8.602867] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 8.636339] 0-0018 supply SPRVDD not found, using dummy regulator
    [ 8.669111] 0-0018 supply SPLVDD not found, using dummy regulator
    [ 8.689176] cryptodev: driver 1.6 loaded.
    [ 9.166142] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [ 9.438015] PVR: PVRCore_Init
    [ 9.467383] PVR: PVRSRVDriverProbe(pDevice=cf0d1c00)
    [ 9.490288] omap_hwmod: gfx: failed to hardreset
    [ 9.495178] pvrsrvkm 56000000.sgx: Unable to reset SGX!
    [ 9.547310] PVR: SGX register base: 0x56000000
    [ 9.552178] PVR: SGX register size: 16777215
    [ 9.556685] PVR: SGX IRQ: 53
    Starting Bootlog daemon: [ 9.636961] PVR: EnableSystemClocks: Enabling System Clocks
    [ 9.668572] PVR: GPTIMER11 clock is 24MHz
    [ 9.692836] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa04a054
    [ 9.700946] Internal error: : 1028 [#1] ARM
    [ 9.705358] Modules linked in: pvrsrvkm(O+) cryptodev(O) snd_soc_davinci_mcasp snd_soc_tlv320aic31xx musb_ax
    [ 9.716136] CPU: 0 PID: 920 Comm: udevd Tainted: G O 3.14.26-gb9df364-dirty #2
    [ 9.724667] task: cf4ba800 ti: cf4da000 task.ti: cf4da000
    [ 9.730902] PC is at AcquireGPTimer+0x158/0x250 [pvrsrvkm]
    [ 9.736865] LR is at OSMapPhysToLin+0xb8/0xec [pvrsrvkm]
    [ 9.742466] pc : [<bf069a30>] lr : [<bf04bd4c>] psr: a00f0013
    [ 9.742466] sp : cf4dbbf8 ip : cf4dbbc8 fp : cf4dbc34
    [ 9.754560] r10: c0078144 r9 : cf4da000 r8 : 00000014
    [ 9.760063] r7 : bf07ced4 r6 : 00000000 r5 : bf07ced4 r4 : cf0d1c10
    [ 9.766939] r3 : fa04a054 r2 : cf6e2458 r1 : 00000000 r0 : fa04a054
    [ 9.773819] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 9.781338] Control: 10c5387d Table: 8f51c019 DAC: 00000015
    [ 9.787392] Process udevd (pid: 920, stack limit = 0xcf4da238)
    [ 9.793537] Stack: (0xcf4dbbf8 to 0xcf4dc000)
    [ 9.798130] bbe0: 600f0013 bf07ecb4
    [ 9.806752] bc00: 600f0013 bf07fe44 cf6e2458 4804a054 cf00bd00 fa04a054 00000000 016e3600
    [ 9.815374] bc20: cf00bd00 bf041550 cf4dbc54 cf4dbc38 bf069c34 bf0698e4 bf053500 bf07fd18
    [ 9.823995] bc40: cf5ea440 bf07fe44 cf4dbc9c cf4dbc58 bf06a590 bf069bc4 bf07ced4 00000000
    [ 9.832615] bc60: cf4dbc90 cf4dbc70 c035f4ac bf07fd18 00000000 bf07fd18 cc376800 cf5ea4d4
    [ 9.841237] bc80: bf07feb4 00000000 00000000 0000000b cf4dbcc4 cf4dbca0 bf048404 bf069fb4
    [ 9.849857] bca0: cf4dbcbc cf0d1c00 00000000 fffffff0 c0826478 cf0d1c10 cf4dbcdc cf4dbcc8
    [ 9.858479] bcc0: c0363e00 bf048330 c0896568 cf0d1c10 cf4dbd04 cf4dbce0 c0362928 c0363dec
    [ 9.867100] bce0: 00000000 cf0d1c10 bf07ced4 cf0d1c44 00000000 bf098000 cf4dbd24 cf4dbd08
    [ 9.875722] bd00: c0362ae0 c0362824 cf0c73bc 00000000 bf07ced4 c0362a4c cf4dbd4c cf4dbd28
    [ 9.884343] bd20: c0361068 c0362a58 cf068d8c cf0c73b0 cf69a3b4 bf07ced4 cf69a380 c0846cc8
    [ 9.892965] bd40: cf4dbd5c cf4dbd50 c0362420 c0361018 cf4dbd84 cf4dbd60 c0362028 c0362408
    [ 9.901586] bd60: bf074ae4 cf4dbd70 bf07ced4 bf07d024 00000000 cc348cc0 cf4dbd9c cf4dbd88
    [ 9.910208] bd80: c0363164 c0361f58 cf4dbf48 bf07d024 cf4dbdac cf4dbda0 c0363d54 c03630f0
    [ 9.918829] bda0: cf4dbdf4 cf4dbdb0 bf0980b0 c0363d10 cfd713c0 c0863564 cf4dbddc cf4dbdc8
    [ 9.927451] bdc0: c05b2778 c05b1534 c0091ee4 ffffffff cf4dbdec cf4dbde0 c0091edc c05b2620
    [ 9.936072] bde0: cf4dbe1c cf4dbdf0 cf4dbe84 cf4dbdf8 c00088b8 bf09800c 00000000 00000000
    [ 9.944694] be00: bf07d018 00000000 bf07d018 c0078144 cf4dbe44 cf4dbe20 c05b54a8 c05b5da0
    [ 9.953314] be20: ffffffff c0829bb0 cf4dbe44 cf4dbe38 c005dc80 c005e8b0 cf4dbe6c cf4dbe48
    [ 9.961936] be40: c0054844 c005dc7c 00000000 cf4dbe58 cf4dbf48 bf07d024 00000001 cf4dbf48
    [ 9.970557] be60: bf07d024 00000001 cc348cc0 00000001 bf07d018 c0078144 cf4dbf44 cf4dbe88
    [ 9.979180] be80: c007a8bc c00087d0 bf07d024 00007fff c007836c 00000000 cf4dbec4 d0b3b000
    [ 9.987802] bea0: 00000000 bf07d024 00000000 d0dcebe4 cf4dbedc cf4da000 bf07d060 bf07d144
    [ 9.996426] bec0: c0077f80 c079ff8c d0b3b000 00359c0f 00035f18 00000000 0b300002 bf06b3c0
    [ 10.005046] bee0: 00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 10.013667] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00001ad8 00000000
    [ 10.022291] bf20: 00000005 b6f1fb80 0000017b c000e964 cf4da000 00000000 cf4dbfa4 cf4dbf48
    [ 10.030916] bf40: c007b0f4 c0079260 d0b3b000 00359c0f d0dce504 d0dce372 d0e8eb34 0005ef30
    [ 10.039540] bf60: 0006d8c0 00000000 00000000 00000000 0000002c 0000002d 00000017 00000014
    [ 10.048164] bf80: 0000000e 00000000 00000000 00000000 00000000 00000000 00000000 cf4dbfa8
    [ 10.056785] bfa0: c000e7e0 c007b094 00000000 00000000 00000005 b6f1fb80 00000000 00000000
    [ 10.065408] bfc0: 00000000 00000000 00000000 0000017b b6f1fb80 00000000 0003ef70 00043a28
    [ 10.074030] bfe0: bea45a60 bea45a50 b6f17bc4 4cd6dce0 800f0010 00000005 00000000 00000000
    [ 10.082641] Backtrace:
    [ 10.085620] [<bf0698d8>] (AcquireGPTimer [pvrsrvkm]) from [<bf069c34>] (EnableSystemClocks+0x7c/0x8c [pvrsr)
    [ 10.096715] [<bf069bb8>] (EnableSystemClocks [pvrsrvkm]) from [<bf06a590>] (SysInitialise+0x5e8/0x7bc [pvrs)
    [ 10.107855] [<bf069fa8>] (SysInitialise [pvrsrvkm]) from [<bf048404>] (PVRSRVDriverProbe+0xe0/0x108 [pvrsrv)
    [ 10.118651] [<bf048324>] (PVRSRVDriverProbe [pvrsrvkm]) from [<c0363e00>] (platform_drv_probe+0x20/0x50)
    [ 10.128650] [<c0363de0>] (platform_drv_probe) from [<c0362928>] (driver_probe_device+0x110/0x234)
    [ 10.137996] r5:cf0d1c10 r4:c0896568
    [ 10.141781] [<c0362818>] (driver_probe_device) from [<c0362ae0>] (__driver_attach+0x94/0x98)
    [ 10.150669] r8:bf098000 r7:00000000 r6:cf0d1c44 r5:bf07ced4 r4:cf0d1c10 r3:00000000
    [ 10.158866] [<c0362a4c>] (__driver_attach) from [<c0361068>] (bus_for_each_dev+0x5c/0x90)
    [ 10.167478] r6:c0362a4c r5:bf07ced4 r4:00000000 r3:cf0c73bc
    [ 10.173468] [<c036100c>] (bus_for_each_dev) from [<c0362420>] (driver_attach+0x24/0x28)
    [ 10.181898] r6:c0846cc8 r5:cf69a380 r4:bf07ced4
    [ 10.186784] [<c03623fc>] (driver_attach) from [<c0362028>] (bus_add_driver+0xdc/0x1d8)
    [ 10.195132] [<c0361f4c>] (bus_add_driver) from [<c0363164>] (driver_register+0x80/0xfc)
    [ 10.203562] r7:cc348cc0 r6:00000000 r5:bf07d024 r4:bf07ced4
    [ 10.209554] [<c03630e4>] (driver_register) from [<c0363d54>] (__platform_driver_register+0x50/0x64)
    [ 10.219083] r5:bf07d024 r4:cf4dbf48
    [ 10.222988] [<c0363d04>] (__platform_driver_register) from [<bf0980b0>] (PVRCore_Init+0xb0/0x344 [pvrsrvkm])
    [ 10.233466] [<bf098000>] (PVRCore_Init [pvrsrvkm]) from [<c00088b8>] (do_one_initcall+0xf4/0x150)
    [ 10.242837] [<c00087c4>] (do_one_initcall) from [<c007a8bc>] (load_module+0x1668/0x1d40)
    [ 10.251358] r10:c0078144 r9:bf07d018 r8:00000001 r7:cc348cc0 r6:00000001 r5:bf07d024
    [ 10.259637] r4:cf4dbf48
    [ 10.262318] [<c0079254>] (load_module) from [<c007b0f4>] (SyS_finit_module+0x6c/0x78)
    [ 10.270566] r10:00000000 r9:cf4da000 r8:c000e964 r7:0000017b r6:b6f1fb80 r5:00000005
    [ 10.278843] r4:00000000
    [ 10.281530] [<c007b088>] (SyS_finit_module) from [<c000e7e0>] (ret_fast_syscall+0x0/0x30)
    [ 10.290143] r6:00000000 r5:00000000 r4:00000000
    [ 10.295028] Code: e34b3f07 ebff5f2d ea000030 e51b3020 (e5933000)
    [ 10.301456] ---[ end trace 3a60b4d80fdbae42 ]---



    Let me know if I am missing any thing above
  • Hi, 

    VIJAY KULKARNI24 said:
    I tried to build the package that contains sgx-modules in "/board-support/extra-drivers/sgx-modules-5.01.01.02" . But I do not know where to make env variable changes. I just changed the top level Makefile

     

    You don't need to change the makefile. Environment variables are set in the console window in which you execute the make command, i.e. 

    cd ~/ti-processor-sdk-linux-am335x-evm-01.00.00.03/board-support/extra-drivers/

    x0155517@mms:~/ti-processor-sdk-linux-am335x-evm-01.00.00.03/board-support/extra-drivers$ export ARCH=arm

    x0155517@mms:~/ti-processor-sdk-linux-am335x-evm-01.00.00.03/board-support/extra-drivers$ export KERNELDIR=/path/to/kernle/dir

    etc.. 

    Best Regards, 
    Yordan

  • Thanks for the support Yordan.
    I will follow this and update you. But I have a basic question here. We are using AM3352 chipset and it has no Hardware Graphics accelerator. Will I still be able to compile this and Run PVR or Qt5.4 .

    The Starter kit uses TMDxEVM3358 chipset. So its works fine there.

    Please reply, this will help us to close this thread.
  • Hi,

    Before PVR crash you have some pinmux errors, that may be worth checking:

    [ 5.610680] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [ 5.622744] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 5.630291] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [ 5.643211] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 5.652152] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [ 5.659300] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    ..................................................
    ..................................................
    [ 6.351856] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [ 6.363917] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 6.371465] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [ 6.384377] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 6.400063] pinctrl-single 44e10800.pinmux: pin 44e109a0.0 already requested by 44e10800.pinmux; cannot clac
    [ 6.412133] pinctrl-single 44e10800.pinmux: pin-104 (48060000.mmc) status -22
    [ 6.419669] pinctrl-single 44e10800.pinmux: could not request pin 104 (44e109a0.0) from group pinmux_mmc1_pe
    [ 6.432567] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
    [ 6.440394] omap_hsmmc 48060000.mmc: pins are not configured from the driver

    Make sure you don't duplicate pins in different IPs pinmux settings.

    Regarding the kernel panic you see is caused by mismatch between kernel & sgx runtime pm, see the following solution:
    processors.wiki.ti.com/.../SGXDbg

    Hope this helps.
    Best Regards,
    Yordan
  • A couple notes:

    1. The SGX530 is not available on the AM3352.  If you're using AM3352 you should not be attempting any of this...
    2. Processor SDK 1.00 contains some new targets in the top-level makefile contained in the root directory of the SDK.  Specifically there are targets for "sgx-modules", "sgx-modules_clean", and "sgx-modules_install".  If you look at the definitions in the makefile you'll see that the drivers are already present in the SDK at board-support/extra-drivers.  Furthermore the drivers are being built with this command: make ARCH=arm KERNELDIR=$(LINUXKERNEL_INSTALL_DIR) BUILD=release TI_PLATFORM=ti335x SUPPORT_XORG=0.

  • Brad's post is very helpful for me to solve module pvrsrvkm  insert problem. The sgx-... targets are highly relevant to solve the problem. Excuse me. I am new to the build process. I don't understand the command line:

    make ARCH=arm KERNELDIR=$(LINUXKERNEL_INSTALL_DIR) BUILD=release TI_PLATFORM=ti335x SUPPORT_XORG=0.

    There is no connection to sgx or pvrsrvkm. What is it for?

    Thanks,

  • After running the above command:

    make ARCH=arm KERNELDIR=$(LINUXKERNEL_INSTALL_DIR) BUILD=release TI_PLATFORM=ti335x SUPPORT_XORG=0

    I try to run this:

    $ make ARCH=arm KERNELDIR=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03 BUILD=release TI_PLATFORM=ti335x sgx-modules_install

    but it echoes:

    $ make ARCH=arm KERNELDIR=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03 BUILD=release TI_PLATFORM=ti335x sgx-modules_install
    make: *** No rule to make target `sgx-modules_install'.  Stop.

    Could you give me a little more detail on the following commands?

    Thanks,

  • Excuse me. I realize that 'SUPPORT_XORG=0' is not a target. It is a switch, not listed in the INSTALL.txt file?

    My question here is: It should run the following command at which folder? The Linux src folder? I did not set variable $DISCIMAGE when I ran it at Linux src folder. Although there are two folders having been updated, I don't see where the new generated driver is.

    make ARCH=arm KERNELDIR=$(LINUXKERNEL_INSTALL_DIR) BUILD=release TI_PLATFORM=ti335x SUPPORT_XORG=0

    There is no file under folder:

    /home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/board-support/extra-drivers/sgx-modules-5.01.01.02/patches

    Is something missing in this folder?

    Thanks,

  • Jeff Wong1 said:

    $ make ARCH=arm KERNELDIR=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03 BUILD=release TI_PLATFORM=ti335x sgx-modules_install

    but it echoes:

    $ make ARCH=arm KERNELDIR=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03 BUILD=release TI_PLATFORM=ti335x sgx-modules_install
    make: *** No rule to make target `sgx-modules_install'.  Stop.

    That's because your KERNELDIR is incorrect.  Did you modify Rules.make?  My Rules.make contains the following:

    #The directory that points to the SDK kernel source tree
    LINUXKERNEL_INSTALL_DIR=$(TI_SDK_PATH)/board-support/linux-3.14.43+gitAUTOINC+875c69b2c3-g875c69b

    Did you change that?  You seem to be missing the section I highlighted somehow...

  • Jeff Wong1 said:

    My question here is: It should run the following command at which folder? The Linux src folder? I did not set variable $DISCIMAGE when I ran it at Linux src folder. Although there are two folders having been updated, I don't see where the new generated driver is.

    make ARCH=arm KERNELDIR=$(LINUXKERNEL_INSTALL_DIR) BUILD=release TI_PLATFORM=ti335x SUPPORT_XORG=0

    There is no file under folder:

    /home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03/board-support/extra-drivers/sgx-modules-5.01.01.02/patches

    It's probably failing for the reason I just mentioned, i.e. LINUXKERNEL_INSTALL_DIR appears to be defined incorrectly in your Rules.make.

    After I run "make sgx-modules" I end up with the following:

    ./board-support/extra-drivers/sgx-modules-5.01.01.02/services4/3rdparty/dc_ti335x_linux/omaplfb.ko
    ./board-support/extra-drivers/sgx-modules-5.01.01.02/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko
    ./board-support/extra-drivers/sgx-modules-5.01.01.02/pvrsrvkm.ko

  • Hi, Brad:
    Now I have time to continue the previous task. The three .ko files are just generated at the specific folders. Where and how to install them? I have tried 'make install', but it only tries to the .dtb files. What is the next step for the graphics .ko modules?
    BTW, I only changed the kernel configurations for AM3359 SK. There is no hardware modification yet.
    Thanks,
  • Now it is OK with my previous command: $ make ARCH=arm KERNELDIR=/home/u64rj/ti-processor-sdk-linux-am335x-evm-01.00.00.03 BUILD=release TI_PLATFORM=ti335x sgx-modules_install
    Thanks,