Author
Message
GraveR DD-WRT Novice Joined: 13 Jul 2009 Posts: 32
Posted: Wed Aug 05, 2009 20:26 Post subject: How to split a DD-WRT in Kernel+Squashfs for Senao devices?
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!
Back to top
Sponsor
ezyfi-sc DD-WRT Novice Joined: 03 May 2009 Posts: 5
Posted: Fri Aug 07, 2009 0:10 Post subject:
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.
Back to top
GraveR DD-WRT Novice Joined: 13 Jul 2009 Posts: 32
Posted: Fri Aug 07, 2009 7:35 Post subject:
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.
Back to top
yanusz DD-WRT Novice Joined: 29 Jun 2014 Posts: 1
Posted: Sun Jun 29, 2014 13:07 Post subject: Re: How to split a DD-WRT in Kernel+Squashfs for Senao devic
GraveR wrote: 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!
=================================================
So you happen to have any luck on this? I'm very much interested in a firmware bootable from original GUI
Back to top
Marmed1994 DD-WRT Novice Joined: 24 Aug 2016 Posts: 1
Posted: Sun Aug 28, 2016 10:48 Post subject:
ezyfi-sc wrote: Don't flash from gui, use the procedure in the sticky for flashing procedure. This will set your phen 375 review bootloader to just use the .bin if done correctly.
what will happen if it flash from gui? i am also into splitting DD-WRT and this thread really a big help for me. thanks!
Back to top