This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

eCos port for Motorola FADS MPC860 board


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?
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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]