configs/qemu_riscv64_virt_defconfig: bump Linux version
PATCH 1/1 configs/qemu_riscv64_virt_defconfig: bump Linux version
From: Gwenhael Goavec-Merou <[email protected]>
Since riscv64 works with linux default defconfig, this patch drop custom config.
--- board/qemu/riscv64-virt/linux.config | 23 ----------------------- configs/qemu_riscv64_virt_defconfig | 9 ++++----- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 board/qemu/riscv64-virt/linux.config
board/qemu/riscv64-virt/linux.config deleted +0 -23
@@ -1,23 +0,0 @@ -CONFIG_ARCH_RV64I=y -CONFIG_SMP=y -CONFIG_NR_CPUS=8 -CONFIG_PCI=y -CONFIG_SYSVIPC=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_WIRELESS is not set -CONFIG_VIRTIO_BLK=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -# CONFIG_ETHERNET is not set -# CONFIG_WLAN is not set -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_VIRT_DRIVERS=y -CONFIG_VIRTIO_MMIO=y -CONFIG_EXT2_FS=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y
configs/qemu_riscv64_virt_defconfig +4 -5
@@ -10,16 +10,15 @@ BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -# Linux headers same as kernel, a 4.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y +# Linux headers same as kernel, a 4.20 series +BR2_KERNEL_HEADERS_4_20=y # Kernel BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/riscv/riscv-linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="fe92d7905c6ea0ebeabeb725b8040754ede7c220" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/riscv64-virt/linux.config" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="8fe28cb58bcb235034b64cbbb7550a8a43fd88be" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y # Bootloader BR2_TARGET_RISCV_PK=y
Signature · 1 line
2.19.2
PATCH 1/1 configs/qemu_riscv64_virt_defconfig: bump Linux version
Hello Gwenhael
Quoted 55 lines · Gwenhael Goavec-Merou
From: Gwenhael Goavec-Merou <[email protected]>
Since riscv64 works with linux default defconfig, this patch drop custom config.
Signed-off-by Gwenhael Goavec-Merou <[email protected]>--- board/qemu/riscv64-virt/linux.config | 23 ----------------------- configs/qemu_riscv64_virt_defconfig | 9 ++++----- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 board/qemu/riscv64-virt/linux.configboard/qemu/riscv64-virt/linux.config deleted +0
-23@@ -1,23 +0,0 @@ -CONFIG_ARCH_RV64I=y -CONFIG_SMP=y -CONFIG_NR_CPUS=8 -CONFIG_PCI=y -CONFIG_SYSVIPC=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_WIRELESS is not set -CONFIG_VIRTIO_BLK=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -# CONFIG_ETHERNET is not set -# CONFIG_WLAN is not set -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_VIRT_DRIVERS=y -CONFIG_VIRTIO_MMIO=y -CONFIG_EXT2_FS=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=yconfigs/qemu_riscv64_virt_defconfig +2
-2@@ -10,16 +10,15 @@ BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -# Linux headers same as kernel, a 4.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y +# Linux headers same as kernel, a 4.20 series +BR2_KERNEL_HEADERS_4_20=y # Kernel BR2_LINUX_KERNEL=y
configs/qemu_riscv64_virt_defconfig BR2_TARGET_ROOTFS_EXT2=y · line 24
Quoted 10 lines
configs/qemu_riscv64_virt_defconfig +2
-3BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/riscv/riscv-linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="fe92d7905c6ea0ebeabeb725b8040754ede7c220" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/riscv64-virt/linux.config" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="8fe28cb58bcb235034b64cbbb7550a8a43fd88be" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y # Bootloader BR2_TARGET_RISCV_PK=y
This builds on my system and boots under QEMU 2.12.0.
Signature · 3 lines
Mark Corbin Embecosm Ltd. https://www.embecosm.com
PATCH 1/1 configs/qemu_riscv64_virt_defconfig: bump Linux version
In reply to Gwenhael Goavec-MerouQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gwenhael" == Gwenhael Goavec-Merou <[email protected]> writes:
From: Gwenhael Goavec-Merou <[email protected]> Since riscv64 works with linux default defconfig, this patch drop custom config.
Signed-off-by Gwenhael Goavec-Merou <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 configs/qemu_riscv64_virt_defconfig: bump Linux version
In reply to Gwenhael Goavec-MerouHello,
configs/qemu_riscv64_virt_defconfig BR2_TARGET_ROOTFS_EXT2=y · line 14
Quoted 4 lines · Gwenhael Goavec-Merou
configs/qemu_riscv64_virt_defconfig +2
-2-# Linux headers same as kernel, a 4.15 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y +# Linux headers same as kernel, a 4.20 series +BR2_KERNEL_HEADERS_4_20=y
Why isn't this
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20=y
?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com