Hi,
I download a lateset snapshot from linuxBIOS.org
yesterday. I don't know if it is bad luck or something, I can not successfully
build any BIOS from the tree I downloaded. I tried following three
platform.
tyan/s2891
tyan/s2895
amd/serenade
Does anybody has similar issue or know what
happened?
Below are the details on the things I got
for these three different target platform
1. Both tyan/s2891 and tyan/s2895 have similar
behavior
I changed a few lines in Options.lb:
default USE_DCACHE_RAM=1
default CONFIG_USE_INIT=1
default DEFAULT_CONSOLE_LOGLEVEL=7
default
MAXIMUM_CONSOLE_LOGLEVEL=7
I get a error output like below: (Note: Changing
options in the Options.lb above were not the cuase of the problem. Without
changing USE_DCACHE_RAM and CONFIG_USE_INIT, I still get same
results)
------------
gcc -m32 -nostdlib -nostartfiles -static -o
linuxbios_ram -T /export/1/new/src/config/linuxbios_ram.ld
linuxbios_ram.o
linuxbios_ram.o(.text+0x13db9): In function
`smp_write_config_table':
: undefined reference to
`get_apicid_base'
collect2: ld returned 1 exit status
make[1]: ***
[linuxbios_ram] Error 1
make[1]: Leaving directory
`/export/1/new/targets/tyan/s2895/s2895/normal'
make: ***
[normal/linuxbios.rom] Error 1
2. amd/serenade gets the build error like below. It
probably is the side product of the tree enabled dual core and cache as
RAM?
-----
gcc -m32 -nostdlib -nostartfiles -static -o
linuxbios_ram -T /export/1/new/src/config/linuxbios_ram.ld
linuxbios_ram.o
linuxbios_ram.o(.text+0x14d2): In function
`model_fxx_init':
: undefined reference to
`get_node_core_id'
linuxbios_ram.o(.text+0x14e6): In function
`model_fxx_init':
: undefined reference to `amd_sibling_init'
collect2: ld
returned 1 exit status
make[1]: *** [linuxbios_ram] Error 1
make[1]:
Leaving directory `/export/1/new/targets/amd/serenade/serenade/normal'
make:
*** [normal/linuxbios.rom] Error 1
Any help would be appriciated.
Thanks
Beneo