免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2912 | 回复: 2
打印 上一主题 下一主题

谁能帮我看一下我内核移植的错误!谢谢! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-05 10:51 |只看该作者 |倒序浏览
我移植的是2。6。24。4

但是我往板子上下,启动的时候出现了问题
os_auto_flag=7
Now boot Linux
Now run Linux right now
StartPage at 0x800
buf at 0x30200000
Set boot params = noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200
I can come here
I guess there will be some problems
Uncompressing

Linux......................................................................................................................

done, booting the kernel.
Linux version 2.6.24.4 (niu@niu-desktop) (gcc version 3.4.1) #55 Thu Sep 4 16:19:34 CST 2008
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2410
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200
irq: clearing pending status 00002000
irq: clearing subpending status 00000093
irq: clearing subpending status 00000092
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00090d09, tcnt a2c1, tcfg 0000020f,00001032, usec 00001eb8
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61056KB available (3392K code, 326K data, 132K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2410: Initialising architecture
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 204
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
NTFS driver 2.1.29 [Flags: R/W DEBUG].
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
led1 initialized!
led2 initialized!
led3 initialized!
led4 initialized!
irq request successfully!
int request ok!
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: module loaded
usbcore: registered new interface driver ub
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: CS8900A rev E at 0xe0000300 irq=53, addr: 00: 0:3E:26:0A: 0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand s3c2410-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 518 at 0x00818000
Bad eraseblock 519 at 0x0081c000
Bad eraseblock 520 at 0x00820000
Bad eraseblock 521 at 0x00824000
Bad eraseblock 522 at 0x00828000
Bad eraseblock 523 at 0x0082c000
Bad eraseblock 524 at 0x00830000
Bad eraseblock 525 at 0x00834000
Bad eraseblock 526 at 0x00838000
Bad eraseblock 527 at 0x0083c000
Bad eraseblock 528 at 0x00840000
Bad eraseblock 529 at 0x00844000
Bad eraseblock 530 at 0x00848000
Bad eraseblock 531 at 0x0084c000
Bad eraseblock 532 at 0x00850000
Bad eraseblock 533 at 0x00854000
Bad eraseblock 534 at 0x00858000
Bad eraseblock 535 at 0x0085c000
Bad eraseblock 536 at 0x00860000
Bad eraseblock 537 at 0x00864000
Bad eraseblock 538 at 0x00868000
Bad eraseblock 539 at 0x0086c000
Bad eraseblock 540 at 0x00870000
Bad eraseblock 541 at 0x00874000
Bad eraseblock 542 at 0x00878000
Bad eraseblock 543 at 0x0087c000
Bad eraseblock 544 at 0x00880000
Bad eraseblock 545 at 0x00884000
Bad eraseblock 546 at 0x00888000
Bad eraseblock 547 at 0x0088c000
Bad eraseblock 548 at 0x00890000
Bad eraseblock 549 at 0x00894000
Bad eraseblock 550 at 0x00898000
Bad eraseblock 551 at 0x0089c000
Bad eraseblock 552 at 0x008a0000
Bad eraseblock 553 at 0x008a4000
Bad eraseblock 554 at 0x008a8000
Bad eraseblock 555 at 0x008ac000
Bad eraseblock 556 at 0x008b0000
Bad eraseblock 557 at 0x008b4000
Bad eraseblock 558 at 0x008b8000
Bad eraseblock 559 at 0x008bc000
Bad eraseblock 560 at 0x008c0000
Bad eraseblock 561 at 0x008c4000
Bad eraseblock 562 at 0x008c8000
Bad eraseblock 563 at 0x008cc000
Bad eraseblock 564 at 0x008d0000
Bad eraseblock 565 at 0x008d4000
Bad eraseblock 566 at 0x008d8000
Bad eraseblock 567 at 0x008dc000
Bad eraseblock 568 at 0x008e0000
Bad eraseblock 569 at 0x008e4000
Bad eraseblock 570 at 0x008e8000
Bad eraseblock 571 at 0x008ec000
Bad eraseblock 572 at 0x008f0000
Bad eraseblock 573 at 0x008f4000
Bad eraseblock 574 at 0x008f8000
Bad eraseblock 575 at 0x008fc000
Bad eraseblock 576 at 0x00900000
Bad eraseblock 577 at 0x00904000
Bad eraseblock 578 at 0x00908000
Bad eraseblock 579 at 0x0090c000
Bad eraseblock 580 at 0x00910000
Bad eraseblock 581 at 0x00914000
Bad eraseblock 582 at 0x00918000
Bad eraseblock 583 at 0x0091c000
Bad eraseblock 584 at 0x00920000
Bad eraseblock 585 at 0x00924000
Bad eraseblock 586 at 0x00928000
Bad eraseblock 587 at 0x0092c000
Bad eraseblock 588 at 0x00930000
Bad eraseblock 589 at 0x00934000
Bad eraseblock 590 at 0x00938000
Bad eraseblock 591 at 0x0093c000
Bad eraseblock 592 at 0x00940000
Bad eraseblock 593 at 0x00944000
Bad eraseblock 594 at 0x00948000
Bad eraseblock 595 at 0x0094c000
Bad eraseblock 596 at 0x00950000
Bad eraseblock 597 at 0x00954000
Bad eraseblock 598 at 0x00958000
Bad eraseblock 599 at 0x0095c000
Bad eraseblock 600 at 0x00960000
Bad eraseblock 601 at 0x00964000
Bad eraseblock 602 at 0x00968000
Bad eraseblock 603 at 0x0096c000
Bad eraseblock 604 at 0x00970000
Bad eraseblock 605 at 0x00974000
Bad eraseblock 606 at 0x00978000
Bad eraseblock 607 at 0x0097c000
Bad eraseblock 608 at 0x00980000
Bad eraseblock 609 at 0x00984000
Bad eraseblock 610 at 0x00988000
Bad eraseblock 611 at 0x0098c000
Bad eraseblock 612 at 0x00990000
Bad eraseblock 613 at 0x00994000
Bad eraseblock 614 at 0x00998000
Bad eraseblock 615 at 0x0099c000
Bad eraseblock 616 at 0x009a0000
Bad eraseblock 617 at 0x009a4000
Bad eraseblock 618 at 0x009a8000
Bad eraseblock 619 at 0x009ac000
Bad eraseblock 620 at 0x009b0000
Bad eraseblock 621 at 0x009b4000
Bad eraseblock 622 at 0x009b8000
Bad eraseblock 623 at 0x009bc000
Bad eraseblock 624 at 0x009c0000
Bad eraseblock 625 at 0x009c4000
Bad eraseblock 626 at 0x009c8000
Bad eraseblock 627 at 0x009cc000
Bad eraseblock 628 at 0x009d0000
Bad eraseblock 629 at 0x009d4000
Bad eraseblock 630 at 0x009d8000
Bad eraseblock 631 at 0x009dc000
Bad eraseblock 632 at 0x009e0000
Bad eraseblock 633 at 0x009e4000
Bad eraseblock 634 at 0x009e8000
Bad eraseblock 635 at 0x009ec000
Bad eraseblock 636 at 0x009f0000
Bad eraseblock 637 at 0x009f4000
Bad eraseblock 638 at 0x009f8000
Bad eraseblock 639 at 0x009fc000
Bad eraseblock 640 at 0x00a00000
Bad eraseblock 641 at 0x00a04000
Bad eraseblock 642 at 0x00a08000
Bad eraseblock 643 at 0x00a0c000
Bad eraseblock 644 at 0x00a10000
Bad eraseblock 645 at 0x00a14000
Bad eraseblock 646 at 0x00a18000
Bad eraseblock 647 at 0x00a1c000
Bad eraseblock 648 at 0x00a20000
Bad eraseblock 649 at 0x00a24000
Bad eraseblock 650 at 0x00a28000
Bad eraseblock 651 at 0x00a2c000
Bad eraseblock 652 at 0x00a30000
Bad eraseblock 653 at 0x00a34000
Bad eraseblock 654 at 0x00a38000
Bad eraseblock 655 at 0x00a3c000
Bad eraseblock 656 at 0x00a40000
Bad eraseblock 657 at 0x00a44000
Bad eraseblock 658 at 0x00a48000
Bad eraseblock 659 at 0x00a4c000
Bad eraseblock 660 at 0x00a50000
Bad eraseblock 661 at 0x00a54000
Bad eraseblock 662 at 0x00a58000
Bad eraseblock 663 at 0x00a5c000
Bad eraseblock 664 at 0x00a60000
Bad eraseblock 665 at 0x00a64000
Bad eraseblock 666 at 0x00a68000
Bad eraseblock 667 at 0x00a6c000
Bad eraseblock 668 at 0x00a70000
Bad eraseblock 669 at 0x00a74000
Bad eraseblock 670 at 0x00a78000
Bad eraseblock 671 at 0x00a7c000
Bad eraseblock 672 at 0x00a80000
Bad eraseblock 673 at 0x00a84000
Bad eraseblock 674 at 0x00a88000
Bad eraseblock 675 at 0x00a8c000
Bad eraseblock 676 at 0x00a90000
Bad eraseblock 677 at 0x00a94000
Bad eraseblock 678 at 0x00a98000
Bad eraseblock 679 at 0x00a9c000
Bad eraseblock 680 at 0x00aa0000
Bad eraseblock 681 at 0x00aa4000
Bad eraseblock 682 at 0x00aa8000
Bad eraseblock 683 at 0x00aac000
Bad eraseblock 684 at 0x00ab0000
Bad eraseblock 685 at 0x00ab4000
Bad eraseblock 686 at 0x00ab8000
Bad eraseblock 687 at 0x00abc000
Bad eraseblock 688 at 0x00ac0000
Bad eraseblock 689 at 0x00ac4000
Bad eraseblock 690 at 0x00ac8000
Bad eraseblock 691 at 0x00acc000
Bad eraseblock 692 at 0x00ad0000
Bad eraseblock 693 at 0x00ad4000
Bad eraseblock 694 at 0x00ad8000
Bad eraseblock 695 at 0x00adc000
Bad eraseblock 696 at 0x00ae0000
Bad eraseblock 697 at 0x00ae4000
Bad eraseblock 698 at 0x00ae8000
Bad eraseblock 699 at 0x00aec000
Bad eraseblock 700 at 0x00af0000
Bad eraseblock 701 at 0x00af4000
Bad eraseblock 702 at 0x00af8000
Bad eraseblock 703 at 0x00afc000
Creating 5 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00020000 : "Boot"
0x00020000-0x00100000 : "aram"
0x00100000-0x00400000 : "Kernel"
0x00400000-0x01800000 : "Root"
0x01800000-0x04000000 : "usr"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 390 KHz
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
end_request: I/O error, dev mtdblock3, sector 2
EXT3-fs: unable to read superblock
end_request: I/O error, dev mtdblock3, sector 2
EXT2-fs: unable to read superblock
end_request: I/O error, dev mtdblock3, sector 0
Buffer I/O error on device mtdblock3, logical block 0
end_request: I/O error, dev mtdblock3, sector 0
Buffer I/O error on device mtdblock3, logical block 0
end_request: I/O error, dev mtdblock3, sector 8
Buffer I/O error on device mtdblock3, logical block 1
end_request: I/O error, dev mtdblock3, sector 8
Buffer I/O error on device mtdblock3, logical block 1
end_request: I/O error, dev mtdblock3, sector 16
Buffer I/O error on device mtdblock3, logical block 2
end_request: I/O error, dev mtdblock3, sector 16
Buffer I/O error on device mtdblock3, logical block 2
end_request: I/O error, dev mtdblock3, sector 24
Buffer I/O error on device mtdblock3, logical block 3
end_request: I/O error, dev mtdblock3, sector 24
Buffer I/O error on device mtdblock3, logical block 3
end_request: I/O error, dev mtdblock3, sector 0
FAT: unable to read boot sector
VFS: Cannot open root device "mtdblock3" or unknown-block(31,3)
Please append a correct "root=" boot option; here are the available partitions:
1f00        128 mtdblock0 (driver?)
1f01        896 mtdblock1 (driver?)
1f02       3072 mtdblock2 (driver?)
1f03      20480 mtdblock3 (driver?)
1f04      40960 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)

这是什么意思啊 ?

论坛徽章:
0
2 [报告]
发表于 2008-09-05 10:56 |只看该作者

回复 #1 wangbenqq 的帖子

MTD-NAND驱动是不是有问题?

论坛徽章:
0
3 [报告]
发表于 2008-09-05 20:04 |只看该作者
看一下你的FLASH的eraseblock大小是多大?是不是和你制作img时设置的大小一样?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP