[ECOS] Assabet flash problem
Gary Thomas
gthomas@cambridge.redhat.com
Fri Jun 1 06:16:00 GMT 2001
On 01-Jun-2001 Jesper Skov wrote:
>>>>>> "Swindells," == Swindells, Robert <SwindellsR@genrad.com> writes:
>
> Swindells,> Gary Thomas wrote:
>>> On 01-Jun-2001 Nicolas Pitre wrote:
>>>> I have an Assabet for which the precompiled Redboot binary from
>>>> current
> Swindells,> CVS
>>>> seems to work just fine. It is just a bit outdated compared to
>>>> the
> Swindells,> current
>>>> state of the source, but still it works.
>>>>
>>>> However if I recompile redboot myself, the resulting binary just
>>>> doesn't want to recognize the flash on the board anymore:
>>>>
>>>> |Can't identify FLASH, sorry, man b0, dev d0, id [QRY.] stat 0
>>>> |00018780: B0D0 0002 0000 0000 0000 0000 0000 0000
>>>> |................| |00018790: 5152 5901 0031 0000 0000 0030 5530
>>>> 5503 |QRY..1.....0U0U.| |000187A0: 060A 0F04 0404 0415 0200 0500
>>>> 011F 0000 |................| |000187B0: 0150 5249 |.PRI | |FLASH:
>>>> driver init failed!, status: 0x8
>>>>
>>>> Since it worked with older version of Redboot I guess the problem
>>>> should
> Swindells,> be
>>>> quite dumb and someone will tell me the quick trick without me
>>>> having to dive deep into the code... Right? :-)
>
> Swindells,> Have you tried building it with the bootblock flash
> Swindells,> drivers instead of the strata flash ones ?
>
> If that's the case, use the strata driver, but define
> CYGOPT_FLASH_IS_BOOTBLOCK in assabet_strataflash.h
This is too bad. We might end up having a configuration
CYGOPT_FLASH_MIGHT_BE_BOOTBLOCK
which can handle both Strata & BootBlock styles - ugly.
More information about the Ecos-discuss
mailing list