QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4823|回复: 9

skyeye + yaffs2

[复制链接]
发表于 2009-9-8 16:45:18 | 显示全部楼层 |阅读模式
elf@elf-desktop:~/skyeye/s3c2410x-2.6.14$ ./skyeye -e vmlinux
Your elf file is little endian.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x806bc70
dbct info: turn on dbct!
nandflash: dump ./nand.dump
file size:69206016
lcd_mod:1
setup lcd
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
exec file "vmlinux"'s format is elf32-little.
load section .note.gnu.build-id: addr = 0x00000000  size = 0x00000024.
load section .text.head: addr = 0xc0008000  size = 0x000003e0.
load section .init: addr = 0xc00083e0  size = 0x0001dc20.
load section .text: addr = 0xc0026000  size = 0x0023c208.
load section __ksymtab: addr = 0xc0263000  size = 0x000041f0.
load section __ksymtab_gpl: addr = 0xc02671f0  size = 0x000014c0.
load section __ksymtab_strings: addr = 0xc02686b0  size = 0x0000b6c1.
load section __param: addr = 0xc0273d74  size = 0x0000128c.
load section .data: addr = 0xc0276000  size = 0x000164b8.
not load section .bss: addr = 0xc028c4c0  size = 0x000270ec .
not load section .comment: addr = 0x00000000  size = 0x000065e2 .
not load section .ARM.attributes: addr = 0x00000000  size = 0x00000026 .
not load section .debug_line: addr = 0x00000000  size = 0x00123091 .
not load section .debug_info: addr = 0x00000000  size = 0x01259fb0 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x000a62c6 .
not load section .debug_aranges: addr = 0x00000000  size = 0x00006720 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0001e6b9 .
not load section .debug_str: addr = 0x00000000  size = 0x00082da4 .
not load section .debug_frame: addr = 0x00000000  size = 0x00056084 .
not load section .debug_loc: addr = 0x00000000  size = 0x0019ca77 .
not load section .debug_ranges: addr = 0x00000000  size = 0x0005d560 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
Linux version 2.6.28.9 (elf@elf-desktop) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #100 Thu Sep 3 17:16:44 CST 2009 ()
CPU: ARM920T [41009200] revision 0 (ARMvundefined/unknown), cr=00003177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 62.400 MHz, memory 62.400 MHz, peripheral 62.400 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
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: mem=64M console=ttySAC0 root=/dev/mtdblock5 rootfstype=yaffs rw init=/linuxrc
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000000, tcnt cb1f, tcfg 00000200,00000000, usec 0000189e
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: 62132KB available (2364K code, 245K data, 120K init)
Calibrating delay loop... 12.67 BogoMIPS (lpj=31680)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 484 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 c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
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
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Sep  2 2009 14:16:14 Installing.
msgmni has been set to 121
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
ERROR: s3c2410x_io_write_word(0x4d000060) = 0x00000000
ERROR: s3c2410x_io_write_word(0x4d000050) = 0x00000000
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
Serial: 8250/16550 driver4 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
brd: module loaded
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand s3c2410-nand: Tacls=2, 32ns Twrph0=4 64ns, Twrph1=2 32ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 1294 at 0x01438000
Bad eraseblock 1415 at 0x0161c000
Bad eraseblock 1819 at 0x01c6c000
Bad eraseblock 2105 at 0x020e4000
Bad eraseblock 2380 at 0x02530000
Creating 6 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00004000 : "Boot Agent"
0x00000000-0x00200000 : "S3C2410 flash partition 1"
0x00400000-0x00800000 : "S3C2410 flash partition 2"
0x00800000-0x00a00000 : "S3C2410 flash partition 3"
0x00a00000-0x00e00000 : "S3C2410 flash partition 4"
0x00e00000-0x04000000 : "S3C2410 flash partition 5"
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
TCP cubic registered
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505861 name is "mtdblock5"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.5, "mtdblock5"
yaffs: block 398 is marked bad
block 399 is bad
yaffs: block 519 is marked bad
block 520 is bad
yaffs: block 923 is marked bad
block 924 is bad
yaffs: block 1209 is marked bad
block 1210 is bad
yaffs: block 1484 is marked bad
block 1485 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 120K
---mdev start---
---mdev end---


