public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* jffs2 on osk5912
@ 2007-05-26 20:06 karthik
  2007-05-27  1:24 ` Steve Poulsen
  0 siblings, 1 reply; 3+ messages in thread
From: karthik @ 2007-05-26 20:06 UTC (permalink / raw)
  To: linux-omap-open-source

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.

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

* Re: jffs2 on osk5912
  2007-05-26 20:06 jffs2 on osk5912 karthik
@ 2007-05-27  1:24 ` Steve Poulsen
  2007-05-27 13:27   ` Philip Balister
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Poulsen @ 2007-05-27  1:24 UTC (permalink / raw)
  To: karthik; +Cc: linux-omap-open-source

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

karthik wrote:
> 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
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>
>   

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

* Re: jffs2 on osk5912
  2007-05-27  1:24 ` Steve Poulsen
@ 2007-05-27 13:27   ` Philip Balister
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Balister @ 2007-05-27 13:27 UTC (permalink / raw)
  To: Steve Poulsen; +Cc: karthik, linux-omap-open-source

You can also try flashing the images from here:

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

Philip


Steve Poulsen wrote:
> 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
> 
> karthik wrote:
>> 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
>> Linux-omap-open-source@linux.omap.com
>> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>>
>>   
> 
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> 

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

end of thread, other threads:[~2007-05-27 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-26 20:06 jffs2 on osk5912 karthik
2007-05-27  1:24 ` Steve Poulsen
2007-05-27 13:27   ` Philip Balister

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox