[#4577] Ethernet can't work in u-boot-2008.10 on BF548 board version 1.1

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

[#4577] Ethernet can't work in u-boot-2008.10 on BF548 board version 1.1

Submitted By: Vivi Li

Open Date

2008-10-30 03:32:34     Close Date

2008-11-04 05:15:47

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

N/A

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: Ethernet can't work in u-boot-2008.10 on BF548 board version 1.1

Details:

 

For BF548 board version 1.1, Ethernet can't work in u-boot-2008.10 as no valid mac address is obtained.

 

--

U-Boot 2008.10-svn1445 (ADI-2009R1-pre) (Oct 30 2008 - 13:52:31)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.0)

Board: ADI BF548 EZ-Kit board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash: 32 MB

NAND:  0 MiB

In:    serial

Out:   serial

Err:   serial

Net:   MAC:   00:00:00:00:00:00

Hit any key to stop autoboot:  0

bfin>

bfin> print

bootargs=root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=ttyBF0,57600

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

autoload=no

rootpath=/romfs

gatewayip=192.168.0.1

netmask=255.255.255.0

hostname=bf548-ezkit

loadaddr=0x1000000

ubootfile=u-boot.ldr

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase 0x20000000 0x2003FFFF;)

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart1,57600 console=tty0 console=tty0

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ipaddr=10.100.4.50

serverip=10.100.4.174

ethaddr=00:1A:1B:1C:1D:D1

stdin=serial

stdout=serial

stderr=serial

 

Environment size: 979/8188 bytes

bfin> ping 10.100.4.174

smc911x: initializing

smc911x: detected LAN9218 controller

smc911x: phy initialized

smc911x: no valid mac address in environment and no eeprom found

ping failed; host 10.100.4.174 is not alive

bfin>

--

 

It can work with BF548-EZKIT board version 1.4.

--

U-Boot 2008.10-svn1445 (ADI-2009R1-pre) (Oct 30 2008 - 13:52:31)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.1)

Board: ADI BF548 EZ-Kit board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash: 16 MB

NAND:  0 MiB

In:    serial

Out:   serial

Err:   serial

Net:   MAC:   00:00:00:00:00:00

Hit any key to stop autoboot:  0

bfin>

bfin> ping 10.100.4.174

smc911x: initializing

smc911x: detected LAN9218 controller

smc911x: phy initialized

smc911x: MAC 00:e0:22:fe:b9:55

host 10.100.4.174 is alive

bfin>

bfin> tftp 0x1000000 u-boot.bin

smc911x: initializing

smc911x: detected LAN9218 controller

smc911x: phy initialized

smc911x: MAC 00:e0:22:fe:b9:55

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'u-boot.bin'.

Load address: 0x1000000

Loading: ###############

done

Bytes transferred = 206896 (32830 hex)

bfin>

--

 

Follow-ups

 

--- Mike Frysinger                                           2008-11-03 22:38:11

the older bf548-ezkit's did not have MAC's programmed into them, so you may want

to burn one yourself

 

regardless, should be OK now in trunk

 

--- Vivi Li                                                  2008-11-04 05:05:07

For 548 para, OK now.

 

For 548 spi, no changes to environment can be saved and it still fails to read

the MAC address. I open a new bug about this problem, please refer to bug

[#4604].

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes