diff --git a/src/.config b/src/.config index 480f46c..8cdf472 100644 --- a/src/.config +++ b/src/.config @@ -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 diff --git a/src/02_build_kernel.sh b/src/02_build_kernel.sh index 4e0db8d..94fb644 100755 --- a/src/02_build_kernel.sh +++ b/src/02_build_kernel.sh @@ -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 diff --git a/src/qemu-aarch64.sh b/src/qemu-aarch64.sh new file mode 100755 index 0000000..331ef32 --- /dev/null +++ b/src/qemu-aarch64.sh @@ -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" +