• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : 有没有人移植过GTK/X架构的 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 12061
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2009-12-28
最后登录: 2011-07-12
楼主  发表于: 2009-12-28 14:49

 有没有人移植过GTK/X架构的

有没有成功在MINI2440上移植过的呀? 有的话可否共享下心得与经验!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-12-28 15:28
我做过mini2440上的Angstrom移植,这是一个基于GTK/Gnome mobile平台的发行版。你有什么问题?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 12061
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2009-12-28
最后登录: 2011-07-12
2楼  发表于: 2009-12-28 16:37
就是想从源码开始移植编译Xorg, GTK,不知道你是否自己移植编译过
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2009-12-28 17:58
这些软件包基本上都是基于autoconf/automake的,手动编译的步骤大多是configure + make.
推荐你用OpenEmbedded(http://wiki.openembedded.net/index.php/Main_Page)来build一个完整的包含GTK/X11的文件系统镜像,比如Angstrom(http://www.angstrom-distribution.org/)。
OpenEmbedded里已经包含了如何从源代码编译Xorg, GTK这些package的配置。
目前已经有人做了OpenEmbedded的mini2440支持,项目在http://repo.or.cz/w/openembedded/mini2440.git.这里是一个简要的介绍:
http://code.google.com/p/mini2440/wiki/OpenEmbedded
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 11569
精华: 0
发帖: 19
金钱: 105 两
威望: 27 点
综合积分: 38 分
注册时间: 2009-12-12
最后登录: 2010-04-24
4楼  发表于: 2009-12-29 02:51

 回 3楼(kasim) 的帖子

我试过 它生成的uboot不支持mini2440的网卡 而内核在我这直接" Wrong kernel...!"
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2009-12-29 09:32

 Re:回 3楼(kasim) 的帖子

引用第4楼doskey于2009-12-29 02:51发表的 回 3楼(kasim) 的帖子 :
我试过 它生成的uboot不支持mini2440的网卡 而内核在我这直接" Wrong kernel...!"

我试过 它生成的uboot可以支持mini2440的网卡,而内核在我这直接启动成功并且可以挂载我放在SD卡上的文件系统镜像。
至于你的情况,那取决于你是怎么做的。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 11569
精华: 0
发帖: 19
金钱: 105 两
威望: 27 点
综合积分: 38 分
注册时间: 2009-12-12
最后登录: 2010-04-24
6楼  发表于: 2009-12-29 13:43

 回 5楼(kasim) 的帖子

请问 ,这个OpenEmbedded for mini2440是不是只支持SD卡? 我没插SD卡,就直接nfs启动的

PS: 论坛ftp中的那几个OpenEmbedded文件是你弄的吗?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2009-12-29 14:32
请问 ,这个OpenEmbedded for mini2440是不是只支持SD卡? 我没插SD卡,就直接nfs启动的

不是,OpenEmbedded和SD卡没关系。内核从哪里挂载文件系统取决于内核命令行上的root=XXXX参数值

ftp上的OpenEmbedded镜像是我以前做的,不过一直没能写相关的文档,所以也没有在论坛上发布,很抱歉。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 11569
精华: 0
发帖: 19
金钱: 105 两
威望: 27 点
综合积分: 38 分
注册时间: 2009-12-12
最后登录: 2010-04-24
8楼  发表于: 2009-12-29 17:26
引用第7楼kasim于2009-12-29 14:32发表的  :

不是,OpenEmbedded和SD卡没关系。内核从哪里挂载文件系统取决于内核命令行上的root=XXXX参数值

ftp上的OpenEmbedded镜像是我以前做的,不过一直没能写相关的文档,所以也没有在论坛上发布,很抱歉。


斑竹 好厉害 !

我想请问下,我在mini2440上移植了directfb/gtk+,但是这个环境里运行的gtk程序不支持RGB24显示(怀疑是framebuffer不支持). 那假如我在X/GTK环境里能不能支持RGB24视频流呢?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
9楼  发表于: 2009-12-29 17:59

 回 8楼(doskey) 的帖子

RGB24 == RGB 8:8:8?目前OpenEmbedded中S3C2440A的Framebuffer驱动只支持RGB 5:6:5, 即16bpp的显示。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go