I'm not sure if kgdb over serial stops before NAND initialization, but
it is worth a try.  For dm644x and dm355, kgdbos should work.  However,
dm6467 requires a patch.

Of course, as Stjin points out, printk is always available :)

Regards,

Steve

On Sat, 2009-01-31 at 11:31 +0100, Stijn Devriendt wrote:
> Have you thought of good-old printk() ?
> It saves you a lot of effort in getting kernel debugging up and running.
> 
> Regards,
> Stijn
> 
> 2009/1/30 ashish pareek <[email protected]>:
> > Hi,
> > We want to debug kernel code to support a Nand device. I did configure
> > kernel for debugging and build it and tried to use DDD over GDB using
> > ethernet.I faced few issues -
> >
> > -Since debugging require Kernel to stop boot before Nand gets detected ,i
> > used kgdbwait to stop it and wait for gdb to get connected.But my Mtd-Nand
> > code was done before ethernet initialisation and then a msg appeared
> > "waiting for GDB to connect".Is thr any way to debug my Nand code during
> > boot time?
> >
> > -Any other debugger available for debugging?
> >
> > Ashish
> >
> >
> > _______________________________________________
> > Davinci-linux-open-source mailing list
> > [email protected]
> > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> >
> >
> 
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to