From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] "8.partition":(1 of 1) [PATCH][ARM] Changedataflash partition boundaries to be compatible with Linux 2.6
Date: Wed, 23 May 2007 18:30:43 +0200 [thread overview]
Message-ID: <013001c79d58$14276f00$17031b0a@atmel.com> (raw)
In-Reply-To: 20070523151257.GC18695@michl.2n.cz
> On Tue, Mar 27, 2007 at 06:17:59PM +0200, Ulf Samuelsson wrote:
>> CHANGELOG:
>> [PATCH][ARM] Change dataflash partition boundaries to be compatible with Linux 2.6
>> Make partition boundaries align with start of dataflash pages
>> Add partition name to environment automatically
>> Add printing info on protection status
>> Enable by setting CONFIG_NEW_PARTITION in <board>.h
>
> I do not like this one... drivers/dataflash.c has too much knowledge of
> various board types, which will soon lead to #ifdef mess. Moreover it is
> imposible to use cmdline partitions without touching this file again.
>
> Best regards,
> ladis
Please note that these partitions are NOT used by the kernel.
It defines partitions for U-boot use only.
The kernel will only see the rootsfs partition.
U-Boot uses the partition info to determine where to store
the kernel and where to store the rootfs.
There is a natural step of 256 pages in the dataflashes,
so you should always allocate 256 pages for Initial boot/U-boot/Environment.
Then you could use a configuration parameter where you define the size of the
kernel, and then the rootfs is in the remainder.
I am converging on this solution for the pathces on the ftp site.
If you have more than one dataflash, each extra dataflash
has a single partition for u-boot purposes.
Best Regards
Ulf Samuelsson
next prev parent reply other threads:[~2007-05-23 16:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 16:17 [U-Boot-Users] "8.partition":(1 of 1) [PATCH][ARM] Change dataflash partition boundaries to be compatible with Linux 2.6 Ulf Samuelsson
2007-05-23 15:12 ` Ladislav Michl
2007-05-23 16:30 ` Ulf Samuelsson [this message]
2007-05-23 16:30 ` [U-Boot-Users] "8.partition":(1 of 1) [PATCH][ARM] Changedataflash " Ulf Samuelsson
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='013001c79d58$14276f00$17031b0a@atmel.com' \
--to=ulf@atmel.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