Hi Mitch,
Mitch Bradley wrote:
I just fixed the problem below with checkin 943. Do you really need to build from rev 795 ? That's pretty old. I can probably help you better if you bump up to the current rev.
The only reason I was trying to build rev 795 was because thats what yesterdays SVN checkout gave me, so I assumed it was the latest.
Revision 943 biosload builds out of the box but not after I've changed the config a little. When I change config.fth in openfirmware/cpu/x86/pc/biosload and comment out the "create syslinux-loaded" line and uncomment the "create linuxbios-loaded" line, it generates an error as below:
make make[1]: Entering directory `/usr/src/coreboot/build-qemu/openfirmware/cpu/x86/Linux' cc -c -O -g -m32 -DTARGET_X86 ../../../forth/wrapper/wrapper.c -o wrapper.o cc -c -O -g -m32 -DTARGET_X86 ../../../forth/wrapper/logger.c -o logger.o cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/zipmem.c -o zipmem.o cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/deflate.c -o deflate.o cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/trees.c -o trees.o cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/bits.c -o bits.o cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/util.c -o util.o cc -c -m32 -O0 -fpic ../../../forth/wrapper/zip/inflate.c -o inflate.o cc -m32 -o forth wrapper.o logger.o zipmem.o deflate.o trees.o bits.o util.o inflate.o make[1]: Leaving directory `/usr/src/coreboot/build-qemu/openfirmware/cpu/x86/Linux' make[1]: Entering directory `/usr/src/coreboot/build-qemu/openfirmware/cpu/x86/build' make -C ../Linux ../build/inflate.bin make[2]: Entering directory `/usr/src/coreboot/build-qemu/openfirmware/cpu/x86/Linux' objcopy -O binary inflate.o ../build/inflate.bin make[2]: Leaving directory `/usr/src/coreboot/build-qemu/openfirmware/cpu/x86/Linux' make[1]: Leaving directory `/usr/src/coreboot/build-qemu/openfirmware/cpu/x86/build' ./build ofw.c32 --- Rebuilding reset.di --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../reset.bth --- Rebuilding start.di --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../start.bth --- Rebuilding kernel.dic --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../kernel.bth --- Saving kernel.dic --- --- Rebuilding tools.dic --- Cmd: ${HOSTDIR}/x86forth ${BP}/cpu/x86/build/kernel.dic ../tools.bth --- Saving tools.dic --- --- Rebuilding basefw.dic --- Cmd: ${HOSTDIR}/x86forth ${BP}/cpu/x86/build/tools.dic ../basefw.bth
--- Saving basefw.dic --- --- Rebuilding bootsec.hex --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../bootsec.bth 1fe 1f0 400 400 --- Rebuilding fw.img --- Cmd: ${HOSTDIR}/x86forth ${BP}/cpu/x86/build/basefw.dic ../fw.bth
${BP}/cpu/x86/pc/biosload/rmenter.fth:187: pm-cs ? make: *** [ofw.c32] Error 1