mt7628an_tplink_tl-wr841n-v14.dts mac address
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 888
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
mt7628an_tplink_tl-wr841n-v14.dts file does not read correctly mac address for the router.
I suspect all mediatek 7628 routers does not do this correctly after the movement to new nvmem-cell
&wmac {
status = "okay";
mediatek,mtd-eeprom = <&factory 0x0>;
nvmem-cells = <&macaddr_factory_f100>;
nvmem-cell-names = "mac-address";
};
ðernet {
nvmem-cells = <&macaddr_factory_f100>;
nvmem-cell-names = "mac-address";
};
&factory {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_f100: macaddr@f100 {
reg = <0xf100 0x6>;
};
};
This is not working.
As a result we have this in the log file:
[ 0.587159] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initialized
[ 0.595239] mtk_soc_eth 10100000.ethernet: generated random MAC address 96:52:65:56:8d:42
[ 0.605928] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
If i remove the patches for nvmem-cell mac address is read correct.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with mt7628an_tplink_tl-wr841n-v14.dts and inspect the wmac, ethernet, and factory nvmem-cell definitions shown in the report. Reproduce the boot log and compare the nvmem-cell configuration with the behavior when those patches are removed; done means the router reads its factory MAC instead of generating a random address.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100