Added basic framebuffer/graphics support (with default Tux logo) which works fine in QEMU and VirtualBox. Tested on x86, not tested on x86_64.

This commit is contained in:
Ivan Davidov 2016-05-10 00:46:51 +03:00
parent de5376295f
commit a9b550a4a1
4 changed files with 16 additions and 10 deletions

View File

@ -116,5 +116,5 @@ COPY_SOURCE_ISO=true
# requires more than 1MB free space. The solution is to use folder overlay or to
# edit the script 'xx_generate_iso.sh' and set it to create sparse image file
# with bigger size.
BUILD_OVERLAY_SOFTWARE=false
BUILD_OVERLAY_SOFTWARE=true

View File

@ -41,6 +41,11 @@ else
# Step 2 - enable the 'xz' compression option.
sed -i "s/.*CONFIG_KERNEL_XZ.*/CONFIG_KERNEL_XZ=y/" .config
#sed -i "s/.*CONFIG_DRM_CIRRUS_QEMU.*/CONFIG_DRM_CIRRUS_QEMU=y/" .config
#sed -i "s/.*CONFIG_DRM_BOCHS.*/CONFIG_DRM_BOCHS=y/" .config
#sed -i "s/.*CONFIG_FB_CIRRUS.*/CONFIG_FB_CIRRUS=y/" .config
sed -i "s/.*CONFIG_FB_VESA.*/CONFIG_FB_VESA=y/" .config
fi
# Compile the kernel with optimization for 'parallel jobs' = 'number of processors'.

View File

@ -122,7 +122,8 @@ else
fi
# Create ISOLINUX configuration file.
echo 'default kernel.xz initrd=rootfs.xz' > ./isolinux.cfg
#echo 'default kernel.xz initrd=rootfs.xz vga=769' > ./isolinux.cfg
echo 'default kernel.xz initrd=rootfs.xz vga=ask' > ./isolinux.cfg
# Now we generate the ISO image file.
genisoimage \

View File

@ -12,6 +12,6 @@ if [ "$1" = "-hdd" -o "$1" = "-h" ] ; then
qemu-system-i386 -m 64M -cdrom minimal_linux_live.iso -hda hdd.img -boot d
else
echo "Starting QEMU with attached ISO image and no hard disk."
qemu-system-i386 -m 64M -cdrom minimal_linux_live.iso -boot d
qemu-system-i386 -m 64M -cdrom minimal_linux_live.iso -boot d -vga std
fi