On Thu, Sep 11, 2008 at 10:29:16AM +0200, [EMAIL PROTECTED] wrote:
> Hello,
>
> the following patch adds a generic ethernet driver for the LPC2xxx
> on-chip EMAC peripheral. The driver was tested with the LPC2468 OEM
> Board from Embedded Artists.
Hi Uwe
I just read the README where you say tm_basic dies horrible.
What memory layout are you using?
I just build a ROM redboot and a RAM tm_basic using the defaults.
The resulting images clash in memory:
[EMAIL PROTECTED]:~/eCos/redboot/install/bin$ arm-elf-objdump --headers
redboot.elf
15 .data 00000700 a0000000 00015508 00020000 2**2
CONTENTS, ALLOC, LOAD, DATA
16 .bss 0000aa24 a0000700 a0000700 00020700 2**5
ALLOC
[EMAIL PROTECTED]:~/eCos/work$ arm-elf-objdump --headers
install/tests/kernel/current/tests/tm_basic
15 .data 000002fc a0000000 00011cb0 00020000 2**2
CONTENTS, ALLOC, LOAD, DATA
16 .bss 00c7cf68 a00002fc a00002fc 000202fc 2**5
ALLOC
In particular, lpc2xxx_priv_data in the redboot image is at 0xa0000264
which is in the middle of the lpc2xxx_sc for tm_basic. So an interrupt
from the ethernet is probably going to cause corruption.
Or do you are another RAM image layout when using ROM redboot?
Andrew