[OpenWrt-Devel] [PATCH v2] ath79: add support for TP-Link Archer A7

Rafał Miłecki zajec5 at gmail.com
Mon Nov 26 06:51:57 EST 2018


On Sun, 25 Nov 2018 at 16:43, Karl-Felix Glatzer <karl.glatzer at gmx.de> wrote:
> On 2018-11-24 10:30:59, Rafał Miłecki wrote:
> > On Fri, 23 Nov 2018 at 22:03, Karl-Felix Glatzer <karl.glatzer at gmx.de> wrote:
> > > This patch adds support for TP-Link Archer A7
> > >
> > > Specification:
> > > - SOC: QCA9563
> > > - Flash: 16 MiB (SPI)
> > > - RAM: 128 MiB (DDR2)
> > > - Ethernet: 4x 1Gbps LAN + 1x 1Gbps WAN
> > > - Wireless:
> > >   - 2.4GHz (bgn) SoC internal
> > >   - 5GHz (ac) QCA988x
> > > - USB: 1x USB 2.0 port
> > > - Button: 1x power, 1x reset, 1x wps
> > > - LED: 10x LEDs
> > > - UART: holes in PCB
> > >   - Vcc, GND, RX, TX from ethernet port side
> > >   - 115200n8
> > >
> > > Flash instructions:
> > >
> > > Upload openwrt-ath79-generic-tplink_archer-a7-v5-squashfs-factory.bin
> > > via the Webinterface.
> > >
> > > Flash instruction using tftp recovery:
> > >
> > > 1. Connect the computer to one of the LAN ports of the Archer A7
> > > 2. Set the computer IP to 192.168.0.66
> > > 3. Start a tftp server with the OpenWrt factory image in the tftp
> > >    root directory renamed to ArcherC7v5_tp_recovery.bin
> > > 2. Connect power cable to Archer A7, press and hold the reset button
> > >    and turn the router on
> > > 3. Keep the reset button pressed for ~5 seconds
> > > 4. Wait ~150 seconds to complete flashing
> > >
> > > Changes since first revision:
> > >
> > >   - Flash instructions using stock image webinterface
> > >   - Changed "Version 5" in model string to "v5"
> > >   - Split DTS file in qca9563_tplink_archer-x7-v5.dtsi
> > >     and qca9563_tplink_archer-a7-v5.dts
> > >   - Firmware image is now build with dynamic partitioning
> > >   - Default to ath10k-ct
> >
> > Looks pretty nice.
> >
> > Could you provide me a boot log with mtd partitioning messages? I'd
> > like to see how mtd creates partitions on this device.
> >
>
> Sure. I've attached the output of dmesg as dmesg.log.
>
> These seem to be all the messages related to the spi flash and mtd partitioning:
>
> [    0.391041] m25p80 spi0.0: w25q128 (16384 Kbytes)
> [    0.395992] 7 fixed-partitions partitions found on MTD device spi0.0
> [    0.402546] Creating 7 MTD partitions on "spi0.0":
> [    0.407521] 0x000000000000-0x000000020000 : "factory-uboot"
> [    0.414019] 0x000000020000-0x000000040000 : "u-boot"
> [    0.419760] 0x000000040000-0x000000f00000 : "firmware"
> [    0.451110] 2 uimage-fw partitions found on MTD device firmware
> [    0.457262] 0x000000040000-0x0000001c6955 : "kernel"
> [    0.462973] 0x0000001c6955-0x000000f00000 : "rootfs"
> [    0.468741] mtd: device 4 (rootfs) set to be root filesystem
> [    0.474676] 1 squashfs-split partitions found on MTD device rootfs
> [    0.481063] 0x0000004c0000-0x000000f00000 : "rootfs_data"
> [    0.487266] 0x000000f40000-0x000000f60000 : "info"
> [    0.492805] 0x000000f60000-0x000000fb0000 : "config"
> [    0.498596] 0x000000fc0000-0x000000fd0000 : "partition-table"
> [    0.505209] 0x000000ff0000-0x000001000000 : "art"

Thanks! Please kindly add
compatible = "denx,uimage";
to the "firmware" partition node, for details you can see:
[OpenWrt-Devel] Specifying "firmware" partition format on all DTS targets
http://lists.infradead.org/pipermail/openwrt-devel/2018-November/014706.html

-- 
Rafał

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list