Actually, I think there is a BIG config problem with the python script, but I am new to LinuxBios and this could be my perception.
Anyway, I am trying to compile the BIOS for the Intel l440gx motherboard. I am using python 1.5.2 and the default Config file found in the freebios/src/mainboard/intel/l440gx directory. The Makefile generated does not work right away. it tries to compile freebios/mainboard.c and freebios/mptable.c I have disabled the config option SMP=1 in the Config file, but the Makefile.settings still seem to have it on. I am using the following command to generate the Makefile, etc. python freebios/util/config/NLBConfig.py config.file freebios Also, I tried looking at the code hardwaremain -> startup_other_cpus -> start_cpu start_cpu contains the declaration for _secondary_start. Even though I modified MAX_CPUS to make it 1, start_cpu should not be called, but it gets compiled and refers to _secondary_start. If you need any specific files, please let me know, I would happy to send them across. Thanks, Balbir |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]] On Behalf Of Eric W. Biederman |Sent: Monday, July 01, 2002 11:36 PM |To: Ronald G Minnich |Cc: BALBIR SINGH; [EMAIL PROTECTED]; LinuxBIOS |Subject: Re: [fb-d] Need help resolving a symbol | | |Ronald G Minnich <[EMAIL PROTECTED]> writes: | |> On Mon, 1 Jul 2002, BALBIR SINGH wrote: |> |> > linuxbios.o: In function `start_cpu': |> > linuxbios.o(.text+0x611): undefined reference to `_secondary_start' |> |> tell us more. What motherboard? |> |> > Since LinuxBios links with the Linux kernel, I tried to look for |> > _secondary_start (defined as extern in the code) in the Linux code |> > and in the Linux bios code. I could not find any definition. |> |> no, it does not link with the linux kernel. This is probably |a config |> problem. | |LinuxBIOS only links with the kernel in the sense of cat(1). |So no symbols should be involved. It appears you are doing a |SMP build. Which platform is this on again? I'm the primary |architect for the smp code but I do't quite enough information |to give a helpful explanation. | |> Let's move this discussion to linuxbios after this message. |Sounds good. | |If the messages will consent to show up there. | |Eric |
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************
