Hi all, When trying to build the GRUB loaded flavor of OpenFirnware ( SVN rev 1320 ) i got the following error message during the build process
dompi@OMEGA:~/ofw/cpu/x86/pc/biosload/build$ make ./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 paging.di --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../paging.bth --- 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 SAVING FW.dic ... Saving fw.img ... --- Rebuilding sd8686.bin --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../sd8686.bth --- Cmd: rm -f sd8686.bin sd8686_helper.bin --- Cmd: wget -q http://dev.laptop.org/pub/firmware/libertas/sd8686-9.70.7.p0.bin --- Cmd: wget -q http://dev.laptop.org/pub/firmware/libertas/sd8686-9.70.7.p0.bin.md5 --- Cmd: md5sum -b sd8686-9.70.7.p0.bin | cmp - sd8686-9.70.7.p0.bin.md5 --- Cmd: mv sd8686-9.70.7.p0.bin sd8686.bin --- Cmd: wget -q http://dev.laptop.org/pub/firmware/libertas/sd8686_helper.bin --- Cmd: wget -q http://dev.laptop.org/pub/firmware/libertas/sd8686_helper.bin.md5 --- Cmd: md5sum -b sd8686_helper.bin | cmp - sd8686_helper.bin.md5 --- Cmd: rm sd8686-9.70.7.p0.bin.md5 sd8686_helper.bin.md5 --- Rebuilding ofw.c32 --- Cmd: ${HOSTDIR}/forth ${HOSTDIR}/../build/builder.dic ../ofw.bth --- Saving as ofwgrub.elf - GRUB multiboot format Can't open ${BP}/dev/mmc/sdhci/build/sdhci.fc for reading. make: *** [ofw.c32] Erreur 1
After replacing sdhci.fc wiith sdhci2.fc ( line 105 in ofw.bth ) the build was successfull. But that was not the story end : when loaded by GRUB the image crashed badly with a black screen followed by a reboot. Looking at the code i noticed the report mecanism that outputs progress messages on the COM1 port. With rev 1320 i got the following pattern : For With rev 1163 ( which is OK ) i got the regular Forthmacs banner. It seems to me that the paging module is not executing at all with a crash as a consequence. I built rev 1166 which introduced lot of changes in resetend.fth and in the memory setup it also crashes. I would appreciate any help as i am stuck at the moment. Dompi.
Dompi wrote:
Can't open ${BP}/dev/mmc/sdhci/build/sdhci.fc for reading. make: *** [ofw.c32] Erreur 1
After replacing sdhci.fc wiith sdhci2.fc ( line 105 in ofw.bth ) the build was successfull.
That works. Another solution would be to add a line:
in: ${BP}/dev/mmc/sdhci/build/sdhci.fc
to force that module to be built.
Still another solution would be to comment out line 105 entirely.
But that was not the story end : when loaded by GRUB the image crashed badly with a black screen followed by a reboot. Looking at the code i noticed the report mecanism that outputs progress messages on the COM1 port. With rev 1320 i got the following pattern : For With rev 1163 ( which is OK ) i got the regular Forthmacs banner. It seems to me that the paging module is not executing at all with a crash as a consequence. I built rev 1166 which introduced lot of changes in resetend.fth and in the memory setup
Well, I wouldn't call 4 lines a "lot" of changes in resetend.fth, but be that as it may ...
The most likely cause of the problem is the changed value of gdt-pa in cpu/x86/pc/virtaddr.fth
I changed that to avoid some data structure that some BIOS was using - but maybe the new place is causing a conflict with something else. You could try changing it back to 1040 to see what happens.
it also crashes. I would appreciate any help as i am stuck at the moment. Dompi.
openfirmware mailing list openfirmware@openfirmware.info https://openfirmware.info/mailman/listinfo/openfirmware
Mitch Bradley a écrit :
Well, I wouldn't call 4 lines a "lot" of changes in resetend.fth, but be that as it may ...
The most likely cause of the problem is the changed value of gdt-pa in cpu/x86/pc/virtaddr.fth
I changed that to avoid some data structure that some BIOS was using - but maybe the new place is causing a conflict with something else. You could try changing it back to 1040 to see what happens.
it also crashes. I would appreciate any help as i am stuck at the moment. Dompi.
openfirmware mailing list openfirmware@openfirmware.info https://openfirmware.info/mailman/listinfo/openfirmware
I did make the change you adviced in virtaddr.fth --> exactly same results ( For on COM1 and crash ). If that could help BIOS is AWARD processor is AMD Athlon. Thanks for your help Mitch, Dompi
openfirmware@openfirmware.info