This is the mail archive of the
mailing list for the eCos project.
Re: Standalone ethernet application
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Hans Kester <hans at ellips dot nl>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 24 Feb 2004 20:36:03 +0000
- Subject: Re: [ECOS] Standalone ethernet application
- References: <7772A37DE7948E4D995BC6733DC62B8227D8C6@nt-server2.ellips.nl>
Hans Kester wrote:
I am trying to boot a standalone program from floppy on an ordinary PC.
RedBoot works fine, a simple 'hello' example also works fine but when I
include networking I get a bunch of errors. Any idea what is wrong?
Bad link eth0 0xffffffff 0x000843ec 0 0x00004930: InitRxRing:1848
Haven't really looked, but this happens when the ring of rx buffers in the
PCI window is corrupt. It's possible a BIOS setting could do this, or a
card problem. But my suspicion is that your standalone program may be using
more than 640K of RAM, leaving insufficient room for the PCI window. This
is because the "FLOPPY" startup type is, by itself, only really intended
for redboot. You should probably tweak the memory layout in
hal/i386/pc/current/include/pkgconf/mlt_i386_pc_floppy* to take advantage
of memory above 0x100000. RAM startup apps automatically load and run above
0x100000 which is why those don't normally have a problem.
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
>>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss