This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why can't tests be built for pc target?


On 2008-03-17, Andrew Lunn <andrew@lunn.ch> wrote:
> On Mon, Mar 17, 2008 at 06:59:23PM +0000, Grant Edwards wrote:
>> Does anybody know why you can't build tests for the PC target?
>> 
>>   $ newtree-pc_8139.sh
>>   + ecosconfig new pc_rltk8139 net
>>   U CYGBLD_ISO_STRUCTTIMEVAL_HEADER, new inferred value <cyg/posix/sys/time.h>
>>   U CYGBLD_ISO_FNMATCH_HEADER, new inferred value <cyg/fileio/fnmatch.h>
>>   + cat .tmp22883.cdl
>>   cdl_option CYG_HAL_STARTUP {user_value FLOPPY}
>
> /packages/hal/i386/pc/current/include/pkgconf$ less mlt_i386_pc_floppy.ldi 
> // eCos memory layout - Fri Oct 20 08:16:03 2000
>
> // This is a generated file - do not edit
>
> #include <cyg/infra/cyg_type.inc>
>
> MEMORY
> {
>     ram : ORIGIN = 0, LENGTH = 0xa0000
> }
>
>
>>   i386-elf-gcc -L/home/grante/pcecos/build-ecos/install/lib -Ttarget.ld -o /home/grante/pcecos/build-ecos/install/tests/io/pci/current/tests/pci1 tests/pci1.o -g -nostdlib -Wl,--gc-sections -Wl,-static 
>>   /opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-elf/bin/ld: address 0xbca38 of /home/grante/pcecos/build-ecos/install/tests/io/pci/current/tests/pci1 section .bss is not within region ram
>
> You are out of memory. You have hit the Bill Gates limit. 

Thanks.  It didn't even occur to me that there was a 640K
limit. I figured as long as it fit on a floppy it'd be OK.

> Use a different startup model, eg grub startup is currently
> setup to allow 16Mbyes of RAM.

I'll check that out.  I guess I'll have to add a hard drive to
the target.

In the meantime, I can't even get a simple "hello world" app
(which is smaller than 640K) to generate any output.  The
RedBoot floppy image generated with basically the same
configuration works fine, but hello world doesn't. :/

-- 
Grant



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]