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
@ -77,7 +77,7 @@ USE_PREDEFINED_BUSYBOX_CONFIG=false
|
||||
# '/minimal.img/work' or '/minimal/work'. This folder is used by the overlay
|
||||
# driver to store modifications related to the read only storage. If the overlay
|
||||
# media is writeable, then all changes on the root filesystem are automatically
|
||||
#persisted and preserved on reboot.
|
||||
# persisted and preserved on reboot.
|
||||
#
|
||||
# sparse - use sparse file 'minimal.img' with hardcoded maximal size of 1MB (see
|
||||
# xx_generate_iso.sh). The generated ISO image is larger because the
|
||||
@ -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
|
||||
|
||||
|
@ -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'.
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user