[PATCH] board: novtech: meerkat96: Add environment variables

Stefano Babic sbabic at denx.de
Fri Apr 9 13:29:04 CEST 2021


Hi Carl,

do you used git send-email for this ? It looks like the patch was 
changed by your mailer, I cannot applied it with git am ("malformed 
patch"). Can you check and resend, maybe with git send-email ?

Best regards,
SAtefano Babic

On 04.04.21 21:47, Carl Gelfand wrote:
> Add environment variables for booting Linux on  imx7d-meerkat96.
> 
> Signed-off-by: Carl Gelfand <carlgelfand at gmail.com>
> ---
>   include/configs/meerkat96.h | 16 +++++++++++++++-
>   1 file changed, 15 insertions(+), 1 deletion(-)
> 
> diff --git a/include/configs/meerkat96.h b/include/configs/meerkat96.h
> index f43a8415e1..f3a6906054 100644
> --- a/include/configs/meerkat96.h
> +++ b/include/configs/meerkat96.h
> @@ -33,7 +33,21 @@
>          (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
> 
>   /* Environment configs */
> -
> +#define CONFIG_EXTRA_ENV_SETTINGS \
> +       "image=zImage\0" \
> +       "console=ttymxc5\0" \
> +       "bootcmd=mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan;
> then if run loadimage; then run mmcboot; else run netboot; fi; else
> run netboot; fi\0" \
> +       "fdt_addr=0x83000000\0" \
> +       "fdt_file=imx7d-meerkat96.dtb\0" \
> +       "loadaddr=0x80800000\0" \
> +       "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
> +       "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
> +       "mmcargs=setenv bootargs console=${console},${baudrate}
> root=${mmcroot}\0" \
> +       "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
> +       "boot_fdt=try\0" \
> +       "mmcboot=echo Booting from mmc ...; run mmcargs; if test
> ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then
> bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then
> bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;\0"
> \
> +       "mmcdev=0\0" \
> +       "mmcpart=1\0" \
>   /* USB configs */
>   #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
>   #define CONFIG_MXC_USB_PORTSC          (PORT_PTS_UTMI | PORT_PTS_PTW)
> --
> 2.20.1
> 


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list