Will dd-wrt support RT-N13U?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware
Goto page Previous  1, 2, 3 ... 49, 50, 51 ... 57, 58, 59  Next
Author Message
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Tue Aug 23, 2011 6:19    Post subject: Reply with quote
Need help!
I've managed to setup and running serial connection to my router.
Also managed to upload firmware to the memory using loadb and c-kermit through the serial connection.

Tried with Asus and dd-wrt images and have got almost the same results Sad See listing below.

Also U-boot gives a warning:
U-Boot 1.1.3 (Feb 3 2009 - 13:43:4Cool

Board: Ralink APSoC DRAM: 32 MB
relocate_code Pointer at: 81b7c000
flash_protect ON: from 0xBF000000 to 0xBF022CD3
protect on 0
protect on 1
protect on 2
protect on 3
protect on 4
protect on 5
protect on 6
protect on 7
protect on 8
protect on 9
flash_protect ON: from 0xBF030000 to 0xBF03FFFF
protect on 10
*** Warning - bad CRC, using default environment



Any advice or help will be appreciated!
Thnx in advance!


Asus original firmware:
RT3052 # bootm 0x80100000
## Booting image at 80100000 ...
sizeof image_header_t is 64
Magic: [27051956]
CRC: [3a9a6b26]
Image Name: 
Created: 2010-03-25 3:06:55 UTC

System Control Status = 0x20440000
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3818311 Bytes = 3.6 MB
Load Address: 80000000
Entry Point: 80366000
Verifying Checksum ... OK
Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover




dd-wrt asus-to-ddwrt firmware:
RT3052 # bootm 0x80100000
## Booting image at 80100000 ...
sizeof image_header_t is 64
Magic: [27051956]
CRC: [8b7ef775]
Image Name: DD-WRT v24 Linux Kernel Image
Created: 2011-06-14 11:00:11 UTC

System Control Status = 0x20440000
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 948876 Bytes = 926.6 kB
Load Address: 80000000
Entry Point: 802a2000
Verifying Checksum ... OK
Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover

Update:
Ok, flashed using tftd from serial connection but still want to know what is the problem with lzma ...
Sponsor
viking13
DD-WRT Novice


Joined: 23 Aug 2011
Posts: 13

PostPosted: Tue Aug 23, 2011 19:42    Post subject: Reply with quote
I successfully installed mc on my N13U with:

Code:
ipkg install mc


The only problem I have with mc is that I do not know how to configure the terminal (everything is black and white) because I can not edit /etc/profile and I cannot set:

Code:
export TERMINFO=/opt/share/terminfo
export TERM=xterm-pcolor


So, where and how can I set TERMINFO and TERM?
viking13
DD-WRT Novice


Joined: 23 Aug 2011
Posts: 13

PostPosted: Tue Aug 23, 2011 19:49    Post subject: Reply with quote
Have someone managed to enable swap on N13U?

I need swap because I want to be able to download more then one torrent with transmition bt. If I try to download more then one torrent, transmition hangs, and I need to restart it from ssh.

I was thinking to try to flash this: http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBrainSlayer-V24-preSP2%2F2011%2F06-14-11-r17201%2FAsus-RTN13U/

and to install busybox (to have swapon).

Is that possible or I will just lost time?
dinjo
DD-WRT User


Joined: 13 Nov 2010
Posts: 164

PostPosted: Wed Aug 24, 2011 1:30    Post subject: Reply with quote
Swap wont help since you would be re-directing swap through a 8MB flash memory
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Wed Aug 24, 2011 4:02    Post subject: Reply with quote
dinjo wrote:
Swap wont help since you would be re-directing swap through a 8MB flash memory


It's RT-N13U topic there is no 8MB flash!
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Wed Aug 24, 2011 4:05    Post subject: Reply with quote
viking13 wrote:
Have someone managed to enable swap on N13U?

I need swap because I want to be able to download more then one torrent with transmition bt. If I try to download more then one torrent, transmition hangs, and I need to restart it from ssh.

I was thinking to try to flash this: http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBrainSlayer-V24-preSP2%2F2011%2F06-14-11-r17201%2FAsus-RTN13U/

and to install busybox (to have swapon).

Is that possible or I will just lost time?


Swapon will not help. The kernel in dd-wrt firmware for RT-N13U does not support one.
I'm currently working on building kernel with swap support because want to have swap too. Watch for my future posts.
_____________________________________
RT-N13U custom build with FS and Swap (r17201)


Last edited by grymster on Mon Aug 29, 2011 4:52; edited 1 time in total
gouryella
DD-WRT User


Joined: 06 Mar 2010
Posts: 107
Location: Plzeň, CZE

PostPosted: Thu Aug 25, 2011 20:06    Post subject: Reply with quote
viking13 wrote:
I successfully installed mc on my N13U with:

Code:
ipkg install mc


The only problem I have with mc is that I do not know how to configure the terminal (everything is black and white) because I can not edit /etc/profile and I cannot set:

Code:
export TERMINFO=/opt/share/terminfo
export TERM=xterm-pcolor


So, where and how can I set TERMINFO and TERM?

This exort (putty) is working for me, try to run as mc -c
krauser13
DD-WRT Novice


Joined: 05 Oct 2010
Posts: 5

PostPosted: Fri Aug 26, 2011 15:25    Post subject: Reply with quote
Hey i try to install pyload but failed could you help me Rolling Eyes

i try to follow this thread
http://wl500g.info/showthread.php?t=21844

first step when install i conflict with wget ssl

second step cant unzip[cant open or find pyload-src-vXXXX.zip
amitg0123
DD-WRT User


Joined: 07 Aug 2011
Posts: 74

PostPosted: Fri Aug 26, 2011 17:22    Post subject: Reply with quote
Pyload may need swap support because of limited ram but the dd-wrt kernel for n13u.b1 doesn't have swap support.

Don't waste you valuable time, and wait till dd-wrt team listen to the users and add support for few file systems.
krauser13
DD-WRT Novice


Joined: 05 Oct 2010
Posts: 5

PostPosted: Fri Aug 26, 2011 17:29    Post subject: Reply with quote
amitg0123 wrote:
Pyload may need swap support because of limited ram but the dd-wrt kernel for n13u.b1 doesn't have swap support.

Don't waste you valuable time, and wait till dd-wrt team listen to the users and add support for few file systems.


success installed but cant use Very Happy
the thing i can is just see the web interface for 10-20sec after that its disconnect from Pyload

root@satanic:~# python /opt/pyload/pyLoadCore.py
26.08.2011 19:31:27 INFO Starting pyLoad 0.4.7
26.08.2011 19:31:27 INFO Using home directory: /opt/etc/pyload
26.08.2011 19:31:31 INFO Activated plugins: CaptchaTrader, ClickAndLoad, ExternalScripts, UpdateManager
26.08.2011 19:31:31 INFO Deactivate plugins: Ev0InFetcher, HotFolder, IRCInterface, MergeFiles, MultiHome, RealdebridCom, RehostTo, UnRar, XMPPInterface
26.08.2011 19:31:31 INFO Downloadtime: True
26.08.2011 19:31:31 INFO Starting ThriftBackend: 0.0.0.0:7227
26.08.2011 19:31:34 INFO Starting builtin webserver: 192.168.2.1:8000
26.08.2011 19:31:34 INFO Free space: 630.32 GiB
26.08.2011 19:31:34 INFO Activating Accounts...
26.08.2011 19:31:34 INFO Activating Plugins...
26.08.2011 19:31:34 INFO pyLoad is up and running
26.08.2011 19:31:37 INFO No Updates for pyLoad
26.08.2011 19:31:38 INFO No plugin updates available
Segmentation fault


now im waiting for firmware Cool
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Fri Aug 26, 2011 19:13    Post subject: Reply with quote
Good news!
I've finished to build dd-wrt with swap and FS support (ext2, ext3, fat, vfat)!
Firmware based on build #17201.
It's up and running!
I'm testing it right now!

Hurray!

Update:
ext3 disk mounted well!
fat32 usb stick mounted well!
swap is working well!
_____________________________________
RT-N13U custom build with FS and Swap (r17201)


Last edited by grymster on Mon Aug 29, 2011 4:51; edited 2 times in total
viking13
DD-WRT Novice


Joined: 23 Aug 2011
Posts: 13

PostPosted: Fri Aug 26, 2011 19:34    Post subject: Reply with quote
grymster wrote:
Good news!
I've finished to build dd-wrt with swap and FS support!
It's up and running!
I'm testing it right now!

Hurray!


Congratulations!

That is very good news!

Bad news is that you will have to do that with every new release of dd-wrt in order to keep it in sync. Sad

That's why I am thinking about another approach. But I am not sure if it is possible.

I don't know have you seen "ramzswap". It's kernel module that can replace classic swap. I know it is unusable in this case, since it will need a lot of memory and fast CPU!

My point is that making loadable kernel module for swap is possible. So maybe someone with enough skill should try to make one that will use swap partition or file on disk?

The only question remains if built-in kernel swap support is still needed even in that case.
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Fri Aug 26, 2011 19:46    Post subject: Reply with quote
viking13 wrote:


Bad news is that you will have to do that with every new release of dd-wrt in order to keep it in sync. Sad



I don't care about this.
I did not see any improvements in new releases only new hardware support!
I can update kernel and drivers myself!
Software through the optware!
That's it!
_____________________________________
RT-N13U custom build with FS and Swap (r17201)


Last edited by grymster on Mon Aug 29, 2011 4:51; edited 1 time in total
amitg0123
DD-WRT User


Joined: 07 Aug 2011
Posts: 74

PostPosted: Fri Aug 26, 2011 19:57    Post subject: Reply with quote
grymster wrote:
Good news!
I've finished to build dd-wrt with swap and FS support (ext2, ext3, fat, vfat)!
Firmware based on build #17201.
It's up and running!
I'm testing it right now!

Hurray!

Update:
ext3 disk mounted well!
fat32 usb stick mounted well!


Congratulations!

Eager to know how you managed to build the final firmware.
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Fri Aug 26, 2011 21:10    Post subject: Reply with quote
Ok!
I finished fast check of my version of dd-wrt firmware!
All things works as planned!

First of all about what were removed from original firmware to free space for extra modules:
1. IPv6 support.
2. USB printing support.
3. USB serial support.
4. 3G drivers for Sierra and Option cards.

Second - what were added:
1. Swap support by the kernel.
2. ext2 and loop modules
3. ext3 and related modules
4. fat, vfat and related lang modules (nls_cp437, nls_iso8859-1, nls_iso8859-2, nls_utf8)


In attached file you will find the firmware itself.
This file have to be used with Asus Firmware Restoration Utility or by using tftp client.
If you don't know what it does mean - please forget about my build!

Busybox included into firmware does not have swapon and swapoff utility built-in therefore you must to install and use busybox from optware.

Disclaimer: I believe you know what sentence must be here Wink

Please enjoy your router with build-in FS and SWAP support!

P.S. Just to be sure that uploaded file is intact,
file size - 3713631
file md5sum - d7c9b36dc880aaa4310aa03bd6e565a1


Last edited by grymster on Wed Aug 31, 2011 5:20; edited 4 times in total
Goto page Previous  1, 2, 3 ... 49, 50, 51 ... 57, 58, 59  Next Display posts from previous:    Page 50 of 59
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum