Project

General

Profile

Actions

Bug #296

closed

Unable to run KolibriOS with coreboot and SeaBIOS under QEMU

Added by Paul Menzel about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/03/2021
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

Build a 2 MB coreboot image for QEMU/i440fx with SeaBIOS, and add KolibriOS image.

Attach output of:

$ wget -4 https://builds.kolibrios.org/eng/latest-img.7z
--2021-03-03 15:38:28--  https://builds.kolibrios.org/eng/latest-img.7z
Auflösen des Hostnamens builds.kolibrios.org (builds.kolibrios.org)… 46.4.23.4
Verbindungsaufbau zu builds.kolibrios.org (builds.kolibrios.org)|46.4.23.4|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 1314127 (1,3M) [application/octet-stream]
Wird in »latest-img.7z« gespeichert.

latest-img.7z                         100%[=======================================================================>]   1,25M  3,78MB/s    in 0,3s    

2021-03-03 15:38:28 (3,78 MB/s) - »latest-img.7z« gespeichert [1314127/1314127]

$ 7z e latest-img.7z
$ build/cbfstool build/coreboot.rom add-payload -n fallback/payload -f seabios.elf -c lzma
$ qemu-system-i386 -bios /dev/shm/coreboot/build/coreboot.rom -L /dev/shm -enable-kvm -smp cpus=2 -m 512M -serial stdio -nic none

Files

console.log (12.4 KB) console.log Paul Menzel, 03/03/2021 03:09 PM
Actions #1

Updated by Paul Menzel about 3 years ago

I sent a message to the mailing list Unable to run KolibriOS in QEMU with coreboot and SeaBIOS.

Actions #2

Updated by Paul Menzel about 3 years ago

The KolibriOS image is a floppy image, and has to be placed into CBFS with the prefix floppyimg/ instead of img, which is for payloads.

build/cbfstool build/coreboot.rom add -n floppyimg/kolibrios.lzma -f kolibri.img -t raw -c lzma
Actions #3

Updated by Paul Menzel about 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF