Entry Page

Linux BSP

U-Boot 2010.06

Component Status Remarks
CPU + i.MX35, silicon rev 2.1 (ARM11)
Ethernet +
+
1 x FEC
1 x external SMC911X (MBa35 only)
USB 2.0 not planned
eSDHC +
+
SD card
eMMC (not for MBa35-CA)
UART + ttymxc2 for TQMa35-AA and -AB, ttymxc0 for MBa35-CA
I²C +
SPI on request
Key: + tested | - untested | ? open

Linux 3.2.28

Linux 3.2.40 (Rev.0102)

Component Status Remarks
CPU + i.MX35 rev 2.1 (ARM 11)
Ethernet +
+
1 x FEC
1 x external SMC911X (MBa35 only)
Display + LVDS on MBa35 only
Backlight +
USB 2.0 +
+
1 x Host
1 x OTG Host
eSDHC + SD-CARD / eMMC
GPIO +
SPI +
Touch +
I²C + RTC, EEPROM, GPIO-Expander (MBa35 only), LM75
CAN +
Audio ? on request
CSI - on request
Key: + tested | - untested | ? open

Rev 0102

  • update kernel patch level to 2.6.34.40
  • backport fixes for USB controller

PTXdist 2012.07 (BSP 0102)

PTXdist 2012.04 (up to BSP 0101)

Component Status min. BSP Remarks
System + 0100 busybox, udev, …
utils + 0100 tftp, ssh, …
Display + 0100 fbtest / fbset / fbv
Touch (SPI) + 0100 ts_calibrate / ts_test
Audio on request
CAN + 0101 CAN utils
USB + 0100 usbutils
I2C + 0100 i2c-tools
GUI + 0101 Qt 4.8 on request
CSI on request
Key: + tested | - untested | ? open

In the following section special commandline parameters for the TQMa35 kernel are given:

Display selection

Selects desplay and configures backlight curve.

video=mx3fb:< EDT480272 | EVERVGG482270 | ETV570 | CLAA070LC0ACW | FG0700K5DSSWBG01 | AUOG104SN02 >

USB OTG mode selection

Configures the USB OTG controller

otg_mode=<host | device>

LVDS

MBa35 only

Configures the LVDS Transmitter at power up

default: 0 (Off)

lvds=<0 | 1>

eMMC

Enable / Disable the eSDHC3 controller at power up

  • default: emmc
  • emmc: maps the pins, binds the driver and try detect card
  • none: do nothing. Pins can be used freely only for TQMa35 without eMMC

emmc_mode=<none | emmc>

Framebuffer console and Bootlogo support are not compiled in. To test fuctionality you can use fbtest utility:

root@tqma35 $ fbtest 

All GPIO pins are exported using sysfs and are accessible using their value node.

To set an output write “0” or “1” to the value node of gpio n:

root@tqma35 $ echo "1" > /sys/class/gpio/gpio<n>/value 
root@tqma35 $ echo "0" > /sys/class/gpio/gpio<n>/value 

To query current state of gpio n:

root@tqma35 $ cat /sys/class/gpio/gpio<n>/value 

Switching the backlight using sysfs

To switch the backlight sysfs file nodes are provided. Use

root@tqma35 $ echo "0" > /sys/devices/platform/mx3_sdc_fb/graphics/fb0/mx3_sdc_bl0/bl_power

to switch on and

root@tqma35 $ echo "1" > /sys/devices/platform/mx3_sdc_fb/graphics/fb0/mx3_sdc_bl0/bl_power

to switch off.

To dim the backlight sysfs files are provided.

To query max / current brightness use:

$ cat /sys/devices/platform/mx3_sdc_fb/graphics/fb0/mx3_sdc_bl0/max_brightness
$ cat /sys/devices/platform/mx3_sdc_fb/graphics/fb0/mx3_sdc_bl0/brightness

To dim the backlight use (value in the range of 1 … max_brightness):

$ echo "<value>" > /sys/devices/platform/mx3_sdc_fb/graphics/fb0/mx3_sdc_bl0/brightness

Linux Kernel update

U-Boot has to be configured to work with your TFTP-Server

Make sure the following environment variables existing and are configured correctly:

  • kernel: Filename for kernel image on TFTP server
  • kernel_addr: Offset in NOR-flash where to store the kernel, depends on partitioning scheme

Configure update helper:

MX35 U-Boot > setenv prg_kernel tftpboot ${loadaddr} ${kernel}; erase ${kernel_addr} A02FFFFF; cp.b ${loadaddr} ${kernel_addr} ${filesize}; setenv filesize
MX35 U-Boot > saveenv

Now the kernel image can be updated using the following shortcut:

MX35 U-Boot > run prg_kernel

Rootfs update

U-Boot has to be configured to work with your TFTP-Server

This works only for JFFS2 rootfs on NOR flash

Make sure the following environment variables existing and are configured correctly:

  • rootfs: Filename for rootfs image on TFTP server
  • ramdisk_addr: Offset in NOR-flash where to store the rootfs, depends on partitioning scheme
MX35 U-Boot > setenv ramdisk_end a1ffffff (für 32MB Flash)
MX35 U-Boot > setenv prg_rootfs tftpboot ${loadaddr} ${rootfs}; erase ${ramdisk_addr} ${ramdisk_end}; cp.b ${loadaddr} ${ramdisk_addr} ${filesize}; setenv filesize
MX35 U-Boot > saveenv

Now the rootfs can be updated using the following shortcut:

MX35 U-Boot > run prg_rootfs

Disclaimer
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.