From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 19 Dec 2013 16:15:12 +1100 Message-ID: From: Shane Morris To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=f46d043be1fcfb23e204eddc3efa Subject: Re: [9fans] gdbfs Topicbox-Message-UUID: a06f600e-ead8-11e9-9d60-3106f5b1d025 --f46d043be1fcfb23e204eddc3efa Content-Type: text/plain; charset=ISO-8859-1 An Exynos port of Plan 9 on a ChromeBook... that would be seriously cool! On Thu, Dec 19, 2013 at 4:12 PM, Steven Stallion wrote: > Evening 9fans, > > While working on the Chromebook (nee exynos) port I ended up in a > situation where I needed to use a more sophisticated JTAG debugger to > find an issue. I ended up grabbing a RealView ICE since they are > relatively cheap on eBay (around 500.00USD) compared to other models > capable of debugging Cortex-A15 cores. Older firmware revisions of the > RVI support the remote GDB protocol (in addition to the closed RDDI > protocol). I've written a simple 9P file server that translates > memory/register accesses to remote GDB targets. I haven't tried it > yet, but this should also work with OpenOCD as well. > > At the moment this is little more than a toy, but it has been stable > enough for me to debug issues on the board reliably. I've added > support for ARM and i386 for now - adding additional register maps for > the other mach types is straightforward. If there is enough demand, > I'll write up a man page and submit a patch. The setup for this isn't > particularly obvious since it requires some messing about with RVI > firmware updates and downloading the right version of RVDS to setup > the board, so a wiki page is deserved as well. > > For now, you can find the source in my contrib directory on sources: > /n/sources/contrib/stallion/src/gdbfs/ > > (Obligatory screenshot attached) > > Cheers, > > Steve > --f46d043be1fcfb23e204eddc3efa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
An Exynos port of Plan 9 on a ChromeBook... that would be = seriously cool!


On Thu, Dec 19, 2013 at 4:12 PM, Steven Stallion = <sstallion@gmai= l.com> wrote:
Evening 9fans,

While working on the Chromebook (nee exynos) port I ended up in a
situation where I needed to use a more sophisticated JTAG debugger to
find an issue. I ended up grabbing a RealView ICE since they are
relatively cheap on eBay (around 500.00USD) compared to other models
capable of debugging Cortex-A15 cores. Older firmware revisions of the
=A0RVI support the remote GDB protocol (in addition to the closed RDDI
protocol). I've written a simple 9P file server that translates
memory/register accesses to remote GDB targets. I haven't tried it
yet, but this should also work with OpenOCD as well.

At the moment this is little more than a toy, but it has been stable
enough for me to debug issues on the board reliably. I've added
support for ARM and i386 for now - adding additional register maps for
the other mach types is straightforward. If there is enough demand,
I'll write up a man page and submit a patch. The setup for this isn'= ;t
particularly obvious since it requires some messing about with RVI
firmware updates and downloading the right version of RVDS to setup
the board, so a wiki page is deserved as well.

For now, you can find the source in my contrib directory on sources:
/n/sources/contrib/stallion/src/gdbfs/

(Obligatory screenshot attached)

Cheers,

Steve

--f46d043be1fcfb23e204eddc3efa--