LinuxDev 板


LINE

HI 各位 u-boot下 setenv bootargs noinitrd root=/dev/mtdblock3 console=ttySAC0,115200 init=/linuxrc mem=128M 挂载yaffs2失败 应该如何解此问题 U-Boot 2010.03 (May 28 2012 - 04:20:58) modified by tekkamanninja ([email protected]) Love Linux forever!! I2C: ready DRAM: 64 MB Flash: 2 MB NAND: 128 MiB Video: 240x320x16 20kHz 62Hz In: serial Out: serial Err: serial USB slave is enable! Net: dm9000 U-Boot 2010.03 (May 28 2012 - 04:20:58) modified by tekkamanninja ([email protected]) Love Linux forever!! Hit any key to stop autoboot: 0 [u-boot@MINI2440]#boot NAND read: device 0 offset 0x80000, size 0x300000 3145728 bytes read: OK ## Booting kernel from Legacy Image at 30008000 ... Image Name: tekkaman Created: 2012-06-13 14:51:22 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1581472 Bytes = 1.5 MB Load Address: 30008000 Entry Point: 30008040 Verifying Checksum ... OK XIP Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 2.6.33.3 ([email protected]) (gcc version 4.4.3 (ctng-1.6 .1) ) #5 Wed Jun 13 07:49:22 PDT 2012 CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177 CPU: VIVT data cache, VIVT instruction cache Machine: MINI2440 Memory policy: ECC disabled, Data cache writeback CPU S3C2440A (id 0x32440001) S3C24XX Clocks, Copyright 2004 Simtec Electronics S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 *[31;40m Kernel command line: root=/dev/mtdblock3 console=ttySAC0,115200 init=/linuxrc mem=128M PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 126492KB available (2740K code, 356K data, 108K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Hierarchical RCU implementation. NR_IRQS:85 irq: clearing pending status 02000000 irq: clearing subpending status 00000003 irq: clearing subpending status 00000002 Console: colour dummy device 80x30 console [ttySAC0] enabled Calibrating delay loop... 201.93 BogoMIPS (lpj=504832) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok MINI2440: Option string mini2440=0t MINI2440: 't' ignored, touchscreen not compiled in MINI2440: LCD [0:240x320] 1:800x480 2:1024x768 S3C2440: Initialising architecture S3C2440: IRQ Support S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics DMA channel 0 at c8808000, irq 33 DMA channel 1 at c8808040, irq 34 DMA channel 2 at c8808080, irq 35 DMA channel 3 at c88080c0, irq 36 S3C244X: Clock Support, DVS off bio: create slab <bio-0> at 0 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb s3c-i2c s3c2440-i2c: slave address 0x10 s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter Advanced Linux Sound Architecture Driver Version 1.0.21. JFFS2 version 2.2. (NAND) Âc 2001-2006 Red Hat, Inc. ROMFS MTD (C) 2007 Red Hat, Inc. msgmni has been set to 247 alg: No test for stdrng (krng) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Console: switching to colour frame buffer device 60x53 fb0: s3c2410fb frame buffer device s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440 s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440 s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440 brd: module loaded at24 0-0050: 1024 byte 24c08 EEPROM (writable) S3C24XX NAND Driver, (c) 2004 Simtec Electronics s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns s3c24xx-nand s3c2440-nand: NAND ECC disabled NAND device: Manufacturer ID:0xec Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit) NAND_ECC_NONE selected by board driver. This is not recommended !! Creating 4 MTD partitions on "NAND 128MiB 3,3V 8-bit": 0x000000000000-0x000000060000 : "u-boot" ftl_cs: FTL header not found. 0x000000060000-0x000000080000 : "u-boot-env" ftl_cs: FTL header not found. 0x000000080000-0x000000580000 : "kernel" ftl_cs: FTL header not found. 0x000000580000-0x000008000000 : "root" ftl_cs: FTL header not found. 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 s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes mice: PS/2 mouse device common for all mice input: gpio-keys as /devices/platform/gpio-keys/input/input0 S3C24XX RTC, (c) 2004,2006 Simtec Electronics s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time yaffs: dev is 32505859 name is "mtdblock3" rw yaffs: passed flags "" VFS: Mounted root (yaffs filesystem) on device 31:3. Freeing init memory: 108K 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. [<c0028808>] (unwind_backtrace+0x0/0xd8) from [<c02209c8>] (panic+0x40/0x120) [<c02209c8>] (panic+0x40/0x120) from [<c00235c4>] (init_post+0xcc/0xf4) [<c00235c4>] (init_post+0xcc/0xf4) from [<c0008438>] (kernel_init+0xdc/0x10c) [<c0008438>] (kernel_init+0xdc/0x10c) from [<c0024868>] (kernel_thread_exit+0x0 --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 120.126.10.123 ※ 编辑: kain777 来自: 120.126.10.123 (06/14 15:25)
1F:→ juichangkuo:我觉得kernel已经告诉你错在哪了 06/15 13:11
2F:→ juichangkuo:Failed to execute /linuxrc. Attempting defaults.. 06/15 13:16
3F:→ juichangkuo:No init found. Try passing init= option to kernel 06/15 13:17
4F:→ kain777:因为我写入指令用nand write所以不能执行 06/15 14:16
5F:→ kain777:不过後来nand flash出现 bad block 该怎麽解决呢 06/15 14:17







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:iOS站内搜寻

TOP