主题 : mini2440学习之(一)-------移植linux内核 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 3743
精华: 0
发帖: 28
金钱: 240 两
威望: 208 点
贡献值: 0 点
综合积分: 56 分
注册时间: 2009-02-05
最后登录: 2017-09-13
10楼  发表于: 2009-03-30 20:23
我按照你说的,重新下载,重新移植,还是出现那个错误,不知道为什么,求救!呜呜
# make menuconfig
Makefile:491: /home/xuquanrui/kernel/linux-2.6.22.2/arch//Makefile:没有那个文件或者目录
make:***No rule to make target
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
11楼  发表于: 2009-03-31 08:09
把你的操作—步一步贴出来
"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: 3743
精华: 0
发帖: 28
金钱: 240 两
威望: 208 点
贡献值: 0 点
综合积分: 56 分
注册时间: 2009-02-05
最后登录: 2017-09-13
12楼  发表于: 2009-03-31 20:31
我上按照楼主的步骤一点不变地照搬的,呜呜,求救,谢谢
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
13楼  发表于: 2009-03-31 21:48
沒有人在你旁边看着你做, 如果你不把你的操作贴出来, 神仙也救不了你
"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: 3870
精华: 2
发帖: 20
金钱: 240 两
威望: 240 点
贡献值: 20 点
综合积分: 80 分
注册时间: 2009-02-13
最后登录: 2009-07-31
14楼  发表于: 2009-04-01 15:59
引用第10楼xuquanrui于2009-03-30 20:23发表的  :
我按照你说的,重新下载,重新移植,还是出现那个错误,不知道为什么,求救!呜呜
# make menuconfig
Makefile:491: /home/xuquanrui/kernel/linux-2.6.22.2/arch//Makefile:没有那个文件或者目录
make:***No rule to make target



我按照我写的步骤修改了linux-2.6.24的内核  也没有出现问题!  
你再好好看看吧~~~  
级别: 新手上路
UID: 3743
精华: 0
发帖: 28
金钱: 240 两
威望: 208 点
贡献值: 0 点
综合积分: 56 分
注册时间: 2009-02-05
最后登录: 2017-09-13
15楼  发表于: 2009-04-03 17:53
谢谢各位了,找到了问题,是我弄错了。
不过移植后启动,出现:
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

只是什么问题呢?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
16楼  发表于: 2009-04-03 22:35

 回 15楼(xuquanrui) 的帖子

这个。。。属于经典问题。。。
"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: 3743
精华: 0
发帖: 28
金钱: 240 两
威望: 208 点
贡献值: 0 点
综合积分: 56 分
注册时间: 2009-02-05
最后登录: 2017-09-13
17楼  发表于: 2009-04-04 22:53
有没有经典解决方法呢?谢谢了
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
18楼  发表于: 2009-04-04 23:44

 回 17楼(xuquanrui) 的帖子

经典的解法就是不要用yaffs, 改用cramfs..., 或者和我一样, 用jffs2
"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: 2005
精华: 0
发帖: 3
金钱: 25 两
威望: 21 点
贡献值: 0 点
综合积分: 6 分
注册时间: 2008-10-17
最后登录: 2012-05-08
19楼  发表于: 2009-04-08 20:21
终端的字体太大了,设小点试一下