May I ask some questions?

John Bonesio john.bonesio at
Fri May 30 01:50:40 EST 2008

xparameters.h will #include the other xparameters_mlxxx.h file. When
using XPS in the EDK, you can use the 'software platforms settings'
dialog box to specify the peripherals to use, the size of memory to use,
and other parameters.  When this is done, you can select 'generate
libraries and bsps' which will generate an xparameters_mlxxx.h file,
where xxx is a board number. e.g. xparameters_ml40x.h, or

The generated xparameters_mlxxx.h file will include the XPAR_xxx values
you need.

- John

> > I wanna ask u to point out what causes this problem.
> > There is another question about "xparameters.h" and
> > "xparameters_ml300.h". When I have generated BSP, there are two 
> > "xparameters.h" files in project which
> > have the same name while different size(eg: one is 22k ,the other is 
> > 4k). Which one is the proper?
> > And when I add "xparameters.h" and "xparameters_ml300.h" to the 
> > kernel, some compiling
> > error occurs.
> > eg:
> > arch/ppc/syslib/virtex_devices.c:116: error: 
> > 'XPAR_UARTNS550_0_CLOCK_FREQ_HZ' undeclared here (not in a function)
> > arch/ppc/syslib/virtex_devices.c:119: error: 
> > 'XPAR_UARTNS550_1_CLOCK_FREQ_HZ' undeclared here (not in a function)
> > I don't understand where to define them and whether i need them or not.
> > my eldk is:eldk/4.2/ppc-linux-x86
> > using Xilinx EDK/ISE 9.1
> > Linux 2.6.24
> These macros must be defined in xparameters_ml300.h. You need them as 
> they define base frequency for UARTNS550 and proper configuration of 
> baud rates depends on it


John Bonesio
Commercial Linux Solutions
john.bonesio at
(408) 879-5569

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.

More information about the Linuxppc-dev mailing list