[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Adding parameters from the EDK project
> I have a custom IP and would like to have the petalinux-copy-autoconfig do it's magic for the base address and IRQ setting. Is there a procedure for doing this? I search around and didn't find an obvious answer. I can hard code the values but...
Hi Rick, I'm not so sure and others will be able to give you more
details, but I think it should be enough to add your ip to the MSS file
(you can use Software->Software Platform Settings->Drivers in XPS).
In this way the Petalinux automagic script will add it first to the
microblaze_0/include/xparameters.h and then to the linux/autoconf.h
file.
If you just include it in your application you can use
CONFIG_XILINX_XXX_BASEADDR where XXX depens on what kind of driver you
have assigned to your IP (I think).
Regards,
Giulio
___________________________
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/