Difference between revisions of "Flameman/tl-WR703N"
< Flameman
(Created page with "For more interesting projects done by Flameman&Legacy, be sure to checkout his project index workining progress Image:mips-tl-WR703N-board.jpg...") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
workining progress | workining progress | ||
+ | = info = | ||
+ | |||
+ | == image of the board == | ||
[[Image:mips-tl-WR703N-board.jpg]] | [[Image:mips-tl-WR703N-board.jpg]] | ||
− | [[Category: | + | - Atheros AR7240 CPU @ 400Mhz (MIPS24k core) |
+ | - Atheros AR9331 Chipset (wireless, 802.11 b/g/n 150Mbps) | ||
+ | - ethernet 10/100 Mbit | ||
+ | - flash 4 MByte | ||
+ | - ram 32 MByte | ||
+ | - USB 2.0 | ||
+ | - 5.7 x 5.7 x 1.8 cm, 118 g | ||
+ | |||
+ | == snapshot of the modified bootloader == | ||
+ | |||
+ | modified boot loader, linux kernel 2.6.39 + ramrootfs uclibc | ||
+ | |||
+ | <pre> | ||
+ | hAllo AP121 (AR9331) TL-WR703N MY-BOOT v1.1.4/r3 | ||
+ | DRAM: 32 MB | ||
+ | FLASH: Macronix MX25L8005PC-15G | ||
+ | setting MAC address .. ok | ||
+ | initializing ethernet .. ok | ||
+ | clearing bootcmd tftpboot area .. ok | ||
+ | executing bootcmd .. ok | ||
+ | Executing: tftpboot 0x80060000 gentoo-tl-WR703N.img | ||
+ | Link down: eth0 | ||
+ | Link down: eth1 | ||
+ | Executing: tftpboot 0x80060000 gentoo-tl-WR703N.img | ||
+ | Ethernet mode (duplex/speed): 1/100 Mbps | ||
+ | |||
+ | TFTP from IP: 192.168.1.14 | ||
+ | Our IP: 192.168.1.4 | ||
+ | Filename: 'gentoo-tl-WR703N.img' | ||
+ | Load address: 0x80060000 | ||
+ | Using: eth0 | ||
+ | |||
+ | Loading: ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ######################################## | ||
+ | ################################## | ||
+ | |||
+ | TFTP transfer complete! | ||
+ | |||
+ | Bytes transferred: 14916064 (0xe399e0) | ||
+ | </pre> | ||
+ | |||
+ | == snapshot of the booting kernel == | ||
+ | |||
+ | <pre> | ||
+ | Executing: go 80060400 | ||
+ | ## Starting application at 0x80060400 ... | ||
+ | 2.6.39Flesh-Eating-Bats-TL-WR703N | ||
+ | #18 Sun Nov 3 19:20:15 CET 2013 | ||
+ | bootconsole [early0] enabled | ||
+ | CPU revision is: 00019374 (MIPS 24Kc) | ||
+ | SoC: Atheros AR9330 rev 1 | ||
+ | Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz | ||
+ | Determined physical RAM map: | ||
+ | memory: 02000000 @ 00000000 (usable) | ||
+ | Initrd not found or empty - disabling initrd | ||
+ | Zone PFN ranges: | ||
+ | Normal 0x00000000 -> 0x00002000 | ||
+ | Movable zone start PFN for each node | ||
+ | early_node_map[1] active PFN ranges | ||
+ | 0: 0x00000000 -> 0x00002000 | ||
+ | Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 | ||
+ | Kernel command line: board=TL-WR703N console=ttyATH0,115200 rdinit=/sbin/init init=/bin/bash | ||
+ | PID hash table entries: 128 (order: -3, 512 bytes) | ||
+ | Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) | ||
+ | Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) | ||
+ | Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. | ||
+ | Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes | ||
+ | Writing ErrCtl register=00000000 | ||
+ | Readback ErrCtl register=00000000 | ||
+ | Memory: 17384k/32768k available (2538k kernel code, 15384k reserved, 444k data, 11584k init, 0k highmem) | ||
+ | SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 | ||
+ | NR_IRQS:80 | ||
+ | Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) | ||
+ | pid_max: default: 32768 minimum: 301 | ||
+ | Mount-cache hash table entries: 512 | ||
+ | NET: Registered protocol family 16 | ||
+ | MIPS: machine is TP-LINK TL-WR703N v1 | ||
+ | ar71xx: eth0 in_MAC address 0:0:0:0:0:0 | ||
+ | ar71xx: eth0 magic MAC address 0:3:7f:9:b:ad | ||
+ | ar71xx: eth0 magic_MAC address 0:3:7f:9:b:ad | ||
+ | ar71xx: eth0 my_MAC address 0:3:7f:9:b:ad | ||
+ | bio: create slab <bio-0> at 0 | ||
+ | usbcore: registered new interface driver usbfs | ||
+ | usbcore: registered new interface driver hub | ||
+ | usbcore: registered new device driver usb | ||
+ | Switching to clocksource MIPS | ||
+ | NET: Registered protocol family 2 | ||
+ | IP route cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
+ | TCP established hash table entries: 1024 (order: 1, 8192 bytes) | ||
+ | TCP bind hash table entries: 1024 (order: 0, 4096 bytes) | ||
+ | TCP: Hash tables configured (established 1024 bind 1024) | ||
+ | TCP reno registered | ||
+ | UDP hash table entries: 256 (order: 0, 4096 bytes) | ||
+ | UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) | ||
+ | NET: Registered protocol family 1 | ||
+ | squashfs: version 4.0 (2009/01/31) Phillip Lougher | ||
+ | JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
+ | fuse init (API version 7.16) | ||
+ | msgmni has been set to 33 | ||
+ | io scheduler noop registered | ||
+ | io scheduler deadline registered (default) | ||
+ | Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled | ||
+ | ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART | ||
+ | console [ttyATH0] enabled, bootconsole disabled | ||
+ | console [ttyATH0] enabled, bootconsole disabled | ||
+ | Atheros AR71xx SPI Controller driver version 0.2.4 | ||
+ | m25p80 spi0.0: found mx25l8005, expected m25p80 | ||
+ | m25p80 spi0.0: mx25l8005 (1024 Kbytes) | ||
+ | Searching for RedBoot partition table in spi0.0 at offset 0xe0000 | ||
+ | Searching for RedBoot partition table in spi0.0 at offset 0xf0000 | ||
+ | Algorithmics/MIPS FPU Emulator v1.5 | ||
+ | ag71xx_mdio: probed | ||
+ | eth0: Atheros AG71xx at 0xb9000000, irq 4 | ||
+ | ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver | ||
+ | ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller | ||
+ | ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1 | ||
+ | ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000 | ||
+ | ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00 | ||
+ | hub 1-0:1.0: USB hub found | ||
+ | hub 1-0:1.0: 1 port detected | ||
+ | usbcore: registered new interface driver usbserial | ||
+ | usbserial: USB Serial Driver core | ||
+ | Atheros AR71xx hardware watchdog driver version 0.1.0 | ||
+ | IPv4 over IPv4 tunneling driver | ||
+ | TCP westwood registered | ||
+ | NET: Registered protocol family 17 | ||
+ | 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> | ||
+ | All bugs added by David S. Miller <davem@redhat.com> | ||
+ | Freeing unused kernel memory: 11584k freed | ||
+ | |||
+ | i n i t | ||
+ | e a r l y r a m r o o t f s | ||
+ | |||
+ | [*] kernel-wait | ||
+ | kernel waiting ... | ||
+ | [*] environment | ||
+ | [*] mount | ||
+ | [*] dev | ||
+ | adding /dev/initctl | ||
+ | [*] ttykeymaps | ||
+ | /dev/tty0 /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 /dev/tty7 | ||
+ | /dev/ttyS0 /dev/ttyS1 | ||
+ | [*] machine-identify | ||
+ | no netdevs identified, using eth0 | ||
+ | [*] networking | ||
+ | net.up []={ eth0 } | ||
+ | [*] rtc-dev | ||
+ | [*] rtc-dummy | ||
+ | [*] hostname | ||
+ | [*] telnetd | ||
+ | [*] env-shared-libraries | ||
+ | [*] tiniweb | ||
+ | [*] tiniweb-machine-info | ||
+ | [*] issue | ||
+ | [*] sshd | ||
+ | [*] mysync | ||
+ | [*] machine-specific | ||
+ | [*] rtc | ||
+ | eth0: link up (100Mbps/Full duplex) | ||
+ | |||
+ | calling shell | ||
+ | i n s e r t c o i n s p l e a s e | ||
+ | |||
+ | uc-earlyrootfs / # | ||
+ | </pre> | ||
+ | |||
+ | == Useful link == | ||
+ | |||
+ | * [http://linksprite.com/wiki/index.php5?title=TL-WR703N_Clone_With_OPENWRT,_USB_Camera_Support,_TTL_UART USB Camera Support] | ||
+ | |||
+ | [[Category:mips]] | ||
+ | [[Category:router]] | ||
+ | [[Category:linux]] |
Revision as of 02:49, 10 December 2013
For more interesting projects done by Flameman&Legacy, be sure to checkout his project index
workining progress
Contents
info
image of the board
- Atheros AR7240 CPU @ 400Mhz (MIPS24k core)
- Atheros AR9331 Chipset (wireless, 802.11 b/g/n 150Mbps)
- ethernet 10/100 Mbit
- flash 4 MByte
- ram 32 MByte
- USB 2.0
- 5.7 x 5.7 x 1.8 cm, 118 g
snapshot of the modified bootloader
modified boot loader, linux kernel 2.6.39 + ramrootfs uclibc
hAllo AP121 (AR9331) TL-WR703N MY-BOOT v1.1.4/r3 DRAM: 32 MB FLASH: Macronix MX25L8005PC-15G setting MAC address .. ok initializing ethernet .. ok clearing bootcmd tftpboot area .. ok executing bootcmd .. ok Executing: tftpboot 0x80060000 gentoo-tl-WR703N.img Link down: eth0 Link down: eth1 Executing: tftpboot 0x80060000 gentoo-tl-WR703N.img Ethernet mode (duplex/speed): 1/100 Mbps TFTP from IP: 192.168.1.14 Our IP: 192.168.1.4 Filename: 'gentoo-tl-WR703N.img' Load address: 0x80060000 Using: eth0 Loading: ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ######################################## ################################## TFTP transfer complete! Bytes transferred: 14916064 (0xe399e0)
snapshot of the booting kernel
Executing: go 80060400 ## Starting application at 0x80060400 ... 2.6.39Flesh-Eating-Bats-TL-WR703N #18 Sun Nov 3 19:20:15 CET 2013 bootconsole [early0] enabled CPU revision is: 00019374 (MIPS 24Kc) SoC: Atheros AR9330 rev 1 Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz Determined physical RAM map: memory: 02000000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00002000 Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00002000 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 Kernel command line: board=TL-WR703N console=ttyATH0,115200 rdinit=/sbin/init init=/bin/bash PID hash table entries: 128 (order: -3, 512 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 17384k/32768k available (2538k kernel code, 15384k reserved, 444k data, 11584k init, 0k highmem) SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:80 Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 NET: Registered protocol family 16 MIPS: machine is TP-LINK TL-WR703N v1 ar71xx: eth0 in_MAC address 0:0:0:0:0:0 ar71xx: eth0 magic MAC address 0:3:7f:9:b:ad ar71xx: eth0 magic_MAC address 0:3:7f:9:b:ad ar71xx: eth0 my_MAC address 0:3:7f:9:b:ad bio: create slab <bio-0> at 0 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource MIPS NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 squashfs: version 4.0 (2009/01/31) Phillip Lougher JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. fuse init (API version 7.16) msgmni has been set to 33 io scheduler noop registered io scheduler deadline registered (default) Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART console [ttyATH0] enabled, bootconsole disabled console [ttyATH0] enabled, bootconsole disabled Atheros AR71xx SPI Controller driver version 0.2.4 m25p80 spi0.0: found mx25l8005, expected m25p80 m25p80 spi0.0: mx25l8005 (1024 Kbytes) Searching for RedBoot partition table in spi0.0 at offset 0xe0000 Searching for RedBoot partition table in spi0.0 at offset 0xf0000 Algorithmics/MIPS FPU Emulator v1.5 ag71xx_mdio: probed eth0: Atheros AG71xx at 0xb9000000, irq 4 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1 ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000 ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usbcore: registered new interface driver usbserial usbserial: USB Serial Driver core Atheros AR71xx hardware watchdog driver version 0.1.0 IPv4 over IPv4 tunneling driver TCP westwood registered NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> Freeing unused kernel memory: 11584k freed i n i t e a r l y r a m r o o t f s [*] kernel-wait kernel waiting ... [*] environment [*] mount [*] dev adding /dev/initctl [*] ttykeymaps /dev/tty0 /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 /dev/tty7 /dev/ttyS0 /dev/ttyS1 [*] machine-identify no netdevs identified, using eth0 [*] networking net.up []={ eth0 } [*] rtc-dev [*] rtc-dummy [*] hostname [*] telnetd [*] env-shared-libraries [*] tiniweb [*] tiniweb-machine-info [*] issue [*] sshd [*] mysync [*] machine-specific [*] rtc eth0: link up (100Mbps/Full duplex) calling shell i n s e r t c o i n s p l e a s e uc-earlyrootfs / #