-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add GPIO/Seceng drivers for linux and create two different whole-bin images for either sispeed m1s or pine64 ox64 (as we have different dts files for them now) * Update Readme * Update Defconfig Files
- Loading branch information
Showing
15 changed files
with
1,850 additions
and
42 deletions.
There are no files selected for viewing
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
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
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
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
30 changes: 0 additions & 30 deletions
30
board/pine64/ox64/patches/linux/0019-add-timer-node-to-dts-file.patch
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
board/pine64/ox64/patches/linux/0024-riscv-dts-bflb-m1s-Fix-address-size-cells.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,29 @@ | ||
From d7022e457c750271fa2acabbfb432ac56f9c924e Mon Sep 17 00:00:00 2001 | ||
From: Samuel Holland <samuel@sholland.org> | ||
Date: Sun, 5 Feb 2023 16:13:42 -0600 | ||
Subject: [PATCH 24/31] riscv: dts: bflb: m1s: Fix address/size-cells | ||
|
||
The number of address cells needed here (one) does not match the | ||
implicitly-defined default number of cells. | ||
|
||
Signed-off-by: Samuel Holland <samuel@sholland.org> | ||
--- | ||
arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts b/arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts | ||
index 031c824f2061..5307508e7a94 100644 | ||
--- a/arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts | ||
+++ b/arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dts | ||
@@ -33,6 +33,8 @@ xip_flash@58500000 { | ||
linux,mtd-name = "xip-flash.0"; | ||
erase-size = <0x10000>; | ||
bank-width = <4>; | ||
+ #address-cells = <1>; | ||
+ #size-cells = <1>; | ||
|
||
rootfs@0 { | ||
label = "rootfs"; | ||
-- | ||
2.25.1 | ||
|
29 changes: 29 additions & 0 deletions
29
board/pine64/ox64/patches/linux/0025-riscv-dts-bflb-ox64-Fix-address-size-cells.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,29 @@ | ||
From fc79d0beffc72950292e5adbe5e3481664e689d8 Mon Sep 17 00:00:00 2001 | ||
From: Allen Martin <armartin@gmail.com> | ||
Date: Sun, 5 Feb 2023 20:18:50 -0800 | ||
Subject: [PATCH 25/31] riscv: dts: bflb: ox64: Fix address/size-cells | ||
|
||
The number of address cells needed here (one) does not match the | ||
implicitly-defined default number of cells. | ||
|
||
Signed-off-by: Allen Martin <armartin@gmail.com> | ||
--- | ||
arch/riscv/boot/dts/bouffalolab/bl808-pine64-ox64.dts | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/arch/riscv/boot/dts/bouffalolab/bl808-pine64-ox64.dts b/arch/riscv/boot/dts/bouffalolab/bl808-pine64-ox64.dts | ||
index f9ed636291f6..f1db126d88e7 100644 | ||
--- a/arch/riscv/boot/dts/bouffalolab/bl808-pine64-ox64.dts | ||
+++ b/arch/riscv/boot/dts/bouffalolab/bl808-pine64-ox64.dts | ||
@@ -34,6 +34,8 @@ xip_flash@58500000 { | ||
linux,mtd-name = "xip-flash.0"; | ||
erase-size = <0x10000>; | ||
bank-width = <4>; | ||
+ #address-cells = <1>; | ||
+ #size-cells = <1>; | ||
}; | ||
}; | ||
|
||
-- | ||
2.25.1 | ||
|
29 changes: 29 additions & 0 deletions
29
board/pine64/ox64/patches/linux/0026-Add-timer-node-for-OpenSBI-1.2-compatibility.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,29 @@ | ||
From ac995c3b89aa22d75da6d7baf5a3c659a9f47dcc Mon Sep 17 00:00:00 2001 | ||
From: Justin Hammond <justin@dynam.ac> | ||
Date: Mon, 6 Feb 2023 13:38:55 +0800 | ||
Subject: [PATCH 26/31] Add timer node for OpenSBI 1.2 compatibility | ||
|
||
--- | ||
arch/riscv/boot/dts/bouffalolab/bl808.dtsi | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
|
||
diff --git a/arch/riscv/boot/dts/bouffalolab/bl808.dtsi b/arch/riscv/boot/dts/bouffalolab/bl808.dtsi | ||
index dd795667dea6..34652e17aece 100644 | ||
--- a/arch/riscv/boot/dts/bouffalolab/bl808.dtsi | ||
+++ b/arch/riscv/boot/dts/bouffalolab/bl808.dtsi | ||
@@ -140,5 +140,12 @@ plic: interrupt-controller@e0000000 { | ||
#interrupt-cells = <2>; | ||
riscv,ndev = <64>; | ||
}; | ||
+ | ||
+ clint: timer@e4000000 { | ||
+ compatible = "thead,c900-clint"; | ||
+ reg = <0xe4000000 0xc000>; | ||
+ interrupts-extended = <&cpu0_intc 3>, | ||
+ <&cpu0_intc 7>; | ||
+ }; | ||
}; | ||
}; | ||
-- | ||
2.25.1 | ||
|
25 changes: 25 additions & 0 deletions
25
board/pine64/ox64/patches/linux/0027-Tabstops-are-8-chars-not-4.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,25 @@ | ||
From b6635b506ad2a53cc8d0b786d741f9aa42ccc50b Mon Sep 17 00:00:00 2001 | ||
From: Justin Hammond <justin@dynam.ac> | ||
Date: Mon, 6 Feb 2023 13:41:53 +0800 | ||
Subject: [PATCH 27/31] Tabstops are 8 chars, not 4 | ||
|
||
--- | ||
arch/riscv/boot/dts/bouffalolab/bl808.dtsi | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/arch/riscv/boot/dts/bouffalolab/bl808.dtsi b/arch/riscv/boot/dts/bouffalolab/bl808.dtsi | ||
index 34652e17aece..7cd033b6a1cf 100644 | ||
--- a/arch/riscv/boot/dts/bouffalolab/bl808.dtsi | ||
+++ b/arch/riscv/boot/dts/bouffalolab/bl808.dtsi | ||
@@ -145,7 +145,7 @@ clint: timer@e4000000 { | ||
compatible = "thead,c900-clint"; | ||
reg = <0xe4000000 0xc000>; | ||
interrupts-extended = <&cpu0_intc 3>, | ||
- <&cpu0_intc 7>; | ||
+ <&cpu0_intc 7>; | ||
}; | ||
}; | ||
}; | ||
-- | ||
2.25.1 | ||
|
Oops, something went wrong.