[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] BSP mismatch?
Hi George,
Exception handling support in MicroVlaze introduced two new registers,
rESR and rEAR. It sounds like you are on an ancient version of the
mb-gcc tools?
Regards,
John
George Smith wrote:
> hi
> Sorry about the waste of bandwidth. Looks like I shouldn't enable the
> execptions.
> gesmith
>
>
> On Fri, 2006-03-10 at 18:00, George Smith wrote:
>
>>hi
>> I've recently added the uclinux bsp version 1.00d. I'm now having
>>problems compiling a kernel. I believe I may be having a mismatch
>>between my kernel or tools and the BSP. (John?) To wit::
>>
>>mb-gcc -D__KERNEL__ -I/data/Projects/laUclinux/uClinux-2.4.x/include
>>-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
>>-fno-common -fomit-frame-pointer -DPLATFORM=uclinux-auto -O2
>>-fno-builtin -DNO_MM -DNO_FPU -D__ELF__ -DUTS_SYSNAME="uClinux"
>>-D__linux__
>>-I/usr/local/microblaze-elf-tools/bin/../lib/gcc-lib/microblaze/2.95.3-4/./include -mxl-barrel-shift -mno-xl-soft-div -I/data/Projects/laUclinux/uClinux-2.4.x/arch/microblaze/xilinx_ocp -nostdinc -iwithprefix include -DKBUILD_BASENAME=bug -c -o bug.o bug.c
>>bug.c: In function `debug_trap':
>>bug.c:47: warning: unsigned int format, long unsigned int arg (arg 3)
>>bug.c:51: warning: unsigned int format, microblaze_reg_t arg (arg 2)
>>bug.c:51: warning: unsigned int format, microblaze_reg_t arg (arg 3)
>>mb-gcc -D__ASSEMBLY__ -D__KERNEL__
>>-I/data/Projects/laUclinux/uClinux-2.4.x/include -c -o
>>hw_exception_handler.o hw_exception_handler.S
>>hw_exception_handler.S: Assembler messages:
>>hw_exception_handler.S:156: Error: register expected, but saw 'resr'
>>hw_exception_handler.S:156: Error: invalid value for special purpose
>>register
>>hw_exception_handler.S:156: Warning: ignoring operands: resr
>>hw_exception_handler.S:212: Error: register expected, but saw 'rear'
>>hw_exception_handler.S:212: Error: invalid value for special purpose
>>register
>>hw_exception_handler.S:212: Warning: ignoring operands: rear
>>hw_exception_handler.S:252: Error: register expected, but saw 'resr'
>>hw_exception_handler.S:252: Error: invalid value for special purpose
>>register
>>hw_exception_handler.S:252: Warning: ignoring operands: resr
>>hw_exception_handler.S:282: Error: unknown opcode "rted"
>>make[2]: *** [hw_exception_handler.o] Error 1
>>make[2]: Leaving directory
>>`/data/Projects/laUclinux/uClinux-2.4.x/arch/microblaze/kernel'
>>make[1]: *** [_dir_arch/microblaze/kernel] Error 2
>>make[1]: Leaving directory `/data/Projects/laUclinux/uClinux-2.4.x'
>>make: *** [linux] Error 1
>>
>>
>>
--
Dr John Williams, Research Fellow,
Embedded Systems Group / Reconfigurable Computing
School of ITEE, The University of Queensland, Brisbane, Australia
(p) +61 7 33652185 (f) +61 7 33654999 (m) +61 403969243
___________________________
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/