[U-Boot-Users] step to port u-boot on custom board

Ajay Jain ajay050 at gmail.com
Thu Aug 17 14:43:52 CEST 2006


Hi,

> I want to know the step to port u-boot on my custom board and required tools

Read the Readme of the project. It has a lot of information about the
options available in the uboot. If you have a board, that is not
already supported by uboot, then you need to do the following. These
steps are also listed in the Readme.

1.  Add a new configuration option for your board to the toplevel
"Makefile" and to the "MAKEALL" script, using the existing entries as
examples. Note that here and at many other places boards and other
names are listed in alphabetical sort order. Please
    keep this order.
2.  Create a new directory to hold your board specific code. Add any
files you need. In your board directory, you will need at least the
"Makefile", a "<board>.c", "flash.c" and "u-boot.lds".
3.  Create a new configuration file "include/configs/<board>.h" for your board
3.  If you're porting U-Boot to a new CPU, then also create a new
directory to hold your CPU specific code. Add any files you need.
4.  Run "make <board>_config" with your new name.
5.  Type "make", and you should get a working "u-boot.srec" file to be
installed on your target system.
6.  Debug and solve any problems that might arise. [Of course, this
last step is much harder than it sounds.]

--
Ajay




More information about the U-Boot mailing list