Reflash Procedure for CMG-DCM-mk2x and Platinum v2


This procedure is used to upgrade a DCM from old firmware to Platinum firmware when you have a direct serial connection to the Data Out port at 115200 baud. It can also be used to reflash malfunctioning DCM units.

You will need to save these files on the computer connected to the DCM's serial port:

  1. CMG-DCM-mk2x-boot.gz (MD5sum 3ab4cc7ca97e0ea37d262a14cd6cfddd)
  2. CMG-DCM-mk2x-root.gz (MD5sum b74c6e3252a19be55d6a7b12347da69a)

Procedure

  1. Ensure you are connected to the Data Out port at 115200 baud (with 8 data bits, no parity, 1 stop bit (8N1) and no flow control). Power up the DCM. Within a few seconds, you should see the message:

    Enter the receive enable string now to enable this port
  2. As soon as you see this message, type the following string repeatedly, until you get a boot prompt:

    fishsoup fishsoup

    (The fishsoup string should be followed by a space).

    You should now see the output:

    Bootloader fishsouped and ready
    boot>
  3. First, erase the contents of the NAND flash chips with the following commands:

    boot> nand 0 erasechip
    Scanning for nand chip ...
    nand_maf_id = 0x000000EC
    nand_dev_id = 0x00000076
    nand_maf_id = 0x000000EC
    nand_dev_id = 0x00000076
    nand device name: Samsung K9D1208V0M
    nand erasechip: Erasing entire chip
    nand erasechip: passed
    boot> nand 1 erasechip
    Scanning for nand chip ...
    nand_maf_id = 0x000000EC
    nand_dev_id = 0x00000076
    nand_maf_id = 0x000000EC
    nand_dev_id = 0x00000076
    nand device name: Samsung K9D1208V0M
    nand erasechip: Erasing entire chip
    nand erasechip: passed
    boot> nand 2 erasechip
    Scanning for nand chip ...
    nand_maf_id = 0x000000EC
    nand_dev_id = 0x00000076
    nand_maf_id = 0x000000EC
    nand_dev_id = 0x00000076
    nand device name: Samsung K9D1208V0M
    nand erasechip: Erasing entire chip
    nand erasechip: passed
  4. Now, upload the boot partition using Y-MODEM.

    boot> load boot
     After receiving file, will automatically uncompress .gz images
    loading flash region boot
    using ymodem
    ready for YMODEM transfer...

    When you see this prompt, send the CMG-DCM-mk2x-boot.gz file using Y-MODEM. Once this is complete, you will see a programming message:

    DE7B9144200867B33485DCCD8A935638  CMG-DCM-mk2x-boot.gz
    000E8E5B bytes loaded to C0000400
    img_size is not a multiple of 4 -- are we sure that's OK?
    Scanning for nand chip ...
    nand_maf_id = 0x000000EC
    nand_dev_id = 0x00000076
    nand_maf_id = 0x000000EC
    nand_dev_id = 0x00000076
    nand device name: Samsung K9D1208V0M
    Looks like a gzipped image, let's verify it...
    Looks like a gzipped image, let's verify it...
    Verifying gzipped image
    ..............................
    verifyGZipImage: calculated CRC = 0xD26CE16C
    verifyGZipImage: read       CRC = 0xD26CE16C
    
    programming flash...erasing ...
    Erasing NAND region
    Erasing from 0x00000000
    Erasing bytes 0x00100000
    writing flash..
    
    Programming NAND region
    YAFFS image: Programming/Verifying 0x000EE170
    Block ok at page 0x00000020
    Block ok at page 0x00000040
    ...
    Block ok at page 0x00000720
    Block ok at page 0x00000740
    YAFFS partition programming Success
    verifying ...
    
    Verifying NAND device
    nand: verified ok
    done.
  5. Now upload the root partition. This will take approximately 30 minutes.

    boot> load root
     After receiving file, will automatically uncompress .gz images
    loading flash region boot
    using ymodem
    ready for YMODEM transfer...

    When you see this prompt, send the CMG-DCM-mk2x-root.gz file using Y-MODEM. Once this is complete, you will again see a programming message. Wait for the programming process to finish.

  6. You can now power cycle the DCM. It will then restart in Platinum firmware. The first boot will take some time (3–4 minutes) as SSH keys will have to be generated.