public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Rutger Hofman <rutger@cs.vu.nl>
To: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Legacy Flash implementation
Date: Mon, 09 Jul 2007 11:08:00 -0000	[thread overview]
Message-ID: <46921762.5010001@cs.vu.nl> (raw)
In-Reply-To: <4691462D.5070003@cs.vu.nl>

Rutger Hofman wrote:
> Ahum. I guess I had forgotten this now, but it appears that Flash v2 
> (including legacy API) requires CVS branch flash_v2 in the checkout. 
> Having a different branch is entirely consistent with my problems.

OK, it's trivial to get -r flash_v2_tag. But this effectively gives me 
an eCos CVS snapshot from 2004, with patches *only* to the flash 
modules. I would very much prefer to be in sync with the main eCos CVS 
trunk and still have flash_v2 -- I want the newer i2c, for example.

I think there are a number of different solutions to this:

1) eCos maintainers merge the flash v2 branch into the main trunk. This 
would be perfect.

2) I myself merge the v2 branch into my checkout of the main trunk. I 
attempted this, and it gives me a number of conflicts, especially in 
redboot flash.c. The conflicts are caused by 2 additions in the main 
trunk to redboot flash.c: REDBOOT_FLASH_REVERSE_BYTEORDER and 
CYGOPT_REDBOOT_REDUNDANT_FIS. Addition of an 'ls' command apparently is 
handled seemlessly by CVS. Mostly, the conflict resolution in redboot 
flash.c seems to be straightforward, but a few difficult sites reaain. 
Also, as things are with CVS, there may be invisible conflicts: both 
parent branches may have added code in different places, but the 
additions are inconsistent. For the rest of the tree, of course the same 
holds, but my feeling is that the merge is painless, because it's very 
much localized.
Now, I don't build redboot, I build eCos applications. So any remaining 
errors in redboot flash.c are not going to bite me, right? But it still 
feels unsatisfactory to have a checkout that may be broken in redboot.
The obvious downside of this approach is that I will have a conflict 
each time anything related to flash is changed in the repository. This 
is not so very attractive!

Rutger Hofman
VU Amsterdam

-- 
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:[~2007-07-09 11:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-30  8:04 [ECOS] Build fails after CVS update Rutger Hofman
2007-06-30 15:00 ` Gary Thomas
2007-06-30 16:12   ` Rutger Hofman
2007-07-06 10:37     ` [ECOS] Legacy Flash implementation (was: Re: [ECOS] Build fails after CVS update) Rutger Hofman
2007-07-08 18:57       ` Andrew Lunn
2007-07-08 20:15         ` [ECOS] Legacy Flash implementation Rutger Hofman
2007-07-09 11:08           ` Rutger Hofman [this message]
2007-07-09 13:48             ` Andrew Lunn
2007-06-30 17:14   ` [ECOS] Build fails after CVS update Gary Thomas

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=46921762.5010001@cs.vu.nl \
    --to=rutger@cs.vu.nl \
    --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).