From c2e7c7bc56f394e86b07ba36337c773858346730 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Wed, 8 Nov 2017 13:53:43 -0800 Subject: [PATCH] Bump linux and riscv-gnu-toolchain This now contains the latest toolchain release, along with a our Linux port applied on top of 4.14-rc8. The toolchain is in good shape: it's based on stable releases, with every backported patch having landed upstraem. Linux hasn't landed upstream yet, so while there's been some review it will get rebased (and archived). This builds and boots on both Spike and Freedom. --- Makefile | 1 + linux | 2 +- riscv-gnu-toolchain | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3ba025a..c1c4c00 100644 --- a/Makefile +++ b/Makefile @@ -51,6 +51,7 @@ $(toolchain_dest)/bin/$(target)-gcc: $(toolchain_srcdir) mkdir -p $(toolchain_wrkdir) cd $(toolchain_wrkdir); $(toolchain_srcdir)/configure --prefix=$(toolchain_dest) $(MAKE) -C $(toolchain_wrkdir) linux + sed 's/^#define LINUX_VERSION_CODE.*/#define LINUX_VERSION_CODE 263682/' -i $(toolchain_dest)/sysroot/usr/include/linux/version.h $(buildroot_tar): $(buildroot_srcdir) $(RISCV)/bin/$(target)-gcc $(MAKE) -C $< RISCV=$(RISCV) PATH=$(PATH) O=$(buildroot_wrkdir) riscv64_defconfig diff --git a/linux b/linux index 2746561..160fa84 160000 --- a/linux +++ b/linux @@ -1 +1 @@ -Subproject commit 2746561a98e127f82876a56609ae9d324a449172 +Subproject commit 160fa8470d0f78b1571c04da8b9af50ac05be378 diff --git a/riscv-gnu-toolchain b/riscv-gnu-toolchain index 8b16c61..b4dae89 160000 --- a/riscv-gnu-toolchain +++ b/riscv-gnu-toolchain @@ -1 +1 @@ -Subproject commit 8b16c6123d3dc9642ceeaa6ad371f494d5970873 +Subproject commit b4dae89f85bf882852c6186b1284df11065bfcd9