DM800 Flashing eraseall problem - UkCvs.org
 

Go Back   UkCvs.org > Digital Tv Box Section > Dreambox Section

Dreambox Section All things dreambox here

Reply
 
LinkBack Thread Tools Display Modes
Old 04-03-2011, 10:51 AM   #1 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Mar 2011

Posts: 6
iTrader: (0)
Casino cash: $9600
Thanks: 0
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default DM800 Flashing eraseall problem

Hi

I seem to have a big problem with my DM800 HD and its a pain in the ass!

I made a backup using telnet via the command

cat /dev/mtd/3 > /tmp/backup.img

This at first didnt work as the file structure on a DM800 is slightly different and mtd is called mtdblock, so I used this command

cat /dev/mtdblock/3 > /tmp/backup.img

I then had a 60.0mb backup image sitting in my tmp folder which I ftpd out of my box and onto my desktop.

felt good as this seemed to have worked.

Now time to flash it back using telnet so I used this command

cd /tmp && eraseall /dev/mtdblock/3 && cp backup.img /dev/mtdblock/3 && reboot

again using mtdblock otherwise it says path not found but that isnt the error the error is telnet informs me

eraseall not found!! ie eraseall isnt in the image and the command doesnt exist. hmmmm

Ive searched all over the net and it seems although a DM800 can make a backup.img it cant flash one back and everyone says use an nfi image, but too late I only have a .img backup and cant convert it to nfi.

After a quick search around these forums I see a script for DM500s with eraseall comand attached

Commando-12-DM500S

Ive followed the instructions and ftpd into my box and tried the telnet commands but I get the error "path doesnt exist" as again I think its set to mtd and not mtdblock

So my question is how can I edit the script to mtdblock as im thinking if it was edited it might work and im thinking this is my only chance to make the DM800 flash a .img file

Any help would be appretiated and cant believe a box can make an backup.img but cant flash it??? defies logic!
Hazard is offline   Reply With Quote
Old 04-03-2011, 05:09 PM   #2 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Mar 2011

Posts: 6
iTrader: (0)
Casino cash: $9600
Thanks: 0
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
ok i managed to change the flash.sh script file using notepad on windows and all seems ok

This site was usefull

LinuxCommand.org: Writing shell scripts.

I now think that the eraseall program is the problem as I get

/tmp/eraseall: line 1: syntax error: unexpected "("

Ive opened the file with notepad and its gobbledygook
Hazard is offline   Reply With Quote
Old 04-03-2011, 05:46 PM   #3 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Jeez, you're skating on thin ice here...

eraseall is an E1 binary, requiring E1 libs. Your box is E2 (hence the eye-watering 60MB backup image) and an entirely different beast! Even the partitions might have different numbers, as well as names...

Remember that it wasn't the image that created the backup for you, but your bastardized 3rd party script line in telnet. You could try omitting the eraseall part of the script altogether, and keep your fingers crossed while you try and just overwrite the existing image with your backup?

Good luck! AL
PaphosAL is offline   Reply With Quote
Old 17-03-2011, 09:33 AM   #4 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Mar 2011

Posts: 6
iTrader: (0)
Casino cash: $9600
Thanks: 0
Thanked 2 Times in 2 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Thanks for the reply.

I tried ommiting the eraseall and got an error "flash is full no room" or something like that....give up now and flashed another image and start fresh.
Hazard is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:03 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk !! Ukcvs.org cannot be held responsible for the content of any post on this forum.