public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* Trouble with redboot on SPANSION S29GL512N
@ 2007-04-19 14:39 Maxin B John
  2007-04-19 14:52 ` Gary Thomas
  2007-04-20  5:12 ` Maxin B John
  0 siblings, 2 replies; 5+ messages in thread
From: Maxin B John @ 2007-04-19 14:39 UTC (permalink / raw)
  To: ecos-devel


Dear all,

  I have compiled ECOS to support AMD/SPANSION S29GL512N  flash for EP9301 .
I have compiled the the redboot.bin but on booting , the system hangs. 
The flash_am29xxxxx_parts.inl is modified like this

#ifdef CYGHWR_DEVS_FLASH_AMD_S29GL512N
{
//AMD/SPANSION S29GL512N 
long_device_id:true,
device_id: FLASHWORD(0x227e),
device_id2: FLASHWORD(0x2223),
device_id3: FLASHWORD(0x2221),
block_size:0x20000 * CYGNUM_FLASH_INTERLEAVE,
block_count:512,
device_size:0x4000000 * CYGNUM_FLASH_INTERLEAVE,
base_mask:~(0x4000000 * CYGNUM_FLASH_INTERLEAVE-1),
bootblock : false,
banked :false,
},
#endif

Please let me know if anyone had successfully compiled the redboot with 
SPANSION S29GL512N with EP9301.

Thanks & Regards,
Maxin B. John
-- 
View this message in context: http://www.nabble.com/Trouble-with-redboot-on-SPANSION-S29GL512N-tf3607401.html#a10078647
Sent from the Sourceware - ecos-devel mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Trouble with redboot on SPANSION S29GL512N
  2007-04-19 14:39 Trouble with redboot on SPANSION S29GL512N Maxin B John
@ 2007-04-19 14:52 ` Gary Thomas
  2007-04-20 11:53   ` Maxin John
  2007-04-20  5:12 ` Maxin B John
  1 sibling, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2007-04-19 14:52 UTC (permalink / raw)
  To: Maxin B John; +Cc: ecos-devel

Maxin B John wrote:
> Dear all,
> 
>   I have compiled ECOS to support AMD/SPANSION S29GL512N  flash for EP9301 .
> I have compiled the the redboot.bin but on booting , the system hangs. 
> The flash_am29xxxxx_parts.inl is modified like this
> 
> #ifdef CYGHWR_DEVS_FLASH_AMD_S29GL512N
> {
> //AMD/SPANSION S29GL512N 
> long_device_id:true,
> device_id: FLASHWORD(0x227e),
> device_id2: FLASHWORD(0x2223),
> device_id3: FLASHWORD(0x2221),
> block_size:0x20000 * CYGNUM_FLASH_INTERLEAVE,
> block_count:512,
> device_size:0x4000000 * CYGNUM_FLASH_INTERLEAVE,
> base_mask:~(0x4000000 * CYGNUM_FLASH_INTERLEAVE-1),
> bootblock : false,
> banked :false,
> },
> #endif
> 
> Please let me know if anyone had successfully compiled the redboot with 
> SPANSION S29GL512N with EP9301.

Make sure your memory map (which on ARM includes some
assembly tables) have been adjusted to handle the FLASH.
If they are not able to handle the entire size (64MB in
this case), then RedBoot will hang/die.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Trouble with redboot on SPANSION S29GL512N
  2007-04-19 14:39 Trouble with redboot on SPANSION S29GL512N Maxin B John
  2007-04-19 14:52 ` Gary Thomas
@ 2007-04-20  5:12 ` Maxin B John
  1 sibling, 0 replies; 5+ messages in thread
From: Maxin B John @ 2007-04-20  5:12 UTC (permalink / raw)
  To: ecos-devel


Dear all,

  I have compiled ECOS to support AMD/SPANSION S29GL512N  flash for EP9301 .
I have compiled the the redboot.bin but on booting , the system hangs. 
The flash_am29xxxxx_parts.inl is modified like this

#ifdef CYGHWR_DEVS_FLASH_AMD_S29GL512N
{
//AMD/SPANSION S29GL512N 
long_device_id:true,
device_id: FLASHWORD(0x227e),
device_id2: FLASHWORD(0x2223),
device_id3: FLASHWORD(0x2221),
block_size:0x20000 * CYGNUM_FLASH_INTERLEAVE,
block_count:512,
device_size:0x4000000 * CYGNUM_FLASH_INTERLEAVE,
base_mask:~(0x4000000 * CYGNUM_FLASH_INTERLEAVE-1),
bootblock : false,
banked :false,
},
#endif

Please let me know if anyone had successfully compiled the redboot with 
SPANSION S29GL512N with EP9301.

Thanks & Regards,
Maxin B. John
-- 
View this message in context: http://www.nabble.com/Trouble-with-redboot-on-SPANSION-S29GL512N-tf3607401.html#a10078647
Sent from the Sourceware - ecos-devel mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Trouble with redboot on SPANSION S29GL512N
  2007-04-19 14:52 ` Gary Thomas
