U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] ti_armv7_common.h: Fix U-Boot location on eMMC
Date: Wed, 20 Apr 2016 10:38:08 -0400	[thread overview]
Message-ID: <20160420143808.GA29539@bill-the-cat> (raw)
In-Reply-To: <1461143159-3500-1-git-send-email-semen.protsenko@linaro.org>

On Wed, Apr 20, 2016 at 12:05:59PM +0300, Sam Protsenko wrote:

> According to common eMMC partition table for Android boot (see
> PARTS_DEFAULT definition in include/configs/dra7xx_evm.h), "bootloader"
> partition (where u-boot.img is stored) starts at 256 KiB. Which is equal
> to 512 sectors (as 1 MMC sector size is 512 bytes).
> 
> This patch fixes CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR constant so that
> it points to correct address of "bootloader" partition and SPL is able to
> read, parse and run u-boot.img correctly.
> 
> This change was originally done as part of patch [1] in omapzoom u-boot.
> Without this patch, SPL fails to parse U-Boot header with next error:
> 
>     mkimage signature not found - ih_magic = 4814325a
> 
> While at it, also fix U-Boot partition size, which is 384 KiB (as stated in
> include/configs/dra7xx_evm.h).
> 
> [1] http://omapzoom.org/?p=repo/u-boot.git;a=commit;h=742b82d0c0aa0ed8096c2225a00e9f350212efa9
> 
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
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/20160420/2948c12d/attachment.sig>

  reply	other threads:[~2016-04-20 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20  9:05 [U-Boot] [PATCH v3] ti_armv7_common.h: Fix U-Boot location on eMMC Sam Protsenko
2016-04-20 14:38 ` Tom Rini [this message]
2016-04-26  0:16 ` [U-Boot] [U-Boot, " Tom Rini

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=20160420143808.GA29539@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