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:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 2:40 PM To: Kimball, Stephen; [EMAIL PROTECTED]; Van Echaute, Peter Cc: [email protected] Subject: RE: [LinuxBIOS] CK804 suggestions don't need. Also if do that, the linker will complain the overlapping. YH > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 11:15 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: [email protected] > Subject: RE: [LinuxBIOS] CK804 suggestions > > OK, so why not use a label to get the MAC address at 0xffffffd0? > > Steve > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of yhlu > Sent: Wednesday, May 18, 2005 1:24 PM > To: Van Echaute, Peter > Cc: [email protected] > 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 > [email protected] > http://www.openbios.org/mailman/listinfo/linuxbios > > _______________________________________________ > LinuxBIOS mailing list > [email protected] > http://www.openbios.org/mailman/listinfo/linuxbios > _______________________________________________ LinuxBIOS mailing list [email protected] http://www.openbios.org/mailman/listinfo/linuxbios
