From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28506 invoked by alias); 3 May 2005 10:37:02 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 28358 invoked from network); 3 May 2005 10:36:46 -0000 Received: from unknown (HELO mail.gmma.net) (213.205.70.226) by sourceware.org with SMTP; 3 May 2005 10:36:46 -0000 Received: from pcgoncalo by mail.gmma.net (/**************************************************) with SMTP id PH140721; Tue, 03 May 2005 11:36:45 +0100 Message-ID: <005701c54fcc$0465a4a0$0200a8c0@pcgoncalo> Reply-To: =?UTF-8?Q?Gon=C3=A7alo_Antunes?= From: =?UTF-8?Q?Gon=C3=A7alo_Antunes?= To: "Nick Garnett" Cc: References: <200504262003.j3QK3dex009649@router.bonfrer.thuis><004801c54abe$f9cb0240$0200a8c0@pcgoncalo><20050427053432.GY17364@lunn.ch><001d01c54d35$4b9e05e0$0200a8c0@pcgoncalo> Date: Tue, 03 May 2005 10:37:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit Subject: Re: [ECOS] i386 problem X-SW-Source: 2005-05/txt/msg00020.txt.bz2 Thank you, Mr. Nick Garnett. I will try to do what you said. I will now try to start using Redboot during the development. Thank you again. Gonçalo Antunes. ----- Original Message ----- From: "Nick Garnett" To: "Gonçalo Antunes" Cc: Sent: Tuesday, May 03, 2005 11:14 AM Subject: Re: [ECOS] i386 problem Gonçalo Antunes writes: > Hello again! > > I tried to start with a plain net template, changed the HAL_STARTUP to > FLOPPY and the error on the "make tests" is the same: > > >> /home/gmma/config_install/lib/vectors.o:/tmp/ccfRQjJM.s: undefined > >> reference > >> to 'hal_saved_interrupt_state' > >> make: leaving directory '/home/gmma/config_build' > >> collect2: ld returned 1 exit status > > > If I put it to RAM, it works fine... > > When I first installed ecos (without any CVS update), the FLOPPY > startup worked fine... > > What can I do? The main problem seems to be with the profiling support that Bart added in March. I'll leave him to decide what to do about it in the repository, but in the interim you could try moving the #endif // CYGPKG_PROFILE_GPROF in hal_misc.c to just after the #endif // SMP I've not tried this, so I have no idea whether it will work. However, FLOPPY startup only allows for applications that occupy the lower 640k of RAM. Given all the packages you want to load, you may find this a bit of a squeeze. You would be better off using the GRUB startup type for large stand-alone programs, since these get loaded into RAM above the 1Mb boundary. During development, you should be using RedBoot and load RAM applications. You should only switch to FLOPPY or GRUB startup when you are ready to turn in to a product, not before. -- Nick Garnett eCos Kernel Architect http://www.ecoscentric.com The eCos and RedBoot experts -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss