2009-12-15 13:22:23     Initialize IP address in the u-boot.bin

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2009-12-15 13:22:23     Initialize IP address in the u-boot.bin

Jianxi Fu (UNITED STATES)

Message: 83533   

 

Hello,

 

It is my first time to be here.

 

My target:

 

I have a new board which is modified from BF537, but it has no serial part.

So I try to connect my board to my host PC just with ethernet.

 

 

I go through the http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:env

And found that ./include/configs/bf537-stamp.h could be modify.

 

I want to do this way:

 

step1. Initialize IP address in the u-boot.bin

step2. flash hex file to my board using JTAG

step3. connect host PC and board just using Telnet

 

Is it possible for me to do this way?

If so, how can I modify h file?

 

I found the networking section as following:

 

/*

* Network Settings

*/

#ifndef __ADSPBF534__

#define ADI_CMDS_NETWORK 1

#define CONFIG_BFIN_MAC

#define CONFIG_NETCONSOLE 1

#define CONFIG_NET_MULTI 1

#endif

#define CONFIG_HOSTNAME  bf537-stamp

/* Uncomment next line to use fixed MAC address */

/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */

 

sincerely

QuoteReplyEditDelete

 

 

2009-12-15 13:27:00     Re: Initialize IP address in the u-boot.bin

Mike Frysinger (UNITED STATES)

Message: 83534   

 

u-boot does not support telnet.  you have to use udp netconsole.

 

u-boot already has a default IP address given to it -- 192.168.0.15

QuoteReplyEditDelete

 

 

2009-12-15 19:33:23     Re: Initialize IP address in the u-boot.bin

Jianxi Fu (UNITED STATES)

Message: 83540   

 

Dear Mike,

 

Thanks a lot for your help.

 

However, the most important thing for me now is that I want to make sure whether I can setup uClinux on a board without serial cable??

 

Look forward your answer

 

Sincerely

 

Jianxi

QuoteReplyEditDelete

 

 

2009-12-15 20:00:34     Re: Initialize IP address in the u-boot.bin

Mike Frysinger (UNITED STATES)

Message: 83541   

 

use the netconsole as i said to control u-boot.  or simply use the default settings (it loads "uImage" over tftp).

Attachments

    Outcomes