From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14972 invoked by alias); 1 Nov 2007 12:16:51 -0000 Received: (qmail 14951 invoked by uid 22791); 1 Nov 2007 12:16:48 -0000 X-Spam-Check-By: sourceware.org Received: from pro4.rediffmailpro.com (HELO pro4.rediffmailpro.com) (220.226.195.193) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 01 Nov 2007 12:16:44 +0000 Received: (qmail 18873 invoked by uid 510); 1 Nov 2007 12:15:04 -0000 Date: Thu, 01 Nov 2007 12:16:00 -0000 Message-ID: <20071101121504.18871.qmail@pro4.rediffmailpro.com> Received: from unknown (59.92.88.229) by rediffmail.com via HTTP; 01 Nov 2007 12:15:04 -0000 MIME-Version: 1.0 From: "Syed Ismail" Reply-To: "Syed Ismail" To: ecos-discuss@ecos.sourceware.org Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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] Redboot X-SW-Source: 2007-11/txt/msg00004.txt.bz2 Hi 1) When i build redboot, i get a warning- BFD: /home/ismail/ecos/ecos-2.0/tools/bin/nov1-0_install/bin/redboot.img: w= arning: allocated section `.bss' not in segment. This is what i have in .ldi file. MEMORY { ram : ORIGIN =3D 0x80000000, LENGTH =3D 0x1000000 rom : ORIGIN =3D 0xA0000000, LENGTH =3D 0x100000 } SECTIONS { SECTIONS_BEGIN SECTION_rom_vectors (rom, 0xA0000000, LMA_EQ_VMA) SECTION_text (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_fini (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_rodata (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_rodata1 (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_fixed_vectors (ram, 0x80000020, LMA_EQ_VMA) SECTION_data (ram, 0x80008000, FOLLOWING (.gcc_except_table)) SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA) CYG_LABEL_DEFN(__heap1) =3D ALIGN (0x8); SECTIONS_END } 2) I came to know execution starts from hal_platform_setup.h which is assem= bly lang. Will any changes here get reflected in the built .bin file. Maybe= this is a crazy quesstion? I ask bcoz i tried to toggle a pin by writing c= ode here. But none of the code i inserted gets included in the built .bin f= ile. (It is not execution problem. The extra code isnt included). Please he= lp. Ismail -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss