分享

移植根文件系统时出现的问题

 昵称15757854 2014-02-23
Creating 6 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x000000000000-0x000000060000 : "Bootloader"
0x000000060000-0x000000080000 : "BootParam"
0x000000080000-0x000000200000 : "BootLogo"
0x000000200000-0x000000560000 : "Kernel"
0x000000560000-0x000002d60000 : "Qt"
0x000002d60000-0x000003560000 : "Rootfs"
dm9000 Ethernet Driver, V1.31
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
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
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 152K
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[<c00349d4>] (unwind_backtrace+0x0/0xd4) from [<c005252c>] (panic+0x40/0x12c)
[<c005252c>] (panic+0x40/0x12c) from [<c002e5a0>] (init_post+0xc8/0xf8)
[<c002e5a0>] (init_post+0xc8/0xf8) from [<c00088d0>] (kernel_init+0xd8/0x10c)
[<c00088d0>] (kernel_init+0xd8/0x10c) from [<c002fe2c>] (kernel_thread_exit+0x0/0x8)

在网上查了好久的资料,各种网上的方法都试了下,最后发现根文件系统烧写时候,文件的size要是512+16B 一页的整数倍,这个跟nand flash的分页有关,不同的flash可能分页大小不一样,所以要根据具体的来改。一直以为是uboot那边没有移植好的问题,纠结了好久。。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多