public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Calin Onofrei" <conofrei@plantcml.com>
To: "thierry langlais" <thierry.langlais@efixo.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 14:51:00 -0000	[thread overview]
Message-ID: <EEBEE767A519B74FA68C00324A95902305DBEB0B@porthos.cml.com> (raw)

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.

Calin Onofrei.

  

-----Original Message-----
From: thierry langlais [mailto:thierry.langlais@efixo.com] 
Sent: Wednesday, May 17, 2006 10:09 AM
To: Calin Onofrei
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Error when changing 'fconfig' redboot values from a linux program

How are you using MTD Driver ?
Could you give us more details ?

Thierry Langlais.

Le mercredi 17 mai 2006 à 09:33 -0400, Calin Onofrei a écrit :
> Hi All,
> 
> I am trying to change the RedBoot config from a Linux program.
> I can read the RedBoot configuration from user space with MTD driver 
> function but when I write the configuration changed for an unsigned 
> long
> (4 bytes) always the 3rd byte isn't changed and keep the old value!
> Any suggestion?
> 
> Thanks,
> Calin. 
> 


--
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:[~2006-05-17 14:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-17 14:51 Calin Onofrei [this message]
2006-05-17 15:05 ` Andrew Lunn
  -- 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=EEBEE767A519B74FA68C00324A95902305DBEB0B@porthos.cml.com \
    --to=conofrei@plantcml.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=thierry.langlais@efixo.com \
    /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).