* Problem booting DOCboot and Linux 2.6
@ 2005-07-06 19:11 Andrew Schultz
2005-07-06 19:36 ` Dan Brown
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Schultz @ 2005-07-06 19:11 UTC (permalink / raw)
To: linux-mtd
Hello,
I am currently having a problem getting DOCboot to work with a 256MB
DoC2000 TSOP and a Linux 2.6.11 kernel image. After following all the
steps in the readme, I reboot the system and get the following:
Loading kernel... CANNOT FIND IMAGE ON DEVICE
Looking at the doc_bootstub.S code, it looks like this results from not
finding the "0xdbb1" signature in any of the pages denoting that the
page holds part of the kernel image. I'm not exactly sure why this is
happening, as my doc_spl image that I wrote to the chip is the correct
size (about 1.2MB, or approximately the size of the bzImage + size of
doc_bootstub object file). Other people have recently posted success
using a very similar chip, the only difference being they used a 2.4
kernel. If anyone knows why this might be happening, or if anyone has
had success using a 2.6 kernel (although I don't think that should
matter), any help would be appreciated.
Andrew
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem booting DOCboot and Linux 2.6
2005-07-06 19:11 Problem booting DOCboot and Linux 2.6 Andrew Schultz
@ 2005-07-06 19:36 ` Dan Brown
0 siblings, 0 replies; 2+ messages in thread
From: Dan Brown @ 2005-07-06 19:36 UTC (permalink / raw)
To: Andrew Schultz; +Cc: linux-mtd
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 :)
-Dan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-06 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 19:11 Problem booting DOCboot and Linux 2.6 Andrew Schultz
2005-07-06 19:36 ` Dan Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox