|
发表于 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)] |
|