Re: [PATCH 1/2] Add a pure Python clone of mkimage written by Craig Barker.

2020-03-08 Thread Amar Takhar
On 2020-03-04 06:58 +0100, Sebastian Huber wrote: > > This is really nice. Getting mkimage for Windows was always a pain. I've updated it to work under Python 2.7+ and switched to to use argparse plus some other error checking. Can you try this on your Windows machine to see how it works? Ama

Re: [PATCH 1/2] Add a pure Python clone of mkimage written by Craig Barker.

2020-03-04 Thread Gedare Bloom
On Wed, Mar 4, 2020 at 8:39 AM Amar Takhar wrote: > > On 2020-03-04 20:02 +1100, Chris Johns wrote: > > > > I am wondering how a user runs just the mkimake.py file once install. The > > rtems-tools repo normally packages a command in a wrapper that has has > > `/usr/bin/env python` and so $PATH et

Re: [PATCH 1/2] Add a pure Python clone of mkimage written by Craig Barker.

2020-03-04 Thread Amar Takhar
On 2020-03-04 20:02 +1100, Chris Johns wrote: > > I am wondering how a user runs just the mkimake.py file once install. The > rtems-tools repo normally packages a command in a wrapper that has has > `/usr/bin/env python` and so $PATH etc works. I added a python2 shebang in the 2nd commit it can b

Re: [PATCH 1/2] Add a pure Python clone of mkimage written by Craig Barker.

2020-03-04 Thread Chris Johns
On 4/3/20 4:58 pm, Sebastian Huber wrote: > On 04/03/2020 02:46, Amar Takhar wrote: >> I emailed Craig Barker to ask if he would release his mkimage Python rewrite >> as 2BSD.  He graciously accepted and you can see his work here: >> >>    https://github.com/cmbarker83/pythonmkimage >> >> This is a

Re: [PATCH 1/2] Add a pure Python clone of mkimage written by Craig Barker.

2020-03-03 Thread Sebastian Huber
On 04/03/2020 02:46, Amar Takhar wrote: I emailed Craig Barker to ask if he would release his mkimage Python rewrite as 2BSD. He graciously accepted and you can see his work here: https://github.com/cmbarker83/pythonmkimage This is a verbatim commit of 35d6d from his repository. This is r

[PATCH 1/2] Add a pure Python clone of mkimage written by Craig Barker.

2020-03-03 Thread Amar Takhar
I emailed Craig Barker to ask if he would release his mkimage Python rewrite as 2BSD. He graciously accepted and you can see his work here: https://github.com/cmbarker83/pythonmkimage This is a verbatim commit of 35d6d from his repository. --- misc/tools/mkimage.py | 139 +