[U-Boot] [PATCH] include/configs: ls1012a: add pfe stop command before boot linux kernel

Biwen Li biwen.li at nxp.com
Thu Nov 14 04:34:56 UTC 2019



> -----Original Message-----
> From: Priyanka Jain <priyanka.jain at nxp.com>
> Sent: 2019年11月14日 11:48
> To: Biwen Li <biwen.li at nxp.com>; Shengzhou Liu <shengzhou.liu at nxp.com>;
> Alison Wang <alison.wang at nxp.com>; Jagdish Gediya
> <jagdish.gediya at nxp.com>; sr at denx.de; Rajesh Bhagat
> <rajesh.bhagat at nxp.com>
> Cc: Jiafei Pan <jiafei.pan at nxp.com>; Xiaobo Xie <xiaobo.xie at nxp.com>;
> u-boot at lists.denx.de; Biwen Li <biwen.li at nxp.com>
> Subject: RE: [PATCH] include/configs: ls1012a: add pfe stop command before
> boot linux kernel
> 
> 
> 
> >-----Original Message-----
> >From: Biwen Li <biwen.li at nxp.com>
> >Sent: Wednesday, November 13, 2019 3:12 PM
> >To: Shengzhou Liu <shengzhou.liu at nxp.com>; Priyanka Jain
> ><priyanka.jain at nxp.com>; Alison Wang <alison.wang at nxp.com>; Jagdish
> >Gediya <jagdish.gediya at nxp.com>; sr at denx.de; Prabhakar X
> ><prabhakar.kushwaha at nxp.com>; Rajesh Bhagat <rajesh.bhagat at nxp.com>
> >Cc: Jiafei Pan <jiafei.pan at nxp.com>; Xiaobo Xie <xiaobo.xie at nxp.com>;
> >u- boot at lists.denx.de; Biwen Li <biwen.li at nxp.com>
> >Subject: [PATCH] include/configs: ls1012a: add pfe stop command before
> >boot linux kernel
> Please trim subject to be within 60 characters
Okay, got it, I will trim the subject in v2.
> >
> >This adds pfe stop command before boot linux kernel to fix a problem
> >that ethernet won't be workable after enter linux
> >
> Please explain how pfe stop is helping to solve the issue
Okay, got it, I will add explaination for it in v2.
> >Signed-off-by: Biwen Li <biwen.li at nxp.com>
> >---
> > include/configs/ls1012a2g5rdb.h | 2 +-
> > include/configs/ls1012afrdm.h   | 2 +-
> > include/configs/ls1012afrwy.h   | 4 ++--
> > include/configs/ls1012ardb.h    | 2 +-
> > 4 files changed, 5 insertions(+), 5 deletions(-)
> >
> >diff --git a/include/configs/ls1012a2g5rdb.h
> >b/include/configs/ls1012a2g5rdb.h index cb329385d9..5943b69716 100644
> >--- a/include/configs/ls1012a2g5rdb.h
> >+++ b/include/configs/ls1012a2g5rdb.h
> >@@ -85,7 +85,7 @@
> > 	"installer=load mmc 0:2 $load_addr "	\
> > 		   "/flex_installer_arm64.itb; "	\
> > 		   "bootm $load_addr#$board\0"	\
> >-	"qspi_bootcmd=echo Trying load from qspi..;"	\
> >+	"qspi_bootcmd=pfe stop; echo Trying load from qspi..;"	\
> > 		"sf probe && sf read $load_addr "	\
> > 		"$kernel_addr $kernel_size; env exists secureboot "	\
> > 		"&& sf read $kernelheader_addr_r $kernelheader_addr "
> >	\
> >diff --git a/include/configs/ls1012afrdm.h
> >b/include/configs/ls1012afrdm.h index 8c7d4e558d..8a3ebf06f2 100644
> >--- a/include/configs/ls1012afrdm.h
> >+++ b/include/configs/ls1012afrdm.h
> >@@ -60,7 +60,7 @@
> > 	"installer=load usb 0:2 $load_addr "	\
> > 		   "/flex_installer_arm64.itb; "	\
> > 		   "bootm $load_addr#$board\0"	\
> >-	"qspi_bootcmd=echo Trying load from qspi..;"	\
> >+	"qspi_bootcmd=pfe stop; echo Trying load from qspi..;"	\
> > 		"sf probe && sf read $load_addr "	\
> > 		"$kernel_addr $kernel_size && bootm $load_addr#$board\0"
> >
> >diff --git a/include/configs/ls1012afrwy.h
> >b/include/configs/ls1012afrwy.h index 14e63204c6..6e4c042106 100644
> >--- a/include/configs/ls1012afrwy.h
> >+++ b/include/configs/ls1012afrwy.h
> >@@ -110,13 +110,13 @@
> > 	"installer=load mmc 0:2 $load_addr "	\
> > 		   "/flex_installer_arm64.itb; "	\
> > 		   "bootm $load_addr#$board\0"	\
> >-	"qspi_bootcmd=echo Trying load from qspi..;"	\
> >+	"qspi_bootcmd=pfe stop; echo Trying load from qspi..;"	\
> > 		"sf probe && sf read $load_addr "	\
> > 		"$kernel_addr $kernel_size; env exists secureboot "	\
> > 		"&& sf read $kernelheader_addr_r $kernelheader_addr "
> >	\
> > 		"$kernelheader_size && esbc_validate ${kernelheader_addr_r}; " \
> > 		"bootm $load_addr#$board\0"	\
> >-	"sd_bootcmd=echo Trying load from sd card..;"		\
> >+	"sd_bootcmd=pfe stop; echo Trying load from sd card..;"
> >	\
> > 		"mmcinfo; mmc read $load_addr "			\
> > 		"$kernel_addr_sd $kernel_size_sd ;"		\
> > 		"env exists secureboot && mmc read $kernelheader_addr_r "\ diff
> >--git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
> >index a5e27404f8..39166fea7d 100644
> >--- a/include/configs/ls1012ardb.h
> >+++ b/include/configs/ls1012ardb.h
> >@@ -109,7 +109,7 @@
> > 	"installer=load mmc 0:2 $load_addr "	\
> > 		   "/flex_installer_arm64.itb; "	\
> > 		   "bootm $load_addr#$board\0"	\
> >-	"qspi_bootcmd=echo Trying load from qspi..;"	\
> >+	"qspi_bootcmd=pfe stop; echo Trying load from qspi..;"	\
> > 		"sf probe && sf read $load_addr "	\
> > 		"$kernel_addr $kernel_size; env exists secureboot "	\
> > 		"&& sf read $kernelheader_addr_r $kernelheader_addr "
> >	\
> >--
> >2.17.1
> 
> -priyankajain


More information about the U-Boot mailing list