[ECOS] GDB stub for ADS8260

Suresh N nsuresh@cdotb.ernet.in
Tue Mar 13 00:33:00 GMT 2001


Hi,
	i have done changes to the v1_3_1 of the source....
	in that i was not able to find redboot template...
	
	now i tried to use the stubs template for ads.. and i am getting
following errors... but the same compilation passes thru when i build for
RAM...
<cut>
ecosconfig ads stubs
ecosconfig tree
make
powerpc-eabi-gcc -c
-I/export/home1/nsuresh/ecos-1.3.1/stubs/install/include
-I/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/arch/v1_3_1
-I/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/arch/v1_3_1/src
-I/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/arch/v1_3_1/tests
-I. -I/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/arch/v1_3_1/src/
-msoft-float -mcpu=860 -Wall -Wpointer-arith -Wstrict-prototypes -Winline
-Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority
-Wp,-MD,src/hal_misc.tmp -o src/hal_powerpc_arch_hal_misc.o
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/arch/v1_3_1/src/hal_misc.c
/export/home1/nsuresh/ecos-1.3.1/packages/hal/powerpc/arch/v1_3_1/src/hal_misc.c:255: warning: function
declaration isn't a prototype

/tmp/ccC7P9d3.s: Assembler messages:
/tmp/ccC7P9d3.s:463: Error: operand out of range (1008 not between 0 and
31)
/tmp/ccC7P9d3.s:463: Error: syntax error; found `a' but expected `,'
/tmp/ccC7P9d3.s:463: Error: junk at end of line: `andi 11,11,9mtspr
1,1008'
/tmp/ccC7P9d3.s:466: Error: operand out of range (1008 not between 0 and
31)
/tmp/ccC7P9d3.s:466: Error: syntax error; found `a' but expected `,'
/tmp/ccC7P9d3.s:466: Error: junk at end of line: `andi 11,11,9mtspr
1,1008'
/tmp/ccC7P9d3.s:470: Error: operand out of range (1008 not between 0 and
31)
/tmp/ccC7P9d3.s:470: Error: syntax error; found `o' but expected `,'
/tmp/ccC7P9d3.s:470: Error: junk at end of line: `ori 11,11,9mtspr 1,1008'
/tmp/ccC7P9d3.s:474: Error: operand out of range (1008 not between 0 and
31)
/tmp/ccC7P9d3.s:474: Error: syntax error; found `o' but expected `,'
</cut>

	any idea what is the problem...

	bye

-----------------***************************************----------------
				N.SURESH
		            Research Engineer,
		  Centre For Development of Telematics,
		       	   71/1,Sneha Complex,
			    Bangalore-560052		
-----------------***************************************----------------

On 12 Mar 2001, Jesper Skov wrote:

> >>>>> "Suresh" == Suresh N <nsuresh@cdotb.ernet.in> writes:
> 
> Suresh> Hi all, I have done the porting of HAL to ADS8260
> Suresh> board.... and simple serial driver is working....  i am able
> Suresh> to run hello world and simple thread programs...
> 
> Suresh>     now i want to build GDB stubs for the same board and
> Suresh> program the flash..  any clues of how to go about it.....
> 
> Yes, see the CYGBLD_BUILD_GDB_STUBS and CYGPKG_REDBOOT_HAL_OPTIONS
> options in the mbx HAL. Copy those to your HAL, add these:
>     implements    CYGINT_HAL_DEBUG_GDB_STUBS
>     implements    CYGINT_HAL_DEBUG_GDB_STUBS_BREAK
>     implements    CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT
> 
> And get the redboot template to build.
> 
> Jesper
> 



More information about the Ecos-discuss mailing list