configs/qemu_aarch64_virt_defconfig: bump kernel to 4.13.6
PATCH 1/2 configs/qemu_aarch64_virt_defconfig: bump kernel to 4.13.6
Signed-off-by Peter Korsgaard <[email protected]>
---
board/qemu/aarch64-virt/{linux-4.11.config => linux-4.13.config} | 0
configs/qemu_aarch64_virt_defconfig | 8 ++++----
2 files changed, 4 insertions(+), 4 deletions(-)
rename board/qemu/aarch64-virt/{linux-4.11.config => linux-4.13.config} (100%)board/qemu/aarch64-virt/linux-4.13.config renamed from board/qemu/aarch64-virt/linux-4.11.config +0 -0
configs/qemu_aarch64_virt_defconfig +4 -4
@@ -9,12 +9,12 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" # BR2_TARGET_ROOTFS_TAR is not set BR2_TARGET_ROOTFS_INITRAMFS=y -# Linux headers same as kernel, a 4.11 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y +# Linux headers same as kernel, a 4.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.3" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13.6" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux-4.11.config" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux-4.13.config"
Signature · 1 line
2.11.0
PATCH 2/2 configs/qemu_aarch64_virt_defconfig: build and use ext4 rootfs
The "virt" machine supports disk emulation, so use a ext4 rootfs instead of initramfs for consistency with the other qemu defconfigs.
Signed-off-by Peter Korsgaard <[email protected]>
--- board/qemu/aarch64-virt/readme.txt | 2 +- configs/qemu_aarch64_virt_defconfig | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
board/qemu/aarch64-virt/readme.txt +1 -1
@@ -1,6 +1,6 @@ Run the emulation with: - qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 + qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel output/images/Image -append "root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 The login prompt will appear in the terminal that started Qemu.
configs/qemu_aarch64_virt_defconfig +2 -1
@@ -6,8 +6,9 @@ BR2_SYSTEM_DHCP="eth0" BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" # Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y # BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y # Linux headers same as kernel, a 4.13 series BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
Signature · 1 line
2.11.0
PATCH 1/2 configs/qemu_aarch64_virt_defconfig: bump kernel to 4.13.6
In reply to Peter KorsgaardHello,
Quoted 6 lines · Peter Korsgaard
Signed-off-by Peter Korsgaard <[email protected]>--- board/qemu/aarch64-virt/{linux-4.11.config => linux-4.13.config} | 0 configs/qemu_aarch64_virt_defconfig | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename board/qemu/aarch64-virt/{linux-4.11.config => linux-4.13.config} (100%)
Both applied. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com