[U-Boot] [PATCH v6 0/6] LS2080ARDB: Enable EFI boot support
york sun
york.sun at nxp.com
Wed Nov 16 22:57:52 CET 2016
On 11/15/2016 02:20 PM, Alexander Graf wrote:
>
>
> On 15/11/2016 23:11, york sun wrote:
>>
>> On 11/15/2016 12:36 PM, Alexander Graf wrote:
>>> Hi York,
>>>
>>> Do you want to take that patch set?
>>>
>>
>> Yes, I can. I saw it assigned to you in patchwork so I didn't act.
>
> I think since it's really hardware enablement for your platform, I'd
> prefer if you pull them all in.
>
>
Alex,
I got compiling warnings
19: ls2080: Exit dpaa only right before exiting U-Boot
20: efi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3
21: ls2080ardb: Reserve DP-DDR RAM
aarch64: + ls2080ardb_nand
+(ls2080ardb_nand) efi_add_memory_map(gd->bd->bi_dram[2].start,
+(ls2080ardb_nand) ^
w+(ls2080ardb_nand) ../board/freescale/ls2080ardb/ls2080ardb.c: In
function 'misc_init_r':
w+(ls2080ardb_nand) ../board/freescale/ls2080ardb/ls2080ardb.c:207:3:
warning: implicit declaration of function 'efi_add_memory_map'
[-Wimplicit-function-declaration]
22: armv8: ls2080a: Declare spin tables as reserved for efi loader
aarch64: + ls1046aqds_sdcard_ifc ls2080aqds_nand ls1046aqds_nand
ls1043aqds_nand ls1043ardb_nand ls1046aqds_sdcard_qspi
ls1043aqds_sdcard_qspi ls1046ardb_sdcard ls1043ardb_sdcard
ls1043aqds_sdcard_ifc ls1046ardb_emmc
+(ls2080ardb_nand,ls1046aqds_sdcard_ifc,ls2080aqds_nand,ls1046aqds_nand,ls1043aqds_nand,ls1043ardb_nand,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1046ardb_sdcard,ls1043ardb_sdcard,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
efi_add_memory_map((uintptr_t)&secondary_boot_code,
+(ls2080ardb_nand,ls1046aqds_sdcard_ifc,ls2080aqds_nand,ls1046aqds_nand,ls1043aqds_nand,ls1043ardb_nand,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1046ardb_sdcard,ls1043ardb_sdcard,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
^
w+(ls2080ardb_nand,ls1046aqds_sdcard_ifc,ls2080aqds_nand,ls1046aqds_nand,ls1043aqds_nand,ls1043ardb_nand,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1046ardb_sdcard,ls1043ardb_sdcard,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
../arch/arm/cpu/armv8/fsl-layerscape/fdt.c: In function 'ft_fixup_cpu':
w+(ls2080ardb_nand,ls1046aqds_sdcard_ifc,ls2080aqds_nand,ls1046aqds_nand,ls1043aqds_nand,ls1043ardb_nand,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1046ardb_sdcard,ls1043ardb_sdcard,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
../arch/arm/cpu/armv8/fsl-layerscape/fdt.c:110:2: warning: implicit
declaration of function 'efi_add_memory_map'
[-Wimplicit-function-declaration]
23: armv8: fsl-layerscape: Add support for efi_loader RTS reset
aarch64: + ls1046aqds_sdcard_ifc ls1043aqds ls1046aqds_nand
ls1046aqds ls1046ardb_qspi ls1043aqds_qspi ls1043aqds_nand
ls1046aqds_lpuart ls1043aqds_lpuart ls1046aqds_sdcard_qspi
ls1043aqds_sdcard_qspi ls1046ardb_sdcard ls1043aqds_nor_ddr3
ls1046aqds_qspi ls1043aqds_sdcard_ifc ls1046ardb_emmc
+(ls2080ardb_nand,ls2080aqds_nand,ls1043ardb_nand,ls1043ardb_sdcard)
efi_add_runtime_mmio(&rstcr, sizeof(*rstcr));
+(ls2080ardb_nand,ls2080aqds_nand,ls1043ardb_nand,ls1043ardb_sdcard)
^
+(ls2080ardb_nand,ls2080aqds_nand,ls1043ardb_nand,ls1043ardb_sdcard) In
file included from ../arch/arm/cpu/armv8/fsl-layerscape/cpu.c:20:0:
+(ls2080ardb_nand,ls2080aqds_nand,ls1043ardb_nand,ls1043ardb_sdcard)
../include/efi_loader.h:184:91: note: expected 'void **' but argument is
of type 'u32 **'
+(ls2080ardb_nand,ls2080aqds_nand,ls1043ardb_nand,ls1043ardb_sdcard)
static inline void efi_add_runtime_mmio(void **mmio_ptr, u64 len) { }
+(ls2080ardb_nand,ls2080aqds_nand,ls1043ardb_nand,ls1043ardb_sdcard)
^
+(ls1046aqds_sdcard_ifc,ls1043aqds,ls1046aqds_nand,ls1046aqds,ls1046ardb_qspi,ls1043aqds_qspi,ls1043aqds_nand,ls1046aqds_lpuart,ls1043aqds_lpuart,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1043aqds_nor_ddr3,ls1046ardb_sdcard,ls1046aqds_qspi,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
arch/arm/cpu/armv8/fsl-layerscape/built-in.o: In function
`efi_reset_system':
+(ls1046aqds_sdcard_ifc,ls1043aqds,ls1046aqds_nand,ls1046aqds,ls1046ardb_qspi,ls1043aqds_qspi,ls1043aqds_nand,ls1046aqds_lpuart,ls1043aqds_lpuart,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1043aqds_nor_ddr3,ls1046ardb_sdcard,ls1046aqds_qspi,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
build/../arch/arm/cpu/armv8/fsl-layerscape/cpu.c:489: multiple
definition of `efi_reset_system'
+(ls1046aqds_sdcard_ifc,ls1043aqds,ls1046aqds_nand,ls1046aqds,ls1046ardb_qspi,ls1043aqds_qspi,ls1043aqds_nand,ls1046aqds_lpuart,ls1043aqds_lpuart,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1043aqds_nor_ddr3,ls1046ardb_sdcard,ls1046aqds_qspi,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
arch/arm/cpu/armv8/fwcall.o:build/../arch/arm/cpu/armv8/fwcall.c:128:
first defined here
+(ls1046aqds_sdcard_ifc,ls1043aqds,ls1046aqds_nand,ls1046aqds,ls1046ardb_qspi,ls1043aqds_qspi,ls1043aqds_nand,ls1046aqds_lpuart,ls1043aqds_lpuart,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1043aqds_nor_ddr3,ls1046ardb_sdcard,ls1046aqds_qspi,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
make[2]: *** [arch/arm/cpu/armv8/built-in.o] Error 1
+(ls1046aqds_sdcard_ifc,ls1043aqds,ls1046aqds_nand,ls1046aqds,ls1046ardb_qspi,ls1043aqds_qspi,ls1043aqds_nand,ls1046aqds_lpuart,ls1043aqds_lpuart,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1043aqds_nor_ddr3,ls1046ardb_sdcard,ls1046aqds_qspi,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
make[1]: *** [arch/arm/cpu/armv8] Error 2
+(ls1046aqds_sdcard_ifc,ls1043aqds,ls1046aqds_nand,ls1046aqds,ls1046ardb_qspi,ls1043aqds_qspi,ls1043aqds_nand,ls1046aqds_lpuart,ls1043aqds_lpuart,ls1046aqds_sdcard_qspi,ls1043aqds_sdcard_qspi,ls1043aqds_nor_ddr3,ls1046ardb_sdcard,ls1046aqds_qspi,ls1043aqds_sdcard_ifc,ls1046ardb_emmc)
make: *** [sub-make] Error 2
w+(ls2080ardb_nand,ls2080aqds_nand,ls1043ardb_nand,ls1043ardb_sdcard)
../arch/arm/cpu/armv8/fsl-layerscape/cpu.c: In function
'efi_reset_system_init':
w+(ls2080ardb_nand,ls2080aqds_nand,ls1043ardb_nand,ls1043ardb_sdcard)
../arch/arm/cpu/armv8/fsl-layerscape/cpu.c:505:8: warning: passing
argument 1 of 'efi_add_runtime_mmio' from incompatible pointer type
24: ls2080ardb: Convert to distro boot
York
More information about the U-Boot
mailing list