@ 2007-04-20 11:53   ` Maxin John
  2007-04-20 12:33     ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Maxin John @ 2007-04-20 11:53 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-devel

Dear Gary Thomas,

 Thank you very much. But I am a bit consfused. I would like to know
where I need to modify that. So how user can change the memory layout
if he wants to change ?
   I not sure  that I am suppossed to change the *.ldi  files. So am I
suppossed to change the  size in  *.h or *.mlt file and recompile
again ?

Thanks & regards,

Maxin B. John


On 4/19/07, Gary Thomas <gary@mlbassoc.com> wrote:
> Maxin B John wrote:
> > Dear all,
> >
> >   I have compiled ECOS to support AMD/SPANSION S29GL512N  flash for EP9301 .
> > I have compiled the the redboot.bin but on booting , the system hangs.
> > The flash_am29xxxxx_parts.inl is modified like this
> >
> > #ifdef CYGHWR_DEVS_FLASH_AMD_S29GL512N
> > {
> > //AMD/SPANSION S29GL512N
> > long_device_id:true,
> > device_id: FLASHWORD(0x227e),
> > device_id2: FLASHWORD(0x2223),
> > device_id3: FLASHWORD(0x2221),
> > block_size:0x20000 * CYGNUM_FLASH_INTERLEAVE,
> > block_count:512,
> > device_size:0x4000000 * CYGNUM_FLASH_INTERLEAVE,
> > base_mask:~(0x4000000 * CYGNUM_FLASH_INTERLEAVE-1),
> > bootblock : false,
> > banked :false,
> > },
> > #endif
> >
> > Please let me know if anyone had successfully compiled the redboot with
> > SPANSION S29GL512N with EP9301.
>
> Make sure your memory map (which on ARM includes some
> assembly tables) have been adjusted to handle the FLASH.
> If they are not able to handle the entire size (64MB in
> this case), then RedBoot will hang/die.
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Trouble with redboot on SPANSION S29GL512N
  2007-04-20 11:53   ` Maxin John
@ 2007-04-20 12:33     ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2007-04-20 12:33 UTC (permalink / raw)
  To: Maxin John; +Cc: ecos-devel

Maxin John wrote:
> Dear Gary Thomas,
> 
> Thank you very much. But I am a bit consfused. I would like to know
> where I need to modify that. So how user can change the memory layout
> if he wants to change ?
>   I not sure  that I am suppossed to change the *.ldi  files. So am I
> suppossed to change the  size in  *.h or *.mlt file and recompile
> again ?

The current files (as provided by Cirrus) only map 16MB for FLASH.
You'll need to make adjustments in 3 places to handle your 64MB device.
   hal/arm/arm9/ep93xx/v2_0/include/pkgconf/mlt_arm_arm9_edb9301_romram.h
   hal/arm/arm9/ep93xx/v2_0/include/pkgconf/mlt_arm_arm9_edb9301_romram.ldi
   hal/arm/arm9/ep93xx/v2_0/include/hal_platform_setup.h
> 
> On 4/19/07, Gary Thomas <gary@mlbassoc.com> wrote:
>> Maxin B John wrote:
>> > Dear all,
>> >
>> >   I have compiled ECOS to support AMD/SPANSION S29GL512N  flash for 
>> EP9301 .
>> > I have compiled the the redboot.bin but on booting , the system hangs.
>> > The flash_am29xxxxx_parts.inl is modified like this
>> >
>> > #ifdef CYGHWR_DEVS_FLASH_AMD_S29GL512N
>> > {
>> > //AMD/SPANSION S29GL512N
>> > long_device_id:true,
>> > device_id: FLASHWORD(0x227e),
>> > device_id2: FLASHWORD(0x2223),
>> > device_id3: FLASHWORD(0x2221),
>> > block_size:0x20000 * CYGNUM_FLASH_INTERLEAVE,
>> > block_count:512,
>> > device_size:0x4000000 * CYGNUM_FLASH_INTERLEAVE,
>> > base_mask:~(0x4000000 * CYGNUM_FLASH_INTERLEAVE-1),
>> > bootblock : false,
>> > banked :false,
>> > },
>> > #endif
>> >
>> > Please let me know if anyone had successfully compiled the redboot with
>> > SPANSION S29GL512N with EP9301.
>>
>> Make sure your memory map (which on ARM includes some
>> assembly tables) have been adjusted to handle the FLASH.
>> If they are not able to handle the entire size (64MB in
>> this case), then RedBoot will hang/die.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-20 11:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-19 14:39 Trouble with redboot on SPANSION S29GL512N Maxin B John
2007-04-19 14:52 ` Gary Thomas
2007-04-20 11:53   ` Maxin John
2007-04-20 12:33     ` Gary Thomas
2007-04-20  5:12 ` Maxin B John

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).