First successful MLL run on ARM64 (AArch64). Run scripts 00 to 10 and then 'qemu-aarch64.sh'. No bootable ISO yet.

This commit is contained in:
Ivan Davidov
2022-06-25 14:23:11 +00:00
parent 6f3a76262e
commit eb12a097c7
3 changed files with 13 additions and 6 deletions

View File

@ -190,7 +190,7 @@ OVERLAY_TYPE=folder
# * mll_logo
# * mll_source
#
OVERLAY_BUNDLES=dhcp,mll_hello,mll_logo,mll_source
OVERLAY_BUNDLES=dhcp,mll_hello
# The location where the overlay bundle software will be stored.
#
@ -214,7 +214,7 @@ USE_LOCAL_SOURCE=false
# of the screen. The property is used in 'xx_build_kernel.sh'. The default
# value is 'true' for demonstration purposes.
#
USE_BOOT_LOGO=true
USE_BOOT_LOGO=false
# This property is the multiplicator which is used during the build process.
# The total number of each 'make' jobs will be equal to the number of detected

View File

@ -61,10 +61,10 @@ else
# OVERLAYFS - END
# Step 1 - disable all active kernel compression options (should be only one).
sed -i "s/.*\\(CONFIG_KERNEL_.*\\)=y/\\#\\ \\1 is not set/" .config
#sed -i "s/.*\\(CONFIG_KERNEL_.*\\)=y/\\#\\ \\1 is not set/" .config
# 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
# Enable the VESA framebuffer for graphics support.
sed -i "s/.*CONFIG_FB_VESA.*/CONFIG_FB_VESA=y/" .config
@ -105,7 +105,7 @@ fi
echo "Building kernel."
make \
CFLAGS="$CFLAGS" \
bzImage -j $NUM_JOBS
Image -j $NUM_JOBS
if [ "$BUILD_KERNEL_MODULES" = "true" ] ; then
echo "Building kernel modules."
@ -121,7 +121,7 @@ mkdir $KERNEL_INSTALLED
echo "Installing the kernel."
# Install the kernel file.
cp arch/x86/boot/bzImage \
cp arch/arm64/boot/Image \
$KERNEL_INSTALLED/kernel
if [ "$BUILD_KERNEL_MODULES" = "true" ] ; then

7
src/qemu-aarch64.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
qemu-system-aarch64 -machine virt -cpu cortex-a57 -machine type=virt -smp 2 -m 4096 \
-kernel work/kernel/kernel_installed/kernel \
-initrd work/rootfs.cpio.xz \
-append "vga=ask"