[ECOS] eCos port for Motorola FADS MPC860 board

Gary Thomas gary@mlbassoc.com
Wed Aug 4 12:27:00 GMT 2004


On Wed, 2004-08-04 at 06:21, Nicolas Brouard wrote:
> Hi all,
> I have a FADS board and I see on the ecos repository that a port was already
> done for this board.
> I retrieved the latest sources from CVS and compiled it for FADS, but I had
> the following error:
> 
> powerpc-eabi-gcc -c [...] -Wp,-MD,src/var_misc.tmp -o
> src/hal_powerpc_mpc8xx_var_misc.o
> /home/nbrouard/ecos/tmp/ecos/packages/hal/powerpc/mpc8xx/current/src/var_mis
> c.c
> /home/nbrouard/ecos/tmp/ecos/packages/hal/powerpc/mpc8xx/current/src/var_mis
> c.c:59:34: cyg/hal/quicc/ppc8xx.h: No such file or directory
> /home/nbrouard/ecos/tmp/ecos/packages/hal/powerpc/mpc8xx/current/src/var_mis
> c.c: In function `hal_variant_init':
> /home/nbrouard/ecos/tmp/ecos/packages/hal/powerpc/mpc8xx/current/src/var_mis
> c.c:95: warning: implicit declaration of function `_mpc8xx_reset_cpm'
> make[1]: *** [src/var_misc.o.d] Error 1
> make[1]: Leaving directory
> `/home/nbrouard/ecos-work/hal/powerpc/mpc8xx/current'
> make: *** [build] Error 2
> 
> I saw in .cdl that the quicc package is not used, so I removed the include
> of cyg/hal/quicc/ppc8xx.h in line 59 of
> packages/hal/powerpc/mpc8xx/current/src/var_misc. After that, I can compile
> the ecos library for the fads board.
> It seems that the fads port is a little bit old (more than 1 year) and
> doesn't really follow the evolution of mpc8xx port.
> Does anyone know if the fads port is functional?

It isn't (IMO never was).  This port was contributed a long time ago (at
least 4 years ago) and we never had the hardware to test it with.

Sorry, but to get it going you'll have to bring it in line with the 
latest structures.  Look at the viper or adder platforms for examples
of how to use the MPC8xx support layers.

> How the package FADS can be modified to take into account the include of
> cyg/hal/quicc/ppc8xx.h in var_misc.c?
> 
> Thanks in advance.
> Regards,
> 
> Nicolas
-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list