Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:linksys:wrt150n [2014/01/30 09:40] – layout / wikisyntax bittorf.bastian | toh:linksys:wrt150n [2019/10/10 13:37] – someothertime | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Linksys WRT150N ====== | ||
| + | {{section> | ||
| + | |||
| + | * tried r39412 and it works without issues | ||
| + | * below is nvram without correction from '/ | ||
| + | * then boot/ | ||
| + | * and some some old stuff | ||
| + | |||
| + | < | ||
| + | root@OpenWrt:/# | ||
| + | blink_diag_led=1 | ||
| + | boardflags2=0 | ||
| + | boardflags=0x0010 | ||
| + | boardnum=42 | ||
| + | boardrev=0x10 | ||
| + | boardtype=0x0472 | ||
| + | boot_hw_model=WRT150N | ||
| + | boot_hw_ver=1 | ||
| + | boot_ver=v4.3 | ||
| + | boot_wait=off | ||
| + | bootnv_ver=2 | ||
| + | cardbus=1 | ||
| + | clkfreq=264 | ||
| + | diag_gpio=1 | ||
| + | dl_ram_addr=a0001000 | ||
| + | et0macaddr=00: | ||
| + | et0mdcport=0 | ||
| + | et0phyaddr=30 | ||
| + | et1macaddr=00: | ||
| + | et1mdcport=0 | ||
| + | et1phyaddr=4 | ||
| + | lan_ipaddr=192.168.1.1 | ||
| + | lan_netmask=255.255.255.0 | ||
| + | mfg_wait=on | ||
| + | os_flash_addr=bfc40000 | ||
| + | os_ram_addr=80001000 | ||
| + | parkid=0 | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pci/ | ||
| + | pmon_ver=CFE 4.101.27.0 | ||
| + | scratch=a0180000 | ||
| + | sdram_config=0x0062 | ||
| + | sdram_init=0x054B | ||
| + | sdram_ncdl=0x208 | ||
| + | sdram_refresh=0x0 | ||
| + | sromrev=4 | ||
| + | tftpd_ipaddr=192.168.1.254 | ||
| + | wait_time=3 | ||
| + | watchdog=5000 | ||
| + | wl0gpio0=8 | ||
| + | </ | ||
| + | |||
| + | klog/dmesg: | ||
| + | <WRAP bootlog> | ||
| + | < | ||
| + | [ 0.000000] CPU revision is: 00029006 (Broadcom BMIPS3300) | ||
| + | [ 0.000000] bcm47xx: using ssb bus | ||
| + | [ 0.000000] ssb: Found chip with id 0x4704, rev 0x09 and package 0x00 | ||
| + | [ 0.000000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243) | ||
| + | [ 0.000000] ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243) | ||
| + | [ 0.000000] ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243) | ||
| + | [ 0.000000] ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243) | ||
| + | [ 0.000000] ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243) | ||
| + | [ 0.000000] ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x03, vendor 0x4243) | ||
| + | [ 0.000000] ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243) | ||
| + | [ 0.000000] ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243) | ||
| + | [ 0.000000] ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x02, vendor 0x4243) | ||
| + | [ 0.000000] ssb: chipcommon status is 0x0 | ||
| + | [ 0.000000] ssb: Initializing MIPS core... | ||
| + | [ 0.000000] ssb: set_irq: core 0x0806, irq 4 => 4 | ||
| + | [ 0.000000] ssb: set_irq: core 0x0806, irq 5 => 5 | ||
| + | [ 0.000000] ssb: set_irq: core 0x0808, irq 6 => 2 | ||
| + | [ 0.000000] ssb: set_irq: core 0x0804, irq 2 => 6 | ||
| + | [ 0.000000] ssb: after irq reconfiguration | ||
| + | [ 0.000000] ssb: core 0x0800, irq : 2(S) 3* 4 5 6 D I | ||
| + | [ 0.000000] ssb: core 0x0806, irq : 2(S) 3 4* 5 6 D I | ||
| + | [ 0.000000] ssb: core 0x0806, irq : 2(S) 3 4 5* 6 D I | ||
| + | [ 0.000000] ssb: core 0x0808, irq : 2(S)* 3 4 5 6 D I | ||
| + | [ 0.000000] ssb: core 0x0804, irq : 2(S) 3 4 5 6* D I | ||
| + | [ 0.000000] ssb: core 0x0816, irq : 2(S)* 3 4 5 6 D I | ||
| + | [ 0.000000] ssb: core 0x0807, irq : 2(S)* 3 4 5 6 D I | ||
| + | [ 0.000000] ssb: core 0x080b, irq : 2(S)* 3 4 5 6 D I | ||
| + | [ 0.000000] ssb: core 0x080f, irq : 2(S) 3 4 5 6 D I* | ||
| + | [ 0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000 | ||
| + | [ 0.000000] MIPS: machine is Linksys WRT150N V1 | ||
| + | [ 0.000000] Determined physical RAM map: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initrd not found or empty - disabling initrd | ||
| + | [ 0.000000] Zone ranges: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Movable zone start for each node | ||
| + | [ 0.000000] Early memory node ranges | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] On node 0 totalpages: 4096 | ||
| + | [ 0.000000] free_area_init_node: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes. | ||
| + | [ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes | ||
| + | [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 | ||
| + | [ 0.000000] pcpu-alloc: [0] 0 | ||
| + | [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 | ||
| + | [ 0.000000] Kernel command line: noinitrd console=ttyS0, | ||
| + | [ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes) | ||
| + | [ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) | ||
| + | [ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | [ 0.000000] Memory: 12748k/ | ||
| + | [ 0.000000] NR_IRQS:128 | ||
| + | [ 0.070000] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816) | ||
| + | [ 0.070000] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.070000] Mount-cache hash table entries: 512 | ||
| + | [ 0.070000] NET: Registered protocol family 16 | ||
| + | [ 0.110000] bio: create slab < | ||
| + | [ 0.120000] Switching to clocksource MIPS | ||
| + | [ 0.130000] ssb: PCIcore in host mode found | ||
| + | [ 0.430000] PCI host bridge to bus 0000:00 | ||
| + | [ 0.430000] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff] | ||
| + | [ 0.430000] pci_bus 0000:00: root bus resource [io 0x0100-0x07ff] | ||
| + | [ 0.430000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] | ||
| + | [ 0.430000] pci 0000: | ||
| + | [ 0.430000] ssb: PCI: Fixing up bridge 0000: | ||
| + | [ 0.430000] pci 0000: | ||
| + | [ 0.430000] ssb: PCI: Fixing up device 0000: | ||
| + | [ 0.430000] ssb: PCI: Fixing latency timer of device 0000: | ||
| + | [ 0.430000] pci 0000: | ||
| + | [ 0.430000] pci 0000: | ||
| + | [ 0.430000] pci 0000: | ||
| + | [ 0.430000] pci 0000: | ||
| + | [ 0.430000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 | ||
| + | [ 0.430000] pci 0000: | ||
| + | [ 0.440000] PCI: Enabling device 0000: | ||
| + | [ 0.440000] ssb: PCI: Fixing up device 0000: | ||
| + | [ 0.440000] b43-pci-bridge 0000: | ||
| + | [ 0.480000] ssb: Found chip with id 0x4321, rev 0x01 and package 0x01 | ||
| + | [ 0.480000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x12, vendor 0x4243) | ||
| + | [ 0.480000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x0B, vendor 0x4243) | ||
| + | [ 0.480000] ssb: Core 2 found: PCI-E (cc 0x820, rev 0x02, vendor 0x4243) | ||
| + | [ 0.480000] ssb: Core 3 found: PCI (cc 0x804, rev 0x0D, vendor 0x4243) | ||
| + | [ 0.480000] ssb: Core 4 found: USB 1.1 Host (cc 0x817, rev 0x04, vendor 0x4243) | ||
| + | [ 0.520000] ssb: chipcommon status is 0x0 | ||
| + | [ 0.520000] ssb: SPROM offset is 0x1000 | ||
| + | [ 0.540000] can not parse nvram name pci/ | ||
| + | [ 0.540000] can not parse nvram name pci/ | ||
| + | [ 0.540000] can not parse nvram name pci/ | ||
| + | [ 0.690000] ssb: Using SPROM revision 4 provided by platform | ||
| + | [ 0.730000] ssb: Sonics Silicon Backplane found on PCI device 0000: | ||
| + | [ 0.730000] NET: Registered protocol family 2 | ||
| + | [ 0.730000] TCP established hash table entries: 512 (order: 0, 4096 bytes) | ||
| + | [ 0.730000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) | ||
| + | [ 0.740000] TCP: Hash tables configured (established 512 bind 512) | ||
| + | [ 0.740000] TCP: reno registered | ||
| + | [ 0.740000] UDP hash table entries: 256 (order: 0, 4096 bytes) | ||
| + | [ 0.740000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) | ||
| + | [ 0.740000] NET: Registered protocol family 1 | ||
| + | [ 0.740000] PCI: CLS 0 bytes, default 16 | ||
| + | [ 0.750000] squashfs: version 4.0 (2009/ | ||
| + | [ 0.750000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
| + | [ 0.750000] msgmni has been set to 24 | ||
| + | [ 0.750000] io scheduler noop registered | ||
| + | [ 0.750000] io scheduler deadline registered (default) | ||
| + | [ 0.750000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled | ||
| + | [ 0.790000] serial8250.0: | ||
| + | [ 1.140000] console [ttyS0] enabled | ||
| + | [ 1.160000] serial8250.0: | ||
| + | [ 1.180000] physmap platform flash device: 02000001 at 1c000000 | ||
| + | [ 1.180000] physmap-flash.0: | ||
| + | [ 1.200000] physmap-flash.0: | ||
| + | [ 1.200000] physmap-flash.0: | ||
| + | [ 1.200000] physmap-flash.0: | ||
| + | [ 1.200000] physmap-flash.0: | ||
| + | [ 1.200000] physmap-flash.0: | ||
| + | [ 1.200000] physmap-flash.0: | ||
| + | [ 1.200000] physmap-flash.0: | ||
| + | [ 1.200000] Amd/Fujitsu Extended Query Table at 0x0040 | ||
| + | [ 1.200000] | ||
| + | [ 1.210000] physmap-flash.0: | ||
| + | [ 1.210000] number of CFI chips: 1 | ||
| + | [ 1.220000] 6 bcm47xxpart partitions found on MTD device physmap-flash.0 | ||
| + | [ 1.230000] Creating 6 MTD partitions on " | ||
| + | [ 1.230000] 0x000000000000-0x000000040000 : " | ||
| + | [ 1.240000] 0x000000040000-0x0000003f0000 : " | ||
| + | [ 1.250000] 0x00000004001c-0x000000040960 : " | ||
| + | [ 1.260000] 0x000000040960-0x000000149c00 : " | ||
| + | [ 1.270000] mtd: partition " | ||
| + | [ 1.290000] 0x000000149c00-0x0000003f0000 : " | ||
| + | [ 1.290000] mtd: partition " | ||
| + | [ 1.310000] mtd: device 4 (rootfs) set to be root filesystem | ||
| + | [ 1.310000] mtd: partition " | ||
| + | [ 1.320000] 0x000000320000-0x0000003f0000 : " | ||
| + | [ 1.330000] 0x0000003f0000-0x000000400000 : " | ||
| + | [ 1.360000] libphy: Fixed MDIO Bus: probed | ||
| + | [ 1.360000] bcm47xx-wdt bcm47xx-wdt.0: | ||
| + | [ 1.370000] GPIO_WDT: failed to register misc device | ||
| + | [ 1.380000] TCP: cubic registered | ||
| + | [ 1.380000] NET: Registered protocol family 17 | ||
| + | [ 1.390000] Bridge firewalling registered | ||
| + | [ 1.390000] can: controller area network core (rev 20120528 abi 9) | ||
| + | [ 1.400000] NET: Registered protocol family 29 | ||
| + | [ 1.400000] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 1.420000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. | ||
| + | [ 1.430000] Freeing unused kernel memory: 184K (802f2000 - 80320000) | ||
| + | [ 6.390000] pps_core: LinuxPPS API ver. 1 registered | ||
| + | [ 6.390000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti < | ||
| + | [ 6.410000] PTP clock support registered | ||
| + | [ 6.420000] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0 | ||
| + | [ 6.440000] libphy: b44_eth_mii: | ||
| + | [ 6.460000] b53_common: found switch: BCM5325, rev 0 | ||
| + | [ 6.460000] b44 ssb0:0: attached PHY driver [Broadcom B53 (1)] (mii_bus: | ||
| + | [ 6.470000] b44 ssb0:0 eth0: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00: | ||
| + | [ 6.490000] libphy: b44_eth_mii: | ||
| + | [ 6.490000] b44 ssb0:1: could not find PHY at 4, use fixed one | ||
| + | [ 6.500000] b44 ssb0:1: attached PHY driver [Generic PHY] (mii_bus: | ||
| + | [ 6.500000] b44 ssb0:1 eth1: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00: | ||
| + | [ 6.520000] bgmac: Broadcom 47xx GBit MAC driver loaded | ||
| + | [ 7.150000] b44 ssb0:0 eth0: Link is up at 100 Mbps, half duplex | ||
| + | [ 7.160000] b44 ssb0:0 eth0: Flow control is off for TX and off for RX | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | </ | ||
| + | |||
| + | ==== An account of flashing OpenWrt to a WRT150N ==== | ||
| + | |||
| + | * The router is a LinkSys WRT150N. | ||
| + | * Did a 30/30/30 reset | ||
| + | * Joined a laptop to the router with a patch cable | ||
| + | * Configured the laptop as '' | ||
| + | * Browsed to '' | ||
| + | * Username: '' | ||
| + | * Navigated to // | ||
| + | * NOTE: This image is old -> please visit [[http:// | ||
| + | * legacy Uploaded [[http:// | ||
| + | |||
| + | After a short while, '' | ||
| + | |||
| + | PORT STATE SERVICE | ||
| + | 22/tcp open ssh | ||
| + | 23/tcp open telnet | ||
| + | 53/tcp open domain | ||
| + | 80/tcp open http | ||
| + | |||
| + | [[docs: | ||
| + | |||
| + | |||
| + | route add default gw 192.168.1.2 | ||
| + | vi / | ||
| + | opkg update | ||
| + | opkg install kmod-brcm-wl-mimo | ||
| + | reboot | ||
| + | |||
| + | |||
| + | ==== Why you should use brcm-2.4 ==== | ||
| + | |||
| + | The '' | ||
| + | |||
| + | b43-phy0: Broadcom 4321 WLAN found (core revision 11) | ||
| + | b43-phy0 ERROR: FOUND UNSUPPORTED PHY (Analog 5, Type 4, Revision 1) | ||
| + | b43: probe of ssb1:0 failed with error -122 | ||
| + | |||
| + | ..in the kernel log and no wireless interface. | ||
| + | |||
| + | |||
| + | ==== Hardware ==== | ||
| + | |||
| + | ''/ | ||
| + | |||
| + | system type : Broadcom BCM4704 chip rev 9 | ||
| + | processor : | ||
| + | cpu model : BCM3302 V0.6 | ||
| + | BogoMIPS : 263.78 | ||
| + | wait instruction : | ||
| + | microsecond timers : yes | ||
| + | tlb_entries : | ||
| + | extra interrupt vector : no | ||
| + | hardware watchpoint : | ||
| + | VCED exceptions : | ||
| + | VCEI exceptions : | ||
| + | |||
| + | ''/ | ||
| + | |||
| + | PCI devices found: | ||
| + | Bus 0, device | ||
| + | Class 0501: PCI device 14e4:0800 (rev 9). | ||
| + | IRQ 3. | ||
| + | Non-prefetchable 32 bit memory at 0x18000000 [0x18000fff]. | ||
| + | Non-prefetchable 32 bit memory at 0x1fc00000 [0x1fffffff]. | ||
| + | Non-prefetchable 32 bit memory at 0x1c000000 [0x1dffffff]. | ||
| + | Non-prefetchable 32 bit memory at 0x1a000000 [0x1bffffff]. | ||
| + | Bus 0, device | ||
| + | Class 0200: PCI device 14e4:4713 (rev 9). | ||
| + | IRQ 4. | ||
| + | Master Capable. | ||
| + | Non-prefetchable 32 bit memory at 0x18001000 [0x18001fff]. | ||
| + | Bus 0, device | ||
| + | Class 0200: PCI device 14e4:4713 (rev 9). | ||
| + | IRQ 5. | ||
| + | Master Capable. | ||
| + | Non-prefetchable 32 bit memory at 0x18002000 [0x18002fff]. | ||
| + | Bus 0, device | ||
| + | Class 0c03: PCI device 14e4:4715 (rev 9). | ||
| + | IRQ 6. | ||
| + | Non-prefetchable 32 bit memory at 0x18003000 [0x18003fff]. | ||
| + | Bus 0, device | ||
| + | Class 0604: PCI device 14e4:0804 (rev 9). | ||
| + | IRQ 2. | ||
| + | Non-prefetchable 32 bit memory at 0x18004000 [0x18004fff]. | ||
| + | Non-prefetchable 32 bit memory at 0x8000000 [0xfffffff]. | ||
| + | Bus 0, device | ||
| + | Class 0b30: PCI device 14e4:0816 (rev 9). | ||
| + | IRQ 2. | ||
| + | Non-prefetchable 32 bit memory at 0x18005000 [0x18005fff]. | ||
| + | Bus 0, device | ||
| + | Class 0703: PCI device 14e4:4712 (rev 9). | ||
| + | IRQ 2. | ||
| + | Non-prefetchable 32 bit memory at 0x18006000 [0x18006fff]. | ||
| + | Bus 0, device | ||
| + | Class 1000: PCI device 14e4:4718 (rev 9). | ||
| + | IRQ 2. | ||
| + | Non-prefetchable 32 bit memory at 0x18007000 [0x18007fff]. | ||
| + | Bus 0, device | ||
| + | Class 0500: PCI device 14e4:080f (rev 9). | ||
| + | IRQ 3. | ||
| + | Non-prefetchable 32 bit memory at 0x18008000 [0x18008fff]. | ||
| + | Non-prefetchable 32 bit memory at 0x0 [0x7ffffff]. | ||
| + | Non-prefetchable 32 bit memory at 0x10000000 [0x17ffffff]. | ||
| + | Non-prefetchable 32 bit memory at 0x80000000 [0x9fffffff]. | ||
| + | Bus 1, device | ||
| + | Class 0600: PCI device 14e4:4704 (rev 9). | ||
| + | IRQ 2. | ||
| + | Master Capable. | ||
| + | Non-prefetchable 32 bit memory at 0x40000000 [0x40001fff]. | ||
| + | Prefetchable 32 bit memory at 0x0 [0x7ffffff]. | ||
| + | Bus 1, device | ||
| + | Class 0280: PCI device 14e4:4321 (rev 1). | ||
| + | IRQ 2. | ||
| + | Master Capable. | ||
| + | Non-prefetchable 32 bit memory at 0x40004000 [0x40007fff]. | ||
| + | ===== Tags ===== | ||
| + | {{tag> | ||