OK6410内核移植记录

NAND read: device 0 offset 0x100000, size 0x500000

 5242880 bytes read: OK

Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

一、在内核配置中增加串口打印功能后输出信息

Boot with zImage

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Linux version 3.2.8 (root@jtx-virtual-machine) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #3 Thu Mar 1 10:51:28 CST 2012

[    0.000000] CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache

[    0.000000] Machine: SMDK6410

[    0.000000] Memory policy: ECC disabled, Data cache writeback

[    0.000000] CPU S3C6410 (id 0x36410101)

[    0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics

[    0.000000] camera: no parent clock specified

[    0.000000] S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000

[    0.000000] S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000

[    0.000000] mout_apll: source is fout_apll (1), rate is 532000000

[    0.000000] mout_epll: source is epll (1), rate is 24000000

[    0.000000] mout_mpll: source is mpll (1), rate is 532000000

[    0.000000] mmc_bus: source is mout_epll (0), rate is 24000000

[    0.000000] mmc_bus: source is mout_epll (0), rate is 24000000

[    0.000000] mmc_bus: source is mout_epll (0), rate is 24000000

[    0.000000] usb-bus-host: source is clk_48m (0), rate is 48000000

[    0.000000] uclk1: source is dout_mpll (1), rate is 66500000

[    0.000000] spi-bus: source is mout_epll (0), rate is 24000000

[    0.000000] spi-bus: source is mout_epll (0), rate is 24000000

[    0.000000] audio-bus: source is mout_epll (0), rate is 24000000

[    0.000000] audio-bus: source is mout_epll (0), rate is 24000000

[    0.000000] audio-bus: source is mout_epll (0), rate is 24000000

[    0.000000] irda-bus: source is mout_epll (0), rate is 24000000

[    0.000000] camera: no parent clock specified

[    0.000000] CPU: found DTCM0 8k @ 00000000, not enabled

[    0.000000] CPU: moved DTCM0 8k to fffe8000, enabled

[    0.000000] CPU: found DTCM1 8k @ 00000000, not enabled

[    0.000000] CPU: moved DTCM1 8k to fffea000, enabled

[    0.000000] CPU: found ITCM0 8k @ 00000000, not enabled

[    0.000000] CPU: moved ITCM0 8k to fffe0000, enabled

[    0.000000] CPU: found ITCM1 8k @ 00000000, not enabled

[    0.000000] CPU: moved ITCM1 8k to fffe2000, enabled

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024

[    0.000000] Kernel command line: root=/dev/mtdblock2  rootfstype=yaffs2 console=ttySAC0,115200 lcdsize=56

[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

[    0.000000] allocated 1048576 bytes of page_cgroup

[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups

[    0.000000] Memory: 256MB = 256MB total

[    0.000000] Memory: 251040k/251040k available, 11104k reserved, 0K highmem

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     DTCM    : 0xfffe8000 - 0xfffec000   (  16 kB)

[    0.000000]     ITCM    : 0xfffe0000 - 0xfffe4000   (  16 kB)

[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

[    0.000000]     vmalloc : 0xd0800000 - 0xf6000000   ( 600 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)

[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)

[    0.000000]       .text : 0xc0008000 - 0xc0644000   (6384 kB)

[    0.000000]       .init : 0xc0644000 - 0xc0685000   ( 260 kB)

[    0.000000]       .data : 0xc0686000 - 0xc06bd330   ( 221 kB)

[    0.000000]        .bss : 0xc06be024 - 0xc079702c   ( 869 kB)

[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

[    0.000000] NR_IRQS:246 nr_irqs:246 246

[    0.000000] VIC @f6000000: id 0x00041192, vendor 0x41

[    0.000000] VIC @f6010000: id 0x00041192, vendor 0x41

[    0.000000] Console: colour dummy device 80x30

[    0.010000] Calibrating delay loop... 528.79 BogoMIPS (lpj=2643968)

[    0.060000] pid_max: default: 32768 minimum: 301

[    0.070000] Security Framework initialized

[    0.070000] AppArmor: AppArmor initialized

[    0.070000] Mount-cache hash table entries: 512

[    0.070000] Initializing cgroup subsys cpuacct

[    0.070000] Initializing cgroup subsys memory

[    0.070000] Initializing cgroup subsys devices

[    0.070000] Initializing cgroup subsys freezer

[    0.070000] Initializing cgroup subsys net_cls

[    0.070000] CPU: Testing write buffer coherency: ok

[    0.070000] ftrace: allocating 17122 entries in 51 pages

[    0.080000] hw perfevents: enabled with v6 PMU driver, 3 counters available

[    0.090000] devtmpfs: initialized

[    0.090000] print_constraints: dummy: 

[    0.090000] NET: Registered protocol family 16

[    0.100000] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.

[    0.100000] hw-breakpoint: maximum watchpoint size is 4 bytes.

[    0.100000] S3C6410: Initialising architecture

[    0.110000] bio: create slab <bio-0> at 0

[    0.120000] SCSI subsystem initialized

[    0.120000] usbcore: registered new interface driver usbfs

[    0.120000] usbcore: registered new interface driver hub

[    0.120000] usbcore: registered new device driver usb

[    0.120000] NetLabel: Initializing

[    0.120000] NetLabel:  domain hash size = 128

[    0.120000] NetLabel:  protocols = UNLABELED CIPSOv4

[    0.120000] NetLabel:  unlabeled traffic allowed by default

[    0.150000] AppArmor: AppArmor Filesystem Enabled

[    0.180000] NET: Registered protocol family 2

[    0.180000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.190000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)

[    0.190000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)

[    0.190000] TCP: Hash tables configured (established 8192 bind 8192)

[    0.190000] TCP reno registered

[    0.190000] UDP hash table entries: 256 (order: 0, 4096 bytes)

[    0.190000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[    0.190000] NET: Registered protocol family 1

[    0.190000] audit: initializing netlink socket (disabled)

[    0.190000] type=2000 audit(0.190:1): initialized

[    0.390000] VFS: Disk quotas dquot_6.5.2

[    0.390000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    0.400000] fuse init (API version 7.17)

[    0.400000] msgmni has been set to 490

[    0.400000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

[    0.400000] io scheduler noop registered

[    0.400000] io scheduler deadline registered

[    0.400000] io scheduler cfq registered (default)

[    0.400000] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    0.410000] s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 69) is a S3C6400/10

[    0.420000] console [ttySAC0] enabled

[    0.430000] s3c6400-uart.1: ttySAC1 at MMIO 0x7f005400 (irq = 70) is a S3C6400/10

[    0.430000] s3c6400-uart.2: ttySAC2 at MMIO 0x7f005800 (irq = 71) is a S3C6400/10

[    0.440000] s3c6400-uart.3: ttySAC3 at MMIO 0x7f005c00 (irq = 72) is a S3C6400/10

[    0.470000] brd: module loaded

[    0.480000] loop: module loaded

[    0.480000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    0.480000] s3c2410-ohci s3c2410-ohci: S3C24XX OHCI

[    0.490000] s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1

[    0.490000] s3c2410-ohci s3c2410-ohci: irq 79, io mem 0x74300000

[    0.560000] s3c2410-ohci s3c2410-ohci: init err (00000000 0000)

[    0.560000] ohci_hcd: can't start s3c24xx

[    0.560000] s3c2410-ohci s3c2410-ohci: startup error -75

[    0.560000] s3c2410-ohci s3c2410-ohci: USB bus 1 deregistered

[    0.570000] s3c2410-ohci: probe of s3c2410-ohci failed with error -75

[    0.580000] mousedev: PS/2 mouse device common for all mice

[    0.580000] device-mapper: uevent: version 1.0.3

[    0.590000] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com

[    0.600000] device-mapper: multipath: version 1.3.0 loaded

[    0.600000] device-mapper: multipath round-robin: version 1.0.0 loaded

[    0.610000] cpuidle: using governor ladder

[    0.610000] TCP cubic registered

[    0.620000] NET: Registered protocol family 10

[    0.620000] NET: Registered protocol family 17

[    0.620000] Registering the dns_resolver key type

[    0.630000] registered taskstats version 1

[    0.630000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

[    0.640000] md: Waiting for all devices to be available before autodetect

[    0.650000] md: If you don't use raid, use raid=noautodetect

[    0.650000] md: Autodetecting RAID arrays.

[    0.650000] md: Scanned 0 and added 0 devices.

[    0.660000] md: autorun ...

[    0.660000] md: ... autorun DONE.

[    0.670000] VFS: Cannot open root device "mtdblock2" or unknown-block(0,0)

[    0.670000] Please append a correct "root=" boot option; here are the available partitions:

[    0.680000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

[    0.690000] Backtrace: 

[    0.690000] [<c000c978>] (dump_backtrace+0x0/0x114) from [<c04b959c>] (dump_stack+0x20/0x24)

[    0.700000]  r6:c06be0a0 r5:c066ad80 r4:c06bf678

[    0.700000] [<c04b957c>] (dump_stack+0x0/0x24) from [<c04b9608>] (panic+0x68/0x198)

[    0.710000] [<c04b95a0>] (panic+0x0/0x198) from [<c0644ccc>] (mount_block_root+0x1e8/0x2c4)

[    0.720000]  r3:060643a3 r2:00000000 r1:cf86ff60 r0:c05bc638

[    0.730000]  r7:00008000

[    0.730000] [<c0644ae4>] (mount_block_root+0x0/0x2c4) from [<c0644f20>] (mount_root+0x54/0x6c)

[    0.740000] [<c0644ecc>] (mount_root+0x0/0x6c) from [<c06450a4>] (prepare_namespace+0x16c/0x1cc)

[    0.750000]  r5:c066ad91 r4:c06be0a0

[    0.750000] [<c0644f38>] (prepare_namespace+0x0/0x1cc) from [<c0644950>] (kernel_init+0x104/0x13c)

[    0.760000]  r5:c0683f40 r4:c0683f40

[    0.760000] [<c064484c>] (kernel_init+0x0/0x13c) from [<c002c1e8>] (do_exit+0x0/0x720)

[    0.770000]  r5:c064484c r4:00000000

原版打印信息

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Linux version 3.0.1 (root@forlinx) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #348 Fri Feb 10 09:58:08 CST 2012

S3C24XX Clocks, Copyright 2004 Simtec Electronics

camera: no parent clock specified

S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000

S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000

mout_apll: source is fout_apll (1), rate is 532000000

mout_epll: source is epll (1), rate is 24000000

mout_mpll: source is mpll (1), rate is 532000000

mmc_bus: source is mout_epll (0), rate is 24000000

mmc_bus: source is mout_epll (0), rate is 24000000

mmc_bus: source is mout_epll (0), rate is 24000000

usb-bus-host: source is clk_48m (0), rate is 48000000

uclk1: source is dout_mpll (1), rate is 66500000

spi-bus: source is mout_epll (0), rate is 24000000

spi-bus: source is mout_epll (0), rate is 24000000

audio-bus: source is mout_epll (0), rate is 24000000

audio-bus: source is mout_epll (0), rate is 24000000

audio-bus: source is mout_epll (0), rate is 24000000

irda-bus: source is mout_epll (0), rate is 24000000

camera: no parent clock specified

Kernel command line: root=/dev/mtdblock2  rootfstype=yaffs2 console=ttySAC0,115200 lcdsize=56

PID hash table entries: 1024 (order: 0, 4096 bytes)

Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

Memory: 256MB = 256MB total

Memory: 197672k/197672k available, 64472k reserved, 0K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    DMA     : 0xff600000 - 0xffe00000   (   8 MB)

    vmalloc : 0xd0800000 - 0xf4000000   ( 568 MB)

    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)

    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    modules : 0xbf000000 - 0xbfe00000   (  14 MB)

      .init : 0xc0008000 - 0xc0033000   ( 172 kB)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值