Hi all, 

The compiler optimization John mentioned is described here (from 2007!):
http://casper.berkeley.edu/memos/xps_optimization.pdf

As well as here:
http://casper.berkeley.edu/wiki/FAQ#Q:_My_LWIP_design_builds_OK_but_the_soft
ware_compile_fails_with_a_message_like...

Awhile ago we put together a lightweight UDP basesystem for the ibobs that
got around a lot of the problems with the telnet server (dropped
connections, lwip stack freeze up, etc...)  This basesystem includes a
'MAKESMALL' directive to automatically strip out verbosity.  A little patch
script that can be applied to a 7_1 or 10_1 basesystem is available at:
http://casper.berkeley.edu/wiki/LWIP


Cheers, 

Andrew

On 5/25/10 5:22 PM, "John Ford" <[email protected]> wrote:

>> Thanks, Glenn,
>> 
>> I have not added any PPC code and I am using the 10.1 tools installed
>> at BWRC, so I assumed those were not the problem, but I just now
>> built a simple test design with LWIP using the 10.1 tools and it worked!
>> 
>> My guess is that sw registers and such cause the code to grow and
>> once you exceed a certain point - ka-boom!  At least now I think I
>> know where to look...
> 
> There's an compiler optimization option that can help.  It optimizes for
> size instead of speed.  I can't remember the specifics but I can look
> tomorrow...
> 
> John
> 
>> 
>> Thanks again,
>> Dave
>> 
>> On May 25, 2010, at 16:17 , G Jones wrote:
>> 
>>> These messages mean that your PowerPC code is too large. This a
>>> common occurrence when using LWIP. You need to reduce your code
>>> size some how. One way I've done this is by removing verbose error
>>> messages from the .c files in the drivers directory.
>>> 
>>> If you haven't added any PowerPC code, make sure all of your ISE/
>>> EDK are patched to the correct version. For 7.1, there was an EDK
>>> patch that was necessary to avoid this problem.
>>> 
>>> Glenn
>>> 
>>> On Tue, May 25, 2010 at 4:13 PM, David MacMahon
>>> <[email protected]> wrote:
>>> I'm trying to build an ibob design with LWIP on 10.1, but I get
>>> this error at link time...
>>> 
>>> /vol/hitz/tools/commercial/xilinx/10.1/EDK/gnu/powerpc-eabi/lin64/
>>> bin/../lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-eabi/bin/ld:
>>> region plb_bram_if_cntlr_1 is full (Software/executable.elf
>>> section .data)
>>> 
>>> ... followed by a bunch of "section XXX overlaps section .text" and
>>> a bunch of "section XXX oerlaps previous sections" messages.
>>> 
>>> Does the "IBOB LWIP" block work under 10.1?
>>> 
>>> Thanks,
>>> Dave
>>> 
>>> 
>>> 
>> 
>> 
> 
> 
> 



Reply via email to