diff options
author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2022-11-22 18:15:09 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-04-07 17:50:36 -0700 |
commit | cfd4ac6fc680d16899a5ccc71146dd95001e2d0f (patch) | |
tree | 30fb513f97300cc5281b1ddf32469e2d7aa053bf /meta-xilinx-bsp/recipes-kernel | |
parent | 88c380126c0fb28e468f5b9f87704b048f4c2711 (diff) | |
download | meta-xilinx-cfd4ac6fc680d16899a5ccc71146dd95001e2d0f.tar.gz |
linux-xlnx: Add kernel metadata for evaluation board
1. Add kernel metadata for ac701 and vcu118 evaluation board.
2. Add kernel fragments and series configuration compiler(.scc) files
for ac701 and vcu118 boards.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-kernel')
5 files changed, 59 insertions, 2 deletions
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/ac701-microblazeel/ac701-microblazeel.cfg b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/ac701-microblazeel/ac701-microblazeel.cfg new file mode 100644 index 00000000..05452ce9 --- /dev/null +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/ac701-microblazeel/ac701-microblazeel.cfg | |||
@@ -0,0 +1,19 @@ | |||
1 | # SPDX-License-Identifier: MIT | ||
2 | |||
3 | #........................................................................ | ||
4 | # WARNING | ||
5 | # | ||
6 | # This file is a kernel configuration fragment, and not a full kernel | ||
7 | # configuration file. The final kernel configuration is made up of | ||
8 | # an assembly of processed fragments, each of which is designed to | ||
9 | # capture a specific part of the final configuration (e.g. platform | ||
10 | # configuration, feature configuration, and board specific hardware | ||
11 | # configuration). For more information on kernel configuration, please | ||
12 | # refer the product documentation. | ||
13 | # | ||
14 | #........................................................................ | ||
15 | |||
16 | # | ||
17 | # Definitions for MICROBLAZE | ||
18 | # | ||
19 | CONFIG_XILINX_MICROBLAZE0_FAMILY="artix7" | ||
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/ac701-microblazeel/ac701-microblazeel.scc b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/ac701-microblazeel/ac701-microblazeel.scc new file mode 100644 index 00000000..6d551461 --- /dev/null +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/ac701-microblazeel/ac701-microblazeel.scc | |||
@@ -0,0 +1,6 @@ | |||
1 | # SPDX-License-Identifier: MIT | ||
2 | |||
3 | define KFEATURE_DESCRIPTION "Kernel Config for AC701 machine BSP" | ||
4 | define KFEATURE_COMPATIBILITY AC701 board | ||
5 | |||
6 | kconf hardware ac701-microblazeel.cfg | ||
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/vcu118-microblazeel/vcu118-microblazeel.cfg b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/vcu118-microblazeel/vcu118-microblazeel.cfg new file mode 100644 index 00000000..c25a48e1 --- /dev/null +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/vcu118-microblazeel/vcu118-microblazeel.cfg | |||
@@ -0,0 +1,19 @@ | |||
1 | # SPDX-License-Identifier: MIT | ||
2 | |||
3 | #........................................................................ | ||
4 | # WARNING | ||
5 | # | ||
6 | # This file is a kernel configuration fragment, and not a full kernel | ||
7 | # configuration file. The final kernel configuration is made up of | ||
8 | # an assembly of processed fragments, each of which is designed to | ||
9 | # capture a specific part of the final configuration (e.g. platform | ||
10 | # configuration, feature configuration, and board specific hardware | ||
11 | # configuration). For more information on kernel configuration, please | ||
12 | # refer the product documentation. | ||
13 | # | ||
14 | #........................................................................ | ||
15 | |||
16 | # | ||
17 | # Definitions for MICROBLAZE | ||
18 | # | ||
19 | CONFIG_XILINX_MICROBLAZE0_FAMILY="virtexuplus" | ||
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/vcu118-microblazeel/vcu118-microblazeel.scc b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/vcu118-microblazeel/vcu118-microblazeel.scc new file mode 100644 index 00000000..29261805 --- /dev/null +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx/linux-xlnx-bsp-kmeta/bsp/vcu118-microblazeel/vcu118-microblazeel.scc | |||
@@ -0,0 +1,6 @@ | |||
1 | # SPDX-License-Identifier: MIT | ||
2 | |||
3 | define KFEATURE_DESCRIPTION "Kernel Config for VCU118 machine BSP" | ||
4 | define KFEATURE_COMPATIBILITY VCU118 board | ||
5 | |||
6 | kconf hardware vcu118-microblazeel.cfg | ||
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_%.bbappend b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_%.bbappend index bacf691c..c3c569ff 100644 --- a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_%.bbappend +++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_%.bbappend | |||
@@ -1,5 +1,12 @@ | |||
1 | KERNEL_MODULE_AUTOLOAD:kria += "usb5744" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
2 | |||
3 | SRC_URI:append = " \ | ||
4 | file://linux-xlnx-bsp-kmeta;type=kmeta;name=linux-xlnx-bsp-kmeta;destsuffix=linux-xlnx-bsp-kmeta \ | ||
5 | " | ||
6 | |||
7 | KERNEL_MODULE_AUTOLOAD:k26 += "usb5744" | ||
2 | 8 | ||
3 | # MicroBlaze BSP fragments | 9 | # MicroBlaze BSP fragments |
4 | KERNEL_FEATURES:append:kc705-microblazeel = " bsp/xilinx/kc705-microblazeel-features/kc705-microblazeel-features.scc" | 10 | KERNEL_FEATURES:append:kc705-microblazeel = " bsp/xilinx/kc705-microblazeel-features/kc705-microblazeel-features.scc" |
5 | 11 | KERNEL_FEATURES:append:ac701-microblazeel = " bsp/ac701-microblazeel/ac701-microblazeel.scc" | |
12 | KERNEL_FEATURES:append:vcu118-microblazeel = " bsp/vcu118-microblazeel/vcu118-microblazeel.scc" | ||