Hi
Thanks for the reply.
After bit more trying, I am able to use yaffs2 partition as RFS(Not with
the image created by mkyaffs2image,mkyaffs2image is still a concern ).
I am able to use it, but it gives hell lot of warning messgaes and marks
block as bad whenever i try to write anything.
I followed following steps:
1) Booted with RAMDISK image
2) erased One partition of flash
# flash_eraseall /dev/mtd12
3) mounted this partition as yaffs2
# mount -t yaffs2 /dev/mtdblock12 /tmp
4) Manually copied RFS contents to the flash partition
# cp -drf bin /tmp
# cp -drf bin /tmp
# cp -drf dev /tmp
# cp -drf etc /tmp
# cp -drf home /tmp
# cp -drf lib /tmp
# cp -drf linuxrc /tmp
# cp -drf lost\+found/ /tmp
# cp -drf mnt /tmp
# cp -drf opt /tmp
# cp -drf root /tmp
# cp -drf sbin /tmp
# cp -drf sys /tmp
# cp -drf usr /tmp
# cp -drf var /tmp
5) Rebooted system with yaffs2 RFS.(Bootargs set as:- root=/dev/mtdblock12
rootfstype=yaffs2 rw console=ttyS0,115200)
System boots up with yaffs2 image. but it complains for bad blocks and
when i write/create some files in RFS it says "**>> yaffs chunk 11078 was
not erased".
Complete bootup message is in attached text file.
I have copied RFS contents in "mtdblock12" which starts at offset
0x084c0000 in nand. And these are the bad blocks marked(please look ino
the attached boot log)
I am not able to understand why writing to yaffs2 partition marks nand
blocks as bad. :(
Regards
Rupesh
Kieran Cox <
kieran@touchrev.com>
07/15/2009 11:32 PM
To
Rupesh Kumar <
Rupesh.Kumar@lntemsys.com>
cc
yaffs@lists.aleph1.co.uk, Virupax SS <
Virupax.SS@lntemsys.com>
Subject
Re: [Yaffs] yaffs2 support for linux 2.6.23
Hello Rupesh,
I've had this same issue for a quite a while now. In the short term the
work around is annoying, but is the following.
1. You will need to boot into another rootfs via another mtd, sd card or
whatever.
2. From there you will flash_erase the partition you wish to have the
yaffs2 rootfs on.
3. Then mount your freshly erased mtd partition.
4. Now (if you're not annoyed enough already), untar your rootfs to the
yaffs2 partition.
5. Unmount, reboot, etc.
You're kernel should now successfully boot the yaffs2 rootfs.
mkyaffs2image and writing resulting image has never worked for me. I
suspect this is a bug in either how the image is made or in how the driver
mounts the partition. I'm sure someone on the list can correct me here,
and PLEASE do. I'd much rather go the mkyaffs2image route than the above.
Or it's a result of the particulars of your MTD device/ system. For
example I'm using a Marvell system, which insists on using bad block
relocation rather than just skipping the bad blocks as the typical linux
driver does. This is all kinds of headache for writing to NAND. Especially
if you happen to selfupdate your kernel and there are badblocks within. I
had to modify mtdwrite to not skip blocks at all. (long story there)
I'm pretty sure yaffs2 has it's own way of handling bad blocks, and part
of doing so is initialized when you mount a freshly erased partition as a
yaffs2 FS. In mounting a partition that wasn't initialized by being blank
first then mounted, yaffs2 just assumes it never was and creates and emtpy
space that is initialized. I think this is the reason for only having the
"lost-found" directory after writing the image.
All: please add info and correct here.
Good luck.
Regards,
Kieran Cox
On Wed, Jul 15, 2009 at 7:46 AM, Rupesh Kumar <
Rupesh.Kumar@lntemsys.com>
wrote:
Hi
I am using custom board based on MPC8313 processor. I have 2.6.23 kernel
running on it . I tried for YAFFS2 support on this kernel.
For this i downloaded "yaffs2.tar.gz" for this kernel and compiled kernel
with yaffs2 support.
I used "mkyaffs2image" utility to generate rootfs image and then i wrote
this rootfs image to one of nand partition.
When i tried to boot using yaffs2 rfs it failed saying unable to open init
console. Exact message is shown below.
rtc-ds1307 0-0068: setting the system clock to 2009-07-09 19:06:16
(1247166376)
yaffs: dev is 32505867 name is "mtdblock11"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.11, "mtdblock11"
yaffs: restored from checkpoint
VFS: Mounted root (yaffs2 filesystem).
Freeing unused kernel memory: 152k init
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to
kernel.
Rebooting in 180 seconds..
Then, i rebooted system with ramdisk image and peeked in to the flash
partition, it had only "Lost+Found" folder :(
~ # mount -t yaffs2 /dev/mtdblock11 /tmp/
yaffs: dev is 32505867 name is "mtdblock11"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.11, "mtdblock11"
yaffs: restored from checkpoint
~ # cd /tmp/
/tmp # ls
lost+found
/tmp #
Then, i manually copied rfs folders in flash drive. it complained fornot
erased chunls and wrote.
**>> yaffs chunk 20983 was not erased
**>> yaffs chunk 20984 was not erased
**>> yaffs chunk 20985 was not erased
**>> yaffs chunk 20986 was not erased
**>> yaffs chunk 20987 was not erased
**>> yaffs chunk 20988 was not erased
**>> yaffs chunk 20989 was not erased
**>> yaffs chunk 20990 was not erased
**>> yaffs chunk 20991 was not erased
**>> yaffs write required 260 attempts
~ # ls /tmp/
bin etc mnt proc sbin usr
dev lost+found opt root sys var
~ #
Now, Just to verify everything in rfs, i just unmounted and again mounted
that flash drive.
~ # umount /tmp
save exit: isCheckpointed 1
~ # mount -t yaffs2 /dev/mtdblock11 /tmp/
yaffs: dev is 32505868 name is "mtdblock11"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.11, "mtdblock11"
yaffs: restored from checkpoint
~ # ls /tmp/
lost+found
~ #
Could somebody out there please explain what is going worng ?
Thanks
Rupesh
_______________________________________________
yaffs mailing list
yaffs@lists.aleph1.co.uk
http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
U-Boot 1.3.0-S600-Ver1.0 (Jul 16 2009 - 00:03:56) MPC83XX
Reset Status: Software Hard, External/Internal Soft, External/Internal Hard
CPU: e300c3, Rev: Unknown revision number:80b10021
Warning: Unsupported cpu revision!
Board: S600 CPU BOARD
I2C: ready
DRAM: 128 MB
FLASH: 16 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: TSEC0, TSEC1 [PRIME]
Hit any key to stop autoboot: 6 ??? 5 ??? 4 ??? 3 ??? 2 ??? 1 ??? 0
Speed: 100, full duplex
Using TSEC1 device
TFTP from server 192.168.6.251; our IP address is 192.168.34.10; sending through gateway 192.168.32.47
Filename 'uImage_yaffs2'.
Load address: 0x200000
Loading: *?#################################################################
#################################################
done
Bytes transferred = 1669252 (197884 hex)
## Booting image at 00200000 ...
Image Name: Linux-2.6.23-S600-Ver1.0
Created: 2009-07-16 2:03:41 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1669188 Bytes = 1.6 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Booting using the fdt at 0xfe900000
Loading Device Tree to 007fd000, end 007fef4f ... OK
Using MPC8313 RDB machine description
Linux version 2.6.23-S600-Ver1.0 (root@leapfrogserver) (gcc version 4.1.2) #71 Thu Jul 16 07:33:39 IST 2009
console [udbg0] enabled
setup_arch: bootmem
mpc8313_rdb_setup_arch()
Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus number: 0->0
arch: exit
Zone PFN ranges:
DMA 0 -> 32768
Normal 32768 -> 32768
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 32768
Built 1 zonelists in Zone order. Total pages: 32512
Kernel command line: root=/dev/mtdblock12 rootfstype=yaffs2 rw console=ttyS0,115200
IPIC (128 IRQ sources) at fdef9700
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126220k/131072k available (3288k kernel code, 4712k reserved, 148k data, 96k bss, 152k init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
Generic PHY: Registered new driver
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
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)
TCP reno registered
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs Jul 16 2009 04:53:10 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
device node obtained!
sram_irq = 48
Sram driver inserted
Serial: 8250/16550 driver $Revision: 1.90 $ 14 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 18) is a 16550A
console handover: boot [udbg0] -> real [ttyS0]
serial8250.0: ttyS1 at MMIO 0xe0004600 (irq = 21) is a 16550A
serial8250.0: ttyS2 at MMIO 0xfa000000 (irq = 22) is a ST16654
serial8250.0: ttyS3 at MMIO 0xfa000008 (irq = 22) is a ST16654
serial8250.0: ttyS4 at MMIO 0xfa000010 (irq = 22) is a ST16654
serial8250.0: ttyS5 at MMIO 0xfa000018 (irq = 22) is a ST16654
serial8250.0: ttyS6 at MMIO 0xfa000020 (irq = 22) is a ST16654
serial8250.0: ttyS7 at MMIO 0xfa000028 (irq = 22) is a ST16654
serial8250.0: ttyS8 at MMIO 0xfa000030 (irq = 22) is a ST16654
serial8250.0: ttyS9 at MMIO 0xfa000038 (irq = 22) is a ST16654
serial8250.0: ttyS10 at MMIO 0xfa000040 (irq = 23) is a ST16654
serial8250.0: ttyS11 at MMIO 0xfa000048 (irq = 23) is a ST16654
serial8250.0: ttyS12 at MMIO 0xfa000050 (irq = 23) is a ST16654
serial8250.0: ttyS13 at MMIO 0xfa000058 (irq = 23) is a ST16654
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
loop: module loaded
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.3-skbr, 00:e0:0c:00:95:01
GFAR: SKB Handler initialized at CPU#0(max=32)
eth0: MTU = 1500 (frame size=1526, truesize=1800)
eth0: Running with NAPI enabled
eth0: 64/64 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.3-skbr, 00:e0:0c:00:95:02
GFAR: SKB Handler initialized at CPU#0(max=32)
eth1: MTU = 1500 (frame size=1526, truesize=1800)
eth1: Running with NAPI enabled
eth1: 64/64 RX/TX BD ring size
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
Marvell 88E1101: Registered new driver
Marvell 88E1112: Registered new driver
Marvell 88E1111: Registered new driver
Marvell 88E1145: Registered new driver
Fixed MDIO Bus: probed
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
nor: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
nor: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
physmap-flash nor: Using OF partition information
Creating 6 MTD partitions on "nor":
0x00000000-0x00100000 : "U-Boot"
0x00100000-0x00500000 : "Kernel1"
0x00500000-0x00900000 : "Kernel2"
0x00900000-0x00980000 : "DTB1"
0x00980000-0x00a00000 : "DTB2"
0x00a00000-0x01000000 : "Unused"
Freescale eLBC NAND Driver (C) 2006-2007 Freescale
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 1062 at 0x084c0000
Bad eraseblock 1063 at 0x084e0000
Bad eraseblock 1064 at 0x08500000
Bad eraseblock 1065 at 0x08520000
Bad eraseblock 1066 at 0x08540000
Bad eraseblock 1067 at 0x08560000
Bad eraseblock 1068 at 0x08580000
Bad eraseblock 1069 at 0x085a0000
Bad eraseblock 1070 at 0x085c0000
Bad eraseblock 1071 at 0x085e0000
Bad eraseblock 1072 at 0x08600000
Bad eraseblock 1073 at 0x08620000
Bad eraseblock 1074 at 0x08640000
Bad eraseblock 1075 at 0x08660000
Bad eraseblock 1076 at 0x08680000
Bad eraseblock 1077 at 0x086a0000
Bad eraseblock 1078 at 0x086c0000
Bad eraseblock 1079 at 0x086e0000
Bad eraseblock 1080 at 0x08700000
Bad eraseblock 1081 at 0x08720000
Bad eraseblock 1082 at 0x08740000
Bad eraseblock 1083 at 0x08760000
Bad eraseblock 1084 at 0x08780000
Bad eraseblock 1085 at 0x087a0000
Bad eraseblock 1086 at 0x087c0000
Bad eraseblock 1087 at 0x087e0000
Bad eraseblock 1088 at 0x08800000
Bad eraseblock 1089 at 0x08820000
Bad eraseblock 1090 at 0x08840000
Bad eraseblock 1091 at 0x08860000
Bad eraseblock 1092 at 0x08880000
Bad eraseblock 1093 at 0x088a0000
Bad eraseblock 1094 at 0x088c0000
Bad eraseblock 1095 at 0x088e0000
Bad eraseblock 1096 at 0x08900000
Bad eraseblock 1097 at 0x08920000
Bad eraseblock 1098 at 0x08940000
Bad eraseblock 1099 at 0x08960000
Bad eraseblock 1100 at 0x08980000
Bad eraseblock 1101 at 0x089a0000
Bad eraseblock 1102 at 0x089c0000
Bad eraseblock 1103 at 0x089e0000
Bad eraseblock 1104 at 0x08a00000
Bad eraseblock 1105 at 0x08a20000
Bad eraseblock 1106 at 0x08a40000
Bad eraseblock 1107 at 0x08a60000
Bad eraseblock 1108 at 0x08a80000
Bad eraseblock 1109 at 0x08aa0000
Bad eraseblock 1110 at 0x08ac0000
Bad eraseblock 1111 at 0x08ae0000
Bad eraseblock 1112 at 0x08b00000
Bad eraseblock 1113 at 0x08b20000
Bad eraseblock 1114 at 0x08b40000
Bad eraseblock 1115 at 0x08b60000
Bad eraseblock 1116 at 0x08b80000
Bad eraseblock 1117 at 0x08ba0000
Bad eraseblock 1118 at 0x08bc0000
Bad eraseblock 1119 at 0x08be0000
Bad eraseblock 1120 at 0x08c00000
Bad eraseblock 1121 at 0x08c20000
Bad eraseblock 1122 at 0x08c40000
Bad eraseblock 1123 at 0x08c60000
Bad eraseblock 1124 at 0x08c80000
Bad eraseblock 1125 at 0x08ca0000
Bad eraseblock 1126 at 0x08cc0000
Bad eraseblock 1127 at 0x08ce0000
Bad eraseblock 1128 at 0x08d00000
Bad eraseblock 1129 at 0x08d20000
Bad eraseblock 1130 at 0x08d40000
Bad eraseblock 1131 at 0x08d60000
Bad eraseblock 1132 at 0x08d80000
Bad eraseblock 1133 at 0x08da0000
Bad eraseblock 1134 at 0x08dc0000
Bad eraseblock 1135 at 0x08de0000
Bad eraseblock 1136 at 0x08e00000
Bad eraseblock 1137 at 0x08e20000
Bad eraseblock 1138 at 0x08e40000
Bad eraseblock 1139 at 0x08e60000
Bad eraseblock 1140 at 0x08e80000
Bad eraseblock 1141 at 0x08ea0000
Bad eraseblock 1142 at 0x08ec0000
Bad eraseblock 1143 at 0x08ee0000
Bad eraseblock 1144 at 0x08f00000
Bad eraseblock 1145 at 0x08f20000
Bad eraseblock 1146 at 0x08f40000
Bad eraseblock 1147 at 0x08f60000
Bad eraseblock 1148 at 0x08f80000
Bad eraseblock 1149 at 0x08fa0000
Bad eraseblock 1150 at 0x08fc0000
Bad eraseblock 1151 at 0x08fe0000
Bad eraseblock 1152 at 0x09000000
Bad eraseblock 1153 at 0x09020000
Bad eraseblock 1154 at 0x09040000
Bad eraseblock 1155 at 0x09060000
Bad eraseblock 1156 at 0x09080000
Bad eraseblock 1157 at 0x090a0000
Bad eraseblock 1158 at 0x090c0000
Bad eraseblock 1159 at 0x090e0000
Bad eraseblock 1160 at 0x09100000
Bad eraseblock 1161 at 0x09120000
Bad eraseblock 1162 at 0x09140000
Bad eraseblock 1163 at 0x09160000
Bad eraseblock 1164 at 0x09180000
Bad eraseblock 1165 at 0x091a0000
Bad eraseblock 1166 at 0x091c0000
Bad eraseblock 1167 at 0x091e0000
Bad eraseblock 1168 at 0x09200000
Bad eraseblock 1169 at 0x09220000
Bad eraseblock 1170 at 0x09240000
Bad eraseblock 1171 at 0x09260000
Bad eraseblock 1172 at 0x09280000
Bad eraseblock 1173 at 0x092a0000
Bad eraseblock 1174 at 0x092c0000
Bad eraseblock 1175 at 0x092e0000
Bad eraseblock 1176 at 0x09300000
Bad eraseblock 1177 at 0x09320000
Bad eraseblock 1178 at 0x09340000
Bad eraseblock 1179 at 0x09360000
Bad eraseblock 1180 at 0x09380000
Bad eraseblock 1181 at 0x093a0000
Bad eraseblock 1182 at 0x093c0000
Bad eraseblock 1183 at 0x093e0000
Bad eraseblock 1184 at 0x09400000
Bad eraseblock 1185 at 0x09420000
Bad eraseblock 1186 at 0x09440000
Bad eraseblock 1187 at 0x09460000
Bad eraseblock 1188 at 0x09480000
Bad eraseblock 1189 at 0x094a0000
Bad eraseblock 1190 at 0x094c0000
Bad eraseblock 1191 at 0x094e0000
Bad eraseblock 1192 at 0x09500000
Bad eraseblock 1193 at 0x09520000
Bad eraseblock 1194 at 0x09540000
Bad eraseblock 1195 at 0x09560000
Bad eraseblock 1196 at 0x09580000
Bad eraseblock 1197 at 0x095a0000
Bad eraseblock 1198 at 0x095c0000
Bad eraseblock 1199 at 0x095e0000
Bad eraseblock 1200 at 0x09600000
Bad eraseblock 1201 at 0x09620000
Bad eraseblock 1202 at 0x09640000
Bad eraseblock 1203 at 0x09660000
Bad eraseblock 1204 at 0x09680000
Bad eraseblock 1205 at 0x096a0000
Bad eraseblock 1206 at 0x096c0000
Bad eraseblock 1207 at 0x096e0000
Bad eraseblock 1208 at 0x09700000
Bad eraseblock 1209 at 0x09720000
Bad eraseblock 1210 at 0x09740000
Bad eraseblock 1211 at 0x09760000
Bad eraseblock 1212 at 0x09780000
Bad eraseblock 1213 at 0x097a0000
Bad eraseblock 1214 at 0x097c0000
Bad eraseblock 1215 at 0x097e0000
Bad eraseblock 1216 at 0x09800000
Bad eraseblock 1217 at 0x09820000
Bad eraseblock 1218 at 0x09840000
Bad eraseblock 1219 at 0x09860000
Bad eraseblock 1220 at 0x09880000
Bad eraseblock 1221 at 0x098a0000
Bad eraseblock 1222 at 0x098c0000
Bad eraseblock 1223 at 0x098e0000
Bad eraseblock 1224 at 0x09900000
Bad eraseblock 1225 at 0x09920000
Bad eraseblock 1226 at 0x09940000
Bad eraseblock 1227 at 0x09960000
Bad eraseblock 1228 at 0x09980000
Bad eraseblock 1229 at 0x099a0000
Bad eraseblock 1230 at 0x099c0000
Bad eraseblock 1231 at 0x099e0000
Bad eraseblock 1232 at 0x09a00000
Bad eraseblock 1233 at 0x09a20000
Bad eraseblock 1234 at 0x09a40000
fsl-elbc fsl-elbc.0: Using OF partition information
Creating 7 MTD partitions on "nand":
0x00000000-0x00100000 : "U-Boot-NAND"
0x00100000-0x00500000 : "Kernel1"
0x00500000-0x00900000 : "Kernel2"
0x00900000-0x00980000 : "DTB1"
0x00980000-0x00a00000 : "DTB2"
0x00a00000-0x08500000 : "RFS1"
0x084c0000-0x0ffc0000 : "RFS2"
mpc83xx_spi.0: MPC83xx SPI Controller driver at 0xc907e000 (irq = 24)
usbmon: debugfs is not available
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 38, io base 0xe0023000
CMD REG : 10009
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
rtc-ds1307 0-0068: rtc core: registered ds1339 as rtc0
WDT driver for MPC83xx initialized. mode:reset timeout=65535 (25 seconds)
mmc_spi spi28672.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-ds1307 0-0068: setting the system clock to 2009-07-15 13:15:24 (1247663724)
yaffs: dev is 32505868 name is "mtdblock12"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.12, "mtdblock12"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
VFS: Mounted root (yaffs2 filesystem).
Freeing unused kernel memory: 152k init
Setting the hostname to S600CPUBoardRev2.1
Mounting filesystems
Running sysctl
Setting up networking on loopback device:
nand_erase: attempt to erase a bad block at page 0x00013180
------retval -5--------1
nand_erase: attempt to erase a bad block at page 0x000131c0
------retval -5--------1
Warning: no IPADDR is set, please set this from the ltib
config screen, or directly in /etc/rc.d/rc.conf.
IP address setup bypassed
Setting up networking on eth1:
Adding static route for default gateway to 192.168.174.47:
**>> yaffs chunk 10432 was not erased
**>> yaffs chunk 10433 was not erased
**>> yaffs chunk 10434 was not erased
**>> yaffs chunk 10435 was not erased
**>> yaffs chunk 10436 was not erased
**>> yaffs chunk 10437 was not erased
**>> yaffs chunk 10438 was not erased
**>> yaffs chunk 10439 was not erased
**>> yaffs chunk 10440 was not erased
**>> yaffs chunk 10441 was not erased
**>> yaffs chunk 10442 was not erased
**>> yaffs chunk 10443 was not erased
**>> yaffs chunk 10444 was not erased
**>> yaffs chunk 10445 was not erased
**>> yaffs chunk 10446 was not erased
**>> yaffs chunk 10447 was not erased
**>> yaffs chunk 10448 was not erased
**>> yaffs chunk 10449 was not erased
**>> yaffs chunk 10450 was not erased
**>> yaffs chunk 10451 was not erased
**>> yaffs chunk 10452 was not erased
**>> yaffs chunk 10453 was not erased
**>> yaffs chunk 10454 was not erased
**>> yaffs chunk 10455 was not erased
**>> yaffs chunk 10456 was not erased
**>> yaffs chunk 10457 was not erased
**>> yaffs chunk 10458 was not erased
**>> yaffs chunk 10459 was not erased
**>> yaffs chunk 10460 was not erased
**>> yaffs chunk 10461 was not erased
**>> yaffs chunk 10462 was not erased
**>> yaffs chunk 10463 was not erased
**>> yaffs chunk 10464 was not erased
**>> yaffs chunk 10465 was not erased
**>> yaffs chunk 10466 was not erased
**>> yaffs chunk 10467 was not erased
**>> yaffs chunk 10468 was not erased
**>> yaffs chunk 10469 was not erased
**>> yaffs chunk 10470 was not erased
**>> yaffs chunk 10471 was not erased
**>> yaffs chunk 10472 was not erased
**>> yaffs chunk 10473 was not erased
**>> yaffs chunk 10474 was not erased
**>> yaffs chunk 10475 was not erased
**>> yaffs chunk 10476 was not erased
**>> yaffs chunk 10477 was not erased
**>> yaffs chunk 10478 was not erased
**>> yaffs chunk 10479 was not erased
**>> yaffs chunk 10480 was not erased
**>> yaffs chunk 10481 was not erased
**>> yaffs chunk 10482 was not erased
**>> yaffs chunk 10483 was not erased
**>> yaffs chunk 10484 was not erased
**>> yaffs chunk 10485 was not erased
**>> yaffs chunk 10486 was not erased
**>> yaffs chunk 10487 was not erased
**>> yaffs chunk 10488 was not erased
**>> yaffs chunk 10489 was not erased
**>> yaffs chunk 10490 was not erased
**>> yaffs chunk 10491 was not erased
**>> yaffs chunk 10492 was not erased
**>> yaffs chunk 10493 was not erased
**>> yaffs chunk 10494 was not erased
**>> yaffs chunk 10495 was not erased
**>> yaffs chunk 10496 was not erased
**>> yaffs chunk 10560 was not erased
**>> yaffs chunk 10624 was not erased
**>> yaffs chunk 10625 was not erased
**>> yaffs chunk 10626 was not erased
**>> yaffs chunk 10627 was not erased
**>> yaffs chunk 10628 was not erased
**>> yaffs chunk 10629 was not erased
**>> yaffs chunk 10630 was not erased
**>> yaffs chunk 10631 was not erased
**>> yaffs chunk 10632 was not erased
**>> yaffs chunk 10633 was not erased
**>> yaffs chunk 10634 was not erased
**>> yaffs chunk 10635 was not erased
**>> yaffs chunk 10636 was not erased
**>> yaffs chunk 10637 was not erased
**>> yaffs chunk 10638 was not erased
**>> yaffs chunk 10639 was not erased
**>> yaffs chunk 10640 was not erased
**>> yaffs chunk 10641 was not erased
**>> yaffs chunk 10642 was not erased
**>> yaffs chunk 10643 was not erased
**>> yaffs chunk 10644 was not erased
**>> yaffs chunk 10645 was not erased
**>> yaffs chunk 10646 was not erased
**>> yaffs chunk 10647 was not erased
**>> yaffs chunk 10648 was not erased
**>> yaffs chunk 10649 was not erased
**>> yaffs chunk 10650 was not erased
**>> yaffs chunk 10651 was not erased
**>> yaffs chunk 10652 was not erased
**>> yaffs chunk 10653 was not erased
**>> yaffs chunk 10654 was not erased
**>> yaffs chunk 10655 was not erased
**>> yaffs chunk 10656 was not erased
**>> yaffs chunk 10657 was not erased
**>> yaffs chunk 10658 was not erased
**>> yaffs chunk 10659 was not erased
**>> yaffs chunk 10660 was not erased
**>> yaffs chunk 10661 was not erased
**>> yaffs chunk 10662 was not erased
**>> yaffs chunk 10663 was not erased
**>> yaffs chunk 10664 was not erased
**>> yaffs chunk 10665 was not erased
**>> yaffs chunk 10666 was not erased
**>> yaffs chunk 10667 was not erased
**>> yaffs chunk 10668 was not erased
**>> yaffs chunk 10669 was not erased
**>> yaffs chunk 10670 was not erased
**>> yaffs chunk 10671 was not erased
**>> yaffs chunk 10672 was not erased
**>> yaffs chunk 10673 was not erased
**>> yaffs chunk 10674 was not erased
**>> yaffs chunk 10675 was not erased
**>> yaffs chunk 10676 was not erased
**>> yaffs chunk 10677 was not erased
**>> yaffs chunk 10678 was not erased
**>> yaffs chunk 10679 was not erased
**>> yaffs chunk 10680 was not erased
**>> yaffs chunk 10681 was not erased
**>> yaffs chunk 10682 was not erased
**>> yaffs chunk 10683 was not erased
**>> yaffs chunk 10684 was not erased
**>> yaffs chunk 10685 was not erased
**>> yaffs chunk 10686 was not erased
**>> yaffs chunk 10687 was not erased
**>> yaffs chunk 10688 was not erased
**>> yaffs chunk 10752 was not erased
**>> yaffs chunk 10816 was not erased
**>> yaffs chunk 10880 was not erased
**>> yaffs chunk 10944 was not erased
**>> yaffs chunk 10945 was not erased
**>> yaffs chunk 10946 was not erased
**>> yaffs chunk 10947 was not erased
**>> yaffs chunk 10948 was not erased
**>> yaffs chunk 10949 was not erased
**>> yaffs chunk 10950 was not erased
**>> yaffs chunk 10951 was not erased
**>> yaffs chunk 10952 was not erased
**>> yaffs chunk 10953 was not erased
**>> yaffs chunk 10954 was not erased
**>> yaffs chunk 10955 was not erased
**>> yaffs chunk 10956 was not erased
**>> yaffs chunk 10957 was not erased
**>> yaffs chunk 10958 was not erased
**>> yaffs chunk 10959 was not erased
**>> yaffs chunk 10960 was not erased
**>> yaffs chunk 10961 was not erased
**>> yaffs chunk 10962 was not erased
**>> yaffs chunk 10963 was not erased
**>> yaffs chunk 10964 was not erased
**>> yaffs chunk 10965 was not erased
**>> yaffs chunk 10966 was not erased
**>> yaffs chunk 10967 was not erased
**>> yaffs chunk 10968 was not erased
**>> yaffs chunk 10969 was not erased
**>> yaffs chunk 10970 was not erased
**>> yaffs chunk 10971 was not erased
**>> yaffs chunk 10972 was not erased
**>> yaffs write required 164 attempts
page 10496 in gc has no object: 165 1 2048
nand_erase: attempt to erase a bad block at page 0x00013240
------retval -5<4>**>> Erasure failed 164
**>> Block 164 retired
Block 164 is in state 9 after gc, should be erased
page 10560 in gc has no object: 166 65 2048
nand_erase: attempt to erase a bad block at page 0x00013280
------retval -5<4>**>> Erasure failed 165
**>> Block 165 retired
Block 165 is in state 9 after gc, should be erased
page 10688 in gc has no object: 168 1 2048
nand_erase: attempt to erase a bad block at page 0x00013300
------retval -5<4>**>> Erasure failed 167
**>> Block 167 retired
Block 167 is in state 9 after gc, should be erased
page 10752 in gc has no object: 169 65 2048
nand_erase: attempt to erase a bad block at page 0x00013340
------retval -5<4>**>> Erasure failed 168
**>> Block 168 retired
Block 168 is in state 9 after gc, should be erased
page 10816 in gc has no object: 136 1 2048
nand_erase: attempt to erase a bad block at page 0x00013380
------retval -5<4>**>> Erasure failed 169
**>> Block 169 retired
Block 169 is in state 9 after gc, should be erased
Setting nameservpage 10880 in gc has no object: 171 65 2048
er to 192.168.1.nand_erase: attempt to erase a bad block at page 0x000133c0
1 in /etc/resolv------retval -5.conf:
<4>**>> Erasure failed 170
**>> Block 170 retired
Block 170 is in state 9 after gc, should be erased
Starting inetd:
Starting the dropbear ssh server:
Setting RS485 Mode
Welcome to Freescale Semiconductor Embedded Linux Environment
!!!!! WARNING !!!!!!!
The default password for the root account is: root
please change this password using the 'passwd' command
and then edit this message (/etc/issue) to remove this message
S600CPUBoardRev2.1 login: PHY: e0024520:19 - Link is Up - 100/Full
root
Password:
login[889]: root login on `console'
~ #
~ #
~ #
~ #
~ #
~ #