* [U-Boot-Users] Doubts about usage of BDI2000 !
@ 2004-10-14 15:16 ravi.aloor at wipro.com
2004-10-14 19:55 ` T Michael Turney
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: ravi.aloor at wipro.com @ 2004-10-14 15:16 UTC (permalink / raw)
To: u-boot
Hi, I am new to u-boot. I have few doubts. A brief explanation about my
working environment:
- ARM11 based target board, having its own IP address
- PC running on RedHat Linux-8.0, having its own IP address
- BDI2000, having its own IP address
- PC and BDI2000 are connected to the network
(IP address for BDI2000 is 192.168.226.159)
- U-boot is already available on target board in the flash
memory
- Firmware is already available on BDI2000
- BDI2000 is connected to the target board through
- Using gdb-6.1 configured with --target=arm-linux
The following are my doubts:
1. I want to debug u-boot. So to start debugging u-boot, Do I need to
use bare target board that does not contain u-boot already ?
2. I could not start debugging u-boot. So I started debugging kernel
with the target board that already contains u-boot. Please check the
following:
[ravi at localhost 2.6_kernel]$ /home/ravi/gdb-6.1/temp/gdb/gdb vmlinux
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=arm-linux"...
(gdb)
(gdb) target remote 192.168.226.159:2001
192.168.226.159:2001: Connection refused.
(gdb) target remote bdi:2001
bdi:2001: Connection refused.
(gdb) quit
[ravi at localhost 2.6_kernel]$
Please help me ... Thanks A Lot In Advance,
Ravi
^ permalink raw reply [flat|nested] 8+ messages in thread* [U-Boot-Users] Doubts about usage of BDI2000 !
2004-10-14 15:16 [U-Boot-Users] Doubts about usage of BDI2000 ! ravi.aloor at wipro.com
@ 2004-10-14 19:55 ` T Michael Turney
2004-10-14 20:16 ` George G. Davis
2004-10-14 21:06 ` Wolfgang Denk
2 siblings, 0 replies; 8+ messages in thread
From: T Michael Turney @ 2004-10-14 19:55 UTC (permalink / raw)
To: u-boot
Please provide IP addresses for all three devices on your
development network.
RHL8 host?
BDI2000 JTAG pod?
ARM 11 target?
Did you run bdisetup on RHL8 host to initialize BDI2000?
If U-boot is already in flash why do you want to debug it?
You should be able to use BDI2000 to download new version of
U-Boot to debug. You should also be able to use BDI2000 to
debug kernel as you are trying to do.
Make sure tftp server is running on RHL8 host.
Cheers,
T.mike
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of
> ravi.aloor at wipro.com
> Sent: Thursday, October 14, 2004 8:16 AM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] Doubts about usage of BDI2000 !
>
>
>
> Hi, I am new to u-boot. I have few doubts. A brief explanation about my
> working environment:
> - ARM11 based target board, having its own IP address
> - PC running on RedHat Linux-8.0, having its own IP address
> - BDI2000, having its own IP address
> - PC and BDI2000 are connected to the network
> (IP address for BDI2000 is 192.168.226.159)
> - U-boot is already available on target board in the flash
> memory
> - Firmware is already available on BDI2000
> - BDI2000 is connected to the target board through
> - Using gdb-6.1 configured with --target=arm-linux
>
> The following are my doubts:
> 1. I want to debug u-boot. So to start debugging u-boot, Do I need to
> use bare target board that does not contain u-boot already ?
>
> 2. I could not start debugging u-boot. So I started debugging kernel
> with the target board that already contains u-boot. Please check the
> following:
>
> [ravi at localhost 2.6_kernel]$ /home/ravi/gdb-6.1/temp/gdb/gdb vmlinux
> GNU gdb 6.1
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=arm-linux"...
> (gdb)
> (gdb) target remote 192.168.226.159:2001
> 192.168.226.159:2001: Connection refused.
> (gdb) target remote bdi:2001
> bdi:2001: Connection refused.
> (gdb) quit
> [ravi at localhost 2.6_kernel]$
>
> Please help me ... Thanks A Lot In Advance,
> Ravi
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to
> find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Doubts about usage of BDI2000 !
2004-10-14 15:16 [U-Boot-Users] Doubts about usage of BDI2000 ! ravi.aloor at wipro.com
2004-10-14 19:55 ` T Michael Turney
@ 2004-10-14 20:16 ` George G. Davis
2004-10-14 21:06 ` Wolfgang Denk
2 siblings, 0 replies; 8+ messages in thread
From: George G. Davis @ 2004-10-14 20:16 UTC (permalink / raw)
To: u-boot
On Thu, Oct 14, 2004 at 08:46:16PM +0530, ravi.aloor at wipro.com wrote:
>
> Hi, I am new to u-boot. I have few doubts. A brief explanation about my
> working environment:
> - ARM11 based target board, having its own IP address
> - PC running on RedHat Linux-8.0, having its own IP address
> - BDI2000, having its own IP address
> - PC and BDI2000 are connected to the network
> (IP address for BDI2000 is 192.168.226.159)
> - U-boot is already available on target board in the flash
> memory
> - Firmware is already available on BDI2000
> - BDI2000 is connected to the target board through
> - Using gdb-6.1 configured with --target=arm-linux
>
> The following are my doubts:
> 1. I want to debug u-boot. So to start debugging u-boot, Do I need to
> use bare target board that does not contain u-boot already ?
>
> 2. I could not start debugging u-boot. So I started debugging kernel
> with the target board that already contains u-boot. Please check the
> following:
>
> [ravi at localhost 2.6_kernel]$ /home/ravi/gdb-6.1/temp/gdb/gdb vmlinux
> GNU gdb 6.1
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=arm-linux"...
> (gdb)
> (gdb) target remote 192.168.226.159:2001
> 192.168.226.159:2001: Connection refused.
> (gdb) target remote bdi:2001
> bdi:2001: Connection refused.
Based on that response, I would guess that your BDI2000 is not yet
configured and connected to the target yet, i.e. the BDI2000 has
not successfully detected any target CPU on the JTAG chain. Try
using `telnet 192.168.226.159` to see what's going on with the
BDI2000. Also, try referring to the BDI manual for help configuring
the BDI and, of course, talk to your processor/board vendor to
resolve BDI setup/config details. Does the BDI2000 even support ARM11
based processors yet?
--
Regards,
George
> (gdb) quit
> [ravi at localhost 2.6_kernel]$
>
> Please help me ... Thanks A Lot In Advance,
> Ravi
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Doubts about usage of BDI2000 !
2004-10-14 15:16 [U-Boot-Users] Doubts about usage of BDI2000 ! ravi.aloor at wipro.com
2004-10-14 19:55 ` T Michael Turney
2004-10-14 20:16 ` George G. Davis
@ 2004-10-14 21:06 ` Wolfgang Denk
2004-10-16 6:10 ` George G. Davis
2 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2004-10-14 21:06 UTC (permalink / raw)
To: u-boot
In message <93AC2F9171509C4C9CFC01009A820FA0117436@blr-ec-msg05.wipro.com> you wrote:
>
> 1. I want to debug u-boot. So to start debugging u-boot, Do I need to
> use bare target board that does not contain u-boot already ?
No. You do the same as always: load (i. e. program to flash) the code
and then start it under control of the debugger.
> 2. I could not start debugging u-boot. So I started debugging kernel
> with the target board that already contains u-boot. Please check the
> following:
This makes no sense. It's like in real life: If the first (simpler)
step fails, you should not even think about doing the next step,
because usually this will just get you a bloody nose.
> (gdb) target remote 192.168.226.159:2001
> 192.168.226.159:2001: Connection refused.
> (gdb) target remote bdi:2001
> bdi:2001: Connection refused.
Seems you BDI2000 is configured for a different IP address or
network, or not powered on, or not connected to the network.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Q: How many DEC repairman does it take to fix a flat ?
A: Five; four to hold the car up and one to swap tires.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Doubts about usage of BDI2000 !
2004-10-14 21:06 ` Wolfgang Denk
@ 2004-10-16 6:10 ` George G. Davis
0 siblings, 0 replies; 8+ messages in thread
From: George G. Davis @ 2004-10-16 6:10 UTC (permalink / raw)
To: u-boot
On Thu, Oct 14, 2004 at 11:06:10PM +0200, Wolfgang Denk wrote:
> > (gdb) target remote 192.168.226.159:2001
> > 192.168.226.159:2001: Connection refused.
> > (gdb) target remote bdi:2001
> > bdi:2001: Connection refused.
>
> Seems you BDI2000 is configured for a different IP address or
> network, or not powered on, or not connected to the network.
FWIW, the BDI2000 responds this way when it is either improperly configured
or did not detect a device on the scan chain. I verified this by attempting
to do `target remote bdi:2001` to my BDI2000 when it was not connected to
a target, it refuses the connection. OTOH, it accepted a telnet session and
showed that no target was detected as per usual. Please verify that you've
properly configured your BDI2000, i.e. read fancy the manual. : P
--
Regards,
George
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Doubts about usage of BDI2000 !
@ 2004-10-14 19:28 VanBaren, Gerald
0 siblings, 0 replies; 8+ messages in thread
From: VanBaren, Gerald @ 2004-10-14 19:28 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf
> Of ravi.aloor at wipro.com
> Sent: Thursday, October 14, 2004 11:16 AM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] Doubts about usage of BDI2000 !
>
>
> Hi, I am new to u-boot. I have few doubts. A brief
> explanation about my
> working environment:
> - ARM11 based target board, having its own IP address
> - PC running on RedHat Linux-8.0, having its own IP address
> - BDI2000, having its own IP address
> - PC and BDI2000 are connected to the network
> (IP address for BDI2000 is 192.168.226.159)
> - U-boot is already available on target board in the flash
> memory
> - Firmware is already available on BDI2000
> - BDI2000 is connected to the target board through
> - Using gdb-6.1 configured with --target=arm-linux
>
> The following are my doubts:
> 1. I want to debug u-boot. So to start debugging u-boot, Do I need to
> use bare target board that does not contain u-boot already ?
>
> 2. I could not start debugging u-boot. So I started debugging kernel
> with the target board that already contains u-boot. Please check the
> following:
>
> [ravi at localhost 2.6_kernel]$ /home/ravi/gdb-6.1/temp/gdb/gdb vmlinux
> GNU gdb 6.1
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public
> License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=arm-linux"...
> (gdb)
> (gdb) target remote 192.168.226.159:2001
> 192.168.226.159:2001: Connection refused.
> (gdb) target remote bdi:2001
> bdi:2001: Connection refused.
> (gdb) quit
> [ravi at localhost 2.6_kernel]$
>
> Please help me ... Thanks A Lot In Advance,
> Ravi
I'm not an expert in the questions you ask, especially since I have not
used an ARM but...
#1 (using the BDI to debug u-boot)
* See DULG FAQ section
<http://www.denx.de/twiki/bin/view/DULG/WrongDebugSymbolsAfterRelocation
>
WRT #2 (using gdb and the BDI)
* Is your IP address for the BDI correct? Can you ping it? Can you
telnet to it?
* Do you have a DEBUGPORT defined in your BDI config file (that is where
port 2001 is defined)
gvb
******************************************
The following messages are brought to you by the Lawyers' League of
IdioSpeak:
******************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
******************************************
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Doubts about usage of BDI2000 !
@ 2004-10-14 20:40 Woodruff, Richard
0 siblings, 0 replies; 8+ messages in thread
From: Woodruff, Richard @ 2004-10-14 20:40 UTC (permalink / raw)
To: u-boot
BDI does support ARM11. I know people who have used it in TI, You might
need to get some updated drivers though.
I'll attach what should work on the OMAP2420. I've not tried it as I've
been using Lauterbach.
Regards,
Richard W.
> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users-
> admin at lists.sourceforge.net] On Behalf Of George G. Davis
> Sent: Thursday, October 14, 2004 3:17 PM
> To: ravi.aloor at wipro.com
> Cc: u-boot-users at lists.sourceforge.net
> Subject: Re: [U-Boot-Users] Doubts about usage of BDI2000 !
>
> On Thu, Oct 14, 2004 at 08:46:16PM +0530, ravi.aloor at wipro.com wrote:
> >
> > Hi, I am new to u-boot. I have few doubts. A brief explanation about
my
> > working environment:
> > - ARM11 based target board, having its own IP address
> > - PC running on RedHat Linux-8.0, having its own IP address
> > - BDI2000, having its own IP address
> > - PC and BDI2000 are connected to the network
> > (IP address for BDI2000 is 192.168.226.159)
> > - U-boot is already available on target board in the flash
> > memory
> > - Firmware is already available on BDI2000
> > - BDI2000 is connected to the target board through
> > - Using gdb-6.1 configured with --target=arm-linux
> >
> > The following are my doubts:
> > 1. I want to debug u-boot. So to start debugging u-boot, Do I need
to
> > use bare target board that does not contain u-boot already ?
> >
> > 2. I could not start debugging u-boot. So I started debugging kernel
> > with the target board that already contains u-boot. Please check the
> > following:
> >
> > [ravi at localhost 2.6_kernel]$ /home/ravi/gdb-6.1/temp/gdb/gdb vmlinux
> > GNU gdb 6.1
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and
you
> > are
> > welcome to change it and/or distribute copies of it under certain
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB. Type "show warranty" for
> > details.
> > This GDB was configured as "--host=i686-pc-linux-gnu
> > --target=arm-linux"...
> > (gdb)
> > (gdb) target remote 192.168.226.159:2001
> > 192.168.226.159:2001: Connection refused.
> > (gdb) target remote bdi:2001
> > bdi:2001: Connection refused.
>
> Based on that response, I would guess that your BDI2000 is not yet
> configured and connected to the target yet, i.e. the BDI2000 has
> not successfully detected any target CPU on the JTAG chain. Try
> using `telnet 192.168.226.159` to see what's going on with the
> BDI2000. Also, try referring to the BDI manual for help configuring
> the BDI and, of course, talk to your processor/board vendor to
> resolve BDI setup/config details. Does the BDI2000 even support ARM11
> based processors yet?
>
> --
> Regards,
> George
>
> > (gdb) quit
> > [ravi at localhost 2.6_kernel]$
> >
> > Please help me ... Thanks A Lot In Advance,
> > Ravi
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IT Product Guide on
ITManagersJournal
> > Use IT products in your business? Tell us what you think of them.
Give
> us
> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find
out
> more
> > http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on
ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give
us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
> more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h4-BDI-new.cfg
Type: application/octet-stream
Size: 6124 bytes
Desc: h4-BDI-new.cfg
Url : http://lists.denx.de/pipermail/u-boot/attachments/20041014/d5c97aba/attachment.obj
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] Doubts about usage of BDI2000 !
@ 2004-10-16 9:05 ravi.aloor at wipro.com
0 siblings, 0 replies; 8+ messages in thread
From: ravi.aloor at wipro.com @ 2004-10-16 9:05 UTC (permalink / raw)
To: u-boot
Thanks everybody, 'DEBUGPORT 2001' was missing in my BDI config file. So
that's why I could not work with BDI. Now I am able to work with BDI.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-10-16 9:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 15:16 [U-Boot-Users] Doubts about usage of BDI2000 ! ravi.aloor at wipro.com
2004-10-14 19:55 ` T Michael Turney
2004-10-14 20:16 ` George G. Davis
2004-10-14 21:06 ` Wolfgang Denk
2004-10-16 6:10 ` George G. Davis
-- strict thread matches above, loose matches on Subject: below --
2004-10-14 19:28 VanBaren, Gerald
2004-10-14 20:40 Woodruff, Richard
2004-10-16 9:05 ravi.aloor at wipro.com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox