[PATCH v2] configs: socfpga: add kernel parameter for immediate reboot

Tan, Ley Foon ley.foon.tan at intel.com
Fri Aug 7 09:24:55 CEST 2020



> -----Original Message-----
> From: Ooi, Joyce <joyce.ooi at intel.com>
> Sent: Friday, August 7, 2020 2:39 PM
> To: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>; Tan, Ley Foon
> <ley.foon.tan at intel.com>; Miquel Raynal <miquel.raynal at bootlin.com>;
> Boris Brezillon <bbrezillon at kernel.org>; Marek Vasut <marex at denx.de>;
> Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>; Hannes Schmelzer
> <hannes.schmelzer at br-automation.com>
> Cc: u-boot at lists.denx.de; Ooi, Joyce <joyce.ooi at intel.com>; Lim, Elly Siew
> Chin <elly.siew.chin.lim at intel.com>; See, Chin Liang
> <chin.liang.see at intel.com>; Nguyen, Dinh <dinh.nguyen at intel.com>
> Subject: [PATCH v2] configs: socfpga: add kernel parameter for immediate
> reboot
> 
> From: Joyce Ooi <joyce.ooi at intel.com>
> 
> Add Linux kernel line parameters for socfpga soc64 U-Boot. The "panic=-1"
> indicates the reset should occur immediately (without a delay).
> 
> Signed-off-by: Joyce Ooi <joyce.ooi at intel.com>
> ---
> v2: fix typo in commit message
> ---
>  include/configs/socfpga_soc64_common.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/socfpga_soc64_common.h
> b/include/configs/socfpga_soc64_common.h
> index 7237ec95e34..d51a532a929 100644
> --- a/include/configs/socfpga_soc64_common.h
> +++ b/include/configs/socfpga_soc64_common.h
> @@ -79,7 +79,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
>   * CONFIG_BOOTARGS goes into the environment value "bootargs".
>   * Do note the value will override also the chosen node in FDT blob.
>   */
> -#define CONFIG_BOOTARGS "earlycon"
> +#define CONFIG_BOOTARGS "earlycon panic=-1"
>  #define CONFIG_BOOTCOMMAND "run fatscript; run mmcload;run
> linux_qspi_enable;" \
>  			   "run mmcboot"
Hi Joyce

Just noticed CONFIG_BOOTARGS is supported in Kconfig now.
Can you move this #define to Stratix10 and Agilex *_defconfig?

Regards
Ley Foon


More information about the U-Boot mailing list