openwrt/target/linux
Christian Lamparter fc4fd28046 ipq806x: add support for ASRock G10
The ASRock G10 is a 2.4/5 GHz band 11ac "Gaming" router,
based on Qualcomm IPQ8064.

Specifications:

SoC:	Qualcomm IPQ8064
CPU:	Dual-Core A15 @ (384 - 1,400 MHz, 2C2T)
DRAM:	512 MiB (~467 MiB available)
NAND:	128 MB (Micron MT29F1G08ABBEAH4)
WLAN0:	4T4R 5 GHz Wlan (QCA9980)
WLAN1:	4T4R 2.4 GHz Wlan (QCA9980)
ETH:    5x 10/100/1000 Mbps Ethernet (QCA8337)
INPUT:  Reset Button, WPS 2.4G and WPS 5G Button
LEDS:   1 multicolor status LED
USB:    2x USB 3.0 Type-A
POWER:  12VDC/3A AC Adapter + dedicated Power Switch
UART:   Setting is 115200-8-N-1. 1x4 .1" unpopulated header
	on the PCB (J6 - very tiny silkscreen next to TX).
        Pinout: 1. 3v3 (Square - best skipped!), 2. RX, 3. GND, 4. TX

WARNING: The serial port needs a TTL/RS-232 3.3v level converter!
	 (Depending on the serial adapter RX and TX might need to
	  be swapped).

Note about the IR-Remote:
There's a 8-Bit MCU (SONIX SN8F25E21SG) which is controlling the
IR-Remote and is fed by the IR-Photodiode. The SoC can talk to
the device via I2C. The vendor's GPL archive comes with the source
of the interface driver for this as a (character driver), the main
control software is however a blob.

Installation Instructions:
 1. Download factory image to disk
 2. Apply factory image via stock web-gui

Back to stock:
 1. Login to router via ssh
 2. run "asrock_g10_back_to_factory" script from /sbin

Notes:
 - If something goes wrong durring sysupgrade, router will go back to
   factory image.
 - Asrock G10 uses partition layout from smem. So partition layout can
   be normal or alternate.
 - 900-arm-add-cmdline-override.patch was copied from 102-powerpc-add-cmdline-override.patch
   from powerpc target.

Knowledge about BOOTCONFIG partition was based on user "jmomo" post from old
OpenWrt forum (Post #50):
https://forum.archive.openwrt.org/viewtopic.php?id=65956&p=2

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[bump to 5.4, add factory image, fix sysupgrade, convert partition
layout to smem, remove ipq-wifi-asrock-g10 and use ART, minor fixes]
Co-Authored-by: Pawel Dembicki <paweldembicki@gmail.com>
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Tested-by: Lukasz Ostapiuk <palibrzuch@gmail.com>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:23 +00:00
..
apm821xx apm821xx: Netgear WNDR4700 limit kernel lzma dictionary 2021-09-01 08:07:23 +00:00
arc770 arc770: drop support for kernel 4.14 2021-09-01 08:06:56 +00:00
archs38 treewide: use wpad-basic-wolfssl as default 2021-09-01 08:06:52 +00:00
armvirt armvirt: README: rename it from LEDE to OpenWrt 2021-09-01 08:07:21 +00:00
at91 kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ath25 ath25: fix preinit Ethernet port configuration 2021-09-01 08:06:58 +00:00
ath79 ath79: expand factory.bin support for some Senao Engenius boards 2021-09-01 08:07:23 +00:00
bcm27xx kernel: bump 5.4 to 5.4.85 2021-09-01 08:07:23 +00:00
bcm47xx kernel: bump 5.4 to 5.4.80 2021-09-01 08:07:15 +00:00
bcm53xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
bcm63xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
gemini kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
generic kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
imx6 kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ipq40xx ipq40xx: add support for Plasma Cloud PA2200 2021-09-01 08:07:23 +00:00
ipq806x ipq806x: add support for ASRock G10 2021-09-01 08:07:23 +00:00
ipq807x kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
kirkwood kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
lantiq kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
layerscape kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
malta kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
mediatek kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mpc85xx kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mvebu kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
mxs treewide: make dependency on kmod-usb-net selective 2021-09-01 08:06:49 +00:00
octeon kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2021-09-01 08:07:04 +00:00
omap kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
oxnas kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
pistachio kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ramips ramips: add support for D-Link DIR-882 R1 2021-09-01 08:07:23 +00:00
realtek realtek: use kernel defined halt 2021-09-01 08:07:23 +00:00
rockchip kernel: bump 5.4 to 5.4.85 2021-09-01 08:07:23 +00:00
sunxi sunxi: add support for Libre Computer ALL-H3-CC H5 2021-09-01 08:07:11 +00:00
tegra tegra: image: remove unnecessary assumptions from bootscript 2021-09-01 08:07:22 +00:00
uml kernel: bump 5.4 to 5.4.71 2021-09-01 08:07:05 +00:00
x86 x86: enable CONFIG_MMC_SDHCI_ACPI for x86_64 2021-09-01 08:07:16 +00:00
zynq kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00