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:
parent
de5376295f
commit
a9b550a4a1
@ -116,5 +116,5 @@ COPY_SOURCE_ISO=true
|
|||||||
# requires more than 1MB free space. The solution is to use folder overlay or to
|
# 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
|
# edit the script 'xx_generate_iso.sh' and set it to create sparse image file
|
||||||
# with bigger size.
|
# with bigger size.
|
||||||
BUILD_OVERLAY_SOFTWARE=false
|
BUILD_OVERLAY_SOFTWARE=true
|
||||||
|
|
||||||
|
@ -41,6 +41,11 @@ else
|
|||||||
|
|
||||||
# Step 2 - enable the 'xz' compression option.
|
# Step 2 - enable the 'xz' compression option.
|
||||||
sed -i "s/.*CONFIG_KERNEL_XZ.*/CONFIG_KERNEL_XZ=y/" .config
|
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
|
fi
|
||||||
|
|
||||||
# Compile the kernel with optimization for 'parallel jobs' = 'number of processors'.
|
# Compile the kernel with optimization for 'parallel jobs' = 'number of processors'.
|
||||||
|
@ -122,7 +122,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Create ISOLINUX configuration file.
|
# 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.
|
# Now we generate the ISO image file.
|
||||||
genisoimage \
|
genisoimage \
|
||||||
|
@ -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
|
qemu-system-i386 -m 64M -cdrom minimal_linux_live.iso -hda hdd.img -boot d
|
||||||
else
|
else
|
||||||
echo "Starting QEMU with attached ISO image and no hard disk."
|
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
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user