From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23041 invoked by alias); 27 Jan 2011 17:24:26 -0000 Received: (qmail 23026 invoked by uid 22791); 27 Jan 2011 17:24:23 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.neratec.ch (HELO mail.neratec.ch) (80.75.119.105) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Jan 2011 17:24:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.neratec.ch (Postfix) with ESMTP id 8895B860D1 for ; Thu, 27 Jan 2011 18:24:15 +0100 (CET) Received: from mail.neratec.ch ([127.0.0.1]) by localhost (mail.neratec.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sGKlNnwuhpOf for ; Thu, 27 Jan 2011 18:24:14 +0100 (CET) Received: from mail.neratec.ch (mail.neratec.ch [192.168.11.23]) by mail.neratec.ch (Postfix) with ESMTP id 6506B860D0 for ; Thu, 27 Jan 2011 18:24:14 +0100 (CET) Date: Thu, 27 Jan 2011 17:56:00 -0000 From: =?utf-8?Q?Martin_R=C3=B6sch?= To: "discuss, eCos" Message-ID: <917898.171.1296149053545.JavaMail.neratec@martin-lucid32> In-Reply-To: <2815371.163.1296147619546.JavaMail.neratec@martin-lucid32> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Different section placement for kernel and application X-SW-Source: 2011-01/txt/msg00089.txt.bz2 Hi, I'm trying to figure out how to run the eCos kernel from ROM and run the application (the main() function) from RAM on the STM32 Eval Board. Is it possible to place the text, data and rodata sections from the target library to a different memory address (i.e. flash) than the sections of the application in the image? Thank you for your help, Martin -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss