From cbddc108951b4b0f275b1545b76a33697066186b Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Mon, 2 Sep 2024 11:27:08 +0200 Subject: [PATCH 01/11] Add RVV to cva6-sdk configurations Co-authored-by: Vincenzo Maisto Signed-off-by: Moritz Imfeld --- configs/buildroot64_defconfig | 18 +++++++++++++++--- configs/linux64_defconfig | 7 ++++++- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/configs/buildroot64_defconfig b/configs/buildroot64_defconfig index e1f45513..6e345c73 100644 --- a/configs/buildroot64_defconfig +++ b/configs/buildroot64_defconfig @@ -1,17 +1,24 @@ BR2_riscv=y BR2_riscv_custom=y +BR2_RISCV_64=y BR2_RISCV_ISA_CUSTOM_RVM=y BR2_RISCV_ISA_CUSTOM_RVF=y BR2_RISCV_ISA_CUSTOM_RVD=y BR2_RISCV_ISA_CUSTOM_RVC=y +BR2_RISCV_ISA_CUSTOM_RVA=y +BR2_RISCV_ISA_CUSTOM_RVV=y BR2_CCACHE=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_ROOTFS_OVERLAY="../rootfs" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.10.7" + +# Select kernel version +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v6.5" +BR2_LINUX_KERNEL_VERSION="v6.5" + BR2_LINUX_KERNEL_PATCH="../linux_patch/" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="../configs/linux64_defconfig" @@ -32,4 +39,9 @@ BR2_PACKAGE_IPROUTE2=y BR2_PACKAGE_TCPDUMP=y BR2_TARGET_ROOTFS_CPIO_GZIP=y BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set \ No newline at end of file +# BR2_TARGET_ROOTFS_TAR is not set + +# Build GCC 13 for vector intrinsics (riscv_vector.h) +BR2_GCC_VERSION_13_X=y +BR2_GCC_VERSION="13.2.0" +BR2_TOOLCHAIN_BUILDROOT_CXX=y diff --git a/configs/linux64_defconfig b/configs/linux64_defconfig index 0a127b2e..f8043163 100644 --- a/configs/linux64_defconfig +++ b/configs/linux64_defconfig @@ -76,4 +76,9 @@ CONFIG_PRINTK_TIME=y CONFIG_STRIP_ASM_SYMS=y CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_DEBUG_FS=y -CONFIG_STACKTRACE=y \ No newline at end of file +CONFIG_STACKTRACE=y + +# Enable/disable RVV +CONFIG_RISCV_ISA_V=y +# Enable userspace Vector by default +RISCV_ISA_V_DEFAULT_ENABLE=y From e05f92fb167e99adb81b6a85effcb8780c17b4f2 Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Mon, 2 Sep 2024 11:39:17 +0200 Subject: [PATCH 02/11] Add separate defconfigs for RVV compilation Co-authored-by: Vincenzo Maisto Signed-off-by: Moritz Imfeld --- Makefile | 23 +++++++-- configs/buildroot64_V_defconfig | 47 ++++++++++++++++++ configs/buildroot64_defconfig | 18 ++----- configs/linux64_V_defconfig | 85 +++++++++++++++++++++++++++++++++ configs/linux64_defconfig | 5 -- 5 files changed, 154 insertions(+), 24 deletions(-) create mode 100644 configs/buildroot64_V_defconfig create mode 100644 configs/linux64_V_defconfig diff --git a/Makefile b/Makefile index a10e303a..3be4fd33 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,13 @@ MKIMAGE := u-boot/tools/mkimage NR_CORES := $(shell nproc) +ifdef $(RVV) + sbi-march=rv64imafdc_zifencei +else + sbi-march=rv64imafdc +endif + + # SBI options PLATFORM := fpga/cheshire FW_FDT_PATH ?= @@ -21,7 +28,7 @@ sbi-mk = PLATFORM=$(PLATFORM) CROSS_COMPILE=$(TOOLCHAIN_PREFIX) $(if $(FW_FDT_PA ifeq ($(XLEN), 32) sbi-mk += PLATFORM_RISCV_ISA=rv32ima PLATFORM_RISCV_XLEN=32 else -sbi-mk += PLATFORM_RISCV_ISA=rv64imafdc PLATFORM_RISCV_XLEN=64 +sbi-mk += PLATFORM_RISCV_ISA=$(sbi-march) PLATFORM_RISCV_XLEN=64 endif # U-Boot options @@ -46,11 +53,19 @@ endif # default make flags isa-sim-mk = -j$(NR_CORES) tests-mk = -j$(NR_CORES) -buildroot-mk = -j$(NR_CORES) +buildroot-mk = -j$(NR_CORES) \ + HOSTCC=gcc-11.2.0 \ + HOSTCXX=g++-11.2.0 \ + HOSTCPP=cpp-11.2.0 # linux image -buildroot_defconfig = configs/buildroot$(XLEN)_defconfig -linux_defconfig = configs/linux$(XLEN)_defconfig +ifdef $(RVV) + buildroot_defconfig = configs/buildroot$(XLEN)_V_defconfig + linux_defconfig = configs/linux$(XLEN)_V_defconfig +else + buildroot_defconfig = configs/buildroot$(XLEN)_defconfig + linux_defconfig = configs/linux$(XLEN)_defconfig +endif busybox_defconfig = configs/busybox$(XLEN).config install-dir: diff --git a/configs/buildroot64_V_defconfig b/configs/buildroot64_V_defconfig new file mode 100644 index 00000000..6e345c73 --- /dev/null +++ b/configs/buildroot64_V_defconfig @@ -0,0 +1,47 @@ +BR2_riscv=y +BR2_riscv_custom=y +BR2_RISCV_64=y +BR2_RISCV_ISA_CUSTOM_RVM=y +BR2_RISCV_ISA_CUSTOM_RVF=y +BR2_RISCV_ISA_CUSTOM_RVD=y +BR2_RISCV_ISA_CUSTOM_RVC=y +BR2_RISCV_ISA_CUSTOM_RVA=y +BR2_RISCV_ISA_CUSTOM_RVV=y +BR2_CCACHE=y +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_ROOTFS_OVERLAY="../rootfs" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git" + +# Select kernel version +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v6.5" +BR2_LINUX_KERNEL_VERSION="v6.5" + +BR2_LINUX_KERNEL_PATCH="../linux_patch/" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="../configs/linux64_defconfig" +BR2_LINUX_KERNEL_VMLINUX=y +BR2_PACKAGE_BUSYBOX_CONFIG="../configs/busybox64.config" +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_DHRYSTONE=y +BR2_PACKAGE_MEMSTAT=y +BR2_PACKAGE_RAMSPEED=y +BR2_PACKAGE_NFS_UTILS=y +BR2_PACKAGE_LIBNFS=y +BR2_PACKAGE_ETHTOOL=y +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set +BR2_PACKAGE_IPERF3=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_TCPDUMP=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_INITRAMFS=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Build GCC 13 for vector intrinsics (riscv_vector.h) +BR2_GCC_VERSION_13_X=y +BR2_GCC_VERSION="13.2.0" +BR2_TOOLCHAIN_BUILDROOT_CXX=y diff --git a/configs/buildroot64_defconfig b/configs/buildroot64_defconfig index 6e345c73..e1f45513 100644 --- a/configs/buildroot64_defconfig +++ b/configs/buildroot64_defconfig @@ -1,24 +1,17 @@ BR2_riscv=y BR2_riscv_custom=y -BR2_RISCV_64=y BR2_RISCV_ISA_CUSTOM_RVM=y BR2_RISCV_ISA_CUSTOM_RVF=y BR2_RISCV_ISA_CUSTOM_RVD=y BR2_RISCV_ISA_CUSTOM_RVC=y -BR2_RISCV_ISA_CUSTOM_RVA=y -BR2_RISCV_ISA_CUSTOM_RVV=y BR2_CCACHE=y BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_ROOTFS_OVERLAY="../rootfs" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_GIT=y BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git" - -# Select kernel version -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v6.5" -BR2_LINUX_KERNEL_VERSION="v6.5" - +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.10.7" BR2_LINUX_KERNEL_PATCH="../linux_patch/" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="../configs/linux64_defconfig" @@ -39,9 +32,4 @@ BR2_PACKAGE_IPROUTE2=y BR2_PACKAGE_TCPDUMP=y BR2_TARGET_ROOTFS_CPIO_GZIP=y BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Build GCC 13 for vector intrinsics (riscv_vector.h) -BR2_GCC_VERSION_13_X=y -BR2_GCC_VERSION="13.2.0" -BR2_TOOLCHAIN_BUILDROOT_CXX=y +# BR2_TARGET_ROOTFS_TAR is not set \ No newline at end of file diff --git a/configs/linux64_V_defconfig b/configs/linux64_V_defconfig new file mode 100644 index 00000000..e2838f00 --- /dev/null +++ b/configs/linux64_V_defconfig @@ -0,0 +1,85 @@ +CONFIG_DEFAULT_HOSTNAME="cheshire-fpga" +# CONFIG_CROSS_MEMORY_ATTACH is not set +CONFIG_NAMESPACES=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" +CONFIG_EMBEDDED=y +CONFIG_SMP=y +# CONFIG_HZ_100=y +CONFIG_HZ_12=y +CONFIG_CMDLINE="earlyprintk debug loglevel=7" +CONFIG_MODULES=y +# CONFIG_BLK_DEV_BSG is not set +CONFIG_PARTITION_ADVANCED=y +# CONFIG_COMPACTION is not set +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_INET=y +#CONFIG_UEVENT_HELPER=y +#CONFIG_UEVENT_HELPER_PATH="/sbin/mdev" +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_VIRTIO_BLK=y +CONFIG_EEPROM_AT24=y +CONFIG_SCSI=m +CONFIG_BLK_DEV_SD=m +CONFIG_BLK_DEV_SR=m +CONFIG_CHR_DEV_SG=m +CONFIG_NETDEVICES=y +# CONFIG_ETHERNET is not set +CONFIG_USB_USBNET=m +# CONFIG_USB_NET_AX88179_178A is not set +CONFIG_INPUT_EVDEV=m +# CONFIG_INPUT_MOUSE is not set +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SERIAL_UARTLITE=y +CONFIG_HVC_RISCV_SBI=y +CONFIG_VIRTIO_CONSOLE=y +# CONFIG_HW_RANDOM is not set +CONFIG_I2C=y +CONFIG_I2C_OCORES=y +CONFIG_SPI=y +CONFIG_SPI_DEBUG=y +CONFIG_POWER_RESET=y +CONFIG_FB=y +CONFIG_FB_SIMPLE=y +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_USB_AUDIO=m +CONFIG_HIDRAW=y +CONFIG_UHID=m +CONFIG_HID_ALPS=m +CONFIG_USB=y +CONFIG_USB_ANNOUNCE_NEW_DEVICES=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB_STORAGE=m +CONFIG_MMC=y +CONFIG_MMC_DEBUG=y +CONFIG_MMC_SPI=y +CONFIG_VIRTIO_MMIO=y +# CONFIG_IOMMU_SUPPORT is not set +CONFIG_PWM=y +CONFIG_SIFIVE_PLIC=y +CONFIG_EXT3_FS=y +CONFIG_EXT4_DEBUG=y +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=m +# CONFIG_PROC_PAGE_MONITOR is not set +CONFIG_TMPFS=y +# CONFIG_MISC_FILESYSTEMS is not set +CONFIG_CRYPTO_ECHAINIV=y +# CONFIG_CRYPTO_HW is not set +CONFIG_PRINTK_TIME=y +CONFIG_STRIP_ASM_SYMS=y +CONFIG_DEBUG_SECTION_MISMATCH=y +CONFIG_DEBUG_FS=y +CONFIG_STACKTRACE=y + +# Enable/disable RVV +CONFIG_RISCV_ISA_V=y +# Enable userspace Vector by default +RISCV_ISA_V_DEFAULT_ENABLE=y diff --git a/configs/linux64_defconfig b/configs/linux64_defconfig index f8043163..e97a831f 100644 --- a/configs/linux64_defconfig +++ b/configs/linux64_defconfig @@ -77,8 +77,3 @@ CONFIG_STRIP_ASM_SYMS=y CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_DEBUG_FS=y CONFIG_STACKTRACE=y - -# Enable/disable RVV -CONFIG_RISCV_ISA_V=y -# Enable userspace Vector by default -RISCV_ISA_V_DEFAULT_ENABLE=y From 9e5aaad614767dda13bec824dfba6a3cec29022a Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Mon, 2 Sep 2024 11:53:33 +0200 Subject: [PATCH 03/11] Fix Makefile Signed-off-by: Moritz Imfeld --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3be4fd33..24cf9ddc 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ MKIMAGE := u-boot/tools/mkimage NR_CORES := $(shell nproc) -ifdef $(RVV) +ifdef RVV sbi-march=rv64imafdc_zifencei else sbi-march=rv64imafdc @@ -59,7 +59,7 @@ buildroot-mk = -j$(NR_CORES) \ HOSTCPP=cpp-11.2.0 # linux image -ifdef $(RVV) +ifdef RVV buildroot_defconfig = configs/buildroot$(XLEN)_V_defconfig linux_defconfig = configs/linux$(XLEN)_V_defconfig else From e705e7cbf307ee1186f7540897d39b73c1d0c898 Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Tue, 17 Sep 2024 11:34:01 +0200 Subject: [PATCH 04/11] Fix buildroot64_V_defconfig Signed-off-by: Moritz Imfeld --- configs/buildroot64_V_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/buildroot64_V_defconfig b/configs/buildroot64_V_defconfig index 6e345c73..d777938a 100644 --- a/configs/buildroot64_V_defconfig +++ b/configs/buildroot64_V_defconfig @@ -21,7 +21,7 @@ BR2_LINUX_KERNEL_VERSION="v6.5" BR2_LINUX_KERNEL_PATCH="../linux_patch/" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="../configs/linux64_defconfig" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="../configs/linux64_V_defconfig" BR2_LINUX_KERNEL_VMLINUX=y BR2_PACKAGE_BUSYBOX_CONFIG="../configs/busybox64.config" BR2_PACKAGE_ALSA_UTILS=y From 0d6561a1d33ef95957002074d2085447f1ea459f Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Tue, 17 Sep 2024 11:39:43 +0200 Subject: [PATCH 05/11] Bump opensbi Signed-off-by: Moritz Imfeld --- opensbi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensbi b/opensbi index 60fad1a4..485cfc1b 160000 --- a/opensbi +++ b/opensbi @@ -1 +1 @@ -Subproject commit 60fad1a4a1f5d638238092cd1ae110233e37a3f2 +Subproject commit 485cfc1b4850cce1b6fe7d3d8ac10aedec25d573 From 81897ddcf440981478039dab348d6002eed8edbd Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Tue, 17 Sep 2024 13:34:21 +0200 Subject: [PATCH 06/11] Bump u-boot Signed-off-by: Moritz Imfeld --- u-boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u-boot b/u-boot index cb3f747f..f9a4ad41 160000 --- a/u-boot +++ b/u-boot @@ -1 +1 @@ -Subproject commit cb3f747f5e9822b8482baeaf72f2593f991035cb +Subproject commit f9a4ad416dffe2429da83c978deba2c267edaaeb From 74036f6a604868b4c982327f5fd287105f35c91e Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Tue, 17 Sep 2024 13:46:56 +0200 Subject: [PATCH 07/11] Disable tetris compilation if RVV is defined The issue was that when generating the RVV-enabled Linux images, we use a newer compiler, with which the Tetris compilation fails. As of now, we simply disable the compilation if RVV is defined. Signed-off-by: Moritz Imfeld --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 24cf9ddc..31199646 100644 --- a/Makefile +++ b/Makefile @@ -100,9 +100,15 @@ rootfs/cachetest.elf: $(CC) cp ./cachetest/cachetest.elf $@ # cool command-line tetris +ifndef RVV rootfs/tetris: $(CC) cd ./vitetris/ && make clean && ./configure CC=$(CC) && make cp ./vitetris/tetris $@ +else +rootfs/tetris: $(CC) + touch rootfs/tetris +endif + $(RISCV)/vmlinux: $(buildroot_defconfig) $(linux_defconfig) $(busybox_defconfig) $(CC) rootfs/cachetest.elf rootfs/tetris mkdir -p $(RISCV) From 7032af04f206d71c668755ead153749970a97128 Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Tue, 17 Sep 2024 22:49:10 +0200 Subject: [PATCH 08/11] Bump buildroot Signed-off-by: Moritz Imfeld --- buildroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot b/buildroot index aa433d1c..0473a9b5 160000 --- a/buildroot +++ b/buildroot @@ -1 +1 @@ -Subproject commit aa433d1c5cfbd72b64ff3f92f2ffa2e02ea7089b +Subproject commit 0473a9b521f13b56ee0745e7364e392e8740110b From f4739b8d0e047b860db4e587569b0500a8b0ef63 Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Tue, 17 Sep 2024 22:59:02 +0200 Subject: [PATCH 09/11] Switch from ifdef RVV to ifeq RVV=1 and remove HOST gcc version Signed-off-by: Moritz Imfeld --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 31199646..a360ed5a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ # Makefile for RISC-V toolchain; run 'make help' for usage. set XLEN here to 32 or 64. XLEN := 64 +RVV ?= 0 ROOT := $(patsubst %/,%, $(dir $(abspath $(lastword $(MAKEFILE_LIST))))) RISCV := $(ROOT)/install$(XLEN) DEST := $(abspath $(RISCV)) @@ -14,7 +15,7 @@ MKIMAGE := u-boot/tools/mkimage NR_CORES := $(shell nproc) -ifdef RVV +ifeq ($(RVV), 1) sbi-march=rv64imafdc_zifencei else sbi-march=rv64imafdc @@ -53,13 +54,10 @@ endif # default make flags isa-sim-mk = -j$(NR_CORES) tests-mk = -j$(NR_CORES) -buildroot-mk = -j$(NR_CORES) \ - HOSTCC=gcc-11.2.0 \ - HOSTCXX=g++-11.2.0 \ - HOSTCPP=cpp-11.2.0 +buildroot-mk = -j$(NR_CORES) # linux image -ifdef RVV +ifeq ($(RVV), 1) buildroot_defconfig = configs/buildroot$(XLEN)_V_defconfig linux_defconfig = configs/linux$(XLEN)_V_defconfig else @@ -100,7 +98,7 @@ rootfs/cachetest.elf: $(CC) cp ./cachetest/cachetest.elf $@ # cool command-line tetris -ifndef RVV +ifneq ($(RVV), 1) rootfs/tetris: $(CC) cd ./vitetris/ && make clean && ./configure CC=$(CC) && make cp ./vitetris/tetris $@ From 58ce1f1e18cce69e6a89976d89d04efe6e78ce48 Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Tue, 17 Sep 2024 22:59:18 +0200 Subject: [PATCH 10/11] Bump u-boot Signed-off-by: Moritz Imfeld --- u-boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u-boot b/u-boot index f9a4ad41..8e3226fe 160000 --- a/u-boot +++ b/u-boot @@ -1 +1 @@ -Subproject commit f9a4ad416dffe2429da83c978deba2c267edaaeb +Subproject commit 8e3226fe6751b07e76eca51c544c214b811e4f00 From ed582f3b8ea78a3d0a20f81b3da0f36a73d7e86b Mon Sep 17 00:00:00 2001 From: Moritz Imfeld Date: Tue, 17 Sep 2024 23:45:44 +0200 Subject: [PATCH 11/11] Fix buildroot defconfig for RVV Signed-off-by: Moritz Imfeld --- configs/buildroot64_V_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/buildroot64_V_defconfig b/configs/buildroot64_V_defconfig index d777938a..b58f9809 100644 --- a/configs/buildroot64_V_defconfig +++ b/configs/buildroot64_V_defconfig @@ -19,7 +19,7 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_4=y BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v6.5" BR2_LINUX_KERNEL_VERSION="v6.5" -BR2_LINUX_KERNEL_PATCH="../linux_patch/" +#BR2_LINUX_KERNEL_PATCH="../linux_patch/" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="../configs/linux64_V_defconfig" BR2_LINUX_KERNEL_VMLINUX=y