[U-Boot] Should UEFI be disabled on ARM11 boards by default?

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Nov 19 20:37:57 UTC 2019


On 11/19/19 8:17 PM, Fabio Estevam wrote:
> Hi Heinrich,
>
> On Tue, Nov 19, 2019 at 3:46 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
>> mx31pdk_defconfig
>> mx35pdk_defconfig
>
> No problem on disabling UEFI for the mx31/mx35 boards.
>
Hello Fabio,

thanks for the swift reply.

https://git.kontron-electronics.de/linux/uboot-exceet/tree/2108f4c4a302a021a8807a7baac16dd680a8f3d0/board/freescale/mx35pdk
suggests to use as partition:

0x00000000-0x00080000 : "Bootloader"

If you are constrained to 512 KiB, disabling UEFI on the MX35PDK might
make sense.

On the MX31 we have OF_LIBFDT=n, so UEFI is not available anyway.

--

I tried to build mx35pdk_defconfig and mx35pdk_defconfig. I got an error

unrecognized -march target: armv5

Why is U-Boot built with -march=armv5 on ARM1136 and ARM1176 though they
are armv6?

arch/arm/Makefile:11:
arch-$(CONFIG_CPU_ARM1136)      =-march=armv5
arch-$(CONFIG_CPU_ARM1176)      =-march=armv5t

GCC 9.2.1 supports only the following armv5 and armv6 architectures:

armv5t armv5te armv5tej armv6 armv6j armv6k armv6z armv6kz armv6zk
armv6t2 armv6-m armv6s-m

So at least the ARM1136 entry should be corrected. Which value would you
suggest?

Best regards

Heinrich


More information about the U-Boot mailing list