[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Compiling uClinux on MicroBlaze
Hi Ashish,
Do you have a timer peripheral added to your hardware in the EDK?
If so,
Look in the header file of microblaze_time.h to see if there are any includes for a configuration file. Time should use an include that uses
xparameters.h to get the CONFIG_XILINX_TIMER_0_BASEADDR. I am not sure what it would use.
Goto back one directory from the include folder to the linux directory.
Open the config.h file.
If you see another include for
autoconf.h goto that file if not please post it here. Or determine if it is defining that symbol properly.
My autoconf.h contains:
#define CONFIG_XILINX_TIMER_0_BASEADDR 0x41C40000
Of course yours will be a different address according to your hardware.
If not, you will simply need to add one.
Can anyone provide steps as to how to modify the defines without Petalinux?
Hope that helps Ashish. Best of luck.
On 3/20/07,
Ashish Darbari <ashish@xxxxxxxxxxxxxxx> wrote:
I downloaded the uClinux-dist and uClinux-2.4.x form the cvs repository
today from uClinux.org and
have followed the notes on compiling uClinux on Microblaze provided by
Xilinx XAPP730(v1.2).
(
www.xilinx.com/bvdocs/appnotes/*xapp730*.pdf)
Am using Virtex II Pro Board, and have followed all the instructions
rather faithfully in the manual
--- after doing a 'make dep' I get no error, but I get the following
error once I do 'make'.
Am I doing something silly somewhere?
Thanks for help.
Ashish
-------------------------------------------------------------------------------------------------------
In file included from time.c:26:
/home/ashish/uClinux/src/uClinux-2.4.x/include/asm/microblaze_timer.h:2
5:2: #error No timer peripheral specified
time.c: In function `timer_interrupt':
time.c:55: error: `CONFIG_XILINX_TIMER_0_BASEADDR' undeclared (first use
in this functio n)
time.c:55: error: (Each undeclared identifier is reported only once
time.c:55: error: for each function it appears in.)
time.c: In function `do_gettimeofday':
time.c:121: warning: the address of `mach_gettimeoffset', will always
evaluate as `true'
time.c: In function `do_settimeofday':
time.c:148: warning: the address of `mach_gettimeoffset', will always
evaluate as `true'
make[2]: *** [time.o] Error 1
make[2]: Leaving directory
`/home/ashish/uClinux/src/uClinux-2.4.x/arch
/microblaze/kernel'
make[1]: *** [_dir_arch/microblaze/kernel] Error 2
make[1]: Leaving directory `/home/ashish/uClinux/src/uClinux-2.4.x'
make: *** [linux] Error 1
[ashish@localhost uClinux-dist]$
___________________________
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/
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jose A. Torres
Multi Disciplinary Robotics Club
Multi Agent Bio-Robotics Lab (09-1100)
Kate Gleason College of Engineering
Rochester Institute of Technology
http://mdrc.rit.edu
http://gameboysandrobots.com
Email: jat5737@xxxxxxx
Lab phone:(585) 475-7208
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~