Add a new platform to U-Boot bootloader

Platform code overview

You can access Digi's U-Boot source code in Github.

The BSP is inside folder board/digi/ where there are three subfolders:

Normally you only need to modify the code inside either ccimx6ulsbc or ccimx6ulstarter, depending on which is closer to your hardware design, to adapt it to your carrier board-specific hardware. You may want to adapt, for example:

Platform include files

Platform include files in include/configs/ are:

You can configure most settings for your carrier board on either the ccimx6ulsbc.h or ccimx6ulstarter.h header files.

Add a new platform

Once you understand the structure of U-Boot platform code, you can duplicate one of the Digi reference platforms so it can be customized. We will call this new platform "custom".

  1. Fork the U-Boot repository from the Digi Embedded github account into your own account.
  2. Duplicate the reference platform of your choice. You can use the following commit as reference.
  3. Customize your platform.
  4. Either modify the DEY u-boot recipe to point to your forked branch or extract the patch from the repository and add it to your own custom Yocto layer. See Add new machine in custom Digi Embedded Yocto layer for more information.

 

© 2018 Digi International Inc. All rights reserved.
Add a new platform to U-Boot bootloader updated on 22 January 2018 02:43:38 PM