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

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 27 13:29:25 UTC 2014


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.

>   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?

-- 
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.


More information about the devel mailing list