milanji 发表于 2007-5-8 10:32:59

移植2.6内核s3c2410没启动起来.

VIVI version 0.1.4 (root@linux-mp4l) (gcc version 2.95.3 20010315 (release)) #0.1.4 Tue May 8 01:51:17 CST 2007
MMU table base address = 0x33DFC000
Succeed memory mapping.
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Could not found stored vivi parameters. Use default vivi parameters.
Press Return to start the LINUX now, any other key for vivi
Copy linux kernel from 0x00030000 to 0x30008000, size = 0x00110000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/bon/2 init=/linuxrc console=ttyS0"
MACH_TYPE = 193
NOW, Booting Linux......
Uncompressing Linux........................................................................ done,
booting the kernel.

怎么才能打印出调试信息

milanji 发表于 2007-5-8 13:00:05

发现应该是bon分区问题:
我的bon分区:
bon part 0 192k 1311720 32702464:m
0: 0x00000000        0x00030000        00000000    0192k
1: 0x00030000        0x00100000        00000000    0    1M
2: 0x00130000        0x01e00000        00000000    0   30M
3: 0x01f30000        0x020cc000        00000001    0   32M+816k
mtd分区:
mtd_partition_t default_mtd_partitions[] = {
{
name: "vivi",
offset: 0,
size: 0x00020000,
flag: 0
}, {
name: "param",
offset: 0x00020000,
size: 0x00010000,
flag: 0
}, {
name: "kernel",
offset: 0x00030000,
size: 0x000C0000,
flag: 0
}, {
name: "root",
offset: 0x00100000,
size: 0x00140000,
flag: MF_BONFS
}
};
#endif
但是我的内核超过1M,应该怎么改分区呢?
bon与mtd分区是什么关系呀?
页: [1]
查看完整版本: 移植2.6内核s3c2410没启动起来.