Skip to contentSkip to conversation

problems with DOCboot

DISCUSSION Anthony Sharobaiko 1 participant 1 message Sep 12, 2007 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore 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?