From: Andrew Lunn <andrew@lunn.ch>
To: Calin Onofrei <conofrei@plantcml.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Error when changing 'fconfig' redboot values from a linux program
Date: Wed, 17 May 2006 15:05:00 -0000 [thread overview]
Message-ID: <20060517150237.GK14082@lunn.ch> (raw)
In-Reply-To: <EEBEE767A519B74FA68C00324A95902305DBEB0B@porthos.cml.com>
On Wed, May 17, 2006 at 10:51:23AM -0400, Calin Onofrei wrote:
> Thierry,
>
> In my case RedBoot config is on mtd5 partition (do cat /proc/mtd to see) and I open the device:
> Open("/dev/mtd5", O_RDWR | O_SYNC). With the handle returned by the open function I do read and write operations as for any other device.
But is /dev/mtd5 like any other device? Or do you need to erase it
using an ioctl call?
I don't know, but maybe you need to find out.
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
next prev parent reply other threads:[~2006-05-17 15:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-17 14:51 Calin Onofrei
2006-05-17 15:05 ` Andrew Lunn [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-05-17 19:50 Calin Onofrei
2006-05-17 15:12 Calin Onofrei
2006-05-17 13:34 Calin Onofrei
2006-05-17 14:12 ` thierry langlais
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=20060517150237.GK14082@lunn.ch \
--to=andrew@lunn.ch \
--cc=conofrei@plantcml.com \
--cc=ecos-discuss@ecos.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).