aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ramips/mt76x8/base-files/etc/hotplug.d
Commit message (Collapse)AuthorAge
* ramips: convert HiWiFi devices MAC address to NVMEM formatShiji Yang2025-06-08
| | | | | | | | | | | | | | | For all HiWiFi series devices, the base MAC address is stored on "bdinfo" partition, offset 0x18a, ASCII text format. The recently introduced "mac-base" nvmem layout can handle the ASCII text now, so it's time to move MAC address configurations to dts. There is no valid MAC info in the "factory" partition, hence they will be replaced with the correct ones. Tested on HiWiFi HC5661A and HC5861. Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18251 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: add support for HiWiFi HC5611Senis John2022-12-04
| | | | | | | | | | | | | | | | | | | | | | | CPU: MediaTek MT7628AN @ 575 MHz Flash: 16 MB RAM: 128 MB Ethernet: 10/100Mbps x 1 Wlan: 300 Mbps USB: USB 2.0 x 1 LED: red/green x 1 Button: reset x 1 1. Open https://www.hiwifi.wtf/, Get Cloud token and unlock ssh 2. Upload the openwrt firmware to the router via SCP 3. Login the router via SSH 4. Run `mtd -r write path_to_firmware.bin firmware` I have tested on my device. - The LED will display RED on power-on, After system start completed, trun GREEN - Reset button working now. Long press after 5s will reset factory. Short press less 1s will reboot the device - USB can working under official u-boot Signed-off-by: Senis John <thank243@gmail.com>
* ramips: fix wifi mac address of HiWiFi series devicesShiji Yang2022-03-26
For HiWiFi series devices, label_mac can be read from bdinfo partition, and lan_mac, wlan2g_mac are same as the label_mac. Converting label_mac to wlan5g_mac only needs to unset 6th bit. (It seems that all HiWiFi's label_mac start with D4:EE) For example: label D4:EE:07:32:84:88 lan D4:EE:07:32:84:88 wan D4:EE:07:32:84:89 wlan2g D4:EE:07:32:84:88 wlan5g D0:EE:07:32:84:88 Tested on HiWiFi HC5661. Signed-off-by: Shiji Yang <yangshiji66@qq.com>