From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8883 invoked by alias); 5 Jul 2006 08:23:37 -0000 Received: (qmail 8873 invoked by uid 22791); 5 Jul 2006 08:23:35 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,TW_CP X-Spam-Check-By: sourceware.org Received: from Unknown (HELO neomail.neotel.com.mk) (80.77.144.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 05 Jul 2006 08:23:31 +0000 Received: from [80.77.156.156] (account ilijak@siva.com.mk HELO [192.168.209.21]) by neomail.neotel.com.mk (CommuniGate Pro SMTP 5.0.6) with ESMTPA id 1316189; Wed, 05 Jul 2006 10:23:31 +0200 Message-ID: <44AB76FF.9010701@siva.com.mk> Date: Wed, 05 Jul 2006 08:23:00 -0000 From: Ilija Koco User-Agent: Thunderbird 1.5.0.4 (X11/20060615) MIME-Version: 1.0 To: Gerster Jochen-B01096 CC: ecos-patches@ecos.sourceware.org Subject: Re: FW: eCos for MPC55xx References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2006-07/txt/msg00003.txt.bz2 Hi Jochen Nice thing I recently ported eCos to MAC7100 that has same serial port that i placed in directory dev/serial/freescale. i tried to meke it platform independent so maybe you coul'd consolidate it with your's. I haven't checked CAN but it they are same you coul'd place it under some general dir so it coul'd seamlessly fit with mac7100 (and possibly other freescale chips). regards Ilija Gerster Jochen-B01096 wrote: > 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 > >