From: Renaud barbier <renaud.barbier@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] mtdparts and JFFS2
Date: Mon, 04 May 2009 16:20:59 +0100 [thread overview]
Message-ID: <49FF07DB.1010507@ge.com> (raw)
I have used the new (to me) dynamic partitioning system with JFFS2.
I have defined one partiton as follows:
mtdids=nor0=boardnor
mtdparts=mtdparts=boardnor:4m(boot)
After using chpart (chpart nor0,0) successfully I was not able to list
the file
embedded in my jffs2 image using the command ls.
I later noticed that jffs2_part_info is called with current_dev = NULL;
I then declared current_dev global in cmd_mtdparts.c and external in
cmd_jffs2.c
the 'ls' command then worked:
U-boot> ls
Scanning JFFS2 FS: . done.
-rw-r--r-- 1148560 Thu Apr 30 14:13:52 2009 uImage
So:
Is that a bug?
Or did I configure U-boot incorrectly?
thanks.
next reply other threads:[~2009-05-04 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 15:20 Renaud barbier [this message]
2009-05-04 16:34 ` [U-Boot] mtdparts and JFFS2 Stefan Roese
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=49FF07DB.1010507@ge.com \
--to=renaud.barbier@ge.com \
--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