Mk? wrote:
So i can overwrite only uboot to bypass this problem right?
Not likely, because the primary bootloader (onboot) flashed in "production" models usually does not contain the code fragments needed for loading uboot (== secondary bootloader) - for that function to work, you will probably need onboot recompiled with DEVEL/DEBUG #define[s] enabled. At least that's how the things are in later models (D-Series and up). In Valencia/Aquila C-series models it may be different, but I find it rather doubtful.
the protection of the onboot is the otp lock of service menu?
Once the OTP lock protection is applied to OneNAND/FlexNAND boot block[s], it is (by design) basically irreversible (generally speaking; perhaps there are some clever workarounds etc., but I'm not aware of any). Regarding an option in service menu called "OTP lock" - I don't know what it does exactly in this model; there are 4 possibilities:
1) It does enable (most likely permanent) OTP lock on flash boot block[s],
2) It checks & displays if the boot block is locked or not,
3) It doesn't do anything at all (quite an common occurence for various service menu options in Samsung TV & BDP gear),
4) It may be not intended for OneNAND/FlexNAND flash boot area at all; there are other one-time-programmable subsystems in SDP92 SoC, not to mention the other onboard chips.
BTW, there was some kind of tool (fsr*boot*, fsr*util*, fsr*tool* ?) or something like that in B650 models, it has the command line switch to check if the NAND boot area OTP lock is indeed enabled or not. It may be worth to check if it is actually locked or not in your TV - I'm not quite sure this lock was enabled by default in all C-series models (at least not originally). But better be careful with it - AFAIRC, the same utility was used to enable the permanent OTP lock (with different command line switch).
I've find the uboot sources in le40c630.tar.gz.
Is it uboot.tgz, 4 259 723 bytes long? If yes, I have some serious doubts if this is a proper uboot release for Valencia C-series. It looks like an uboot for much older (pre B-Series) Samsung Bayhill/SDP76 platform.
I also find that the c series is also called Aquila and in one file "dtv_bml_aquila" from onboot-src-Firenze2011.tgz there is such a map of partitions and loader. so maybe the onboot of firenze platfrom works for valencia too...?
Extremely unlikely. While there are numerous references to SDP92 (Valencia) in Firenze 2011 onboot sources, it's just because Firenze onboot was not written from the scratch, developers reused many code fragments from previous/different versions. This thing has a complicated ancestry, it borrows from armboot/uboot code itself, linux kernel mmc drivers etc.
BTW: I can't find "dtv_bml_aquila" file anywhere in Firenze 2011 onboot sources (?). There were two (slightly different) releases of this code from Samsung I'm aware of; perhaps you have some different version?