Differences
This shows you the differences between two versions of the page.
|
toh:d-link:dsl-524t [2013/01/25 00:15] alessandro_s |
toh:d-link:dsl-524t [2013/03/15 11:09] (current) alessandro_s |
||
|---|---|---|---|
| Line 56: | Line 56: | ||
| | mtd3 | config | 0x903f0000 | 0x90400000 | Original firmware configuration | | | mtd3 | config | 0x903f0000 | 0x90400000 | Original firmware configuration | | ||
| | mtd4 | rootfs_data | 0x90010000 | 0x903f0000 | | | | mtd4 | rootfs_data | 0x90010000 | 0x903f0000 | | | ||
| + | |||
| + | **Take note:** | ||
| + | In order to be able to flash Backfire (10.03.1), //this// partitioning had to be used instead: | ||
| + | |||
| + | ^ **D-Link DSL-524T and OpenWrt** ^^^^^^ | ||
| + | ^ partition ^ Name ^ start ^ end ^ size ^ Description ^ | ||
| + | | mtd2 | loader | 0x90000000 | 0x90010000 | 64 KiB | Bootloader (ADAM2) | | ||
| + | | mtd1 | linux | **0x90010000** | **0x903f0000** | **3968** KiB | Linux kernel | | ||
| + | | mtd0 | rootfs | **0x900a1000** | **0x903f0000** | **3388** KiB | Read-only squashfs + jffs2 filesystem | | ||
| + | | mtd3 | config | 0x903f0000 | 0x90400000 | 64 KiB | Original firmware configuration | | ||
| + | | mtd4 | rootfs_data | 0x90010000 | 0x903f0000 | 3968 KiB | | | ||
| + | |||
| To be more precise, the kernel, once booted, will map another "virtual" partiton as ///dev/mtdblock4// that will point to the newly created jffs2 partition located inside mtd3. Just ignore it for this discussion. | To be more precise, the kernel, once booted, will map another "virtual" partiton as ///dev/mtdblock4// that will point to the newly created jffs2 partition located inside mtd3. Just ignore it for this discussion. | ||
| Line 73: | Line 85: | ||
| *Then, configure your computer using a static IP address on the same subnet as the bootloader (5.8.8.**1** should be fine). | *Then, configure your computer using a static IP address on the same subnet as the bootloader (5.8.8.**1** should be fine). | ||
| *Reboot the router and use a **command-line** FTP client to connect to //ADAM2// using the //my_ipaddress// found before. If it doesn't work, reboot the router and try again, the bootloader will listen for a few seconds before loading the system. | *Reboot the router and use a **command-line** FTP client to connect to //ADAM2// using the //my_ipaddress// found before. If it doesn't work, reboot the router and try again, the bootloader will listen for a few seconds before loading the system. | ||
| - | *Login into the server using username **ADAM2** and password **ADAM2**. | + | *Login into the server using username **ADAM2** and password **ADAM2**. (If you get //"Not logged in, user or password incorrect."// message, type both username and password with lowercase.) |
| *Just to be sure, check that the default partition values match the ones described above (write down them somewhere if you'll ever need to flash the original firmware back): | *Just to be sure, check that the default partition values match the ones described above (write down them somewhere if you'll ever need to flash the original firmware back): | ||
| Line 165: | Line 177: | ||
| *GND | *GND | ||
| *RX | *RX | ||
| + | |||
| + | Refer to the DSL-624T's [[dsl-624t#serial.port]] section for the correct way to interface it with a DTE over an RS-232 serial port. | ||
| The bootloader is using 38400 baud, 8 bits, no parity, 1 stop-bit (38400 8n1): | The bootloader is using 38400 baud, 8 bits, no parity, 1 stop-bit (38400 8n1): | ||
| Line 192: | Line 206: | ||
| ==== Switch Ports (for VLANs) ==== | ==== Switch Ports (for VLANs) ==== | ||
| Unfortunately the driver for the ADM switch doesn't seem to support VLANs. | Unfortunately the driver for the ADM switch doesn't seem to support VLANs. | ||
| + | |||
| + | ==== Backfire (10.03.1) kernel ring-buffer messages ==== | ||
| + | |||
| + | <code> | ||
| + | alessandro@localhost:~$ telnet 192.168.1.1 | ||
| + | Trying 192.168.1.1... | ||
| + | Connected to 192.168.1.1. | ||
| + | Escape character is '^]'. | ||
| + | === IMPORTANT ============================ | ||
| + | Use 'passwd' to set your login password | ||
| + | this will disable telnet and enable SSH | ||
| + | ------------------------------------------ | ||
| + | |||
| + | |||
| + | BusyBox v1.15.3 (2011-11-24 00:44:13 CET) built-in shell (ash) | ||
| + | Enter 'help' for a list of built-in commands. | ||
| + | |||
| + | _______ ________ __ | ||
| + | | |.-----.-----.-----.| | | |.----.| |_ | ||
| + | | - || _ | -__| || | | || _|| _| | ||
| + | |_______|| __|_____|__|__||________||__| |____| | ||
| + | |__| W I R E L E S S F R E E D O M | ||
| + | Backfire (10.03.1, r29592) ------------------------ | ||
| + | * 1/3 shot Kahlua In a shot glass, layer Kahlua | ||
| + | * 1/3 shot Bailey's on the bottom, then Bailey's, | ||
| + | * 1/3 shot Vodka then Vodka. | ||
| + | --------------------------------------------------- | ||
| + | root@OpenWrt:/# dmesg | ||
| + | Linux version 2.6.32.27 (jow@nd-build-02.linux-appliance.net) (gcc version 4.3.3 (GCC) ) #5 Wed Dec 21 01:54:33 CET 2011 | ||
| + | bootconsole [early0] enabled | ||
| + | CPU revision is: 00018448 (MIPS 4KEc) | ||
| + | TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x27 | ||
| + | Determined physical RAM map: | ||
| + | memory: 01000000 @ 14000000 (usable) | ||
| + | Initrd not found or empty - disabling initrd | ||
| + | Zone PFN ranges: | ||
| + | Normal 0x00014000 -> 0x00015000 | ||
| + | Movable zone start PFN for each node | ||
| + | early_node_map[1] active PFN ranges | ||
| + | 0: 0x00014000 -> 0x00015000 | ||
| + | On node 0 totalpages: 4096 | ||
| + | free_area_init_node: node 0, pgdat 9438bc40, node_mem_map 943c8000 | ||
| + | Normal zone: 32 pages used for memmap | ||
| + | Normal zone: 0 pages reserved | ||
| + | Normal zone: 4064 pages, LIFO batch:0 | ||
| + | Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 | ||
| + | Kernel command line: rootfstype=squashfs,jffs2 console=ttyS0,38400n8 | ||
| + | PID hash table entries: 64 (order: -4, 256 bytes) | ||
| + | Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) | ||
| + | Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes. | ||
| + | Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes | ||
| + | Memory: 12352k/16384k available (2255k kernel code, 4032k reserved, 353k data, 136k init, 0k highmem) | ||
| + | Hierarchical RCU implementation. | ||
| + | NR_IRQS:256 | ||
| + | Clocks: prediv: 1, postdiv: 1, mul: 10 | ||
| + | Calibrating delay loop... 149.50 BogoMIPS (lpj=747520) | ||
| + | Mount-cache hash table entries: 512 | ||
| + | NET: Registered protocol family 16 | ||
| + | bio: create slab <bio-0> at 0 | ||
| + | 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: 512 (order: 0, 4096 bytes) | ||
| + | TCP bind hash table entries: 512 (order: -1, 2048 bytes) | ||
| + | TCP: Hash tables configured (established 512 bind 512) | ||
| + | TCP reno registered | ||
| + | NET: Registered protocol family 1 | ||
| + | squashfs: version 4.0 (2009/01/31) Phillip Lougher | ||
| + | Registering mini_fo version $Id$ | ||
| + | JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. | ||
| + | msgmni has been set to 24 | ||
| + | io scheduler noop registered | ||
| + | io scheduler deadline registered (default) | ||
| + | Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled | ||
| + | serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7 | ||
| + | console [ttyS0] enabled, bootconsole disabled | ||
| + | serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7 | ||
| + | physmap platform flash device: 00800000 at 10000000 | ||
| + | physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank | ||
| + | physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0 | ||
| + | CFI mfr 0x00000001 | ||
| + | CFI id 0x000022f9 | ||
| + | Amd/Fujitsu Extended Query Table at 0x0040 | ||
| + | Amd/Fujitsu Extended Query version 1.1. | ||
| + | number of CFI chips: 1 | ||
| + | cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. | ||
| + | cmdlinepart partition parsing not available | ||
| + | RedBoot partition parsing not available | ||
| + | 4 ar7part partitions found on MTD device physmap-flash.0 | ||
| + | Creating 4 MTD partitions on "physmap-flash.0": | ||
| + | 0x000000000000-0x000000010000 : "loader" | ||
| + | 0x0000003f0000-0x000000400000 : "config" | ||
| + | 0x000000010000-0x0000003f0000 : "linux" | ||
| + | 0x0000000f0000-0x0000003f0000 : "rootfs" | ||
| + | mtd: partition "rootfs" set to be root filesystem | ||
| + | mtd: partition "rootfs_data" created automatically, ofs=2B0000, len=140000 | ||
| + | 0x0000002b0000-0x0000003f0000 : "rootfs_data" | ||
| + | Fixed MDIO Bus: probed | ||
| + | cpmac-mii: probed | ||
| + | cpmac: device eth0 (regs: 08612800, irq: 41, phy: 0:01, mac: 00:15:e9:84:00:00) | ||
| + | cpmac: device eth1 (regs: 08610000, irq: 27, phy: 0:00, mac: 00:15:e9:84:00:00) | ||
| + | Registered led device: status | ||
| + | vlynq0: regs 0x08611800, irq 29, mem 0x04000000 | ||
| + | vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000 | ||
| + | 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> | ||
| + | VFS: Mounted root (squashfs filesystem) readonly on device 31:3. | ||
| + | Freeing unused kernel memory: 136k freed | ||
| + | Please be patient, while OpenWrt loads ... | ||
| + | mini_fo: using base directory: / | ||
| + | mini_fo: using storage directory: /tmp/root | ||
| + | device eth0 entered promiscuous mode | ||
| + | PHY: 0:01 - Link is Up - 100/Full | ||
| + | br-lan: port 1(eth0) entering forwarding state | ||
| + | PHY: 0:00 - Link is Up - 100/Full | ||
| + | device eth1 entered promiscuous mode | ||
| + | br-lan: port 2(eth1) entering forwarding state | ||
| + | NET: Registered protocol family 8 | ||
| + | NET: Registered protocol family 20 | ||
| + | PPP generic driver version 2.4.2 | ||
| + | ip_tables: (C) 2000-2006 Netfilter Core Team | ||
| + | NET: Registered protocol family 24 | ||
| + | nf_conntrack version 0.5.0 (195 buckets, 780 max) | ||
| + | CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use | ||
| + | nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or | ||
| + | sysctl net.netfilter.nf_conntrack_acct=1 to enable it. | ||
| + | acx: this driver is still EXPERIMENTAL | ||
| + | acx: reading README file and/or Craig's HOWTO is recommended, visit http://acx100.sf.net in case of further questions/discussion | ||
| + | acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them | ||
| + | acx: running on a little-endian CPU | ||
| + | acx: PCI/VLYNQ module v0.3.37 initialized, waiting for cards to probe... | ||
| + | Not using the 00000009 VLYNQ device's driver for VLYNQ device: 00000000 | ||
| + | Not using the 00000029 VLYNQ device's driver for VLYNQ device: 00000000 | ||
| + | Not using the 00000009 VLYNQ device's driver for VLYNQ device: 00000000 | ||
| + | Not using the 00000029 VLYNQ device's driver for VLYNQ device: 00000000 | ||
| + | registered device TI Avalanche SAR | ||
| + | Sangam detected | ||
| + | requesting firmware image "ar0700xx.bin" | ||
| + | avsar: firmware: requesting ar0700xx.bin | ||
| + | avsar firmware released | ||
| + | tn7dsl_set_modulation : Setting mode to 0xffff | ||
| + | Creating new root folder avalanche in the proc for the driver stats | ||
| + | Texas Instruments ATM driver: version:[7.03.01.00] | ||
| + | jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 | ||
| + | jffs2_build_filesystem(): unlocking the mtd device... done. | ||
| + | jffs2_build_filesystem(): erasing all blocks after the end marker... done. | ||
| + | mini_fo: using base directory: / | ||
| + | mini_fo: using storage directory: /overlay | ||
| + | eth0: rx dma ring overrun | ||
| + | eth0: rx dma ring overrun | ||
| + | root@OpenWrt:/# | ||
| + | </code> | ||
| ===== Failsafe mode ===== | ===== Failsafe mode ===== | ||
toh/d-link/dsl-524t.1359069353.txt.bz2 · Last modified: 2013/01/25 00:15 by alessandro_s
