Am first time user of LinuxBIOS though I have been introduced long time ago.
After going thru' QEMU build tutorial from LinuxBIOS website, downloaded and started building the packages in the order given.
mkelfImagev2.7 build went thru without problems (Am using vmlinuz and initrd of Linux kernel 2.6.15 or 2.6.17)
LinuxBIOSV2-2405 was the next. As per the doc, edited ROM_SIZE and the laoction of linux.elf. After running buildtarget without problems, make failed with the following errors.
<snip>
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o nm -n linuxbios | sort > linuxbios.map objcopy --gap-fill 0xff -O binary linuxbios linuxbios.strip cp -f /lnx_data/lnx_apps/QEMU/mkelfImage-2.7/linux.elf payload ./buildrom linuxbios.strip linuxbios.rom payload 0x10000 0x200000 payload (2527194) + linuxbios (65536) size larger than ROM (2097152) size! make[1]: *** [linuxbios.rom] Error 1 make[1]: Leaving directory `/lnx_data/lnx_apps/QEMU/LinuxBIOSv2-2405/targets/emulation/qemu-i386/qemu-i386/image' make: *** [image/linuxbios.rom] Error 1
<snip>
Would like to have at least the Kernel v2.6.15 into LinuxBIOS. Any ideas how it is possible to accomodate this ?
/Ramanathan
Can you increase ROM_IMAGE_SIZE to 4M instead of 2M?
YH
On 9/17/06, rum vodka rus.cahimb@gmail.com wrote:
Am first time user of LinuxBIOS though I have been introduced long time ago.
After going thru' QEMU build tutorial from LinuxBIOS website, downloaded and started building the packages in the order given.
mkelfImagev2.7 build went thru without problems (Am using vmlinuz and initrd of Linux kernel 2.6.15 or 2.6.17)
LinuxBIOSV2-2405 was the next. As per the doc, edited ROM_SIZE and the laoction of linux.elf. After running buildtarget without problems, make failed with the following errors.
<snip>
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o nm -n linuxbios | sort > linuxbios.map objcopy --gap-fill 0xff -O binary linuxbios linuxbios.strip cp -f /lnx_data/lnx_apps/QEMU/mkelfImage-2.7/linux.elf payload ./buildrom linuxbios.strip linuxbios.rom payload 0x10000 0x200000 payload (2527194) + linuxbios (65536) size larger than ROM (2097152) size! make[1]: *** [linuxbios.rom] Error 1 make[1]: Leaving directory `/lnx_data/lnx_apps/QEMU/LinuxBIOSv2-2405/targets/emulation/qemu-i386/qemu-i386/image' make: *** [image/linuxbios.rom] Error 1
<snip>
Would like to have at least the Kernel v2.6.15 into LinuxBIOS. Any ideas how it is possible to accomodate this ?
/Ramanathan
-- linuxbios mailing list linuxbios@linuxbios.org http://www.openbios.org/mailman/listinfo/linuxbios
On 9/17/06, yhlu yinghailu@gmail.com wrote:
Can you increase ROM_IMAGE_SIZE to 4M instead of 2M?
YH
Thanks Mr.Yin.
Increasing this parameter helped solved the build problem with LinuxBIOS.
Looks like, it will take quite some time to get everything done as am stuck again.
After building LinuxBIOS, I decided to download QEMU binary for FC5 and installed it as well. Next, followed the procedure (in QEMU build tutorial) and created hard disk mage, though am not using FILO.
Now, I did all these compilations and installations as root intending to run Linux on Linux.
While trying to invoke qemu with the options as in the tutorial, again it fails.
<snip>
[root@kappiam ~]# qemu -L ~ -hda disk.img -nographic (qemu) Could not open '/dev/kqemu' - QEMU acceleration layer not activated qemu: could not load PC bios '/root/bios.bin'
<snip>
Any ideas ? I feel am doing something wrong here.
/Ram
you need to find out where is bios.bin, and use your linuxbios.rom to overwrite it.
YH
On 9/18/06, yhlu yinghailu@gmail.com wrote:
you need to find out where is bios.bin, and use your linuxbios.rom to overwrite it.
bios.bin is available in dir, /root.
As user, root, I run the command,
qemu -L ~ -hda disk.img -nographic
The instructions doesn't refer to using linuxbios.rom anywhere.
Is there a recent and latest version available ?
/Ram
On 9/17/06, Ramanathan rus.cahimb@gmail.com wrote:
While trying to invoke qemu with the options as in the tutorial, again it fails.
<snip>
[root@kappiam ~]# qemu -L ~ -hda disk.img -nographic (qemu) Could not open '/dev/kqemu' - QEMU acceleration layer not activated qemu: could not load PC bios '/root/bios.bin'
<snip>
Any ideas ? I feel am doing something wrong here.
As mentioned in the tutorial, if you increase ROM_SIZE to generate an image larger than 2 MB, you also need to patch qemu to accept a larger BIOS ROM.
Look at my original patch (http://lists.gnu.org/archive/html/qemu-devel/2006-09/msg00155.html) for an example; just change the instances of 2048*1024 to a larger number to increase the BIOS size.
--Ed