• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : OpenMoko running on  QQ2440V3 复制链接 | 浏览器收藏 | 打印
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
楼主  发表于: 2008-02-13 11:09

 OpenMoko running on  QQ2440V3

I've managed to run OpenMoko on QQ2440V3 after a few days's work Here's some snapshots, enjoy :)

[upload=1]  
附件: openmoko_on_qq2440v3.zip (885 K) 下载次数:149
"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: 296
精华: 2
发帖: 28
金钱: 340 两
威望: 70 点
贡献值: 10 点
综合积分: 96 分
注册时间: 2008-03-14
最后登录: 2011-04-13
1楼  发表于: 2008-03-20 17:22

 Re:OpenMoko running on QQ2440V3

支持一下,好东西。
博客文摘:
www.CookBus.com
级别: 新手上路
UID: 691
精华: 0
发帖: 4
金钱: 40 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2008-05-14
最后登录: 2008-07-22
2楼  发表于: 2008-05-14 13:04

 Re:OpenMoko running on QQ2440V3

能否赐教编译、运行细节?此外想问问楼主有没有试过编译运行一个native ARM toolchain ;小弟尝试了一些应用,发现cross-compile有问题
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-05-14 13:31

 Re:Re:OpenMoko running on QQ2440V3

引用第2楼robinhook于2008-05-14 13:04发表的 Re:OpenMoko running on QQ2440V3 :
能否赐教编译、运行细节?此外想问问楼主有没有试过编译运行一个native ARM toolchain ;小弟尝试了一些应用,发现cross-compile有问题

编译运行的细节大部分可以参考openmoko的wiki,http://wiki.openmoko.org
关于native ARM toolchain, 我没有足够强劲的ARM CPU的PC可以用来编译程序(QQ2440上可以编译一些小程序,但对于Openmoko这样的distribuition恐怕不行)
openmoko是用OpenEmbedded (http://www.openembedded.org)交叉编译的,如果你对cross compile有问题,可以发到论坛上大家讨论。也可以直接发邮件给我ling_kasim@yahoo.cn
"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: 691
精华: 0
发帖: 4
金钱: 40 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2008-05-14
最后登录: 2008-07-22
4楼  发表于: 2008-05-15 11:38
我要移植自己在PC上用SDL(www.libsdl.org) 写的小游戏去ARM9平台。不过cross-compile的时候不知道怎么做才能使SDL支持用gtk+以支持多窗口的UI(运行游戏的时候还能有别的窗口界面可以跳出来),试了很多次都没成功;网上有些人好像cross-compile SDL 的时候只是支持Frame-buffer的内核显示驱动,这个我也可以做到;但是好像config对gtk+这种graphics interface就遇到很多错误;不知道楼主可否试一下
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2008-05-15 12:01

 Re:OpenMoko running on  QQ2440V3

我不太清楚SDL是否支持GTK,不过如果SDL可以在Linux PC的X11环境下运行,那至少说明它可以支持X11,Openmoko和Linux PC的X11/GTK环境一样,都可以通过Xserver写Framebuffer。
"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: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
6楼  发表于: 2008-05-15 12:18

 Re:OpenMoko running on  QQ2440V3

根据http://www.libsdl.org/intro.en/whatplatforms.html:

Linux
> Uses X11 for video display, taking advantage of XFree86 DGA extensions and new MTRR acceleration for fullscreen display.
>Uses the OSS API for sound.
>Threads are implemented using either the clone() system call and SysV IPC, or glibc-2.1 pthreads.

你应该可以把SDL配置成支持X11的模式,这在OpenMoko上是支持的。
"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: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2008-05-15 12:32

 Re:OpenMoko running on  QQ2440V3

事实上OpenEmedded里已经包含了libsdl(支持X11),你可以参考
http://oe.linuxtogo.org/repo/org.openembedded.dev/packages/libsdl/libsdl-x11_1.2.9.bb
http://oe.linuxtogo.org/repo/org.openembedded.dev/packages/libsdl/ 下的内容

附件里是OpenEmedded 配置和编译libsdl的log文件,供你参考
附件: libsdl-x11_oe_log.zip (14 K) 下载次数:8
"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: 691
精华: 0
发帖: 4
金钱: 40 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2008-05-14
最后登录: 2008-07-22
8楼  发表于: 2008-05-15 15:14

 Re:OpenMoko running on QQ2440V3

太感谢了,我学习一下试试看
级别: 新手上路
UID: 691
精华: 0
发帖: 4
金钱: 40 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2008-05-14
最后登录: 2008-07-22
9楼  发表于: 2008-05-29 11:07

 Re:OpenMoko running on QQ2440V3

我用的distro是fedora core 8和ubuntu gusty(7.10),好像mokoMakefile讲的步骤每次都在subversion卡住,即使make qemu都失败;楼主可否告知使用的是哪个网页的设置步骤?您用的是什么distro?
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go