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/02/17 19:01] – ↷ Links adapted because of a move operation toh: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 [[doc: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 | [[about/latest|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 |
  
  
  
 ==== Failsafe mode ==== ==== Failsafe mode ====
--> [[doc:howto:generic.failsafe]]+-> [[docs:guide-user:troubleshooting:failsafe_and_factory_reset]]
  
 ==== Buttons ==== ==== Buttons ====
--> [[doc:howto:hardware.button]] on howto use and configure the hardware button(s).+-> [[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: 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:
Line 59: Line 73:
 | **[[wp>Instruction set]]:**               | [[wp>MIPS architecture|MIPS]] | | **[[wp>Instruction set]]:**               | [[wp>MIPS architecture|MIPS]] |
 | **Vendor:**                               | [[wp>MediaTek]] | | **Vendor:**                               | [[wp>MediaTek]] |
-| **[[doc:techref:Bootloader]]:**           | [[doc:techref:bootloader:uboot|U-Boot]] / [[doc:techref:bootloader:RedBoot]] / [[doc:techref:bootloader:CFE]] / ... | +| **[[docs:techref:bootloader]]:**           | [[docs:techref:bootloader:uboot|U-Boot]] / [[docs:techref:bootloader:redboot]] / [[docs:techref:bootloader:cfe]] / ... | 
-| **[[doc:hardware:soc|System-On-Chip]]:**  | Ralink RT6856F +| **[[docs:techref:hardware:soc|System-On-Chip]]:**  | Ralink RT6856F 
-| **[[doc:hardware:cpu|CPU]] @Frq**         | MIPS @700MHz MIPS24KEc  |+| **[[docs:techref:hardware:cpu|CPU]] @Frq**         | MIPS @700MHz MIPS24KEc  |
 | **Flash size:**                 | 8192 KiB | | **Flash size:**                 | 8192 KiB |
 | **Flash Chip:**                 | [[http://pdf1.alldatasheet.com/datasheet-pdf/view/575487/MCNIX/MX25L6406EM2I12G.html|MX25L64]] | | **Flash Chip:**                 | [[http://pdf1.alldatasheet.com/datasheet-pdf/view/575487/MCNIX/MX25L6406EM2I12G.html|MX25L64]] |
Line 67: Line 81:
 | **RAM Chip:**                   | [[http://http://www.etron.com/manager/uploads/EM68B16CWQD_rev1.2.pdf |EM68B16]]  | | **RAM Chip:**                   | [[http://http://www.etron.com/manager/uploads/EM68B16CWQD_rev1.2.pdf |EM68B16]]  |
 | **Wireless No1:**               | RT5592N  | | **Wireless No1:**               | RT5592N  |
-| **[[doc/hardware/internet.access.technologies|Modem]]:**   | //none// |+| **[[docs:techref:hardware:internet.access.technologies|Modem]]:**   | //none// |
 | **USB:**                        | NO | | **USB:**                        | NO |
-| **[[doc:hardware:port.serial|Serial]]:**  | [[#Serial|Yes]] | +| **[[docs:techref:hardware:port.serial|Serial]]:**  | [[#Serial|Yes]] | 
-| **[[doc:hardware:port.jtag|JTAG]]:**      | [[#JTAG|Probably Yes]]   |+| **[[docs:techref:hardware:port.jtag|JTAG]]:**      | [[#JTAG|Probably Yes]]   |
  
 ==== Photos ==== ==== Photos ====
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 ====
--> [[doc:hardware:port.serial]] general information about the serial port, serial port cable, etc.+-> [[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: How to connect to the Serial Port of this specific device:
  
 **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 ====
--> [[doc: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.
  
 How to connect to the JTAG Port of this specific device: How to connect to the JTAG Port of this specific device:
Line 116: Line 128:
  
 ===== Debricking ===== ===== Debricking =====
--> [[docs:user-guide:generic.debrick]]+-> [[docs:guide-user:troubleshooting:generic.debrick]]
  
 ===== Bootloader Mods ===== ===== Bootloader Mods =====
  
 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