This is the mail archive of the ecos-bugs@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]

[Bug 1000693] flash.c assertion failure


http://bugzilla.ecoscentric.com/show_bug.cgi?id=1000693





--- Comment #1 from Andrew Lunn <andrew.lunn@ascom.ch>  2009-03-02 22:21:18 ---
The problem with flash3 is that the test case itself instansiates a new flash
driver instance at compile time. There is then an incosistancy between the
number of flash devices known by CDL in CYGHWR_IO_FLASH_DEVICE and the number
of entries in the HAL table cyg_flashdevtab[].

The current design does not allow "user space" flash drivers. All drivers have
to be in the eCos tree where they have access to CDL and can set
CYGHWR_IO_FLASH_DEVICE correctly. 

I'm not sure how to resolve this issue. 

Remove flash3?
Add a CDL option CYGHWR_IO_FLASH_DEVICE_USERSPACE which implements 
CYGHWR_IO_FLASH_DEVICE twice and disables the assert?

Bart: What do you think?


-- 
Configure bugmail: http://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


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