This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5K2E04: Need support for kernel source, device tree, pinmux configuration

Part Number: AM5K2E04

Hi,

Using AM5k2e04 board with part number am5k2e04xabd4 need to develop linux based development of device drivers. So we need to clarify for kernel source, device tree, pinmux configuration.

Below we followed to download Yocto based kernel source.

Refererrence link to download yocto kernel source:

software-dl.ti.com/.../Overview_Building_the_SDK.html

Based on following figures, We able to download kernel source, Anyone please try to confirm my following procedures is correct or not ? & need support for kernel source, device tree, pinmux configuration.

Regards,

SanthanaKumarS

  • Hi, Santhana,

    You have broken links/attachment in your post. I can only see the last link in your post. Any way, to get the kernel source and etc, you can download the K2E Linux Processor SDK installer from the product download page for the source code, filesystem, and prebuilt uboot and kernel images.

    https://www.ti.com/tool/PROCESSOR-SDK-K2E

    Please also see PLSDK Kernel User's Guide on how to rebuild kernel and device tree.

    http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_Kernel_Users_Guide.html

    Rex

  • Hi,

    Thanks for replying. Sorry for broken links/attachment.

    Using AM5k2e04 board, K2Ex EVM board will be taken for referrence is correct?

    Based on above referrence link , We download  yocto kernel source using

    MACHINE=k2e-evm bitbake arago-base-tisdk-image

    Taken prebuilt binaries for rootfs image, using keystone-k2e-evm.dtb to boot with zImage on this board.

    In keystone-k2e-evm.dts , Able to see compatible for linux kernel drivers for few peripherals.

    but i need pinmux configuration for peripherals, I am unable to find that.

    Please try to guide me for pin mux configuration.

    Regards,

    SanthanaKumarS

  • Hi, Santhana,

    I don't recall K2E ever need to configure pinmux. Hence, we don't have pinmux configuration in K2E dts file, nor any configuration in TI RTOS example. If you want pinmux info, you may want to refer to device tree binding documentation in 

    Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt

    Rex

  • Hi,

    Thanks for your confirmation.

    For AM5k2e04 boards, have dedicated pins so don't need to configure pinmux.

    Regards,

    SanthanaKumarS

  • Hi,

    We need one more help from your side.

    For K2E referrence or AM5k2E04 board, DDR configuration need to support in our scope.

    So I check u-boot level, Keystone2 has DDR3 SPD configuration, compared to K2L, K2G there is SPD configuration provided to K2E boards.

    For SPD configuration, my understanding

    "SPD is a memory hardware feature that makes it possible for the computer to know what memory is present, and what timings to use to access the memory."

    Compared to imx6 series & K2E board, DDR calibration is required or not . Please verify my understanding & give clarifications about DDR interface in AM5k2304 board.

    Regards,

    SanthanaKumarS

  • Hi, Santhana,

    DDR DIMMs contain SPD memories (small SSEPROMs) that contain all of the critical timing values needed for a DDR controller to configure to operate with the DIMM.  Even though the K2E EVM uses DDR on a DIMM, we do not have software support for reading and using the SPD.  We expect our customers to implement discrete SDRAMs on their board beside the K2E processor.  We provide tools like the REG_CALC worksheet to assist with the DDR Controller configuration.  The critical timing values must be pulled from the SDRAM datasheet and entered into the REG_CALC worksheet.  The resulting register values are then placed into the configuration software.  Please refer to the KeyStone™ II DDR3 Interface Bring-Up Application Report (SPRACM0).  It details the steps needed to implement and commission the DDR interface on the customer’s board.

    Rex

  • Hi,

    Got DDR controller registers. So we close this issue. Thanks for your help.

    Regards,

    SanthanaKumarS