tn3399_openwrt/package
Sven Eckelmann 80713657b2 ath79: Add support for OpenMesh OM5P
Device specifications:
======================

* Qualcomm/Atheros AR9344 rev 2
* 560/450/225 MHz (CPU/DDR/AHB)
* 64 MB of RAM
* 16 MB of SPI NOR flash
  - 2x 7 MB available; but one of the 7 MB regions is the recovery image
* 2x 10/100 Mbps Ethernet
* 2T2R 5 GHz Wi-Fi
* 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
* 1x GPIO-button (reset)
* external h/w watchdog (enabled by default)
* TTL pins are on board (arrow points to VCC, then follows: GND, TX, RX)
* 2x fast ethernet
  - eth0
    + builtin switch port 1
    + used as LAN interface
  - eth1
    + 18-24V passive POE (mode B)
    + used as WAN interface
* 12-24V 1A DC
* internal antennas

WAN/LAN LEDs appear to be wrong in ar71xx and have been swapped here.

Flashing instructions:
======================

Various methods can be used to install the actual image on the flash.
Two easy ones are:

ap51-flash
----------

The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
used to transfer the image to the u-boot when the device boots up.

initramfs from TFTP
-------------------

The serial console must be used to access the u-boot shell during bootup.
It can then be used to first boot up the initramfs image from a TFTP server
(here with the IP 192.168.1.21):

   setenv serverip 192.168.1.21
   setenv ipaddr 192.168.1.1
   tftpboot 0c00000 <filename-of-initramfs-kernel>.bin && bootm $fileaddr

The actual sysupgrade image can then be transferred (on the LAN port) to the
device via

  scp <filename-of-squashfs-sysupgrade>.bin root@192.168.1.1:/tmp/

On the device, the sysupgrade must then be started using

  sysupgrade -n /tmp/<filename-of-squashfs-sysupgrade>.bin

Signed-off-by: Sven Eckelmann <sven@narfation.org>
[add LED swap comment]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-12-30 23:32:07 +01:00
..
base-files base-files: sysupgrade: add function for conffiles retrieval 2020-12-30 00:00:13 +01:00
boot ath79: Add support for OpenMesh OM5P 2020-12-30 23:32:07 +01:00
devel binutils: update to 2.35.1 2020-12-22 18:59:10 +01:00
firmware ath10k-ct-firmware: update to 022 (2020-11-08) 2020-12-28 18:07:34 +01:00
kernel bcm63xx-cfe: update to the latest master 2020-12-28 23:09:17 +01:00
libs toolchain: remove uClibc install stuff 2020-12-22 19:11:50 +01:00
network odhcp6c: update to git HEAD 2020-12-30 20:20:06 +01:00
system opkg: update to git HEAD 2020-12-24 11:12:57 +00:00
utils busybox: define BUSYBOX_SYM before the first use 2020-12-29 12:19:39 -10:00
Makefile build: always build package/kernel/linux 2020-10-15 13:25:58 +02:00