FYI

I found what the problem was - too many files in the /dev directory. I
don't know why it worked fine on my debian host, but once I removed most
of the static devices, things started to mount properly on the DaVinci
target.

Thanx,

Nachum Kanovsky
Senior Software/Hardware Engineer
Manager of Infrastructures
Mango DSP Ltd.
E-mail: [EMAIL PROTECTED]
Work: +972 2 588 5039
Cell: +972 547 508 121

Favorite Quote:
Mal: "Well, my days of not taking you seriously are certainly coming to
a middle..."
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Nachum Kanovsky
Sent: Wednesday, March 21, 2007 2:14 PM
To: [email protected]
Subject: RE: jffs2 freeze on davinci based system - host system
worksperfectly

mkfs.jffs2, not mkfs. 

Subject: jffs2 freeze on davinci based system - host system works
perfectly

I am running kernel 2.6.10_mvl401-davinci_evm. I have added MTD support
for char, block, mtdram, partitioning and a few others. I am trying to
mount a JFFS2 partition on /dev/mtd0 which is an mtdram based mtd.

I am running debian with kernel 2.6.18-4-k7 as the host.
I have mtdram on the host with /proc/mtd:
dev:    size    erasesize       name
mtd0: 00a00000 00020000 "mtdram test device"

I build a JFFS2 image with:
mkfs -d filesys.small/ -o test.img -e 128KiB.
I copy the image to mtd0:
dd if=test.img of=/dev/mtd0
I mount the image with:
mount -t jffs2 /dev/mtdblock0 /mnt

The image works fine. I can run "find /mnt" and see all the files fly
by.

On the target I have /proc/mtd:
dev:    size    erasesize       name
mtd0: 01000000 00020000 "mtdram test device"

I create an image, copy the image in the exact same way as I did on the
host.

When I try to mount it, it takes minutes (its size is around 8 MiB).
When I attempt to cd into /mnt/dev (My small filesystem's dev
directory), the system freezes completely. I can cd into /mnt/bin, and
some other directories, but /mnt/dev always dies.

Any information would be very helpful
Thanx,

Nachum Kanovsky
Senior Software/Hardware Engineer
Manager of Infrastructures
Mango DSP Ltd.
E-mail: [EMAIL PROTECTED]
Work: +972 2 588 5039
Cell: +972 547 508 121

Favorite Quote:
Mal: "Well, my days of not taking you seriously are certainly coming to
a middle..."
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to