Problem booting DOCboot and Linux 2.6
dan_brown at ieee.org
Wed Jul 6 15:36:16 EDT 2005
Andrew Schultz wrote:
> I am currently having a problem getting DOCboot to work with a 256MB
> DoC2000 TSOP and a Linux 2.6.11 kernel image.
> Just for completeness, here are the steps I performed to get to this point:
> 1) Setup the chip with dformat:
> dformat /winl:0000 /winh:d8000 /bdkl0:2M (the /winl, /winh stuff is
> needed to work for some reason)
> 2) Reboot into linux off hard drive and put doc_spl image on chip:
> ./flash_eraseall /dev/mtd1
> ./nandwrite -o /dev/mtd1 doc_spl
> 3) Fdisk/format the /dev/inftla device to create the filesystem
> 4) Reboot and get the "CANNOT FIND IMAGE ON DEVICE" message
I be interested in seeing the results of "cat /proc/mtd" on your system.
Also, it would be interesting to see what happens if you omit step 3).
Obviously, if you do that your kernel will be unable to load your root
filesystem. But at the moment you aren't even getting the kernel loaded.
You might also want to examine the output from "./nanddump -p
/dev/mtd1", to see if the 0xdbb1 tag shows up. Omit the -p flag if you
prefer binary (rather than pretty-printed ascii) output.
BTW I do everything with the 2.6 kernel; that certainly is not the
problem. In fact the MTD developers don't generally test against the
2.4 kernel :)
More information about the linux-mtd