This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: flash block device /dev/flash1 question
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: HG <henri at broadbandnetdevices dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 09 May 2003 15:35:17 -0600
- Subject: Re: [ECOS] flash block device /dev/flash1 question
- Organization:
- References: <000701c31671$ad1843f0$0400a8c0@amdk62400>
On Fri, 2003-05-09 at 15:26, HG wrote:
> Hi All
>
> there is a configuration option for /dev/flash1 in the generic
> CYGPKG_IO_FLASH , but is there a test example available to use the api ?
>
RedBoot. Honestly, it's the most extensive use of the interfaces.
>
> How is the handle obtained prior to writing or reading ??? The file
> flashiodev.c has a commented out flashiodev_lookup
> to get a handle ?
At this time, the more generic FLASH interface (aka flashiodev)
is not implemented. If you want to access the flash, use the
direct routines, like flash_init(), flash_program_buf(), etc.
--
Gary D. Thomas <gary.thomas@mind.be>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss