[Buildroot] [PATCH 2/2] u-boot: add support for full image socfpga mkpimage support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Feb 13 14:27:47 UTC 2017


Hello,

Thanks for this new iteration!

On Mon, 13 Feb 2017 14:59:34 +0100, Lionel Flandrin wrote:

>  ifeq ($(BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC),y)
> +ifeq ($(BR2_TARGET_UBOOT_SPL),y)
> +UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES = $(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME))
> +UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 0
> +else
> +UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES = u-boot-dtb.bin
> +UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 1
> +endif

So when the SPL is used, the header version should always be 0, and
when the full U-Boot is used directly, the header version should always
be 1 ?

I thought 0 was for older SoCs, and 1 for newer SoCs. Or are we sure
that SPL booting will only ever be used on older SoCs, and direct U-Boot
booting will only be used on newer SoCs ?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list