On Feb 1, 2012, at 7:02 AM, Peter Stuge <[email protected]> wrote:

> John Devereux wrote:
>>>> Of course any users board script will be broken too,
>>>
>>> Can you send a patch to gerrit with your board cfg? I'd be happy to
>>> add it.
>>
>> I don't think our config would be of a lot of general use.
>
> That's not a showstopper! Another reason is that if your config *is*
> included then it's possible that this problem never happens.
>
> (In this case it would anyway, since other configs also do not work,
> but I guess you get the point.)
>
>
>> And I don't feel confident enough to mess with the existing tcl scripts,
>
> Also not required in any way. If you do, great!
>
>
>> but will look into this a bit more if I get time.
>
> Awesome.
>
>
>> the documentation is wrong at present; the definition/export of
>> $_TARGETNAME does not work at all AFAICS.
>
> Nod. Question is if the code or the documentation is wrong. If anyone
> who can reproduce this problem can do a bisect to find the offending
> commit that would be very helpful.
>
> Make a small script to build openocd and run it to test for the
> problem, then call git bisect with the script as test case, and then
> git will automatically find the offending commit.
>
>
>> I do seem to recall lpc2478.cpu did not work either ("not defined"
>> somehow).
>
> Are you sure? Can you test this? I don't see that there should be any
> difference between using a variable and hardcoding the value of the
> variable.
>
>
> Thanks!
>
> //Peter
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-


How are those scripts intended to work? Should the board file, the ea
one, be putting all of the code inside of a function that is setup to
be called around when init_target is called? Maybe there is a board
configuration that I should model after?

You mentioned that multiple CPUs were possible. In this case it would
appear that a single _TARGETNAME wouldnt be suitable.

If I knew more about how it was supposed to work I could probably fix
up a patch from git in the next day or so that would address the
actual issue.

Chris

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to