Sign up here and you can log into the forum!

Gen3 boot problem

General WDLXTV-Gen3 forum

Re: Gen3 boot problem   

Postby fuzzballerz » Mon May 25, 2015 1:49 am

KAD wrote:well there are 3 valid values

1. sisi - used for booting WDLXTV
2. okok - used for standard boot procedure
3. fwup - used to initiate flashing of new firmware

fw_sign_set.sh is a small shell script for writing the values to nand (permenant memory)
fw_sign_get.sh is a small shell script for reading the values from nand (permenant memory)

the problem with fw_sign_get.sh is that it uses a catch all which will output fwup, this is a false positive, something failed, so it says fwup
even though the value really is not fwup

after calling fw_sign_set.sh or fw_sign_get.sh there's about 2 or 3 more levels of scripts that call each other before some binary files get executed with translates the value to a hexadecimal
and then actually write the hex values to nand

at boot time the nand is read, and has various items, from very basic like cpu and ram frequency, regional settings, US or EU, etc ...
the value l.alpha.fw_sign with it's corresponding hex value is used to determine which boot procedure is run
1. sisi - used for booting WDLXTV
2. okok - used for standard boot procedure
3. fwup - used to initiate flashing of new firmware

where you run into issues with old firmwares is that
1. the newer scripts and binaries did not all exist yet
2. the old and new binaries are not compatible with each other

just for example here's how the entry actually looks in nand for value sis
Code: Select all
(0x00) 4 l.alpha.fw_sign 73.69.73.69. 0x69736973


Thanks KAD for the detailed explanation :mrgreen:
fuzzballerz
n00b
 
Posts: 2
Joined: Sat May 23, 2015 11:52 pm

Previous

Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron