User Tools

Site Tools


u-boot_porting_board

Overview

Quick run-through of the supporting content and files for a specific board; in this case, the hypothetical ZynqMP-based “Coyote” board from Acme Corp, with emphasis on Kbuild structure and not header files wherever possible.

Based on:

CONFIG_SYS_ARCH="arm"
CONFIG_SYS_CPU="armv8"
CONFIG_SYS_SOC="zynqmp"
CONFIG_SYS_VENDOR="acme"
CONFIG_SYS_BOARD="zynqmp"
CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp"

Writeup here.

Files/directories

Some of the following will already exist for generic ZynqMP content; use existing files from some other ZynqMP-based board as the starting point for new Coyote-related content.

Existing usable content

  • include/
    • configs/
      • xilinx_zynqmp.h
  • arch/
    • arm/
      • Kconfig
      • Makefile
      • mach-zynqmp/

New Coyote board content

  • configs/
    • acme_zynqmp_coyote_rev1_0_defconfig
  • board/
    • acme/
      • Kconfig
      • common/
        • board.c
      • zynqmp/
        • Kconfig
        • Makefile
        • zynqmp.c [aka board.c]
        • cmds.c
        • zynqmp-coyote-rev1.0/
          • psu_init_gpl.c
u-boot_porting_board.txt · Last modified: 2019/12/27 08:55 by rpjday