[PATCH v1] arm: xea: Modify board code to generate single binary u-boot
Simon Glass
sjg at chromium.org
Mon Nov 1 00:47:07 CET 2021
Hi Lukasz,
On Sat, 23 Oct 2021 at 09:04, Lukasz Majewski <lukma at denx.de> wrote:
>
> This change provides the possibility to build XEA (imx287 based) board
> U-Boot as a single binary (without support for CONFIG_SPL_FRAMEWORK).
>
> The generated u-boot.sb can be used in the factory environment to for
> example perform initial setup or HW testing.
>
> It can be used with 'uuu' utility
> (SDPS: boot -f /srv/tftp/xea/u-boot.sb)
>
> In the configs/imx28_xea_defconfig one needs to disable following configs:
Something is missing here.
>
> The board_init_ll() is used in arch/arm/cpu/arm926ejs/mxs/start.S, which
> is utilized when CONFIG_SPL_FRAMEWORK is disabled.
>
> However, when it is enabled the arch/arm/cpu/arm926ejs/start.S is used,
> which requires the lowlevel_init() function.
>
> Signed-off-by: Lukasz Majewski <lukma at denx.de>
>
> ---
>
> board/liebherr/xea/spl_xea.c | 7 +++++++
> board/liebherr/xea/xea.c | 2 +-
> 2 files changed, 8 insertions(+), 1 deletion(-)
Could you add a Kconifig to control this feature and add something to
the board docs?
Regards,
Simon
More information about the U-Boot
mailing list