How to split a DD-WRT in Kernel+Squashfs for Senao devices?

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Senao Devices
Author Message
GraveR
DD-WRT Novice


Joined: 13 Jul 2009
Posts: 32

PostPosted: Wed Aug 05, 2009 20:26    Post subject: How to split a DD-WRT in Kernel+Squashfs for Senao devices? Reply with quote
I'm currently trying to get my Sitecom WL342/341 (Senao ESR-9752-SC in disguise) to flash DD-WRT from its default Senao/Sitecom firmware.

I managed to get the tool to 'encrypt' the firmware from the GPL-sources.

Now I'm stuck. The default firmware seems to need 2 flashes: 1 - The kernel, 2 - The 'apps'.

I converted the DD-WRT firmware.bin to a 'kernel' flash and it accepted it and flashed it, but now, the console spits out the following:
Code:
GDMA1_MAC_ADRH -- : 0x0000000c                                                 
GDMA1_MAC_ADRL -- : 0x43305277                                                 
PROC INIT OK!                                                                   
decode /dev/mtdblock4                                                           
SQUASHFS error: Unknown inode type 11 in squashfs_iget!                         
List of all partitions:                                                         
1f00        192 mtdblock0 (driver?)                                             
1f01         64 mtdblock1 (driver?)                                             
1f02         64 mtdblock2 (driver?)                                             
1f03       3648 mtdblock3 (driver?)                                             
1f04       2808 mtdblock4 (driver?)                                             
1f05         64 mtdblock5 (driver?)                                             
No filesystem could mount root, tried:  squashfs                               
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,4)
Rebooting in 1 seconds..

The MTD-layout (corrupt/overlapping, as expected):
Code:
found squashfs at 122000                                                       
Creating 6 MTD partitions on "Ralink SoC physically mapped flash":             
0x00000000-0x00030000 : "uboot"                                                 
0x00030000-0x00040000 : "uboot-config"                                         
0x00040000-0x00050000 : "factory-defaults"                                     
0x00050000-0x003e0000 : "linux"                                                 
0x00122000-0x003e0000 : "rootfs"                                               
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-y
0x003e0000-0x003f0000 : "nvram"


I'm not a proficient DD-WRT or Embedded linux hacker. Any help is appreciated!
Sponsor
ezyfi-sc
DD-WRT Novice


Joined: 03 May 2009
Posts: 5

PostPosted: Fri Aug 07, 2009 0:10    Post subject: Reply with quote
Don't flash from gui, use the procedure in the sticky for flashing procedure. This will set your bootloader to just use the .bin if done correctly.
GraveR
DD-WRT Novice


Joined: 13 Jul 2009
Posts: 32

PostPosted: Fri Aug 07, 2009 7:35    Post subject: Reply with quote
ezyfi-sc wrote:
Don't flash from gui, use the procedure in the sticky for flashing procedure. This will set your bootloader to just use the .bin if done correctly.

Yes, I know that already, see my other thread about this device.
My goal is to be able to get to DD-WRT from the original firmware without serial consoles and tftp-servers.
Display posts from previous:    Page 1 of 1
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Senao Devices 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