From: Vernon Fuller <vernonfuller@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: mkfs.jffs2 missing magic?
Date: Thu, 2 Dec 2004 16:37:52 -0700 [thread overview]
Message-ID: <4de512b704120215377738f4ed@mail.gmail.com> (raw)
I compiled the latest mkfs.jffs2 and run it as
mkfs.jffs2 -l -e 128KiB -d /opt/src/romfs -o /opt/src/images/root.jffs
and load the image at 0x000240000 on my intel 28F640 J3 A (8Meg strata flash)
the image I make has lots of Magic bitmasks in it, just not at the offsets
jffs2_scan_eraseblock is looking for.
image at 0x240000:
85 19 03 20 0C 00 00 00 B1 B0 1E E4 85 19 01 E0
2B 00 00 00 E6 6E 26 7D 01 00 00 00 00 00 00 00
02 00 00 00 2A 98 AF 41 03 04 00 00 EC 36 A8 A5
FF 83 66 55 62 69 6E FF 85 19 02 E0 44 00 00 00
1D FB F7 98 02 00 00 00 01 00 00 00 FD 41 00 00
F5 01 F5 01 00 00 00 00 2A 98 AF 41 2A 98 AF 41
2A 98 AF 41 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 AE A9 C8 14 85 19 01 E0
2B 00 00 00 E6 6E 26 7D 01 00 00 00 01 00 00 00
03 00 00 00 25 98 AF 41 03 04 00 00 BE F9 45 49
17 28 32 EE 64 65 76 FF 85 19 02 E0 44 00 00 00
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240020:
0x0002 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240024:
0x2818 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0024002c:
0x4b3c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240030:
0x7001 instead
Which is right, mkfs.jffs2 or linux? or do I not know how to use mkfs.jffs2?
reply other threads:[~2004-12-02 23:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4de512b704120215377738f4ed@mail.gmail.com \
--to=vernonfuller@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/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