Robin Getz a écrit :
> On Tue 19 Aug 2008 04:14, Jean-Christian de Rivaz pondered:
>> Hello,
>>
>> Below in a patch proposition trying to fix the fact that with the
>> current u-boot the MAC address is not programmed on the SMC91111 if
>> u-boot start a kernel without using any network operation.
> 
> I think something like this was sent to the U-Boot mailing list in the past, 
> and rejected by Wolfgang. I suggest you send it to the mail list directly 
> since this doesn't effect any Blackfin specific files.

I have found that the u-boot/u-boot-1.1.6 from blackfin.uclinux.org do 
the right things in programming the struct board_info with the ethernet 
address. Here is the example on by board:

U-Boot 1.1.6-gf1bf9760-dirty (ADI-2008R2-pre) (Aug 18 2008 - 17:09:55)

CPU:   ADSP bf533-0.4 (Detected Rev: 0.4)
Board: CeTT/MIS-SE PRESTO-533
Clock: VCO: 600 MHz, Core: 600 MHz, System: 120 MHz
RAM:   64 MB
Flash:  2.1 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   SMC91111 at 0x20310300
MAC:   00:90:F4:33:02:01
Hit any key to stop autoboot:  0
bfin> bdinfo
U-Boot      = U-Boot 1.1.6-gf1bf9760-dirty (ADI-2008R2-pre) (Aug 18 2008 
- 17:09:55)
CPU         = bf533-0.4
Board       = bf533-ezkit
VCO         = 600 MHz
CCLK        = 600 MHz
SCLK        = 120 MHz
boot_params = 0x00000000
memstart    = 0x00000000
memsize     = 0x04000000
flashstart  = 0x20000000
flashsize   = 0x00220000
flashoffset = 0x00000000
ethaddr     = 00:90:F4:33:02:01
ip_addr     = 192.168.0.15
baudrate    = 57600 bps
bfin>

The ethaddr is what I expect. So the problem seem to be in the Linux 
kernel. Specifically, and if my understanding is good, u-boot pass the 
struct board_info reference as a parameter to the Linux kernel 
invocation. I was able to found how it work on some architecture, but 
not for the blackfin. It seem that the struct board_info is not 
referenced in the blackfin Linux kernel. Maybe the problem is here.

Regards,
-- 
Jean-Christian de Rivaz
_______________________________________________
U-Boot-devel mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/u-boot-devel

Reply via email to