public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spl:falcon:trats: Fix SPL image size computing.
Date: Fri, 29 Mar 2013 11:43:36 +0900	[thread overview]
Message-ID: <5154FFD8.5010009@samsung.com> (raw)
In-Reply-To: <1363095709-11085-1-git-send-email-p.marczak@samsung.com>

On 12/03/13 22:41, Przemyslaw Marczak wrote:
> "spl_imgsize" was set as decimal variable by "setexpr"
> and this causes wrong image size written by "ext4write".
> Preset this val with "0x" prefix allow to fix this issue.
> 
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> ---
>  include/configs/trats.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/trats.h b/include/configs/trats.h
> index 63745ac..1fd7943 100644
> --- a/include/configs/trats.h
> +++ b/include/configs/trats.h
> @@ -199,6 +199,7 @@
>  	"splfile=falcon.bin\0" \
>  	"spl_export=" \
>  		   "setexpr spl_imgsize ${splsize} + 8 ;" \
> +		   "setenv spl_imgsize 0x${spl_imgsize};" \
>  		   "setexpr spl_imgaddr ${spladdr} - 8 ;" \
>  		   "setexpr spl_addr_tmp ${spladdr} - 4 ;" \
>  		   "mw.b ${spl_imgaddr} 0x00 ${spl_imgsize};run loaduimage;" \
> 

applied to u-boot-samsung.

Thanks,
Minkyu Kang.

      reply	other threads:[~2013-03-29  2:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 13:41 [U-Boot] [PATCH] spl:falcon:trats: Fix SPL image size computing Przemyslaw Marczak
2013-03-29  2:43 ` Minkyu Kang [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=5154FFD8.5010009@samsung.com \
    --to=mk7.kang@samsung.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