Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2860 - tools/firmware-utils/mkcameofw not found #7647

Open
openwrt-bot opened this issue Feb 25, 2020 · 0 comments
Open

FS#2860 - tools/firmware-utils/mkcameofw not found #7647

openwrt-bot opened this issue Feb 25, 2020 · 0 comments
Labels
flyspray toolchain pull request/issue with toolchain related changes

Comments

@openwrt-bot
Copy link

shep971:

Attempting to produce a factory.bin for the hardware identical devices D-Link DIR-810L and Trendnet TEW-810DR. In order to flash over the factory image, a short tag needs to be appended to firmware image. See the device pages:
[[]https://openwrt.org/toh/d-link/dir-810l?s[]=810l]
[[https://openwrt.org/toh/trendnet/trendnet_tew-810dr_1.0_1.1?s[]=tew&s[]=810dr]]

Both pages use a tool that is provided in both the D-Link and Trendnet GPL source download for the respective device.
I can confirm that one cannot flash over the factory image on the Trendnet without appended tag.

I found a prior mailing of someone needing to accomplish the same task and the respondent complained about the lack of documentation. The submitter wrote his own.
[[https://jmomo.net/files/lede/patch_sets/v16-0002-ipq806x-Add-support-for-new-device-tew827dru.patch]]

I attempted to use mkcameofw/cameofw in a git pull versioned to 19.07.1 and the build error out, unable to find tool mkcameofw/cameofw.

A couple of points:

  1. mkcameofw seems to be broken and unused. Both the device pages
    describe the use of GPL'd ncc_att_hwid after the build for the initial
    install.

  2. I've searched for the documentation for ncc_att_hwid and cameo
    signature and only came up with it being applied in OpenWRT/DD-wrt.

  3. Users are working around the broken code manually.

  4. ncc_att_hwid is GPL'd and could be included in the build tree.

  5. The respective cameo signatures can be seen in the hex output of the D-Link and Trendnet firmware.

  6. If the project could either adapt ncc_att_hwid or the previously submitted tool, factory flash bins could be produced for several devices.

@aparcar aparcar added the toolchain pull request/issue with toolchain related changes label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray toolchain pull request/issue with toolchain related changes
Projects
None yet
Development

No branches or pull requests

2 participants