openwrt/target/linux/ramips/image
Wang JiaWei d48cc5e044 ramips: add support for HiWiFi HC5661A
HC5661A is almost the same as HC5661 but MT7628AN is used instead of MT7620A.

- MT7628AN
- 128 MiB DDR2 RAM (W971GG6KB-25)
- 16 MiB SPI NOR flash (W25Q128)
- SD slot (not work yet)
- 1+4 x 100M Ethernet
- 802.11 b/g/n Wi-Fi
- 3 x LED
- 1 x button
- UART pad on PCB (JP1: TX, RX, GND, 3.3V)

The factory flash layout seems different from HC5661.
"hwf_config" is renamed to "oem" and its size changes to 0x20000.
It is modified accordingly in the dts file.

0x000000000000-0x000000030000 : "u-boot"
0x000000030000-0x000000040000 : "hw_panic"
0x000000040000-0x000000050000 : "Factory"
0x000000050000-0x000000160000 : "kernel"
0x000000160000-0x000000fc0000 : "rootfs"
0x000000bb0000-0x000000fc0000 : "rootfs_data"
0x000000fc0000-0x000000fe0000 : "oem"
0x000000fe0000-0x000000ff0000 : "bdinfo"
0x000000ff0000-0x000001000000 : "backup"
0x000000050000-0x000000fc0000 : "firmware"

To install LEDE, enabled the "developer mode",
which will *void your warranty* and open the SSH server at port 1022.

sysupgrade -n -F lede-ramips-mt7628-hc5661a-squashfs-sysupgrade.bin

SD slot:
- Tried to add modules kmod-sdhci kmod-sdhci-mt7620, and corresponding dts block.
- It will block WAN + 3xLAN ports, only one LAN works.
- I'm not sure why, everything else works fine.

Signed-off-by: Wang JiaWei <buaawjw@gmail.com>
2017-02-27 11:39:31 +01:00
..
lzma-loader ramips: lzma-loader: fix O32 ABI conformance 2016-03-21 13:15:29 +00:00
Makefile ramips: Introduce CONFIG_MIPS_APPENDED_RAW_DTB to F5D8235 V1 (rt288x) 2017-02-02 00:13:49 +01:00
mt7620.mk ramips: include only kmod-mt76-core in EX2700 image 2017-02-26 10:26:50 +01:00
mt7621.mk ramips: Add back sdhci-mt7620 driver to default config 2017-01-18 08:54:53 +01:00
mt7628.mk ramips: add support for HiWiFi HC5661A 2017-02-27 11:39:31 +01:00
mt7688.mk ramips: Added Onion Omega2 and Omega2+ 2017-01-15 17:43:14 +01:00
rt288x.mk ramips: fix AR670W partition alignment 2017-02-09 09:14:45 +01:00
rt305x-legacy.mk ramips: use new image build code for more devices 2016-12-24 10:03:38 +01:00
rt305x.mk ramips: added image size into dwr-512 DT 2017-02-13 10:24:32 +01:00
rt3883.mk ramips: use new image build code for more devices 2016-12-24 10:03:38 +01:00