BusyBox v1.14.1 (2009-09-03 16:08:49 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


Processing /etc/profile... Done

/ # mount
rootfs on / type rootfs (rw)
/dev/root on / type yaffs (rw)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
sysfs on /sys type sysfs (rw)
mdev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=600)
/ #
 楼主| 发表于 2009-9-8 16:54:50 | 显示全部楼层
jffs2每次要扫描整个分区,超慢,用yaffs2就快多了。

    到http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/网站下载YAFFS2源码(左下脚),根据yaffs2/README-linux-patch文件的提示将yaffs2加入linux中,所有文件在fs/yaffs2目录中。
    文件系统生成工具在yaffs2/utils目录,mkyaffsimage生成是512+16页配置的(基于YAFFS),mkyaffs2image是2K页配置的(基于YAFFS2)。
    修改mkyaffsimage.c中与OOB相关的错误,关于该错误的分析见hiboy的博客:

    必须修改2410 nand驱动中ECC检验方式为NAND_ECC_NONE,而在YAFFS2内核编译时选择了Lets Yaffs do its own ECC。

    mkyaffsimage ./busybox-1.14.1/_install/ ./rootfs.arm.yaffs
回复

使用道具 举报

发表于 2009-9-11 11:08:28 | 显示全部楼层
你的这些步骤我都试过的.

不知道你linux内核编译的时候,有哪些特殊的选项?
busybox1.14.1一堆编译错误,没时间弄了,而且你是static编译的吧,能试下busybox1.7.0么,用share lib方式?
mknandflashdump是否做过修改?
mknandflashdump将根文件写在nand.dump某个地址上, skyeye.conf中还要定义这个root.fs的mem bank么? mem bank我以前好像没有加上0xC0000000UL, 写的是flash分区的地址.

skyeye.conf应该和你jffs那个帖子里一样吧?

要是能写个详细的文章就好了.
回复

使用道具 举报

 楼主| 发表于 2009-9-12 11:25:25 | 显示全部楼层
内核2.6.28,直接用的ubuntu9.04源下的,没有什么特殊选项
busybox-1.14.1 采用的动态库编译。
mknandflashdump修改过见前帖。
nandflash: type=s3c2410x,name=K9F1208U0B,dump=./nand.dump
不需要别的mem bank

你直接通过RAMFS可以起来么?
回复

使用道具 举报

发表于 2009-9-14 15:31:09 | 显示全部楼层
可以从ram启动的.

不过按照以前的步骤,从新编了下,居然跑不起来了,
start addr is set to 0xc0008000 by exec file.
到这就不动了.以前也遇到过,不知改什么内核配置就可以了,现在忘了.

能把你的root文件夹打个包,我试下
回复

使用道具 举报

