Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:linksys:wap300n [2018/03/31 23:22] – ↷ Links adapted because of a move operation bobafetthotmailtoh:linksys:wap300n [2020/10/12 05:15] – [Linksys WAP300N] funman
Line 1: Line 1:
 +
 +----
 ====== Linksys WAP300N ====== ====== Linksys WAP300N ======
  
Line 5: Line 7:
 **Currently SoC is not supported.** **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 ===== ===== Versions =====
 ^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
Line 27: Line 39:
  
 ==== Flash Layout ==== ==== Flash Layout ====
-Please check out the article [[docs:techref:flash.layout]]. It contains an example and a couple of explanations.+^ Layer0 |  raw flash  |||| 
 +^ Layer1 |  Bootloader  |  Config    Factory  |  Kernel 
 +^ Layer2 | U-Boot 1.1.3 |:::|:::| LZMA uImage | 
 +^ Layer3 |:::|:::|:::| kernel + LZMA cpio rootfs + stuff |
  
  
Line 34: Line 49:
 === Specific values you need === === Specific values you need ===
  
-| Bootloader tftp server IPv4 address | FILL-IN | +| Bootloader tftp client IPv4 address | 192.168.1.1 
-| Bootloader MAC address (special) | FILL-IN +| Firmware tftp image | um_factory_fw.bin |
-| Firmware tftp image | [[:downloads|Latest OpenWrt release]] (**''NOTE:''** Name must contain //"tftp"//|+
 | TFTP Transfer Window | FILL-IN seconds | | TFTP Transfer Window | FILL-IN seconds |
 | TFTP Window Start | approximately FILL-IN seconds after power on | | TFTP Window Start | approximately FILL-IN seconds after power on |
-| TFTP Client Required IP Address | FILL-IN |+| TFTP Server Required IP Address | 192.168.1.100 |
  
  
Line 94: Line 108:
 **Photo of PCB** **Photo of PCB**
  
-{{https://www.dropbox.com/s/2traro3cm972bsc/IMG_20150507_135046.jpg?dl=0}}+[[https://fccid.io/png.php?id=3188787&page=1]]
  
 ==== Serial ==== ==== Serial ====
Line 102: Line 116:
  
 **Photo of PCB with markings** **Photo of PCB with markings**
- +{{media:linksys:wap300n_serial.jpg?400|}}
-{{https://www.dropbox.com/s/0n42ckxd6q9ynkv/IMG_20150507_135030.jpg?dl=0}} +
 ==== JTAG ==== ==== JTAG ====
 -> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc. -> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc.
Line 121: Line 133:
  
 Currently none. 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 ===== ===== Bootlogs =====
Line 126: Line 173:
  
 <WRAP bootlog> <WRAP bootlog>
-<nowiki>COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE</nowiki>+<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>\\ </WRAP>\\
  
Line 140: Line 191:
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>GigabitEthernet FastEthernet 1NIC 1WNIC 5Port USB 2USB ath9k DetachableAntenna 32RAM 8Flash MIPS MIPS32 34K}}+{{tag>GigabitEthernet FastEthernet 1NIC 1WNIC 5Port USB 2USB ath9k DetachableAntenna 64RAM 8Flash MIPS MIPS32 34K}}
  • Last modified: 2021/05/28 07:42
  • by danitool