From: Alexandre Belloni <alexandre.belloni@piout.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6] AT91SAM9*: Change kernel address in dataflash to match u-boot's size
Date: Mon, 2 Jul 2012 14:55:00 +0200 [thread overview]
Message-ID: <20120702125500.GA16118@piout.net> (raw)
In-Reply-To: <4FF18D7C.9040207@gmail.com>
On Mon, Jul 02, 2012 at 02:01:00PM +0200, Andreas Bie?mann wrote :
> really sorry for that, I should have seen it before. Shouldn't we also
> make the U-Boot partition greater when we move the start of kernel
> partition?
> Can you please send another version, rest is fine (checkpatch, apply
> cleanly, no build errors).
>
> > {0x00252000, 0xFFFFFFFF, FLAG_PROTECT_CLEAR, 0, "FS"},
> > };
Ah, sure, I'll fix that.
>
> <snip>
>
> > diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h
> > index 07b1968..ef25fa5 100644
> > --- a/include/configs/at91sam9260ek.h
> > +++ b/include/configs/at91sam9260ek.h
> > @@ -187,7 +187,7 @@
> > #define CONFIG_ENV_OFFSET 0x4200
> > #define CONFIG_ENV_ADDR (CONFIG_SYS_DATAFLASH_LOGIC_ADDR_CS0 + CONFIG_ENV_OFFSET)
> > #define CONFIG_ENV_SIZE 0x4200
> > -#define CONFIG_BOOTCOMMAND "cp.b 0xC0042000 0x22000000 0x210000; bootm"
> > +#define CONFIG_BOOTCOMMAND "cp.b 0xC0084000 0x22000000 0x210000; bootm"
>
> also sorry, but size is wrong here! We reduced the partition to
> 0x1CE000, it is about 1.8 MiB now and not 2 MiB as before.
>
Right, I didn't really care about the end of the kernel partition as the
9261ek has an 8MiB dataflash and my rootfs is in NAND. The kernel is
around 1.7MiB using the default configuration. Maybe, we should also
extend its partition ?
> Best regards
>
> Andreas Bie?mann
>
--
Alexandre Belloni
next prev parent reply other threads:[~2012-07-02 12:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-21 21:24 [U-Boot] [PATCH v5] AT91SAM9*: Change kernel address in dataflash to match u-boot's size Alexandre Belloni
2012-07-01 10:34 ` Andreas Bießmann
2012-07-02 11:37 ` [U-Boot] [PATCH v6] " Alexandre Belloni
2012-07-02 12:01 ` Andreas Bießmann
2012-07-02 12:55 ` Alexandre Belloni [this message]
2012-07-02 13:07 ` Andreas Bießmann
2012-07-02 14:02 ` Alexandre Belloni
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=20120702125500.GA16118@piout.net \
--to=alexandre.belloni@piout.net \
--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