From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11755 invoked by alias); 15 Sep 2009 16:46:57 -0000 Received: (qmail 11741 invoked by uid 22791); 15 Sep 2009 16:46:55 -0000 X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=AWL,BAYES_50,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 15 Sep 2009 16:46:49 +0000 Received: (qmail 22346 invoked by uid 0); 15 Sep 2009 16:46:47 -0000 Received: from 131.234.20.249 by www094.gmx.net with HTTP; Tue, 15 Sep 2009 18:46:44 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 15 Sep 2009 16:46:00 -0000 From: "Robert Meiche" Message-ID: <20090915164644.212560@gmx.net> MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org Content-Transfer-Encoding: 8bit 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] eCos memory layout: other RAM Position than 0x0 X-SW-Source: 2009-09/txt/msg00114.txt.bz2 Hi. I have the problem, that i need to position eCos at another RAM position. I'm doing a diploma thesis which includes a multicore environment on an Virtex-II(XUP-BOARD). In this environment, the sections are located as following: .boot 0xfffffffc .boot0 0xffffe000 all the other sections are located in RAM beginning at position 0x0. Now I need the position 0x0 for the PC of the microblaze CPU. So I wanted to position eCos at 0x100. I modified the files mlt_powerpc_virtex4_romram.h and mlt_powerpc_virtex4_romram.ldi The eCos configuration is set to romram startup-type. After building eCos, everything seems fine when I look at the linkerscript. Running a single threaded app works fine. But running a multithreaded app gives me the following error message: Sorting data...ASSERT FAIL: <1>mlqueue.cxx[281]void Cyg_Scheduler_Implementation::rem_thread() Idle thread trying to sleep! ASSERT FAIL: <1>mlqueue.cxx [ 281] void Cyg_Scheduler_Implementation::rem_thread() I!TRACE: <1>thread.cxx [ 224] Cyg_Thread::Cyg_Thread() }}returdTRACE: <1>thread.cxx [ 597] void Cyg_Thread::resume() The other Problem is, that the eCos configuration includes the POSIX compatibility layer. But after Changing the memory layout files, apps, which includes a main() function don't start until I rename them to cyg_user_start. Does anyone ever changed the RAM Postion of eCos and can give me some hints? Regards, Robert -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss