8000 Update project README by ldir-EDB0 · Pull Request #3 · lede-project/source · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update project README #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update project README #3

wants to merge 1 commit into from

Conversation

ldir-EDB0
Copy link
Contributor

"configure your appreciated configuration" doesn't make English sense to
me. I think it is trying to say "choose your preferred configuration"

Signed-off-by: Kevin Darbyshire-Bryant kevin@darbyshire-bryant.me.uk

"configure your appreciated configuration" doesn't make English sense to
me.  I think it is trying to say "choose your preferred configuration"

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
@blogic
Copy link
Contributor
blogic commented May 12, 2016

pulled into my staging tree. Thanks !

@blogic blogic closed this May 12, 2016
@ldir-EDB0 ldir-EDB0 deleted the READMEchange branch May 12, 2016 14:29
admiral0 pushed a commit to admiral0/lede-rango that referenced this pull request Apr 24, 2017
V-E-O referenced this pull request in V-E-O/lede-source Jun 22, 2017
patches come from openembedded, added an option to disable
libnfnetlink

This may fix iptables build issue (updateing#3) when building dnsmasq-full
a7ypically pushed a commit to a7ypically/source that referenced this pull request Jul 7, 2017
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Jul 21, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Jul 22, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Jul 27, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Jul 29, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Aug 2, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Aug 4, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Aug 9, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Aug 17, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Aug 20, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Aug 24, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Aug 27, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Aug 31, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Sep 1, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to ptpt52/lede-source that referenced this pull request Sep 6, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
ptpt52 added a commit to male-puppies/lede-source that referenced this pull request Oct 10, 2017
	#0  0x77fceba4 in memset () from /lib/ld-musl-mips-sf.so.1
	ptpt52#1  0x00406fc9 in answer_request (header=header@entry=0x52c440, limit=<optimized out>, qlen=qlen@entry=690, local_addr=..., local_addr@entry=...,
			    local_netmask=local_netmask@entry=..., now=now@entry=1500609066, ad_reqd=ad_reqd@entry=1, do_bit=do_bit@entry=0, have_pseudoheader=0) at rfc1035.c:1228
	ptpt52#2  0x0040e7e9 in receive_query (listen=listen@entry=0x52dee0, now=now@entry=1500609066) at forward.c:1433
	lede-project#3  0x00410681 in check_dns_listeners (now=now@entry=1500609066) at dnsmasq.c:1565
	lede-project#4  0x00404269 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1044
artynet pushed a commit to artynet/LEDE that referenced this pull request Feb 27, 2020
kernel-package: adding actual dependency from main kernel metapackage
jow- pushed a commit that referenced this pull request Jul 25, 2020
The Winstars WS-WN583A6 is a wireless repeater with 2 gigabit ethernet
ports. Even if mine is branded as "Gemeita AC2100", the sticker on the
back says WS-WN583A6. So I will refer to it as Winstars WS-WN583A6.
Probably the real product name is the Wavlink WL-WN583A6 because of
the many references to Wavlink in the OEM firmware and bootlog.

Hardware
--------
SoC:   Mediatek MT7621AT (880 MHz, 2 cores 4 threads)
RAM:   128MB
FLASH: 8MB NOR (GigaDevice GD25Q64B)
ETH:   2x 10/100/1000 Mbps Ethernet (MT7530)
WIFI:
  - 2.4GHz: 1x MT7603E (2x2:2)
  - 5GHz:   1x MT7615E (4x4:4)
  - 6 internal antennas
BTN:
  - 1x Reset button
  - 1x WPS button
  - 1x ON/OFF switch (working but unmodifiable)
  - 1x Auto/Schedule switch (working but unmodifiable. Read Note #3)
LEDS:
  - 1x White led
  - 1x Red led
  - 1x Amber led
  - 1x Blue led
  - 2x Blue leds (lan and wan port status: working but unmodifiable)
UART:
  - 57600-8-N-1

Everything works correctly.

Currently there is no firmware update available. Because of this, in
order to restore the OEM firmware, you must firstly dump the OEM
firmware from your router before you flash the OpenWrt image.

Backup the OEM Firmware
-----------------------
The following steps are to be intended for users having little to none
experience in linux. Obviously there are many ways to backup the OEM
firmware, but probably this is the easiest way for this router.
Procedure tested on M83A6.V5030.191210 firmware version.

1) Go to http://192.168.10.1/webcmd.shtml

2) Type the following line in the "Command" input box:
	mkdir /etc_ro/lighttpd/www/dev; for i in /dev/mtd*ro; do dd if=${i} of=/etc_ro/lighttpd/www${i}; done

3) Click "Apply"

4) After few seconds, in the textarea should appear this output:
		16384+0 records in
	16384+0 records out
	8388608 bytes (8.0MB) copied, 4.038820 seconds, 2.0MB/s
	384+0 records in
	384+0 records out
	196608 bytes (192.0KB) copied, 0.095180 seconds, 2.0MB/s
	128+0 records in
	128+0 records out
	65536 bytes (64.0KB) copied, 0.032020 seconds, 2.0MB/s
	128+0 records in
	128+0 records out
	65536 bytes (64.0KB) copied, 0.031760 seconds, 2.0MB/s
	15744+0 records in
	15744+0 records out
	8060928 bytes (7.7MB) copied, 3.885280 seconds, 2.0MB/s
	dd: can't open '/dev/mtd5ro': No such device
	dd: can't open '/dev/mtd6ro': No such device
	dd: can't open '/dev/mtd7ro': No such device

   Excluding the "X.XXXXXX seconds" part, you should get the same
   exact output. If your output doesn't match mine, stop reading
   and ask for help in the forum.

5) Open the following links to download the partitions of the OEM FW:
	http://192.168.10.1/dev/mtd0ro
	http://192.168.10.1/dev/mtd1ro
	http://192.168.10.1/dev/mtd2ro
	http://192.168.10.1/dev/mtd3ro
	http://192.168.10.1/dev/mtd4ro

   If one (or more) of these files weight 0 byte, stop reading and ask
   for help in the forum.

6) Store these downloaded files in a safe place.

7) Reboot your router to remove any temporary file from your router.

Installation
------------
Flash the initramfs image in the OEM firmware interface.
When openwrt boots, flash the sysupgrade image otherwise you won't be
able to keep configuration between reboots.

Restore OEM Firmware
--------------------
Flash the "mtd4ro" file you previously backed-up directly from LUCI.
Warning: Remember to not keep settings!
Warning2: Remember to force the flash.

Notes
-----
1) The "System Command" page allows to run every command as root.
   For example you can use "dd" and "nc" to backup the OEM firmware.
   PC (SERVER):
	nc -l 5555 > ./mtdXro
   ROUTER (CLIENT):
	dd if=/dev/mtdXro | nc PC_IP_ADDRESS 5555

2) The OEM web interface accepts only images containing the string
   "WN583A6" in the filename.
   Currently the OEM interface accepts only the initramfs image
   probably because it checks if the ih_size in the image header is
   equal to the whole image size (instead of the kernel size)
   Read more here:
   https://forum.openwrt.org/t/support-for-strong-1200/22768/19

3) The white led (namely "Smart Night Light") can be controller by the
   user only if the side switch is set to "Schedule" otherwise it will
   be activated by the light condition (there is a photodiode on the
   top side of the router)

4) Router mac addresses:

   LAN		XX:XX:XX:XX:XX:8F
   WAN		XX:XX:XX:XX:XX:90
   WIFI 2G	XX:XX:XX:XX:XX:91
   WIFI 5G	XX:XX:XX:XX:XX:92

   LABEL	XX:XX:XX:XX:XX:91

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
[remove chosen node, fix whitespace]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
jow- pushed a commit that referenced this pull request Dec 22, 2020
The Ubiquiti Network airCube AC is a cube shaped device supporting
2.4 GHz and 5 GHz with internal 2x2 MIMO antennas.
It can be powered with either one of:
 - 24v power supply with 3.0mm x 1.0mm barrel plug
 - 24v passive PoE on first LAN port
There are four 10/100/1000 Mbps ports (1 * WAN + 3 * LAN).
First LAN port have optional PoE passthrough to the WAN port.

SoC:       Qualcomm / Atheros AR9342
RAM:       64 MB DDR2
Flash:     16 MB SPI NOR
Ethernet:  4x 10/100/1000 Mbps (1 WAN + 3 LAN)
LEDS:      1x via a SPI controller (not yet supported)
Buttons:   1x Reset
Serial:    1x (only RX and TX); 115200 baud, 8N1

Missing features:
 - LED control is not supported

Physical to internal switch port mapping:
 - physical port #1 (poe in) = switchport 2
 - physical port #2 = switchport 3
 - physical port #3 = switchport 5
 - physical port #4 (wan/poe out) = switchport 4

Factory update is tested and is the same as for Ubiquiti AirCube ISP
hence the shared configuration between that devices.

Signed-off-by: Roman Kuzmitskii <damex.pp@icloud.com>
lynxis pushed a commit to lynxis/source that referenced this pull request Apr 14, 2023
mt7622/whitebox-v9plus change label mac to lan mac address
openwrt-bot pushed a commit that referenced this pull request May 20, 2023
Iomega Storcenter ix4-200d is a four-bay SATA NAS powered by a Marvell
Kirkwood SoC clocked at 1.2GHz. It has 512MB of RAM and 32MB of
flash memory, 3x USB 2.0 and 2x 1Gbit/s NIC

Specification:
- SoC: Marvell Kirkwood 88F6281
- CPU/Speed: 1200Mhz
- Flash size: 32 MiB
- RAM: 512MB
- LAN: 2x 1Gbit/s
- 3x USB 2.0

Notes:
- The blue drive LED is triggered by HDD activity, it can not be controlled
  via GPIO.
- The LCD screen requires proprietary code and does not function at this time.
- Due to a kernel-related issue with the Marvell 88SE6121 SATA controller,
  currently only trays numbered #3 and #4 work, #1 and #2 do not. [1]

Serial pinout:

    CN4
    --------------
    | 10 8 6 4 2 |
    |  9 7 5 3 1 |
    -------------- PIN 1 Mark (fat line)

     1 = RXD
     4 = TXD
     6 = GND
     9 = 3.3V (not necessary to connect)

Installation instructions:
1. download initramfs-uImage and copy into tftp server
2. connect the tftp server to network port #1
3. access uboot environment with serial cable and run

    setenv mainlineLinux yes
    setenv arcNumber 1682
    setenv console 'console=ttyS0,115200n8'
    setenv mtdparts 'mtdparts=orion_nand:0x100000@0x000000(u-boot)ro,0x20000@0xA0000(u-boot environment)ro,0x300000@0x100000(kernel),0x1C00000@0x400000(ubi)'
    setenv bootargs_root 'root='
    setenv bootcmd 'setenv bootargs ${console} ${mtdparts} ${bootargs_root}; nand read.e 0x800000 0x100000 0x300000; bootm 0x00800000'
    saveenv
    setenv serverip 192.168.1.1
    setenv ipaddr 192.168.1.2
    tftpboot 0x00800000 [initramfs-uImage filename]
    bootm 0x00800000

4. connect to LAN on network port #2, log into openwrt and sysupgrade to install into flash

[1] https://bugzilla.kernel.org/show_bug.cgi?id=216094

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
(aligned FROM from signed-off. LED+key rename, whitespace removal)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
openwrt-bot pushed a commit that referenced this pull request Jan 20, 2025
Ruckus R500 datasheet: https://webresources.ruckuswireless.com/datasheets/r500/ds-ruckus-r500.html

Specifications:

SoC: 720Mhz QCA9558
RAM: 256MB
Storage: 64MB of FLASH (SPI NOR - S25FL512S)
1x AR8327 GB switch
Ethernet: 1x1000M port #3 on AR8327,
          1x1000M (802.3at POE), port #5 on AR8327
