* [ECOS] Modifying RedBoot to support multiple flash devices
@ 2006-03-08 19:21 Grant Mills
2006-03-08 19:59 ` Andrew Lunn
2006-03-08 22:07 ` Bart Veer
0 siblings, 2 replies; 20+ messages in thread
From: Grant Mills @ 2006-03-08 19:21 UTC (permalink / raw)
To: eCos Discussion
All,
I am potentially going to be adding support to eCos/RedBoot to
support multiple flash types in the same executable. The reason for
this is the desire to use the cheapest flash available at any given
time. That potentially means bouncing between Intel, AMD/Spansion,
.... We currently support this in our products using custom boot
code. We are looking to migrate to RedBoot. For us this is a
requirement.
First, I must ask this question, "Has this already been done or is
somebody in the process of doing this?" Second, will the
configuration tool support something like this? It would require the
ability to select an item to support multiple parts, which would
enable selecting multiple flash types/vendors.
Looking forward to the replies. Thanks in advance.
--
Grant Mills
gmills@ucsd.edu
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 19:21 [ECOS] Modifying RedBoot to support multiple flash devices Grant Mills
@ 2006-03-08 19:59 ` Andrew Lunn
2006-03-08 20:21 ` Grant Mills
2006-03-08 22:07 ` Bart Veer
1 sibling, 1 reply; 20+ messages in thread
From: Andrew Lunn @ 2006-03-08 19:59 UTC (permalink / raw)
To: Grant Mills; +Cc: eCos Discussion
On Wed, Mar 08, 2006 at 11:21:11AM -0800, Grant Mills wrote:
> All,
> I am potentially going to be adding support to eCos/RedBoot to
> support multiple flash types in the same executable. The reason for
> this is the desire to use the cheapest flash available at any given
> time. That potentially means bouncing between Intel, AMD/Spansion,
> .... We currently support this in our products using custom boot
> code. We are looking to migrate to RedBoot. For us this is a
> requirement.
>
> First, I must ask this question, "Has this already been done or is
> somebody in the process of doing this?" Second, will the
> configuration tool support something like this? It would require the
> ability to select an item to support multiple parts, which would
> enable selecting multiple flash types/vendors.
Take a look at the flash_v2 branch in anoncvs. This gives you the
necassary infrastructure in the flash code to support multiple
devices.
The configuration tool is not affected. You need to add a new target
which has all the required flash packages.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 19:59 ` Andrew Lunn
@ 2006-03-08 20:21 ` Grant Mills
2006-03-08 22:04 ` Alex Schuilenburg
[not found] ` <20060308220250.GE19406@lunn.ch>
0 siblings, 2 replies; 20+ messages in thread
From: Grant Mills @ 2006-03-08 20:21 UTC (permalink / raw)
To: Grant Mills, eCos Discussion
On 3/8/06, Andrew Lunn <andrew@lunn.ch> wrote:
> On Wed, Mar 08, 2006 at 11:21:11AM -0800, Grant Mills wrote:
> > All,
> > I am potentially going to be adding support to eCos/RedBoot to
> > support multiple flash types in the same executable. The reason for
> > this is the desire to use the cheapest flash available at any given
> > time. That potentially means bouncing between Intel, AMD/Spansion,
> > .... We currently support this in our products using custom boot
> > code. We are looking to migrate to RedBoot. For us this is a
> > requirement.
> >
> > First, I must ask this question, "Has this already been done or is
> > somebody in the process of doing this?" Second, will the
> > configuration tool support something like this? It would require the
> > ability to select an item to support multiple parts, which would
> > enable selecting multiple flash types/vendors.
>
> Take a look at the flash_v2 branch in anoncvs. This gives you the
> necassary infrastructure in the flash code to support multiple
> devices.
>
> The configuration tool is not affected. You need to add a new target
> which has all the required flash packages.
>
> Andrew
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
Excellent. Now if I could only convince the Corporate IT people to
open up the firewall enough for me to access the cvs server.
Thanks.
--
Grant Mills
gmills@ucsd.edu
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 20:21 ` Grant Mills
@ 2006-03-08 22:04 ` Alex Schuilenburg
2006-03-08 22:12 ` Andrew Lunn
[not found] ` <20060308220250.GE19406@lunn.ch>
1 sibling, 1 reply; 20+ messages in thread
From: Alex Schuilenburg @ 2006-03-08 22:04 UTC (permalink / raw)
To: Grant Mills; +Cc: eCos Discussion
Grant Mills wrote:
[...]
>
> Excellent. Now if I could only convince the Corporate IT people to
> open up the firewall enough for me to access the cvs server.
You can always access weekly snapshots of anonCVS from
http://www.ecoscentric.com/devzone/snapshots.shtml
via both ftp and http.
-- Alex
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 22:04 ` Alex Schuilenburg
@ 2006-03-08 22:12 ` Andrew Lunn
2006-03-09 18:23 ` Chuck McManis
2006-03-10 11:11 ` Alex Schuilenburg
0 siblings, 2 replies; 20+ messages in thread
From: Andrew Lunn @ 2006-03-08 22:12 UTC (permalink / raw)
To: Alex Schuilenburg; +Cc: Grant Mills, eCos Discussion
On Wed, Mar 08, 2006 at 10:04:51PM +0000, Alex Schuilenburg wrote:
> Grant Mills wrote:
> [...]
> >
> > Excellent. Now if I could only convince the Corporate IT people to
> > open up the firewall enough for me to access the cvs server.
>
> You can always access weekly snapshots of anonCVS from
> http://www.ecoscentric.com/devzone/snapshots.shtml
> via both ftp and http.
Unfortunetely, there are only snapshots of the trunk. He will require
the flash_v2 branch.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 22:12 ` Andrew Lunn
@ 2006-03-09 18:23 ` Chuck McManis
2006-03-10 11:11 ` Alex Schuilenburg
1 sibling, 0 replies; 20+ messages in thread
From: Chuck McManis @ 2006-03-09 18:23 UTC (permalink / raw)
To: Andrew Lunn; +Cc: Alex Schuilenburg, Grant Mills, eCos Discussion
Andrew Lunn wrote:
>On Wed, Mar 08, 2006 at 10:04:51PM +0000, Alex Schuilenburg wrote:
>
>
>>Grant Mills wrote:
>>[...]
>>
>>
>>>Excellent. Now if I could only convince the Corporate IT people to
>>>open up the firewall enough for me to access the cvs server.
>>>
>>>
>>You can always access weekly snapshots of anonCVS from
>> http://www.ecoscentric.com/devzone/snapshots.shtml
>>via both ftp and http.
>>
>>
>
>Unfortunetely, there are only snapshots of the trunk. He will require
>the flash_v2 branch.
>
> Andrew
>
>
>
May I suggest you use a home broadband connection (or check into a
internet enabled Hotel for one night) and grab a copy of the Flash V2
branch using anoncvs. In my experience that will be easier than tryting
to get corporate IT to change ANYTHING on the company firewall ;-)
--Chuck
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 22:12 ` Andrew Lunn
2006-03-09 18:23 ` Chuck McManis
@ 2006-03-10 11:11 ` Alex Schuilenburg
1 sibling, 0 replies; 20+ messages in thread
From: Alex Schuilenburg @ 2006-03-10 11:11 UTC (permalink / raw)
To: Andrew Lunn, Grant Mills, eCos Discussion
Andrew Lunn wrote:
> On Wed, Mar 08, 2006 at 10:04:51PM +0000, Alex Schuilenburg wrote:
>> Grant Mills wrote:
>> [...]
>>> Excellent. Now if I could only convince the Corporate IT people to
>>> open up the firewall enough for me to access the cvs server.
>> You can always access weekly snapshots of anonCVS from
>> http://www.ecoscentric.com/devzone/snapshots.shtml
>> via both ftp and http.
>
> Unfortunetely, there are only snapshots of the trunk. He will require
> the flash_v2 branch.
Oops, I did not realise we were not generating snapshots of flash_v2.
Now added and the 1st one is waiting...
-- Alex
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
[parent not found: <20060308220250.GE19406@lunn.ch>]
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 19:21 [ECOS] Modifying RedBoot to support multiple flash devices Grant Mills
2006-03-08 19:59 ` Andrew Lunn
@ 2006-03-08 22:07 ` Bart Veer
2006-03-08 22:14 ` Andrew Lunn
1 sibling, 1 reply; 20+ messages in thread
From: Bart Veer @ 2006-03-08 22:07 UTC (permalink / raw)
To: gmills; +Cc: ecos-discuss
>>>>> "Grant" == Grant Mills <gmills@ucsd.edu> writes:
Grant> All,
Grant> I am potentially going to be adding support to
Grant> eCos/RedBoot to support multiple flash types in the same
Grant> executable. The reason for this is the desire to use the
Grant> cheapest flash available at any given time. That
Grant> potentially means bouncing between Intel, AMD/Spansion,
Grant> .... We currently support this in our products using custom
Grant> boot code. We are looking to migrate to RedBoot. For us
Grant> this is a requirement.
Grant> First, I must ask this question, "Has this already been
Grant> done or is somebody in the process of doing this?" Second,
Grant> will the configuration tool support something like this? It
Grant> would require the ability to select an item to support
Grant> multiple parts, which would enable selecting multiple flash
Grant> types/vendors.
Grant> Looking forward to the replies. Thanks in advance.
If you are talking about switching between parts within one family,
e.g. just AMD parts or compatibles, then this can already be achieved
with V1 flash to some extent. Look at e.g. devs/flash/powerpc/viper,
that supports three different AMD flash parts. You'll still need to
specify in advance which parts you might want to use in future.
For a more general solution you'll want the V2 branch in anoncvs. In
particular the V2 version of the AMD flash driver has an option for
CFI support, i.e. the device parameters will be determined at run-time
and you can bounce around between devices within a family all you
like. If you want to switch between families, e.g. between
AMD-compatible and Intel Strata flash, then in theory the V2 code
should allow for that as well. However that is not a common scenario.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 22:07 ` Bart Veer
@ 2006-03-08 22:14 ` Andrew Lunn
2006-03-08 22:31 ` Grant Mills
0 siblings, 1 reply; 20+ messages in thread
From: Andrew Lunn @ 2006-03-08 22:14 UTC (permalink / raw)
To: Bart Veer; +Cc: gmills, ecos-discuss
> For a more general solution you'll want the V2 branch in anoncvs. In
> particular the V2 version of the AMD flash driver has an option for
> CFI support, i.e. the device parameters will be determined at run-time
> and you can bounce around between devices within a family all you
> like. If you want to switch between families, e.g. between
> AMD-compatible and Intel Strata flash, then in theory the V2 code
> should allow for that as well. However that is not a common scenario.
Having two different families works well with the v2 code. We have a
board with either ST or Intel Strata devices.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-08 22:14 ` Andrew Lunn
@ 2006-03-08 22:31 ` Grant Mills
0 siblings, 0 replies; 20+ messages in thread
From: Grant Mills @ 2006-03-08 22:31 UTC (permalink / raw)
To: Bart Veer, gmills, ecos-discuss
On 3/8/06, Andrew Lunn <andrew@lunn.ch> wrote:
> > For a more general solution you'll want the V2 branch in anoncvs. In
> > particular the V2 version of the AMD flash driver has an option for
> > CFI support, i.e. the device parameters will be determined at run-time
> > and you can bounce around between devices within a family all you
> > like. If you want to switch between families, e.g. between
> > AMD-compatible and Intel Strata flash, then in theory the V2 code
> > should allow for that as well. However that is not a common scenario.
>
> Having two different families works well with the v2 code. We have a
> board with either ST or Intel Strata devices.
>
> Andrew
>
>
Specifically, we will need to go between Intel Strata and AMD/Spansion
Mirror Bit.
I'd prefer a CFI solution as well since that provides a migration path
for larger parts without code changes.
However, look out for the Intel 1Gb and 512Mb P30 Strata Flash. They
are multi-die devices and will require multiple chip selects for the
1Gb and multiple CFI entries for each die. We aren't looking at
either of these chips (yet.) on the RedBoot platform, but we've used
them in others.
Thanks for all the help.
--
Grant Mills
gmills@ucsd.edu
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
@ 2006-03-10 4:44 yh
2006-03-10 7:22 ` Andrew Lunn
2006-03-10 11:19 ` Alex Schuilenburg
0 siblings, 2 replies; 20+ messages in thread
From: yh @ 2006-03-10 4:44 UTC (permalink / raw)
To: ecos-discuss; +Cc: alealexs
Hello Alex,
I am looking for redboot to support Intel P3 and I took the snapshot, but
seems that the intel/stratav2 is empty. Where can I find the source code
for supporting P3?
Thanks.
Jim
Alex Schuilenburg wrote:
> Grant Mills wrote:
>
> You can always access weekly snapshots of anonCVS from
> http://www.ecoscentric.com/devzone/snapshots.shtml
> via both ftp and http.
>
> -- Alex
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-10 4:44 yh
@ 2006-03-10 7:22 ` Andrew Lunn
2006-03-10 11:19 ` Alex Schuilenburg
1 sibling, 0 replies; 20+ messages in thread
From: Andrew Lunn @ 2006-03-10 7:22 UTC (permalink / raw)
To: yh; +Cc: ecos-discuss
On Fri, Mar 10, 2006 at 03:55:47PM +1100, yh@bizmail.com.au wrote:
> Hello Alex,
>
> I am looking for redboot to support Intel P3 and I took the snapshot, but
> seems that the intel/stratav2 is empty. Where can I find the source code
> for supporting P3?
The intel/stratav2 directory is the flash_v2 branch driver. Since the
snapshot if of the trunk, the branch directories are empty.
Having said that i don't think any version of eCos currently supports
the Intel P3 device.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-10 4:44 yh
2006-03-10 7:22 ` Andrew Lunn
@ 2006-03-10 11:19 ` Alex Schuilenburg
2006-03-10 17:25 ` Grant Mills
1 sibling, 1 reply; 20+ messages in thread
From: Alex Schuilenburg @ 2006-03-10 11:19 UTC (permalink / raw)
To: yh; +Cc: ecos-discuss, Andrew Lunn
yh@bizmail.com.au wrote:
> Hello Alex,
>
> I am looking for redboot to support Intel P3 and I took the snapshot, but
> seems that the intel/stratav2 is empty. Where can I find the source code
> for supporting P3?
As Andrew said, the intel/stratav2 directory is the flash_v2 branch. My
bad as I did not realise we were not generating snapshots of the
flash_v2 branch (now added to the cron to generate future snapshots for
flash_v2 until the merge).
To kickstart, I have also just generated a flash_v2 snapshot but it
looks like you may have lucked out with P3 support.
-- Alex
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
2006-03-10 11:19 ` Alex Schuilenburg
@ 2006-03-10 17:25 ` Grant Mills
0 siblings, 0 replies; 20+ messages in thread
From: Grant Mills @ 2006-03-10 17:25 UTC (permalink / raw)
To: Alex Schuilenburg; +Cc: yh, ecos-discuss, Andrew Lunn
On 3/10/06, Alex Schuilenburg <alexs@ecoscentric.com> wrote:
> yh@bizmail.com.au wrote:
> > Hello Alex,
> >
> > I am looking for redboot to support Intel P3 and I took the snapshot, but
> > seems that the intel/stratav2 is empty. Where can I find the source code
> > for supporting P3?
>
> As Andrew said, the intel/stratav2 directory is the flash_v2 branch. My
> bad as I did not realise we were not generating snapshots of the
> flash_v2 branch (now added to the cron to generate future snapshots for
> flash_v2 until the merge).
>
> To kickstart, I have also just generated a flash_v2 snapshot but it
> looks like you may have lucked out with P3 support.
>
> -- Alex
>
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
There is not a lot to supporting the P30 Flash Family from Intel.
From my perspective there are three main hurdles:
1. The entire chip is locked at reset. This means that the
implementation will need to check for lock before any write/erase
operation. This may already be in place.
2. When supporting 512Mb and greater, the flash chip itself contains
multiple dies. Each die is a 256Mb P30. Therefore, you'll need to
track them as independent devices (at least I would.)
3. Lastly, the 1Gb version has two chip selects. This is more of a
hardware issue than a firmware but worth mentioning.
As I will be looking at the flash_v2 branch here soon, I'll see if I
can get some P30 support in before my own deadlines. If not, I'll
table it til afterwards.
--
Grant Mills
gmills@ucsd.edu
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [ECOS] Modifying RedBoot to support multiple flash devices
@ 2006-03-14 3:17 yh
0 siblings, 0 replies; 20+ messages in thread
From: yh @ 2006-03-14 3:17 UTC (permalink / raw)
To: ecos-discuss; +Cc: Alex Schuilenburg
Looks like I have to add a P30 support myself. It seems to me if we add
unlock block function call before erase block and before flash program,
the current J3 code should work for P30 as well. I am alsoAny comments
from experts out there?
Thanks.
Jim
Alex Schuilenburg wrote:
> yh@bizmail.com.au wrote:
>
>>Hello Alex,
>>
>>I am looking for redboot to support Intel P3 and I took the snapshot, but
>>seems that the intel/stratav2 is empty. Where can I find the source code
>>for supporting P3?
>
>
> As Andrew said, the intel/stratav2 directory is the flash_v2 branch. My
> bad as I did not realise we were not generating snapshots of the
> flash_v2 branch (now added to the cron to generate future snapshots for
> flash_v2 until the merge).
>
> To kickstart, I have also just generated a flash_v2 snapshot but it
> looks like you may have lucked out with P3 support.
>
> -- Alex
>
>
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2006-03-14 3:17 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-08 19:21 [ECOS] Modifying RedBoot to support multiple flash devices Grant Mills
2006-03-08 19:59 ` Andrew Lunn
2006-03-08 20:21 ` Grant Mills
2006-03-08 22:04 ` Alex Schuilenburg
2006-03-08 22:12 ` Andrew Lunn
2006-03-09 18:23 ` Chuck McManis
2006-03-10 11:11 ` Alex Schuilenburg
[not found] ` <20060308220250.GE19406@lunn.ch>
[not found] ` <6f506bf60603081426j4ec71e7dg1f068b4f42ad4b17@mail.gmail.com>
[not found] ` <20060308223947.GH19406@lunn.ch>
2006-03-09 6:09 ` Grant Mills
2006-03-09 20:58 ` Andrew Lunn
2006-03-09 21:09 ` Grant Mills
2006-03-09 21:18 ` Andrew Lunn
2006-03-09 21:40 ` Bart Veer
2006-03-08 22:07 ` Bart Veer
2006-03-08 22:14 ` Andrew Lunn
2006-03-08 22:31 ` Grant Mills
2006-03-10 4:44 yh
2006-03-10 7:22 ` Andrew Lunn
2006-03-10 11:19 ` Alex Schuilenburg
2006-03-10 17:25 ` Grant Mills
2006-03-14 3:17 yh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).