[U-Boot-Users] Jffs2 root file system on imx21ads board

2008-05-06 Thread Nethra

hi all, 

I m using imx21ads board, Bootloader is Redboot.
linux is linux-2.6.22 version. Board with Jffs2 root filesystem as root is
not working.
But Ramdisk booting is working...so i tried to mount jffs2 root file system
after
booting board with ramdisk using mount command. It boots up with some error
message as given below.

With df command it shows 100%...


mx27# cat /proc/mtd
dev:size   erasesize  name
mtd0: 0004 0001 Bootloader
mtd1: 0020 0004 nor.Kernel1
mtd2: 0020 0004 nor.kernel2
mtd3: 00d0 0004 nor.rootfs1
mtd4: 00d0 0004 nor.rootfs2
mtd5: 0004 0004 Parameter
mtd6: 3000 0001 FIS directory
mtd7: 1000 0001 Redboot config
mx27# cd /dev/
/dev/input/  /dev/net//dev/pts//dev/shm/
mx27# mount -t jffs2 /dev/mtdblock3 /mnt
6MTDSB: dev_name /dev/mtdblock3
[   27.82] MTDSB: path_lookup() returned 0, inode c3c50100
[   27.82] MTDSB: New superblock for device 3 (nor.rootfs1)
mx27# [   30.24] Erase at 0x00b8 failed immediately: -EROFS. Is the
sector locked?
[   30.24] Erase at 0x00b4 failed immediately: -EROFS. Is the sector
locked?
[   30.25] Erase at 0x00b0 failed immediately: -EROFS. Is the sector
locked?
[   30.26] Erase at 0x00ac failed immediately: -EROFS. Is the sector
locked?
[   30.27] Erase at 0x00a8 failed immediately: -EROFS. Is the sector
locked?
[   30.27] Erase at 0x00a4 failed immediately: -EROFS. Is the sector
locked?
[   30.28] Erase at 0x00a0 failed immediately: -EROFS. Is the sector
locked?
[   30.29] Erase at 0x009c failed immediately: -EROFS. Is the sector
locked?
[   30.30] Erase at 0x0098 failed immediately: -EROFS. Is the sector
locked?
[   30.30] Erase at 0x0094 failed immediately: -EROFS. Is the sector
locked?
[   30.31] Erase at 0x0090 failed immediately: -EROFS. Is the sector
locked?
[   30.32] Erase at 0x008c failed immediately: -EROFS. Is the sector
locked?
[   30.33] Erase at 0x0088 failed immediately: -EROFS. Is the sector
locked?
[   30.34] Erase at 0x0084 failed immediately: -EROFS. Is the sector
locked?
[   30.34] Erase at 0x0080 failed immediately: -EROFS. Is the sector
locked?
[   30.35] Erase at 0x007c failed immediately: -EROFS. Is the sector
locked?
[   30.36] Erase at 0x0078 failed immediately: -EROFS. Is the sector
locked?
[   30.37] Erase at 0x0074 failed immediately: -EROFS. Is the sector
locked?
[   30.37] Erase at 0x0070 failed immediately: -EROFS. Is the sector
locked?
[   30.38] Erase at 0x006c failed immediately: -EROFS. Is the sector
locked?
[   30.39] Erase at 0x0068 failed immediately: -EROFS. Is the sector
locked?
[   30.40] Erase at 0x0064 failed immediately: -EROFS. Is the sector
locked?
[   30.41] Erase at 0x0060 failed immediately: -EROFS. Is the sector
locked?
[   30.41] Erase at 0x005c failed immediately: -EROFS. Is the sector
locked?
[   30.42] Erase at 0x0058 failed immediately: -EROFS. Is the sector
locked?
[   30.43] Erase at 0x0054 failed immediately: -EROFS. Is the sector
locked?
[   30.44] Erase at 0x0050 failed immediately: -EROFS. Is the sector
locked?
[   30.44] Erase at 0x004c failed immediately: -EROFS. Is the sector
locked?
mx27#
mx27#
mx27# df
Filesystem   1k-blocks  Used Available Use% Mounted on
/dev/ram0 7280  4963  1948  72% /
df: /mnt/rwfs: No such file or directory
rwfs   512   232   280  45% /tmp
rwfs   512   232   280  45% /etc
rwfs   512   232   280  45% /var
shm  31560 0 31560   0% /dev/shm
/dev/mtdblock3   13312 13312 0 100% /mnt
mx27#
mx27#

waiting for inputs

tnks,
Nethra
-- 
View this message in context: 
http://www.nabble.com/Jffs2-root-file-system-on-imx21ads-board-tp17081458p17081458.html
Sent from the Uboot - Users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] Jffs2 root file system on imx21ads board

2008-05-06 Thread Martin Krause
Hi Nethra,

[EMAIL PROTECTED] wrote on Tuesday, May 06,
2008 2:11 PM: 
 hi all,
 
 I m using imx21ads board, Bootloader is Redboot.
 linux is linux-2.6.22 version. Board with Jffs2 root filesystem as
 root is 
 not working.

This is the U-Boot mailing list. Perhaps it will be a good idea to ask
your  question on a more linux related list. For example on
[EMAIL PROTECTED]

Best Regards,
Martin Krause

--
TQ-Systems GmbH
Muehlstrasse 2, Gut Delling, D-82229 Seefeld
Amtsgericht Muenchen, HRB 105 018, UST-IdNr. DE 811 607 913
Geschaeftsfuehrer: Dipl.-Ing. (FH) Detlef Schneider, Dipl.-Ing. (FH) Ruediger 
Stahl
http://www.tq-group.com

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users