Wireless: QCA988X HW2.0 802.11ac
AR9550 2.4GHz 802.11b/g/n
5x GPIO LED
1x GPIO Reset Button
1x DC Jack 12v
1x UART, 3.3v, 115200
1x TPM, SLB9645TT12
2x Beamforming antennas configured via 74LV164

MAC addresses:
 1. art 0x807E | Factory bridged | f0:3e:90:XX:XX:80 |
 2. art 0x66   | eth0            | f0:3e:90:XX:XX:83 | (port 5, cpu port 6) - PoE port
 3. art 0x6c   | eth1            | f0:3e:90:XX:XX:84 | (port 3, cpu port 0) - non PoE port

Serial console: 115200-8-N-1 on internal H4 header.
Pinout:

H1
-----------
|1|x|3|4|5|
-----------

Pin 1 is near the "H4" marking.
1 - RX
x - no pin
3 - VCC (3.3V)
4 - GND
5 - TX

JTAG: Connector H2, similar to MIPS eJTAG, standard, unpoulated.

H9
----------------------
|2 |4 |6 |8 |10|12|14|
----------------------
|1 |3 |5 |7 |9 |11|13|
----------------------

3 - TDI
5 - TDO
7 - TMS
9 - TCK
2,4,6,8,10 - GND
14 - Vref
1,11,12,13 - Not connected

I²C: connector H2, near power LED, unpopulated:

------
|1|2|3
------
    H2

1 - SCL
2 - SDA
3 - GND

Installation:

Serial Port/TFTP

1. Setup tftp server on the local network
2. Connect to UART with TTL
3. Interupt U-boot process with Ctrl-C
4. Setup appropriate ipaddr and serverip in setenv:
  - setenv ipaddr 192.168.1.1
  - setenv serverip 192.168.1.2
5. On TFTP Server - copy openwrt-ath79-generic-ruckus_r500-initramfs-kernel.bin to /srv/tftp
6. On R500 boot into initrd image
  - tftpboot 0x81000000 openwrt-ath79-generic-ruckus_r500-initramfs-kernel.bin
  - bootm 0x81000000
7. On TFTP server - scp -O openwrt-ath79-generic-ruckus_r500-squashfs-sysupgrade.bin root@192.168.1.1:/tmp
8. Ensure the boot command is set before flashing the image:
    fw_setenv bootcmd 'bootm 0xbf1c0000'
9. On R500 - sysupgrade /tmp/openwrt-ath79-generic-ruckus_r500-squashfs-sysupgrade.bin
10. If not done in 8; set boot command from U-boot shell itself:
  - setenv bootcmd bootm 0xbf1c0000
  - saveenv
  - reset

This patch adapted from https://github.com/victhor393/openwrt-ruckus-r500/tree/ruckus-r500-master

Signed-off-by: Damien Mascord <tusker@tusker.org>

- Heavily refactored the device tree
- Extended commit message
- Documented onboad connectors
- Refactored MAC and calibration data setups to use nvmem-layout
- Made both network interfaces LAN ports and bridge them, this makes
  more sense for an access point and is consistent with the rest of
  Ruckus APs.
- Enable lzma-loader for compressed initramfs
- Enabled the optional internal USB port
- Added missing LEDs and according pinctrl settings
- Added reserved memory region used for bootloader communication
- Added the bit-banged I²C bus and onboard TPM
- Refactored boot scheme and flash layout to match earlier Ruckus
  devices and maximize usable space for user data.

Quirks:
- H7 is the physical presence switch for the SLB9645TT12 TPM.

TODO:
- Link state reporting on the Ethernet ports doesn't work and both ports
  report "up" due to limitation of swconfig ar8327 driver. With DSA
  conversion, this shall be rectified.
- Locate 2nd shift register (U7) controlling beamforming antennas, probably
  on ath10k GPIOs which are currently unsupported in the driver. For
  this, there is a device tree node describing that - but explicitly
  disabled.
- At the moment of adding support, there is an endianness bug in the TPM
  driver causing it to not detect the TPM module because of ID mismatch.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: openwrt/openwrt#17550
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0