Skip to content
Snippets Groups Projects
Verified Commit 1a632e4f authored by Karel Koci's avatar Karel Koci :metal: Committed by Karel Koci
Browse files

patches/openwrt: move uboot environment for Mox to OpenWrt

Packge Mox-support was providing uboot environment configuration file
but more appropriate is to use OpenWrt approach with generated
configuration.

This should move Mox little bit closer to upstream.
parent 8e07f209
Branches
Tags
2 merge requests!377Turris OS 5.2 (HBK),!186Feature/uboot fix
From c2036f8356b880620a1a523966cc6ec551abac73 Mon Sep 17 00:00:00 2001
From 58f1ff52079f5e645655085ed834ead9522d8ec5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <marek.behun@nic.cz>
Date: Wed, 22 Apr 2020 13:50:50 +0200
Subject: [PATCH] mvebu: Basic MoX support
......@@ -8,6 +8,7 @@ Content-Transfer-Encoding: 8bit
 
Signed-off-by: Marek Behún <marek.behun@nic.cz>
---
package/boot/uboot-tools/files/mvebu | 3 +
.../mvebu/base-files/etc/board.d/02_network | 4 +
target/linux/mvebu/config-4.14 | 3 +
target/linux/mvebu/cortexa53/config-default | 12 +
......@@ -117,7 +118,7 @@ Signed-off-by: Marek Behún <marek.behun@nic.cz>
...ell-armada37xx-add-rWTM-mailbox-node.patch | 38 +
...-Add-Turris-Mox-rWTM-firmware-driver.patch | 454 +++++++++
...-marvell-Add-DTS-file-for-Turris-Mox.patch | 931 ++++++++++++++++++
109 files changed, 13876 insertions(+), 43 deletions(-)
110 files changed, 13879 insertions(+), 43 deletions(-)
create mode 100644 target/linux/mvebu/image/Config.in
delete mode 100644 target/linux/mvebu/patches-4.14/527-PCI-aardvark-allow-to-specify-link-capability.patch
create mode 100644 target/linux/mvebu/patches-4.14/90001-crypto-inside-secure-remove-null-check-before-kfree.patch
......@@ -224,8 +225,22 @@ Signed-off-by: Marek Behún <marek.behun@nic.cz>
create mode 100644 target/linux/mvebu/patches-4.14/90124-crypto-Add-Turris-Mox-rWTM-firmware-driver.patch
create mode 100644 target/linux/mvebu/patches-4.14/90125-ARM64-dts-marvell-Add-DTS-file-for-Turris-Mox.patch
 
diff --git a/package/boot/uboot-tools/files/mvebu b/package/boot/uboot-tools/files/mvebu
index 89fef9e..4b9ea88 100644
--- a/package/boot/uboot-tools/files/mvebu
+++ b/package/boot/uboot-tools/files/mvebu
@@ -21,6 +21,9 @@ cznic,turris-omnia)
ubootenv_add_uci_config "/dev/mtd0" "0xf0000" "0x10000" "0x10000"
fi
;;
+cznic,mox)
+ ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x00010000"
+ ;;
globalscale,espressobin|\
globalscale,espressobin-emmc|\
globalscale,espressobin-v7|\
diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 79921ee..de4c13b 100755
index 68736f8..302ce8f 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -24,6 +24,10 @@ cznic,turris-omnia)
......@@ -14841,5 +14856,5 @@ index 0000000..785206a
+2.21.0
+
--
2.27.0
2.28.0
 
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment