Discussion:
[UrJTAG-dev] [PATCH 0/2] Atheros AR2313 Support
Stanley Pinchak
2013-05-01 04:35:11 UTC
Permalink
Add support for Atheros AR2313. Based on the code from data/ar2312/ar2312 with
modification for correctly enabling flash read/write support on ar2313.

Stanley Pinchak (2):
Add support for the Atheros ar2313 series devices
Modify Enable flash read/write command to work on ar2313 Update
Copyright header

urjtag/data/atheros/ar2313/ar2313 | 53 +++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 urjtag/data/atheros/ar2313/ar2313
--
1.7.10.4
Stanley Pinchak
2013-05-01 04:35:12 UTC
Permalink
---
urjtag/data/atheros/ar2313/ar2313 | 52 +++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 urjtag/data/atheros/ar2313/ar2313
Mike Frysinger
2013-05-09 02:37:42 UTC
Permalink
Post by Stanley Pinchak
---
urjtag/data/atheros/ar2313/ar2313 | 52
+++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+)
create mode 100644 urjtag/data/atheros/ar2313/ar2313
you can use `git send-email` to send things properly rather than attaching
them
Post by Stanley Pinchak
--- /dev/null
+++ b/urjtag/data/atheros/ar2313/ar2313
...
+initbus ejtag
+endian big
+#Enable flash read/write
+poke 0x58400000 0x100e3ce1
data files shouldn't execute random commands like this
-mike
Stanley Pinchak
2013-05-10 20:43:41 UTC
Permalink
What are your thoughts on the file urjtag/data/atheros/ar2312/ar2312.
Perhaps it is not clear, but patch 1 of 2 copies the contents
of urjtag/data/atheros/ar2312/ar2312 to urjtag/data/atheros/ar2313/ar2313.
Patch 2 of 2 modifies the poke command that is needed to correctly
initialize the ar2313 hardware to allow flash detection. Without the poke
command, the ar2313 is unable to successfully detect the flash. I assume
that the original author of the ar2312 code had a similar problem with
flash detection on ar2312 hardware. Is there a better place to put this
necessary initialization command? If it is unacceptable to have this kind
of initialization command in the datafile, should we remove this code
from urjtag/data/atheros/ar2312/ar2312 as well? Assuming that the poke
command is necessary to correctly initialize the hardware for flash
detection, the removal of this code from the ar2312 datafile could be seen
as a regression for the users of that hardware. However, the removal of
the poke command from the ar2312 datafile makes it compatible with ar2313
hardware, although it leaves the ar2313 hardware (and perhaps ar2312
hardware) in a state where it is not yet able to detect the flash chip. I
would love to get further input on these matters.

Stanley Pinchak
Post by Mike Frysinger
Post by Stanley Pinchak
---
urjtag/data/atheros/ar2313/ar2313 | 52
+++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+)
create mode 100644 urjtag/data/atheros/ar2313/ar2313
you can use `git send-email` to send things properly rather than attaching
them
Post by Stanley Pinchak
--- /dev/null
+++ b/urjtag/data/atheros/ar2313/ar2313
...
+initbus ejtag
+endian big
+#Enable flash read/write
+poke 0x58400000 0x100e3ce1
data files shouldn't execute random commands like this
-mike
Stanley Pinchak
2013-05-01 04:35:13 UTC
Permalink
---
urjtag/data/atheros/ar2313/ar2313 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Mike Frysinger
2013-05-09 02:39:21 UTC
Permalink
Post by Stanley Pinchak
---
urjtag/data/atheros/ar2313/ar2313 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
merge it into the previous patch

you also need to update urjtag/data/Makefile.am

shouldn't there be an entry in data/MANUFACTURERS and data/atheros/PARTS so
that this file gets loaded automatically based on the JTAG id ?
-mike
Continue reading on narkive:
Search results for '[UrJTAG-dev] [PATCH 0/2] Atheros AR2313 Support' (Questions and Answers)
5
replies
What is the best wireless router?
started 2009-03-22 18:49:20 UTC
computer networking
Loading...