Skip to contentSkip to conversation

jffs2 on osk5912

DISCUSSION karthik 3 participants 3 messages May 26, 2007 – May 27, 2007

lore
Share & tools
lore

karthik

author
#0 lore raw

Hi all,

i tried mounting a jffs2 filesystem as root.

i get the following the error a lot of times until no space is left (memory free is zero) in the system.

failed immediately: -EROFS. Is the sector locked?

after this mkdir says there is no space.

what's wrong? The configuration i have chosen is exactly as given in oskfordummies site.

----------

And when i give the following bootargs linux asks does dhcp request and the boot up stops right there.

console=ttyS0,115200n8 noinitrd rw ip=10.64.62.190:::255.254.0.0:karthikkit:eth0:off root=/dev/mtdblock3 rootfstype=jffs2

------------
And when i give the following bootargs linux asks does dhcp request and gets the ip but when i ping a machine it says network host unreachable.

console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/mtdblock3 rootfstype=jffs2

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

pls do reply.

karthik

---------------------------------
Got a little couch potato?
Check out fun summer activities for kids.

#1 lore raw

Try unprotecting your flash at the U-boot prompt:

protect off 1:23-255
boot

You might need to adjust the numbers to match your system. You can also set the bootcmd to have the protect off and bootm commands together or edit U-boot to unprotect part of the flash always.

Steve

Quoted 39 lines · karthik

Hi all,

i tried mounting a jffs2 filesystem as root.

i get the following the error a lot of times until no space is left (memory free is zero) in the system.

failed immediately: -EROFS. Is the sector locked?

after this mkdir says there is no space.

what's wrong? The configuration i have chosen is exactly as given in oskfordummies site.

----------

And when i give the following bootargs linux asks does dhcp request and the boot up stops right there.

console=ttyS0,115200n8 noinitrd rw ip=10.64.62.190:::255.254.0.0:karthikkit:eth0:off root=/dev/mtdblock3 rootfstype=jffs2

------------
And when i give the following bootargs linux asks does dhcp request and gets the ip but when i ping a machine it says network host unreachable.

console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/mtdblock3 rootfstype=jffs2

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

pls do reply.

karthik

---------------------------------
Got a little couch potato? Check out fun summer activities for kids.
_______________________________________________
Linux-omap-open-source mailing list [email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

#2 lore raw

You can also try flashing the images from here:

http://tree.celinuxforum.org/CelfPubWiki/OSK#head-6ce6c512ea433a7fc5c8841628e7696cd0ff7f2b

Philip

Quoted 52 lines · Steve Poulsen

Try unprotecting your flash at the U-boot prompt:

protect off 1:23-255
boot

You might need to adjust the numbers to match your system. You can also set the bootcmd to have the protect off and bootm commands together or edit U-boot to unprotect part of the flash always.

Steve

Quoted 26 lines · karthik

Hi all,

i tried mounting a jffs2 filesystem as root.

i get the following the error a lot of times until no space is left (memory free is zero) in the system.

failed immediately: -EROFS. Is the sector locked?

after this mkdir says there is no space.

what's wrong? The configuration i have chosen is exactly as given in oskfordummies site.

----------

And when i give the following bootargs linux asks does dhcp request and the boot up stops right there. console=ttyS0,115200n8 noinitrd rw ip=10.64.62.190:::255.254.0.0:karthikkit:eth0:off root=/dev/mtdblock3 rootfstype=jffs2

------------
And when i give the following bootargs linux asks does dhcp request and gets the ip but when i ping a machine it says network host unreachable. console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/mtdblock3 rootfstype=jffs2

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

pls do reply.

Quoted 10 lines

karthik

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

Got a little couch potato? Check out fun summer activities for kids.
_______________________________________________
Linux-omap-open-source mailing list [email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source