forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2fb8dc
commit e4d413b
Showing
173 changed files
with
143 additions
and
299 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
235 changes: 0 additions & 235 deletions
235
...ernel/archive/rockchip64-6.7/general-increasing_DMA_block_memory_allocation_to_2048.patch
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,10 @@ Signed-off-by: Aditya Prayoga <[email protected]> | |
1 file changed, 764 insertions(+), 232 deletions(-) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | ||
index 1eb287a3f8c0..ac0da7b7f43c 100644 | ||
index 9995549873d3..69d76dea35d0 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | ||
@@ -1,53 +1,37 @@ | ||
@@ -1,54 +1,37 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
- * Copyright (c) 2020 Aditya Prayoga <[email protected]> | ||
|
@@ -45,6 +45,7 @@ index 1eb287a3f8c0..ac0da7b7f43c 100644 | |
compatible = "kobol,helios64", "rockchip,rk3399"; | ||
|
||
- aliases { | ||
- ethernet0 = &gmac; | ||
- mmc0 = &sdmmc; | ||
- mmc1 = &sdhci; | ||
- spi1 = &spi1; | ||
|
@@ -1339,4 +1340,3 @@ index 1eb287a3f8c0..ac0da7b7f43c 100644 | |
\ No newline at end of file | ||
-- | ||
Armbian | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ diff --git a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts b/arch/arm64/boo | |
index 1445b879ac7a..7ebf21d7faac 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | ||
@@ -1,118 +1,166 @@ | ||
@@ -1,119 +1,167 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
- * Copyright (c) 2020 David Bauer <[email protected]> | ||
|
@@ -36,8 +36,10 @@ index 1445b879ac7a..7ebf21d7faac 100644 | |
+ "rockchip,rk3328"; | ||
|
||
aliases { | ||
- ethernet0 = &gmac2io; | ||
- ethernet1 = &rtl8153; | ||
- mmc0 = &sdmmc; | ||
+ ethernet0 = &gmac2io; | ||
+ ethernet1 = &r8153; | ||
}; | ||
|
||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
...ernel/archive/rockchip64-6.8/general-increasing_DMA_block_memory_allocation_to_2048.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/kernel/dma/pool.c b/kernel/dma/pool.c | ||
index d10613eb0f63..d2223bc39f79 100644 | ||
--- a/kernel/dma/pool.c | ||
+++ b/kernel/dma/pool.c | ||
@@ -189,13 +189,11 @@ static int __init dma_atomic_pool_init(void) | ||
int ret = 0; | ||
|
||
/* | ||
- * If coherent_pool was not used on the command line, default the pool | ||
- * sizes to 128KB per 1GB of memory, min 128KB, max MAX_PAGE_ORDER. | ||
+ * Always use 2MiB as default pool size. | ||
+ * See: https://forum.armbian.com/topic/4811-uas-mainline-kernel-coherent-pool-memory-size/ | ||
*/ | ||
if (!atomic_pool_size) { | ||
- unsigned long pages = totalram_pages() / (SZ_1G / SZ_128K); | ||
- pages = min_t(unsigned long, pages, MAX_ORDER_NR_PAGES); | ||
- atomic_pool_size = max_t(size_t, pages << PAGE_SHIFT, SZ_128K); | ||
+ atomic_pool_size = SZ_2M; | ||
} | ||
INIT_WORK(&atomic_pool_work, atomic_pool_work_fn); | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
patch/kernel/archive/rockchip64-6.8/kernel-6.8-tools-cgroup-makefile.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/tools/cgroup/Makefile b/tools/cgroup/Makefile | ||
new file mode 100644 | ||
index 000000000000..ffca068e4a76 | ||
--- /dev/null | ||
+++ b/tools/cgroup/Makefile | ||
@@ -0,0 +1,11 @@ | ||
+# SPDX-License-Identifier: GPL-2.0 | ||
+# Makefile for cgroup tools | ||
+ | ||
+CFLAGS = -Wall -Wextra | ||
+ | ||
+all: cgroup_event_listener | ||
+%: %.c | ||
+ $(CC) $(CFLAGS) -o $@ $^ | ||
+ | ||
+clean: | ||
+ $(RM) cgroup_event_listener |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.