public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Alex Lindeijer" <Alex.L@3D-Perception.com>
To: <ecos-discuss@sourceware.org>
Subject: [ECOS] FW: Adding flash device using the flash v2 drivers
Date: Fri, 19 Dec 2008 14:32:00 -0000	[thread overview]
Message-ID: <97F68B92952DDA40A6494655C887603B8DEF8E@nw-ex-004.asplogon.com> (raw)


Hi
We have a controller card with a MPC8541 on it and a spansion S29GL512
flash. We used the Python eval board from A&M to start the ecos based
development. The ecos supplied was base don the legacy v1 flash drivers.
We are experiencing some verification problems on certain higher
addresses when accessing it from our application but everything is OK
when writing to flash from Redboot.
Therefore I wanted to tryt he v2 flasher driver to see whether that
makes a difference.. It seems I have (almost) everything in place but
get at startup

ASSERT FAIL: <4>flash.c[231]cyg_flash_init() incorrect number of flash
devices

Question is now: how do I add the flash device to the cyg_flashdevtab? I
suppose I have to do this in the board specific python.c under
devs/flash/....

When adding an extra ethernet port it was quit clear how to add it to
the netdevtab using the NETDEVTAB_ENTRY macro. Is there something
similar for adding a flash device?


And: can I run flash v2 in my applicattion and the legacy in my
redboot(ROMRAM)?


Thanks in advance
Alex Lindeijer
3D Perception - Senior System Designer


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

             reply	other threads:[~2008-12-19 13:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19 14:32 Alex Lindeijer [this message]
2008-12-19 15:10 ` Andrew Lunn
2008-12-19 19:28   ` Alex Lindeijer
2008-12-22 22:54     ` Alex Lindeijer
2008-12-22 23:29       ` Andrew Lunn
2008-12-22 23:38         ` Alex Lindeijer
2009-04-07 14:01         ` [ECOS] DHCP fails after bringing it up and down twice Alex Lindeijer
2008-12-19 15:25 ` [ECOS] FW: Adding flash device using the flash v2 drivers Gary Thomas
2008-12-20  3:17   ` Alex Lindeijer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97F68B92952DDA40A6494655C887603B8DEF8E@nw-ex-004.asplogon.com \
    --to=alex.l@3d-perception.com \
    --cc=ecos-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).