Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20f02d2887 | ||
|
|
b9f65295b3 | ||
|
|
6afd378bd6 | ||
|
|
9c239480b2 | ||
|
|
98ac18cbd5 | ||
|
|
d7d9e08a61 | ||
|
|
29c0f2f729 | ||
|
|
fb4d7c5f2f | ||
|
|
2e78964517 | ||
|
|
cb0fa11eeb | ||
|
|
89c4d57b18 | ||
|
|
a66f3380e3 | ||
|
|
288f4a0082 | ||
|
|
622cbb806d | ||
|
|
5c8a0307fb | ||
|
|
51e80cb7bc | ||
|
|
9e921ed9ad | ||
|
|
56730adf48 | ||
|
|
22aa316483 | ||
|
|
d60272b79a | ||
|
|
068a57763c | ||
|
|
6810659f9b | ||
|
|
8020671ca6 | ||
|
|
0f57b55b4c |
@@ -3,5 +3,9 @@ buildroot/
|
||||
buildroot-external/
|
||||
buildroot-patches/
|
||||
|
||||
# Ignore too
|
||||
# Release directory gets created using build scripts
|
||||
release/
|
||||
|
||||
# Ignore hidden directories as well
|
||||
.git/
|
||||
.github/
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -29,8 +29,10 @@ jobs:
|
||||
fi
|
||||
if [ "" != "${tag_dev}" ]; then
|
||||
echo "Note: Release build with custom dev part: ${tag_dev}."
|
||||
echo "::set-output name=version::${major}.${build}.${tag_dev}"
|
||||
else
|
||||
echo "::set-output name=version::${major}.${build}"
|
||||
fi
|
||||
echo "::set-output name=version::${major}.${build}.${tag_dev}"
|
||||
echo "::set-output name=version_dev::${tag_dev}"
|
||||
|
||||
build:
|
||||
|
||||
@@ -5,15 +5,15 @@ Default Kernel tree: 5.10
|
||||
|
||||
| Board | Version |
|
||||
|-------|---------|
|
||||
| Open Virtual Appliance | 5.10.37 |
|
||||
| Open Virtual Appliance | 5.10.45 |
|
||||
| Raspberry Pi | 5.10.17 |
|
||||
| Raspberry Pi 0-W | 5.10.17 |
|
||||
| Raspberry Pi 2 | 5.10.17 |
|
||||
| Raspberry Pi 3 | 5.10.17 |
|
||||
| Raspberry Pi 4 | 5.10.17 |
|
||||
| Tinker Board | 5.10.37 |
|
||||
| Odroid-C2 | 5.10.37 |
|
||||
| Odroid-C4 | 5.10.37 |
|
||||
| Odroid-N2 | 5.10.37 |
|
||||
| Odroid-XU4 | 5.10.37 |
|
||||
| Generic x86-64 | 5.10.37 |
|
||||
| Tinker Board | 5.10.45 |
|
||||
| Odroid-C2 | 5.10.45 |
|
||||
| Odroid-C4 | 5.10.45 |
|
||||
| Odroid-N2 | 5.9.16 |
|
||||
| Odroid-XU4 | 5.10.45 |
|
||||
| Generic x86-64 | 5.10.45 |
|
||||
|
||||
@@ -75,3 +75,7 @@ Within the Home Assistant interface you won't see if the move was succesful. To
|
||||
$ systemctl status mnt-data.mount
|
||||
```
|
||||
If the data partition was moved to your USB drive you should see ```sh Active: active (mounted) ``` in the output. Also, it will show, which drive got mounted as /mnt/data (```sh Where ``` and ```sh what ``` section of the output)
|
||||
|
||||
|
||||
## Check Power Supply Rating
|
||||
Using an USB attached SSD can draw quite some power. For instance on Raspberry Pi 3 the official Raspberry Pi power supply (PSU) only provides 2.5A which can be too tight. Use a power supply which can at least provide 3.5A. Alternatively use a powered USB hub. Connect the Hub to one of the USB slots of your Raspberry Pi, and connect the SSD to the Hub. The power supply that came with the Hub will power the attached device(s).
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
From d6b82edb420c7df4fa8bb0924dae2476beb649a2 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <d6b82edb420c7df4fa8bb0924dae2476beb649a2.1622398359.git.stefan@agner.ch>
|
||||
From: "charles.park" <charles.park@hardkernel.com>
|
||||
Date: Fri, 1 Jun 2018 18:12:01 +0900
|
||||
Subject: [PATCH] ODROID-XU4: Update hack avoiding the invalid temperature by
|
||||
TMU broken
|
||||
|
||||
Change-Id: I6092834427950a50746535458e99bf7089212044
|
||||
---
|
||||
drivers/thermal/thermal_helpers.c | 28 ++++++++++++++++++++++++++++
|
||||
1 file changed, 28 insertions(+)
|
||||
|
||||
diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_helpers.c
|
||||
index c94bc824e5d3..2880126c5861 100644
|
||||
--- a/drivers/thermal/thermal_helpers.c
|
||||
+++ b/drivers/thermal/thermal_helpers.c
|
||||
@@ -75,6 +75,10 @@ EXPORT_SYMBOL(get_thermal_instance);
|
||||
*
|
||||
* Return: On success returns 0, an error code otherwise
|
||||
*/
|
||||
+
|
||||
+#define CRITICAL_TEMP 120000
|
||||
+int thermal_zone_data[4] = { 0, };
|
||||
+
|
||||
int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp)
|
||||
{
|
||||
int ret = -EINVAL;
|
||||
@@ -108,6 +112,30 @@ int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp)
|
||||
*temp = tz->emul_temperature;
|
||||
}
|
||||
|
||||
+ /* save thermal_zone data */
|
||||
+ if (!ret)
|
||||
+ thermal_zone_data[tz->id] = *temp;
|
||||
+ /*
|
||||
+ * This case is that the thermal sensor is broken.
|
||||
+ * That's not real temperature. Set the fake temperature value in order to
|
||||
+ * avoid reaching the ciritical temperature.
|
||||
+ */
|
||||
+ if ((thermal_zone_data[tz->id] > CRITICAL_TEMP) && (tz->id != 4)) {
|
||||
+ int i, broken_sensor = 0, correct_temp = 0;
|
||||
+ for (i = 0; i < 4; i++) {
|
||||
+ if ((thermal_zone_data[i] <= CRITICAL_TEMP) &&
|
||||
+ (correct_temp <= thermal_zone_data[i]))
|
||||
+ correct_temp = thermal_zone_data[i];
|
||||
+ if (thermal_zone_data[i] > CRITICAL_TEMP)
|
||||
+ broken_sensor++;
|
||||
+ }
|
||||
+ /*
|
||||
+ * if all thermal sensor broken then critical temperature data send
|
||||
+ * for system poweroff.
|
||||
+ */
|
||||
+ *temp = (broken_sensor == 4) ? CRITICAL_TEMP : correct_temp;
|
||||
+ }
|
||||
+
|
||||
mutex_unlock(&tz->lock);
|
||||
exit:
|
||||
return ret;
|
||||
--
|
||||
2.31.1
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,38 @@
|
||||
From a189f6229a9462ae2fc406b1e45286d2eea32b40 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <a189f6229a9462ae2fc406b1e45286d2eea32b40.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Date: Tue, 15 Sep 2020 17:24:31 +0200
|
||||
Subject: [PATCH 02/11] dt-bindings: arm: amlogic: add support for the
|
||||
ODROID-N2+
|
||||
|
||||
HardKernel ODROID-N2+ uses a revised Amlogic S922X v2 chip that supports
|
||||
higher cpu clock speeds than the original ODROID-N2.
|
||||
|
||||
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
|
||||
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
||||
Acked-by: Rob Herring <robh@kernel.org>
|
||||
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
||||
Link: https://lore.kernel.org/r/20200915152432.30616-3-narmstrong@baylibre.com
|
||||
(cherry picked from commit 88ba71cdc5497390350c87e68ce35688e88be3e8)
|
||||
---
|
||||
Documentation/devicetree/bindings/arm/amlogic.yaml | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yaml
|
||||
index 5eba9f48823e..12ba8d074370 100644
|
||||
--- a/Documentation/devicetree/bindings/arm/amlogic.yaml
|
||||
+++ b/Documentation/devicetree/bindings/arm/amlogic.yaml
|
||||
@@ -153,6 +153,7 @@ properties:
|
||||
- azw,gtking
|
||||
- azw,gtking-pro
|
||||
- hardkernel,odroid-n2
|
||||
+ - hardkernel,odroid-n2-plus
|
||||
- khadas,vim3
|
||||
- ugoos,am6
|
||||
- const: amlogic,s922x
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
From 2f09401241a0f2348d3e30617e89a00c1dc45895 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <2f09401241a0f2348d3e30617e89a00c1dc45895.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Date: Tue, 15 Sep 2020 17:24:32 +0200
|
||||
Subject: [PATCH 03/11] arm64: dts: meson: add support for the ODROID-N2+
|
||||
|
||||
HardKernel ODROID-N2+ uses an Amlogic S922X rev. C chip capable of higher
|
||||
clock speeds than the original ODROID-N2.
|
||||
|
||||
The rev. C support a slighly higher VDDCPU_A & VDDCPU_B voltages and supports
|
||||
the same OPPs as the Amlogic A311D SoC from the same G12B family.
|
||||
|
||||
Suggested-by: Dongjin Kim <tobetter@hardkernel.com>
|
||||
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
|
||||
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
||||
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
|
||||
Link: https://lore.kernel.org/r/20200915152432.30616-4-narmstrong@baylibre.com
|
||||
(cherry picked from commit 98d24896ee117b1f0969405476c943e9307e30d4)
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/Makefile | 1 +
|
||||
.../dts/amlogic/meson-g12b-odroid-n2-plus.dts | 31 +++++++++++++++++++
|
||||
2 files changed, 32 insertions(+)
|
||||
create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
|
||||
index 4e2239ffcaa5..b0b3d6791499 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/Makefile
|
||||
+++ b/arch/arm64/boot/dts/amlogic/Makefile
|
||||
@@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking-pro.dtb
|
||||
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb
|
||||
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-s922x-khadas-vim3.dtb
|
||||
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb
|
||||
+dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2-plus.dtb
|
||||
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-ugoos-am6.dtb
|
||||
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-kii-pro.dtb
|
||||
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts
|
||||
new file mode 100644
|
||||
index 000000000000..5de2815ba99d
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts
|
||||
@@ -0,0 +1,31 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Copyright (c) 2019 BayLibre, SAS
|
||||
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+/* The Amlogic S922X Rev. C supports the same OPPs as the A311D variant */
|
||||
+#include "meson-g12b-a311d.dtsi"
|
||||
+#include "meson-g12b-odroid-n2.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ compatible = "hardkernel,odroid-n2-plus", "amlogic,s922x", "amlogic,g12b";
|
||||
+ model = "Hardkernel ODROID-N2Plus";
|
||||
+};
|
||||
+
|
||||
+&vddcpu_a {
|
||||
+ regulator-min-microvolt = <680000>;
|
||||
+ regulator-max-microvolt = <1040000>;
|
||||
+
|
||||
+ pwms = <&pwm_AO_cd 1 1500 0>;
|
||||
+};
|
||||
+
|
||||
+&vddcpu_b {
|
||||
+ regulator-min-microvolt = <680000>;
|
||||
+ regulator-max-microvolt = <1040000>;
|
||||
+
|
||||
+ pwms = <&pwm_AO_cd 1 1500 0>;
|
||||
+};
|
||||
+
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
From cdfb8eea4103e537898073dc3f7bf8f75cec5efb Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From 7dba042e7863dc61ec74c0759493264e48d32df2 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <7dba042e7863dc61ec74c0759493264e48d32df2.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Christian Hewitt <christianshewitt@gmail.com>
|
||||
Date: Mon, 11 Jan 2021 13:58:31 +0000
|
||||
Subject: [PATCH 1/8] arm64: dts: meson: add i2c3/rtc nodes and rtc aliases to
|
||||
ODROID-N2 dtsi
|
||||
Subject: [PATCH 04/11] arm64: dts: meson: add i2c3/rtc nodes and rtc aliases
|
||||
to ODROID-N2 dtsi
|
||||
|
||||
Enable the onboard pcf8563 rtc hardware on ODROID N2/N2+ boards via the
|
||||
common dtsi. Also add aliases to ensure vrtc does not claim /dev/rtc0.
|
||||
@@ -17,7 +19,7 @@ Link: https://lore.kernel.org/r/20210111135831.2218-1-christianshewitt@gmail.com
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index 39a09661c5f6..b78be3e6974d 100644
|
||||
index 6982632ae646..5927c4493f5a 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -13,6 +13,8 @@ / {
|
||||
@@ -1,10 +1,10 @@
|
||||
From 8b2ab165b2ed529f74b242159648893d53272c24 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <8b2ab165b2ed529f74b242159648893d53272c24.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From 3f2aecc668b172e0c91bf1bfdc78ee18a6bb6645 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <3f2aecc668b172e0c91bf1bfdc78ee18a6bb6645.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Hyeonki Hong <hhk7734@gmail.com>
|
||||
Date: Wed, 7 Apr 2021 04:26:08 +0000
|
||||
Subject: [PATCH 2/8] arm64: dts: meson: add saradc node to ODROID N2/N2+
|
||||
Subject: [PATCH 05/11] arm64: dts: meson: add saradc node to ODROID N2/N2+
|
||||
|
||||
Add the meson saradc node to the ODROID N2/N2+ common dtsi.
|
||||
|
||||
@@ -17,7 +17,7 @@ Link: https://lore.kernel.org/r/20210407042609.9736-3-christianshewitt@gmail.com
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index b78be3e6974d..8a5e132c4b79 100644
|
||||
index 5927c4493f5a..194a437b4e3f 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -508,6 +508,11 @@ &pwm_AO_cd {
|
||||
@@ -1,10 +1,10 @@
|
||||
From 602012d9081be7a54d2d6cee59035ae019dd3bb4 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <602012d9081be7a54d2d6cee59035ae019dd3bb4.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From d13c62fab2c91cacda74a9001ea6a6c7d8a9af39 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <d13c62fab2c91cacda74a9001ea6a6c7d8a9af39.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Hyeonki Hong <hhk7734@gmail.com>
|
||||
Date: Wed, 7 Apr 2021 04:26:09 +0000
|
||||
Subject: [PATCH 3/8] arm64: dts: meson: add GPIO line names to ODROID N2/N2+
|
||||
Subject: [PATCH 06/11] arm64: dts: meson: add GPIO line names to ODROID N2/N2+
|
||||
|
||||
Add GPIO line-name identifiers to the ODROID N2/N2+ common dtsi.
|
||||
|
||||
@@ -18,7 +18,7 @@ Link: https://lore.kernel.org/r/20210407042609.9736-4-christianshewitt@gmail.com
|
||||
1 file changed, 45 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index 8a5e132c4b79..41b2f9c96b5f 100644
|
||||
index 194a437b4e3f..fe85aa6da460 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -446,6 +446,51 @@ &frddr_c {
|
||||
@@ -1,10 +1,10 @@
|
||||
From 0a70fbc9a556737d3f70a1a194ba7be280b007c5 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <0a70fbc9a556737d3f70a1a194ba7be280b007c5.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From 25cd545d370b67f5e5e19d93484d378571526da2 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <25cd545d370b67f5e5e19d93484d378571526da2.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 11 Jan 2021 11:20:48 +0100
|
||||
Subject: [PATCH 4/8] arm64: dts: meson: g12b: add power button support
|
||||
Subject: [PATCH 07/11] arm64: dts: meson: g12b: add power button support
|
||||
|
||||
Add power button support on J2 pin 11 (GPIOX_3 on the SoC side). The
|
||||
GPIO is low active, e.g. when connecting with pin 9 (GND) a power
|
||||
@@ -16,7 +16,7 @@ Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index 41b2f9c96b5f..4b6bb7e74e25 100644
|
||||
index fe85aa6da460..9b1541ee2273 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -39,6 +39,17 @@ emmc_pwrseq: emmc-pwrseq {
|
||||
@@ -1,10 +1,10 @@
|
||||
From 8a4a640d1b8dea977795de3f49b6ea3a791e401a Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <8a4a640d1b8dea977795de3f49b6ea3a791e401a.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From b94a0698f21a2d8f6623b69fc17fe9491bc22a9b Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <b94a0698f21a2d8f6623b69fc17fe9491bc22a9b.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 11 Jan 2021 11:38:54 +0100
|
||||
Subject: [PATCH 5/8] arm64: dts: meson: g12b: add GPIO fan support
|
||||
Subject: [PATCH 08/11] arm64: dts: meson: g12b: add GPIO fan support
|
||||
|
||||
Add simple GPIO fan node to support a fan on GPIO J8. Unfortunately the
|
||||
pad used to control the fan does not support real PWM, hence the RPM
|
||||
@@ -16,7 +16,7 @@ Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index 4b6bb7e74e25..e8a3ede698b5 100644
|
||||
index 9b1541ee2273..8ad7c3ee1aa3 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -39,6 +39,17 @@ emmc_pwrseq: emmc-pwrseq {
|
||||
@@ -1,10 +1,10 @@
|
||||
From eee30c74e72b6092b5e30c4744a4f1d7d9526403 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <eee30c74e72b6092b5e30c4744a4f1d7d9526403.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From 4d9f93dbdc93e83ba8ddf01893b3c29cd11a87f9 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <4d9f93dbdc93e83ba8ddf01893b3c29cd11a87f9.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 11 Jan 2021 15:53:55 +0100
|
||||
Subject: [PATCH 6/8] arm64: dts: meson: g12b: odroid-n2: add fan as cooling
|
||||
Subject: [PATCH 09/11] arm64: dts: meson: g12b: odroid-n2: add fan as cooling
|
||||
device
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
@@ -21,7 +21,7 @@ Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
1 file changed, 38 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index e8a3ede698b5..dd345c6aa4b5 100644
|
||||
index 8ad7c3ee1aa3..c4052293ea0d 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -388,6 +388,44 @@ &clkc_audio {
|
||||
@@ -1,10 +1,10 @@
|
||||
From b10ae8fd3bef195eda4a30bc5f3995ca13b6cffd Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <b10ae8fd3bef195eda4a30bc5f3995ca13b6cffd.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From 1eeec94aa6dd6f9900e6213025916eb85f6b3b62 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <1eeec94aa6dd6f9900e6213025916eb85f6b3b62.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Hyeonki Hong <hhk7734@gmail.com>
|
||||
Date: Fri, 27 Mar 2020 17:05:22 +0900
|
||||
Subject: [PATCH 7/8] arm64: dts: meson: add uart_A node
|
||||
Subject: [PATCH 10/11] arm64: dts: meson: add uart_A node
|
||||
|
||||
The UART_A is available through J3 pin 8/10 and documented to be
|
||||
available as UART by default.
|
||||
@@ -15,7 +15,7 @@ Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index dd345c6aa4b5..cec346178e3d 100644
|
||||
index c4052293ea0d..38a996ed3e19 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -12,6 +12,7 @@
|
||||
@@ -1,10 +1,10 @@
|
||||
From aea42d4a9a307438bf7099aee38daedac2bd5044 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <aea42d4a9a307438bf7099aee38daedac2bd5044.1619725559.git.stefan@agner.ch>
|
||||
In-Reply-To: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
References: <cdfb8eea4103e537898073dc3f7bf8f75cec5efb.1619725559.git.stefan@agner.ch>
|
||||
From 400fce2e1eaab6d04f542eaa0fe3b53fb9d79d82 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <400fce2e1eaab6d04f542eaa0fe3b53fb9d79d82.1622055679.git.stefan@agner.ch>
|
||||
In-Reply-To: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
References: <0955f7e64f302c5c331b90fd07fc48dfb677eab5.1622055679.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Thu, 29 Apr 2021 21:32:43 +0200
|
||||
Subject: [PATCH 8/8] arm64: dts: meson: add i2c2 node to ODROID N2/N2+
|
||||
Subject: [PATCH 11/11] arm64: dts: meson: add i2c2 node to ODROID N2/N2+
|
||||
|
||||
The J2 connectors pinout documents "I2C.SDA0/SCL0" on pin 3 and 5, which
|
||||
are connected to GPIOX_17/18. This GPIO allow to mux I2C to the second
|
||||
@@ -16,7 +16,7 @@ Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
index cec346178e3d..f1c3356c78a0 100644
|
||||
index 38a996ed3e19..45a8998c4a3a 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
||||
@@ -586,6 +586,12 @@ &ir {
|
||||
@@ -6,6 +6,5 @@ CONFIG_DRIVER_SERIAL_EFI_STDIO=y
|
||||
# CONFIG_SPI is not set
|
||||
CONFIG_DISK=y
|
||||
CONFIG_DISK_WRITE=y
|
||||
CONFIG_CLOCKSOURCE_EFI=y
|
||||
CONFIG_FS_EFI=y
|
||||
CONFIG_FS_EFIVARFS=y
|
||||
|
||||
@@ -23,3 +23,5 @@ CONFIG_MMC_SDHCI=y
|
||||
CONFIG_MMC_SDHCI_ACPI=y
|
||||
CONFIG_MMC_SDHCI_PCI=y
|
||||
CONFIG_X86_INTEL_LPSS=y
|
||||
|
||||
CONFIG_THINKPAD_ACPI=m
|
||||
|
||||
@@ -10,7 +10,7 @@ function hassos_pre_image() {
|
||||
cp "${BINARIES_DIR}/barebox.bin" "${BOOT_DATA}/EFI/BOOT/BOOTx64.EFI"
|
||||
cp "${BR2_EXTERNAL_HASSOS_PATH}/bootloader/barebox-state-efi.dtb" "${BOOT_DATA}/EFI/barebox/state.dtb"
|
||||
|
||||
echo "console=tty1" > "${BOOT_DATA}/cmdline.txt"
|
||||
echo "console=ttyS0 console=tty1" > "${BOOT_DATA}/cmdline.txt"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,10 @@ CONFIG_PARTITION_DISK_EFI=y
|
||||
CONFIG_STATE=y
|
||||
CONFIG_STATE_DRV=y
|
||||
CONFIG_BOOTCHOOSER=y
|
||||
CONFIG_RESET_SOURCE=y
|
||||
CONFIG_CMD_BOOT=y
|
||||
CONFIG_CMD_RESET=y
|
||||
CONFIG_CMD_BOOTCHOOSER=y
|
||||
CONFIG_CMD_NV=y
|
||||
CONFIG_CMD_EXPORT=y
|
||||
CONFIG_CMD_GLOBAL=y
|
||||
@@ -27,21 +30,21 @@ CONFIG_CMD_BASENAME=y
|
||||
CONFIG_CMD_DIRNAME=y
|
||||
CONFIG_CMD_READLINK=y
|
||||
CONFIG_CMD_GETOPT=y
|
||||
CONFIG_CMD_READF=y
|
||||
CONFIG_CMD_ECHO_E=y
|
||||
CONFIG_CMD_EDIT=y
|
||||
CONFIG_CMD_MENUTREE=y
|
||||
CONFIG_CMD_TIMEOUT=y
|
||||
CONFIG_CMD_OFTREE=y
|
||||
CONFIG_CMD_STATE=y
|
||||
CONFIG_CMD_BOOTCHOOSER=y
|
||||
CONFIG_CMD_READF=y
|
||||
|
||||
CONFIG_OFTREE=y
|
||||
CONFIG_OFTREE_OVERLAY=y
|
||||
|
||||
CONFIG_DISK=y
|
||||
CONFIG_DISK_WRITE=y
|
||||
|
||||
CONFIG_FS_EXT4=y
|
||||
CONFIG_FS_FAT=y
|
||||
CONFIG_FS_FAT_WRITE=y
|
||||
CONFIG_FS_FAT_LFN=y
|
||||
CONFIG_FS_EXT4=y
|
||||
CONFIG_LZ4_DECOMPRESS=y
|
||||
|
||||
@@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/generic-x86-64 $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/generic-x86-64/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.37"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/generic-x86-64/kernel.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -94,7 +94,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_BAREBOX=y
|
||||
BR2_TARGET_BAREBOX_CUSTOM_VERSION=y
|
||||
BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2020.04.0"
|
||||
BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2021.05.0"
|
||||
BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y
|
||||
BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/barebox.config"
|
||||
BR2_TARGET_BAREBOX_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/barebox.config"
|
||||
|
||||
@@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c2 $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c2/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.37"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/kernel-amlogic.config"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
|
||||
@@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c4 $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c4/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.37"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/kernel-amlogic.config"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
|
||||
@@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-n2 $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-n2/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.37"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9.16"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/kernel-amlogic.config"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-n2/kernel.config"
|
||||
@@ -94,7 +94,7 @@ BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/u
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-n2/uboot-boot.ush"
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_E2FSPROGS=y
|
||||
BR2_PACKAGE_HOST_GPTFDISK=y
|
||||
|
||||
@@ -3,7 +3,7 @@ BR2_cortex_a7=y
|
||||
BR2_DL_DIR="/cache/dl"
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="/cache/cc"
|
||||
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/patches"
|
||||
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-xu4/patches"
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_GCC_VERSION_9_X=y
|
||||
BR2_OPTIMIZE_2=y
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-xu4 $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-xu4/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.37"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="exynos"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/ova $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/ova/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.37"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/ova/kernel.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -96,7 +96,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_BAREBOX=y
|
||||
BR2_TARGET_BAREBOX_CUSTOM_VERSION=y
|
||||
BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2020.04.0"
|
||||
BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2021.05.0"
|
||||
BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y
|
||||
BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/barebox.config"
|
||||
BR2_TARGET_BAREBOX_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/barebox.config"
|
||||
|
||||
@@ -23,7 +23,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/asus/tinker $(BR2_EXTERNAL_HASSOS_PATH)/board/asus/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.37"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.45"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/asus/tinker/kernel.config"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
|
||||
@@ -37,6 +37,12 @@ CONFIG_VLAN_8021Q=m
|
||||
CONFIG_VLAN_8021Q_GVRP=y
|
||||
CONFIG_VLAN_8021Q_MVRP=y
|
||||
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_WEXT_CORE=y
|
||||
CONFIG_WEXT_PROC=y
|
||||
CONFIG_CFG80211=m
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
|
||||
CONFIG_CIFS=m
|
||||
CONFIG_CIFS_XATTR=y
|
||||
CONFIG_CIFS_POSIX=y
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
VERSION_MAJOR=6
|
||||
VERSION_BUILD=0
|
||||
VERSION_BUILD=1
|
||||
|
||||
HASSOS_NAME="Home Assistant OS"
|
||||
HASSOS_ID="haos"
|
||||
|
||||
DEPLOYMENT="development"
|
||||
DEPLOYMENT="production"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
GENERIC_RAW_UART_VERSION = dab76ddd1d568cc4925dc778e43d70fccffdc0e8
|
||||
GENERIC_RAW_UART_VERSION = 1ea534903aba4c68187c27a0841f0f432a29e789
|
||||
GENERIC_RAW_UART_SITE = $(call github,alexreinert,piVCCU,$(GENERIC_RAW_UART_VERSION))
|
||||
GENERIC_RAW_UART_LICENSE = GPL2
|
||||
#GENERIC_RAW_UART_LICENSE_FILES = LICENSE
|
||||
|
||||
3
buildroot-external/rootfs-overlay/etc/motd
Normal file
3
buildroot-external/rootfs-overlay/etc/motd
Normal file
@@ -0,0 +1,3 @@
|
||||
Welcome to [01;34mHome Assistant OS[00m.
|
||||
|
||||
Use `ha` to access the Home Assistant CLI.
|
||||
@@ -3,5 +3,4 @@
|
||||
# HA utility
|
||||
# ==============================================================================
|
||||
|
||||
# shellcheck disable=SC2048,SC2086
|
||||
docker exec hassio_cli ha $*
|
||||
docker exec hassio_cli ha "$@"
|
||||
|
||||
@@ -22,7 +22,6 @@ Before=rescue.service
|
||||
# option to preserve environment (-p), followed by '--' for safety, and then
|
||||
# the entered username.
|
||||
ExecStart=/usr/sbin/hassos-cli
|
||||
RemainAfterExit=yes
|
||||
Type=idle
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
|
||||
@@ -331,5 +331,5 @@ function convert_disk_image_zip() {
|
||||
local hdd_img="$(hassos_image_name "${hdd_ext}")"
|
||||
|
||||
rm -f "${hdd_img}.zip"
|
||||
zip -r "${hdd_img}.zip" "${hdd_img}"
|
||||
zip -j -q -r "${hdd_img}.zip" "${hdd_img}"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
From 9c98c07abbe9ee675ec588ad7c15f0285e8a0f07 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From 09f9b55b419ef01ad24998bbacb1a49976b58bfa Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 13 Jan 2020 12:27:06 +0000
|
||||
Subject: [PATCH 1/9] docker: add AppArmor support
|
||||
Subject: [PATCH 1/8] docker: add AppArmor support
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
@@ -27,5 +27,5 @@ index e229d9cb54..e968518a69 100644
|
||||
DOCKER_CONTAINERD_DEPENDENCIES += libseccomp host-pkgconf
|
||||
DOCKER_CONTAINERD_TAGS += seccomp
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
From dc4191d1393e2d25e1270d6b7c60d780b52f6179 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <dc4191d1393e2d25e1270d6b7c60d780b52f6179.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From e06ba47c59eec31475a8302fca569a0315158154 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <e06ba47c59eec31475a8302fca569a0315158154.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Thu, 16 Apr 2020 14:32:45 +0000
|
||||
Subject: [PATCH 2/9] network-manager: wpa_supplicant
|
||||
Subject: [PATCH 2/8] network-manager: wpa_supplicant
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
@@ -29,7 +29,7 @@ index 7d44768460..218dc860ff 100644
|
||||
select BR2_PACKAGE_LIBNDP
|
||||
help
|
||||
diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk
|
||||
index 9402564cb4..79ae42e987 100644
|
||||
index 607c2b402b..c8351d8730 100644
|
||||
--- a/package/network-manager/network-manager.mk
|
||||
+++ b/package/network-manager/network-manager.mk
|
||||
@@ -10,7 +10,7 @@ NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz
|
||||
@@ -42,5 +42,5 @@ index 9402564cb4..79ae42e987 100644
|
||||
NETWORK_MANAGER_LICENSE_FILES = COPYING COPYING.LGPL CONTRIBUTING
|
||||
NETWORK_MANAGER_CPE_ID_VENDOR = gnome
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
From 3ca46afd47a195d35bca247c75f02f3c95f1c1ef Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <3ca46afd47a195d35bca247c75f02f3c95f1c1ef.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From 654f5326428f1f442369589ce74333a44293fac2 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <654f5326428f1f442369589ce74333a44293fac2.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Thu, 16 Apr 2020 12:01:44 +0000
|
||||
Subject: [PATCH 3/9] Fix dhcp client
|
||||
Subject: [PATCH 3/8] Fix dhcp client
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
@@ -12,10 +12,10 @@ Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
|
||||
index 988c7792dc..d8f331719a 100644
|
||||
index 1edb3c5e99..b945c46b18 100644
|
||||
--- a/package/dhcp/dhcp.mk
|
||||
+++ b/package/dhcp/dhcp.mk
|
||||
@@ -77,8 +77,7 @@ endif
|
||||
@@ -79,8 +79,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y)
|
||||
define DHCP_INSTALL_CLIENT
|
||||
@@ -26,5 +26,5 @@ index 988c7792dc..d8f331719a 100644
|
||||
install-sbinPROGRAMS
|
||||
$(INSTALL) -m 0644 -D package/dhcp/dhclient.conf \
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
From d6d381417d7e1aa442b27a699e790572b2b233d2 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <d6d381417d7e1aa442b27a699e790572b2b233d2.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From 81093c8655737f9208df3b75371290600625bec8 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <81093c8655737f9208df3b75371290600625bec8.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 8 Feb 2021 14:08:28 +0100
|
||||
Subject: [PATCH 4/9] package/rpi-firmware: Allow to deploy multiple firmware
|
||||
Subject: [PATCH 4/8] package/rpi-firmware: Allow to deploy multiple firmware
|
||||
files
|
||||
|
||||
Add a new config option to allow a specific list of firmware files to be
|
||||
@@ -72,5 +72,5 @@ index f3d28ef825..58085a8ca8 100644
|
||||
$(RPI_FIRMWARE_INSTALL_DTB)
|
||||
$(RPI_FIRMWARE_INSTALL_DTB_OVERLAYS)
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
From de154cd65e16420abc726bd25b5a35c70b81623f Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <de154cd65e16420abc726bd25b5a35c70b81623f.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From f93e6246fbc58814dd4547eade63102c7626b76b Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <f93e6246fbc58814dd4547eade63102c7626b76b.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Wed, 17 Mar 2021 14:48:43 +0100
|
||||
Subject: [PATCH 5/9] package/linux-firmware: add RTL87XX/RTL88XX Bluetooth
|
||||
Subject: [PATCH 5/8] package/linux-firmware: add RTL87XX/RTL88XX Bluetooth
|
||||
firmware
|
||||
|
||||
Add firmware files for Realtek 87XX and 88XX Bluetooth chipsets. Those
|
||||
@@ -70,5 +70,5 @@ index f23da171c6..9c512ab750 100644
|
||||
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y)
|
||||
LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
From f69e0329ecb778a680a7337024f49eda79bab5b8 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <f69e0329ecb778a680a7337024f49eda79bab5b8.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From 28a2450108743762b3b43629c86248f5fe45aa70 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <28a2450108743762b3b43629c86248f5fe45aa70.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Thu, 15 Apr 2021 17:22:59 +0200
|
||||
Subject: [PATCH 9/9] package/docker-proxy: bump version to b3507428be5b
|
||||
Subject: [PATCH 6/8] package/docker-proxy: bump version to b3507428be5b
|
||||
|
||||
Which is the version used by docker 20.10.6:
|
||||
https://github.com/moby/moby/commit/88470052e7d42f3dc774442241fd6bab817876f6
|
||||
@@ -40,5 +40,5 @@ index 6600b24ed9..7270834119 100644
|
||||
DOCKER_PROXY_LICENSE = Apache-2.0
|
||||
DOCKER_PROXY_LICENSE_FILES = LICENSE
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
From 5cffe6f96bcab32bbe5019bc4426c1cbdd7f2593 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <5cffe6f96bcab32bbe5019bc4426c1cbdd7f2593.1618824199.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618824199.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618824199.git.stefan@agner.ch>
|
||||
From 30030f11ea80bee5f25136a3caf070a9b97e8b10 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <30030f11ea80bee5f25136a3caf070a9b97e8b10.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Mon, 19 Apr 2021 10:59:03 +0200
|
||||
Subject: [PATCH 11/11] package/rpi-firmware: bump version to 1.20210303
|
||||
Subject: [PATCH 7/8] package/rpi-firmware: bump version to 1.20210303
|
||||
|
||||
Keep rpi-firmware up-to-date with the kernel version bump (tag
|
||||
1.20210303).
|
||||
@@ -38,5 +38,5 @@ index 58085a8ca8..ea82836900 100644
|
||||
RPI_FIRMWARE_LICENSE = BSD-3-Clause
|
||||
RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
|
||||
--
|
||||
2.31.1
|
||||
2.32.0
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
From b169d34718e596e885c34b4fda9af4f85fbc5f1f Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <b169d34718e596e885c34b4fda9af4f85fbc5f1f.1618500237.git.stefan@agner.ch>
|
||||
In-Reply-To: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
References: <9c98c07abbe9ee675ec588ad7c15f0285e8a0f07.1618500237.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Thu, 15 Apr 2021 17:22:23 +0200
|
||||
Subject: [PATCH 7/9] package/runc: bump to version 1.0.0-rc93
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
package/runc/runc.hash | 2 +-
|
||||
package/runc/runc.mk | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/runc/runc.hash b/package/runc/runc.hash
|
||||
index d792947d5f..0f9cfbbe9a 100644
|
||||
--- a/package/runc/runc.hash
|
||||
+++ b/package/runc/runc.hash
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
-sha256 28378df983a3c586ed3ec8c76a774a9b10f36a0c323590a284b801cce95cc61f runc-1.0.0-rc92.tar.gz
|
||||
+sha256 e42456078d2f76c925cdd656e4f423b918525d8188521de05e893b6bb473a6f8 runc-1.0.0-rc93.tar.gz
|
||||
sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE
|
||||
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
|
||||
index 14689bbde1..c5cb57bdc8 100644
|
||||
--- a/package/runc/runc.mk
|
||||
+++ b/package/runc/runc.mk
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
RUNC_VERSION_MAJOR = 1.0.0
|
||||
-RUNC_VERSION_MINOR = rc92
|
||||
+RUNC_VERSION_MINOR = rc93
|
||||
RUNC_VERSION = $(RUNC_VERSION_MAJOR)-$(RUNC_VERSION_MINOR)
|
||||
RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION))
|
||||
RUNC_LICENSE = Apache-2.0
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
From af2981f04e79fc5d4298e027d7a02ecfd3316bd7 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <af2981f04e79fc5d4298e027d7a02ecfd3316bd7.1624121036.git.stefan@agner.ch>
|
||||
In-Reply-To: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
References: <09f9b55b419ef01ad24998bbacb1a49976b58bfa.1624121036.git.stefan@agner.ch>
|
||||
From: Stefan Agner <stefan@agner.ch>
|
||||
Date: Sat, 19 Jun 2021 18:20:46 +0200
|
||||
Subject: [PATCH 8/8] package/linux-firmware: add rtl8761b/rtl8761bu firmware
|
||||
|
||||
Bumpt to latest git hash and deploy rtl8761b/rtl8761bu firmwares as
|
||||
well.
|
||||
|
||||
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
||||
---
|
||||
package/linux-firmware/linux-firmware.hash | 2 +-
|
||||
package/linux-firmware/linux-firmware.mk | 6 ++++--
|
||||
2 files changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/package/linux-firmware/linux-firmware.hash b/package/linux-firmware/linux-firmware.hash
|
||||
index 12af68f2d3..df66b87c50 100644
|
||||
--- a/package/linux-firmware/linux-firmware.hash
|
||||
+++ b/package/linux-firmware/linux-firmware.hash
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated
|
||||
-sha256 f97d6d884026c5e3641909946713dcfea580c307d47830d37d42bfcc9a93870a linux-firmware-20201022-br1.tar.gz
|
||||
+sha256 cfbacbadf8b7ad2fd8ce1198f3d923329777922e45ff3f9497a98c7f2e15c485 linux-firmware-64f02a260ef8bd9e0d1dad369ef376338045d15b-br1.tar.gz
|
||||
sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis
|
||||
sha256 8d5847d2971241d4d6a51c16e206379de53a6d4e203fa6f8e1c1e9279c7c4ad0 LICENSE.amdgpu
|
||||
sha256 2d6062d63b91eb750bf741498691604f75184b9fee97608ec537cd09bd6a42b4 LICENCE.Marvell
|
||||
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
|
||||
index 9c512ab750..96da50751b 100644
|
||||
--- a/package/linux-firmware/linux-firmware.mk
|
||||
+++ b/package/linux-firmware/linux-firmware.mk
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-LINUX_FIRMWARE_VERSION = 20201022
|
||||
+LINUX_FIRMWARE_VERSION = 64f02a260ef8bd9e0d1dad369ef376338045d15b
|
||||
LINUX_FIRMWARE_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
|
||||
LINUX_FIRMWARE_SITE_METHOD = git
|
||||
|
||||
@@ -70,7 +70,9 @@ LINUX_FIRMWARE_FILES += \
|
||||
rtl_bt/rtl8723a_fw.bin rtl_bt/rtl8723b_fw.bin \
|
||||
rtl_bt/rtl8723bs_config-OBDA8723.bin \
|
||||
rtl_bt/rtl8723bs_fw.bin rtl_bt/rtl8723d_config.bin \
|
||||
- rtl_bt/rtl8723d_fw.bin rtl_bt/rtl8761a_fw.bin
|
||||
+ rtl_bt/rtl8723d_fw.bin rtl_bt/rtl8761a_fw.bin \
|
||||
+ rtl_bt/rtl8761b_fw.bin rtl_bt/rtl8761b_config.bin \
|
||||
+ rtl_bt/rtl8761bu_fw.bin rtl_bt/rtl8761bu_config.bin
|
||||
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
|
||||
endif
|
||||
|
||||
--
|
||||
2.32.0
|
||||
|
||||
@@ -1,3 +1,48 @@
|
||||
2021.02.3, released June 12th, 2021
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
CPE meta data has been added for a large number of packages
|
||||
|
||||
Updated/fixed packages: acpid, apache, apcupsd, assimp, bird,
|
||||
bitcoin, blktrace, boost, capnproto, chrony, dc3dd, dhcp,
|
||||
directfb, dmalloc, docker-engine, ebtables, efibootmgr,
|
||||
enlightenment, enscript, environment-setup, exempi, expat,
|
||||
findutils, flatcc, fluidsynth, frr, gdb, go, gptfdisk, grpc,
|
||||
gst1-plugins-bad, gst1-rtsp-server, gstreamer1, gupnp,
|
||||
hostapd, hwloc, i2c-tools, iftop, imagemagick, imx-gpu-viv,
|
||||
intel-mediadriver, intel-microcode, jquery-validation,
|
||||
keepalived, kodi, less, libcamera, libcurl, libcutl, libesmtp,
|
||||
libeXosip2, libffi, libfuse, libfuse3, libgeos, libgtk2,
|
||||
libgtk3, libical, libidn, libidn2, libkcapi, libldns, libmms,
|
||||
libmodbus, libmspack, libnids, libopenh264, liboping, libraw,
|
||||
librelp, libsamplerate, libtirpc, libusb, libuv, libxcb,
|
||||
libxml2, libxslt, live555, llvm, lmbench, localedef,
|
||||
lttng-tools, lvm2, lz4, mesa3d, mimic, mini-snmpd, minidlna,
|
||||
minissdpd, minizip, mono-gtksharp3, mpg123, mpv, msmtp, musl,
|
||||
mutt, nasm, nbd, netperf, netsurf, nginx, odb, opencv3,
|
||||
openssh, opentyrian, oprofile, p7zip, paho-mqtt-c, perl,
|
||||
php-imagick, pifmrds, picocom, pigz, pngquant, poco,
|
||||
postgresql, prosody, proxychains-ng, pulseaudio, putty, pwgen,
|
||||
python-autobahn, python-bluezero, python-engineio,
|
||||
python-keyring, python-pillow, python-requests, python-tqdm,
|
||||
qemu, qpdf, qt5base, redis, refpolicy, rt-tests, runc,
|
||||
shellinabox, squid, strace, supervisor, synergy, taglib,
|
||||
tclap, terminology, thermald, tini, tinyproxy, tinyxml2,
|
||||
tpm2-tss, uclibc, udisks, uhd, unscd, vlc, waylandpp,
|
||||
webkitgtk, weston, wireshark, wpa_supplicant, wpewebkit,
|
||||
xlib_libdmx, xlib_libFS, xlib_libICE, xlib_libX11,
|
||||
xlib_libXcursor, xlib_libXdmcp, xlib_libXext, xlib_libXfixes,
|
||||
xlib_libXfont2, xlib_libXinerama, xlib_libXpm, xlib_libXres,
|
||||
xlib_libXt, xlib_libXtst, xlib_libXxf86dga, xlib_libXxf86vm,
|
||||
xterm
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#13781: isc dhcp-server package don't create file /usr/bin/dhcpd
|
||||
#13801: toolchainfile.cmake CMAKE_BUILD_TYPE
|
||||
#13806: Building host-localedef fails on fedora 34/gcc 11
|
||||
|
||||
2021.02.2, released May 12th, 2021
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
@@ -715,6 +715,8 @@ comment "Security Hardening Options"
|
||||
|
||||
config BR2_PIC_PIE
|
||||
bool "Build code with PIC/PIE"
|
||||
# Nios2 toolchains produce non working binaries with -fPIC
|
||||
depends on !BR2_nios2
|
||||
depends on BR2_SHARED_LIBS
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
help
|
||||
@@ -722,6 +724,7 @@ config BR2_PIC_PIE
|
||||
Position-Independent Executables (PIE).
|
||||
|
||||
comment "PIC/PIE needs a toolchain w/ PIE"
|
||||
depends on !BR2_nios2
|
||||
depends on BR2_SHARED_LIBS
|
||||
depends on !BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
|
||||
@@ -808,6 +811,7 @@ config BR2_RELRO_PARTIAL
|
||||
|
||||
config BR2_RELRO_FULL
|
||||
bool "Full"
|
||||
depends on !BR2_nios2 # BR2_PIC_PIE
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
select BR2_PIC_PIE
|
||||
help
|
||||
@@ -816,6 +820,7 @@ config BR2_RELRO_FULL
|
||||
program loading, i.e every time an executable is started.
|
||||
|
||||
comment "RELRO Full needs a toolchain w/ PIE"
|
||||
depends on !BR2_nios2
|
||||
depends on !BR2_TOOLCHAIN_SUPPORTS_PIE
|
||||
|
||||
endchoice
|
||||
|
||||
@@ -309,6 +309,7 @@ F: package/apache/
|
||||
F: package/apr/
|
||||
F: package/apr-util/
|
||||
F: package/bcg729/
|
||||
F: package/bitcoin/
|
||||
F: package/bluez-tools/
|
||||
F: package/boinc/
|
||||
F: package/clamav/
|
||||
@@ -331,8 +332,12 @@ F: package/gkrellm/
|
||||
F: package/gli/
|
||||
F: package/glmark2/
|
||||
F: package/gpsd/
|
||||
F: package/gptfdisk/
|
||||
F: package/hdparm/
|
||||
F: package/inih/
|
||||
F: package/intel-gmmlib/
|
||||
F: package/intel-mediadriver/
|
||||
F: package/intel-mediasdk/
|
||||
F: package/jsoncpp/
|
||||
F: package/kodi*
|
||||
F: package/lame/
|
||||
@@ -487,16 +492,6 @@ F: package/libsvg-cairo/
|
||||
N: Cédric Chépied <cedric.chepied@gmail.com>
|
||||
F: package/znc/
|
||||
|
||||
N: Chakra Divi <chakra@openedev.com>
|
||||
F: board/friendlyarm/nanopi-m1
|
||||
F: board/friendlyarm/nanopi-m1-plus
|
||||
F: board/olimex/a13_olinuxino
|
||||
F: board/orangepi/orangepi-plus
|
||||
F: configs/friendlyarm_nanopi_m1_defconfig
|
||||
F: configs/friendlyarm_nanopi_m1_plus_defconfig
|
||||
F: configs/olimex_a13_olinuxino_defconfig
|
||||
F: configs/orangepi_plus_defconfig
|
||||
|
||||
N: Chris Packham <judge.packham@gmail.com>
|
||||
F: package/coremark/
|
||||
F: package/coremark-pro/
|
||||
@@ -673,6 +668,7 @@ F: package/ipcalc/
|
||||
|
||||
N: Dick Olsson <hi@senzilla.io>
|
||||
F: package/bearssl/
|
||||
F: package/bitcoin/
|
||||
F: package/execline/
|
||||
F: package/mdevd/
|
||||
F: package/s6-dns/
|
||||
|
||||
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2021.02.2
|
||||
export BR2_VERSION := 2021.02.3
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1620810000
|
||||
BR2_VERSION_EPOCH = 1623509900
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -20,7 +20,7 @@ Buildroot comes with a basic configuration for a number of boards. Run
|
||||
|
||||
Please feed suggestions, bug reports, insults, and bribes back to the
|
||||
buildroot mailing list: buildroot@buildroot.org
|
||||
You can also find us on #buildroot on Freenode IRC.
|
||||
You can also find us on #buildroot on OFTC IRC.
|
||||
|
||||
If you would like to contribute patches, please read
|
||||
https://buildroot.org/manual.html#submitting-patches
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -174,13 +174,13 @@ List of Examples
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
Buildroot 2021.02.2 manual generated on 2021-05-12 09:07:48 UTC from
|
||||
git revision 76b4f9e9b6
|
||||
Buildroot 2021.02.3 manual generated on 2021-06-12 15:00:43 UTC from
|
||||
git revision 5293208a57
|
||||
|
||||
The Buildroot manual is written by the Buildroot developers. It is
|
||||
licensed under the GNU General Public License, version 2. Refer to
|
||||
the COPYING [http://git.buildroot.org/buildroot/tree/COPYING?id=
|
||||
76b4f9e9b658d3a4a72266e4aa2e63aa7a3f54f9] file in the Buildroot
|
||||
5293208a57ce78f9fc958704d7df52f28532cde6] file in the Buildroot
|
||||
sources for the full text of this license.
|
||||
|
||||
Copyright © 2004-2020 The Buildroot developers
|
||||
@@ -488,9 +488,9 @@ Mailing List
|
||||
|
||||
IRC
|
||||
|
||||
The Buildroot IRC channel #buildroot [irc://freenode.net/#
|
||||
buildroot] is hosted on Freenode [http://webchat.freenode.net].
|
||||
It is a useful place to ask quick questions or discuss on certain
|
||||
The Buildroot IRC channel #buildroot [irc://irc.oftc.net/#
|
||||
buildroot] is hosted on OFTC [https://www.oftc.net/WebChat/]. It
|
||||
is a useful place to ask quick questions or discuss on certain
|
||||
topics.
|
||||
|
||||
When asking for help on IRC, share relevant logs or pieces of
|
||||
|
||||
@@ -29,8 +29,8 @@ there is a good chance someone else has asked the same question before.
|
||||
|
||||
IRC::
|
||||
+
|
||||
The Buildroot IRC channel irc://freenode.net/#buildroot[#buildroot] is
|
||||
hosted on http://webchat.freenode.net[Freenode]. It is a useful place to
|
||||
The Buildroot IRC channel irc://irc.oftc.net/#buildroot[#buildroot] is
|
||||
hosted on https://www.oftc.net/WebChat/[OFTC]. It is a useful place to
|
||||
ask quick questions or discuss on certain topics.
|
||||
+
|
||||
When asking for help on IRC, share relevant logs or pieces of code
|
||||
|
||||
@@ -19,15 +19,15 @@
|
||||
<img class="img-responsive" src="images/irc.png" style="max-width:50px; margin-bottom:10px;">
|
||||
</div>
|
||||
<div class="col-sm-11">
|
||||
<p>The Buildroot IRC channel is <a href="irc://freenode.net/#buildroot">
|
||||
#buildroot</a>, hosted on Freenode. If you do not have an IRC client, you can
|
||||
use the <a href="http://webchat.freenode.net">Freenode web interface</a>.
|
||||
<p>The Buildroot IRC channel is <a href="irc://irc.oftc.net/#buildroot">
|
||||
#buildroot</a>, hosted on OFTC. If you do not have an IRC client, you can
|
||||
use the <a href="https://www.oftc.net/WebChat/">OFTC web interface</a>.
|
||||
When asking for help on IRC, share relevant logs or pieces of code using a code
|
||||
sharing website.</p>
|
||||
|
||||
<p>Note that due to excessive spamming on Freenode, the channel can only be
|
||||
<p>Note that due to excessive spamming on IRC, the channel can only be
|
||||
joined if you are a registered user with
|
||||
<a href="https://freenode.net/kb/answer/registration">Freenode nickserv</a>
|
||||
<a href="https://www.oftc.net/Services/">OFTC NickServ</a>
|
||||
service. Follow the instructions to register as a user with a password,
|
||||
and then join the <code>#buildroot</code> channel.</p>
|
||||
</div>
|
||||
|
||||
@@ -125,7 +125,7 @@ endif
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "5.10.35" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "5.10.43" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "4.19.182-cip45" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
default "4.19.165-cip41-rt18" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256 ac37a19d45b77a87e58e3aae8b127a6e7eb85ed7467fc8e58474b387bfd498fd linux-5.10.35.tar.xz
|
||||
sha256 4e989b5775830092e5c76b5cca65ebff862ad0c87d0b58c3a20d415c3d4ec770 linux-5.4.117.tar.xz
|
||||
sha256 83b81e433ba2f8ee143064fb163699ee857e26dd789006bc1e9edf1ccd0bd403 linux-5.10.43.tar.xz
|
||||
sha256 17ee750a4aeb1c883d721e730d1f7e2855124585e2f47766864a1359a7ebe33c linux-5.4.125.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
|
||||
sha256 6817ad26e1621bfad48d08b638f66c5933e89c7c8c00d43195b2e0ae260233eb linux-4.4.268.tar.xz
|
||||
sha256 5b66f6ce0137fb8d81004bcf2f1e3cbe01c38aab74268656c4ba015c1ccd762a linux-4.9.268.tar.xz
|
||||
sha256 1dc19361f6970bc94cc62be066702483db9cbd3d63f3089a8c90dabfced74369 linux-4.14.232.tar.xz
|
||||
sha256 6f9c2aee8553129d2bdbab646bbf7e88c2a5c38c0b1450f2e728831681bfc85d linux-4.19.190.tar.xz
|
||||
sha256 d13fa552be602825c443fcca90d6bdd72f4ebef809889ef015dba4593d3224ab linux-4.4.272.tar.xz
|
||||
sha256 f8bf0c390ae40ca736e104f10f744446bc534bf87ba1b6dbb2b7c9a8bece1058 linux-4.9.272.tar.xz
|
||||
sha256 e4eae297a6fefefd8ce4781d98178a7c1ee51ca0a4c8a7e46e61b121fbab8b2a linux-4.14.236.tar.xz
|
||||
sha256 aaaebdccf599f77148fe170642fa7dc2452cf994b5cbbb4d39cab9e7f4058896 linux-4.19.194.tar.xz
|
||||
# Locally computed
|
||||
sha256 9f1de83c5c2bb582a33bd4ee892d45671901cd06af9dc159f0f499f1b5265b20 linux-cip-4.19.182-cip45.tar.gz
|
||||
sha256 0eeba6d6ecc45cf8f16458842b64d22e7064b9de9c31c11d1c395b08a47e3855 linux-cip-4.19.165-cip41-rt18.tar.gz
|
||||
|
||||
@@ -9,6 +9,8 @@ ACPID_SOURCE = acpid-$(ACPID_VERSION).tar.xz
|
||||
ACPID_SITE = http://downloads.sourceforge.net/project/acpid2
|
||||
ACPID_LICENSE = GPL-2.0+
|
||||
ACPID_LICENSE_FILES = COPYING
|
||||
ACPID_CPE_ID_VENDOR = tedfelix
|
||||
ACPID_CPE_ID_PRODUCT = acpid2
|
||||
|
||||
define ACPID_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/acpid/acpid.service \
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
From 5b95d256387b45fbe33f7ee7890ae35afdd5c371 Mon Sep 17 00:00:00 2001
|
||||
From: Joe Orton <jorton@apache.org>
|
||||
Date: Fri, 13 Mar 2020 14:34:18 +0000
|
||||
Subject: [PATCH] * server/log.c (ap_log_pid): Use a temporary file, then
|
||||
rename once successfully written; also add error checking. Avoids startup
|
||||
failures if a previous httpd invocation crashed while writing the pidfile.
|
||||
|
||||
Submitted by: Nicolas Carrier <carrier.nicolas0 gmail.com>, jorton
|
||||
Github: closes #100, closes #69
|
||||
PR: 63140
|
||||
|
||||
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875153 13f79535-47bb-0310-9956-ffa450edef68
|
||||
Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
|
||||
---
|
||||
server/log.c | 33 ++++++++++++++++++++++++++-------
|
||||
1 file changed, 26 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/server/log.c b/server/log.c
|
||||
index f0bde6e4b8..8d54b4e057 100644
|
||||
--- a/server/log.c
|
||||
+++ b/server/log.c
|
||||
@@ -1598,6 +1598,9 @@ AP_DECLARE(void) ap_log_pid(apr_pool_t *p, const char *filename)
|
||||
pid_t mypid;
|
||||
apr_status_t rv;
|
||||
const char *fname;
|
||||
+ char *temp_fname;
|
||||
+ apr_fileperms_t perms;
|
||||
+ char pidstr[64];
|
||||
|
||||
if (!filename) {
|
||||
return;
|
||||
@@ -1626,19 +1629,35 @@ AP_DECLARE(void) ap_log_pid(apr_pool_t *p, const char *filename)
|
||||
fname);
|
||||
}
|
||||
|
||||
- if ((rv = apr_file_open(&pid_file, fname,
|
||||
- APR_WRITE | APR_CREATE | APR_TRUNCATE,
|
||||
- APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD, p))
|
||||
- != APR_SUCCESS) {
|
||||
+ temp_fname = apr_pstrcat(p, fname, ".XXXXXX", NULL);
|
||||
+ rv = apr_file_mktemp(&pid_file, temp_fname,
|
||||
+ APR_FOPEN_WRITE | APR_FOPEN_CREATE | APR_FOPEN_TRUNCATE, p);
|
||||
+ if (rv != APR_SUCCESS) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, APLOGNO(00099)
|
||||
- "could not create %s", fname);
|
||||
+ "could not create %s", temp_fname);
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, APLOGNO(00100)
|
||||
"%s: could not log pid to file %s",
|
||||
ap_server_argv0, fname);
|
||||
exit(1);
|
||||
}
|
||||
- apr_file_printf(pid_file, "%" APR_PID_T_FMT APR_EOL_STR, mypid);
|
||||
- apr_file_close(pid_file);
|
||||
+
|
||||
+ apr_snprintf(pidstr, sizeof pidstr, "%" APR_PID_T_FMT APR_EOL_STR, mypid);
|
||||
+
|
||||
+ perms = APR_UREAD | APR_UWRITE | APR_GREAD | APR_WREAD;
|
||||
+ rv = apr_file_perms_set(temp_fname, perms);
|
||||
+ if (rv == APR_SUCCESS)
|
||||
+ rv = apr_file_write_full(pid_file, pidstr, strlen(pidstr), NULL);
|
||||
+ if (rv == APR_SUCCESS)
|
||||
+ rv = apr_file_close(pid_file);
|
||||
+ if (rv == APR_SUCCESS)
|
||||
+ rv = apr_file_rename(temp_fname, fname, p);
|
||||
+ if (rv != APR_SUCCESS) {
|
||||
+ ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, APLOGNO(10231)
|
||||
+ "%s: Failed creating pid file %s",
|
||||
+ ap_server_argv0, temp_fname);
|
||||
+ exit(1);
|
||||
+ }
|
||||
+
|
||||
saved_pid = mypid;
|
||||
}
|
||||
|
||||
--
|
||||
2.25.2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From http://archive.apache.org/dist/httpd/httpd-2.4.46.tar.bz2.{sha256,sha512}
|
||||
sha256 740eddf6e1c641992b22359cabc66e6325868c3c5e2e3f98faf349b61ecf41ea httpd-2.4.46.tar.bz2
|
||||
sha512 5936784bb662e9d8a4f7fe38b70c043b468114d931cd10ea831bfe74461ea5856b64f88f42c567ab791fc8907640a99884ba4b6a600f86d661781812735b6f13 httpd-2.4.46.tar.bz2
|
||||
sha256 1bc826e7b2e88108c7e4bf43c026636f77a41d849cfb667aa7b5c0b86dbf966c httpd-2.4.48.tar.bz2
|
||||
sha512 6c250626f1e7d10428a92d984fd48ff841effcc8705f7816ab71b681bbd51d0012ad158dcd13763fe7d630311f2de258b27574603140d648be42796ab8326724 httpd-2.4.48.tar.bz2
|
||||
# Locally computed
|
||||
sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
APACHE_VERSION = 2.4.46
|
||||
APACHE_VERSION = 2.4.48
|
||||
APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2
|
||||
APACHE_SITE = http://archive.apache.org/dist/httpd
|
||||
APACHE_LICENSE = Apache-2.0
|
||||
|
||||
@@ -8,6 +8,7 @@ APCUPSD_VERSION = 3.14.14
|
||||
APCUPSD_SITE = http://downloads.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/$(APCUPSD_VERSION)
|
||||
APCUPSD_LICENSE = GPL-2.0
|
||||
APCUPSD_LICENSE_FILES = COPYING
|
||||
APCUPSD_CPE_ID_VENDOR = apcupsd
|
||||
APCUPSD_CONF_OPTS = --disable-test
|
||||
|
||||
ifneq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB)$(BR2_PACKAGE_APCUPSD_USB),)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,50 +0,0 @@
|
||||
From 3fef857a570d1ef2c96401358fe8e239625b48c9 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Fri, 10 Apr 2020 18:11:50 +0200
|
||||
Subject: [PATCH] contrib/zip: fix ssize_t typedef mismatch for musl compile
|
||||
|
||||
Musl uses defines __DEFINED_ssize_t to indicate ssize_t
|
||||
availability. So backport this part of upstream commit [1]
|
||||
to fixl musl compile.
|
||||
|
||||
https://github.com/assimp/assimp/commit/f78446b14aff46db2ef27d062a275b6a01fd68b1
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
contrib/zip/src/zip.h | 13 +++++++++++--
|
||||
1 file changed, 11 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/contrib/zip/src/zip.h b/contrib/zip/src/zip.h
|
||||
index 5f39df50..4672eb3e 100644
|
||||
--- a/contrib/zip/src/zip.h
|
||||
+++ b/contrib/zip/src/zip.h
|
||||
@@ -20,8 +20,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \
|
||||
- !defined(_SSIZE_T) && !defined(_SSIZE_T_) && !defined(__ssize_t_defined)
|
||||
-#define _SSIZE_T
|
||||
+ !defined(__DEFINED_ssize_t) && !defined(__ssize_t_defined) && \
|
||||
+ !defined(_SSIZE_T) && !defined(_SSIZE_T_)
|
||||
+
|
||||
// 64-bit Windows is the only mainstream platform
|
||||
// where sizeof(long) != sizeof(void*)
|
||||
#ifdef _WIN64
|
||||
@@ -29,6 +30,14 @@ typedef long long ssize_t; /* byte count or error */
|
||||
#else
|
||||
typedef long ssize_t; /* byte count or error */
|
||||
#endif
|
||||
+
|
||||
+#define _SSIZE_T_DEFINED
|
||||
+#define _SSIZE_T_DEFINED_
|
||||
+#define __DEFINED_ssize_t
|
||||
+#define __ssize_t_defined
|
||||
+#define _SSIZE_T
|
||||
+#define _SSIZE_T_
|
||||
+
|
||||
#endif
|
||||
|
||||
#ifndef MAX_PATH
|
||||
--
|
||||
2.26.0
|
||||
|
||||
@@ -0,0 +1,243 @@
|
||||
From bb3db0ebaffc6b76de256e597ec1d1e4d2a6663f Mon Sep 17 00:00:00 2001
|
||||
From: kimkulling <kim.kulling@googlemail.com>
|
||||
Date: Mon, 9 Mar 2020 10:51:26 +0100
|
||||
Subject: [PATCH] closes https://github.com/assimp/assimp/issues/2954: upgrade
|
||||
to latest greatest.
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/assimp/assimp/commit/bb3db0ebaffc6b76de256e597ec1d1e4d2a6663f]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
contrib/zip/CMakeLists.txt | 8 ++----
|
||||
contrib/zip/README.md | 51 +++++++++++++++++++++++++++++++--
|
||||
contrib/zip/src/zip.c | 17 ++++++++++-
|
||||
contrib/zip/src/zip.h | 13 ++++++++-
|
||||
contrib/zip/test/CMakeLists.txt | 5 ----
|
||||
contrib/zip/test/test.c | 4 ++-
|
||||
6 files changed, 81 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/contrib/zip/CMakeLists.txt b/contrib/zip/CMakeLists.txt
|
||||
index 77916d2e14..f194649ede 100644
|
||||
--- a/contrib/zip/CMakeLists.txt
|
||||
+++ b/contrib/zip/CMakeLists.txt
|
||||
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
project(zip
|
||||
LANGUAGES C
|
||||
- VERSION "0.1.15")
|
||||
+ VERSION "0.1.18")
|
||||
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
|
||||
|
||||
option(CMAKE_DISABLE_TESTING "Disable test creation" OFF)
|
||||
@@ -16,10 +16,6 @@ elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR
|
||||
"${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR
|
||||
"${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Werror -pedantic")
|
||||
- if(ENABLE_COVERAGE)
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage")
|
||||
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage")
|
||||
- endif()
|
||||
endif (MSVC)
|
||||
|
||||
# zip
|
||||
@@ -35,7 +31,7 @@ if (NOT CMAKE_DISABLE_TESTING)
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
find_package(Sanitizers)
|
||||
- add_sanitizers(${PROJECT_NAME} ${test_out} ${test_miniz_out})
|
||||
+ add_sanitizers(${PROJECT_NAME} ${test_out})
|
||||
endif()
|
||||
|
||||
####
|
||||
diff --git a/contrib/zip/README.md b/contrib/zip/README.md
|
||||
index 14eb9a34c8..bdd0822b67 100644
|
||||
--- a/contrib/zip/README.md
|
||||
+++ b/contrib/zip/README.md
|
||||
@@ -1,10 +1,8 @@
|
||||
### A portable (OSX/Linux/Windows), simple zip library written in C
|
||||
This is done by hacking awesome [miniz](https://code.google.com/p/miniz) library and layering functions on top of the miniz v1.15 API.
|
||||
|
||||
-[](https://ci.appveyor.com/project/kuba--/zip)
|
||||
-[](https://travis-ci.org/kuba--/zip)
|
||||
+[](https://github.com/kuba--/zip/actions?query=workflow%3Abuild)
|
||||
[](https://github.com/kuba--/zip/releases)
|
||||
-[](https://codecov.io/gh/kuba--/zip)
|
||||
|
||||
|
||||
# The Idea
|
||||
@@ -213,6 +211,53 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
+### Rust (ffi)
|
||||
+```rust
|
||||
+extern crate libc;
|
||||
+use std::ffi::CString;
|
||||
+
|
||||
+#[repr(C)]
|
||||
+pub struct Zip {
|
||||
+ _private: [u8; 0],
|
||||
+}
|
||||
+
|
||||
+#[link(name = "zip")]
|
||||
+extern "C" {
|
||||
+ fn zip_open(path: *const libc::c_char, level: libc::c_int, mode: libc::c_char) -> *mut Zip;
|
||||
+ fn zip_close(zip: *mut Zip) -> libc::c_void;
|
||||
+
|
||||
+ fn zip_entry_open(zip: *mut Zip, entryname: *const libc::c_char) -> libc::c_int;
|
||||
+ fn zip_entry_close(zip: *mut Zip) -> libc::c_int;
|
||||
+ fn zip_entry_write(
|
||||
+ zip: *mut Zip,
|
||||
+ buf: *const libc::c_void,
|
||||
+ bufsize: libc::size_t,
|
||||
+ ) -> libc::c_int;
|
||||
+}
|
||||
+
|
||||
+fn main() {
|
||||
+ let path = CString::new("/tmp/test.zip").unwrap();
|
||||
+ let mode: libc::c_char = 'w' as libc::c_char;
|
||||
+
|
||||
+ let entryname = CString::new("test.txt").unwrap();
|
||||
+ let content = "test content\0";
|
||||
+
|
||||
+ unsafe {
|
||||
+ let zip: *mut Zip = zip_open(path.as_ptr(), 5, mode);
|
||||
+ {
|
||||
+ zip_entry_open(zip, entryname.as_ptr());
|
||||
+ {
|
||||
+ let buf = content.as_ptr() as *const libc::c_void;
|
||||
+ let bufsize = content.len() as libc::size_t;
|
||||
+ zip_entry_write(zip, buf, bufsize);
|
||||
+ }
|
||||
+ zip_entry_close(zip);
|
||||
+ }
|
||||
+ zip_close(zip);
|
||||
+ }
|
||||
+}
|
||||
+```
|
||||
+
|
||||
### Ruby (ffi)
|
||||
Install _ffi_ gem.
|
||||
```shell
|
||||
diff --git a/contrib/zip/src/zip.c b/contrib/zip/src/zip.c
|
||||
index 1abcfd8fd1..3b2821e6a3 100644
|
||||
--- a/contrib/zip/src/zip.c
|
||||
+++ b/contrib/zip/src/zip.c
|
||||
@@ -222,6 +222,20 @@ void zip_close(struct zip_t *zip) {
|
||||
}
|
||||
}
|
||||
|
||||
+int zip_is64(struct zip_t *zip) {
|
||||
+ if (!zip) {
|
||||
+ // zip_t handler is not initialized
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (!zip->archive.m_pState) {
|
||||
+ // zip state is not initialized
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ return (int)zip->archive.m_pState->m_zip64;
|
||||
+}
|
||||
+
|
||||
int zip_entry_open(struct zip_t *zip, const char *entryname) {
|
||||
size_t entrylen = 0;
|
||||
mz_zip_archive *pzip = NULL;
|
||||
@@ -794,7 +808,8 @@ int zip_create(const char *zipname, const char *filenames[], size_t len) {
|
||||
|
||||
if (MZ_FILE_STAT(name, &file_stat) != 0) {
|
||||
// problem getting information - check errno
|
||||
- return -1;
|
||||
+ status = -1;
|
||||
+ break;
|
||||
}
|
||||
|
||||
if ((file_stat.st_mode & 0200) == 0) {
|
||||
diff --git a/contrib/zip/src/zip.h b/contrib/zip/src/zip.h
|
||||
index a48d64d6de..cd3ab5cd00 100644
|
||||
--- a/contrib/zip/src/zip.h
|
||||
+++ b/contrib/zip/src/zip.h
|
||||
@@ -21,7 +21,7 @@ extern "C" {
|
||||
|
||||
#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \
|
||||
!defined(__DEFINED_ssize_t) && !defined(__ssize_t_defined) && \
|
||||
- !defined(_SSIZE_T) && !defined(_SSIZE_T_)
|
||||
+ !defined(_SSIZE_T) && !defined(_SSIZE_T_) && !defined(_SSIZE_T_DECLARED)
|
||||
|
||||
// 64-bit Windows is the only mainstream platform
|
||||
// where sizeof(long) != sizeof(void*)
|
||||
@@ -37,6 +37,7 @@ typedef long ssize_t; /* byte count or error */
|
||||
#define __ssize_t_defined
|
||||
#define _SSIZE_T
|
||||
#define _SSIZE_T_
|
||||
+#define _SSIZE_T_DECLARED
|
||||
|
||||
#endif
|
||||
|
||||
@@ -90,6 +91,16 @@ extern struct zip_t *zip_open(const char *zipname, int level, char mode);
|
||||
*/
|
||||
extern void zip_close(struct zip_t *zip);
|
||||
|
||||
+/**
|
||||
+ * Determines if the archive has a zip64 end of central directory headers.
|
||||
+ *
|
||||
+ * @param zip zip archive handler.
|
||||
+ *
|
||||
+ * @return the return code - 1 (true), 0 (false), negative number (< 0) on
|
||||
+ * error.
|
||||
+ */
|
||||
+extern int zip_is64(struct zip_t *zip);
|
||||
+
|
||||
/**
|
||||
* Opens an entry by name in the zip archive.
|
||||
*
|
||||
diff --git a/contrib/zip/test/CMakeLists.txt b/contrib/zip/test/CMakeLists.txt
|
||||
index cc060b00fe..1224115858 100644
|
||||
--- a/contrib/zip/test/CMakeLists.txt
|
||||
+++ b/contrib/zip/test/CMakeLists.txt
|
||||
@@ -2,15 +2,10 @@ cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
# test
|
||||
set(test_out test.out)
|
||||
-set(test_miniz_out test_miniz.out)
|
||||
|
||||
add_executable(${test_out} test.c)
|
||||
target_link_libraries(${test_out} zip)
|
||||
-add_executable(${test_miniz_out} test_miniz.c)
|
||||
-target_link_libraries(${test_miniz_out} zip)
|
||||
|
||||
add_test(NAME ${test_out} COMMAND ${test_out})
|
||||
-add_test(NAME ${test_miniz_out} COMMAND ${test_miniz_out})
|
||||
|
||||
set(test_out ${test_out} PARENT_SCOPE)
|
||||
-set(test_miniz_out ${test_miniz_out} PARENT_SCOPE)
|
||||
diff --git a/contrib/zip/test/test.c b/contrib/zip/test/test.c
|
||||
index a9b2ddab1e..9cc2248ac0 100644
|
||||
--- a/contrib/zip/test/test.c
|
||||
+++ b/contrib/zip/test/test.c
|
||||
@@ -47,7 +47,7 @@ static void test_write(void) {
|
||||
assert(CRC32DATA1 == zip_entry_crc32(zip));
|
||||
++total_entries;
|
||||
assert(0 == zip_entry_close(zip));
|
||||
-
|
||||
+ assert(0 == zip_is64(zip));
|
||||
zip_close(zip);
|
||||
}
|
||||
|
||||
@@ -92,6 +92,7 @@ static void test_read(void) {
|
||||
size_t buftmp;
|
||||
struct zip_t *zip = zip_open(ZIPNAME, 0, 'r');
|
||||
assert(zip != NULL);
|
||||
+ assert(0 == zip_is64(zip));
|
||||
|
||||
assert(0 == zip_entry_open(zip, "test\\test-1.txt"));
|
||||
assert(strlen(TESTDATA1) == zip_entry_size(zip));
|
||||
@@ -310,6 +311,7 @@ static void test_fwrite(void) {
|
||||
assert(0 == zip_entry_open(zip, WFILE));
|
||||
assert(0 == zip_entry_fwrite(zip, WFILE));
|
||||
assert(0 == zip_entry_close(zip));
|
||||
+ assert(0 == zip_is64(zip));
|
||||
|
||||
zip_close(zip);
|
||||
remove(WFILE);
|
||||
@@ -1,31 +0,0 @@
|
||||
From 2b8684aded0c383be64bac0fa59e39870252963f Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Sun, 12 Apr 2020 18:19:13 +0200
|
||||
Subject: [PATCH] contrib/zlib: disable dynamic library building
|
||||
|
||||
Fixes compile failure for static only toolchains (and assimp
|
||||
links against the static one).
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
contrib/zlib/CMakeLists.txt | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/contrib/zlib/CMakeLists.txt b/contrib/zlib/CMakeLists.txt
|
||||
index 9d1fcc94..78346233 100644
|
||||
--- a/contrib/zlib/CMakeLists.txt
|
||||
+++ b/contrib/zlib/CMakeLists.txt
|
||||
@@ -195,10 +195,7 @@ if(MINGW)
|
||||
set(ZLIB_DLL_SRCS ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
|
||||
endif(MINGW)
|
||||
|
||||
-add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
|
||||
add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
|
||||
-set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL)
|
||||
-set_target_properties(zlib PROPERTIES SOVERSION 1)
|
||||
|
||||
INSTALL( TARGETS zlibstatic
|
||||
LIBRARY DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
|
||||
--
|
||||
2.26.0
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_ASSIMP
|
||||
bool "assimp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_LIBZLIB
|
||||
help
|
||||
Open Asset Import Library (assimp) is a portable Open Source
|
||||
library to import various well-known 3D model formats in a
|
||||
@@ -12,4 +13,8 @@ config BR2_PACKAGE_ASSIMP
|
||||
http://www.assimp.org
|
||||
|
||||
comment "assimp needs a toolchain w/ C++, wchar"
|
||||
depends on BR2_PACKAGE_LIBZLIB
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
|
||||
|
||||
comment "assimp needs libzlib"
|
||||
depends on !BR2_PACKAGE_LIBZLIB
|
||||
|
||||
@@ -8,6 +8,7 @@ ASSIMP_VERSION = 5.0.1
|
||||
ASSIMP_SITE = $(call github,assimp,assimp,v$(ASSIMP_VERSION))
|
||||
ASSIMP_LICENSE = BSD-3-Clause
|
||||
ASSIMP_LICENSE_FILES = LICENSE
|
||||
ASSIMP_DEPENDENCIES = zlib
|
||||
ASSIMP_INSTALL_STAGING = YES
|
||||
|
||||
# relocation truncated to fit: R_68K_GOT16O. We also need to disable
|
||||
@@ -36,7 +37,7 @@ ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
||||
ASSIMP_CXXFLAGS += -O0
|
||||
endif
|
||||
|
||||
ASSIMP_CONF_OPTS += -DASSIMP_BUILD_ZLIB=ON -DASSIMP_BUILD_TESTS=OFF \
|
||||
ASSIMP_CONF_OPTS += -DASSIMP_BUILD_TESTS=OFF \
|
||||
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(ASSIMP_CXXFLAGS)"
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_AZMQ
|
||||
bool "azmq"
|
||||
depends on !BR2_RISCV_32 # boost-log
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # boost-log
|
||||
@@ -22,9 +23,11 @@ config BR2_PACKAGE_AZMQ
|
||||
https://github.com/zeromq/azmq
|
||||
|
||||
comment "azmq needs a toolchain w/ C++11, wchar and NPTL"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
||||
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
||||
&& BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
|
||||
|
||||
comment "azmq needs exception_ptr"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
|
||||
@@ -8,6 +8,7 @@ BIRD_VERSION = 2.0.7
|
||||
BIRD_SITE = ftp://bird.network.cz/pub/bird
|
||||
BIRD_LICENSE = GPL-2.0+
|
||||
BIRD_LICENSE_FILES = README
|
||||
BIRD_CPE_ID_VENDOR = nic
|
||||
BIRD_DEPENDENCIES = host-flex host-bison
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BIRD_CLIENT),y)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://bitcoincore.org/bin/bitcoin-core-0.21.0/SHA256SUMS.asc
|
||||
sha256 1a91202c62ee49fb64d57a52b8d6d01cd392fffcbef257b573800f9289655f37 bitcoin-0.21.0.tar.gz
|
||||
# From https://bitcoincore.org/bin/bitcoin-core-0.21.1/SHA256SUMS.asc
|
||||
sha256 caff23449220cf45753f312cefede53a9eac64000bb300797916526236b6a1e0 bitcoin-0.21.1.tar.gz
|
||||
|
||||
# Hash for license file
|
||||
sha256 96fe807030b21f88305adc32af62f9aa19915f2783509fd6f52aea02cf83f644 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BITCOIN_VERSION = 0.21.0
|
||||
BITCOIN_VERSION = 0.21.1
|
||||
BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION)
|
||||
BITCOIN_AUTORECONF = YES
|
||||
BITCOIN_LICENSE = MIT
|
||||
|
||||
@@ -9,6 +9,7 @@ BLKTRACE_SITE = http://brick.kernel.dk/snaps
|
||||
BLKTRACE_DEPENDENCIES = libaio
|
||||
BLKTRACE_LICENSE = GPL-2.0+
|
||||
BLKTRACE_LICENSE_FILES = COPYING
|
||||
BLKTRACE_CPE_ID_VENDOR = blktrace_project
|
||||
|
||||
# 0001-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch
|
||||
BLKTRACE_IGNORE_CVES += CVE-2018-10689
|
||||
|
||||
@@ -231,6 +231,7 @@ comment "boost-locale needs a toolchain not affected by GCC bug 64735"
|
||||
|
||||
config BR2_PACKAGE_BOOST_LOG
|
||||
bool "boost-log"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread
|
||||
@@ -244,10 +245,12 @@ config BR2_PACKAGE_BOOST_LOG
|
||||
Logging library.
|
||||
|
||||
comment "boost-log needs a toolchain w/ NPTL"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
|
||||
comment "boost-log needs a toolchain not affected by GCC bug 64735"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
|
||||
config BR2_PACKAGE_BOOST_MATH
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From e2a05a19e9dc51287e19cc9f11fd91449219e361 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sun, 15 Nov 2020 12:10:28 -0800
|
||||
Subject: [PATCH] mutex: Fix build on 32-bit architectures using 64-bit time_t
|
||||
|
||||
mutex code uses SYS_futex, which it expects from system C library.
|
||||
in glibc (/usr/include/bits/syscall.h defines it in terms of of NR_futex)
|
||||
rv32 is using 64bit time_t from get go unlike other 32bit architectures
|
||||
in glibc, therefore it wont have NR_futex defined but just NR_futex_time64
|
||||
this aliases it to NR_futex so that SYS_futex is then defined for rv32
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
[Retrieved from:
|
||||
https://github.com/capnproto/capnproto/commit/e2a05a19e9dc51287e19cc9f11fd91449219e361]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
c++/src/kj/mutex.c++ | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/c++/src/kj/mutex.c++ b/c++/src/kj/mutex.c++
|
||||
index c81cead7b..e1594b117 100644
|
||||
--- a/c++/src/kj/mutex.c++
|
||||
+++ b/c++/src/kj/mutex.c++
|
||||
@@ -39,7 +39,13 @@
|
||||
|
||||
#ifndef SYS_futex
|
||||
// Missing on Android/Bionic.
|
||||
+#ifdef __NR_futex
|
||||
#define SYS_futex __NR_futex
|
||||
+#elif defined(SYS_futex_time64)
|
||||
+#define SYS_futex SYS_futex_time64
|
||||
+#else
|
||||
+#error "Need working SYS_futex"
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#ifndef FUTEX_WAIT_PRIVATE
|
||||
@@ -8,6 +8,7 @@ CHRONY_VERSION = 4.0
|
||||
CHRONY_SITE = http://download.tuxfamily.org/chrony
|
||||
CHRONY_LICENSE = GPL-2.0
|
||||
CHRONY_LICENSE_FILES = COPYING
|
||||
CHRONY_CPE_ID_VENDOR = tuxfamily
|
||||
CHRONY_DEPENDENCIES = host-pkgconf
|
||||
|
||||
CHRONY_CONF_OPTS = \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://www.kernel.org/pub/linux/network/connman/sha256sums.asc
|
||||
sha256 9f62a7169b7491c670a1ff2e335b0d966308fb2f62e285c781105eb90f181af3 connman-1.39.tar.xz
|
||||
sha256 1a57ae7ce234aa3a1744aac3be5c2121d98dce999440ef8ab9cc4edfd5edcb12 connman-1.40.tar.xz
|
||||
# Locally computed
|
||||
sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CONNMAN_VERSION = 1.39
|
||||
CONNMAN_VERSION = 1.40
|
||||
CONNMAN_SOURCE = connman-$(CONNMAN_VERSION).tar.xz
|
||||
CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman
|
||||
CONNMAN_DEPENDENCIES = libglib2 dbus iptables
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_DC3DD
|
||||
bool "dc3dd"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
help
|
||||
@@ -11,5 +12,6 @@ config BR2_PACKAGE_DC3DD
|
||||
https://sourceforge.net/projects/dc3dd/
|
||||
|
||||
comment "dc3dd needs a glibc or uClibc toolchain w/ threads"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Verified from https://ftp.isc.org/isc/dhcp/4.4.2/dhcp-4.4.2.tar.gz.sha256.asc
|
||||
sha256 1a7ccd64a16e5e68f7b5e0f527fd07240a2892ea53fe245620f4f5f607004521 dhcp-4.4.2.tar.gz
|
||||
# Verified from https://ftp.isc.org/isc/dhcp/4.4.2-P1/dhcp-4.4.2-P1.tar.gz.sha256.asc
|
||||
sha256 b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a dhcp-4.4.2-P1.tar.gz
|
||||
# Locally calculated
|
||||
sha256 89e7b0661134cc118bdcdeb87ff0493d544bc5723c9ca6616fa05f03539738af LICENSE
|
||||
sha256 9961fce0d83a6229b9084cdadedfa723a53274c63af610c9adb61b607e0f5a76 LICENSE
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DHCP_VERSION = 4.4.2
|
||||
DHCP_VERSION = 4.4.2-P1
|
||||
DHCP_SITE = http://ftp.isc.org/isc/dhcp/$(DHCP_VERSION)
|
||||
DHCP_INSTALL_STAGING = YES
|
||||
DHCP_LICENSE = MPL-2.0
|
||||
DHCP_LICENSE_FILES = LICENSE
|
||||
DHCP_DEPENDENCIES = bind
|
||||
DHCP_DEPENDENCIES = bind host-gawk
|
||||
DHCP_CPE_ID_VENDOR = isc
|
||||
|
||||
# use libtool-enabled configure.ac
|
||||
@@ -22,6 +22,8 @@ DHCP_CONF_ENV = \
|
||||
-D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \
|
||||
CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1'
|
||||
|
||||
DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk
|
||||
|
||||
DHCP_CONF_OPTS = \
|
||||
--with-libbind=$(STAGING_DIR)/usr \
|
||||
--with-randomdev=/dev/random \
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_DIRECTFB
|
||||
bool "directfb"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on !BR2_STATIC_LIBS # static link issues
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
@@ -161,6 +162,7 @@ config BR2_PACKAGE_DIRECTFB_TESTS
|
||||
endif # BR2_PACKAGE_DIRECTFB
|
||||
|
||||
comment "directfb needs a glibc or uClibc toolchain w/ C++, NPTL, gcc >= 4.5, dynamic library"
|
||||
depends on !BR2_RISCV_32
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 || BR2_TOOLCHAIN_USES_MUSL || \
|
||||
|
||||
@@ -13,10 +13,12 @@ DMALLOC_LICENSE = MIT-like
|
||||
DMALLOC_LICENSE_FILES = dmalloc.h.1
|
||||
|
||||
DMALLOC_INSTALL_STAGING = YES
|
||||
DMALLOC_CONF_OPTS = --enable-shlib
|
||||
DMALLOC_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DMALLOC_CONF_OPTS += --disable-shlib
|
||||
else
|
||||
DMALLOC_CONF_OPTS += --enable-shlib
|
||||
DMALLOC_CFLAGS += -fPIC
|
||||
endif
|
||||
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
From 7b9c2905883df5171fda10a364a81b8c6176c8e2 Mon Sep 17 00:00:00 2001
|
||||
From: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
||||
Date: Mon, 26 Apr 2021 15:28:40 +0900
|
||||
Subject: [PATCH] fix port forwarding with ipv6.disable=1
|
||||
|
||||
Make `docker run -p 80:80` functional again on environments with kernel boot parameter `ipv6.disable=1`.
|
||||
|
||||
Fix moby/moby issue 42288
|
||||
|
||||
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
||||
[Upstream: https://github.com/moby/libnetwork/pull/2635,
|
||||
https://github.com/moby/moby/pull/42322]
|
||||
[Rework path/drop test for docker-engine]
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go | 31 +++++++++++++++++++++++++++++++
|
||||
1 file changed, 35 insertions(+), 0 deletion(-)
|
||||
|
||||
diff --git a/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go b/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go
|
||||
index 946130ec..17bf36f9 100644
|
||||
--- a/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go
|
||||
+++ b/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"net"
|
||||
+ "sync"
|
||||
|
||||
"github.com/docker/libnetwork/types"
|
||||
"github.com/ishidawataru/sctp"
|
||||
@@ -50,6 +51,13 @@ func (n *bridgeNetwork) allocatePortsInternal(bindings []types.PortBinding, cont
|
||||
bs = append(bs, bIPv4)
|
||||
}
|
||||
|
||||
+ // skip adding implicit v6 addr, when the kernel was booted with `ipv6.disable=1`
|
||||
+ // https://github.com/moby/moby/issues/42288
|
||||
+ isV6Binding := c.HostIP != nil && c.HostIP.To4() == nil
|
||||
+ if !isV6Binding && !IsV6Listenable() {
|
||||
+ continue
|
||||
+ }
|
||||
+
|
||||
// Allocate IPv6 Port mappings
|
||||
// If the container has no IPv6 address, allow proxying host IPv6 traffic to it
|
||||
// by setting up the binding with the IPv4 interface if the userland proxy is enabled
|
||||
@@ -211,3 +219,26 @@ func (n *bridgeNetwork) releasePort(bnd types.PortBinding) error {
|
||||
|
||||
return portmapper.Unmap(host)
|
||||
}
|
||||
+
|
||||
+var (
|
||||
+ v6ListenableCached bool
|
||||
+ v6ListenableOnce sync.Once
|
||||
+)
|
||||
+
|
||||
+// IsV6Listenable returns true when `[::1]:0` is listenable.
|
||||
+// IsV6Listenable returns false mostly when the kernel was booted with `ipv6.disable=1` option.
|
||||
+func IsV6Listenable() bool {
|
||||
+ v6ListenableOnce.Do(func() {
|
||||
+ ln, err := net.Listen("tcp6", "[::1]:0")
|
||||
+ if err != nil {
|
||||
+ // When the kernel was booted with `ipv6.disable=1`,
|
||||
+ // we get err "listen tcp6 [::1]:0: socket: address family not supported by protocol"
|
||||
+ // https://github.com/moby/moby/issues/42288
|
||||
+ logrus.Debugf("port_mapping: v6Listenable=false (%v)", err)
|
||||
+ } else {
|
||||
+ v6ListenableCached = true
|
||||
+ ln.Close()
|
||||
+ }
|
||||
+ })
|
||||
+ return v6ListenableCached
|
||||
+}
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -34,9 +34,7 @@ config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
|
||||
depends on BR2_USE_MMU # lvm2
|
||||
depends on !BR2_STATIC_LIBS # lvm2
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # lvm2
|
||||
select BR2_PACKAGE_LVM2
|
||||
select BR2_PACKAGE_LVM2_APP_LIBRARY
|
||||
help
|
||||
Build the devicemapper filesystem driver for Docker.
|
||||
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
From 7297a8ef3cab3b0faf1426622ee902a2144e2e89 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
Date: Wed, 24 Mar 2021 11:27:14 +0100
|
||||
Subject: [PATCH] ebtables.h: restore KERNEL_64_USERSPACE_32 checks
|
||||
|
||||
Commit e6359eedfbf497e52d52451072aea4713ed80a88 replaced the file ebtables.h
|
||||
but removed the usage of KERNEL_64_USERSPACE_32. This breaks boards where
|
||||
such flag is relevant, with following messages:
|
||||
|
||||
[ 6364.971346] kernel msg: ebtables bug: please report to author: Standard target size too big
|
||||
|
||||
Unable to update the kernel. Two possible causes:
|
||||
1. Multiple ebtables programs were executing simultaneously. The ebtables
|
||||
userspace tool doesn't by default support multiple ebtables programs running
|
||||
concurrently. The ebtables option --concurrent or a tool like flock can be
|
||||
used to support concurrent scripts that update the ebtables kernel tables.
|
||||
2. The kernel doesn't support a certain ebtables extension, consider
|
||||
recompiling your kernel or insmod the extension.
|
||||
|
||||
Analysis shows that the structure 'ebt_replace' passed from userspace
|
||||
ebtables to the kernel, is too small, i.e 80 bytes instead of 120 in case of
|
||||
64-bit kernel.
|
||||
|
||||
Note that the ebtables build system seems to assume that 'sparc64' is the
|
||||
only case where KERNEL_64_USERSPACE_32 is relevant, but this is not true.
|
||||
This situation can happen on many architectures, especially in embedded
|
||||
systems. For example, an Aarch64 processor with kernel in 64-bit but
|
||||
userland build for 32-bit Arm. Or a 64-bit MIPS Octeon III processor, with
|
||||
userland running in the 'n32' ABI.
|
||||
|
||||
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
Upstream-Status: http://patchwork.ozlabs.org/project/netfilter-devel/patch/20210518181730.13436-1-patrickdepinguin@gmail.com/
|
||||
---
|
||||
include/linux/netfilter_bridge/ebtables.h | 21 +++++++++++++++++++++
|
||||
1 file changed, 21 insertions(+)
|
||||
|
||||
diff --git a/include/linux/netfilter_bridge/ebtables.h b/include/linux/netfilter_bridge/ebtables.h
|
||||
index 5be75f2..3c2b61e 100644
|
||||
--- a/include/linux/netfilter_bridge/ebtables.h
|
||||
+++ b/include/linux/netfilter_bridge/ebtables.h
|
||||
@@ -49,12 +49,21 @@ struct ebt_replace {
|
||||
/* total size of the entries */
|
||||
unsigned int entries_size;
|
||||
/* start of the chains */
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ uint64_t hook_entry[NF_BR_NUMHOOKS];
|
||||
+#else
|
||||
struct ebt_entries *hook_entry[NF_BR_NUMHOOKS];
|
||||
+#endif
|
||||
/* nr of counters userspace expects back */
|
||||
unsigned int num_counters;
|
||||
/* where the kernel will put the old counters */
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ uint64_t counters;
|
||||
+ uint64_t entries;
|
||||
+#else
|
||||
struct ebt_counter *counters;
|
||||
char *entries;
|
||||
+#endif
|
||||
};
|
||||
|
||||
struct ebt_replace_kernel {
|
||||
@@ -129,6 +138,9 @@ struct ebt_entry_match {
|
||||
} u;
|
||||
/* size of data */
|
||||
unsigned int match_size;
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ unsigned int pad;
|
||||
+#endif
|
||||
unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
|
||||
};
|
||||
|
||||
@@ -142,6 +154,9 @@ struct ebt_entry_watcher {
|
||||
} u;
|
||||
/* size of data */
|
||||
unsigned int watcher_size;
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ unsigned int pad;
|
||||
+#endif
|
||||
unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
|
||||
};
|
||||
|
||||
@@ -155,6 +170,9 @@ struct ebt_entry_target {
|
||||
} u;
|
||||
/* size of data */
|
||||
unsigned int target_size;
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ unsigned int pad;
|
||||
+#endif
|
||||
unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_replace))));
|
||||
};
|
||||
|
||||
@@ -162,6 +180,9 @@ struct ebt_entry_target {
|
||||
struct ebt_standard_target {
|
||||
struct ebt_entry_target target;
|
||||
int verdict;
|
||||
+#ifdef KERNEL_64_USERSPACE_32
|
||||
+ unsigned int pad;
|
||||
+#endif
|
||||
};
|
||||
|
||||
/* one entry */
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
From ebf0236270b977a62c522bc32810bc9f8edc72d1 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
Date: Wed, 24 Mar 2021 13:40:14 +0100
|
||||
Subject: [PATCH] configure.ac: add option --enable-kernel-64-userland-32
|
||||
|
||||
The ebtables build system seems to assume that 'sparc64' is the
|
||||
only case where KERNEL_64_USERSPACE_32 is relevant, but this is not true.
|
||||
This situation can happen on many architectures, especially in embedded
|
||||
systems. For example, an Aarch64 processor with kernel in 64-bit but
|
||||
userland build for 32-bit Arm. Or a 64-bit MIPS Octeon III processor, with
|
||||
userland running in the 'n32' ABI.
|
||||
|
||||
While it is possible to set CFLAGS in the environment when calling the
|
||||
configure script, the caller would need to know to not only specify
|
||||
KERNEL_64_USERSPACE_32 but also the EBT_MIN_ALIGN value.
|
||||
|
||||
Instead, add a configure option. All internal details can then be handled by
|
||||
the configure script.
|
||||
|
||||
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
|
||||
Upstream-Status: http://patchwork.ozlabs.org/project/netfilter-devel/patch/20210518181730.13436-2-patrickdepinguin@gmail.com/
|
||||
---
|
||||
configure.ac | 9 ++++++++-
|
||||
1 file changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c24ede3..3e89c0c 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -15,10 +15,17 @@ AS_IF([test "x$LOCKFILE" = x], [LOCKFILE="/var/lib/ebtables/lock"])
|
||||
|
||||
regular_CFLAGS="-Wall -Wunused"
|
||||
regular_CPPFLAGS=""
|
||||
+
|
||||
case "$host" in
|
||||
sparc64-*)
|
||||
- regular_CPPFLAGS="$regular_CPPFLAGS -DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32";;
|
||||
+ enable_kernel_64_userland_32=yes ;;
|
||||
esac
|
||||
+AC_ARG_ENABLE([kernel-64-userland-32],
|
||||
+ AC_HELP_STRING([--enable-kernel-64-userland-32], [indicate that ebtables will be built as a 32-bit application but run under a 64-bit kernel])
|
||||
+)
|
||||
+AS_IF([test "x$enable_kernel_64_userland_32" = xyes],
|
||||
+ [regular_CPPFLAGS="$regular_CPPFLAGS -DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32"]
|
||||
+)
|
||||
|
||||
AC_SUBST([regular_CFLAGS])
|
||||
AC_SUBST([regular_CPPFLAGS])
|
||||
--
|
||||
2.26.2
|
||||
|
||||
@@ -11,6 +11,12 @@ EBTABLES_LICENSE_FILES = COPYING
|
||||
EBTABLES_CPE_ID_VENDOR = netfilter
|
||||
EBTABLES_SELINUX_MODULES = iptables
|
||||
|
||||
# for 0003-configure.ac-add-option-enable-kernel-64-userland-32.patch
|
||||
EBTABLES_AUTORECONF = YES
|
||||
ifeq ($(BR2_KERNEL_64_USERLAND_32),y)
|
||||
EBTABLES_CONF_OPTS += --enable-kernel-64-userland-32
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EBTABLES_UTILS_SAVE),y)
|
||||
define EBTABLES_INSTALL_TARGET_UTILS_SAVE
|
||||
$(INSTALL) -m 0755 -D $(@D)/ebtables-save.sh $(TARGET_DIR)/usr/sbin/ebtables-legacy-save
|
||||
|
||||
@@ -15,7 +15,7 @@ config BR2_PACKAGE_EFIBOOTMGR
|
||||
|
||||
https://github.com/rhboot/efibootmgr
|
||||
|
||||
comment "efibootmgr needs a glibc or uClibc toolchain w/ dynamic library, headers >= 3.12, gcc >= 4.9"
|
||||
comment "efibootmgr needs a toolchain w/ dynamic library, headers >= 3.12, gcc >= 4.9"
|
||||
depends on BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
|
||||
depends on BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \
|
||||
|
||||
@@ -258,6 +258,7 @@ config BR2_PACKAGE_EFL_WEBP
|
||||
|
||||
config BR2_PACKAGE_EFL_LIBRAW
|
||||
bool "libraw loader"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libraw
|
||||
select BR2_PACKAGE_LIBRAW
|
||||
help
|
||||
This option enables the Evas generic Libraw loader
|
||||
|
||||
@@ -10,6 +10,7 @@ ENLIGHTENMENT_SITE = http://download.enlightenment.org/rel/apps/enlightenment
|
||||
ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font)
|
||||
ENLIGHTENMENT_LICENSE_FILES = COPYING \
|
||||
src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt
|
||||
ENLIGHTENMENT_CPE_ID_VENDOR = enlightenment
|
||||
|
||||
ENLIGHTENMENT_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
|
||||
@@ -8,6 +8,7 @@ ENSCRIPT_VERSION = 1.6.6
|
||||
ENSCRIPT_SITE = $(BR2_GNU_MIRROR)/enscript
|
||||
ENSCRIPT_LICENSE = GPL-3.0+
|
||||
ENSCRIPT_LICENSE_FILES = COPYING
|
||||
ENSCRIPT_CPE_ID_VENDOR = gnu
|
||||
|
||||
# Enable pthread threads if toolchain supports threads
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
|
||||
@@ -26,8 +26,8 @@ define HOST_ENVIRONMENT_SETUP_INSTALL_CMDS
|
||||
printf "alias cmake=\"cmake \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$(HOST_DIR)/share/buildroot/toolchainfile.cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr\"\n" >> $(ENVIRONMENT_SETUP_FILE)
|
||||
$(SED) 's%$(HOST_DIR)%\$$SDK_PATH%g' \
|
||||
-e 's%$(HOST_DIR)/bin/%%g' \
|
||||
$(SED) 's%$(HOST_DIR)/bin/%%g' \
|
||||
-e 's%$(HOST_DIR)%\$$SDK_PATH%g' \
|
||||
-e '/^export "PATH=/c\' \
|
||||
$(ENVIRONMENT_SETUP_FILE)
|
||||
printf "export \"PATH=\$$SDK_PATH/bin:\$$SDK_PATH/sbin:\$$PATH\"\n" \
|
||||
|
||||
@@ -13,5 +13,6 @@ EXEMPI_DEPENDENCIES = host-pkgconf expat zlib \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
EXEMPI_LICENSE = BSD-3-Clause
|
||||
EXEMPI_LICENSE_FILES = COPYING
|
||||
EXEMPI_CPE_ID_VENDOR = exempi_project
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# From https://sourceforge.net/projects/expat/files/expat/2.2.10/
|
||||
md5 e0fe49a6b3480827c9455e4cfc799133 expat-2.2.10.tar.xz
|
||||
sha1 a333b95121a718a77ee481dbade5efcd72a32eb8 expat-2.2.10.tar.xz
|
||||
# From https://sourceforge.net/projects/expat/files/expat/2.4.1/
|
||||
md5 a4fb91a9441bcaec576d4c4a56fa3aa6 expat-2.4.1.tar.xz
|
||||
sha1 7988e4df355162500f09837aa95cbb48e6754420 expat-2.4.1.tar.xz
|
||||
|
||||
# Locally calculated
|
||||
sha256 5dfe538f8b5b63f03e98edac520d7d9a6a4d22e482e5c96d4d06fcc5485c25f2 expat-2.2.10.tar.xz
|
||||
sha256 cf032d0dba9b928636548e32b327a2d66b1aab63c4f4a13dd132c2d1d2f2fb6a expat-2.4.1.tar.xz
|
||||
sha256 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EXPAT_VERSION = 2.2.10
|
||||
EXPAT_VERSION = 2.4.1
|
||||
EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION)
|
||||
EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz
|
||||
EXPAT_INSTALL_STAGING = YES
|
||||
|
||||
@@ -9,6 +9,7 @@ FINDUTILS_SOURCE = findutils-$(FINDUTILS_VERSION).tar.xz
|
||||
FINDUTILS_SITE = $(BR2_GNU_MIRROR)/findutils
|
||||
FINDUTILS_LICENSE = GPL-3.0+
|
||||
FINDUTILS_LICENSE_FILES = COPYING
|
||||
FINDUTILS_CPE_ID_VENDOR = gnu
|
||||
FINDUTILS_CONF_ENV = \
|
||||
gl_cv_func_stdin=yes \
|
||||
ac_cv_func_working_mktime=yes \
|
||||
|
||||
@@ -10,6 +10,8 @@ FLATCC_LICENSE = Apache-2.0
|
||||
FLATCC_LICENSE_FILES = LICENSE
|
||||
FLATCC_INSTALL_STAGING = YES
|
||||
FLATCC_DEPENDENCIES = host-flatcc
|
||||
FLATCC_CONF_OPTS = -DFLATCC_ALLOW_WERROR=OFF
|
||||
HOST_FLATCC_CONF_OPTS = -DFLATCC_ALLOW_WERROR=OFF
|
||||
|
||||
# Disable build of tests and samples
|
||||
FLATCC_CONF_OPTS += -DFLATCC_TEST=OFF
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user