public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: David Laight <david.laight.linux@gmail.com>
To: Johan Hovold <johan@kernel.org>
Cc: Boon Khai Ng <boon.khai.ng@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Tien Sung Ang <tien.sung.ang@intel.com>,
	Tien Sung Ang <tien.sung.ang@altera.com>,
	Boon Khai Ng <boon.khai.ng@altera.com>
Subject: Re: [PATCH v1] USB: serial: ftdi_sio: add support for Altera USB Blaster 3
Date: Wed, 5 Mar 2025 19:56:01 +0000	[thread overview]
Message-ID: <20250305195601.1dc6a1f6@pumpkin> (raw)
In-Reply-To: <Z8hetcRinFXXVAdy@hovoldconsulting.com>

On Wed, 5 Mar 2025 15:24:53 +0100
Johan Hovold <johan@kernel.org> wrote:

> On Mon, Feb 03, 2025 at 04:48:22PM +0800, Boon Khai Ng wrote:
> > The Altera on board USB Blaster 3 utilizes a FT2232 and FT4232
> > chip.  
> 
> I assume it's either an FT2243 or an FT4232 and not both?
> 
> > Add VID/PID for the on board USB Blaster 3 so it can be used
> > as a serial device via ftdi_sio.  
> 
> Can you say something more about these devices? I guess they are used
> for programming FPGAs? Are they embedded in other products? And can the
> same PID be used for more than one type of device that they are embedded
> in?

Also, is there any actual software that can use them through this driver?
The Altera 'quartus' software that is usually used to program (etc) the
fpga is pretty proprietary.
I think some bits have been reverse engineered, but only for a few simple
actions.

I'm not even sure the Altera code even loads a driver - just uses the userspace
USB library.
I'll have used it on a system with a custom kernel to program (etc) a CycloneV.
No hint of needing to recompile a driver.
(The sheer amount of software you need to command-line program a device is
stunning! - I had to parcel it all up so we could use a usb to jtag cable
to in-situ program one of the smaller PLD devices on a small board.)

So what is the real 'use case'?

	David

> 
> Or are the PIDs tied to different types of "USB Blaster 3"s? If so this,
> should also be reflected in the naming of the defines.

  reply	other threads:[~2025-03-05 19:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-03  8:48 [PATCH v1] USB: serial: ftdi_sio: add support for Altera USB Blaster 3 Boon Khai Ng
2025-03-04  5:25 ` Ng, Boon Khai
2025-03-04  5:32   ` Greg Kroah-Hartman
2025-03-04  7:29     ` Johan Hovold
2025-03-04  9:14       ` Ng, Boon Khai
2025-03-05 14:24 ` Johan Hovold
2025-03-05 19:56   ` David Laight [this message]
2025-03-06  5:20     ` Ng, Boon Khai
2025-03-06  3:22   ` Ng, Boon Khai
2025-03-06  4:17     ` Ng, Boon Khai
2025-03-06  9:29     ` Johan Hovold
2025-03-06 10:25       ` Ng, Boon Khai
2025-03-07 16:00         ` Ng, Boon Khai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250305195601.1dc6a1f6@pumpkin \
    --to=david.laight.linux@gmail.com \
    --cc=boon.khai.ng@altera.com \
    --cc=boon.khai.ng@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=johan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=tien.sung.ang@altera.com \
    --cc=tien.sung.ang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox