天嵌 ARM开发社区

 找回密码
 注册
查看: 2289|回复: 2

请教关于文件系统移植的问题~求版主看看·~

[复制链接]
erteron 发表于 2010-10-13 19:48:40 | 显示全部楼层 |阅读模式
本帖最后由 erteron 于 2010-10-13 19:50 编辑

我十一前弄了一个文件系统~可以的~但是十一以后回来 ~再试就不可以了~出现下面的错误~~   

block 1193 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 124K
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c002d390>] (unwind_backtrace+0x0/0xec) from [<c028ff40>] (panic+0x54/0xdc)
[<c028ff40>] (panic+0x54/0xdc) from [<c0027564>] (init_post+0x9c/0xbc)
[<c0027564>] (init_post+0x9c/0xbc) from [<c00085f4>] (kernel_init+0x110/0x14c)
[<c0008
上面的这是从nor启动 烧写和启动的
但是我从nand 启动~再烧写 就可以通过~~相同的内核 相同的文件系统~
      #####    Boot for Nand Flash Main Menu  #####
#####     EmbedSky USB download mode     #####
Enter your selection: 8
Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35.5_Star (root@EmbedSky) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176) ) #14 Tue Oct 12 21:10:23 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
PID hash table entries: 256 (order: -2, 1024 bytes)
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: 60972k/60972k available, 4564k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xe0000000   ( 440 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0027000   ( 124 kB)
      .text : 0xc0027000 - 0xc0378000   (3396 kB)
      .data : 0xc038e000 - 0xc03af380   ( 133 kB)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:85
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
gpiochip_add: gpios 288..303 (GPIOK) failed to register
gpiochip_add: gpios 320..334 (GPIOL) failed to register
gpiochip_add: gpios 352..353 (GPIOM) failed to register
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.23.
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 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (extended precision)
yaffs Sep 29 2010 12:53:28 Installing.
msgmni has been set to 119
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
s3c2440-uart.0: TQ2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: TQ2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: TQ2440_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 10ns Twrph0=3 30ns, Twrph1=1 10ns
s3c24xx-nand s3c2440-nand: NAND ECC disabled
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 101 at 0x000000ca0000
Bad eraseblock 1232 at 0x000009a00000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000040000-0x000010000000 : "Star_uboot"
0x000000200000-0x000000500000 : "Star_kernel"
0x000000500000-0x000010000000 : "Star_yaffs2"
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
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.6.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
s3c-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
s3c-rtc s3c2410-rtc: setting system clock to 2009-05-25 16:41:03 UTC (1243269663)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
block 62 is bad
block 1193 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 124K
/etc/init.d/rcS: line 28: EmbedSky_wdg: not found
/etc/init.d/rcS: line 30: qt4: not found
input_polldev: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.35.5_Star mod_unload ARMv4 '
insmod: cannot insert '/lib/input-polldev.ko': invalid module format
mac80211: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.35.5_Star mod_unload ARMv4 '
insmod: cannot insert '/lib/mac80211.ko': invalid module format
rt2x00lib: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.35.5_Star mod_unload ARMv4 '
insmod: cannot insert '/lib/rt2x00lib.ko': invalid module format
rt2x00usb: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.35.5_Star mod_unload ARMv4 '
insmod: cannot insert '/lib/rt2x00usb.ko': invalid module format
rt73usb: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.35.5_Star mod_unload ARMv4 '
insmod: cannot insert '/lib/rt73usb.ko': invalid module format
zd1211rw: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.35.5_Star mod_unload ARMv4 '
insmod: cannot insert '/lib/zd1211rw.ko': invalid module format
ov9650: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '2.6.35.5_Star mod_unload ARMv4 '
insmod: cannot insert '/lib/ov9650.ko': invalid module format
/etc/init.d/rcS: line 44: net_set: not found
/etc/rc.d/init.d/leds: line 16: led-player: not found
/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found

Please press Enter to activate this console.
[root@EmbedSky /]# ls
bin         home        lost+found  proc        sys         var
dev         lib         mnt         root        tmp         web
etc         linuxrc     opt         sbin        usr
[root@EmbedSky /]#
这是为什么??~~请教·~~~郁闷好几天了~~烧写不下二十次~~郁闷。。。。。~难道是我的Nor坏了~~~
chqsy 发表于 2010-10-27 10:07:24 | 显示全部楼层
嗨,你还弄出来了,我弄了好几天了也没挂接上
天嵌_support1 发表于 2010-10-27 11:51:51 | 显示全部楼层
2# chqsy


这些是版本号不对应引起的。
那些模块是在2.6.30.4的内核下编译的。
你现在直接insmod 到 2.6.35 的内核,引起的。
配置的时候不要配置成模块的方式,直接生成到内核中去好了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-12 18:03 , Processed in 1.014687 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表