Bump buildroot to 2020.11-rc1 (#985)
* Update buildroot-patches for 2020.11-rc1 buildroot * Update buildroot to 2020.11-rc1 Signed-off-by: Stefan Agner <stefan@agner.ch> * Don't rely on sfdisk --list-free output The --list-free (-F) argument does not allow machine readable mode. And it seems that the output format changes over time (different spacing, using size postfixes instead of raw blocks). Use sfdisk json output and calculate free partition space ourselfs. This works for 2.35 and 2.36 and is more robust since we rely on output which is meant for scripts to parse. * Migrate defconfigs for Buildroot 2020.11-rc1 In particular, rename BR2_TARGET_UBOOT_BOOT_SCRIPT(_SOURCE) to BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT(_SOURCE). * Rebase/remove systemd patches for systemd 246 * Drop apparmor/libapparmor from buildroot-external * hassos-persists: use /run as directory for lockfiles The U-Boot tools use /var/lock by default which is not created any more by systemd by default (it is under tmpfiles legacy.conf, which we no longer install). * Disable systemd-update-done.service The service is not suited for pure read-only systems. In particular the service needs to be able to write a file in /etc and /var. Remove the service. Note: This is a static service and cannot be removed using systemd-preset. * Disable apparmor.service for now The service loads all default profiles. Some might actually cause problems. E.g. the profile for ping seems not to match our setup for /etc/resolv.conf: [85503.634653] audit: type=1400 audit(1605286002.684:236): apparmor="DENIED" operation="open" profile="ping" name="/run/resolv.conf" pid=27585 comm="ping" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
From 50dd9600ab1ad8933704ee85289191d9c65ba444 Mon Sep 17 00:00:00 2001
|
||||
From: Petar Jovanovic <mips32r2@gmail.com>
|
||||
Date: Fri, 19 Apr 2019 14:04:26 +0000
|
||||
Subject: [PATCH] mips: fix mips32r6 and mips64r6 compilation issue
|
||||
|
||||
Add missing variable declarations.
|
||||
Modify local_sys_write_stderr to use movn if available, and use
|
||||
seleqz/selnez instructions otherwise.
|
||||
|
||||
Backported from upstream commit
|
||||
50dd9600ab1ad8933704ee85289191d9c65ba444.
|
||||
|
||||
Signed-off-by: Stefan Maksimovic <stefan.maksimovic@rt-rk.com>
|
||||
---
|
||||
VEX/priv/guest_mips_toIR.c | 1 +
|
||||
coregrind/m_debuglog.c | 6 ++++++
|
||||
2 files changed, 7 insertions(+)
|
||||
|
||||
diff --git a/VEX/priv/guest_mips_toIR.c b/VEX/priv/guest_mips_toIR.c
|
||||
index eb437ec..6e91329 100755
|
||||
--- a/VEX/priv/guest_mips_toIR.c
|
||||
+++ b/VEX/priv/guest_mips_toIR.c
|
||||
@@ -20241,6 +20241,7 @@ static UInt disInstr_MIPS_WRK_00(UInt cins, const VexArchInfo* archinfo,
|
||||
#elif defined(__mips__) && ((defined(__mips_isa_rev) && __mips_isa_rev >= 6))
|
||||
|
||||
case 0x08: { /* BEQZALC, BEQC, BOVC */
|
||||
+ IRTemp t1, t2, t3, t4;
|
||||
if (rs == 0) { /* BEQZALC */
|
||||
DIP("beqzalc r%u, %u", rt, imm);
|
||||
|
||||
diff --git a/coregrind/m_debuglog.c b/coregrind/m_debuglog.c
|
||||
index 456a711..289f275 100644
|
||||
--- a/coregrind/m_debuglog.c
|
||||
+++ b/coregrind/m_debuglog.c
|
||||
@@ -452,7 +452,13 @@ static UInt local_sys_write_stderr ( const HChar* buf, Int n )
|
||||
__asm__ volatile (
|
||||
"syscall \n\t"
|
||||
"addiu $4, $0, -1 \n\t"
|
||||
+ #if ((defined(__mips_isa_rev) && __mips_isa_rev >= 6))
|
||||
+ "selnez $4, $4, $7 \n\t"
|
||||
+ "seleqz $2, $2, $7 \n\t"
|
||||
+ "or $2, $2, $4 \n\t"
|
||||
+ #else
|
||||
"movn $2, $4, $7 \n\t"
|
||||
+ #endif
|
||||
: "+d" (v0), "+d" (a0), "+d" (a1), "+d" (a2)
|
||||
:
|
||||
: "$1", "$3", "$7", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15",
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# From http://valgrind.org/downloads/current.html
|
||||
md5 46e5fbdcbc3502a5976a317a0860a975 valgrind-3.15.0.tar.bz2
|
||||
# From https://valgrind.org/downloads/current.html
|
||||
md5 d1b153f1ab17cf1f311705e7a83ef589 valgrind-3.16.1.tar.bz2
|
||||
|
||||
# License files
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 56976e64523fa1e68db4e6f464f5b2cb89d7d08f54b1d012e317b8db286b3faf COPYING.DOCS
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 56976e64523fa1e68db4e6f464f5b2cb89d7d08f54b1d012e317b8db286b3faf COPYING.DOCS
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
VALGRIND_VERSION = 3.15.0
|
||||
VALGRIND_SITE = ftp://sourceware.org/pub/valgrind
|
||||
VALGRIND_VERSION = 3.16.1
|
||||
VALGRIND_SITE = https://sourceware.org/pub/valgrind
|
||||
VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2
|
||||
VALGRIND_LICENSE = GPL-2.0, GFDL-1.2
|
||||
VALGRIND_LICENSE_FILES = COPYING COPYING.DOCS
|
||||
|
||||
Reference in New Issue
Block a user