I built a coreboot BIOS image for QEMU and added to it the
FD13FLOP.IMG (renamed to freedos.img) :
./build/cbfstool ./build/coreboot.rom add -f ./freedos.img -n
floppyimg/freedos.lzma -t raw -c lzma

Tried booting it but it gets stuck after
"Done processing startup files FDCONFIG.SYS and FDAUTO.BAT"
_ <--- blinking "_"

Here is the full boot log: https://pastebin.com/raw/vMdhwtSF
And here is my coreboot image with a freedos.img 1.3 RC1 image inside:
https://github.com/informer2016/myfreedos/blob/master/coreboot.rom

QEMU command I'm using to run this coreboot.rom :

qemu-system-i386 -L . -m 256 -localtime -vga vmware -net
nic,model=rtl8139 -net user -soundhw ac97 -usb -device usb-tablet
-serial stdio -bios ./coreboot.rom

cbfstool (used for adding/removing the floppies inside coreboot.rom) -
is a tool from coreboot repository and it depends on some files from
there, but of course it wouldn't be convenient for you to clone the
whole coreboot repository just for this small tool. So I created a
custom script, please download and unzip this cbfstool.zip -
https://github.com/informer2016/shr/files/2728466/cbfstool.zip - then

cd ./cbfstool

and run this script

./cbfstool.sh

it will wget only the required files (< 2 MB), compile them and there'll be

./cbfstool/util/cbfstool/cbfstool

executable which you can use for adding/removing the floppies, e.g.
remove the old version of FreeDOS floppy and add a new one:

1) Add floppy

./cbfstool/util/cbfstool/cbfstool $COREBOOT_ROM_PATH add -f
$FREEDOS_FLOPPY_PATH -n floppyimg/freedos.lzma -t raw -c lzma

2) Remove floppy

./cbfstool/util/cbfstool/cbfstool $COREBOOT_ROM_PATH remove -n
floppyimg/freedos.lzma

3) Print memory map

./cbfstool/util/cbfstool/cbfstool $COREBOOT_ROM_PATH print

You could use these commands to e.g. remove a previous version of
freedos floppy (which doesn't boot) and then add a new one for test.

Best regards,
Ivan Ivanov


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to