Search results

  1. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    now I look at comand UBI write RAMaddr LENGHT block blocklenght- but it is not clear how to use it. What blocks meens in this command...
  2. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    yes, I try to fix this oooold camera. There is no useful comand in "nand" section (erase, verify, speed?,dump, markbad... but nothing about writing data to nand) I learned how to download any file into RAM by tftp and disable autostart of it (after downloading, camera jumped to first address of...
  3. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    r32 w32 boot erase help reset setenv printenv saveenv show tftpboot bootm crc killb readoob updtb updateb upf update format upbs ubi go mii dump mtest memset fdt nand usbdl gpio tftp ping sd
  4. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    I can receive files by tftp, but files are copying into RAM, not NAND. "tftp program 1.bin 0x120000" loads file 1.bin from server to RAM and try to execute at this addr. But still not found comands to WRITE something to NAND command -update ends with error "Boot_mini_system: get dtb failed" -...
  5. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    flashed again. To rebuild bad block table use "nand rclm all" but don't use "nand verify all" - it erases all NAND !!! Now trying to find how to download FW to uBoot. - to dump on screen NAND data including bbt - use "nand dump (firstpage) (lastpage)" pages 2048 bytes + 64 bytes ECC
  6. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    Thanks for all who helped! Trying comands with BBT bricked camera again (when operating with bbt table, reclaim all bads, as I remember - it writes to all NAND) - will desolder NAND and flash again. Cannot see in help commands to write data in BIN format. Many comands require files in format...
  7. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    fixed nand BBT table! uBoot starts with no errors! But how to download another parts of FW? For now flashed only mtd0ro(128k), mtd1ro(1M)
  8. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    At last! uBoot started. But it cannot find BADBlock list. How can I create it if I know badblock adress? check bad block failed >> read spare data error. check bad block failed >> read spare data error. U-Boot...
  9. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    Now I trying to write it LSB of 32 bits first skipping ECC... ECC will remain FF. -No effect. No any activity on COM Will try MSB first... -Some progress - LSB first+skipping ECC bytes - see by the oscilloscope some short pulses on TX from Ambarella but cannot read anything by CH340 and...
  10. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    But how to write it to NAND? Ambarella does not respond to COM-port with clean NAND. And for write by programmer - need to know how to calculate ECC (2048+64 organization) and MSB or LSB first (32 bits in CortexA9 as I understand) ?
  11. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    Hi all! At last I digged up this camera and trying to flash it. There is a NAND chip TC58BVG0S3HTA00, and it is erased fully (only FF all 1Gb). NAND have 1Gbit of data+32Mbits of ECC. NAND is organized as 1024blocks*(64pages*(2048bytes+64 bytesECC)). Programmer reads this as chain of data/ECC...
  12. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    Thanks! Will make a programmer and try. After that post here
  13. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    I mean full NAND size is 1Gbit (128MBytes). But total size of files is 127MBytes. Somewhere 1 MB is lost. Maybe big partition is smaller then can be to remap badblocks or something... First partition mtd0ro must be written at phisical addr 0x00000000 of NAND?
  14. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    maybe it is at end of a file? Or somewhere a hole in partitions?
  15. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    hmmmm... In mtd_all there are 1Mb of image lost. It is exactly 127MB :-)))
  16. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    Thanks a lot! I'll try to build an image and flash it by programmer (I will assemble simple NANDLite). But maybe Ambarella can accept data through RS232 if uBoot lost? For example Apple phones and pads accept boot code through USB even if NAND is removed.
  17. V

    ds-2cd2042 (R6 architecture) how to restore uBoot?

    Just bricked a camera trying commands through RS-232. Now camera nothing output to RS-232. Fully bricked. I think, I formatted NAND using command "nand test" I can write NAND on programmer but what to write? Have anyone full image for R6 camera? Or maybe some ambarella tool to restore uBoot?