[coreboot] r4633 building error of serengeti_cheetah_fam10

Bao, Zheng Zheng.Bao at amd.com
Tue Sep 15 05:00:40 CEST 2009


I am using FC10. GCC 4.3.2.

 

 

...............................

make[1]: Leaving directory
`/home/baozheng/LinuxBIOS/coreboot-v2-org/util/cbfstool'

make -C fallback coreboot.rom

cat: ../../VERSION: No such file or directory

make[1]: Entering directory
`/home/baozheng/LinuxBIOS/coreboot-v2-org/targets/amd/serengeti_cheetah_
fam10/serengeti_cheetah_fam10/fallback'

gcc -m32 -x assembler-with-cpp -DASSEMBLY -E
-I/home/baozheng/LinuxBIOS/coreboot-v2-org/src/include
-I/home/baozheng/LinuxBIOS/coreboot-v2-org/src/arch/i386/include
-I/usr/lib/gcc/i386-redhat-linux/4.3.2/include -include
/home/baozheng/LinuxBIOS/coreboot-v2-org/targets/amd/serengeti_cheetah_f
am10/serengeti_cheetah_fam10/fallback/settings.h
-I/home/baozheng/LinuxBIOS/coreboot-v2-org/util/x86emu/include -I.
-I/home/baozheng/LinuxBIOS/coreboot-v2-org/src  crt0.S > crt0.s.new &&
mv crt0.s.new crt0.s

gcc -m32 -Wa,-acdlns -c  -o crt0.o crt0.s >crt0.disasm

gcc -m32 -Wl,--build-id=none -nostdlib -nostartfiles -static -o coreboot
-T ldscript.ld crt0.o  src/lib/lzma.o src/lib/cbfs.o
src/arch/i386/lib/cbfs_and_run.o src/lib/uart8250.o src/lib/memcmp.o
src/lib/memcpy.o src/lib/memset.o src/console/vtxprintf.o
src/arch/i386/lib/printk_init.o

nm -n coreboot | sort > coreboot.map

objdump -dS coreboot > coreboot.disasm

objcopy --gap-fill 0xff -O binary coreboot coreboot.strip

PAYLOAD=payload; if [ 1 -eq 1 ]; then PAYLOAD=/dev/null; touch
cbfs-support; fi; ./buildrom coreboot.strip coreboot.rom $PAYLOAD
0x7f000 0x7f000

Payload: 0 coreboot: 520192 ROM size: 520192 Left space: 0

if [ 0 -eq 1 -a 1 -eq 1 ]; then echo l > cbfs-support; fi

make[1]: Leaving directory
`/home/baozheng/LinuxBIOS/coreboot-v2-org/targets/amd/serengeti_cheetah_
fam10/serengeti_cheetah_fam10/fallback'

make -C failover coreboot.rom

cat: ../../VERSION: No such file or directory

make[1]: Entering directory
`/home/baozheng/LinuxBIOS/coreboot-v2-org/targets/amd/serengeti_cheetah_
fam10/serengeti_cheetah_fam10/failover'

gcc -m32 -x assembler-with-cpp -DASSEMBLY -E
-I/home/baozheng/LinuxBIOS/coreboot-v2-org/src/include
-I/home/baozheng/LinuxBIOS/coreboot-v2-org/src/arch/i386/include
-I/usr/lib/gcc/i386-redhat-linux/4.3.2/include -include
/home/baozheng/LinuxBIOS/coreboot-v2-org/targets/amd/serengeti_cheetah_f
am10/serengeti_cheetah_fam10/failover/settings.h
-I/home/baozheng/LinuxBIOS/coreboot-v2-org/util/x86emu/include -I.
-I/home/baozheng/LinuxBIOS/coreboot-v2-org/src  crt0.S > crt0.s.new &&
mv crt0.s.new crt0.s

gcc -m32 -Wa,-acdlns -c  -o crt0.o crt0.s >crt0.disasm

gcc -m32 -Wl,--build-id=none -nostdlib -nostartfiles -static -o coreboot
-T ldscript.ld crt0.o  src/lib/uart8250.o src/lib/memcmp.o
src/lib/memcpy.o src/lib/memset.o src/console/vtxprintf.o
src/arch/i386/lib/printk_init.o

nm -n coreboot | sort > coreboot.map

objdump -dS coreboot > coreboot.disasm

objcopy --gap-fill 0xff -O binary coreboot coreboot.strip

cp coreboot.strip coreboot.rom

make[1]: Leaving directory
`/home/baozheng/LinuxBIOS/coreboot-v2-org/targets/amd/serengeti_cheetah_
fam10/serengeti_cheetah_fam10/failover'

rm -f ./coreboot.rom

cat fallback/coreboot.rom  failover/coreboot.rom >
./coreboot.rom.bootblock

./cbfs/cbfstool ./coreboot.rom create 1048576 528384
./coreboot.rom.bootblock

./cbfs/cbfstool ./coreboot.rom add-payload ../payload.elf
fallback/payload 

make: *** [coreboot.rom] Segmentation fault

make: *** Deleting file `coreboot.rom'

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090915/ca469a9b/attachment.html>


More information about the coreboot mailing list