Re: [Openocd-development] mips32 big endian fix

2009-06-15 Thread David Claffey
> In other words: the binary file should be changed for proper endianess > before loading it. The MIPS implementation in OpenOCD doesn't need to be > fixed regarding the endianess. It's true it doesn't need to be fixed to use the memory commands mw and md. But it helps in two ways: 1. The mips t

Re: [Openocd-development] mips32 big endian fix

2009-06-15 Thread Nico Coesel
> -Original Message- > From: David Claffey [mailto:dnclaf...@gmail.com] > Sent: vrijdag 12 juni 2009 13:50 > To: Nico Coesel > Cc: Zach Welch; openocd-development > Subject: Re: [Openocd-development] mips32 big endian fix > > Nico, > > You are correct, ta

Re: [Openocd-development] mips32 big endian fix

2009-06-12 Thread David Claffey
chain without modification. Nico Coesel wrote: >> -Original Message- >> From: Zach Welch [mailto:z...@superlucidity.net] >> Sent: vrijdag 12 juni 2009 10:39 >> To: Nico Coesel >> Cc: David Claffey; openocd-development >> Subject: Re: [Openocd-development]

Re: [Openocd-development] mips32 big endian fix

2009-06-12 Thread Nico Coesel
> -Original Message- > From: Zach Welch [mailto:z...@superlucidity.net] > Sent: vrijdag 12 juni 2009 10:39 > To: Nico Coesel > Cc: David Claffey; openocd-development > Subject: Re: [Openocd-development] mips32 big endian fix > > On Fri, 2009-06-12 at 09:55

Re: [Openocd-development] mips32 big endian fix

2009-06-12 Thread Zach Welch
; > To: openocd-development > > Subject: [Openocd-development] mips32 big endian fix > > > > A patch is needed for MIPS big endian (elf32-tradbigmips) targets. > Perhaps > > I'm the first to test trunk with a MIPS big endian target. > > > > If "-

Re: [Openocd-development] mips32 big endian fix

2009-06-12 Thread Nico Coesel
> -Original Message- > From: openocd-development-boun...@lists.berlios.de [mailto:openocd- > development-boun...@lists.berlios.de] On Behalf Of David Claffey > Sent: donderdag 11 juni 2009 23:18 > To: openocd-development > Subject: [Openocd-development] mips32 big endia

Re: [Openocd-development] mips32 big endian fix

2009-06-11 Thread Zach Welch
On Thu, 2009-06-11 at 17:18 -0400, David Claffey wrote: > A patch is needed for MIPS big endian (elf32-tradbigmips) targets. Perhaps > I'm > the first to test trunk with a MIPS big endian target. > > If "-endian big" is not set in target create, the endianess defaults to > little. > mw and md

[Openocd-development] mips32 big endian fix

2009-06-11 Thread David Claffey
A patch is needed for MIPS big endian (elf32-tradbigmips) targets. Perhaps I'm the first to test trunk with a MIPS big endian target. If "-endian big" is not set in target create, the endianess defaults to little. mw and md commands will still work, but binary file loads will have the incorrect