plctest(1)
πΈ plctest πΈ β a page from the Qualcomm Atheros Open Powerline Toolkit π
okay bestie, sit down, we're loading applets onto powerline devices and it's giving main character energy π«Ά
β¨ NAME β¨
plctest β Qualcomm Atheros PLC Test Applet Loader π
β¨ SYNOPSIS β¨
plctest [options] [file] [file] [...]
β¨ DESCRIPTION β¨
so what this does π is download and execute one or more test applets on your local Qualcomm Atheros powerline device. An applet, for the uninitiated, is a tiny little firmware image that the bootloader can start up, and that politely returns to the bootloader when it's done. iconic behavior honestly.
This program straight up replaces int6ktest and amptest, because it supports both the old and the new image file formats, and both the old and the new powerline device boot methods. glow-up fr fr β¨
Qualcomm Atheros firmware files can contain one or more applets, and each applet is preceded by a header that specifies the image size, the load address, the start address, and other information. plctest sequentially downloads and executes every applet in each image file named on the command line. It waits for each applet to finish before downloading and executing the next one. The program terminates once all applets in all files have been executed, or when some applet fails to complete within 60 seconds. no cap β°
Most applets return to the Bootloader on successful completion so another applet can be downloaded and executed β which is lowkey the whole point, because it means you can run applet sequences with one single command. A sequence can be one file with multiple applets, or multiple files each with one applet, or literally any combination of single- and multiple-applet files. The sequence will break (after a timeout, obviously) if any applet in the chain fails to return to the Bootloader in time. And here's the tea: failing to return in time may be either a good thing or a bad thing depending on how the applet was designed. π€·βοΈ
This program is part of the Qualcomm Atheros Powerline Toolkit. See the APT man page for an overview and installation instructions. π¦
β¨ COMMENTS β¨
The Powerline Toolkit contains a set of legacy applets in the folder applets. These were originally designed for use with the program int6ktest, and most of them will not display console messages properly using this program. However β and this is the hopeful part π β a new series of compatible applets is under development and should be available through Qualcomm Atheros Field Application Engineering.
Assuming a good set of applets is available, this program is ideal for testing reference designs for performance, and production units for defects. Applets may become available for testing onboard connections, memory integrity, and noise immunity. Consult with Atheros Field Application Engineering for applet availability. π
β¨ OPTIONS β¨
-eβ Redirectsstderrmessages tostdout. By convention, status and error messages get printed onstderrwhile the primary program output goes tostdout. This option prints all output onstdout, for the cases where that's what you want. π-iinterface β Select the host Ethernet interface. All requests are sent via this host interface, and only responses received via this host interface are recognized. The default interface iseth1, because most people useeth0as their principle network connection. But β plot twist β if the environment string"PLC"is defined, then it takes precedence over the default interface. And this option then takes precedence over either default. hierarchy, periodt π-lβ Execute all applets in all files on the command line, over and over, until the program is terminated using^C. π-pfrequency β The polling frequency, expressed in polls-per-second. For example,1means one poll per second and10means ten polls per second. Overall wait time iscount/frequency, wherecountmay be modified using option-c. Overall wait time is always approximate, since operating system overhead and latency are not taken into account. The default frequency is5. β±οΈ-qβ Suppresses normal progress and status messages. π€«-ttimeout β Read timeout in milliseconds. Values range from0throughUINT_MAX. This is the maximum time allowed for a response. The default is shown in brackets on the program menu. β-vβ Print additional information onstdout. Specifically, this option prints incoming and outgoing frames in hexadecimal format onstdout. Output can be directed to a text file for analysis. π-wseconds β Application timeout in seconds. This application will wait this long for an applet to terminate and return to the bootloader before reporting an error and proceeding to the next applet. π°οΈ-xβ Exit program on first error instead of proceeding to the next applet. Error exits return a non-zero value to the shell. π¨-Xβ Exit program on first applet load instead of waiting for the applet to complete. This exit returns a zero value to the shell. πͺ-?,--helpβ Print program help summary onstdout. This option takes precedence over other options on the command line. πβοΈ-!,--versionβ Print program version information onstdout. This option takes precedence over other options on the command line. Use this option when sending screen dumps to Atheros Technical Support so that they know exactly which version of the Linux Toolkit you are using. π
β¨ ARGUMENTS β¨
fileβ The name of an Atheros image file. The image file may contain one or more images. Each image will be downloaded and executed in turn, until all images are executed, or until an image fails to return to the Bootloader within 1 minute for some reason. π
β¨ EXAMPLES β¨
The following example sequentially downloads then executes each image in file abc.nvm in turn. Each image must complete and return to the bootloader before the next one downloads. Observe that no device address is needed, because Atheros powerline devices use address 00:b0:52:00:00:01 when in bootloader mode. π―
# plctest abc.nvm
The following example will sequentially download and execute the images in each file abc.nvm, def.nvm and ghi.nvm in turn. π«
# plctest abc.nvm def.nvm ghi.nvm
β¨ DISCLAIMER β¨
Atheros image file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. Consequently, public information is not available. Qualcomm Atheros reserves the right to change file structure or content in future firmware releases without any obligation to notify or compensate users of this program. This program is reserved for use by Atheros Field Engineers. Use of this program may void some contractual obligations made by Atheros. π
like, read that twice bestie. it's serious. π
β¨ SEE ALSO β¨
APT(1), chknvm(1), chknvm2(1), amptest(1), int6ktest(1), nvmsplit(1), nvmmerge(1), setnvm(1)
β¨ CREDITS β¨
Charles Maier π
and that's the whole page, bestie π this one's from open-plc-utils-0.0.3, dated November 2013 β go forth and load those applets, you've got this πβ¨π¦
π¦ where this page comes from
- alpine 3.24: open-plc-utils-doc 0_git20250712-r1 Β· BSD-3-Clause-Clear
- debian bookworm: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- debian trixie: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1 Β· BSD-3
- ubuntu noble: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 Β· BSD-3
- ubuntu questing: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1
- ubuntu resolute: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- ubuntu stonking: plc-utils-extra 0.0.6+git20250712.46c3506-1 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms