U-Boot branches for i.MX6 – April 2013

We’ve just swapped around the production and staging branches of our GitHub repository for i.MX6.

The old production branch is now in branch production-before-20130402 and the prior staging branch is now in branch production, reflecting the fact that we’ll now be shipping versions based on our multi-CPU structure.

The primary thing you need to know was described in the previous post. You’ll now need to specify the board configuration in more detail. Instead of nitrogen6x_config, most of you will want nitrogen6q_config, reflecting the fact that you’re building for our standard Quad-Core, 1GB board.

user@build:~$ git clone git://github.com/boundarydevices/u-boot-imx6.git
Cloning into 'u-boot-imx6'...
remote: Counting objects: 200078, done.
remote: Compressing objects: 100% (36179/36179), done.
remote: Total 200078 (delta 161056), reused 199999 (delta 160995)
Receiving objects: 100% (200078/200078), 50.96 MiB | 1.63 MiB/s, done.
Resolving deltas: 100% (161056/161056), done.
user@build:~$ cd u-boot-imx6/
user@build:~/u-boot-imx6$ git checkout origin/production -b production
Branch staging set up to track remote branch production from origin.
Switched to a new branch 'production'
user@build:~/u-boot-imx6$ export ARCH=arm
user@build:~/u-boot-imx6$ export CROSS_COMPILE=arm-none-linux-gnueabi-
user@build:~/u-boot-imx6$ make nitrogen6q_config
Configuring for nitrogen6s - Board: nitrogen6x, Options: IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q.cfg,MX6Q
user@build:~/u-boot-imx6$ make all
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
...
make -C examples/api all
make[1]: Entering directory `/home/user/u-boot-imx6/examples/api'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/u-boot-imx6/examples/api'
user@build:~/u-boot-imx6$ ls -l u-boot.imx
-rw-rw-r-- 1 user user 315128 Feb  1 12:41 u-boot.imx
Support for Nitrogen6X and variants has now been accepted for inclusion in the next release of main-line U-Boot, so we’ll be prepping a new staging branch to track that for future development.

Tags:

One Response to “U-Boot branches for i.MX6 – April 2013”

  1. Matthias Mann June 20, 2013 3:38 am #

    The memory configuration (1066mhz_4x128mx16.cfg) in the production branch does not work reliable.
    The configuratuion from the staging branch works reliable (after adding the MX6_ prefix).

Leave a Reply

Subscribe

Subscribe to our e-mail newsletter to receive updates.