This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble with redboot on SPANSION S29GL512N


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]