- Oct 13, 2009
-
-
Lennert Buytenhek authored
The LE check is obviously buggy (as easily triggered during some testing), but I didn't audit the rest of the cases. Signed-off-by:
Lennert Buytenhek <buytenh@marvell.com> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Cleanup comments and layout/whitespace in the TMS tables. Table contents stayed the same (ignoring whitespace). Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Yauheni Kaliuta authored
Signed-off-by:
Yauheni Kaliuta <y.kaliuta@gmail.com>
-
Yauheni Kaliuta authored
Signed-off-by:
Yauheni Kaliuta <y.kaliuta@gmail.com>
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
David Brownell authored
Resolve a "FIX" comment; yes that was superfluous given that the JTAG core does that check by default. It was also buggy since it wrote to a stack frame that went away before the write happened!! Other fixes: remove pointless malloc(); zero-init scan_field_t values wherever they appear; whitespace scrub; spelling fix. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- Oct 12, 2009
-
-
Øyvind Harboe authored
-
Øyvind Harboe authored
arm11 burst writes are now only enabled for writes larger than 1 word. Single word writes are frequently used from reset init scripts to non-memory peripherals.
-
Wookey authored
-
Øyvind Harboe authored
Retire arm11 no_increment. Intended for future expansion to read/write to ports. New arm11 commands would have to be added to exploit it.
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
Fix bogus 'transfer errors' with arm11 'memwrite burst enable'. A regression introduced in b8103660fa36a77158bd77379572c09913d85c00
-
David Brownell authored
Load the XScale debug handler from the read-only data section instead of from a separate file that can get lost or garbaged. This eliminates installation and versioning issues, and also speeds up reset handling a bit. Plus some minor bits of cleanup related to loading that handler: comments about just what this handler does, and check fault codes while writing it into the mini-icache. The only behavioral changes should be cleaner failure modes after errors during handler loading, and being a bit faster. NOTE: presumes GNU assembly syntax, with ".incbin"; and ELF, because of the syntax of the ".size" directive. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Streamline/shrink some needless JTAG stuff: - Use #defines for the JTAG instructions; they can't ever change - Remove an unused (!) shadow of tap->ir_length - Stop using a copy of target->tap - Don't bother saving the variant after sanity checking ir_length Also, make target_create() work as on other targets: build the register cache later, making init_target() no longer be a NOP. Handle malloc failure; remove a comment that was obsoleted by the not-so-new target syntax. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
Supply default reset_config statement to make target scripts useful standalone and provide sensible default
-
- Oct 11, 2009
-
-
David Brownell authored
Remove unused and deprecated (in the arch spec) mode for loading code into the *main* icache (vs the "mini" icache). Disable some extremely noisy (and rarely useful) low-level debug messages Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Declare almost everything as static. Move stuff to remove most forward references. Remove most forward declarations. Warn if the unimplemented register functions get called. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Just fill out the rest of the cache line with NOPs; don't change the record of how much data we consumed. Otherwise the count of how much data is left can roll over from positive to negative ("VERY positive") and skip the loop termination of zero. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Add a header comment referencing useful XScale specs. Make most data static, and the tables readonly. Scrub extra blank lines. Return fault codes from one routine. Remove a needless NOP methood. (BUGFIX) When we update R0, mark R0 as dirty/valid ... not R15/PC! Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- Oct 10, 2009
-
-
David Brownell authored
Observed on a Cygwin build. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Wookey authored
-
- Oct 09, 2009
-
-
David Brownell authored
Fix formatting and layout bugs in the new "translating configuration files" bit. Make it a section within the chapter about config files. Add a crossreference. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
We added two overridable procedures; document them, and the two jtag arp_* operations they necessarily expose. Update the comment about the jtag_init_reset() routine; it's been obsolete for as long as it's had SRST support. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
Øyvind Harboe authored
-
David Brownell authored
Startup now mostly works, except that the initial target state is "unknown" ... previously, it refused to even start. Getting that far required fixing the ircapture value (which can never have been correct!) and the default JTAG clock rate, then providing custom reset script. The "reset" command is still iffy. DCSR updates, and loading the debug handler, report numerous DR/IR capture failures. But once that's done, "poll" reports that the CPU is halted (which it shouldn't be, this was "reset run"!), due to the rather curious reason "target-not-halted". Summary: you still can't debug these parts, but it's closer. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
This abstracts the "jtag arp_init-reset" call into a method called from OpenOCD startup and reset processing. Platforms which have different requirements for how such hard resets must be performed can now override "init_reset" instead of needing to rebuild custom hacked versions of the server. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Rabeeh Khoury authored
This function is used by the SheevaPlug installer to flash the erase and re-flash the U-Boot environment in the NAND Flash.
-