~~NOCACHE~~ ~~NOTOC~~ ====== Entry Page ====== ===== Product URL list ===== ===== Board Support Packages ===== * [[.:linux:overview|Linux]] * [[:en:tqma35|Linux (LTIB based)]] discontinued * [[.:windows:overview|Microsoft® Windows® CE]] * [[.:vxworks|Wind River® VxWorks®]] * [[.:qnx|QNX® Neutrino®]] * [[.:windows_embedded|Microsoft® Windows® Embedded]] ===== Third-Party Add-Ons ===== ===== Starterkit ===== ====== Linux BSP ====== ===== U-Boot ===== **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 ||| ==== Supported Features ==== **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 ||| ==== Changelog ==== ===Rev 0102=== * update kernel patch level to 2.6.34.40 * backport fixes for USB controller ===== PTXdist ===== ==== Version ==== ** PTXdist 2012.07 (BSP 0102) ** ** PTXdist 2012.04 (up to BSP 0101) ** ==== Features ==== ^ 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 ||| ===== Downloads ===== ==== TQ Board Support Packages ==== [[https://www.tq-embedded.com/content/download/12999/124198| TQMa35 (U-Boot v2010.06 + Linux 3.2.40) sources & pre-compiled images (BSP Rev. 0102) ]]\\ [size=70%]MD5SUM: 6FEE42122046E77470CDD0FF77843D55[/size] [[https://www.tq-embedded.com/content/download/12988/124143| TQMa35 (U-Boot v2010.06 + Linux 3.2.30) sources & pre-compiled images (BSP Rev. 0101) ]]\\ [size=70%]MD5SUM: BCF625254880033A7A0B55206B8C66FC[/size] [[https://www.tq-embedded.com/content/download/12971/124058|Linux BSP for TQMaXX Rev.0100 (PTXdist 2012.04.0 + OSELAS.Toolchain-2011.11.1)]]\\ [size=70%]MD5SUM: C513FAE97F811440BD8D5513D3896218[/size] [[https://www.tq-embedded.com/content/download/12973/124068|Binaries for TQMa35 (U-Boot v2010.06, Linux Kernel 3.2.28, Root-Filesystem)]]\\ [size=70%]MD5SUM: C07FF9812B55CB4D1A48F54FF664040D[/size] ==== Build System / Toolchains ==== [[http://www.pengutronix.de/software/ptxdist/download/ptxdist-2012.07.0.tar.bz2| Build System PTXdist 2012.07]] [[http://www.pengutronix.de/software/ptxdist/download/ptxdist-2012.04.0.tar.bz2| Build System PTXdist 2012.04]] [[http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf| PTXdist manual "How to become a PTXdist Guru"]] [[http://www.pengutronix.de/oselas/toolchain/download | PTXdist projects for compiling OSELAS toolchains]] [[http://www.pengutronix.de/software/ptxdist/appnotes/AppNote_BuildingToolchain.pdf|Application Note: Building OSELAS.Toolchains()]] [[http://www.tq-group.com/uploads/tx_abdownloads/files/VM_Ubuntu-10.04_PTXdist-2012.07.0+PTXdist-2012.04.0_TQ-ARM.0100.zip| Virtual Machine for TQMaXX Rev.0100 (Ubuntu 10.04 + PTXdist 2012.07.0 + PTXdist 2012.04.0)]] ===== How-To ===== ==== Kernel command line parameters ==== 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= === 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= ==== Display ==== Framebuffer console and Bootlogo support are not compiled in. To test fuctionality you can use fbtest utility: root@tqma35 $ fbtest ==== GPIO ==== 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/value root@tqma35 $ echo "0" > /sys/class/gpio/gpio/value To query current state of gpio n: root@tqma35 $ cat /sys/class/gpio/gpio/value ==== Backlight ==== === 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. ==== Dimming of the backlight using sysfs ==== 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 "" > /sys/devices/platform/mx3_sdc_fb/graphics/fb0/mx3_sdc_bl0/brightness ==== System updates using U-boot ==== === 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 ===== Windows CE =====