
17 ROM-5420 User Manual
Chapter 3 Software Functionality
3.1.11 OpenGL Test
Please follow below instructions to test OpenGL on ROM-5420 platform:
Step 1: Change path to /opt/viv_samples/vdk
#cd /opt/viv_samples/vdk
#ls tutorial*
tutorial1 tutorial2_es20 tutorial4 tutorial5_es20
tutorial1_es20 tutorial3 tutorial4_es20 tutorial6
tutorial2 tutorial3_es20 tutorial5 tutorial7
Step 2: Run tutorial7 for OpenGL ES 1.1
Using Vertex Buffer Objects (VBO) can substantially increase performance by reduc-
ing the bandwidth required to transmit geometry data. Information such vertex, nor-
mal vector, color, and so on is sent once to locate device video memory and then
bound and used as needed, rather than being read from system memory every time.
This example illustrates how to create and use vertex buffer objects.
#./tutorial7
Step 3: Run tutorial3_es20 for OpenGL ES 2.0
A ball made of a mirroring material and centered at the origin spins about its Y-axis
and reflects the scene surrounding it.
#./tutorial3_es20
3.1.12 LAN Test
ROM-5420 sets DHCP as defaul network portocal.
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:9F:01:30:E0
inet addr:172.17.21.96 Bcast:172.17.21.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:129 errors:0 dropped:18 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15016 (14.6 KiB) TX bytes:656 (656.0 B)
Commentaires sur ces manuels