Skip to content

utils: add ipq-art-editor#29181

Open
gvvsnrnaveen wants to merge 8 commits intoopenwrt:masterfrom
gvvsnrnaveen:ipq-art-editor
Open

utils: add ipq-art-editor#29181
gvvsnrnaveen wants to merge 8 commits intoopenwrt:masterfrom
gvvsnrnaveen:ipq-art-editor

Conversation

@gvvsnrnaveen
Copy link
Copy Markdown

@gvvsnrnaveen gvvsnrnaveen commented Apr 18, 2026

Add a new package, ipq-art-editor, a userspace utility designed to modify Qualcomm IPQ ART (Atheros Radio Test) partition fields and recalculate the required checksums.

This tool allows for on-the-fly modification of the ART partition on target devices or offline editing of partition copies.
This tool will allow the users to change the WIFI calibration, Power Tables and other parts of the ART partition to test and unlock specific features of the WIFI Radio.
Using this tool, we can see the changes immediately without going through entire calibration process. Also using this tool, we can copy the calibration data from one DUT to another DUT also which will quicken the process by copying only the necessary parts.

It is also specifically designed for factory-line automation to facilitate bulk updates of MAC addresses and customer-specific data.

Features:

  • Update MAC1 and MAC2 fields.
  • Update CUSTOMER_DATA fields.
  • Write arbitrary raw bytes at a specified offset.
  • Recompute and write the ART checksum.
  • Support for direct file paths or 0:ART partition lookup.

Package details:

  • Name: ipq-art-editor
  • Version: 1.0.1
  • License: GPL-3.0
  • Binary: /usr/sbin/ipq-art-editor

Source: https://github.com/gvvsnrnaveen/ipq-art-editor

📦 Package Details

Maintainer: G. Naveen Kumarnaveenkumar.gvvsnr@gmail.com
(You can find this by checking the history of the package Makefile.)

Description:
This tool allows for on-the-fly modification of the ART partition on target devices or offline editing of partition copies. It is specifically designed for factory-line automation to facilitate bulk updates of MAC addresses and customer-specific data.

Features:
- Update MAC1 and MAC2 fields.
- Update CUSTOMER_DATA fields.
- Write arbitrary raw bytes at a specified offset.
- Recompute and write the ART checksum.
- Support for direct file paths or 0:ART partition lookup.
- We can use this tool to edit ART partition data offline also by making a copy of the 0:ART partition using dd commands and then edit it offline.

🧪 Run Testing Details

  • OpenWrt Version: 19.07, 21.02, 22.05, 23.05, 24.10
  • OpenWrt Target/Subtarget: IPQ60xx, IPQ807x
  • OpenWrt Device: Generic

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

@BKPepe BKPepe requested a review from Copilot April 18, 2026 14:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new OpenWrt userspace utility package (ipq-art-editor) for editing Qualcomm IPQ ART partition fields and recalculating checksums.

Changes:

  • Introduces utils/ipq-art-editor package Makefile pulling sources from a GitHub repo via git.
  • Adds build/install rules to produce /usr/sbin/ipq-art-editor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread utils/ipq-art-editor/Makefile Outdated
Comment thread utils/ipq-art-editor/Makefile Outdated
Comment thread utils/ipq-art-editor/Makefile Outdated
Comment thread utils/ipq-art-editor/Makefile Outdated
Comment thread utils/ipq-art-editor/Makefile Outdated
Comment thread utils/ipq-art-editor/Makefile
Add a new package, ipq-art-editor, a userspace utility designed to modify Qualcomm IPQ ART (Atheros Radio Test) partition fields and recalculate the required checksums.

This tool allows for on-the-fly modification of the ART partition on target devices or offline editing of partition copies. It is specifically designed for factory-line automation to facilitate bulk updates of MAC addresses and customer-specific data.

Features:
- Update MAC1 and MAC2 fields.
- Update CUSTOMER_DATA fields.
- Write arbitrary raw bytes at a specified offset.
- Recompute and write the ART checksum.
- Support for direct file paths or 0:ART partition lookup.

Package details:
- Name: ipq-art-editor
- Version: 1.0.0
- License: GPL-3.0
- Binary: /usr/sbin/ipq-art-editor

Source: https://github.com/gvvsnrnaveen/ipq-art-editor
Signed-off-by: G. Naveen Kumar <naveenkumar.gvvsnr@gmail.com>
Adding package url

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Naveen Kumar <61074314+gvvsnrnaveen@users.noreply.github.com>
@gvvsnrnaveen gvvsnrnaveen requested a review from Copilot April 18, 2026 15:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread utils/ipq-art-editor/Makefile Outdated
Comment thread utils/ipq-art-editor/Makefile Outdated
gvvsnrnaveen and others added 2 commits April 18, 2026 21:16
Using PKG_VERSION variable in PKG_SOURCE

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Naveen Kumar <61074314+gvvsnrnaveen@users.noreply.github.com>
Adding . to the end of the description.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Naveen Kumar <61074314+gvvsnrnaveen@users.noreply.github.com>
@gvvsnrnaveen gvvsnrnaveen requested a review from Copilot April 19, 2026 01:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread utils/ipq-art-editor/Makefile Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Naveen Kumar <61074314+gvvsnrnaveen@users.noreply.github.com>
@gvvsnrnaveen gvvsnrnaveen requested a review from Copilot April 19, 2026 01:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gvvsnrnaveen gvvsnrnaveen requested a review from Copilot April 21, 2026 13:20
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

PKG_VERSION:=1.0.1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_VERSION).tar.gz
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using only the version as PKG_SOURCE risks filename collisions in the shared download cache (dl/) with other packages that may also use 1.0.1.tar.gz. Prefer a unique tarball name like ipq-art-editor-$(PKG_VERSION).tar.gz (and, if needed, set PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) / rely on default PKG_BUILD_DIR) to keep downloads deterministic across the build system.

Suggested change
PKG_SOURCE:=$(PKG_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this was resolved, when Copilot is right?

Copy link
Copy Markdown
Author

@gvvsnrnaveen gvvsnrnaveen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the changes are completed.
Signed-off-by: Naveen Kumar naveenkumar.gvvsnr@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants