Skip to contentSkip to conversation

Further fixes for riscv64

PATCH New Khem Raj 1 participant 5 messages Mar 11, 2018 RISC-V

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

cover Further fixes for riscv64

Fixes to get core-image-full-cmdline to build

The following changes since commit e4da78229f0bd67fd34928eafe48dbdc9e8da050:

e2fsprogs: Add comment on why touch is needed (2018-03-09 11:09:39 -0800)

are available in the Git repository at:

git://git.openembedded.org/openembedded-core-contrib kraj/riscv64-fixes-2
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/riscv64-fixes-2

Khem Raj (4):
tcmode-default.inc: Define QEMUVERSION and softly pin it
pcmanfm: Drop COMPATIBLE_HOST setting
site/riscv: Shunt the realloc configure test for startup-notification
risc-v: Pin oldest kernel to 4.15 for the new kid

 meta/conf/bitbake.conf                      | 2 ++
 meta/conf/distro/include/tcmode-default.inc | 5 +++++
 meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb  | 3 ---
 meta/site/riscv32-linux                     | 2 ++
 meta/site/riscv64-linux                     | 2 ++
 5 files changed, 11 insertions(+), 3 deletions(-)
Signature · 1 line
2.16.2
author
#1 lore raw

PATCH 1/4 tcmode-default.inc: Define QEMUVERSION and softly pin it

This provides ability to surgically override qemu for certain machines which are provided by external layers.

---
 meta/conf/distro/include/tcmode-default.inc | 5 +++++
 1 file changed, 5 insertions(+)
meta/conf/distro/include/tcmode-default.inc +5 -0
index 5c6681fb9d..7862edb633 100644
@@ -28,6 +28,7 @@ BINUVERSION ?= "2.30%"
 GDBVERSION ?= "8.0%"
 GLIBCVERSION ?= "2.27%"
 LINUXLIBCVERSION ?= "4.15%"
+QEMUVERSION ?= "2.11%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
@@ -64,6 +65,10 @@ PREFERRED_VERSION_glibc-initial            ?= "${GLIBCVERSION}"
 PREFERRED_VERSION_nativesdk-glibc-initial  ?= "${GLIBCVERSION}"
 PREFERRED_VERSION_cross-localedef-native   ?= "${GLIBCVERSION}"
 
+
+PREFERRED_VERSION_qemu ?= "${QEMUVERSION}"
+PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}"
+PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}"
 # Setup suitable toolchain flags
 require conf/distro/include/as-needed.inc
 
Signature · 1 line
2.16.2
author
#2 lore raw

PATCH 2/4 pcmanfm: Drop COMPATIBLE_HOST setting

In reply to Khem Raj

We have all core architectures in there its almost redundant

---
 meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb | 3 ---
 1 file changed, 3 deletions(-)
meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb +0 -3
index 75ff7731be..4127a07046 100644
@@ -9,9 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 SECTION = "x11"
 DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native glib-2.0-native"
 
-
-COMPATIBLE_HOST = '(x86_64.*|i.86.*|aarch64.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)'
-
 SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \
 	   file://gnome-fs-directory.png \
 	   file://gnome-fs-regular.png \
Signature · 1 line
2.16.2
author
#3 lore raw

PATCH 3/4 site/riscv: Shunt the realloc configure test for startup-notification

In reply to Khem Raj
---
 meta/site/riscv32-linux | 2 ++
 meta/site/riscv64-linux | 2 ++
 2 files changed, 4 insertions(+)
meta/site/riscv32-linux +2 -0
index a496bd1aca..138aeb0a11 100644
@@ -2,3 +2,5 @@
 glib_cv_stack_grows=${glib_cv_stack_grows=no}
 glib_cv_uscore=${glib_cv_uscore=no}
 
+# startup-notification
+lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
meta/site/riscv64-linux +2 -0
index a496bd1aca..138aeb0a11 100644
@@ -2,3 +2,5 @@
 glib_cv_stack_grows=${glib_cv_stack_grows=no}
 glib_cv_uscore=${glib_cv_uscore=no}
 
+# startup-notification
+lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
Signature · 1 line
2.16.2
author
#4 lore raw

PATCH 4/4 risc-v: Pin oldest kernel to 4.15 for the new kid

In reply to Khem Raj
---
 meta/conf/bitbake.conf | 2 ++
 1 file changed, 2 insertions(+)
meta/conf/bitbake.conf +2 -0
index 7007a6e9b6..93f57f3c9e 100644
@@ -423,6 +423,8 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
 OLDEST_KERNEL = "3.2.0"
 OLDEST_KERNEL_aarch64 = "3.14"
 OLDEST_KERNEL_nios2 = "3.19"
+OLDEST_KERNEL_riscv32 = "4.15"
+OLDEST_KERNEL_riscv64 = "4.15"
 
 # SDK_OLDEST_KERNEL can't be set using overrides since there are
 # none for the SDK architecture. Best to set it from a machine-sdk
Signature · 1 line
2.16.2