[meta-xilinx] [meta-xilinx 06/14] kc705-microblazeel.scc: Add KC705 linux config

Nathan Rossi nathan at nathanrossi.com
Wed May 4 07:31:35 PDT 2016


On Tue, May 3, 2016 at 10:57 AM, Manjukumar Matha
<manjukumar.harthikote-matha at xilinx.com> wrote:
> Add kernel configuration for KC705 kit according to latest v9.6 MB support
>
> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
> ---
>  .../bsp/kc705-microblazeel/kc705-microblazeel.cfg       | 17 +++++++++++++++++
>  .../bsp/kc705-microblazeel/kc705-microblazeel.scc       |  4 ++++
>  2 files changed, 21 insertions(+)
>  create mode 100644 recipes-kernel/linux/config/xilinx-machine/bsp/kc705-microblazeel/kc705-microblazeel.cfg
>  create mode 100644 recipes-kernel/linux/config/xilinx-machine/bsp/kc705-microblazeel/kc705-microblazeel.scc
>
> diff --git a/recipes-kernel/linux/config/xilinx-machine/bsp/kc705-microblazeel/kc705-microblazeel.cfg b/recipes-kernel/linux/config/xilinx-machine/bsp/kc705-microblazeel/kc705-microblazeel.cfg
> new file mode 100644
> index 0000000..4752326
> --- /dev/null
> +++ b/recipes-kernel/linux/config/xilinx-machine/bsp/kc705-microblazeel/kc705-microblazeel.cfg
> @@ -0,0 +1,17 @@
> +CONFIG_XILINX_MICROBLAZE0_FAMILY="kintex7"
> +
> +# CPU ISA Config
> +CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
> +CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1
> +CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1
> +CONFIG_XILINX_MICROBLAZE0_USE_DIV=1
> +CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=2
> +CONFIG_XILINX_MICROBLAZE0_USE_FPU=0
> +CONFIG_XILINX_MICROBLAZE0_HW_VER="9.6"
> +
> +# Memory Base Address
> +CONFIG_KERNEL_BASE_ADDR=0x80000000
> +
> +CONFIG_XILINX_AXI_EMAC=y
> +CONFIG_BLK_DEV_INITRD=y
> +CONFIG_XILINX_PHY=y

These should be coming from the cfg fragments.

CONFIG_XILINX_AXI_EMAC is enabled by
'xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg'
CONFIG_BLK_DEV_INITRD is enabled by linux-yocto, linux-xlnx sets it
via 'xilinx-base/ktypes/standard/standard.cfg'
CONFIG_XILINX_PHY this config is linux-xlnx only, and this reference
design does not need PCS/PMA as it is using GMII for the ethernet (at
least with the default configuration of the board). However you can
add this config option to
'xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg' for
completeness, which will automatically be included when using the
linux-xlnx kernel.

Regards,
Nathan

> diff --git a/recipes-kernel/linux/config/xilinx-machine/bsp/kc705-microblazeel/kc705-microblazeel.scc b/recipes-kernel/linux/config/xilinx-machine/bsp/kc705-microblazeel/kc705-microblazeel.scc
> new file mode 100644
> index 0000000..aaf7c2a
> --- /dev/null
> +++ b/recipes-kernel/linux/config/xilinx-machine/bsp/kc705-microblazeel/kc705-microblazeel.scc
> @@ -0,0 +1,4 @@
> +define KFEATURE_DESCRIPTION "Kernel Config for kc705-microblazeel specific setup"
> +define KFEATURE_COMPATIBILITY board
> +
> +kconf hardware kc705-microblazeel.cfg
> --
> 2.1.4
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list