From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1557 invoked by alias); 6 May 2013 20:08:07 -0000 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org Received: (qmail 1291 invoked by uid 89); 6 May 2013 20:08:00 -0000 X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 06 May 2013 20:07:58 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id BC5B64680010 for ; Mon, 6 May 2013 21:07:55 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tKQiVtJYzh6E; Mon, 6 May 2013 21:07:51 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001839] Fix for wrong setup of flash memory parts for different Olimex LPC-2294 boards Date: Mon, 06 May 2013 20:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: sergei.gavrikov@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00018.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001839 Sergei Gavrikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sergei.gavrikov@gmail.com --- Comment #1 from Sergei Gavrikov --- (In reply to comment #0) > Created attachment 2228 [details] > Patch for Olimex LPC-2294 boards that fixes flash configuration > > In the current flash driver for Olimex LPC-2294 boards, the wrong flash > memory type was selected for certain boards (i.e. for Olimex LPC-E2294-1MB). Uwe, this driver does describe *the first H/W revision* of Olimex LPC-E2294 board. That development board (green silk. PCB) had TE28F320C3BD70 FLASH and CL8900A LAN controller (I got a mail with that PCB in 2005 :-) > The Olimex boards can have two flash configurations: > > TE28F160C3BD70 C3 INTEL FLASH > > or > > TE28F320C3BD70 C3 INTEL FLASH > > Only two boards (LPC-L2294-8MB and LPC-H2294) have the 4MB Intel 28F320C3 > parts. This was wrong in the old implementation (I stumbeld across this > issue wehn building Redboot for LPC-E2294-1MB). The attached patch fixes > this issue and adds a table in the documentation, that shows the > configurations more clearly. Your workaround makes that old olpce2294 target be "new" one (Olimex LPC-E2294-1MB Rev. B). Unfortunately, H/W Revision "B" has and different LAN controller (DM9000E) not only FLASH parts. So, FLASH I/O and networking won't be work on old LPC-E2294 board (olpce2294 BSP in eCos AnonCVS). By other hand, Olimex does not sell that old H/W anymore, perhaps, we have to add some CYGHWR* definition in-side olpce2294 hal for Revision "B" boards, e.g. CYGHWR_BOARD_OLPCE2294RB and check this definition in the flash/eth drivers. By a chance, in 2009 I had re-worked HAL for some Olimex LPC-X2294 boards and made olpcx22xx package: https://bitbucket.org/tickling/olpcx22xx Unfortunately, that package is not consistent with existing CVS code (thought it can replace it) at least, there is a basic support and for Olimex LPC-E2294 Rev. B board there. -- You are receiving this mail because: You are on the CC list for the bug.