[U-Boot] [PATCH v2] armv8: ls1028ardb: Add sd and emmc related environments

Prabhakar Kushwaha prabhakar.kushwaha at nxp.com
Thu May 23 03:39:03 UTC 2019


> -----Original Message-----
> From: Yuantian Tang <andy.tang at nxp.com>
> Sent: Thursday, May 23, 2019 7:46 AM
> To: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
> Cc: u-boot at lists.denx.de; Andy Tang <andy.tang at nxp.com>
> Subject: [PATCH v2] armv8: ls1028ardb: Add sd and emmc related environments
> 
> Add SD, EMMC and xspi environments to faciliate the boot.
> 
> Signed-off-by: Yuantian Tang <andy.tang at nxp.com>
> ---
> v2:
> 	- rebase to latest code
>  include/configs/ls1028a_common.h | 24 +++++++++++++++++++++---
>  1 file changed, 21 insertions(+), 3 deletions(-)
> 
> diff --git a/include/configs/ls1028a_common.h
> b/include/configs/ls1028a_common.h
> index 0db86396e9..9531548184 100644
> --- a/include/configs/ls1028a_common.h
> +++ b/include/configs/ls1028a_common.h
> @@ -127,25 +127,43 @@
>  			"${scripthdraddr} ${prefix}${boot_script_hdr} " \
>  			"&& esbc_validate ${scripthdraddr};"    \
>  		"source ${scriptaddr}\0"	  \
> -	"sd_bootcmd=echo Trying load from SD ..;"	\
> +		"xspi_bootcmd=echo Trying load from FlexSPI flash ...;" \
> +		"sf probe 0:0 && sf read $load_addr " \
> +		"$kernel_start $kernel_size ; env exists secureboot &&" \
> +		"sf read $kernelheader_addr_r $kernelheader_start " \
> +		"$kernelheader_size && esbc_validate ${kernelheader_addr_r};
> "\
> +		" bootm $load_addr#$board\0" \
> +	"sd_bootcmd=echo Trying load from SD ...;" \
>  		"mmcinfo; mmc read $load_addr "		\
>  		"$kernel_addr_sd $kernel_size_sd && "	\
>  		"env exists secureboot && mmc read $kernelheader_addr_r " \
>  		"$kernelhdr_addr_sd $kernelhdr_size_sd "		\
>  		" && esbc_validate ${kernelheader_addr_r};"	\
>  		"bootm $load_addr#$board\0"		\
> +		"xspi_hdploadcmd=echo Trying load HDP firmware from
> FlexSPI...;" \
> +		"sf probe 0:0 && sf read $load_addr 0x940000 0x30000 " \
> +		"&& hdp load $load_addr 0x2000\0"			\
> +	"sd_hdploadcmd=echo Trying load HDP firmware from SD..;"        \
> +		"mmcinfo;mmc read $load_addr 0x4a00 0x200 "             \
> +		"&& hdp load $load_addr 0x2000\0"	\

Hdp support is not part of upstream code -base

So can we remove hdp reference from this patch

--pk


More information about the U-Boot mailing list