diff options
author | Deng Qingfang <dengqf6@mail2.sysu.edu.cn> | 2018-12-14 18:15:52 +0800 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-12-15 20:02:07 +0100 |
commit | 47381aadd545bf1fb92159fac5c43e92749a10fe (patch) | |
tree | 88782f819392a615684eb5fb29bf6637d8434d49 /target/linux/ramips/image/mt7620.mk | |
parent | 10ad6d6e07d3e5c98029df51558200429e23fbbf (diff) | |
download | upstream-47381aadd545bf1fb92159fac5c43e92749a10fe.tar.gz upstream-47381aadd545bf1fb92159fac5c43e92749a10fe.tar.bz2 upstream-47381aadd545bf1fb92159fac5c43e92749a10fe.zip |
ramips: several fixes for HC5x61
- Mark other partitions as read-only for HC5x61
- Only enable USB and PCIe for HC5761/HC5861
HC5661 doesn't have a USB port, and there is nothing attached to its PCIe.
- Fix HC5761 switch ports
HC5761 has only 3 ethernet ports (1x WAN + 2x LAN). Remove unused ports.
- Fix HC5861 5GHz radio
HC5861 has MT7612EN 5GHz WiFi chip, not MT7610EN.
- Fix HC5761/HC5861 WiFi LEDs
After 5GHz is enabled, it becomes wlan0. And 2.4GHz would be wlan1.
- Fix HC5x61 image size
It should be 15872k (0xf80000)
Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/image/mt7620.mk')
-rw-r--r-- | target/linux/ramips/image/mt7620.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 10c3748885..3a8b04a39c 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -297,15 +297,15 @@ TARGET_DEVICES += gl-mt750 define Device/hc5661 DTS := HC5661 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 15872k DEVICE_TITLE := HiWiFi HC5661 - DEVICE_PACKAGES := kmod-usb2 kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport + DEVICE_PACKAGES := kmod-sdhci-mt7620 endef TARGET_DEVICES += hc5661 define Device/hc5761 DTS := HC5761 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 15872k DEVICE_TITLE := HiWiFi HC5761 DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef @@ -313,9 +313,9 @@ TARGET_DEVICES += hc5761 define Device/hc5861 DTS := HC5861 - IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGE_SIZE := 15872k DEVICE_TITLE := HiWiFi HC5861 - DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hc5861 |