4.4. Installing a Development Build using USB

These instructions will walk you through the steps of setting up and customizing NXP’s MFG Tool to work with Rigado’s Yocto build images. The MFG Tool allows you to download OS images onto devices.

Listed below are the PC Requirements as found in the Manufacturing Tool V2 (MFGTool2) Factory Operation Manual.docx in the mfgtool/Document/V2 folder provided by NXP. Please make sure you can meet or exceed these requirements.

4.4.1. PC Minimum Requirements

  • CPU: Intel E3400 or higher. Frequency: 2GHz+

  • Memory: 4GB+

  • OS: Windows XP/Windows 7 version.

  • USB2.0 root hub is a must, NO USB 1.1 root hub is allowed.

    nxp_requirements

  • Use of an external USB hub is allowed with the following restrictions:

    • The hub must use an independent power supply
    • The hub must pass the applicable Product Test Requirements for hubs of the USB-IF Compliance Program. A Belkin USB hub is recommended.

4.4.2. Installing the NXP MFG Tool

Follow the steps below to install and customize the NXP MFG Tool to work with the Rigado Gateway:

  1. Download the MFG Tool from NXP’s website. You will need an NXP account for this.

  2. After the download has completed, extract the files from L4.1.15_1.0.0_ga-mfg-tools.tar.gz.

    extract_mfg1

    extract_mfg2

  3. Double-click on the extracted folder L4.1.15-1.0.0_ga-mfg-tools.

  4. Extract the files from the file mfgtools-without-rootfs.tar.gz.

    extract_mfg3

    extract_mfg4

  5. Double-click on the extracted folder mfgtools.

  6. Delete the Profiles directory.

  7. Delete all .vbs files.

  8. Your folder structure should look like the following image:

    modified_mfgtool

  9. Download the file rigado-mfgtool-profiles_1.0.0.zip from https://git.rigado.com/vesta/rigado-gateway-mfgtool to the folder L4.1.15-1.0.0_ga-mfg-tools\mfgtools.

  10. Extract the rigado-mfgtool-profiles_1.0.0.zip file to the L4.1.15-1.0.0_ga-mfg-tools\mfgtools folder.

added_vesta_profiles

4.4.3. Copying Yocto Build Images to the mfgtool Folder

Follow the instructions at Build Your Own Image to create an image for the Vesta Gateway. There are four files needed from the Yocto build in order to use the MFG Tool.

  • u-boot - bootloader
  • zImage - kernel image
  • dtb - device tree blob describing hardware
  • rootfs - root file system

These files will need to be copied to the folder mfgtool/Profiles/Linux/OS Firmware/files. The following image is an example of the files folder after copying files over from a Yocto using a vesta-300 developer build.

vesta_300_files

4.4.4. Using the MFG Tool

  1. Make sure the power supply is not connected to the Rigado Gateway device.

  2. Connect the Rigado Gateway device to your Windows machine using a USB connector.

  3. Hold down the user button while supplying power to the unit. This will put the Rigado Gateway in USB serial down-loader mode and allow the MFG Tool to communicate with the Gateway.

    unplugged

    plugged

  4. To start the MFG Tool, double-click on the appropriate vbs file. For this example, it would be vesta-300-developer.vbs.

    vesta_300_developer

  5. If everything is connected properly you should see HID-compliant device in the status box as shown here:

    mfgtool_hid

    Note

    If you see No Device Connected in the status box, double-check your connections and try again. Be sure you are holding down the user button while supplying power to the Gateway.

  6. Click on the Start button to begin the installation.

  7. As the firmware is being downloaded and installed, various update messages will be displayed along the way.

    mfgtool_status1

    mfgtool_status2

  8. Once the installation is successful, you should see a Done message in the status box.

    mfgtool_done

  9. Click on the Stop button and close the tool.

  10. Cycle power to the Rigado Gateway device.