From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2, 3/6] sbc8641d: set proper environment sector size.
Date: Mon, 19 Oct 2015 20:07:21 -0400 [thread overview]
Message-ID: <20151020000721.GY23893@bill-the-cat> (raw)
In-Reply-To: <1445114431-9524-4-git-send-email-paul.gortmaker@windriver.com>
On Sat, Oct 17, 2015 at 04:40:28PM -0400, Paul Gortmaker wrote:
> When debugging an env fail due to too small a malloc pool, it
> was noted that the env write was 256k. But the device sector
> size is 1/2 that, as can be seen from "fli" output:
>
> Bank # 1: CFI conformant flash (16 x 16) Size: 16 MB in 131 Sectors
> Intel Extended command set, Manufacturer ID: 0x89, Device ID: 0x1888
> Erase timeout: 4096 ms, write timeout: 1 ms
> Buffer write timeout: 2 ms, buffer size: 64 bytes
>
> Sector Start Addresses:
> FF000000 E RO FF020000 E RO FF040000 E RO FF060000 E RO FF080000 E RO
> FF0A0000 E RO FF0C0000 E RO FF0E0000 E RO FF100000 E RO FF120000 E RO
> [...]
> FFF00000 RO FFF20000 RO FFF40000 RO FFF60000 RO FFF80000 RO
> FFFA0000 RO FFFC0000 RO FFFE0000 E RO FFFE8000 RO FFFF0000 E RO
> FFFF8000 RO
> =>
>
> The desired env sector is FFF40000->FFF60000, or 0x20000 in length,
> just after the 256k u-boot image which starts @ FFF00000.
>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151019/5ca26726/attachment.sig>
next prev parent reply other threads:[~2015-10-20 0:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-17 20:40 [U-Boot] [PATCH 0/6] sbc8641d: misc fixes and generic board enablement Paul Gortmaker
2015-10-17 20:40 ` [U-Boot] [PATCH v2 1/6] sbc8641d: enable command line editing Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot,v2,1/6] " Tom Rini
2015-10-17 20:40 ` [U-Boot] [PATCH v2 2/6] sbc8641d: increase malloc pool size to a sane default Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-10-17 20:40 ` [U-Boot] [PATCH v2 3/6] sbc8641d: set proper environment sector size Paul Gortmaker
2015-10-20 0:07 ` Tom Rini [this message]
2015-10-17 20:40 ` [U-Boot] [PATCH v2 4/6] sbc8641d: add basic flash setup instructions to README file Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-10-17 20:40 ` [U-Boot] [PATCH v2 5/6] sbc8641d: enable and test CONFIG_SYS_GENERIC_BOARD Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-10-20 14:49 ` Paul Gortmaker
2015-10-17 20:40 ` [U-Boot] [PATCH v2 6/6] sbc8641d: increase monitor size from 256k to 384k Paul Gortmaker
2015-10-20 0:07 ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-10-17 21:50 ` [U-Boot] [PATCH 0/6] sbc8641d: misc fixes and generic board enablement Tom Rini
2015-10-17 22:50 ` Paul Gortmaker
2015-10-17 23:11 ` Paul Gortmaker
2015-10-17 23:58 ` 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=20151020000721.GY23893@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