Sign up here and you can log into the forum!

Gen3 boot problem

General WDLXTV-Gen3 forum

Re: Gen3 boot problem   

Postby KAD » Sun Feb 22, 2015 12:38 pm

that's interesting

ok,
so let's do this then

Code: Select all
rm /tmp/xenv*
rm /tmp/bblk*
rm /tmp/zboot*
touch /tmp/bblk.test
nanddump -o -s 0 -l 131072 -f /tmp/bblk.test /dev/mtd0
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Gen3 boot problem   

Postby warrior6 » Sun Feb 22, 2015 12:48 pm

the first four commands were ok, the last one gave this:

Code: Select all
# touch /tmp/bblk.test
# nanddump -0o -s 0 l 131072 -f /tmp/bblk.test /dev/mtd0
Usage: nanddump [OPTIONS] MTD-device
Dumps the contents of a nand mtd partition.

           --help               Display this help and exit
           --version            Output version information and exit
           --bb=METHOD          Choose bad block handling method (see below).
-a         --forcebinary        Force printing of binary data to tty
-c         --canonicalprint     Print canonical Hex+ASCII dump
-f file    --file=file          Dump to file
-l length  --length=length      Length
-n         --noecc              Read without error correction
           --omitoob            Omit OOB data (default)
-o         --oob                Dump OOB data
-p         --prettyprint        Print nice (hexdump)
-q         --quiet              Don't display progress and status messages
-s addr    --startaddress=addr  Start address

--bb=METHOD, where METHOD can be `padbad', `dumpbad', or `skipbad':
    padbad:  dump flash data, substituting 0xFF for any bad blocks
    dumpbad: dump flash data, including any bad blocks
    skipbad: dump good data, completely skipping any bad blocks (default)
# exit
warrior6
DLX'er
 
Posts: 51
Joined: Tue Feb 17, 2015 10:20 pm

Re: Gen3 boot problem   

Postby KAD » Sun Feb 22, 2015 12:55 pm

I think we need to watch the cmd's a bit closer

it should be nanddump -o (that's the lower case letter o) -s (followed by the number 0) 0 -l (again a lower case letter L) (followed by some numbers)131072 -f /tmp/bblk.test /dev/btd0 (a number zero at the end here)

Code: Select all
nanddump -o -s 0 -l 131072 -f /tmp/bblk.test /dev/mtd0


you should actually be able to copy and paste the code from here into putty
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Gen3 boot problem   

Postby warrior6 » Sun Feb 22, 2015 1:01 pm

Sorry, I just learn that.
Putty is still a mistery to me...

Code: Select all
WDTVLive login: root
,.   ,   ,. .-,--.   ,   ,.  ,. ,--,--',.   ,.
`|  /|  /   ' |   \  )   ` \/ ' `- |   `|  /   
  | / | /    , |   / /      /\    , |    | /   
  `'  `'     `-^--'  `--' `'  `'  `-'    `'     
           1.12.14_WDLXTV_PALACE-0.0.2
# nanddump -o -s 0 -l 131072 -f /tmp/bblk.test /dev/mtd0
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00020000...
# exit
warrior6
DLX'er
 
Posts: 51
Joined: Tue Feb 17, 2015 10:20 pm

Re: Gen3 boot problem   

Postby KAD » Sun Feb 22, 2015 1:02 pm

good and let's try and read it

Code: Select all
setxenv2_mipsel -f /tmp/bblk.test
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Gen3 boot problem   

Postby warrior6 » Sun Feb 22, 2015 1:04 pm

Code: Select all
DTVLive login: root
______________________________________________
   _      _   _____    _     _  _ ______ _    _
   |  |  /    /    )   /     | /    /    |   /
--|-/|-/----/----/---/------|-----/-----|--/--
   |/ |/    /    /   /      /|    /      | /   
__/__|____/____/___/____/_/_|___/_______|/____
            1.12.14_WDLXTV_PALACE-0.0.2
#     setxenv2_mipsel -f /tmp/bblk.testsetxenv2_mipsel -f /tmp/bblk.test
invalid xenv2_file (/tmp/bblk.test)
# exit


Gotta go, now.
If you have other commands, please post them, I'll try to imput them as soon as I come back home.
In the meanwhile, thanks again for your help and for your patience :D
warrior6
DLX'er
 
Posts: 51
Joined: Tue Feb 17, 2015 10:20 pm

Re: Gen3 boot problem   

Postby KAD » Sun Feb 22, 2015 1:21 pm

ok, here's another idea

Code: Select all
cp /bin/setxenv /tmp/setxenv
sed -i 's/mtdblock0/mtd0/g' /tmp/setxenv
mount -o bind /tmp/setxenv /bin/setxenv
setxenv 0
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Gen3 boot problem   

Postby KAD » Sun Feb 22, 2015 1:36 pm

I've got it

I have an solution, which should work
but just a sec, gotta upload a file for you
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Gen3 boot problem   

Postby KAD » Sun Feb 22, 2015 1:52 pm

you know before we go with this file

let's revisit something, looking through your posted output, I found something early where you had a 1 instead of lower case L

so let's retry that first

Code: Select all
setxenv 0 l.alpha.fw_sign okok
export FW_SIGN="okok"
rm -rf /usrdata/.wd_tv/theme/*
rm -rf /conf/*
config_tool -s
config_tool -s
reboot


if that doesn't get you back to booting stock, let me know, and I'll upload that file
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: Gen3 boot problem   

Postby warrior6 » Mon Feb 23, 2015 8:54 am

Oh my god!
It worked :o :o :o
You really are my hero, sir :D
warrior6
DLX'er
 
Posts: 51
Joined: Tue Feb 17, 2015 10:20 pm

PreviousNext

Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest