-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bsp: cvitek: Add support for duos_sd
Supports both big and little cores of RISC-V C906, but does not support ARM cores. Currently, only UART drivers are supported on the peripherals. Signed-off-by: Shicheng Chu <[email protected]>
- Loading branch information
1 parent
669a682
commit 66738d7
Showing
11 changed files
with
148 additions
and
7 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
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
Binary file not shown.
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,56 @@ | ||
/* | ||
* U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
/ { | ||
description = "Various kernels, ramdisks and FDT blobs"; | ||
#address-cells = <2>; | ||
|
||
images { | ||
kernel-1 { | ||
description = "cvitek kernel"; | ||
data = /incbin/("./Image.lzma"); | ||
type = "kernel"; | ||
arch = "riscv"; | ||
os = "linux"; | ||
compression = "lzma"; | ||
load = <0x0 0x80200000>; | ||
entry = <0x0 0x80200000>; | ||
hash-2 { | ||
algo = "crc32"; | ||
}; | ||
}; | ||
|
||
|
||
/*FDT*/ | ||
|
||
fdt-cv1813h_milkv_duos_sd { | ||
description = "cvitek device tree - cv1813h_milkv_duos_sd"; | ||
data = /incbin/("./cv1813h_milkv_duos_sd.dtb"); | ||
type = "flat_dt"; | ||
arch = "riscv"; | ||
compression = "none"; | ||
hash-1 { | ||
algo = "sha256"; | ||
}; | ||
}; | ||
|
||
|
||
|
||
}; | ||
|
||
/*CFG*/ | ||
configurations { | ||
|
||
config-cv1813h_milkv_duos_sd { | ||
description = "boot cvitek system with board cv1813h_milkv_duos_sd"; | ||
kernel = "kernel-1"; | ||
fdt = "fdt-cv1813h_milkv_duos_sd"; | ||
}; | ||
|
||
}; | ||
|
||
|
||
}; |
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