From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Fix: AT91SAM9263 nor flash usage Fix: board doesn't boot from norflash Fix: environment can't write to flash (end address/start address not on sector boundary)
Date: Thu, 28 Jun 2012 14:06:48 +0200 [thread overview]
Message-ID: <4FEC48D8.7050800@gmail.com> (raw)
In-Reply-To: <1332167183-8973-1-git-send-email-esw@bus-elektronik.de>
Dear Jens Scharsig,
On 19.03.2012 15:26, Jens Scharsig (BuS Elektronik) wrote:
>
> Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
> ---
> include/configs/at91sam9263ek.h | 8 ++++++--
> 1 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
> index 8399246..f02f245 100644
> --- a/include/configs/at91sam9263ek.h
> +++ b/include/configs/at91sam9263ek.h
> @@ -33,7 +33,11 @@
> */
> #include <asm/hardware.h>
>
> +#ifndef CONFIG_SYS_USE_BOOT_NORFLASH
> #define CONFIG_SYS_TEXT_BASE 0x21F00000
> +#else
> +#define CONFIG_SYS_TEXT_BASE 0x0000000
> +#endif
>
> /* ARM asynchronous clock */
> #define CONFIG_SYS_AT91_MAIN_CLOCK 16367660 /* 16.367 MHz crystal */
> @@ -148,11 +152,11 @@
> #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
> #define CONFIG_SYS_MONITOR_LEN (256 << 10)
> #define CONFIG_ENV_IS_IN_FLASH 1
> -#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + 0x007FE000)
> +#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + 0x007E0000)
> #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR - CONFIG_ENV_SIZE)
>
> /* Address and size of Primary Environment Sector */
> -#define CONFIG_ENV_SIZE 0x2000
> +#define CONFIG_ENV_SIZE 0x10000
>
> #define xstr(s) str(s)
> #define str(s) #s
>
applied to u-boot-atmel/master, thanks!
Best regards
Andreas Bie?mann
prev parent reply other threads:[~2012-06-28 12:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-19 14:26 [U-Boot] [PATCH] Fix: AT91SAM9263 nor flash usage Fix: board doesn't boot from norflash Fix: environment can't write to flash (end address/start address not on sector boundary) Jens Scharsig
2012-03-19 15:18 ` esw at bus-elektronik.de
2012-03-19 15:18 ` [U-Boot] [PATCH] Fix: AT91SAM9263 nor flash usage Jens Scharsig
2012-06-28 12:06 ` Andreas Bießmann [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=4FEC48D8.7050800@gmail.com \
--to=andreas.devel@googlemail.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