--- In Eddie Dawydiuk <> wrote:
>
>
> > So please let me know if there is anything specific information you want
> > me to
> do to get off the device.
>
> Could you provide the output of cat /proc/yaffs as well as the full boot
> messages including the bootrom and dmesg(if your default boot has the kernel
> messages disabled). I've submitted a bug report with a link to your original
> report on this list. An engineer will follow up with you once management has
> assigned one to look into your bug report.
>
> --
> Best Regards,
> ________________________________________________________________
> Eddie Dawydiuk, Technologic Systems | voice: (480) 837-5200
> 16525 East Laser Drive | fax: (480) 837-5300
> Fountain Hills, AZ 85268 | web: www.embeddedARM.com
>
Hi Eddie,
a direct boot is useless, I don't even get the login prompt. What I am able to
do is boot nfs with the nfs root as used on the board.
from here I mount the mtdblock device :
$ mount -t yaffs2 /dev/mtdblock/Pout=43.2740570143425 Tout=44.0282295490477 Tin8
1 /mnt/mtd1
$
$ cat /proc/yaffs
YAFFS built:Jun 6 2006 14:14:22
$Id: yaffs_fs.c,v 1.2 2006/02/14 18:20:41 michael Exp $
$Id: yaffs_guts.c,v 1.1 2006/02/09 21:08:29 michael Exp $
Device 0 "Linux"
startBlock.........0
endBlock...........999
chunkGroupBits.....0
chunkGroupSize.....1
nErasedBlocks......5
nTnodesCreated.....2600
nFreeTnodes........94
nObjectsCreated....1600
nFreeObjects.......95
nFreeChunks........42393
nPageWrites........0
nPageReads.........0
nBlockErasures.....0
nGCCopies..........0
garbageCollections.0
passiveGCs.........0
nRetriedWrites.....0
nRetireBlocks......0
eccFixed...........0
eccUnfixed.........0
tagsEccFixed.......0
tagsEccUnfixed.....0
cacheHits..........0
nDeletedFiles......56
nUnlinkedFiles.....58
nBackgroudDeletions0
useNANDECC.........1
isYaffs2...........1
one of the bugs reported on the yaffs mailing list deals with the fact it can't
find any erase blocks when there are 5 remaining. This is probably nothing to
do with the problem here but explains that line.
As before, mount took around 90s to return.
dmesg
Linux version 2.4.26-ts11 (gcc version 3.3.4) #3 Tue Jun 6
14:13:14 MST 2006
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 4 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 5 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 16 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 17 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 18 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 19 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyAM0,115200 ip=192.168.1.50 root=/dev/nfs
nfsroot=192.168.1.3:/mnt/nfs
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
Calibrating delay loop... 99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB 8MB 8MB 8MB 8MB = 64MB total
Memory: 61000KB available (1216K code, 344K data, 76K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch
devfs: boot_options: 0x1
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
pty: 1024 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ enabled
Real Time Clock Driver v1.10f
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V
8-bit)
Using static partition definition
Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x00020000 : "TS-BOOTROM"
0x00020000-0x07d20000 : "Linux"
0x07d20000-0x08000000 : "RedBoot"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.50, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.50, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.1.3, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
Looking up port of RPC 100003/2 on 192.168.1.3
Looking up port of RPC 100005/1 on 192.168.1.3
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing init memory: 76K
TS-UART/RF2 did not detect a TS-RF2 board
$ tail /var/log/messages
tail: /var/log/messages: No such file or directory
tail: no files
This bug seems possibly relevant:
http://www.aleph1.co.uk/lurker/message/20090810.031403.aebdb4f2.en.html
This one does not look good as far as yaffs BB management goes:
http://www.aleph1.co.uk/lurker/message/20090809.174653.2267ae60.en.html
>
> My gut feeling at the moment is that this isn't a YAFFS2 issue, but an
> issue at a lower level. Thanks for your help so far. I've certainly
> learned a lot more about MTD, and how YAFFS2 interfaces with it.
Unfortunately NAND often results in having to learn far more than you'd like.
[Charles Manning]
hmmm.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|