This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
FW: eCos for MPC55xx
- From: Gerster Jochen-B01096 <B01096 at freescale dot com>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 5 Jul 2006 09:01:21 +0200
- Subject: FW: eCos for MPC55xx
Hi,
I have ported eCos to the powerpc mpc55xx family, and now I want to add it to the eCos source repository but how?
Some details:
I used the ecos snapshot 25. April 06
NEW PACKAGES:
- CAN device driver (Flexcan) for mpc55xx (supports FlexCanA FlexCanB FlexCanC) uses the CAN_IO
- serial device driver (ESCI) for mpc55xx
- eth. device driver (FEC) for mpc5553 (with workaround for ERRATA 2049)
- eth. device driver (FEC) for mpc5567
- arch for the powerpc e200z6 core
- variant the mpc55xx
- plt. the MPC5554DEMO board
- plt. the MPC5553DEMO board
- plt. the MPC5567GW board
Some BUGs + fix:
cpuload: average is no calculated correctly, so the test worked
net/httpd/.../monitor.c creates a exception because of a null pointer
line 706 if(getifaddrs(&iflist)!=0) Out of Memory ? yes return
return 0;
New feature:
kernel/.../intr.cxx: The order the DSRs are called is now changeable between normal or reverse
normal: the DSRs are called in the order the isr happened (=new)
reverse: the DSRs are called in the reversed order the isr happened (=old)
kernel/.../interrupt.cdl: the option CYGIMP_KERNEL_INTERRUPTS_DSRS_LIST_REVERSE was added
ERRORS at compile time + FIX:
packages\net\snmp\lib\current\include\config.h
change ~347: define HAVE_GETTIMEOFDAY -> #define HAVE_GETTIMEOFDAY
packages\net\bsd_tcpip\current\include\sys\bsdtypes.h
Add line ~32: #undef int8_t \ #undef int16_t \ #undef int32_t
ERRORS at runtime + FIX:
gcc optimize memcpy fkt. and uses its inline fkt. and generates alignment error, especially using the TCP/IP Stack
change: packages\infra\current\src\memcpy.c every _memcpy -> my_memcpy
add line 86: packages\isoinfra\current\include\string.h #define memcpy my_memcpy pherhaps anyone knows how to disable this by a compiler flag, I didn't found it :(
All changed and new files are in the attached zip file.
bye
Jochen
I send now several emails but I did't get a response nor a new thread in the mailing list was created???
So now I try it without attaching the zip file