The instructions definitely work on Ubuntu.
I've been using Ubuntu 18 lately.
Other distros probably work as well.
Don't forget to read the "prerequisite" instructions for installing docker.
Once that's done it should be trivial to pull and run the build process.
As I mentioned earlier if you want to build from the upstream master openocd 
repo rather than Liviu's snapshots then you may need to pass additional options 
to build.sh or maybe edit even edit the scripts.
I can't remember offhand but I could check later if necessary.
Best to pipeclean the build process as is first before changing anything in any 
case.
________________________________
From: kristof.mul...@telenet.be <kristof.mul...@telenet.be>
Sent: Monday, January 20, 2020 7:58:25 PM
To: Liviu Ionescu <i...@livius.net>
Cc: Tommy Murphy <tommy_mur...@hotmail.com>; openocd-devel 
<openocd-devel@lists.sourceforge.net>
Subject: Re: [OpenOCD-devel] Compliance with OpenOCD license

Hi @Liviu Ionescu,

> The scripts have lots of configuration environment
> variables, if you want to build a more recent version,
> you need to tweak them.
> [..]

Uh oh...
I have not even the foggiest idea how to "tweak" your
build scripts.
To be honest, I was hoping to simply run the build script
and watch the OpenOCD Windows binaries showing up magically :-)
Unfortunately it doesn't seem to be that simple.



> However please note that the scripts are not specific
> for generating production binaries, which have certain
> requirements, and are less suitable for experimenting
> with builds.

When I'm "experimenting with a build" this is what I do:
I connect the microcontroller and the probe. Then I start
OpenOCD and feed it with the right config files. If OpenOCD
connects to the chip and is able to flash a firmware, I
consider the experiment to be successful.
So for this kind of "experiments", a "production binary" is
perfectly fine. I don't need a "debug binary".

Many thanks for your help :-)



----- Oorspronkelijk bericht -----
Van: "Liviu Ionescu" <i...@livius.net>
Aan: "kristof mulier" <kristof.mul...@telenet.be>
Cc: "Tommy Murphy" <tommy_mur...@hotmail.com>, "openocd-devel" 
<openocd-devel@lists.sourceforge.net>
Verzonden: Maandag 20 januari 2020 20:46:23
Onderwerp: Re: [OpenOCD-devel] Compliance with OpenOCD license

> On 20 Jan 2020, at 21:36, kristof.mul...@telenet.be wrote:
>
> ... I conclude this particular OpenOCD executable was built last summer.

That's correct.

Since OpenOCD has no release schedule, I have no idea when to make xPack 
releases.

> .. I suppose your
> instructions to build the OpenOCD xPack will run smoothly in Ubuntu?

Yes.

The scripts have lots of configuration environment variables, if you want to 
build a more recent version, you need to tweak them.

There is also a script to build native binaries, intended for debug sessions, 
but I'm not sure you can generate Windows binaries.


However please note that the scripts are not specific for generating production 
binaries, which have certain requirements, and are less suitable for 
experimenting with builds.

After playing with the scripts you'll probably prefer to use the already made 
binaries.

FYI, I plan for a new release shortly.

Regards,

Liviu
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to