public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* problems with DOCboot
@ 2007-09-12 10:42 Anthony Sharobaiko
  0 siblings, 0 replies; only message in thread
From: Anthony Sharobaiko @ 2007-09-12 10:42 UTC (permalink / raw)
  To: linux-mtd

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?

-- 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-12 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-12 10:42 problems with DOCboot Anthony Sharobaiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox