SPL Debug CCSv5 beagleboard xm

Hi all,

I am trying to debug my beagleboard xm using the source of sitara 5.05.

I am following the steps mentioned here:

http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_uboot_linux_debug_with_ccsv5

However, once I loaded my program and symbols. The program gets stuck on to location 0x14088 and never comes out.

I am not getting the dialog shown for loading program but neither am not getting any output from the console whether my program has loaded or not.

What might be the possible problem?

Regards,


This link says
This lab is going to walk you through the process of using CCSv5 to debug U-Boot and the Linux kernel on the AM335x EVM

Is the EVM hardware identical to Beagleboard

— On Thu, 9/27/12, Badri Narayanan@nithin badri89@gmail.com wrote:



> From: Badri Narayanan@nithin badri89@gmail.com
> Subject: [beagleboard] SPL Debug CCSv5 beagleboard xm
> To: beagleboard@googlegroups.com
> Date: Thursday, September 27, 2012, 6:16 AM
>
> Hi all,
>
> I am trying to debug my beagleboard xm using the source of sitara 5.05.
>
> I am following the steps mentioned here:
>
> http://processors.wiki.ti.com/ index.php/Sitara_Linux_ Training:uboot_linux_debug with_ccsv5
>
> However, once I loaded my program and symbols. The program gets stuck on to location 0x14088 and never comes out.
>
> I am not getting the dialog shown for loading program but neither am not getting any output from the console whether my program has loaded or not.
>
> What might be the possible problem?
>
> Regards,
>
> –

|

While the general steps are correct you will need to use the correct addresses and offsets for the processor in the beagleboard rather than the beaglebone/am335x evm/etc.

Hi I have changed the address means I gave it starting from internal RAM address and also tried , text base given in omap3_beagle.h from u-boot.Both are not working. CAn you kindly help me out? thanks!

What is the exact gel file to be added in the project?

Currently I am using am_dm37x_evm gel files. Can this be used with beagleboard xm or something else to be added?

Regards!

What is the exact gel file to be added in the project?

Currently I am using am_dm37x_evm gel files. Can this be used with beagleboard xm or something else to be added?

What are you trying to debug? U-boot or Linux Kernel? You need to erase all GEL references as u-boot and the Linux kernel configure the hardware so the GEL files will only serve to interfere. Here are some good references on how to debug the Linux kernel.

http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5

Best way to get started is to boot into the u-boot prompt, setup CCSV5 including loading symbols, setting breakpoints, etc. The boot the kernel by entering boot at the u-boot prompt. You can also follow the CCSV4 instructions which should work on CCSV5:

http://elinux.org/BeagleBoardJTAG

Regards,

John

Regards!


I wrote my own see if I still have them.

pretty straight forward if you understand the HW

— On Fri, 9/28/12, badri narayanan badri89@gmail.com wrote:



> From: badri narayanan badri89@gmail.com
> Subject: Re: [beagleboard] Re: SPL Debug CCSv5 beagleboard xm
> To: beagleboard@googlegroups.com
> Date: Friday, September 28, 2012, 5:25 AM
>
> What is the exact gel file to be added in the project?
>
> Currently I am using am_dm37x_evm gel files. Can this be used with beagleboard xm or something else to be added?
>
> Regards!
>
> On Fri, Sep 28, 2012 at 2:17 PM, badri narayanan <badri89@gmail.com> wrote:
>
> > Hi I have changed the address means I gave it starting from internal RAM address and also tried , text base given in omap3_beagle.h from u-boot.Both are not working. CAn you kindly help me out? thanks!
> >
> > On Thu, Sep 27, 2012 at 10:44 PM, Tom Rini <tom.rini@gmail.com> wrote:
> >
> > > On Thursday, September 27, 2012 4:16:08 AM UTC-7, Badri Narayanan@nithin wrote:
> > >
> > > > Hi all,
> > > >
> > > > I am trying to debug my beagleboard xm using the source of sitara 5.05.
> > > >
> > > > I am following the steps mentioned here:
> > > >
> > > > http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_uboot_linux_debug_with_ccsv5
> > > >
> > > > However, once I loaded my program and symbols. The program gets stuck on to location 0x14088 and never comes out.
> > > >
> > > > I am not getting the dialog shown for loading program but neither am not getting any output from the console whether my program has loaded or not.
> > > >
> > > > What might be the possible problem?
> > >
> > > While the general steps are correct you will need to use the correct addresses and offsets for the processor in the beagleboard rather than the beaglebone/am335x evm/etc.
> > >
> > > –
> > > Tom
> > >
> > > –
> >
> > –
> > Badri Narayanan@Nithin
>
> –
> Badri Narayanan@Nithin
>
> –

|