Where are the sources of spidev_test modified by nvidia?

The post below provides a binary version of spidev_test, a modified GPL program. Please provide the source, as GPL requires you to do.

kernel/kernel-noble/tools/spi/spidev_test.c

Hi phdm,

Please check if the file path shared from whitesscott meets your requirement.

Hi KevinFFF,

As i currently work with jetpack-6.1, i do not have kernel-noble at hand. Can you give me the file, the url or the git remote to download that file ?

kernel/kernel-jammy/tools/spi/spidev_test.c

Hello whitesscott,

I am aware of the sources of spidev_test in the tree of the linux sources, but the binary versions provided by KevinFFF and ShaneCCC comes from an enhanced version, adding the ‘-r’ option and other modifications needed to test spi ports configured in slave mode.

As spidev_test is under GPL-2, if one receives a binary version of modified sources, we are entitled to receive also the modified source.

Hi phdm,

The public reference for spidev_test is the version in the public kernel source tree.

The binary shared earlier in that thread was provided only to help with validation.
That does not mean the corresponding NVIDIA validation source is part of the public JetPack source release, and we cannot provide that source on the public forum.

If you have a supported NVIDIA engagement and a concrete business need, please work through your NVIDIA support or business contact through the proper channel.

Hi KevinFFF,

I am a programmer, not a lawyer, and i am testing currently spi reception in spi-slave mode. Unfortunately the binary provided on the forum always terminate with a ‘mismatch error’ after one received message, which makes it unusable for my test. I’d like to fix it, building on what nvidia already did, in order to better suit my needs.

As you are a programmer, please use the open-source spidev_test.c tool and customize it based on your requirement.
We don’t share the source of the internal validation tool publicly.

You should read GNU General Public License v2.0 only | Software Package Data Exchange (SPDX)

Here is an excerpt :

3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

  • a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
  • b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
  • c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)

Sorry that I didn’t notice these legal details.
I have removed the modified spidev_test binary shared before on the forum.
Please let me know if you have further question about the spidev_test development.

I think it’s too late, and this will give bad press to nvidia. You’d better provide the modified spidev_test.c.