- 02 Jan, 2010 7 commits
-
-
David Brownell authored
Make some private functions "static". Remove their public declarations, and what is now an obviously unused function. Shrinks this object's size (about 5% on x86_64) while making the code's scope easier to understand. Shrink the affected lines. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Instead of magic numbers, use their AP_REG_* constants. Rename the ROM address symbol as BASE to match ARM's documentation. Comment various other symbols in the header; add some missing ones. Remove an unused struct. Add some doxygen for stuff including the DAP structure and initialization. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Shrink some lines, add some comments, simplify some tests. During debug startup, log the core revision level too. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Most commands are usable only at runtime; so don't bother saying that, it's noise. Moreover, tokens like EXEC are cryptic. Be more clear: highlight only the commands which may (also) be used during the config stage, thus matching the docs more closely. There are - Configuration commands (per documentation) - And also some commands that valid at *any* time. Update the docs to note that "help" now shows this mode info. This also highlighted a few mistakes in command configuration, mostly commands listed as "valid at any time" which shouldn't have been. This just fixes ones I noted when sanity testing. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Dean Glazeski authored
This makes it so that the usage/help command properly uses the whole command, including subcommand, in the search for help information. This previously caused erroneous output from the usage command handler. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Dean Glazeski authored
I wanted to make it so I can be ignorant of a commands invocation string, so I tried to use CMD_CURRENT (aka cmd->current) which is supposed to house a pointer to the current command. It turns out that this wasn't being set. This patch adds the current command structure to the command invocation structure before sending it along to the command handler. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Antonio Borneo authored
The relevant cable config is already in OpenOCD, but not a config for the JTAG adapter. I have tested with FlashLINK on ARM926. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 31 Dec, 2009 3 commits
-
-
David Brownell authored
Namely, that developers don't hang out; it's a users-only club. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Dean Glazeski authored
This adds the .settings folder and the .cproject file put down by Eclipse from the eyes of Git. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Antonio Borneo authored
Handlers for commands - arm7_9 semihosting <enable | disable> - $_TARGETNAME arp_reset assert 1 didn't check if target has already been examined, and could segfault when using the NULL pointer "arm7_9->eice_cache". Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 30 Dec, 2009 8 commits
-
-
Antonio Borneo authored
Remove useless space/tab at end of lines. Remove spaces in indentation and replace with tab. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Antonio Borneo authored
The handler for "arm9tdmi vector_catch ..." did not check if target has already been examined. Without this fix it segfaults when using NULL pointer "arm7_9->eice_cache". Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Antonio Borneo authored
Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
Øyvind Harboe authored
less polution of the general namespace(preventive action, no problems reported). Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
Use ecos firmwareutil upgrade utilities Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
Øyvind Harboe authored
use inline for static functions in header files to avoid warnings about fn not being used. Signed-off-by:
Øyvind Harboe <oyvind.harboe@zylin.com>
-
- 29 Dec, 2009 2 commits
-
-
Piotr Esden-Tempski authored
-
Piotr Esden-Tempski authored
-
- 28 Dec, 2009 4 commits
-
-
Freddie Chopin authored
Print "ssize_t" as "%ld" (+ cast to long) not as "%zu". Official MinGW (gcc 3.4.5) doesn't understand "z" flag. Signed-off-by:
Freddie Chopin <freddie_chopin@op.pl> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Freddie Chopin authored
Add .usage fields to stm32x command_registration, so that "help stm32x" shows required parameters. Signed-off-by:
Freddie Chopin <freddie_chopin@op.pl> Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Most of this patch updates documentation and comments for various Luminary boards, supporting two bug fixes by helping to make sense of the current mess: - Recent rev C lm3s811 eval boards didn't work. They must use the ICDI layout, which sets up some signals that the older boards didn't need. This is actually safe and appropriate for *all* recent boards ... so just make "luminary.cfg" use the ICDI layout. - "luminary-lm3s811.cfg", was previously unusable! No VID/PID; and the wrong vendor string. Make it work, but reserve it for older boards where the ICDI layout is wrong. - Default the LM3748 eval board to "luminary.cfg", like the other boards. If someone uses an external JTAG adapter, all boards will use the same workaround (override that default). The difference between the two FT2232 layouts is that eventually the EVB layout will fail cleanly when asked to enable SWO trace, but the ICDI layout will as cleanly be able to enable it. Folk using "luminary.cfg" with Rev B boards won't see anything going wrong until SWO support is (someday) added. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Piotr Esden-Tempski authored
Otherwise the new alignment checking algorithm thinks that the address is not aligned, because it is way beyond the last sector. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 27 Dec, 2009 2 commits
-
-
David Brownell authored
This config is only lightly tested, and doesn't work well yet; but it's a start. * Notably missing is PLL configuration, since each DaVinci does that just a bit differently; and thus DDR2 setup. * The SRST workaround needed for the goof in the CPLD's VHDL depends on at least the not-yet-merged patch letting ARM9 (and ARM7) chips perform resets that don't use SRST. So this isn't yet suitable for debugging U-Boot. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Resolve a regression when using newish automagic "write_image" modes, by always padding to the end of affected sectors. Also document some issues associated with those automagic options, in the User's Guide and also some related code comments. We might need similar padding at the *beginning* of some sectors, but this is a minimalist fix for the problems which have currently been reported (plus doc updates). Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
- 26 Dec, 2009 8 commits
-
-
Catalin Patulea authored
The 10-pin JTAG layout used with these adapters is used by a variety of platforms including AVR. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Dean Glazeski authored
This updates the board configuration for the SAM9-L9260 board with the configuration for the on-board NAND and dataflash. Included are commands for configuring the AT91SAM9 NAND flash driver. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Modern versions of GDB can understand VFP3 and iwMMXt hardware.
-
David Brownell authored
Advise leaving background polling enabled; fix broken URL; add simple program startup example.
-
David Brownell authored
Fix syntax error: default to "wrote N bytes"; writing a single byte is an unusual case, not the normal one.
-
David Brownell authored
Switch to calloc() to simplify review and initialization.
-
David Brownell authored
It's less accepting of signed char ... insisting that e.g. tolower() not receive one as a parameter. It's probably good to phase out such usage, given the number of bugs that lurk in the vicinity (assumptions that char is unsigned), so fix these even though such usage is actually legal. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Antonio Borneo authored
Align elements in array. Signed-off-by:
Antonio Borneo <borneo.antonio@gmail.com>
-
- 21 Dec, 2009 6 commits
-
-
David Brownell authored
Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Winter Solstice, 2009. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Don't forget to list target/arm_opcodes.h Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-
Oyvind Harboe authored
Restore behavior where help lists all commands that match string passed to help. Signed-off-by:
Oyvind Harboe <oyvind.harboe@zylin.com>
-
David Brownell authored
Misc: - Introduce some "struct reg" temporaries, for clarity - Shorten lines - Add some missing whitespace - Clean up comments - Add notes about some fault handling issues - Most of these errata workarounds are for *OLD* chip revisions Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net>
-