|
PXA Tools
In order to develop the Ramses I had to create
a bunch of tools, mostly to decode PXA 2x0 related things.
pxaregs
The PXA250 cpu has many function units, controlled via memory mapped
registers (there is nothing like the ports of the x86 architecture). With
pxaregs you can display, decode and set any PXA 250 periphery register.
I will create it's own web page sometimes later.
PXA 2x0 register decode programs
Some of the PXA registers, e.g. to setup the GPIOs, the Memory etc are
not that easy to decode into a human readable for, especially when Linux
does not yet run on it and one cannot use pxaregs. A couple of perl scripts
help:
BDI 2000 remote control
The BDI 2000 is a JTAG device that you can control via Telnet ... and
via the GDB remote debugging protocol. I used this protocol and some
python code to add functions like memory dump, read flash, set flash etc.
Here are the programs:
Port toggle utility
While sorting out chip select issues it can be helpful to be able to
toggle some bits. This kernel module does exactly this. You probably cannot
use it as is, but adaptions are not that difficult.
|