linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* jffs2 on imx21ads board
@ 2008-05-07  2:35 Nethra
  2008-05-07  6:32 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Nethra @ 2008-05-07  2:35 UTC (permalink / raw)
  To: linuxppc-dev


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: 00040000 00010000 "Bootloader" 
mtd1: 00200000 00040000 "nor.Kernel1" 
mtd2: 00200000 00040000 "nor.kernel2" 
mtd3: 00d00000 00040000 "nor.rootfs1" 
mtd4: 00d00000 00040000 "nor.rootfs2" 
mtd5: 00040000 00040000 "Parameter" 
mtd6: 00003000 00010000 "FIS directory" 
mtd7: 00001000 00010000 "Redboot config" 
mx27# cd /dev/ 
/dev/input/  /dev/net/    /dev/pts/    /dev/shm/ 
mx27# mount -t jffs2 /dev/mtdblock3 /mnt 
<6>MTDSB: dev_name "/dev/mtdblock3" 
[   27.820000] MTDSB: path_lookup() returned 0, inode c3c50100 
[   27.820000] MTDSB: New superblock for device 3 ("nor.rootfs1") 
mx27# [   30.240000] Erase at 0x00b80000 failed immediately: -EROFS. Is the
sector locked? 
[   30.240000] Erase at 0x00b40000 failed immediately: -EROFS. Is the sector
locked? 
[   30.250000] Erase at 0x00b00000 failed immediately: -EROFS. Is the sector
locked? 
[   30.260000] Erase at 0x00ac0000 failed immediately: -EROFS. Is the sector
locked? 
[   30.270000] Erase at 0x00a80000 failed immediately: -EROFS. Is the sector
locked? 
[   30.270000] Erase at 0x00a40000 failed immediately: -EROFS. Is the sector
locked? 
[   30.280000] Erase at 0x00a00000 failed immediately: -EROFS. Is the sector
locked? 
[   30.290000] Erase at 0x009c0000 failed immediately: -EROFS. Is the sector
locked? 
[   30.300000] Erase at 0x00980000 failed immediately: -EROFS. Is the sector
locked? 
[   30.300000] Erase at 0x00940000 failed immediately: -EROFS. Is the sector
locked? 
[   30.310000] Erase at 0x00900000 failed immediately: -EROFS. Is the sector
locked? 
[   30.320000] Erase at 0x008c0000 failed immediately: -EROFS. Is the sector
locked? 
[   30.330000] Erase at 0x00880000 failed immediately: -EROFS. Is the sector
locked? 
[   30.340000] Erase at 0x00840000 failed immediately: -EROFS. Is the sector
locked? 
[   30.340000] Erase at 0x00800000 failed immediately: -EROFS. Is the sector
locked? 
[   30.350000] Erase at 0x007c0000 failed immediately: -EROFS. Is the sector
locked? 
[   30.360000] Erase at 0x00780000 failed immediately: -EROFS. Is the sector
locked? 
[   30.370000] Erase at 0x00740000 failed immediately: -EROFS. Is the sector
locked? 
[   30.370000] Erase at 0x00700000 failed immediately: -EROFS. Is the sector
locked? 
[   30.380000] Erase at 0x006c0000 failed immediately: -EROFS. Is the sector
locked? 
[   30.390000] Erase at 0x00680000 failed immediately: -EROFS. Is the sector
locked? 
[   30.400000] Erase at 0x00640000 failed immediately: -EROFS. Is the sector
locked? 
[   30.410000] Erase at 0x00600000 failed immediately: -EROFS. Is the sector
locked? 
[   30.410000] Erase at 0x005c0000 failed immediately: -EROFS. Is the sector
locked? 
[   30.420000] Erase at 0x00580000 failed immediately: -EROFS. Is the sector
locked? 
[   30.430000] Erase at 0x00540000 failed immediately: -EROFS. Is the sector
locked? 
[   30.440000] Erase at 0x00500000 failed immediately: -EROFS. Is the sector
locked? 
[   30.440000] Erase at 0x004c0000 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-on-imx21ads-board-tp17093824p17093824.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: jffs2 on imx21ads board
  2008-05-07  2:35 jffs2 on imx21ads board Nethra
@ 2008-05-07  6:32 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-05-07  6:32 UTC (permalink / raw)
  To: Nethra; +Cc: linuxppc-dev

In message <17093824.post@talk.nabble.com> you wrote:
> 
> 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. 

Argh.. You really are ignoring all good advice, aren't you?

After you have been told that this posting wa soff topic on the U-Boot
list and your hsould ask on the ARM mailing list instead, you now post
it again on a PowerPC list?

What makes you think i.MX21 related topics would fit here?

You are off topic again!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Human beings were created by water to transport it uphill.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-07  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-07  2:35 jffs2 on imx21ads board Nethra
2008-05-07  6:32 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).