This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: Trouble with redboot on SPANSION S29GL512N
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Maxin B John <arm dot maxinbjohn at gmail dot com>
- Cc: ecos-devel at ecos dot sourceware dot org
- Date: Thu, 19 Apr 2007 08:52:26 -0600
- Subject: Re: Trouble with redboot on SPANSION S29GL512N
- References: <10078647.post@talk.nabble.com>
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
------------------------------------------------------------