This is the mail archive of the ecos-discuss@sources.redhat.com 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]

AMD flash driver note


I ported eCos to phyCORE-AT91M55800A board (flash AM29LV320DT).
When I ran RedBoot with flash support I got the following message:

+FLASH: driver init failed: Driver does not support device
Sorry, FLASH config exceeds available space in FIS directory

RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version 02 - built 16:50:23, Aug 28 2004

Platform: PHYTEC AT91/phyCORE (ARM7TDMI)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x04000000-0x04200000, [0x04020a80-0x041fd000] available
RedBoot>

To solve the problem I added in file flash_am29xxxxx_parts.inl the missing
value 0x36 for device_id2 (CFI query at address 0x1C, see datasheet)

#ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV320D
    {   // AM29LV320DT
        device_id  : FLASHWORD(0x22F6),
        device_id2 : FLASHWORD(0x36),

Other devices in the same file lack this value as well.

Lorenzo Midulla




-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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