Hi, I'm currently using the 20061117 ltib from Freescale that came with my
MCF5329EVB. I have made progress developing drivers, but need to get my
flash working. I know it's buggy and have been goggling this problem. I'm
new to the uclinux development so I don't know where the patch is located
that they refer to at the bottom. The
http://www.uclinux.org/ports/coldfire/patches link doesn't work so I'm kind
of lost where to get it. I would be very grateful for any help, especially
from anybody who has gotten this board to boot up to a RW file system and
would like to share some pointers. Also where in the kernel source is it
that it mounts your file system? My second problem might be because I'm on
such an old dist but here it is, the problem really is that it stops the
bootup because of mount errors. Sorry for such a long post. Thanks in
advance.
-Chris

Mounting filesystems

mount: Mounting /proc on /proc failed: Bad address

mount: Mounting rwfs on /mnt/rwfs failed: Bad address

mount: /proc/filesystems: No such file or directory

cp: cannot create directory `/mnt/rwfs/tmp': Read-only file system

mount: /proc/filesystems: No such file or directory

cp: cannot create directory `/mnt/rwfs/etc': Read-only file system

mount: /proc/filesystems: No such file or directory

cp: cannot create directory `/mnt/rwfs/var': Read-only file system

mount: /proc/filesystems: No such file or directory

ln: /etc/mtab: Read-only file system

Starting syslogd and klogd

syslogd: Could not connect to socket /dev/log: Read-only file system

Setting up networking on loopback device:

rm: unable to remove `/etc/resolv.conf': Read-only file system

Setting up networking on eth0:

eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.

Adding static route for default gateway to 192.168.1.1:

tmp/hosts: cannot create

mv: overwrite `/etc/hosts'? no

Setting nameserver to 66.82.4.8 in /etc/resolv.conf:

/etc/resolv.conf: cannot create

Starting the boa webserver:

[30/Nov/1999:00:07:13 +0000] log.c:53 (open_logs) - unable to open error
log: Read-only file system

BusyBox v1.00 (2006.11.17-19:56+0000) Built-in shell (msh)

Enter 'help' for a list of built-in commands.

#

_______Post_______
Thanks!

I have already used your precious patch!

Regards Claudia

----- Original Message -----

From: Tarani, Andrea

To: uClinux development list

Sent: Thursday, June 21, 2007 11:22 AM

Subject: R: [uClinux-dev] Mouting JFFS2 file system

 Warning!!

The nand flash driver is bugged (wrong use of nand ce signal).

Hi have recently posted a patch that solve the problem (8 June)

------------------------------------------------------------------------------

Da: uclinux-dev-bounces at uclinux.org [mailto:uclinux-dev-bounces at
uclinux.org] Per conto di Claudia De Bartolomeis

Inviato: giovedì 21 giugno 2007 11.02

A: uClinux development list

Oggetto: [uClinux-dev] Mouting JFFS2 file system

Hi Vanitha,

what "kernel boot command" did you use to mount the file system from the
Nand flash?

Something like "root=/dev/mtdblockx"?

I'm also trying to use my Nand Flash as root file system,

(I'm working now on the MCF5329 platform)

and I gave up creating a jffs2 image and mounting it because i had

"Magic bitmask ... not found" messages and I can't solve it

( I used this commands

flash_eraseall /dev/mtd1

nandwrite -jf /dev/mtd1 rootfs.jffs2

mount -t jffs2 /dev/mtdblock1 /mnt

)

>From freescale I received this hint:

Try to create JFFS2 directly on NAND device without making image.

Than just copy some file there.

I followed this passes:

flash_eraseall /dev/mtd1

mount -t jffs2 /dev/mtdblock1 /mnt

cd /mnt

copying into it my file system,

in this way it works every time you mount it,

but I can't find the proper "boot kernel command" to mount it automatically
at boot time.

If you can please help me.

Regards

Claudia
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to