For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU.
This group is to exchange information to help users get started and learn how to use the devices.
KGDB - James Li - Jul 20 18:03:05 2009
Hi Everyone,
I want to enable KGDB in my linux2.6.28 kernel with at91sam9261ek.
I selected kernel hacking -->
KGDB: kernel debugging with remote gdb
Compile the kernel with debug info
The first one sets CONFGI_KGDB=y and the second one sets
CONFIG_DEBUG_INFO=y. I rebuilt the kernel and I could see that
/kernel/kgdb.c was compiled and the kernel image was about 20KB larger
than the previous one without KGDB enabled.
However after I downloaded the image to the board, nothing has changed.
I have no KGDB prompt and kernel boots up as before.
Could someone tell me what goes wrong and how should I fix it?
Thanks in advance,
James

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )
Re: KGDB - vishnu Tadepalli - Jul 20 21:38:26 2009
Do you have a gdbserver running on your PC to debug.Also as far as I know to
debug the kernel you have to stop the kernel from booting at the bootloader
level and debug it.Please refer the book embedded linux primer for clear
idea.
Regards
T.V.R.Prasad
On Tue, Jul 21, 2009 at 3:30 AM, James Li
wrote:
> Hi Everyone,
>
> I want to enable KGDB in my linux2.6.28 kernel with at91sam9261ek.
>
> I selected kernel hacking à
>
> KGDB: kernel debugging with remote gdb
>
> Compile the kernel with debug info
>
> The first one sets CONFGI_KGDB=y and the second one sets
> CONFIG_DEBUG_INFO=y. I rebuilt the kernel and I could see that
> /kernel/kgdb.c was compiled and the kernel image was about 20KB larger than
> the previous one without KGDB enabled.
>
> However after I downloaded the image to the board, nothing has changed. I
> have no KGDB prompt and kernel boots up as before.
>
> Could someone tell me what goes wrong and how should I fix it?
>
> Thanks in advance,
>
> James
>
>

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )Re: KGDB - pratibha sharma - Jul 21 0:04:02 2009
No, i dont hv the gdb server on my PC. But i wil def. go for the book u hv suggested.
Thanks & Regards Pratibha SharmaAEM,Noida
--- On Mon, 7/20/09, vishnu Tadepalli
wrote:
From: vishnu Tadepalli
Subject: Re: [AT91SAM] KGDB
To: A...@yahoogroups.com
Date: Monday, July 20, 2009, 9:37 PM
Do you have a gdbserver running on your PC to debug.Also as far as I
know to debug the kernel you have to stop the kernel from booting at the bootloader level
and debug it.Please refer the book embedded linux primer for clear idea.
Regards
T.V.R.Prasad
On Tue, Jul 21, 2009 at 3:30 AM, James Li wrote:
Hi Everyone,
I want to enable KGDB in my linux2.6.28 kernel with
at91sam9261ek.
I selected kernel hacking à
KGDB:
kernel debugging with remote gdb
Compile
the kernel with debug info
The first one sets CONFGI_KGDB= y and the second one sets
CONFIG_DEBUG_ INFO=y. I rebuilt the kernel and I could see that /kernel/kgdb. c
was compiled and the kernel image was about 20KB larger than the previous one
without KGDB enabled.
However after I downloaded the image to the board, nothing has
changed. I have no KGDB prompt and kernel boots up as before.
Could someone tell me what goes wrong and how should I fix
it?
Thanks in advance,
James

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )Re: KGDB - pratibha sharma - Jul 21 0:18:21 2009
Even i am going to use KGDB with my AT91SAM9260 board.
If u get any information do let me know.
Regards Pratibha SharmaAEM,Noida
--- On Mon, 7/20/09, James Li
wrote:
From: James Li
Subject: [AT91SAM] KGDB
To: A...@yahoogroups.com
Date: Monday, July 20, 2009, 6:00 PM
Hi Everyone,
I want to enable KGDB in my linux2.6.28 kernel with
at91sam9261ek.
I selected kernel hacking à
KGDB:
kernel debugging with remote gdb
Compile
the kernel with debug info
The first one sets CONFGI_KGDB= y and the second one sets
CONFIG_DEBUG_ INFO=y. I rebuilt the kernel and I could see that /kernel/kgdb. c
was compiled and the kernel image was about 20KB larger than the previous one
without KGDB enabled.
However after I downloaded the image to the board, nothing has
changed. I have no KGDB prompt and kernel boots up as before.
Could someone tell me what goes wrong and how should I fix
it?
Thanks in advance,
James

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )Re: KGDB - Robert Adsett - Jul 21 20:12:01 2009
pratibha sharma wrote:
> No, i dont hv the gdb server on my PC.
Putting high voltage on any part of a PC is a non-recommended procedure.
Robert
--
http://www.aeolusdevelopment.com/
From the Divided by a Common Language File (Edited to protect the guilty)
ME - "I'd like to get Price and delivery for connector Part # XXXXX"
Dist./Rep - "$X.XX Lead time 37 days"
ME - "Anything we can do about lead time? 37 days seems a bit high."
Dist./Rep - "that is the lead time given because our stock is live....
we currently have stock."
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )