This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How can I initial the flashs of sst29vfxxx and intel_strata at do_flash_init() ?
On Mon, Aug 29, 2005 at 04:29:19PM +0800, Steven_cheng wrote:
> Hi Andrew,
>
> I have gotten the flashv2 branch of eCos which supports
> multiple flash drivers at the same time. But I hope I can get the lastest
> code from the
> Anonymous CVS and use the multiple flash drivers at the same time.
> So I replace the directories "io\flash" and "devs\flash" with ones of
> flashv2 branch.
>
> But it has error messages:
> undefined reference to "flash_unlock" in redboot_linux_exec.c 116/155
> undefined reference to "flash_lock" in redboot_linux_exec.c 137/155
>
> But I can not find flash_lick/flash_unlock in redboot_linux_exec.c .
I cannot find any reference either, so the linker is probably
confused.
Anyway, you have two options:
* update your redboot package to the flash_v2 branch.
* enabling the legacy flash API in the flash CDL options.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss