主题 : How to port 2.6.25 kernel 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 807
精华: 1
发帖: 2
金钱: 40 两
威望: 22 点
贡献值: 10 点
综合积分: 24 分
注册时间: 2008-06-02
最后登录: 2009-03-27
楼主  发表于: 2008-06-02 16:47

 How to port 2.6.25 kernel

管理提醒: 本帖被 qq2440 执行置顶操作(2009-12-07)
Hello

I 'have a QQ2440 board and i try to port a linux 2.6.25 kernel.
I try to make a patch with 2.6.13 kernel with the original but when i patch the 2.6.25 kernel i have a lot of error.
I would know if someone have made a patch with just driver.
Thanks.
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-06-03 08:01
I think these patches can be applied to 2.6.25 kernel with a little modification
https://opencsbc.svn.sourceforge.net/svnroot/opencsbc/trunk/target/kernel/patches/2.6.24.x

Also there's an OpenEmbedded package for 2.6.24 kernel for QQ2440V3
https://opencsbc.svn.sourceforge.net/svnroot/opencsbc/trunk/oe/packages/linux/linux-opencsbc_2.6.24.bb
"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: 807
精华: 1
发帖: 2
金钱: 40 两
威望: 22 点
贡献值: 10 点
综合积分: 24 分
注册时间: 2008-06-02
最后登录: 2009-03-27
2楼  发表于: 2008-06-03 15:31
Thanks kasim.
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-06-03 21:08
Tell us if you have any trouble in porting 2.6.25 kernel
"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: 989
精华: 0
发帖: 12
金钱: 120 两
威望: 12 点
贡献值: 0 点
综合积分: 24 分
注册时间: 2008-07-04
最后登录: 2017-09-13
4楼  发表于: 2008-07-04 17:12
Hello Kasim,

please, can you give me you local.conf for the openembedded?
i don't understand the system :(
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2008-07-05 13:05
引用第4楼thopos于2008-07-04 17:12发表的  :
Hello Kasim,

please, can you give me you local.conf for the openembedded?
i don't understand the system :(


Hi thopos,
I've attached local.conf for building openmoko for QQ2440.
You don't need to understand openembedded if you want to port linux 2.6.2x to QQ2440 only. Just use the original kernel source from kernel.org and patches from https://opencsbc.svn.sourceforge.net/svnroot/opencsbc/trunk/target/kernel/patches/2.6.24.x The kernel config file is https://opencsbc.svn.sourceforge.net/svnroot/opencsbc/trunk/oe/packages/linux/linux-opencsbc/defconfig-2.6.24
[ 此贴被kasim在2008-07-05 13:10重新编辑 ]
附件: local.conf.zip (4 K) 下载次数:38
"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: 989
精华: 0
发帖: 12
金钱: 120 两
威望: 12 点
贡献值: 0 点
综合积分: 24 分
注册时间: 2008-07-04
最后登录: 2017-09-13
6楼  发表于: 2008-07-05 15:54
Hello Kasim,

thank you for your support.
last night i get openembedded to run. For linux newbie the whole linux-build system, e.g. autobuild, buildroot, openembedded is very complicated. you must reinstall this, you must configurate this and so on.

now kernel build is ok; i think, i compile now the uboot.
if i have anymore questions i feel free to contact you :-)

and if i have a running system i will write a small howto for dummys
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2008-07-05 16:04
引用第6楼thopos于2008-07-05 15:54发表的  :
Hello Kasim,

thank you for your support.
last night i get openembedded to run. For linux newbie the whole linux-build system, e.g. autobuild, buildroot, openembedded is very complicated. you must reinstall this, you must configurate this and so on.

.......



I'm glad to hear that:) OpenEmbedded is very powerful tool for building filesystem images but it could be very complicated if something went wrong:(
"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: 989
精华: 0
发帖: 12
金钱: 120 两
威望: 12 点
贡献值: 0 点
综合积分: 24 分
注册时间: 2008-07-04
最后登录: 2017-09-13
8楼  发表于: 2008-07-05 16:10
yeah, and every time something went wrong :-)

another question. Which way you use to build the root-fs?; because the kernel is build by the openmoko toolchain and the default rootfs (include qq2440v3) is build with ??? gcc.
Have you another configuration to build the root-fs via openembedded?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
9楼  发表于: 2008-07-05 16:46
引用第8楼thopos于2008-07-05 16:10发表的  :
yeah, and every time something went wrong :-)

another question. Which way you use to build the root-fs?; because the kernel is build by the openmoko toolchain and the default rootfs (include qq2440v3) is build with ??? gcc.
Have you another configuration to build the root-fs via openembedded?


I built the rootfs image via "complicated" OpenMoko/OpenEmedded (http://wiki.openmoko.org/wiki/Openmoko2007.2#How_to_build).
I don't understand what you mean by "another configuration to build the root-fs via openembedded". I've attached my 'local.conf' already.
"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."