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.

Can't Launch PVR driver with TISDK v 1.00.00 and v8.00.00

Other Parts Discussed in Thread: TPS65910

Hello all,

My AM335x customized board boots the SDK v1.00.00 and I added the Graphics SDK 5.01.01.02. I followed the instructions in:

processors.wiki.ti.com/.../Graphics_SDK_Quick_installation_and_user_guide

We are mainly facing a problem with graphics driver ,when we run any QT related app we are getting -  could not found egl display error.

For my Last Project we used sdk v7.00.00 we never faced any issues with graphics.

List of board supported files from SDK V1.00.00

root:/ti-processor-sdk-linux-am335x-evm-01.00.00.00/board-support# ls
extra-drivers  linux-3.14.26-g2489c02  prebuilt-images  u-boot-2014.07-g7e537bf

Above Highlighted part is my kernel version,when compiling the linux - kernel.release file is generating in include/config path.

In kernel.release file  linux kernel version number is  different than existing one -  3.14.26-gb9df364-dirty.

In SDK 7 Both names are Same.

List of board supported files from SDK V7.00.00

root:/ti-sdk-am335x-evm-07.00.00.00/board-support# ls
extra-drivers  linux-3.12.10-ti2013.12.01  prebuilt-images u-boot-2013.10-ti2013.12.01

In kernel.release file  linux kernel version number is  same  -  3.12.10-ti2013.12.01

========================================================================

While Booting in SDK 7....

## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Loading Device Tree to 8fff4000, end 8ffffa31 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.12.10-ti2013.12.01 (root@) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Tue Jun5

After Booting, Graphics Driver Installed Successfully  and QT Applications are executing with out any issue.

=========================================================================

While Booting in SDK v1.00.00 ....

## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Loading Device Tree to 8fff4000, end 8ffffa31 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.26-gb9df364-dirty (root@) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Tue Jun5
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x EVM
[    0.000000] cma: CMA: reserved 24 MiB at ae000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260112
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1004508K/1046528K available (5299K kernel code, 545K rwdata, 1848K rodata, 318K init, 217K bss, 42020K reserved, 268288K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0702fc4   (7148 kB)
[    0.000000]       .init : 0xc0703000 - 0xc0752bac   ( 319 kB)
[    0.000000]       .data : 0xc0754000 - 0xc07dc408   ( 546 kB)
[    0.000000]        .bss : 0xc07dc408 - 0xc08129c0   ( 218 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.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000033] OMAP clocksource: timer1 at 24000000 Hz
[    0.000321] Console: colour dummy device 80x30
[    0.000361] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.089503] pid_max: default: 32768 minimum: 301
[    0.089606] Security Framework initialized
[    0.089669] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.089678] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.097200] CPU: Testing write buffer coherency: ok
[    0.097626] Setting up static identity map for 0x80532b68 - 0x80532bd8
[    0.098594] devtmpfs: initialized
[    0.100519] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.103418] ------------[ cut here ]------------
[    0.103474] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2568 _init+0x3d4/0x428()
[    0.103481] omap_hwmod: i2c2: doesn't have mpu register target base
[    0.103488] Modules linked in:
[    0.103505] CPU: 0 PID: 1 Comm: swapper Not tainted 3.14.26-gb9df364-dirty #1
[    0.103514] Backtrace:
[    0.103536] [<c001766c>] (dump_backtrace) from [<c0017808>] (show_stack+0x18/0x1c)
[    0.103542]  r6:c070fef0 r5:00000009 r4:ec883e40 r3:00000000
[    0.103573] [<c00177f0>] (show_stack) from [<c052b058>] (dump_stack+0x20/0x28)
[    0.103600] [<c052b038>] (dump_stack) from [<c004712c>] (warn_slowpath_common+0x70/0x90)
[    0.103613] [<c00470bc>] (warn_slowpath_common) from [<c00471f0>] (warn_slowpath_fmt+0x38/0x40)
[    0.103618]  r8:c07104ac r7:00000000 r6:00000000 r5:00000000 r4:c078bf70
[    0.103637] [<c00471bc>] (warn_slowpath_fmt) from [<c070fef0>] (_init+0x3d4/0x428)
[    0.103643]  r3:c065da40 r2:c06579b0
[    0.103665] [<c070fb1c>] (_init) from [<c002cb38>] (omap_hwmod_for_each+0x38/0x64)
[    0.103670]  r10:c073de40 r8:c07104ac r7:00000000 r6:c070fb1c r5:c0761bb8 r4:c078bf70
[    0.103691] [<c002cb00>] (omap_hwmod_for_each) from [<c07104d8>] (__omap_hwmod_setup_all+0x2c/0x48)
[    0.103697]  r7:c07034d0 r6:c07dc440 r5:00000001 r4:c0752468
[    0.103717] [<c07104ac>] (__omap_hwmod_setup_all) from [<c00088b0>] (do_one_initcall+0xf4/0x150)
[    0.103743] [<c00087bc>] (do_one_initcall) from [<c0703bec>] (kernel_init_freeable+0xf0/0x1bc)
[    0.103749]  r10:c073de40 r9:c073de20 r8:000000ab r7:c07034d0 r6:c07dc440 r5:00000001
[    0.103762]  r4:c0752468
[    0.103775] [<c0703afc>] (kernel_init_freeable) from [<c0526dc8>] (kernel_init+0x10/0xf4)
[    0.103780]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0526db8
[    0.103793]  r4:00000000
[    0.103816] [<c0526db8>] (kernel_init) from [<c00145b8>] (ret_from_fork+0x14/0x3c)
[    0.103821]  r4:00000000 r3:ec882000
[    0.103874] ---[ end trace ed793963a31b3b55 ]---
[    0.107124] omap_hwmod: tptc0 using broken dt data from edma
[    0.107190] omap_hwmod: tptc1 using broken dt data from edma
[    0.107247] omap_hwmod: tptc2 using broken dt data from edma
[    0.111312] omap_hwmod: debugss: _wait_target_disable failed
[    0.165991] pinctrl core: initialized pinctrl subsystem
[    0.167001] regulator-dummy: no parameters
[    0.169461] NET: Registered protocol family 16
[    0.171355] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.173503] cpuidle: using governor ladder
[    0.173518] cpuidle: using governor menu
[    0.180002] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
[    0.181375] platform 49000000.edma: alias fck already exists
[    0.181400] platform 49000000.edma: alias fck already exists
[    0.181411] platform 49000000.edma: alias fck already exists
[    0.182485] OMAP GPIO hardware version 0.1
[    0.192479] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_default, deferring probe
[    0.192510] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[    0.194836] No ATAGs?
[    0.194857] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.213407] bio: create slab <bio-0> at 0
[    0.227006] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.227978] vbat: 5000 mV
[    0.230673] i2c-core: driver [palmas] using legacy suspend method
[    0.230688] i2c-core: driver [palmas] using legacy resume method
[    0.231357] SCSI subsystem initialized
[    0.232685] usbcore: registered new interface driver usbfs
[    0.232848] usbcore: registered new interface driver hub
[    0.233032] usbcore: registered new device driver usb
[    0.233902] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe
[    0.233929] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
[    0.233953] omap_i2c 4819c000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c2_pins, deferring probe
[    0.233964] platform 4819c000.i2c: Driver omap_i2c requests probe deferral
[    0.234193] media: Linux media interface: v0.10
[    0.234360] Linux video capture interface: v2.00
[    0.234584] pps_core: LinuxPPS API ver. 1 registered
[    0.234591] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.234698] PTP clock support registered
[    0.236362] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.238090] Switched to clocksource timer1
[    0.254863] NET: Registered protocol family 2
[    0.255698] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.255778] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.255846] TCP: Hash tables configured (established 8192 bind 8192)
[    0.255954] TCP: reno registered
[    0.255964] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.255988] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.256173] NET: Registered protocol family 1
[    0.257148] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.257278] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.259950] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.368876] bounce pool size: 64 pages
[    0.369109] VFS: Disk quotas dquot_6.5.2
[    0.369170] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.369464] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.369620] msgmni has been set to 1485
[    0.370903] NET: Registered protocol family 38
[    0.370941] io scheduler noop registered
[    0.370949] io scheduler deadline registered
[    0.370968] io scheduler cfq registered (default)
[    0.372389] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.375434] backlight.5 supply power not found, using dummy regulator
[    0.375941] pwm-backlight backlight.5: invalid default brightness level: 101, using 100
[    0.402365] Console: switching to colour frame buffer device 128x48
[    0.415133] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.417591] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.417762] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    1.280652] console [ttyO0] enabled
[    1.285027] omap_uart 48022000.serial: no wakeirq for uart0
[    1.291096] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1
[    1.301403] omap_uart 48024000.serial: no wakeirq for uart0
[    1.307332] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
[    1.318520] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    1.326023] [drm] Initialized drm 1.1.0 20060810
[    1.340954] brd: module loaded
[    1.349534] loop: module loaded
[    1.355844] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.365434] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[    1.375310] usbcore: registered new interface driver asix
[    1.381259] usbcore: registered new interface driver ax88179_178a
[    1.387817] usbcore: registered new interface driver cdc_ether
[    1.394102] usbcore: registered new interface driver smsc95xx
[    1.400277] usbcore: registered new interface driver net1080
[    1.406362] usbcore: registered new interface driver cdc_subset
[    1.412678] usbcore: registered new interface driver zaurus
[    1.418737] usbcore: registered new interface driver cdc_ncm
[    1.425144] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.431992] ehci-omap: OMAP-EHCI Host Controller driver
[    1.438296] usbcore: registered new interface driver cdc_wdm
[    1.444415] usbcore: registered new interface driver usb-storage
[    1.451808] mousedev: PS/2 mouse device common for all mice
[    1.460023] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    1.468318] i2c /dev entries driver
[    1.472528] Driver for 1-wire Dallas network protocol.
[    1.479837] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.488964] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
[    1.495913] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
[    1.503998] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.511291] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.518739] usbcore: registered new interface driver usbhid
[    1.524569] usbhid: USB HID core driver
[    1.529078] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[    1.537686] oprofile: using arm/armv7
[    1.541913] TCP: cubic registered
[    1.545377] Initializing XFRM netlink socket
[    1.549873] NET: Registered protocol family 17
[    1.554573] NET: Registered protocol family 15
[    1.559233] 8021q: 802.1Q VLAN Support v1.8
[    1.563705] Key type dns_resolver registered
[    1.568897] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
[    1.578004] cpu cpu0: cpu0 clock notifier not ready, retry
[    1.583857] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[    1.592225] PM: Voltage scaling data blob not provided from DT.
[    1.598629] PM: bootloader does not support rtc-only!
[    1.603917] ThumbEE CPU extension supported.
[    1.610017] vbat: disabling
[    1.612950] regulator-dummy: disabling
[    1.617341] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.622771] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.630279] nand: No NAND device found
[    1.634228] nand device scan failed, may be bus-width mismatch
[    1.642486] tps65910 1-002d: No interrupt support, no core IRQ
[    1.653086] vrtc: 1800 mV
[    1.656205] vrtc: supplied by vbat
[    1.661512] vio: at 1500 mV
[    1.664624] vio: supplied by vbat
[    1.669944] vdd_mpu: 912 <--> 1375 mV at 1325 mV
[    1.674938] vdd_mpu: supplied by vbat
[    1.680555] vdd_core: 912 <--> 1150 mV at 1137 mV
[    1.685640] vdd_core: supplied by vbat
[    1.691015] vdd3: 5000 mV
[    1.695151] vdig1: at 1800 mV
[    1.698445] vdig1: supplied by vbat
[    1.703438] vdig2: at 1800 mV
[    1.706696] vdig2: supplied by vbat
[    1.711705] vpll: at 1800 mV
[    1.714870] vpll: supplied by vbat
[    1.719803] vdac: at 1800 mV
[    1.722979] vdac: supplied by vbat
[    1.727874] vaux1: at 1800 mV
[    1.731154] vaux1: supplied by vbat
[    1.736148] vaux2: at 3300 mV
[    1.739431] vaux2: supplied by vbat
[    1.744441] vaux33: at 3300 mV
[    1.747794] vaux33: supplied by vbat
[    1.752905] vmmc: 1800 <--> 3300 mV at 3300 mV
[    1.757714] vmmc: supplied by vbat
[    1.762678] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[    1.769944] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[    1.808816]  remoteproc0: wkup_m3 is available
[    1.813513]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    1.822910]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    1.834897]  remoteproc0: Direct firmware load failed with error -2
[    1.841457]  remoteproc0: Falling back to user helper
[    1.908116] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.914498] davinci_mdio 4a101000.mdio: detected phy mask ffffff7f
[    1.921713] libphy: 4a101000.mdio: probed
[    1.925926] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver unknown
[    1.935181] cpsw 4a100000.ethernet: Detected MACID = 78:a5:04:ee:53:74
[    1.944257] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    1.957695] Waiting for root device /dev/mmcblk0p2...
[    1.965290] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.975943] mmc0: new high speed SD card at address 0001
[    1.982375] mmcblk0: mmc0:0001 SD 1.84 GiB
[    1.988569]  mmcblk0: p1 p2
[    2.080474] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.089071] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.100144] devtmpfs: mounted
[    2.103816] Freeing unused kernel memory: 316K (c0703000 - c0752000)
INIT: version 2.88 booting
Starting udev
[    2.782025] udevd[778]: starting version 182
[    3.502066]  remoteproc0: powering up wkup_m3
[    3.507519]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
[    3.628737] PM: CM3 Firmware Version = 0x190
[    3.633365]  remoteproc0: remote processor wkup_m3 is now up
[    5.923060] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
depmod: ERROR: could not open directory /lib/modules/3.14.26-gb9df364-dirty: No such file or directory
depmod: WARNING: -e needs -E or -F
depmod: ERROR: could not open directory /lib/modules/3.14.26-gb9df364-dirty: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
[    6.153450] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
[    6.168484] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[    6.276507] random: dd urandom read with 96 bits of entropy available
Populating dev cache
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1729: No soundcards found...
Fri Apr 10 19:59:00 UTC 2015
INIT: Entering runlevel: 5
Configuring network interfaces... [    7.807920] net eth0: initializing cpsw version 1.12 (0)
[    7.815171] libphy: PHY 4a101000.mdio:00 not found
[    7.820184] net eth0: phy 4a101000.mdio:00 not found on slave 0
[    7.898675] net eth0: phy found : id is : 0x221622
[    7.911577] 8021q: adding VLAN 0 to HW filter on device eth0
udhcpc (v1.22.1) started
Sending discover...
[    9.899077] libphy: 4a101000.mdio:07 - Link is Up - 100/Full
Sending discover...
Sending select for 172.31.207.132...
Lease of 172.31.207.132 obtained, lease time 3600
/etc/udhcpc.d/50default: Adding DNS 194.98.65.65
/etc/udhcpc.d/50default: Adding DNS 194.98.65.165
/etc/udhcpc.d/50default: Adding DNS 195.129.111.49
done.
[   11.121624] random: nonblocking pool is initialized
Starting system message bus: dbus.
UIM SYSFS Node Not Found
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
find: /lib/modules/3.14.26-gb9df364-dirty: No such file or directory
insmod: ERROR: missing filename.
Could not find pvrsrvkm driver

