public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] davinci: omapl138_lcdk: boot from zImage
Date: Mon, 5 Dec 2016 14:03:40 -0500	[thread overview]
Message-ID: <20161205190340.GS4248@bill-the-cat> (raw)
In-Reply-To: <20161205181134.9766-1-fparent@baylibre.com>

On Mon, Dec 05, 2016 at 07:11:34PM +0100, Fabien Parent wrote:
> Stop booting legacy uImage and now boot zImage.
> 
> Signed-off-by: Fabien Parent <fparent@baylibre.com>
> ---
>  configs/omapl138_lcdk_defconfig | 1 +
>  include/configs/omapl138_lcdk.h | 8 ++++----
>  2 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index 52681c92d0..d030ffafc3 100644
> --- a/configs/omapl138_lcdk_defconfig
> +++ b/configs/omapl138_lcdk_defconfig
> @@ -13,6 +13,7 @@ CONFIG_SPL=y
>  CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xb5
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="U-Boot > "
> +CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
> index 9e11f7dc95..2e81bc4f25 100644
> --- a/include/configs/omapl138_lcdk.h
> +++ b/include/configs/omapl138_lcdk.h
> @@ -247,7 +247,7 @@
>   */
>  #define CONFIG_MISC_INIT_R
>  #define CONFIG_BOARD_EARLY_INIT_F
> -#define CONFIG_BOOTFILE		"uImage" /* Boot file name */
> +#define CONFIG_BOOTFILE		"zImage" /* Boot file name */
>  #define CONFIG_SYS_CBSIZE	1024 /* Console I/O Buffer Size	*/
>  #define CONFIG_SYS_PBSIZE	(CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
>  #define CONFIG_SYS_MAXARGS	16 /* max number of command args */
> @@ -276,19 +276,19 @@
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>  	"fdtaddr=0xc0600000\0" \
>  	"fdtfile=da850-lcdk.dtb\0" \
> -	"fdtboot=bootm 0xc0700000 - ${fdtaddr};\0" \
> +	"fdtboot=bootz 0xc0700000 - ${fdtaddr};\0" \
>  	"mmcboot=" \
>  		"if fatload mmc 0 0xc0600000 boot.scr; then " \
>  			"source 0xc0600000; " \
>  		"else " \
> -			"fatload mmc 0 0xc0700000 uImage; " \
> +			"fatload mmc 0 0xc0700000 zImage; " \

You should use __stringify(CONFIG_BOOTFILE) here, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161205/e3975a26/attachment.sig>

      reply	other threads:[~2016-12-05 19:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-05 18:11 [U-Boot] [PATCH] davinci: omapl138_lcdk: boot from zImage Fabien Parent
2016-12-05 19:03 ` Tom Rini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161205190340.GS4248@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox