How to run SGX demos underAngstrom

hi,

1.The sgx kernel module version
I downloaded OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin from TI website,followed the steps as present in http://code.google.com/p/beagleboard/wiki/HowtoUseSGXunderAngstrom

then installed libgles-omap3_3.00.00.06-r7.1_armv7a.ipk and libgles-omap3-tests_3.00.00.06-r7.1_armv7a.ipk on target.

  1. This what i got when i ran ‘dmesg | grep PVR’

root@omap3evm:~# dmesg | grep PVR
PVRSRV_PIXEL_FORMAT_RGB565
root@omap3evm:~#

AND

The output for root@omap3evm:~# dmesg

Linux version 2.6.28
CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=10c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 EVM
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c05177ac, node_mem_map c056f000
Normal zone: 256 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 32512 pages, LIFO batch:7
Movable zone: 0 pages used for memmap
OMAP3430 ES2.1
SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200n8 rw rootwait initrd=0x81600000,4000 root=/dev/mmcblk0p3 omapfb.video_mode=1024x768MR-16@60 omapfb.mode=dvi:1280x720MR-16@50
Unknown boot option `omapfb.mode=dvi:1280x720MR-16@50’: ignoring
Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz
Reprogramming SDRC
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
PID hash table entries: 512 (order: 9, 2048 bytes)
OMAP clockevent source: GPTIMER12 at 32768 Hz
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 124228KB available (4784K code, 572K data, 168K init)
Calibrating delay loop… 491.57 BogoMIPS (lpj=1921024)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 532 bytes
NET: Registered protocol family 16
twl4030: client 2 is not initialized
twl4030: client 2 is not initialized
twl4030: client 2 is not initialized
OMAP DMA hardware revision 4.0
USB: No board-specific platform config found
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
OMAP DSI rev 1.0
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368…375
twl4030: power (irq 373) chaining IRQs 376…383
twl4030: gpio (irq 368) chaining IRQs 384…401
i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
SCSI subsystem initialized
omap2_mcspi omap2_mcspi.1: registered master spi1
spi spi1.0: setup: speed 1500000, sample leading edge, clk normal
omap2_mcspi omap2_mcspi.1: registered child spi1.0
omap2_mcspi omap2_mcspi.2: registered master spi2
omap2_mcspi omap2_mcspi.3: registered master spi3
omap2_mcspi omap2_mcspi.4: registered master spi4
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, musb-dma, host, debug=0
musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)
musb_hdrc: MHDRC RTL version 1.400
musb_hdrc: setup fifo_mode 4
musb_hdrc: 29/31 max ep, 16384/16384 memory
musb_hdrc: hw_ep 0shared, max 64
musb_hdrc: hw_ep 1tx, max 512
musb_hdrc: hw_ep 1rx, max 512
musb_hdrc: hw_ep 2tx, max 512
musb_hdrc: hw_ep 2rx, max 512
musb_hdrc: hw_ep 3tx, max 512
musb_hdrc: hw_ep 3rx, max 512
musb_hdrc: hw_ep 4tx, max 512
musb_hdrc: hw_ep 4rx, max 512
musb_hdrc: hw_ep 5tx, max 512
musb_hdrc: hw_ep 5rx, max 512
musb_hdrc: hw_ep 6tx, max 512
musb_hdrc: hw_ep 6rx, max 512
musb_hdrc: hw_ep 7tx, max 512
musb_hdrc: hw_ep 7rx, max 512
musb_hdrc: hw_ep 8tx, max 512
musb_hdrc: hw_ep 8rx, max 64
musb_hdrc: hw_ep 9tx, max 512
musb_hdrc: hw_ep 9rx, max 64
musb_hdrc: hw_ep 10tx, max 512
musb_hdrc: hw_ep 10rx, max 64
musb_hdrc: hw_ep 11tx, max 256
musb_hdrc: hw_ep 11rx, max 256
musb_hdrc: hw_ep 12tx, max 256
musb_hdrc: hw_ep 12rx, max 256
musb_hdrc: hw_ep 13tx, max 256
musb_hdrc: hw_ep 13rx, max 4096
musb_hdrc: hw_ep 14shared, max 1024
musb_hdrc: hw_ep 15shared, max 1024
musb_hdrc: USB Host mode controller at d80ab000 using DMA, IRQ 92
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Bluetooth: Core ver 2.13
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
Switched to high resolution mode on CPU 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs… it is
Freeing initrd memory: 3K
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
msgmni has been set to 242
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
brd: module loaded
loop: module loaded
Fixed MDIO Bus: probed
eth0: LAN9115 (rev 2) at 0x2c000000 IRQ 336
eth0: Ethernet addr: 00:50:c2:7e:8a:b6
eth0: LAN911x Internal PHY
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
i2c /dev entries driver
input: triton2-pwrbutton as /class/input/input0
triton2 power button driver initialized
Driver ‘sd’ needs updating - please use bus_type methods
omap2-nand driver initializing
OneNAND driver initializing
omap2-onenand omap2-onenand: initializing on CS0, phys base 0x20000000, virtual base c8900000
OneNAND Manufacturer: Samsung (0xec)
Muxed OneNAND 128MB 1.8V 16-bit (0x30)
OneNAND version = 0x0221
Chip support all block unlock
Scanning device for bad blocks
onenand_bbt_wait: ecc error = 0x2222, controller error 0x2400
Bad eraseblock 32 at 0x00400000
Creating 5 MTD partitions on “omap2-onenand”:
0x00000000-0x00080000 : “xloader-onenand”
0x00080000-0x00260000 : “uboot-onenand”
0x00260000-0x00280000 : “params-onenand”
0x00280000-0x00780000 : “linux-onenand”
0x00780000-0x08000000 : “jffs2-onenand”
Initializing USB Mass Storage driver…
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
mice: PS/2 mouse device common for all mice
input: omap_twl4030keypad as /class/input/input1
ads7846 spi1.0: setup: speed 1500000, sample leading edge, clk normal
ads7846 spi1.0: touchscreen, irq 335
input: ADS784x Touchscreen as /class/input/input2
twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
twl4030_rtc twl4030_rtc: Power up reset detected.
twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
Bluetooth: HCI USB driver ver 2.10
usbcore: registered new interface driver hci_usb
Bluetooth: Broadcom Blutonium firmware driver ver 1.2
usbcore: registered new interface driver bcm203x
Bluetooth: Digianswer Bluetooth USB driver ver 0.10
usbcore: registered new interface driver bpa10x
Bluetooth: Generic Bluetooth SDIO driver ver 0.1
cpuidle: using governor ladder
cpuidle: using governor menu
mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
usbcore: registered new interface driver snd-usb-audio
ASoC version 0.13.2
OMAP3 EVM SoC init
TWL4030 Audio Codec init
asoc: twl4030 <-> omap-mcbsp-dai-(link_id) mapping ok
ALSA device list:
#0: omap3evm (twl4030)
oprofile: using arm/armv7
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.11
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.10
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright © 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm ‘NULL’
ieee80211_crypt: registered algorithm ‘WEP’
ieee80211_crypt: registered algorithm ‘CCMP’
ieee80211_crypt: registered algorithm ‘TKIP’
ThumbEE CPU extension supported.
Power Management for TI OMAP3.
SmartReflex driver initialized
Disabling unused clock “gpt2_ick”
Disabling unused clock “gpio2_dbck”
Disabling unused clock “gpio3_dbck”
Disabling unused clock “gpio4_dbck”
Disabling unused clock “gpio5_dbck”
Disabling unused clock “gpt2_fck”
Disabling unused clock “gpt1_ick”
Disabling unused clock “wdt2_ick”
Disabling unused clock “wdt2_fck”
Disabling unused clock “gpt1_fck”
Disabling unused clock “dpll5_ck”
clock: dpll5_ck failed transition to ‘locked’
Disabling unused clock “dpll4_m6x2_ck”
Disabling unused clock “dpll4_m5x2_ck”
Disabling unused clock “dpll3_m3x2_ck”
Disabling unused clock “sys_clkout1”
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
fbcvt: 1024x768@60: CVT Name - .786M3-R
Console: switching to colour frame buffer device 128x48
GPIO-153 autorequested
twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
Waiting for root device /dev/mmcblk0p3…
omap-dss DISPC error: dispc irq error status 100e6
omap-dss DISPC error: dispc irq error status 00e2
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SD card at address b368
mmcblk0: mmc0:b368 MS 489 MiB
mmcblk0:<3>omap-dss DISPC error: dispc irq error status 100e2
omap-dss DISPC error: dispc irq error status 00e2
p1 p2 p3
omap-dss DISPC error: dispc irq error status 100e2
omap-dss DISPC error: dispc irq error status 0040
omap-dss DISPC error: dispc irq error status 00e2
omap-dss DISPC error: dispc irq error status 100e2
omap-dss DISPC error: dispc irq error status 0040
omap-dss DISPC error: dispc irq error status 00e2
omap-dss DISPC error: Excessive DISPC errors
Turning off lcd and digit
omap-dss DISPC error: Excessive DISPC errors
Turning off lcd and digit
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 168K
udevd version 124 started
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
NET: Registered protocol family 10
eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
eth0: link up, 10Mbps, half-duplex, lpa 0x0020
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: duplicate address detected!
PVRSRV_PIXEL_FORMAT_RGB565

Hi steve,

I tried root@omap3evm:/usr/bin# ./gles1test1 200

Still the demo is not displaying.

Thanks and regards
JK