[U-Boot-Users] Doubts about usage of BDI2000 !

VanBaren, Gerald
2004-10-14T19:28:27Z

> -----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.
******************************************