[meta-xilinx] uboot-xlnx - what happened with configs ?

Nathan Rossi nathan at nathanrossi.com
Wed Jan 4 04:52:18 PST 2017


On 4 January 2017 at 22:01, Arno Steffens <star at gmx.li> wrote:
> Compared to previous versions of meta-xilinx in morty I miss in uboot-xlnx 2016-7
> these config files
> include/configs/zynq_microzed.h
> include/configs/zynq_picozed.h
> include/configs/zynq_zed.h
>
> What happened with this files?
> In previous versions I patched zynq_microzed.h as adaption for my own board.

Hi Arno,

In recent versions of U-Boot much consolidation has occurred where
config options are moved from #defines into actual kconfig options.

In u-boot-xlnx v2016.3 (and in upstream u-boot v2016.09) those 3
headers you mention were removed due to the defconfig providing the
config options required for those boards. You can see in the commit
that removes them that they are essentially empty -
https://github.com/Xilinx/u-boot-xlnx/commit/fd060eeb92c9214681bf828045e8fbc5bda4dd2a.

If you need to enable an option that cannot be enabled via kconfig in
the boards defconfig you will need to re-add the
CONFIG_SYS_CONFIG_NAME to the boards defconfig and add the header
back. It is however worth noting that if your board differs so greatly
from the microzed, then you should be adding a new board instead of
modifying an existing one. This is the point of the consolidation and
moving of options into kconfig, such that you would only need a device
tree and defconfig (and ps7_init for SPL) to provide your custom board
setup within U-Boot (for zynq at least).

Regards,
Nathan

>
> Thank you.
> Arno
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx



More information about the meta-xilinx mailing list