[U-Boot] u-boot.lds i686-pc-linux-gnu-ld section .start16 overlapssection .text
Graeme Russ
graeme.russ at gmail.com
Thu Dec 4 11:06:55 CET 2008
Lance Zhang wrote:
>> Have a look at u-boot.map - This file is generated by the linker and it
> will >tell you exactly where it put everything
>> Also, .text section (the one that holds all the code) looks to be very
> big:
>> 0x06011b85 - 0x05fe0000 = 0x31b85 (~200kB)
>
> Graeme, Thank you very much.
>
> I know the root cause, the Ethernet driver use lots of address space. I
> ported the driver from a Linux driver (wireless Linux Ethernet driver),
> just modified some u-boot incompatible functions. And the codes are very
> large. I will remove some codes
>
>
> But when I remove the Ethernet module, I looked the System.map file and
> found that I can only use 6312 bytes space. It will be difficult for me
Hmm, I have 170kB free - minus 128kB (assuming you're using a 128kB flash
rather than my 256kB) leaves 42kB, so you are using ~36kB more than my 86kB
Looks like you may have some places to carve out some code.
> to reduce the wireless Ethernet driver into 6312bytes. Anyway Thanks for
> the explanations.
Good luck, glad to be of service
>
> Lance Zhang
Graeme
More information about the U-Boot
mailing list