Re: [avrdude-dev] [PATCH 0/1] New programmer type: linuxspi

2019-06-14 Thread Ralf Ramsauer
Hi Carl,

Please find the pull request here. I added you on Cc.

https://savannah.nongnu.org/patch/index.php?9816

Cheers
  Ralf


On 6/11/19 2:26 PM, Carl-Daniel Hailfinger wrote:
> Hi,
> 
> may I ask about the current status of this submission?
> 
> Joerg Wunsch wrote on Sun, 7 Oct 2018 21:35:56 +0200:
>> As Ralf Ramsauer wrote:
>>
>>> On 9/24/18 10:49 PM, Ralf Ramsauer wrote:
 Hi Joerg,
 Dear avrdude devs,

 this adds the linuxspi programmer type to avrdude. It allows to
 flash AVRs via
 Linux's spidev interface (/dev/spidev...) together with a GPIO reset
 pin that
 is
 attached to a gpiochip (/dev/gpiochip...).

 Initially, this code was written by Kevin (CC'ed) almost half a
 decade ago.
 Back then, he sent it to the list with no responses. Nevertheless,
 there are
 quite a few upvotes on the web interface [1] :-)

 I picked up his code, rebased it to latest upstream, switched from the
 deprecated Linux GPIO sysfs accessors to the 'newer' linux/gpio.h
 API and
 massaged some parts here and there >>> [...]
>>
>>> *ping*
>>
>> Well, the better way to submit patches is through the Web interface:
>>
>> https://savannah.nongnu.org/projects/avrdude
> 
> For reference, the ancient submission is here:
> https://savannah.nongnu.org/patch/?8228
> 
> Regards,
> Carl-Daniel


-- 
Ralf Ramsauer
GPG: 73F94D11C85252CC

___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev


Re: [avrdude-dev] [PATCH 0/1] New programmer type: linuxspi

2019-06-11 Thread Ralf Ramsauer
Hi Carl,

On 6/11/19 2:26 PM, Carl-Daniel Hailfinger wrote:
> Hi,
> 
> may I ask about the current status of this submission?

AFAIR I was not able to use the web interface to create a proper pull
request as required by the submission guidelines. (I'm used to sending
patches via email).

Anyway, it's been a while since the last rebase. Let me check if the
patch still works with latest changes in avrdude, then I'll try to
create a pull request once again.

I'm happy to see that people use this code.

Thanks
  Ralf

> 
> Joerg Wunsch wrote on Sun, 7 Oct 2018 21:35:56 +0200:
>> As Ralf Ramsauer wrote:
>>
>>> On 9/24/18 10:49 PM, Ralf Ramsauer wrote:
 Hi Joerg,
 Dear avrdude devs,

 this adds the linuxspi programmer type to avrdude. It allows to
 flash AVRs via
 Linux's spidev interface (/dev/spidev...) together with a GPIO reset
 pin that
 is
 attached to a gpiochip (/dev/gpiochip...).

 Initially, this code was written by Kevin (CC'ed) almost half a
 decade ago.
 Back then, he sent it to the list with no responses. Nevertheless,
 there are
 quite a few upvotes on the web interface [1] :-)

 I picked up his code, rebased it to latest upstream, switched from the
 deprecated Linux GPIO sysfs accessors to the 'newer' linux/gpio.h
 API and
 massaged some parts here and there >>> [...]
>>
>>> *ping*
>>
>> Well, the better way to submit patches is through the Web interface:
>>
>> https://savannah.nongnu.org/projects/avrdude
> 
> For reference, the ancient submission is here:
> https://savannah.nongnu.org/patch/?8228
> 
> Regards,
> Carl-Daniel

___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev


Re: [avrdude-dev] [PATCH 0/1] New programmer type: linuxspi

2019-06-11 Thread Carl-Daniel Hailfinger

Hi,

may I ask about the current status of this submission?

Joerg Wunsch wrote on Sun, 7 Oct 2018 21:35:56 +0200:

As Ralf Ramsauer wrote:


On 9/24/18 10:49 PM, Ralf Ramsauer wrote:

Hi Joerg,
Dear avrdude devs,

this adds the linuxspi programmer type to avrdude. It allows to flash AVRs via
Linux's spidev interface (/dev/spidev...) together with a GPIO reset pin that
is
attached to a gpiochip (/dev/gpiochip...).

Initially, this code was written by Kevin (CC'ed) almost half a decade ago.
Back then, he sent it to the list with no responses. Nevertheless, there are
quite a few upvotes on the web interface [1] :-)

>>>

I picked up his code, rebased it to latest upstream, switched from the
deprecated Linux GPIO sysfs accessors to the 'newer' linux/gpio.h API and
massaged some parts here and there >>> [...]



*ping*


Well, the better way to submit patches is through the Web interface:

https://savannah.nongnu.org/projects/avrdude


For reference, the ancient submission is here:
https://savannah.nongnu.org/patch/?8228

Regards,
Carl-Daniel

___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev


Re: [avrdude-dev] [PATCH 0/1] New programmer type: linuxspi

2018-10-07 Thread Joerg Wunsch
As Ralf Ramsauer wrote:

> *ping*

Well, the better way to submit patches is through the Web interface:

https://savannah.nongnu.org/projects/avrdude

-- 
cheers, Joerg   .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev


Re: [avrdude-dev] [PATCH 0/1] New programmer type: linuxspi

2018-10-07 Thread Ralf Ramsauer
*ping*

On 9/24/18 10:49 PM, Ralf Ramsauer wrote:
> Hi Joerg,
> Dear avrdude devs,
> 
> this adds the linuxspi programmer type to avrdude. It allows to flash AVRs via
> Linux's spidev interface (/dev/spidev...) together with a GPIO reset pin that 
> is
> attached to a gpiochip (/dev/gpiochip...).
> 
> Initially, this code was written by Kevin (CC'ed) almost half a decade ago.
> Back then, he sent it to the list with no responses. Nevertheless, there are
> quite a few upvotes on the web interface [1] :-)
> 
> I picked up his code, rebased it to latest upstream, switched from the
> deprecated Linux GPIO sysfs accessors to the 'newer' linux/gpio.h API and
> massaged some parts here and there.
> 
> This programmer type helps me in one of my projects where I have a Raspberry 
> Pi
> with an AVR microcontroller attached to a Pi hat. This code allows me to 
> easily
> flash it on-line, as I can simply use the Raspberry's SPI lines.
> 
> I'd appreciate if you could drop some comments on the code and consider its
> integration.
> 
> Let me also Cc Radoslav Kolev, who wrote the linuxgpio driver, a similar
> programmer. Some parts (afaict) might be c'ed from his code.
> 
> Thanks!
>   Ralf
> 
> [1] https://savannah.nongnu.org/patch/?8228
> 
> Kevin Cuzner (1):
>   Implement new programmer type: linuxspi
> 
>  avrdude/Makefile.am  |   2 +
>  avrdude/avrdude.conf.in  |  14 ++
>  avrdude/configure.ac |  27 +++-
>  avrdude/doc/avrdude.texi |  20 +++
>  avrdude/linuxspi.c   | 302 +++
>  avrdude/linuxspi.h   |  35 +
>  avrdude/pgm_type.c   |   2 +
>  7 files changed, 401 insertions(+), 1 deletion(-)
>  create mode 100644 avrdude/linuxspi.c
>  create mode 100644 avrdude/linuxspi.h
> 


-- 
Ralf Ramsauer
GPG: 73F94D11C85252CC

___
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev