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.

am3352: Board configuration in U-boot

Part Number: AM3352
Other Parts Discussed in Thread: AM3352

I have custom designed board based on AM3352.On my board I have DP83867CRRGZ, and DDR3 - MT41K128M16JT-125.

I want create my own board in u-boot e.g. "XYZ". I would like to know which files I have to modify / create in order to support new board. (May be I can take beagle bone black as sample).

If anybody has list of file need to be modified / function need to be change in order to add support for new board - that will be very helpful.

Also I want to know, if I have created my pinmux file .c/.h from pinmux utility, is there anyway I can just include in u-boot so I don't have to create separate file for programing IO-MUXes.

Thanks,

R.

  • The software team have been notified. They will respond here.
  • Hi,

    The board specific files needed to build u-boot, i.e. for Beaglebone Black, are:
    board/ti/am335x/board.c ---> board initialization (pinmux, clocks, ddr, etc..)
    board/ti/am335x/mux.c ---> pinmux settings
    arch/arm/include/asm/arch-am33xx/ddr_defs.h ---> ddr/emif register values, timings etc..
    include/configs/am335x_evm.h ---> board configuration (see also the included header files)
    arch/arm/dts/am335x-boneblack.dts
    arch/arm/dts/am335x-bone-common.dtsi
    arch/arm/dts/am33xx.dtsi

    You can either modify these files to include support for your custom board, or create new files for your board.
    If you choose to create new files for your board, you need to modify the Kconfig & Makefiles as well.

    NOTE: for the above list of files, I've referenced the sources from ti-processor-sdk-linux-am335x-evm-03.03.00.04.

    Best Regards,
    Yordan