Spencer Oliver
becfbeaacd
build: correctly use AC_LANG_PROGRAM
...
With newer versions of autoconf >= 2.68 we receive warnings about the
incorrect use of AC_LANG_PROGRAM. This fixes those warnings.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net >
2011-04-06 09:12:34 +01:00
Michel JAOUEN
5e86c5173c
cortex_a : implement jtag console for cortex_a
2011-04-06 06:45:39 +02:00
Drasko DRASKOVIC
719f9ecde3
Added mips_ejtag_drscan_32_out() for optimization.
2011-04-05 08:21:29 +02:00
Drasko DRASKOVIC
bc9afcd4d1
Corrected waiting on PrAcc in wait_for_pracc_rw(). Added necessary check that PrAcc is "1" before FASTDATA access.
2011-04-05 08:21:25 +02:00
Drasko DRASKOVIC
b125689459
Added correct endianess treatment for big endian targets. Now it is possible to use mips_m4k_write_memory() and mips_m4k_read_memory() to correctly set-up SDRAM, as well as bulk data write, which already handled endianess well. Also added correct endianess manipulation in case of fallback from erroneus bulk write to simple write (to avoid byte swapping two times).
2011-04-05 08:21:17 +02:00
Øyvind Harboe
3fea99097e
pandaboard: use new -dbgbase option to workaround broken ROM table
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-04-02 09:00:01 +02:00
Øyvind Harboe
a1d9f16320
cortex_a: delete dbgbase hack vestiges
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-04-01 21:00:44 +02:00
Michel JAOUEN
930d70f1a3
cortex_a: fix gaffe in first implementation of -dbgbase
2011-04-01 18:59:02 +02:00
Øyvind Harboe
3b7c9585db
Merge remote branch 'origin/master' into HEAD
2011-04-01 13:02:24 +02:00
Øyvind Harboe
a0b83e82f7
mips: fix gaffe in previous commit
...
accidentally invoked return jtag_execute_queue() in the
middle of a fn. Hmm.... I would have expected gcc or
at least lint to catch this.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-04-01 12:32:41 +02:00
Øyvind Harboe
977df18f50
cortex_a: remove broken dbgbase patchup code
...
the patchup code would get false positives when checking
whether a dbgbase had to be corrected.
The solution is to have autodetect default, with manual override
in scripts.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-04-01 10:00:41 +02:00
Phil
364cfaac1d
Added s19 to (fast_)load_image documentation to match the online help.
2011-04-01 09:02:03 +02:00
Øyvind Harboe
378567da4e
mips: illustrates how to improve performance
...
Do not require unecessary roundtrips for clocking out
data.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-04-01 08:59:11 +02:00
Øyvind Harboe
2615bf4398
types: write memory now uses const
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-04-01 08:59:07 +02:00
Øyvind Harboe
d76fd2aac7
mips: delete kludgy code that modifies data sent to write_memory()
...
Could this cause confusion as data sent to write would be flipped
and then if the caller subsequently used the data, e.g. a
compare mismatch might happen?
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 23:46:56 +02:00
Øyvind Harboe
1b9e80f7e6
startup: fix bugs in cleanup upon errors during startup
...
Importantly adapter cleanup will now happen upon startup failure.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 23:46:56 +02:00
Øyvind Harboe
0c1ebf2673
mips: mips32_pracc_exec error propagation fixes
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 23:46:56 +02:00
Øyvind Harboe
83ab5ad240
mips: mips_ejtag_get_impcode error propagation added
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 23:46:56 +02:00
Øyvind Harboe
667c65552e
mips: fix mips_ejtag_set_instr error handling
...
this fn does not fail, it queues data.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 23:36:45 +02:00
Øyvind Harboe
e1f5055bb0
mips: fix error handling for jtag_execute_queue()
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 23:08:53 +02:00
Øyvind Harboe
f169f86bd1
xscale: fix gaffe in phys write
...
it would *read* instead of *write* to memory
when the MMU was disabled.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 18:46:14 +02:00
Øyvind Harboe
8d338f3296
cortex-a: use -dbgbase option
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 09:30:48 +02:00
Øyvind Harboe
b75bdb7b04
target: add -dbgbase option to target configuration
...
Really a Cortex-A specific option, but there is no
system in place to support target specific options
currently and there has been no need for such a system
until now.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-31 09:30:48 +02:00
Olivier Schonken
ac6f8f9616
at91sam3: Modified cidr comparisson to ignore version bits
...
production processor versions increment, thus the version
bits should be ignored for future proofing. e.g.
Engineering sample version == 0x00, production version 0x01
2011-03-30 16:01:00 +02:00
Øyvind Harboe
3e83991560
docs: add HACKING file to help users get started with patches
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com >
2011-03-30 15:58:11 +02:00