<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 27, 2014 at 10:29 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On 27/08/14 15:18, Federico Casares wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">
Hi, attached the patch for:<br>
<br>
- Adding "eth" linker script section for arm bsp.<br>
- Adding new linker comands for LPC176x bsp that includes eth section.<br>
<br>
This patch is useful useful when working with DMA devices, so we can put<br>
"ethernet memory" in specific locations.<br>
<br>
Regards<br>
<br>
--<br>
</div><a href="http://www.tallertechnologies.com" target="_blank">http://www.tallertechnologies.<u></u>com</a> <<a href="http://www.tallertechnologies.com" target="_blank">http://www.<u></u>tallertechnologies.com</a>><div class="">
<br>
Casares, Federico<br>
Sr. Software Engineer<br>
Taller Technologies Argentina<br>
<br>
San Lorenzo 47, 3rd Floor, Office 5<br>
Córdoba, Argentina<br>
<br></div>
0001-Adding-eth-linker-script-<u></u>section-for-arm-bsp.patch<br>
<br>
<br>
From 6c1f50a00a43cb9128441195508f5a<u></u>0563907440 Mon Sep 17 00:00:00 2001<br>
From: Federico Casares<<a href="mailto:federico.casares@tallertechnologies.com" target="_blank">federico.casares@<u></u>tallertechnologies.com</a>><br>
Date: Wed, 27 Aug 2014 10:12:30 -0300<br>
Subject: [PATCH] Adding "eth" linker script section for arm bsp. Adding new<div class=""><br>
linker comands for LPC176x bsp that includes eth section.<br>
<br></div>
---<br>
c/src/lib/libbsp/arm/lpc176x/<u></u>Makefile.am | 1 +<br>
.../startup/linkcmds.lpc1768_<u></u>mbed_ahb_ram_eth | 30 ++++++++++++++++++++++<br>
c/src/lib/libbsp/arm/shared/<u></u>startup/linkcmds.base | 7 +++++<br>
</blockquote>
<br>
If you add this section to linkcmds.base, then every ARM BSP must define this region. I don't think this makes sense.<br></blockquote><div> </div><div>Right. Where you suggest we can put this? <br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
3 files changed, 38 insertions(+)<br>
create mode 100644 c/src/lib/libbsp/arm/lpc176x/<u></u>startup/linkcmds.lpc1768_mbed_<u></u>ahb_ram_eth<br>
<br>
diff --git a/c/src/lib/libbsp/arm/<u></u>lpc176x/Makefile.am b/c/src/lib/libbsp/arm/<u></u>lpc176x/Makefile.am<br>
index 3a1d4b2..36711a6 100644<br>
--- a/c/src/lib/libbsp/arm/<u></u>lpc176x/Makefile.am<br>
+++ b/c/src/lib/libbsp/arm/<u></u>lpc176x/Makefile.am<br>
@@ -69,6 +69,7 @@ project_lib_DATA += startup/linkcmds<br>
EXTRA_DIST =<br>
EXTRA_DIST += startup/linkcmds.lpc1768_mbed<br>
EXTRA_DIST += startup/linkcmds.lpc1768_mbed_<u></u>ahb_ram<br>
+EXTRA_DIST += startup/linkcmds.lpc1768_mbed_<u></u>ahb_ram_eth<br>
</blockquote>
<br>
Do you really need a lpc1768_mbed_ahb_ram and a lpc1768_mbed_ahb_ram_eth variant?<span class=""><font color="#888888"><br></font></span></blockquote><div><br><div>Yes, for example, currently we are using both configuration for two different projects.<br>
One that uses AHB2 for ethernet and the other that uses AHB1 and AHB2 as a single memory range for a big program.<br>
<br></div>regards<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-<u></u>brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><div><span style="font-family:verdana,sans-serif"><a href="http://www.tallertechnologies.com" target="_blank"><img alt="http://www.tallertechnologies.com" src="http://www.tallertechnologies.com/templates/tallertechnologies/images/signature.png" height="78" width="200"></a><br>
Casares, Federico<br></span></div><span style="font-family:verdana,sans-serif">Sr. Software Engineer<br></span></div><span style="font-family:verdana,sans-serif">Taller Technologies Argentina<br><br><span style="font-size:8pt;color:rgb(0,0,0);font-weight:normal;font-style:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">San Lorenzo 47, 3rd Floor, Office 5<br>
</span><span style="font-size:8pt;color:rgb(0,0,0);font-weight:normal;font-style:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">Córdoba, Argentina</span></span><br></div>
</div></div>