AnsweredAssumed Answered

U-Boot Configurations - Select Boot Device

Question asked by Paul DeMetrotion on Feb 4, 2016
Latest reply on Feb 8, 2016 by alejandrolozano

I have multiple u-boot configurations for a custom MX6DL device. I am trying to build two different versions of u-boot.imx based on different boot devices, an SD or SPINOR device. Is there any way to differentiate the two u-boot.imx files. Each configuration produces the same u-boot-imx6dlc420-2104.04-r0.imx binary.In the manufacturing tool file directory, the Freescale devices have different u-boot file names according to the boot device. Is this something done automatically or do I create these files using the u-boot file created?


I have added the following two options in my boards.cfg file - mx6dlc420 and mx6dlc420_spinor:


Active  arm         armv7          mx6         freescale       mx6dlc420           mx6dlc420


Active  arm         armv7          mx6         freescale       mx6dlc420           mx6dlc420_spinor



In my machine file, I have the following options:



UBOOT_CONFIG[sd] = "mx6dlc420_config,sdcard"

UBOOT_CONFIG[spinor] = "mx6dlc420_spinor_config"

UBOOT_CONFIG[mfgtool] = "mx6dlc420_config"


I have built with the following selections which both work and build a u-boot file with the same name.


UBOOT_CONFIG ??= "spinor"


The following selections did not build because of an error stating only one configuration is allowed.

UBOOT_CONFIG ??= "spinor sd"

UBOOT_CONFIG ??= "sd spinor"


How do I get the builds to produce different output files???