Getting started

Content


These steps will help you to power up your iMX6 Rex development kit for the very first time.

  1. Plug the module into the baseboard
  2. The important parts to build the kit
    imx6rex-getting-started-680px

    Notice the position of the thumbs
    imx6rex-getting-started-b2b-680px

  3. Add spacers and tight up all the four screws
  4. Notice how the spacer is moved between the module and baseboard
    imx6rex-getting-started-mech1-680px

    Plug a screw into the mounting hole and secure it with a nut.
    imx6rex-getting-started-mech2-680px

    Use a screwdriver to tight it up.
    imx6rex-getting-started-mech3-680px

  5. Place the heatsink
  6. Remove the red protection foil from the heatsink.
    imx6rex-getting-started-heatsink1-680px

    Place the heatsink on the top of the processor.
    imx6rex-getting-started-heatsink2-680px

  7. Connect serial cable
  8. Connect the iMX6 Rex RS232 serial port to your computer. Use the cable from development kit (it has to be a null modem cable with crossed wires). Run Hyperterminal (or download and use Tera Term). Set the following serial port parameters – Baud rate: 115200 / Data: 8 / Parity: none / Stop bit: 1 / Flow control: none.
    imx6rex-getting-started-serial-680px

  9. Connect network cable
  10. Use the network cable delivered with your development kit (this cable is rated for 1Gb Ethernet). Connect the cable between your iMX6 Rex development kit and a network switch (possibly a computer). Connecting the baseboard to a network is not required, but missing network may slow down booting process as Linux will be waiting for a DHCP answer.
    imx6rex-getting-started-ethernet-680px

  11. Insert SD card
  12. Insert the SD card delivered with your development kit into the slot placed on the edge of the board. Be sure the other SD card slot is empty.
    imx6rex-getting-started-sd-680px

  13. Connect the power
  14. You have two options, how the board may be powered.

    Be sure, your power supply can deliver enough power!

    Option 1:
    Use a 7V to 24V DC adapter (usually 12V/3A is fine – here is one from Farnell VEP36US12) with a power jack. The plug diameters are 2mm x 5.5mm with the positive voltage in the middle (use e.g. Switchcraft S-760).

    imx6rex-getting-started-power-jack-680px

    Option 2:
    Use an ATX power supply

    imx6rex-getting-started-atx-680px

  15. Update network configuration
  16. After you connect the power, the board will start. Watch the console messages in your PC terminal. Once you see how the u-Boot autostart is counting down, press any key (e.g. ENTER) to interrupt it. Update the u-boot parameters based on your company network setting. Here is an example:

    > setenv gateway '192.168.1.1'
    > setenv netmask '255.255.255.0'
    > setenv ipaddr '192.168.1.78'
    

    Select a valid IP address from your network to use an initial ping and insert this command:

    > setenv bootcmd 'ping 192.168.1.1; run bootcmd_mmc'
    

    In the case your server does not support DHCP, set a fixed IP address and network mask which will be assigned to the Rex board after it boots up into the Linux:

    > setenv bootargs_mmc 'setenv bootargs ${bootargs} ip=192.168.1.78:::255.255.255.0 root=/dev/mmcblk0p1 rootwait'
    

    Save the u-boot parameters and restart the board:

    > saveenv; reset
    

  17. Tada!
  18. Now, your board should boot up into Linux. In case you have any problems to setup your Development kit, check out our FORUM & Questions or contact us. Enjoy!

What next?

  1. Setup a Host computer, where you can compile uBoot and Kernel: How to start with Linux and uBoot
  2. Try to compile the existing uboot and kernel, so you know how to modify and compile it for your own application: How to compile uBoot & Kernel 3.0.35, Flash, Update, Boot
  3. Learn how to use iM6 Rex peripherals: How to use & access iMX6 Rex peripherals (Examples)