主题 : linux启动参数重复问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 52626
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
综合积分: 6 分
注册时间: 2011-07-22
最后登录: 2011-11-19
楼主  发表于: 2011-09-30 13:28

 linux启动参数重复问题

刚学的linux内核,移植了系统内核的nand加载到mini6410板成功。启动信息看到分区,但是启动参数好多重复。有没有知道怎么回事的帮马忙解答一下~~ 下面是串口跟nand分区的信息~~

<6>Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
<6>s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
<6>s3c6400-uart.1: ttySAC1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
s3c6400-uart.1: ttySAC1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
<6>s3c6400-uart.2: ttySAC2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
s3c6400-uart.2: ttySAC2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
<6>s3c6400-uart.3: ttySAC3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
s3c6400-uart.3: ttySAC3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
<6>brd: module loaded
brd: module loaded
<6>loop: module loaded
loop: module loaded
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver is using hardware ECC.
S3C NAND Driver is using hardware ECC.
<6>NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-b
it)
NAND device: Manuf<cturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)

5>Creating 3 MTD partitions on "NAND 1GiB 3,3V 8-bit":
Creating 3 MTD partitions on "NAND 1GiB 3,3V 8-bit":
<5>0x000000000000-0x000000080000 : "Bootloader"
0x000000000000-0x000000080000 : "Bootloader"
<5>0x000000080000-0x000000580000 : "Kernel"
0x000000080000-0x000000580000 : "Kernel"
<5>0x000000580000-0x000040000000 : "File System"
0x000000580000-0x000040000000 : "File System"
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2011-09-30 16:58
看上去是这个内核修改了printk()的实现,在正常的内核console之外加上了直接通过串口打印启动信息的功能。
"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."