[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] Adding parameters from the EDK project
Rick,
Hardware configuration values like the parameters actually go in the
.mhs file, not the .mss. EDK generates xparameters.h including these
hardware values. Configuration of the drivers is much less common, or
useful. Note that values tend not to appear in the .mhs file unless
they differ from the default specified in the .mpd file for the core.
Steve
> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On
> Behalf Of Rick Hunnicutt
> Sent: Thursday, December 04, 2008 9:06 AM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: 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/
>
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
___________________________
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/