[PATCH] Adding "eth" linker script section for arm bsp.

Federico Casares federico.casares at tallertechnologies.com
Thu Aug 28 17:24:17 UTC 2014


On Wed, Aug 27, 2014 at 10:29 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 27/08/14 15:18, Federico Casares wrote:
>
>> Hi, attached the patch for:
>>
>> - Adding "eth" linker script section for arm bsp.
>> - Adding new  linker comands for LPC176x bsp that includes eth section.
>>
>> This patch is useful useful when working with DMA devices, so we can put
>> "ethernet memory" in specific locations.
>>
>> Regards
>>
>> --
>> http://www.tallertechnologies.com <http://www.tallertechnologies.com>
>>
>> Casares, Federico
>> Sr. Software Engineer
>> Taller Technologies Argentina
>>
>> San Lorenzo 47, 3rd Floor, Office 5
>> Córdoba, Argentina
>>
>> 0001-Adding-eth-linker-script-section-for-arm-bsp.patch
>>
>>
>>  From 6c1f50a00a43cb9128441195508f5a0563907440 Mon Sep 17 00:00:00 2001
>> From: Federico Casares<federico.casares at tallertechnologies.com>
>> Date: Wed, 27 Aug 2014 10:12:30 -0300
>> Subject: [PATCH] Adding "eth" linker script section for arm bsp. Adding
>> new
>>
>>   linker comands for LPC176x bsp that includes eth section.
>>
>> ---
>>   c/src/lib/libbsp/arm/lpc176x/Makefile.am           |  1 +
>>   .../startup/linkcmds.lpc1768_mbed_ahb_ram_eth      | 30
>> ++++++++++++++++++++++
>>   c/src/lib/libbsp/arm/shared/startup/linkcmds.base  |  7 +++++
>>
>
> If you add this section to linkcmds.base, then every ARM BSP must define
> this region.  I don't think this makes sense.
>

Right. Where you suggest we can put this?


>    3 files changed, 38 insertions(+)
>>   create mode 100644 c/src/lib/libbsp/arm/lpc176x/
>> startup/linkcmds.lpc1768_mbed_ahb_ram_eth
>>
>> diff --git a/c/src/lib/libbsp/arm/lpc176x/Makefile.am
>> b/c/src/lib/libbsp/arm/lpc176x/Makefile.am
>> index 3a1d4b2..36711a6 100644
>> --- a/c/src/lib/libbsp/arm/lpc176x/Makefile.am
>> +++ b/c/src/lib/libbsp/arm/lpc176x/Makefile.am
>> @@ -69,6 +69,7 @@ project_lib_DATA += startup/linkcmds
>>   EXTRA_DIST =
>>   EXTRA_DIST += startup/linkcmds.lpc1768_mbed
>>   EXTRA_DIST += startup/linkcmds.lpc1768_mbed_ahb_ram
>> +EXTRA_DIST += startup/linkcmds.lpc1768_mbed_ahb_ram_eth
>>
>
> Do you really need a lpc1768_mbed_ahb_ram and a lpc1768_mbed_ahb_ram_eth
> variant?
>

Yes, for example, currently we are using both configuration for two
different projects.
One that uses AHB2 for ethernet and the other that uses AHB1 and AHB2 as a
single memory range for a big program.

regards


>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>



-- 
[image: http://www.tallertechnologies.com]
<http://www.tallertechnologies.com>
Casares, Federico
Sr. Software Engineer
Taller Technologies Argentina

San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140828/2011161c/attachment-0002.html>


More information about the devel mailing list