Skip to contentSkip to conversation

seeking help on JFFS2

DISCUSSION 2 participants 2 messages Nov 5, 2002 Memory technology devices (MTD)

lore
Share & tools
lore

#0 lore raw
Quoted 11 lines · Jörn Engel
Quoted 4 lines · Junping Zhang

(b) I tried mkfs.jffs2 on both target and my x86 host (with big-endian option)

mkfs.jffs2 -dipc -e0x40000 -p0x700000 -b -o /opt/ipc.jffs2

                             ^^^^^^^   ^^^^^^^^

Does this really work? I remember that mkfs.jffs2 once didn't understand hex and you had to pass it the decimal numbers. Can you check that?

I believe there shouldnt be a problem with passing hex to it - the code uses strtol() to recognize both decimal and hex.

-jf

--
"It's an extraordinary world!" - jfsworld <at> fastmail.fm

#1 lore raw
Quoted 2 lines · Jeffrey Lim

I believe there shouldnt be a problem with passing hex to it - the code uses strtol() to recognize both decimal and hex.

Makes sense. Hm. I wonder what has hit me back then. Strange.

Jörn

Signature · 2 lines
A surrounded army must be given a way out.
-- Sun Tzu