From: Cyril HAENEL <chaenel@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Problem with jffs2 image creation.
Date: Tue, 02 Dec 2008 13:55:40 +0100 [thread overview]
Message-ID: <4935304C.2050206@free.fr> (raw)
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
next reply other threads:[~2008-12-02 12:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 12:55 Cyril HAENEL [this message]
2008-12-02 14:00 ` [Buildroot] Problem with jffs2 image creation Tiago Maluta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4935304C.2050206@free.fr \
--to=chaenel@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.