发表于 2009-9-14 16:32:58 | 显示全部楼层
[root@localhost skyeye]# skyeye -e vmlinux
Your elf file is little endian.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8067594
nandflash: dump ./yaffs.nand
file size:69206016
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000  size = 0x00017000.
load section .text: addr = 0xc001f000  size = 0x0018b2a4.
not load section .pci_fixup: addr = 0xc01aa2a4  size = 0x00000000 .
not load section __ksymtab: addr = 0xc01aa2a4  size = 0x00000000 .
not load section __ksymtab_gpl: addr = 0xc01aa2a4  size = 0x00000000 .
not load section __kcrctab: addr = 0xc01aa2a4  size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc01aa2a4  size = 0x00000000 .
load section __param: addr = 0xc01aa2a4  size = 0x000002a8.
load section .data: addr = 0xc01ac000  size = 0x00031370.
not load section .bss: addr = 0xc01dd380  size = 0x0001d91c .
not load section .comment: addr = 0x00000000  size = 0x00001dac .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
Linux version 2.6.14 ([email protected]) (gcc version 3.4.1) #5 Mon Sep 14 16:06:35 CST 2009
CPU: ARM920Tid(wb) [41009200] revision 0 (ARMvundefined/unknown)
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 62.400 MHz, memory 62.400 MHz, peripheral 62.400 MHz
S3C2410 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
Kernel command line: mem=32M noinitrd console=ttySAC0 rootfstype=yaffs rw init=/linuxrc root=/dev/mtdblock2
PID hash table entries: 256 (order: 8, 4096 bytes)
timer tcon=00000000, tcnt cb1f, tcfg 00000200,00000000, usec 0000189e
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 30360KB available (1581K code, 315K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
softlockup thread 0 started up.
NET: Registered protocol family 16
S3C2410: Initialising architecture
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
yaffs Sep 14 2009 16:06:19 Installing.
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c2980000
s3c2410-nand: timing: Tacls 6ns, Twrph0 31ns, Twrph1 6ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 269 at 0x00434000
Bad eraseblock 315 at 0x004ec000
Bad eraseblock 540 at 0x00870000
Bad eraseblock 702 at 0x00af8000
Bad eraseblock 715 at 0x00b2c000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00100000 : "U-Boot"
0x00100000-0x00400000 : "Linux Kernel"
0x00400000-0x04000000 : "Root"
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 204
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
block 14 is bad
block 60 is bad
block 285 is bad
block 447 is bad
block 460 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
mount_devfs_fs(): unable to mount devfs, err: -2
Freeing init memory: 92K
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.

烧写root.yaffs. 需要格式化整个yaffs.nand么?用什么工具?
./mknandflashdump root.yaffs yaffs.nand 0x400000
回复

使用道具 举报

 楼主| 发表于 2009-9-14 19:01:22 | 显示全部楼层
用附件中的工具
#!/bin/sh

echo "mkyaffsimage"
mkyaffsimage /home/elf/busybox/busybox-1.14.1/_install/   /home/elf/busybox/rootfs.arm.yaffs
./mknandflashdump ./rootfs.arm.yaffs ./nand.dump 0xe00000 yaffs

echo "done"

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2009-9-16 09:55:33 | 显示全部楼层
3xs!
终于可以了, 以前./mknandflashdump忘了最后一个参数yaffs
./mknandflashdump root.yaffs yaffs.dump 0x400000 yaffs

btw: 能不能整个格式话yaffs.dump文件呢,要不然会有很多Bad eraseblock.
应该是没格式化吧?

[root@localhost skyeye]# skyeye -e vmlinux
Your elf file is little endian.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8067594
nandflash: dump ./yaffs.dump
file size:69206016
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000  size = 0x00017000.
load section .text: addr = 0xc001f000  size = 0x0018b2a4.
not load section .pci_fixup: addr = 0xc01aa2a4  size = 0x00000000 .
not load section __ksymtab: addr = 0xc01aa2a4  size = 0x00000000 .
not load section __ksymtab_gpl: addr = 0xc01aa2a4  size = 0x00000000 .
not load section __kcrctab: addr = 0xc01aa2a4  size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc01aa2a4  size = 0x00000000 .
load section __param: addr = 0xc01aa2a4  size = 0x000002a8.
load section .data: addr = 0xc01ac000  size = 0x00031370.
not load section .bss: addr = 0xc01dd380  size = 0x0001d91c .
not load section .comment: addr = 0x00000000  size = 0x00001dac .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
Linux version 2.6.14 ([email protected]) (gcc version 3.4.1) #8 Mon Sep 14 16:45:50 CST 2009
CPU: ARM920Tid(wb) [41009200] revision 0 (ARMvundefined/unknown)
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 62.400 MHz, memory 62.400 MHz, peripheral 62.400 MHz
S3C2410 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
Kernel command line: mem=32M noinitrd console=ttySAC0 rootfstype=yaffs rw init=/linuxrc root=/dev/mtdblock2
PID hash table entries: 256 (order: 8, 4096 bytes)
timer tcon=00000000, tcnt cb1f, tcfg 00000200,00000000, usec 0000189e
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 30360KB available (1581K code, 315K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
softlockup thread 0 started up.
NET: Registered protocol family 16
S3C2410: Initialising architecture
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
yaffs Sep 14 2009 16:45:36 Installing.
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c2980000
s3c2410-nand: timing: Tacls 6ns, Twrph0 31ns, Twrph1 6ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 198 at 0x00318000
Bad eraseblock 199 at 0x0031c000
Bad eraseblock 200 at 0x00320000
Bad eraseblock 201 at 0x00324000
Bad eraseblock 202 at 0x00328000
Bad eraseblock 203 at 0x0032c000
Bad eraseblock 204 at 0x00330000
Bad eraseblock 205 at 0x00334000
Bad eraseblock 206 at 0x00338000
Bad eraseblock 207 at 0x0033c000
Bad eraseblock 208 at 0x00340000
Bad eraseblock 209 at 0x00344000
Bad eraseblock 210 at 0x00348000
Bad eraseblock 211 at 0x0034c000
Bad eraseblock 212 at 0x00350000
Bad eraseblock 213 at 0x00354000
Bad eraseblock 214 at 0x00358000
Bad eraseblock 215 at 0x0035c000
Bad eraseblock 216 at 0x00360000
Bad eraseblock 217 at 0x00364000
Bad eraseblock 218 at 0x00368000
Bad eraseblock 219 at 0x0036c000
Bad eraseblock 220 at 0x00370000
Bad eraseblock 221 at 0x00374000
Bad eraseblock 222 at 0x00378000
Bad eraseblock 223 at 0x0037c000
Bad eraseblock 224 at 0x00380000
Bad eraseblock 225 at 0x00384000
Bad eraseblock 226 at 0x00388000
Bad eraseblock 227 at 0x0038c000
Bad eraseblock 228 at 0x00390000
Bad eraseblock 229 at 0x00394000
Bad eraseblock 230 at 0x00398000
Bad eraseblock 231 at 0x0039c000
Bad eraseblock 232 at 0x003a0000
Bad eraseblock 233 at 0x003a4000
Bad eraseblock 234 at 0x003a8000
Bad eraseblock 235 at 0x003ac000
Bad eraseblock 236 at 0x003b0000
Bad eraseblock 237 at 0x003b4000
Bad eraseblock 238 at 0x003b8000
Bad eraseblock 239 at 0x003bc000
Bad eraseblock 240 at 0x003c0000
Bad eraseblock 241 at 0x003c4000
Bad eraseblock 242 at 0x003c8000
Bad eraseblock 243 at 0x003cc000
Bad eraseblock 244 at 0x003d0000
Bad eraseblock 245 at 0x003d4000
Bad eraseblock 246 at 0x003d8000
Bad eraseblock 247 at 0x003dc000
Bad eraseblock 248 at 0x003e0000
Bad eraseblock 249 at 0x003e4000
Bad eraseblock 250 at 0x003e8000
Bad eraseblock 251 at 0x003ec000
Bad eraseblock 252 at 0x003f0000
Bad eraseblock 253 at 0x003f4000
Bad eraseblock 254 at 0x003f8000
Bad eraseblock 255 at 0x003fc000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00100000 : "U-Boot"
0x00100000-0x00400000 : "Linux Kernel"
0x00400000-0x04000000 : "Root"
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 204
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Mounted devfs on /dev
Freeing init memory: 92K
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
Reading data from NAND FLASH without ECC is not recommended
init started: BusyBox v1.11.1 (2009-09-14 17:44:53 CST)
Reading data from NAND FLASH without ECC is not recommended
starting pid 15, tty '': '/etc/init.d/rcS'
Processing etc/init.d/rc.S
Mount all
Start mdev....
****************************************************
RootFS by NFS, s3c2410
Created by Jacky Xu @ 2008.7.13
Enjoy it!!!
****************************************************

starting pid 18, tty '': '-/bin/sh'
Reading data from NAND FLASH without ECC is not recommended
Processing /etc/profile
Set search library path
Set user path
Set PS1
Reading data from NAND FLASH without ECC is not recommended
All done!

[root@(none)]ls
bin         home        linuxrc     proc        sbin        usr
dev         init.d      lost+found  root        sys         var
etc         lib         mnt         rootfs      tmp
[root@(none)]
回复

使用道具 举报

 楼主| 发表于 2009-9-17 16:41:20 | 显示全部楼层
删除 yaffs.dump, skyeye启动时会自动创建该文件,然后在将 root 写到 yaffs.dump 中就可以了
回复

使用道具 举报

发表于 2011-10-10 11:03:13 | 显示全部楼层
您好,
        附件mknandflashdump.tar.gz下载不了,能否再上传一遍?
谢谢~~~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-21 20:15 , Processed in 0.127613 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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