From: Anthony Sharobaiko <anthony@fiord.com>
To: linux-mtd@lists.infradead.org
Subject: problems with DOCboot
Date: Wed, 12 Sep 2007 14:42:54 +0400 [thread overview]
Message-ID: <20070912104254.GA3953@fiord.com> (raw)
Hi!
I'm trying to get DOCboot working with doc2000. Currently it installs itself
ok, but fails to find kernel image block - the one with 0xdb b1 bytes in OOB
area (prints "CANNOT FIND IMAGE ON DEVICE" after scanning entire(?)
partition).
And there is no 0xdb b1 signature in `nanddump /dev/mtd1` nor in doc_spl
(generated image of docboot+kernel). -o switch of nandwrite does not help.
What tool and from what generates oob data? nandwrite from image being
written?
I use latest mtd-utils from cvs (flash_eraseall, nandwrite) and vanilla kernel
v2.6.22.6.
Size of BDK partition is appropriate for docboot image (generated doc_spl is
1412400 bytes long, I
issued 'dformat /win:e000 /bdkl0:1500k', hope this is enough).
#cat /proc/mtd
dev: size erasesize name
mtd0: 02000000 00004000 "DiskOnChip 2000 (NFTL Model)"
mtd1: 00180000 00004000 " DiskOnChip Firmware / Media Header partition"
mtd2: 01e80000 00004000 " DiskOnChip BDTL partition"
What did I forget?
--
reply other threads:[~2007-09-12 10:43 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=20070912104254.GA3953@fiord.com \
--to=anthony@fiord.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