Hello Marcin,
Thanks again for your help, it solved the issue in a way. Tried several older
revisions: r3500, r3000, r2500, and finally r2000. Only the revision 2000
successfully built the ARM rom called ofw.rom. This revision is from 2010-10-08
02:39:55, when the documentation is from 2010-08-11, 18:45.
Here’s the output :
jacky@debiannos:~/
make[1]:
Entering directory '/home/jacky/openfirmware-
cc -c -O -g
-m32 -DTARGET_X86 ../../../forth/wrapper/
cc -c -O -g
-m32 -DTARGET_X86 ../../../forth/wrapper/logger.
cc -c -O -g
-m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/
cc -c -O -g
-m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/
cc -c -O -g
-m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/
cc -c -O -g
-m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/
cc -c -O -g
-m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/
cc -c -m32
-Wall -fno-stack-protector -ffreestanding -D_FORTIFY_SOURCE=0 -DNEED_BCOPY -O3
-fpic ../../../forth/wrapper/zip/
ld -T inflate.ld inflate.lo -o inflate.o
cc -m32 -o forth wrapper.o logger.o zipmem.o deflate.o trees.o bits.o util.o inflate.o
/usr/bin/ld: error in inflate.o(.eh_frame); no .eh_frame_hdr table will be created.
make[1]:
Leaving directory '/home/jacky/openfirmware-
./build ofw.rom
--- Rebuilding sp.img
--- Cmd:
${HOSTDIR}/forth ${HOSTDIR}/../build/builder.
--- Rebuilding kernel.dic
--- Cmd:
${HOSTDIR}/forth ${HOSTDIR}/../build/builder.
context: forth forth re-heads root current: forth
--- Saving kernel.dic ---
--- Rebuilding tools.dic
--- Cmd: ${HOSTDIR}/armforth ${BP}/cpu/arm/build/kernel.dic ../tools.bth
--- Saving tools.dic ---
--- Rebuilding basefw.dic
--- Cmd: ${HOSTDIR}/armforth ${BP}/cpu/arm/build/tools.dic ../basefw.bth
--- Saving basefw.dic ---
--- Rebuilding fw.img
--- Cmd: ${HOSTDIR}/armforth ${BP}/cpu/arm/build/basefw.dic ../fw.bth
(end-extra) isn't unique
${BP}/ofw/gui/iconmenu.fth:
--- Saving fw.dic ...
--- Saving fw.img ---
--- Rebuilding ofw.rom
--- Cmd:
${HOSTDIR}/forth ${HOSTDIR}/../build/builder.
jacky@debiannos:~/
Only the following line still warns us of a potential issue : ${BP}/ofw/gui/iconmenu.fth:
It seems to concern an icon, so it should not be a problem; the ROM is built,
and this is what I wanted.
As it is explained in the documentation, the last step should be to launch qemu
: qemu -L . -bios ofw.rom -hda fat:.
Here’s the output :
jacky@debiannos:~$ qemu-system-arm -L . -bios ofw.rom -hda fat:.
No machine specified, and there is no default.
Use -machine help to list supported machines!
jacky@debiannos:~$
Let’s specify the machine :
jacky@debiannos:~$ qemu-system-arm -L . -bios ofw.rom -hda fat:. –machine none
This time, a Qemu window pops, with the following text:
compat_monitor0 console
QEMU 2.1.2 monitor – type ‘help’ for more information
(qemu) $
That’s just the Qemu console, correct me if i’m wrong, the bios is not executed.
So I tried some other machines:
jacky@debiannos:~$
qemu-system-arm -L . -bios ~/openfirmware-r2000/cpu/arm/
vvfat . chs 1024,16,63
Guest image must be specified (using -kernel)
And:
jacky@debiannos:~$
qemu-system-arm -L . -bios ~/openfirmware-r2000/cpu/arm/
vvfat . chs 1024,16,63
A flash image must be given with the 'pflash' parameter
jacky@debiannos:~$
Also tried with almost all the ones listed thanks to the command qemu-system-arm –machine help.
Why would a flash or a kernel be required when it was not, using Qemu for x86 ?
Which kernel and flash should I use in
order to run OpenFirmware? I suppose this question is partly getting off topic,
as the base issue has been solved, maybe you want me to open another topic ?
Again, thanks a lot.
Regards,
- John