OpenWrt Forum Archive

Topic: TL-WR741ND 64M Memory mod.

The content of this topic has been archived between 6 Feb 2018 and 4 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Bus width must be 16bit. So  you must use a chip that has 32M*16bit (1byte=8bits,    16bit=2byte,     2byte*32M=64MByte)

Some time ago I did a post where I comment a pretty cheap memory module on Ebay  that you can use to mod 8 routers to 64MB:
https://forum.openwrt.org/viewtopic.php?id=42081

(Last edited by dabyd64 on 22 May 2014, 23:54)

i used this one here
Samsung
Korea-0323-PC2100S-25330-A0-M470L3224DT0-CB0-256MB-DDR-PC2100-CL2-5

http://www.ebay.com/itm/Korea-0323-PC21 … 1948122707

here my console

U-Boot 1.1.4 (Sep  3 2010 - 12:28:13)

AP91 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = 9, 2 = a
32 MB
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Starting kernel at 80060000...

[    0.000000] Linux version 3.10.49 (eric@Osiris) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #1 Sat Nov 7 16:51:52 EST 2015
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Clocks: CPU:350.000MHz, DDR:350.000MHz, AHB:175.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR741ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28720k/32768k available (2287k kernel code, 4048k reserved, 613k data, 232k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 232.24 BogoMIPS (lpj=1161216)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TP-LINK TL-WR741ND
[    0.500000] registering PCI controller with io_map_base unset
[    0.520000] bio: create slab <bio-0> at 0
[    0.520000] PCI host bridge to bus 0000:00
[    0.530000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.530000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.540000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.540000] pci 0000:00:00.0: fixup device configuration
[    0.550000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.550000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.560000] Switching to clocksource MIPS
[    0.570000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.580000] TCP: Hash tables configured (established 512 bind 512)
[    0.580000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.630000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.640000] msgmni has been set to 56
[    0.650000] io scheduler noop registered
[    0.650000] io scheduler deadline registered (default)
[    0.660000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.680000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.690000] console [ttyS0] enabled, bootconsole disabled
[    0.690000] console [ttyS0] enabled, bootconsole disabled
[    0.700000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.710000] m25p80 spi0.0: found w25q32, expected m25p80
[    0.720000] m25p80 spi0.0: w25q32 (4096 Kbytes)
[    0.720000] 5 tp-link partitions found on MTD device spi0.0
[    0.730000] Creating 5 MTD partitions on "spi0.0":
[    0.740000] 0x000000000000-0x000000020000 : "u-boot"
[    0.740000] 0x000000020000-0x000000129000 : "kernel"
[    0.750000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.760000] 0x000000129000-0x0000003f0000 : "rootfs"
[    0.770000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.780000] mtd: device 2 (rootfs) set to be root filesystem
[    0.790000] 1 squashfs-split partitions found on MTD device rootfs
[    0.790000] 0x0000003a0000-0x0000003f0000 : "rootfs_data"
[    0.800000] 0x0000003f0000-0x000000400000 : "art"
[    0.810000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.920000] libphy: ag71xx_mdio: probed
[    1.480000] ag71xx-mdio.0: Found an AR7240/AR9330 built-in switch
[    2.510000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    3.080000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    3.090000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    3.100000] TCP: cubic registered
[    3.100000] NET: Registered protocol family 17
[    3.110000] Bridge firewalling registered
[    3.110000] Ebtables v2.0 registered
[    3.110000] 8021q: 802.1Q VLAN Support v1.8
[    3.130000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.140000] Freeing unused kernel memory: 232K (80336000 - 80370000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
jffs2 is ready
No jffs2 marker was found
[   11.660000] jffs2: notice: (306) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 26 of xref (0 dead, 7 orphan) found.
switching to overlay
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[   14.290000] tun: Universal TUN/TAP device driver, 1.6
[   14.290000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   14.310000] gre: GRE over IPv4 demultiplexor driver
[   14.310000] ip_gre: GRE over IPv4 tunneling driver
[   14.350000]  Hooked IMQ after mangle on PREROUTING
[   14.360000]  Hooked IMQ after nat on POSTROUTING
[   14.360000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
[   14.370000]  Hooking IMQ before NAT on PREROUTING.
[   14.380000]  Hooking IMQ after NAT on POSTROUTING.
[   14.400000] Netfilter messages via NETLINK v0.30.
[   14.400000] ip_set: protocol 6
[   14.500000] u32 classifier
[   14.500000]     input device check on
[   14.510000]     Actions configured
[   14.510000] Mirror/redirect action on
[   14.550000] Failed to load ipt action
[   14.600000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   14.610000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   14.640000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.690000] nf_conntrack version 0.5.0 (452 buckets, 1808 max)
[   14.880000] xt_time: kernel timezone is -0000
[   14.960000] cfg80211: Calling CRDA to update world regulatory domain
[   14.960000] cfg80211: World regulatory domain updated:
[   14.970000] cfg80211:  DFS Master region: unset
[   14.970000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   14.980000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.990000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   15.000000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   15.010000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[   15.020000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   15.020000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   15.030000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   15.040000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   15.180000] PPP generic driver version 2.4.2
[   15.200000] PPP MPPE Compression module registered
[   15.220000] NET: Registered protocol family 24
[   15.220000] PPTP driver version 0.8.5
[   15.350000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   15.400000] cfg80211: Calling CRDA for country: US
[   15.410000] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=40
[   15.420000] cfg80211: Regulatory domain changed to country: US
[   15.420000] cfg80211:  DFS Master region: FCC
[   15.430000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   15.440000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   15.450000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   15.450000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   15.460000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   15.470000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   24.420000] overlayfs: ERROR - failed to whiteout 'S50cron'
[   26.950000] device eth0 entered promiscuous mode
[   30.370000] device wlan0 entered promiscuous mode
[   33.040000] br-lan: port 2(wlan0) entered forwarding state
[   33.050000] br-lan: port 2(wlan0) entered forwarding state
procd: - init complete -
[   35.050000] br-lan: port 2(wlan0) entered forwarding state
[   47.920000] overlayfs: ERROR - failed to whiteout 'hosts'
overlayfs: ERROR - failed to whiteout 'hosts'

root@Gargoyle:/# free
             total         used         free       shared      buffers
Mem:         28952        20956         7996            0         2156
-/+ buffers:              18800        10152
Swap:            0            0            0

and it works now what i have to flash after that?
By the way
is there any mod to get 16 or 32 flash?

i would like to change the flash memory to a bigger. is it possible? what is the maximum amount?

The discussion might have continued from here.