[LinuxBIOS] CK804 suggestions

Stephen.Kimball at bench.com Stephen.Kimball at bench.com
Wed May 18 21:43:05 CEST 2005


I get "undefined reference to `mac_address'". The romstrap.inc is included in mainboard's Config.lb, but it's not linked with ck804_nic.o.
So you need to use a hardcoded address.

Steve

-----Original Message-----
From: YhLu [mailto:YhLu at tyan.com] 
Sent: Wednesday, May 18, 2005 2:40 PM
To: Kimball, Stephen; yinghailu at gmail.com; Van Echaute, Peter
Cc: linuxbios at openbios.org
Subject: RE: [LinuxBIOS] CK804 suggestions

don't need. Also if do that, the linker will complain the overlapping.

YH 

> -----Original Message-----
> From: Stephen.Kimball at bench.com [mailto:Stephen.Kimball at bench.com] 
> Sent: Wednesday, May 18, 2005 11:15 AM
> To: yinghailu at gmail.com; Peter.VanEchaute at bench.com
> Cc: linuxbios at openbios.org
> Subject: RE: [LinuxBIOS] CK804 suggestions
> 
> OK, so why not use a label to get the MAC address at 0xffffffd0?
> 
> Steve
> 
> -----Original Message-----
> From: linuxbios-bounces at openbios.org 
> [mailto:linuxbios-bounces at openbios.org] On Behalf Of yhlu
> Sent: Wednesday, May 18, 2005 1:24 PM
> To: Van Echaute, Peter
> Cc: linuxbios at openbios.org
> Subject: Re: [LinuxBIOS] CK804 suggestions
> 
> 1. In NV NDA doc.
> 2. That is trick, in romstrap.inc, rspointers must be 
> 0xffffffe0, So just put MAC below that in 16bytes, and it can 
> be fixed. actually it is not some kind of part romstrap, just 
> want to make it in fixed positon. Fixed position is better 
> than floating..., it may make your flash util more easier to find it.
> 
> YH
> 
>         .long 0x81543266                        // 30h, MAC address
> low 4 byte ---> keep it in 0xffffffd0
>         .long 0x000000E0                        // 34h, MAC 
> address high 4 byte
> 
>         .long 0x002309CE                        // 38h, UUID 
> low 4 byte
>         .long 0x00E08100                        // 3Ch, UUID 
> high 4 byte
> 
> rspointers:
>         .long rstables                          // It will be 
> 0xffffffe0
>         .long rstables
>         .long rstables
>         .long rstables
> 
>         .globl __romstrap_end
> 
> _______________________________________________
> LinuxBIOS mailing list
> LinuxBIOS at openbios.org
> http://www.openbios.org/mailman/listinfo/linuxbios
> 
> _______________________________________________
> LinuxBIOS mailing list
> LinuxBIOS at openbios.org
> http://www.openbios.org/mailman/listinfo/linuxbios
> 




More information about the coreboot mailing list