Here pvrsrvkm.ko is not loading while booting.

After execute the below command

linux-3.14.26-g2489c02# make modules_install INSTALL_MOD_PATH=rootfs path

in /lib/modules  3.14.26-gb9df364-dirty folder created with all modules.

root:/lib/modules# ls
3.14.26-g2489c02  3.14.26-gb9df364-dirty


we are using Graphics_SDK_5_01_01_02 for installing the graphics related files,this SDK will install the pvrsrvkm.ko to 3.14.26-gb9df364-dirty

BootLog:

Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
insmod: ERROR: could not insert module /lib/modules/3.14.26-gb9df364-dirty/extra/pvrsrvkm.ko: Invalid parameters

root@am335x-evm:/lib/modules/3.14.26-gb9df364-dirty/extra# ls
cryptodev.ko  omaplfb.ko    pvrsrvkm.ko   services4


In SDK v7.00.00 we never faced this issue,and both linux version in sdk and generated kernel versions are same.

Please help me out ,whether i missed any configuration settings before compiling .

Regards,

Balaji Raghavan

  • Hi,

    I will forward this to the SW team.

  • Hello Balaji,

    First, I'd like to thank you for the detailed explanation.

    If you checkout to this commit the kernel version will match the existing one.

    git checkout 2489c022b2932432606f897741a71b712e6dbe77

    If you clean your uncommitted changes the "-dirty" suffix will also disappear.

    git status
    git checkout *
    git clean -ffdx
    git status

    Don't forget to regenerate the modules.dep and map files once the new modules have been added.

    depmod -a

    Best regards,
    Kemal

  • Hai Kemal,

    Thanks for your response Kemal.

    As you mentioned, I checkout the branch given by you ,When I made any changes in the kernel then version number is changing after compiling.

    If I checkout the given branch without any changes then version number is same as existing one.

    So Before compiling I commit my changes and compiled the linux source, now dirty suffix was removed and new version number is  generated,In kernel.release file version number of Linux is 3.14.26-g5dbcf1d.

    after compilation I used below command to install modules to target rootfs.

    make modules_install INSTALL_MOD_PATH=/media/rootfs

    Linux Booting Log.....

       Booting using the fdt blob at 0x80f80000
       Loading Device Tree to 8fff4000, end 8ffffa31 ... OK

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.14.26-g5dbcf1d (root@labubuntu004-sanmina) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Thu Jun 11 165
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM335x EVM

    While Installing USB Drivers I get probe deferral

    [    3.552813] platform 47401300.usb-phy: Driver am335x-phy-driver requests probe deferral
    [    3.629472] platform 47401b00.usb-phy: Driver am335x-phy-driver requests probe deferral

    While starting PVR this time I get an error Could not find pvrsrvkm driver

    Starting PVR
    insmod: ERROR: could not insert module /lib/modules/3.14.26-g5dbcf1d/extra/pvrsrvkm.ko: Invalid parameters
    Could not find pvrsrvkm driver

    And I run depmod command It shows two errors.

    root@am335x-evm:/# depmod -a
    depmod: ERROR: failed to load symbols from /lib/modules/3.14.26-g5dbcf1d/extra/omaplfb.ko: Invalid argument
    depmod: ERROR: failed to load symbols from /lib/modules/3.14.26-g5dbcf1d/extra/pvrsrvkm.ko: Invalid argument
    root@am335x-evm:/#

    Did I do anything wrong ?

    Regards,

    Balaji Raghavan

  • Could you attach your <install dir>Graphics_SDK_5_01_01_02/Rules.make file and describe your build and module installation steps?
  • Hai,

    Thanks for your prompt response,

    I attached the Rules.make file of my Graphics SDK.

    In Rules.make I exported KERNEL_INSTALL_DIR as with my latest version.

    KERNEL_INSTALL_DIR=/home/ti-processor-sdk-linux-am335x-evm-01.00.00.00/board-support/linux-3.14.26-g5dbcf1d

    My build and install steps are below.

    Build Step : make BUILD=debug OMAPES=8.x all

    Installation Step : make BUILD=debug OMAPES=8.x install


    Regards,

    Balaji Raghavan


    Rules.make.zip

  • All the settings seems correct.

    Could you run these two commands:

    root@am335x-evm:~# cd /opt/gfxlibraries/gfx_rel_es8.x
    root@am335x-evm:/opt/gfxlibraries/gfx_rel_es8.x# ./install.sh
    root@am335x-evm:/opt/gfxlibraries/gfx_rel_es8.x# depmod -a

    And check if this resolves your issue.

  • I executed the installation script  then I restarted the board.

    I get an error like this ...

    Starting PVR
    [   18.194584] PVR: PVRCore_Init
    [   18.198861] PVR: PVRSRVDriverProbe(pDevice=ec8d0a00)
    [   18.204076] pvrsrvkm 56000000.sgx: PVRSRVDriverProbe: error: reset_control_get
    [   18.212061] pvrsrvkm: probe of 56000000.sgx failed with error -2
    [   18.220348] PVR: PVRCore_Init: major device 246
    [   18.259983] omaplfb: Unknown symbol register_vsync_cb (err 0)
    [   18.266067] omaplfb: Unknown symbol unregister_vsync_cb (err 0)
    modprobe: ERROR: could not insert 'omaplfb': Unknown symbol in module, or unknown parameter (see dmesg)
    modprobe: FATAL: Module bufferclass_ti not found.
    [   18.368077] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6ff5014
    PVR:(Error): OpenServices: Cannot open device driver /dev/pvrsrvkm. [79, /pvr_bridge_u.c]
    PVR:(Error): PVRSRVInitSrvConnect: PVRSRVConnect failed [2413, /bridged_pvr_glue.c]
    PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (4) [37, /srvinit.c]
    /usr/bin/pvrsrvctl: SrvInit failed (already initialized?) (err=4)


    Regards,

    Balaji Raghavan

  • I have doubts about your kernel configuration parameters.

    Could you configure and build the kernel through these steps and reply.