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@tyan.com] Sent: Wednesday, May 18, 2005 2:40 PM To: Kimball, Stephen; yinghailu@gmail.com; Van Echaute, Peter Cc: linuxbios@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@bench.com [mailto:Stephen.Kimball@bench.com] Sent: Wednesday, May 18, 2005 11:15 AM To: yinghailu@gmail.com; Peter.VanEchaute@bench.com Cc: linuxbios@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@openbios.org [mailto:linuxbios-bounces@openbios.org] On Behalf Of yhlu Sent: Wednesday, May 18, 2005 1:24 PM To: Van Echaute, Peter Cc: linuxbios@openbios.org Subject: Re: [LinuxBIOS] CK804 suggestions
- In NV NDA doc.
- 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@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios
LinuxBIOS mailing list LinuxBIOS@openbios.org http://www.openbios.org/mailman/listinfo/linuxbios