mirror of
https://github.com/ivandavidov/minimal.git
synced 2026-01-14 02:59:37 +00:00
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:
@ -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
|
||||
|
||||
@ -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
7
src/qemu-aarch64.sh
Executable 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"
|
||||
|
||||
Reference in New Issue
Block a user