• «
  • 1
  • 2
  • 3
  • »
  • Pages: 3/3     Go
主题 : 移植Android2.1(附获取freerunner 2.1 源码的方法) 复制链接 | 浏览器收藏 | 打印
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
20楼  发表于: 2010-08-28 11:21
我用的是mini2440 配置的7inch 的 “a70”屏

如果你看一眼shinelk提供的2.6.27内核源代码里的arch/arm/mach-s3c2440/mach-smdk2440.c的话,你就会发现mini2440_lcd_cfg里只包含了对3.5寸LCD屏的支持。

至于触摸屏,我想是校准的问题,这和LCD的分辨率有关,你得先搞定LCD;
你用的文件系统已经经过shinelk精简过了,应该可以在64M的mini2440上运行。
"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
21楼  发表于: 2010-08-28 11:28
只修改了宽和高,
不知其他参数需要改不?

是的,需要。你可以从开发板光盘上提供的内核源代码里找到A70屏的参数
"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
22楼  发表于: 2010-08-30 14:10
引用第92楼359853147qq于2010-08-30 12:50发表的  :
版主, 屏的事参考mini2440 kernel上的参数修改一下搞定了!
logcat工具,我查了很久,都没个头绪,不知要在哪里添加相关的代码才能出来调试信息?查得比较多的是在Eclipse下调试的。
版主啊,指导一下,是不是可以在linux_cmd_line 下输入logcat命令,相应的命令是什么?还是一定要在Eclipse或模拟器下,其相应的大概调试步骤又是啥?还是在android文件系统[android2.1-armv4t-rootfs.tar.gz]的某些源文件里添加?

谢谢版主!!!

呵呵,这个东西很难找吗?logcat是Android提供的一个命令行工具,直接在开发板串口终端的命令行上执行就可以了。
"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
23楼  发表于: 2010-08-30 16:11
抱歉,我看不懂你贴出来的logcat输出,如果你用的是Windows的超级终端,选择菜单里的"获取文字"把串口终端输出保存到文本文件里会好一些。
另外,你现在到底遇到什么问题?
"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
24楼  发表于: 2010-10-21 23:27

 回 106楼(3107002944) 的帖子

这是ARM汇编档的编译(正确的说法叫汇编),和java没有关系。我觉得上面这些错误似乎是源代码文件损坏造成的。你能把bionic/libc/arch-arm/bionic/memcmp.S这个文件贴出来吗?
"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
  • 3
  • »
  • Pages: 3/3     Go