[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Fwd: Troubleshooting installation of ICAP drivers



I enabled the ICAP drivers in the kernel and was able to 'made dep'
successfully. When I tried to 'make', I got the following error below.
Is this similar to the error discussed in this post.

http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/02/msg00043.html

In the follow-up post, John Williams stated that he needed to bring
the SystemAce drive through to the autoconfig architecture.  Does
something similar need to be done for the ICAP?

Thanks,

David



mb-gcc -D__KERNEL__ -I/home/devel/uclinux/src/uClinux-2.4.x/include  -Wall -Wstr
ict-prototypes -Wno-trigraphs -O1 -g -fno-strict-aliasing -fno-common -DPLATFORM
=uclinux-auto -O3 -fno-builtin -DNO_MM -DNO_FPU -D__ELF__ -DMAGIC_ROM_PTR -DUTS_
SYSNAME="uClinux" -D__linux__ -I/usr/local/microblaze-elf-tools/bin/../lib/gcc/m
icroblaze/3.4.1/./include -mno-xl-soft-mul  -I/home/devel/uclinux/src/uClinux-2.
4.x/arch/microblaze/xilinx_ocp -nostdinc -iwithprefix include -DKBUILD_BASENAME=
xhwicap_g  -c -o xhwicap_g.o xhwicap_g.c
In file included from xhwicap_g.c:44:
/home/devel/uclinux/src/uClinux-2.4.x/include/asm/xparameters.h:15:2: #error Aut
oconfig-targets and platforms should not include xparameters.h
make[4]: *** [xhwicap_g.o] Error 1
make[4]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x/drivers/misc/x
ilinx_hwicap'
make[3]: *** [_subdir_xilinx_hwicap] Error 2
make[3]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x/drivers/misc'
make[2]: *** [_subdir_misc] Error 2
make[2]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/home/devel/uclinux/src/uClinux-2.4.x'
make: *** [linux] Error 1


On 11/9/06, John Williams <jwilliams@xxxxxxxxxxxxxx> wrote:
Hi David,

David Montminy wrote:
> It is possible that I am looking in the wrong place.  As a common
> point of reference, here's the link to the uClinux CVS browser.
> Should there be a xilinx_hwicap directory here?
>
> http://cvs.uclinux.org/cgi-bin/cvsweb.cgi/uClinux-2.4.x/drivers/misc/

My mistake - I'd never added the driver into CVS.  I've just done so now.

$ cvs update include/asm-microblaze drivers/misc

will collect the necessary changes.  A misc character device node with
minor number 200 is also required - add a line like the following to
your vendors Makefile

ifdef CONFIG_XILINX_HWICAP
DEVICES +=      \
       icap,c,10,200
endif

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/