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

RE: [microblaze-uclinux] Adding parameters from the EDK project



> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-
> uclinux@xxxxxxxxxxxxxx] On Behalf Of Giulio Mazzoleni
> Sent: Thursday, December 04, 2008 12:04 AM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: 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
>

Thanks but I think there is more to it. I have the IP listed under the software platform,
drivers section. In that section, there is a parameters display but none of the IP's list
there values (like the uart or lltemac) and I know these are part of the petalinux
parameter update.

Anyone else know? Is this an uncommon thing? I would think it would be very common for
custom hardware. Do you just hard code the values?

Thanks!
Rick


___________________________
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/