[OpenOCD-devel] some question about jim_handler

2015-02-25 Thread vichy
hi all: I have some questions about jim_handler: a. what is the differences between jim_handler and handler we register back when declare command_registration? b. in jim_handler, we use Jim_GetLong to get 32-bit parameters, is there any Jim_xxx for getting 64-bit parameter when we use 64-bits pro

[OpenOCD-devel] when the patch verified in the gerrit will apply to master

2015-02-10 Thread vichy
hi all: if the patch on the gerrit is verified > 1, when it will be applied to the master code base? BR, -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partners

Re: [OpenOCD-devel] about armv8 64 bits support

2015-02-03 Thread vichy
hi all: 2015-02-03 19:20 GMT+08:00 vichy : > hi Spencer: > > 2015-02-03 17:58 GMT+08:00 Spencer Oliver : >> On 3 February 2015 at 07:55, vichy wrote: >>> >>> BTW, is it possible we did distcheck in the local instead of push to >>> jenkins? &

Re: [OpenOCD-devel] about armv8 64 bits support

2015-02-03 Thread vichy
hi Spencer: 2015-02-03 17:58 GMT+08:00 Spencer Oliver : > On 3 February 2015 at 07:55, vichy wrote: >> >> BTW, is it possible we did distcheck in the local instead of push to jenkins? >> such as any script in tools can help me? >> >> appreciate your kind help,

Re: [OpenOCD-devel] about armv8 64 bits support

2015-02-02 Thread vichy
hi Spencer: 2015-02-02 21:20 GMT+08:00 Spencer Oliver : > On 2 February 2015 at 12:24, vichy wrote: >> hi Spencer: >>>> I follow your instruction and git --amend to fix previous compile error. >>>> But I get distcheck fail. >>>> >>>> ope

Re: [OpenOCD-devel] about armv8 64 bits support

2015-02-02 Thread vichy
hi Spencer: >> I follow your instruction and git --amend to fix previous compile error. >> But I get distcheck fail. >> >> openocd-gerrit-build » mingw32 completed with result SUCCESS >> openocd-gerrit-build » zy1000 completed with result SUCCESS >> openocd-gerrit-build » linux32 completed with re

Re: [OpenOCD-devel] about armv8 64 bits support

2015-02-02 Thread vichy
hi Paul: 2015-02-02 15:16 GMT+08:00 Paul Fertser : > On Mon, Feb 02, 2015 at 03:01:56PM +0800, vichy wrote: >> > Please delete the ones that are not needed anymore. >> >> How to do that? >> pressing the abandon button on the gerrit web page, >> http://openocd.

Re: [OpenOCD-devel] about armv8 64 bits support

2015-02-01 Thread vichy
hi >> I update what I modify so far. >> if you have any question, please let me know :) > > I have replied with comments for your change 2523. But since then I see > you've > uploaded 2 more changes - but looks like those are the same patches. Yes. they are the same. ^^ Since I tried to fix why t

Re: [OpenOCD-devel] about armv8 64 bits support

2015-02-01 Thread vichy
hi David: > > Use "git push review", it should make your new commits dependent on the ones > I've already posted. > > David > I update what I modify so far. if you have any question, please let me know :) BTW, when I use "git push review", the git say I don't have change-id. I finally copy the cha

Re: [OpenOCD-devel] about armv8 64 bits support

2015-01-28 Thread vichy
hi: 2015-01-29 10:16 GMT+08:00 David Ung : > > >> -Original Message----- >> From: vichy [mailto:vichy@gmail.com] >> Sent: Wednesday, January 28, 2015 6:11 PM >> To: David Ung >> Cc: openocd-devel@lists.sourceforge.net; Paul Fertser >> Subject

Re: [OpenOCD-devel] about armv8 64 bits support

2015-01-28 Thread vichy
hi david: 2015-01-29 9:46 GMT+08:00 David Ung : > >> -Original Message- >> From: vichy [mailto:vichy@gmail.com] >> Sent: Wednesday, January 28, 2015 5:23 PM >> To: David Ung >> Cc: openocd-devel@lists.sourceforge.net; Paul Fertser >> Subject: R

Re: [OpenOCD-devel] about armv8 64 bits support

2015-01-28 Thread vichy
hi: >> hi David and openocd friends: >> I am also working on armv8 64-bits support. >> so far I can halt, set bp, step running, mmu translation. >> >> Would you mind how could I get your git repository and merge my part? >> thanks a lot, > > you can pickup everything that I've submitted to gerrit

[OpenOCD-devel] about armv8 64 bits support

2015-01-28 Thread vichy
hi David and openocd friends: I am also working on armv8 64-bits support. so far I can halt, set bp, step running, mmu translation. Would you mind how could I get your git repository and merge my part? thanks a lot, -- Di

[OpenOCD-devel] Did Openocd support IPA memory translation in armv7a?

2015-01-23 Thread vichy
hi all: when checking mmu related functions in armv7a.c, I cannot find any program related to IPA translation. Does openocd support IPA mmu translation? thanks for your help, -- New Year. New Location. New Benefits. New D

[OpenOCD-devel] call back function in cortex_a.c

2014-12-24 Thread vichy
hi all: When I try to implement armv8 in openocd, I found below call back apis in cortex_a.c .checksum_memory = arm_checksum_memory, .blank_check_memory = arm_blank_check_memory, .run_algorithm = armv4_5_run_algorithm, Would you mind to let me know when and how will we use them above

Re: [OpenOCD-devel] some question about openocd basic operation

2014-12-21 Thread vichy
hi all: 2014-12-21 21:56 GMT+08:00 vichy : > hi all: > when I trace openocd code for "reg xx " command in armv7 platform, > I found the register is not exactly written to when we type above > command. > so I have some questions as below: > > 1. in armv4_5_set_co

[OpenOCD-devel] some question about openocd basic operation

2014-12-21 Thread vichy
hi all: when I trace openocd code for "reg xx " command in armv7 platform, I found the register is not exactly written to when we type above command. so I have some questions as below: 1. in armv4_5_set_core_reg, it seems no matter cpsr or other registers, the register on the target is not wri

Re: [OpenOCD-devel] how to add target create options in openocd

2014-12-16 Thread vichy
hi Paul 2014-12-16 15:22 GMT+08:00 Paul Fertser : > Hello, > > On Tue, Dec 16, 2014 at 02:31:14PM +0800, vichy wrote: >> when I try to implement armv8 debugger in openocd > > ARMv8 support would be a very worthy addition, thank you for working > on that! I just try to do

[OpenOCD-devel] how to add target create options in openocd

2014-12-15 Thread vichy
hi all: when I try to implement armv8 debugger in openocd, I need to pass not only dbgbase but also ctibase. I use patch at the end of mail to pass ctibase but get below fail message: "User : 100 2 command.c:666 command_run_line(): Runtime Error: embedded:startup.tcl:20: Unknown RTOS type H??[]

[OpenOCD-devel] how to reply the code review on gerrit

2014-11-25 Thread vichy
hi all: I try to reply the patch review comment on the gerrit. I use the "Reply and Score" button. But I found the typesetting is not what I expected. is there another way to reply the patch review comment? such as mail or etc. appreciate your kind help, --

[OpenOCD-devel] some question about gerrit commit rule

2014-09-22 Thread vichy
hi all: I have some questions. in below commit, http://openocd.zylin.com/#/c/2299/ , I found there is some format error and create patch B to fix it. Should I merge (A+B)=C, then commit C to gerrit again? thanks for your kind help, -

Re: [OpenOCD-devel] some question about ARM DCC fast mode access

2014-09-08 Thread vichy
hi all: Except previous ITR instruction will be executed before DCC changes to fast mode. from the spec it says "If the issued instruction writes to DBGDTRTXint, the instruction does not affect the value returned from this read of DBGDTRTXext. That is, this instruction can write the next DBGDTRTX

Re: [OpenOCD-devel] some question about ARM DCC fast mode access

2014-09-04 Thread vichy
hi all: 2014-09-04 16:40 GMT+08:00 vichy : > hi all: > I have some question about cortex_a_read_apb_ab_memory in cortex_a.c > From spec, > "A write to the DBGITR does not trigger an instruction for execution. > Instead, the debug logic latches the > instruction written to D

[OpenOCD-devel] some question about ARM DCC fast mode access

2014-09-04 Thread vichy
hi all: I have some question about cortex_a_read_apb_ab_memory in cortex_a.c >From spec, "A write to the DBGITR does not trigger an instruction for execution. Instead, the debug logic latches the instruction written to DBGITR, and retains this value until either a new value is written to DBGITR, or

Re: [OpenOCD-devel] create patch howto

2014-06-04 Thread vichy
hi Jens: thanks for your help ^^ 2014-06-05 11:20 GMT+08:00 Jens Bauer : > Hi Vichy. > > Indeed, there is - all that you asked for: > <http://openocd.sourceforge.net/doc/doxygen/html/patchguide.html> > > (Sorry for the duplicate email; I just can't get used to t

[OpenOCD-devel] create patch howto

2014-06-04 Thread vichy
hi all: If I want to create patch for openocd, is there any document I should read? for kernel, there is are scripts for checking patch format correctness. how about openocd? thanks for your help -- Learn Graph Databases