This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000693] flash.c assertion failure
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Mon, 2 Mar 2009 22:21:19 +0000
- Subject: [Bug 1000693] flash.c assertion failure
- References: <bug-1000693-13@http.bugzilla.ecoscentric.com/>
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.