Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
toh:linksys:wap300n [2015/05/07 10:27] – created omersiartoh:linksys:wap300n [2020/10/12 05:15] – [Linksys WAP300N] funman
Line 1: Line 1:
  
 +----
 +====== Linksys WAP300N ======
 +
 +Linksys WAP300N simple wireless router which has 2 detachable antennas and 1 LAN connection.
 +
 +**Currently SoC is not supported.**
 +
 +You can apply [[http://chui-pas.net/~fun/wap300n/wap300n.diff|this patch]] to linux v5.9 and use [[http://chui-pas.net/~fun/wap300n/wap300n.config|this config]], to build a kernel that boots to a console prompt.
 +
 +Generate an uBoot image with:
 +
 +<code>
 +mipsel-linux-gnu-objcopy -O binary -R .note -R .comment -S vmlinux zImage
 +lzma -9 -f -S .lzma zImage
 +mkimage -A mips -O linux -T kernel -C lzma -a 80020000 -e 80020000 -n "Linux Kernel Image"  -d zImage.lzma um_factory_fw.bin
 +</code>
 +
 +then serve that um_factory_fw.bin via tftp from 192.168.1.100 to 192.168.1.1
 +===== Versions =====
 +^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
 +| v1    201X-XX  | - |  -  | - |
 +
 +
 +**NOTE:** Anything not included in model specific notes, or where a short comment couldn't be included on the [[#notes]].
 +
 +
 +
 +===== Hardware Highlights =====
 +
 +^ Ver ^ CPU ^ Ram ^ Flash ^ Network ^ Wireless ^ USB ^ Serial ^ JTag ^ Wiki ^ FCC ^
 +| v1 | Ralink RT6856F | 64MiB | 8MiB | 1x WAN | RT5592 | No | Yes | [[#notes]] | | Q87-WAP300N |  
 +
 +Manufacturer's site: http://www.linksys.com/
 +
 +Forum: [[https://forum.openwrt.org/viewtopic.php?id=???]]
 +
 +
 +
 +==== Flash Layout ====
 +^ Layer0 |  raw flash  ||||
 +^ Layer1 |  Bootloader  |  Config    Factory  |  Kernel  |
 +^ Layer2 | U-Boot 1.1.3 |:::|:::| LZMA uImage |
 +^ Layer3 |:::|:::|:::| kernel + LZMA cpio rootfs + stuff |
 +
 +
 +
 +
 +=== Specific values you need ===
 +
 +| Bootloader tftp client IPv4 address | 192.168.1.1 |
 +| Firmware tftp image | um_factory_fw.bin |
 +| TFTP Transfer Window | FILL-IN seconds |
 +| TFTP Window Start | approximately FILL-IN seconds after power on |
 +| TFTP Server Required IP Address | 192.168.1.100 |
 +
 +
 +
 +==== Failsafe mode ====
 +-> [[docs:guide-user:troubleshooting:failsafe_and_factory_reset]]
 +
 +==== Buttons ====
 +-> [[docs:guide-user:hardware:hardware.button]] on howto use and configure the hardware button(s).
 +
 +The Linksys WAP300N has two buttons. They are Reset and Secure Easy Setup. Here, we merely name the buttons, so we can use them in the above Howto:
 +^ BUTTON ^ Event ^
 +| Reset | reset | 
 +| Secure Easy Setup | ses | 
 +
 +
 +===== Hardware =====
 +==== Info ====
 +| **[[wp>Instruction set]]:**               | [[wp>MIPS architecture|MIPS]] |
 +| **Vendor:**                               | [[wp>MediaTek]] |
 +| **[[docs:techref:bootloader]]:**           | [[docs:techref:bootloader:uboot|U-Boot]] / [[docs:techref:bootloader:redboot]] / [[docs:techref:bootloader:cfe]] / ... |
 +| **[[docs:techref:hardware:soc|System-On-Chip]]:**  | Ralink RT6856F  |
 +| **[[docs:techref:hardware:cpu|CPU]] @Frq**         | MIPS @700MHz MIPS24KEc  |
 +| **Flash size:**                 | 8192 KiB |
 +| **Flash Chip:**                 | [[http://pdf1.alldatasheet.com/datasheet-pdf/view/575487/MCNIX/MX25L6406EM2I12G.html|MX25L64]] |
 +| **RAM size:**                   | 64 MiB   |
 +| **RAM Chip:**                   | [[http://http://www.etron.com/manager/uploads/EM68B16CWQD_rev1.2.pdf |EM68B16]]  |
 +| **Wireless No1:**               | RT5592N  |
 +| **[[docs:techref:hardware:internet.access.technologies|Modem]]:**   | //none// |
 +| **USB:**                        | NO |
 +| **[[docs:techref:hardware:port.serial|Serial]]:**  | [[#Serial|Yes]] |
 +| **[[docs:techref:hardware:port.jtag|JTAG]]:**      | [[#JTAG|Probably Yes]]   |
 +
 +==== Photos ====
 +Model Number
 +
 +//Front://
 +
 +**Photo of front of the casing**
 +
 +//Back://
 +
 +**Photo of back of the casing**
 +
 +==== Opening the case ====
 +**Note:** This will void your warranty!
 +
 +  * To remove the cover remove **3** plastic bumpers back of the device and screws.
 +
 +{{https://www.dropbox.com/s/9vhz46o6d8ac08z/IMG_20150507_135412.jpg?dl=0}}
 +
 +//Main PCB//
 +
 +**Photo of PCB**
 +
 +[[https://fccid.io/png.php?id=3188787&page=1]]
 +
 +==== Serial ====
 +-> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc.
 +
 +How to connect to the Serial Port of this specific device:
 +
 +**Photo of PCB with markings**
 +{{media:linksys:wap300n_serial.jpg?400|}}
 +==== JTAG ====
 +-> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc.
 +
 +How to connect to the JTAG Port of this specific device:
 +
 +**Photo of PCB with markings**
 +
 +{{https://www.dropbox.com/s/0n42ckxd6q9ynkv/IMG_20150507_135030.jpg?dl=0}}
 +
 +
 +===== Debricking =====
 +-> [[docs:guide-user:troubleshooting:generic.debrick]]
 +
 +===== Bootloader Mods =====
 +
 +Currently none.
 +
 +===== OEM info =====
 +<WRAP bootlog><nowiki># cat /proc/version 
 +Linux version 2.6.36-svn14734 (root@SWRD) (gcc version 3.4.2) #1 Thu Mar 10 15:30:34 CST 2016
 +# cat /proc/cmdline 
 + es=1 root=/dev/ram0  console=ttyS0
 +# cat /proc/cpuinfo 
 +system type             : Ralink RT63165 SOC
 +processor               : 0
 +cpu model               : MIPS 34Kc V5.5
 +BogoMIPS                : 465.30
 +wait instruction        : yes
 +microsecond timers      : yes
 +tlb_entries             : 32
 +extra interrupt vector  : yes
 +hardware watchpoint     : yes, count: 4, address/irw mask: [0x0004, 0x044c, 0x0ff8, 0x0953]
 +ASEs implemented        : mips16 dsp mt
 +shadow register sets    : 1
 +core                    : 0
 +VCED exceptions         : not available
 +VCEI exceptions         : not available
 +# free
 +              total         used         free       shared      buffers
 +  Mem:        61400        30212        31188            0            0
 + Swap:            0            0            0
 +Total:        61400        30212        31188
 +# cat /proc/mtd 
 +dev:    size   erasesize  name
 +mtd0: 00800000 00010000 "ALL"
 +mtd1: 00030000 00010000 "Bootloader"
 +mtd2: 00010000 00010000 "Config"
 +mtd3: 00010000 00010000 "Factory"
 +mtd4: 007b0000 00010000 "Kernel"
 +</nowiki>
 +</WRAP>\\
 +
 +===== Bootlogs =====
 +==== OEM bootlog ====
 +
 +<WRAP bootlog>
 +<nowiki>U-Boot 1.1.3 (Nov 23 2012 - 12:00:39)
 +
 +Board: Ralink APSoC DRAM:  64 MB
 +relocate_code Pointer at: 83f18000
 +</nowiki>
 +</WRAP>\\
 +
 +==== OpenWrt bootlog ====
 +
 +<WRAP bootlog>
 +<nowiki>COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING</nowiki>
 +</WRAP>\\
 +
 +===== Notes =====
 +
 +
 +===== Tags =====
 +[[meta:tags|How to add tags]]
 +{{tag>GigabitEthernet FastEthernet 1NIC 1WNIC 5Port USB 2USB ath9k DetachableAntenna 64RAM 8Flash MIPS MIPS32 34K}}
  • Last modified: 2021/05/28 07:42
  • by danitool