[Balloon] Linux2.6.11: Yaffs can't work on 2410

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: jeanwelly
Date:  
To: Balloon
Subject: [Balloon] Linux2.6.11: Yaffs can't work on 2410
I use the yaffs from the link:
http://husaberg.toby-churchill.com/balloon/linux-2.6.8.1-tcl1/fs/yaffs
configure it to the kernel ...
name              offset        size        flag
------------------------------------------------
vivi            : 0x00000000    0x00020000     0  128k
param           : 0x00020000    0x00010000     0   64k
kernel          : 0x00030000    0x001d0000     0    1M+832k
root            : 0x00200000    0x00200000     0    2M  -->>> cramfs
usr             : 0x00400000    0x03c00000     0   60M  -->> yaffs


root can be boot with cramfs image... but it seems there is no yaffs
support on the board.

# cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   sockfs
nodev   binfmt_misc
nodev   pipefs
nodev   futexfs
nodev   tmpfs
nodev   eventpollfs
nodev   devpts
        cramfs
nodev   ramfs
nodev   devfs
nodev   nfs
        romfs
nodev   autofs
nodev   rpc_pipefs
# dmesg
Linux version 2.6.11 () (gcc version 3.4.1) #27 Sun Ma
y 8 19:38:45 CST 2005
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
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
Machine: SMDK2410
Converting old-style param struct to taglist
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C2410 Clock control, (c) 2004 Simtec Electronics
On node 0 totalpages: 16384
  DMA zone: 16384 pages, LIFO batch:4
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0
irq: clearing pending ext status 00000300
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00000000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
selected clock c01ad91c (pclk) quot 26, calc 115740
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62848KB available (1540K code, 343K data, 80K init)
Calibrating delay loop... 99.73 BogoMIPS (lpj=249344)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410: Initialising architecture
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch ()
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
Initializing Cryptographic API
Real Time Clock Driver v1.12
S3C2410 RTC, (c) 2004 Simtec Electronics
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
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
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: CS8900A rev E at 0xe0000300 irq=53, no eeprom , addr: 08: 0:3E:26:0A:5B
S3C2410 NAND Driver, (c) 2004 Simtec Electronics
s3c2410_nand_probe(c01a26f8)
s3c2410-nand: mapped registers at c4a00000
result 1 from 100000000, 0
result 4 from 100000000, 30
result 1 from 100000000, 0
s3c2410-nand: timing: Tacls 10ns, Twrph0 40ns, Twrph1 10ns
s3c2410-nand: NF_CONF is 0x8030
initialising set 0 (c0324800, info c0334720)
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
Creating 5 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00020000 : "vivi"
mtd: Giving out device 0 to vivi
0x00020000-0x00030000 : "param"
mtd: Giving out device 1 to param
0x00030000-0x001f0000 : "kernel"
mtd: Giving out device 2 to kernel
0x00200000-0x00400000 : "root"
mtd: Giving out device 3 to root
0x00400000-0x04000000 : "user"
mtd: Giving out device 4 to user
initialised ok
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
Reading data from NAND FLASH without ECC is not recommended
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 80K
selected clock c01ad91c (pclk) quot 26, calc 115740
Reading data from NAND FLASH without ECC is not recommended
selected clock c01ad91c (pclk) quot 26, calc 115740
selected clock c01ad91c (pclk) quot 26, calc 115740
selected clock c01ad91c (pclk) quot 26, calc 115740
selected clock c01ad91c (pclk) quot 26, calc 115740
selected clock c01ad91c (pclk) quot 26, calc 115740
selected clock c01ad91c (pclk) quot 26, calc 115740
selected clock c01ad91c (pclk) quot 26, calc 115740
#


Thanks...




--
jeanwelly
Email:
China