天嵌 ARM开发社区

 找回密码
 注册
查看: 3826|回复: 2

TQ335x开发板关于OpenGL ES的支持

[复制链接]
zt19901990 发表于 2014-4-29 10:48:13 | 显示全部楼层 |阅读模式
最近需要在嵌入式平台上做3D显示,需要用到OpenGL ES,手头开发板是TQ335x。
在TI官网下了Graphics_SDK_5_01_01_01,按照TI的Wiki,编译出了带Opengl es2支持的Qt4.5,但是把编译好的例程hellogl_es2放在开发板上运行时提示“Segmentation fault”,经调试发现是“GLWidget *glwidget = new GLWidget();”语句出的错。请问有什么建议?
另外在TI官网下了ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin,用TQ自带的uboot,把ti-sdk里面编译的内核zImage按照-a 80008000,-e80008000制作成uImage.bin,通过tftf下载到82000000,然后bootm82000000,内核无法启动,串口输出停在“Starting kernel ...”,请问是uImage参数错误还是TQ335x用不了TI的内核?同样,用TQ的uboot和内核启动后,nfs挂载ti-sdk的文件系统也无法挂载。
 楼主| zt19901990 发表于 2014-4-29 11:02:13 | 显示全部楼层
用TQ的uboot,启动TI的内核过程
1.制作uImage
root@ubuntu:/tftpboot# mkimage -A arm -O linux -T kernel  -C none -a 0x80008000 -e 0x80008000 -d zImage-am335x-evm.bin uImage.bin
Image Name:   
Created:      Tue Apr 29 10:59:46 2014
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4117616 Bytes = 4021.11 kB = 3.93 MB
Load Address: 80008000
Entry Point:  80008000
2.tftp下载
TQ3358# tftp 82000000 uImage.bin                                                
link up on port 0, speed 100, full duplex                                       
Using cpsw device                                                               
TFTP from server 192.168.1.124; our IP address is 192.168.1.230                 
Filename 'uImage.bin'.                                                         
Load address: 0x82000000                                                        
Loading: #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #########################                                             
done                                                                           
Bytes transferred = 4117680 (3ed4b0 hex)                                       
TQ3358#
3.bootm启动
TQ3358# bootm 82000000                                                         
## Booting kernel from Legacy Image at 82000000 ...                             
   Image Name:                                                                  
   Created:      2014-04-29   2:59:46 UTC                                       
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    4117616 Bytes = 3.9 MiB                                       
   Load Address: 80008000                                                      
   Entry Point:  80008000                                                      
   Verifying Checksum ... OK                                                   
   Loading Kernel Image ... OK                                                  
OK                                                                              
                                                                                
Starting kernel ...   

到这一步停止了
 楼主| zt19901990 发表于 2014-4-29 11:16:36 | 显示全部楼层
用TQ的uboot和内核,通过nfs挂载ti-sdk文件系统,串口输入如下:

****内核启动信息略*****
CPSW phy found : id is : 0x1cc915                                               
PHY 0:01 not found                                                              
ADDRCONF(NETDEV_UP): eth0: link is not ready                                    
PHY: 0:00 - Link is Up - 100/Full                                               
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready                              
IP-Config: Complete:                                                            
     device=eth0, addr=192.168.1.200, mask=255.255.255.0, gw=192.168.1.200,     
     host=www, domain=, nis-domain=embedsky.com,                                
     bootserver=192.168.1.124, rootserver=192.168.1.124, rootpath=              
VFS: Mounted root (nfs filesystem) on device 0:14.                              
Freeing init memory: 244K                                                      
Failed to execute /init.  Attempting defaults...                                
INIT: version 2.88 booting                                                      
Starting udev                                                                  
Missing devtmpfs, which is required for udev to run                             
Halting...                                                                     
INIT: Switching to runlevel: 0                                                  
INIT: Sending processes the TERM signaUIM SYSFS Node Not Found
停止
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-27 04:40 , Processed in 1.078125 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表