openwrtv4/target/linux
Christian Mehlis 0c7e78930b ipq806x: add support for Compex WPQ864
Hardware highlights:
- SoC: Qualcomm Atheros IPQ8064/5 ARM Dual Core CPU
- RAM: (512MB or 1GB) DDR3 System Memory
- Storage: 32MB NOR (Cypress S25FL256S1)
           256MB NAND (Micron MT29F2G08ABBEAH4)
- Ethernet: 5 x 1G via QCA8337N
- USB: 1 x USB 2.0/3.0 + 1 x USB 2.0 on mini PCIe3 socket
- PCIe: 3x mini PCIe (third mini PCIE3 is PCIe/USB shared)
- SIM Card Slot: 2 x Slot
- Buttons: Reset Button
- LEDs: 18x, 8x GPIO controllable
- Buzzer

The correct amount of RAM will be passed by the bootloader.

In contrast to the documentation provided by Compex, the third PCIe
doesn't use GPIO16 for PERST. Instead, GPIO3 is shared and used as PERST
for PCIe0 and PCIe2.

So far, no one was able to get USB 3.0 working with the 1GB RAM version,
while it works fine for my 512MB version. Since USB 3.0 doesn't work with
the Compex firmware for the 1G variant either, it could be a hardware
issue with these boards.

OpenWrt will be installed to the NAND flash. Make sure to have a full
working image on the NOR flash. It will be the backup in case anything
goes wrong.

It has been observed that an image loaded via tftpboot might have
bitflips. Hence the extra step to create a crc32 checksum to allow to
compare the checksum with the one from the source file prior to flashing.

In all cases it is necessary to set the following u-boot parameter to an
empty (whitespace) value, to ensure that the chosen bootargs of the dts
isn't overwritten or set to bogus - not working - values:

  (IPQ) # set bootargs " "
  (IPQ) # set fsbootargs " "
  (IPQ) # saveenv

The sysupgrade image can be installed directly on flash using u-boot (put
jumper in JP13 (leave JP9 open) to boot from nand):

  (IPQ) # set serverip 192.168.1.20
  (IPQ) # set ipaddr 192.168.1.1

  (IPQ) # tftpboot 0x42000000 openwrt-ipq806x-compex_wpq864-squashfs-nand-factory.bin
  (IPQ) # crc32 0x42000000 $filesize

  (IPQ) # nand erase 0x1340000 0x4000000
  (IPQ) # nand write 0x42000000 0x1340000 $filesize

The initramfs image can be started using:

  (IPQ) # set fdt_high 0x48000000
  (IPQ) # tftpboot 0x44000000 openwrt-ipq806x-compex_wpq864-initramfs-fit-uImage.itb
  (IPQ) # bootm 0x44000000

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-03-15 08:17:10 +01:00
..
adm5120 treewide: remove obsolete sysupgrade watchdog kill 2018-02-16 14:44:02 +01:00
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx apm821xx: nand remove obsolete kernel config symbol 2018-02-23 07:54:29 +01:00
ar7 kernel: bump 4.9 to 4.9.82 2018-02-18 02:59:57 +01:00
ar71xx ar71xx: fix double registration of usb host mode devices, add usb client support for qca955x 2018-03-09 18:25:57 +01:00
arc770 arc770: mark as source-only 2017-10-28 13:59:03 +02:00
archs38 kernel: bump 4.14 to 4.14.20 2018-02-18 02:59:48 +01:00
armvirt armvirt: Resync kernel configuration 2018-01-12 15:14:27 -08:00
at91 at91: fix image building with CONFIG_TARGET_MULTI_PROFILE 2018-02-14 15:47:16 +01:00
ath25 build: replace uses of OpenWrt with $(VERSION_DIST) 2018-02-05 10:15:53 +01:00
au1000 treewide: remove obsolete sysupgrade watchdog kill 2018-02-16 14:44:02 +01:00
bcm53xx bcm53xx: include patch adding WZR-900DHP LEDs support 2018-03-07 17:01:07 +01:00
brcm47xx kernel: unroll MIPS r4k cache blast function 2018-03-10 11:58:19 +01:00
brcm63xx kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
brcm2708 kernel: bump 4.9 to 4.9.86 2018-03-09 22:13:19 +01:00
cns3xxx treewide: remove obsolete sysupgrade watchdog kill 2018-02-16 14:44:02 +01:00
gemini kernel: Update kernel 4.4 to 4.4.100 2017-11-25 19:48:39 +01:00
generic kernel: use V10 of mtd patchset adding support for "compatible" string 2018-03-14 15:13:39 +01:00
imx6 kernel: generic: Move config option to generic 2018-03-02 21:32:19 +01:00
ipq40xx ipq40xx: add Cisco Meraki MR33 Support 2018-03-14 19:04:52 +01:00
ipq806x ipq806x: add support for Compex WPQ864 2018-03-15 08:17:10 +01:00
ixp4xx kernel: bump 4.9 to 4.9.82 2018-02-18 02:59:57 +01:00
kirkwood kernel: make mtd patches apply again 2018-03-15 00:42:41 +01:00
lantiq kernel: make mtd patches apply again 2018-03-15 00:42:41 +01:00
layerscape kernel: bump 4.9 to 4.9.85 2018-03-03 12:58:55 +01:00
malta malta: bump tp v4.14 2018-01-09 10:26:16 +01:00
mcs814x build: replace uses of OpenWrt with $(VERSION_DIST) 2018-02-05 10:15:53 +01:00
mediatek kernel: bump to version 4.14.25 2018-03-09 22:12:48 +01:00
mpc85xx kernel: bump 4.9 to 4.9.82 2018-02-18 02:59:57 +01:00
mvebu mvebu: unset uboot build by default 2018-03-15 07:50:41 +01:00
mxs mxs: drop support for 4.9 2018-02-20 13:25:00 +01:00
octeon octeon: switch to kernel 4.14 2018-02-08 19:04:38 +01:00
octeontx octeontx: use the generic board detection 2018-02-23 08:21:50 +01:00
omap omap: clean up configuration 2017-10-18 21:46:05 +02:00
omap24xx omap24xx: remove referece to not existing kmod-usb-musb-tusb6010 2018-01-15 13:13:34 +01:00
orion orion: Switch to 4.9 kernel 2017-10-24 18:39:17 -07:00
oxnas kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
pistachio kernel: bump 4.9 to 4.9.82 2018-02-18 02:59:57 +01:00
ppc40x treewide: drop target board_name functions 2017-07-15 23:13:34 +02:00
ppc44x ppc44x: mark as broken 2017-01-10 12:49:34 +01:00
ramips ramips: mt7620n: add mdio node and disable port4 by default 2018-03-13 20:18:15 +01:00
rb532 treewide: move nand_do_upgrade call to platform_do_upgrade 2018-02-16 14:44:02 +01:00
sunxi sunxi: Fix B53 swconfig driver for Lamobo R1 2018-03-10 01:15:22 +01:00
uml uml: Remove 4.4 patches 2018-03-08 11:44:26 -08:00
x86 x86: Use kernel 4.14 by default 2018-02-18 19:51:58 +01:00
xburst target: disable CONFIG_PROC_PAGE_MONITOR on most targets 2018-01-13 15:04:15 +01:00
zynq target: disable CONFIG_PROC_PAGE_MONITOR on most targets 2018-01-13 15:04:15 +01:00
Makefile