Fwd: [PATCH 1/1] sunxi: CONFIG_INIT_SP_RELATIVE=y for Pine64 LTS

Heinrich Schuchardt xypron.glpk at gmx.de
Sun May 31 17:32:57 CEST 2020


On 5/31/20 12:43 PM, Heinrich Schuchardt wrote:
> Booting pine64-lts_defconfig with either of CONFIG_RSA=y or CONFIG_LOG=y
> fails if CONFIG_INIT_SP_RELATIVE is not set.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

CC: Jagan Teki <jagan at amarulasolutions.com>

Is this something that should be solved on board config level or on the
SUNXI level?

Where is the stack pointer currently defined for the sunxi boards?

Best regards

Heinrich

> ---
>  configs/pine64-lts_defconfig | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/configs/pine64-lts_defconfig b/configs/pine64-lts_defconfig
> index ef108a1a31..b03bef01b1 100644
> --- a/configs/pine64-lts_defconfig
> +++ b/configs/pine64-lts_defconfig
> @@ -1,5 +1,8 @@
>  CONFIG_ARM=y
> +CONFIG_INIT_SP_RELATIVE=y
>  CONFIG_ARCH_SUNXI=y
> +CONFIG_SYS_MALLOC_F_LEN=0x8000
> +CONFIG_SPL_SYS_MALLOC_F_LEN=0x400
>  CONFIG_SPL=y
>  CONFIG_MACH_SUN50I=y
>  CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
> --
> 2.20.1
>



More information about the U-Boot mailing list