Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problem with jffs2 image creation.
@ 2008-12-02 12:55 Cyril HAENEL
  2008-12-02 14:00 ` Tiago Maluta
  0 siblings, 1 reply; 2+ messages in thread
From: Cyril HAENEL @ 2008-12-02 12:55 UTC (permalink / raw)
  To: buildroot

Hi all,

I am new to the list. I built a custom electronic board based on an 
atmel AT91SAM9260 processor.
I successfully finished a complete buildroot build, but I have a problem.
The generated jffs2 image of the root filesystem is incorrect, in fact 
the dev directory is not populated, thus I have this message after the 
linux kernel has mounted the filesystem : "Unable to open an initial 
console"

I tried the ext2 image in my board, it works correctly. But I absolutely 
need to use jffs2 because my filesystem is in a Nand flash.

To detect the problem I have mounted the jffs2 image on my laptop :

#modprobe mtdram total_size=24576 erase_size=128
#modprobe mtdblock
#dd 
if=/home/nlc/linuxEmbedded/buildroot/binaries/at91sam9260dfc/rootfs.arm-20081202.jffs2 
of=/dev/mtdblock
#mount -t jffs2 /dev/mtdblock0 /mnt/removable/

#ls /mnt/removable/
#bin/  boot/  config/  dev/  etc/  home/  lib/  linuxrc@  mnt/  opt/  
proc/  root/  sbin/  sys/  tmp/  usr/  var/

And dev is empty :

#ls -l /mnt/removable/dev/
total 0

Is someone have the same problem ? Where can be the problem, from 
mkfs.jffs2 ?

Sorry for my poor english !
Regards,
Cyril HAENEL

-- 

Cyril Haenel
Registered Linux User #332632

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

* [Buildroot] Problem with jffs2 image creation.
  2008-12-02 12:55 [Buildroot] Problem with jffs2 image creation Cyril HAENEL
@ 2008-12-02 14:00 ` Tiago Maluta
  0 siblings, 0 replies; 2+ messages in thread
From: Tiago Maluta @ 2008-12-02 14:00 UTC (permalink / raw)
  To: buildroot



-- 
> I am new to the list. I built a custom electronic board
> based on an 
> atmel AT91SAM9260 processor.
> I successfully finished a complete buildroot build, but I
> have a problem.
> The generated jffs2 image of the root filesystem is
> incorrect, in fact 
> the dev directory is not populated, thus I have this
> message after the 
> linux kernel has mounted the filesystem : "Unable to
> open an initial 
> console"
> 
> I tried the ext2 image in my board, it works correctly. But
> I absolutely 
> need to use jffs2 because my filesystem is in a Nand flash.
> 

You mean when you use an ext2 image (just changing from buildroot config) they create necessary files on /dev?

Send your config file.

--
Tiago Maluta.



      

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

end of thread, other threads:[~2008-12-02 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-02 12:55 [Buildroot] Problem with jffs2 image creation Cyril HAENEL
2008-12-02 14:00 ` Tiago Maluta

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