Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Dataflash rootfs problems (still)
@ 2007-10-24 18:37 Michael Trimarchi
  2007-10-24 18:54 ` Jorge S.
  0 siblings, 1 reply; 21+ messages in thread
From: Michael Trimarchi @ 2007-10-24 18:37 UTC (permalink / raw)
  To: buildroot

Hi,

>I've sucessfully built  several root filesystems  for my custom board (AT91RM9200 + 8MiB DataFlash),  but  now  i'm >facing a  strange problem.

>I'm using a JFFS2 filesystem on an MTD partition into the DataFlash, my rootfs boots OK, but ONLY for the first time. >See steps:


>1) Create a rootfs JFFS2 image using buildroot -> OK
>2) Erase entire flash partition: I boot from an initrd containing mtd-tools for this purpouse. -> OK
>3) Dump the rootfs image "rootfs.jffs2" into the Dataflash (i use loadb from u-boot here...) -> OK

>4) Boot the system... -> OK
>5) Login and issue a simple reboot, no other commands...nothing else.... -> OK

>After the reboot at step "5" the system comes again, but now when is press BACKSPACE it writes a space, and if i try >to add a user or change the root password

>i always get a "/etc/passwd" not found.



Is a problem of your busybox configuration :)

Regards 
Michael





      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071024/44dc3067/attachment.htm 

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Buildroot] Dataflash rootfs problems (still)
@ 2007-10-24 19:06 Michael Trimarchi
  2007-10-24 19:40 ` Jorge S.
  0 siblings, 1 reply; 21+ messages in thread
From: Michael Trimarchi @ 2007-10-24 19:06 UTC (permalink / raw)
  To: buildroot




Can you point me to something concrete? 



And, if busybox isn't properly configured, why is it working fine for the very first time?




I use the default busybox (1.6.0) on buildroot. Any *must-change* option?



The problem is that I don't remember :(.

Try to add tab-completation in busybox settings, library tunings.

Seem to be crazy, but I remember this change.

:) or I'll send you my config. I use the 1.6.1

Regards MIchael








      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071024/35df54da/attachment.htm 

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Buildroot] Dataflash rootfs problems (still)
@ 2007-10-24 16:20 Jorge S.
  2007-10-24 16:33 ` Ulf Samuelsson
  0 siblings, 1 reply; 21+ messages in thread
From: Jorge S. @ 2007-10-24 16:20 UTC (permalink / raw)
  To: buildroot

Hello all:

I've sucessfully built  several root filesystems  for my custom board
(AT91RM9200 + 8MiB DataFlash),  but  now  i'm facing a  strange problem.

I'm using a JFFS2 filesystem on an MTD partition into the DataFlash, my
rootfs boots OK, but ONLY for the first time. See steps:

1) Create a rootfs JFFS2 image using buildroot -> OK
2) Erase entire flash partition: I boot from an initrd containing mtd-tools
for this purpouse. -> OK
3) Dump the rootfs image "rootfs.jffs2" into the Dataflash (i use loadb from
u-boot here...) -> OK
4) Boot the system... -> OK
5) Login and issue a simple reboot, no other commands...nothing else.... ->
OK

After the reboot at step "5" the system comes again, but now when is press
BACKSPACE it writes a space, and if i try to add a user or change the root
password
i always get a "/etc/passwd" not found.

So i have (at least) 2 weird issues here:

1) Why my backspace key sends a space, but really deletes a character?!?! It
worked fine for the 1st boot
2) Why "adduser" and "passwd" utilities are unable to access /etc files?
I'have TRIPLE checked read/write permissions...everything is ok. Of course
it works fine if i do this on the 1st boot!

Any idea?!

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071024/c58b307a/attachment-0001.htm 

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

end of thread, other threads:[~2007-10-25 19:20 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 18:37 [Buildroot] Dataflash rootfs problems (still) Michael Trimarchi
2007-10-24 18:54 ` Jorge S.
2007-10-24 18:59   ` Jorge S.
  -- strict thread matches above, loose matches on Subject: below --
2007-10-24 19:06 Michael Trimarchi
2007-10-24 19:40 ` Jorge S.
2007-10-24 16:20 Jorge S.
2007-10-24 16:33 ` Ulf Samuelsson
2007-10-24 16:54   ` Jorge S.
2007-10-24 18:34     ` Ivan Kuten
2007-10-24 22:57       ` Ulf Samuelsson
2007-10-25  9:08         ` Jorge S.
2007-10-25 16:17         ` Jorge S.
2007-10-25 16:30           ` Ulf Samuelsson
2007-10-25 16:46             ` Jorge S.
2007-10-25 16:51               ` Ulf Samuelsson
2007-10-25 18:48             ` Ivan Kuten
2007-10-25 17:58               ` Jorge S.
2007-10-25 19:09                 ` Ivan Kuten
2007-10-25 18:11                   ` Jorge S.
2007-10-25 19:20                     ` Ivan Kuten
2007-10-24 22:49     ` Ulf Samuelsson

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