[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Fwd: Troubleshooting installation of ICAP drivers
John,
I had add some #define statements to get make to complete when there
is an ICAP in the design. I can produce a image.bin but I have not
been able to display the bootup on the UART (it works with other
reference image.bin files). I place the image.bin at address
0x30000000 and start at 0x30000000 but when I stop the processor XMD
says it exits at 0x00000000. Could you look at my changes as see if
any of my assumptions were wrong? I added the following:
xhwicap_srp.c
------------------
#define XNULL NULL
xhwicap_set_configuration.c
-----------------------------------------
#define xboolean u8
#define XTRUE 1
#define XFALSE 0
There was also a problem when update merged with your changes. In the
file uClinux-dist/include/asm/processor.h at approxately line 75 there
are the following lines:
------------------------
<<<<<<< processor.h
/* Thread will be started as a return from syscall
rtbd r14, 4.
Therefore, we adjust start PC address by negative 4 */
regs->pc = pc-4;
========
regs->pc = pc;
1.10
regs->gpr[GPR_SP] = usp;
regs->kernel_mode = 0;
---------------------------
I assumed that these lines should be reduced to:
regs->pc = pc;
regs->gpr[GPR_SP] = usp;
regs->kernel_mode = 0;
Just a few small issues left to work out. Thanks for all of your help,
David
On 11/12/06, John Williams <jwilliams@xxxxxxxxxxxxxx> wrote:
Hi David,
David Montminy wrote:
> 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.
>
> #error Autoconfig-targets and platforms should not include xparameters.h
My fault (again! :) Should be fixed in CVS now. Or to fix manually,
just change the two instances in drivers/misc/xilinx_hwicap of
#include <asm/xparameters.h>
to
#include <linux/autoconf.h>
and you'll be good to go.
Thanks for your patience - getting a working version of this in CVS is a
good thing, so others will hopefully benefit.
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/