主题 : Mini2440移植Linux3.2.1分享 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 17217
精华: 0
发帖: 77
金钱: 390 两
威望: 78 点
综合积分: 154 分
注册时间: 2010-03-26
最后登录: 2017-11-10
楼主  发表于: 2012-04-08 15:49

 Mini2440移植Linux3.2.1分享

第一次发帖,请大家支持下。大家下个kernel,还有yaffs,Linux3.2.1的文件系统的一个连接引用计数变化了,所以要自己修改下。听说最新的没有此问题,我没试验过。先贴个config上来,所有驱动还没移植,只是移植了个最基本的kernel。大家有兴趣的话,我可以把移植过程发上来。
描述:config
附件: config_mini2440.rar (12 K) 下载次数:32
级别: 侠客
UID: 17217
精华: 0
发帖: 77
金钱: 390 两
威望: 78 点
综合积分: 154 分
注册时间: 2010-03-26
最后登录: 2017-11-10
1楼  发表于: 2012-04-08 15:53
部分log:
Linux version 3.2.1 (root@kiss-VirtualBox) (gcc version 4.4.3 (ctng-1.6.1) ) #53 Sun Apr 8 15:33:18 CST 2012
samsung_cpu_id=843317249
CPU S3C2440A (id 0x32440001)
<----- console init start!
####tty_register_ldisc, disc=0, tty_ldisc:n_tty
=======0xc0340130
register_console() console_drivers =   (null) =======0xc0340134
++++dev->name:s3c2440-uart++++drv->name:s3c2440-uart++++
register_console
register_console() console_drivers =   (null)Linux version 3.2.1 (root@kiss-VirtualBox) (gcc version 4.4.3 (ctng-1.6.1) ) #53 Sun Apr 8 15:33:18 CST 2012
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: MINI2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 12544k/12544k available, 3840k reserved, 0K highmem
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2012-04-08 18:07
支持一下
"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: 37801
精华: 0
发帖: 16
金钱: 80 两
威望: 16 点
综合积分: 32 分
注册时间: 2011-02-16
最后登录: 2014-03-02
3楼  发表于: 2012-04-08 18:12
不错,求楼主怎样在内核里面设置通过nfs启动系统的步骤?
级别: 侠客
UID: 17217
精华: 0
发帖: 77
金钱: 390 两
威望: 78 点
综合积分: 154 分
注册时间: 2010-03-26
最后登录: 2017-11-10
4楼  发表于: 2012-04-08 19:36

 回 3楼(keaaron) 的帖子

首先kernel要支持nfs文件系统。步骤跟yaffs文件系统差不多,然后uboot传递给kernel的参数为nfs相关。
级别: 新手上路
UID: 56224
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
综合积分: 18 分
注册时间: 2011-10-01
最后登录: 2012-10-05
5楼  发表于: 2012-06-22 14:16
声卡能用吗?
级别: 新手上路
UID: 56224
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
综合积分: 18 分
注册时间: 2011-10-01
最后登录: 2012-10-05
6楼  发表于: 2012-06-22 14:18
我试了,3.2后的版本,声卡只能听到杂声
http://www.aiothome.net/read.php?tid-21052.html
级别: 新手上路
UID: 73118
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
综合积分: 18 分
注册时间: 2012-07-04
最后登录: 2017-09-13
7楼  发表于: 2012-07-16 16:30
麻烦楼主发下详细的移植过程,查了很多资料,一直不知道LINUX3.2以后在版本如何移植。。谢谢。。。