From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4440 invoked by alias); 19 Jul 2012 01:52:41 -0000 Received: (qmail 4385 invoked by uid 22791); 19 Jul 2012 01:52:40 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jul 2012 01:52:27 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 120FC2F78006 for ; Thu, 19 Jul 2012 02:52:26 +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 b6fwta94vPUT; Thu, 19 Jul 2012 02:52:24 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001623] [RFC] eCos FLASH startup from RedBoot 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: enhancement X-Bugzilla-Who: jifl@ecoscentric.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 19 Jul 2012 01:52:00 -0000 Message-Id: <20120719015223.EE6052F78005@mail.ecoscentric.com> 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 X-SW-Source: 2012-07/txt/msg00022.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001623 Jonathan Larmour changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jifl@ecoscentric.com --- Comment #5 from Jonathan Larmour 2012-07-19 02:52:18 BST --- This sort of thing could just as easily apply to most other targets, on any architecture. The reason this hasn't been done with those either is because you can't guarantee the flash base address is what you think it is - e.g. in this patch it's fixed at 0x20000. But on a target with Flash managed by FIS, it could be located at arbitrary addresses. And you wouldn't be able to have two applications stored in flash without another startup type. And on many other targets with more RAM, we can use ROMRAM startup type, which usually offers better speed anyway. Basically things start getting complicated enough that you can't easily solve everybody's requirements, at which point it may be better to leave it to them to know what they're doing, e.g. by modifying the base address in the mlt files themselves. It might be able to be argued that we could add a CDL config option for a flash offset, which is then added into the addresses in the ROM startup mlt files (it would default to 0x0). But I'm slightly mindful of the fact that at some point we would like to get back to having some form of new version of the old MLT host tool, and the more exotic the customisations here, the more work it would be to sort it all out later. Jifl -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.