Linux BSP customization for DEV-i.MX53

From BlueWiki

Jump to: navigation, search

This document describes various specifics of the DEV-i.MX53 development board (100-4121-X) as far as the Bluetechnix MX53 Linux Board Support Package is concerned.

Contents

1 Quick start

Here is how to start with your core module CM-i.MX53 and your development board DEV-i.MX53.

  • Plug in the core module into the development board
  • Configure the DIP switches on the development board for SPI-NOR boot
  • Connect 12..16V DC to X4
  • Hold down S4 for 1 second
  • Connect a monitor via HDMI (X20) or connect to the serial terminal (X14) to see the board's boot messages

2 Boot modes

The DEV-i.MX53 base board allows to configure the CM-i.MX53 module's boot mode via two DIP switches.

2.1 SPI NOR flash

V1.0.x ≥V1.1.x
S2
12345678
S2
12345678
S1
12345678
S1
12345678

2.2 NAND flash (CM-i.MX53-C-C-Q24S1024F4N2048)

≥V1.0.x ≥V1.1.x
S2
12345678
S2
12345678
S1
12345678
S1
12345678

2.3 NAND flash (CM-i.MX53-C-I-Q24S1024F4N2048)

V1.0.x ≥V1.1.x
N/A S2
12345678
N/A S1
12345678

2.4 SD (Secure Digital) card

V1.0.x ≥V1.1.x
S2
12345678
S2
12345678
S1
12345678
S1
12345678

2.5 SATA hard disk

Boot from SATA hard disk attached to DEV-i.MX5x (X24). Note that an i.MX53 fuse must be blown for SATA boot to work, see the SW User Manual.

V1.0.x ≥V1.1.x
S2
12345678
S2
12345678
S1
12345678
S1
12345678

2.6 USB/UART boot mode

Boot from USB-OTG or UART1 (X15 or X14)

NOTE: The mfgtool requires this boot mode to be set.

V1.0.x ≥V1.1.x
S2
12345678
S2
12345678
S1
12345678
S1
12345678

3 JTAG connector

Some JTAG debuggers, like the PEEDI JTAG, short pins #1 and #2 (VREF and VSUPPLY) of the 20-pin ARM JTAG header (X9). On the DEV-i.MX5x, these pins are connected to different voltages (2V8 vs. 3V3) and MUST NOT be shortened.

Important!
If your JTAG device/connector shortens pins #1 and pins #2, the following switch setting must be done on DEV-i.MX53 ≥V1.1.x. It disconnects 3V3 from JTAG pin #2 (VSUPPLY).
Do not connect such a JTAG device to DEV-i.MX53 V1.0.x.
≥V1.1.x
Disconnect 3V3 from JTAG pin #2 (VSUPPLY) S2
12345678
Connect 3V3 to VSUPPLY S2
12345678

4 Linux kernel configuration

There is a Linux kernel parameter for the DEV-i.MX53 base board which enables some specific features at boot time. Add this to your bootargs_base variable in U-Boot.

  • Boot U-Boot
  • Press any key to stop Linux kernel boot, you will get to U-Boot's prompt.
  • Add the Linux kernel parameter:
CM-i.MX53 U-Boot> setenv bootargs_base $(bootargs_base) board=devimx5x
CM-i.MX53 U-Boot> printenv bootargs_base
bootargs_base=setenv bootargs console=ttymxc0,115200 hdmi di1_primary video=mxcd
i1fb:RGB24,1280x720M@60 console=tty1 board=devimx5x
CM-i.MX53 U-Boot> 

If you want to make this change permanent (usually you will) also do:

 CM-i.MX53 U-Boot> saveenv

This will write the environment to permanent storage.

What it does:

  • Enables the WP (write protect) pin of the SD card slot
  • Enables the poweroff command to switch off the PMIC
  • Properly resets the USB hub on the DEV-i.MX53
Personal tools