openwrt/target/linux
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
..
adm5120 adm5120: mark the rb1xx subtarget as broken 2017-01-16 20:40:12 +01:00
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx build: get rid of host.mk 2017-02-26 13:31:44 +01:00
ar7 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
ar71xx ar71xx: mikrotik: erase firmware partition on SPI NOR devices in pre_upgrade() 2017-02-26 13:30:39 +01:00
arc770 arc770: only calculate entry point address when necessary 2017-02-21 16:10:30 +01:00
archs38 archs38: only calculate entry point address when necessary 2017-02-21 16:10:32 +01:00
arm64 Revert "arm64: boot-wrapper: Add mirror" 2016-12-22 21:08:17 +01:00
armvirt armvirt: add kernel config change missing from 0d44f0cb 2017-01-13 11:05:32 +01:00
at91 kernel: remove ubifs xz decompression support 2017-01-09 14:07:06 +01:00
ath25 kernel: backport MIPS changes introducing a separate IRQ stack 2017-01-15 18:25:54 +01:00
au1000 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
bcm53xx bcm53xx: add kernel 4.9 config 2017-02-20 14:12:30 +01:00
brcm47xx kernel: update kernel 4.4 to 4.4.50 2017-02-23 10:40:21 +01:00
brcm63xx brcm63xx: Add Observa VH4032N support 2017-02-09 22:02:45 +01:00
brcm2708 build: get rid of host.mk 2017-02-26 13:31:44 +01:00
cns3xxx kernel: update kernel 4.9 to version 4.9.10 2017-02-16 00:46:23 +01:00
gemini gemini: rename config-default to config-4.4 2016-08-24 01:44:05 +03:00
generic kernel: update 4.9 to 4.9.13 2017-02-27 11:39:31 +01:00
imx6 imx6: move to Linux 4.9 kernel 2017-02-11 15:38:11 +01:00
ipq806x ipq806x: sanitize Dni image generation 2017-02-26 13:32:26 +01:00
ixp4xx ixp4xx: put apex images into image staging directory 2017-01-27 16:53:31 +01:00
kirkwood kirkwood: add ZyXEL NSA325 device 2017-02-11 21:16:28 +01:00
lantiq lantiq: fix broadcast packets leaking on the wrong vlan on xrx200 2017-02-23 12:58:49 +01:00
layerscape layerscape: add LS1043A Rev1.1 support 2017-02-26 08:41:40 +01:00
malta malta: mark as source-only to avoid wasting build resources 2017-01-24 13:15:01 +01:00
mcs814x kernel: remove kmod packages for bridge, stp, llc and 8021q 2017-02-09 14:49:34 +01:00
mediatek mediatek: add more missing symbols 2017-02-16 20:25:47 +01:00
mpc85xx kernel: remove DEVMEM/DEVKMEM platform overrides 2017-01-10 13:48:53 +01:00
mvebu mvebu: add linux 4.9 support 2017-02-16 17:17:15 +01:00
mxs mxs: enable nvmem support 2017-02-10 11:05:57 +01:00
octeon octeon: only copy sysupgrade file if present 2017-02-15 06:36:21 +01:00
omap omap: build various core drivers into the kernel instead of packaging them 2017-01-10 13:44:26 +01:00
omap24xx kernel: clean up usb gadget support 2016-09-15 13:11:21 +02:00
orion kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders 2017-01-27 11:18:27 +01:00
oxnas oxnas: put u-boot images into image staging directory 2017-01-27 16:53:31 +01:00
ppc40x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ppc44x ppc44x: mark as broken 2017-01-10 12:49:34 +01:00
ramips ramips: add support for HiWiFi HC5661A 2017-02-27 11:39:31 +01:00
rb532 kernel: remove ubifs xz decompression support 2017-01-09 14:07:06 +01:00
sunxi build: get rid of host.mk 2017-02-26 13:31:44 +01:00
uml build: get rid of host.mk 2017-02-26 13:31:44 +01:00
x86 kernel: enable hwmon-k10temp in the x86/64 kernel config instead of packaging it 2017-02-26 13:31:51 +01:00
xburst kernel: remove kmod packages for bridge, stp, llc and 8021q 2017-02-09 14:49:34 +01:00
zynq build: get rid of host.mk 2017-02-26 13:31:44 +01:00
Makefile