From: Martin Egholm Nielsen <martin@egholm-nielsen.dk>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: Reading or writing jffs2 - how?
Date: Mon, 20 Dec 2004 15:09:51 +0100 [thread overview]
Message-ID: <41C6DD2F.5090800@egholm-nielsen.dk> (raw)
In-Reply-To: <87hdmnuvpi.fsf@deepthought.outer.space.org>
Hi Detlev,
>>I have tried to create a jffs2-image of the linux-filesystem I wish to
>>use, and then write it to my flash using "nand write.jffs2 100000 0
>>$(filesize)". But with no luck...
>>Then I began to investigate the fundamental "ls" and "nand erase"
>>commands, but neither there did I have any success. Below is a trace
>>of what I've tried in order to get something working.
> Are you really sure, your NAND gets accessed correctly both under
> U-Boot and Linux? Can you erase / write / readback some data under
> U-Boot by hand?
The problem has been solved...
The reason that "ls" didn't work from u-boot, was that the boards'
u-boot config-file included an erroneous nand-size:
#define CONFIG_JFFS2_NAND_SIZE 64*1024*1024
My board had only one configuration-file associated, but multiple
nand-size configurations.
The jffs2-image problems were related to the endianess problems of
mkfs.jffs2:
http://lists.infradead.org/pipermail/linux-mtd/2004-January/009091.html
Thanks for all,
Martin
next prev parent reply other threads:[~2004-12-20 14:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-15 12:56 [U-Boot-Users] Reading or writing jffs2 - how? Martin Egholm Nielsen
2004-12-15 20:47 ` Detlev Zundel
2004-12-15 20:56 ` Detlev Zundel
2004-12-16 15:11 ` [U-Boot-Users] " Martin Egholm Nielsen
2004-12-16 15:17 ` Martin Egholm Nielsen
2004-12-20 14:09 ` Martin Egholm Nielsen [this message]
2004-12-20 17:25 ` Detlev Zundel
2004-12-21 9:01 ` Martin Egholm Nielsen
2004-12-21 9:12 ` Wolfgang Denk
2004-12-21 9:30 ` Martin Egholm Nielsen
2004-12-21 12:07 ` Wolfgang Denk
2004-12-21 12:46 ` Martin Egholm Nielsen
2004-12-21 19:19 ` Detlev Zundel
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=41C6DD2F.5090800@egholm-nielsen.dk \
--to=martin@egholm-nielsen.dk \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox