[LEDE-DEV] [LEDE-DEV, v2, 07/11] uboot-at91: move BUILD_SUBTARGET from U-Boot/Default to devices

John Crispin john at phrozen.org
Wed Sep 20 23:41:23 PDT 2017


Hi,

it looks like uboot fails to build right now, could you have a look at 
the issue please ?

     John

   AS      spl/arch/arm/cpu/armv7/cache_v7_asm.o
arch/arm/cpu/armv7/cache_v7_asm.S: Assembler messages:
arch/arm/cpu/armv7/cache_v7_asm.S:28: Error: selected processor does not 
support `dmb' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:42: Error: selected processor does not 
support `isb' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:46: Error: selected processor does not 
support `movw r4,#0x3ff' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:49: Error: selected processor does not 
support `movw r7,#0x7fff' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:72: Error: selected processor does not 
support `dsb st' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:73: Error: selected processor does not 
support `isb' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:99: Error: selected processor does not 
support `dmb' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:112: Error: selected processor does 
not support `isb' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:116: Error: selected processor does 
not support `movw r4,#0x3ff' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:119: Error: selected processor does 
not support `movw r7,#0x7fff' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:142: Error: selected processor does 
not support `dsb st' in ARM mode
arch/arm/cpu/armv7/cache_v7_asm.S:143: Error: selected processor does 
not support `isb' in ARM mode
make[5]: *** [spl/arch/arm/cpu/armv7/cache_v7_asm.o] Error 1
make[4]: *** [spl/arch/arm/cpu/armv7] Error 2
make[3]: *** [spl/u-boot-spl] Error 2
make[3]: Leaving directory 
`/home/buildbot/slave-lede-local/at91_legacy/build/build_dir/target-arm_arm926ej-s_musl_eabi/u-boot-sama5d2_xplained_mmc/u-boot-2016.05'
make[2]: *** 
[/home/buildbot/slave-lede-local/at91_legacy/build/build_dir/target-arm_arm926ej-s_musl_eabi/u-boot-sama5d2_xplained_mmc/u-boot-2016.05/.built] 
Error 2
make[2]: Leaving directory 
`/home/buildbot/slave-lede-local/at91_legacy/build/package/boot/uboot-at91'
make[1]: *** [package/boot/uboot-at91/compile] Error 2
make[1]: *** Waiting for unfinished jobs....


On 13/09/17 20:51, Sandeep Sheriker Mallikarjun wrote:
> currenlty U-Boot/Default supports only at91 legacy devices.To add
> sama5 support, moving BUILD_SUBTARGET from U-Boot/Default to target
> devices.
>
> Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun at microchip.com>
> ---
>   package/boot/uboot-at91/Makefile | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile
> index 6a806ff..68e4ba4 100644
> --- a/package/boot/uboot-at91/Makefile
> +++ b/package/boot/uboot-at91/Makefile
> @@ -17,16 +17,17 @@ include $(INCLUDE_DIR)/package.mk
>   
>   define U-Boot/Default
>     BUILD_TARGET:=at91
> -  BUILD_SUBTARGET:=legacy
>     UBOOT_IMAGE:=u-boot.bin boot.bin
>   endef
>   
>   define U-Boot/at91sam9m10g45ek_nandflash
>     NAME:=AT91SAM9M10G45-EK board (NandFlash)
> +  BUILD_SUBTARGET:=legacy
>   endef
>   
>   define U-Boot/at91sam9x5ek_nandflash
>     NAME:=AT91SAM9X5-EK board (NandFlash)
> +  BUILD_SUBTARGET:=legacy
>   endef
>   
>   UBOOT_TARGETS := \




More information about the Lede-dev mailing list