Entry Page

Board Support Packages

Third-Party Add-Ons

Starterkit

Hardware

MBa6ULXL

I2C bus MBa6ULxL
I2C4 0x08
PMIC
0x1A
Temp sensor
0x22
GPIO Portxexpander
0x32
EEPROM
0x41
Touch controller
0x50
EEPROM
0x52
EEPROM
0x68
RTC

Hardware Issues

Linux BSP

U-Boot

Supported features
Buildsystem BSP Revision
PTXdist
Yocto
TQ Product Chip Interface Function 0107 0110 0113 0115 0116 0117
MBa6ULx i.MX6UL Ethernet RGMII (10/100 Mbit/s)
MBa6ULx i.MX6UL I²C EEPROM, Temperature Sensors
MBa6ULx i.MX6UL IIM / Fuse OTP Register
MBa6ULx i.MX6UL UART6 default console via USB Debug connector
MBa6ULx i.MX6UL uSDHC eMMC / SD-Card SD card / eMMC

Supported boot devices

Boot device supported
eMMC / SD boot
TFTP boot

Linux

Supported Features
Buildsystem BSP Revision
PTXdist
Yocto
TQ Product Chip Interface Function 0107 0110 0113 0115 0116 0117
MBa6ULxL i.MX6UL ENET 1 RMII (10/100 Mbit/s)
MBa6ULxL i.MX6UL ENET 2 RMII (10/100 Mbit/s)
i.MX6UL FLEXCAN1 CAN 2.0B
i.MX6UL FLEXCAN2 CAN 2.0B
i.MX6UL GPIO4 GPIO pinheader x23
i.MX6UL I2C4 I2C devices pinheader x22
onboard I2C devices
i.MX6UL LCDIF Parallel LCD tested with etm0700g0edh6
requires special devicetree
i.MX6UL SPI2 SPI master pinheader x22
i.MX6UL UART1 RS232 pinheader X22 or USB debug
DIP switch S16_1 must be set to OFF
i.MX6UL UART2 RS232 pinheader X22
i.MX6UL UART6 TTL pinheader X23
i.MX6UL USB Debug Console micro USB connector X10
i.MX6UL USB Host USB2514
i.MX6UL USB OTG USB peripheral tested with linux serial gadget
MBa6ULxL USB1 Host X16 (dual USB connector)
MBa6ULxL USB2 Host X16 (dual USB connector)
MBa6ULxL USB3 Host X25 (MPCIe connector)
MBa6ULxL USB4 Host X24 (MPCIe connector)

BSP Version Matrix

BSP revision Pre-Release 0107 0115
PTXdist 2016.04 2019.01 2020.01.0
OSELAS Toolchain 2014.12.2 2018.02 2019.09.1
Platform mba6ulxl mba6ulxl mba6ulxl
U-Boot 2016.03 + rel_imx_4.1.15_2.0.0_ga + patches 2016.03 + rel_imx_4.1.15_2.0.0_ga + patches 2016.03 + rel_imx_4.1.15_2.0.0_ga + patches
Linux Kernel NXP rel_imx_4.1.15_2.0.0_ga 4.14.78 + rel_imx_4.14.78_1.0.0_ga + patches 5.4.87 + patches
linux 5.4.87 + rt48
Qt Version 5.6.2 5.6.3 5.12.6

BSP Version History

REV.0115

TQMa6ULx-BSP

  • Activate SYSTEMD_NETWORK for systemd configs
  • Update 5.4 mainline kernel to 5.4.87-rt48
  • Update 5.4 mainline kernel to 5.4.87
  • Remove patches from u-boot imx 2016.03 and mainline 2017.11
  • Remove patches from kernel 4.19 and u-boot 2019.04
  • Remove tqma57xx config
  • Add systemd ethernet config for eth0 and eth1

U-Boot

  • Load tq u-boot from TQ-Systems github repo

Linux

  • kernel[-rt]: update to prevent eth0 link up/down problem on tqma6ul[l]2[l]

REV.0107

TQMa6ULx-BSP

  • Added platform MBa6ULxL
  • Updated Build system to PTXdist 2019.01
  • Updated OSELAS Toolchain to 2018.02

U-Boot

  • added several bugfixes
  • fixed fdt_file environment variable definition
  • set default i2c dev to 3 (MBa6ulxl)
  • fixed typo in header include guard
  • fix build without CONFIG_DM_SPI_FLASH and CONFIG_SPI_FLASH
  • Added platform MBa6ULxL

Linux

  • Update kernel version to NXP 4.14.78
  • Set USB1 OTG dr_mode to otg
  • QSPI NOR flash uses 4byte opcodes
  • Changed default LVDS display to Tianma TM070JVHG33
  • add cpu cooling levels
  • fixed RS485 support
  • Added platform MBa6ULxL
    • display: use 24 LCD data pins
    • set USB1 OTG dr_mode to otg

Configure the BSP for the desired hardware platform and software configuration using the corresponding command from the following table:

Platform Configuration Command
MBa6ulxL linux-mainline ¦ systemd init ¦ Qt5 tools/config-mba6ulxl.qt
linux-mainline ¦ systemd init tools/config-mba6ulxl.tiny

Building the BSP:

Execute in the BSP root directory

$ ./tools/config-mba6ulxl.qt
$ ./p images

or

$ ptxdist platform configs/platform-tq-tqma6ulx/mba6ulxl/platformconfig
$ ptxdist select configs/platform-tq-tqma6ul/ptxconfig.qt_bb
$ ptxdist go --git
$ ptxdist images

Changing the partition scheme may affect the boot loader update capability and / or the kernel command line parameters!

SD / eMMC Image

  • sector size 512 Byte
  • unpartitioned area: 4MiB (0x2000 sectors)

Sector numbers are in hexadecimal (as expected by U-Boot's mmc command), size is given in hex (=number of sectors) and dezimal (= size in byte).

Sector first Sector last Size Usage
0x000000 0x000000 0x0001 sector / 512 Byte MBR / Partition Table
0x000001 0x000001 0x0001 sector / 512 Byte free
0x000002 0x0007FF 0x07FE sectors / 1023 KiB u-boot
0x000800 0x000FFF 0x0800 sectors / 1 MiB u-boot environment
0x001000 0x001FFF 0x1000 sectors / 2 MiB free
0x002000 0x00BFFF 0xA000 sectors / 20 MiB boot / firmware (Kernel, devicetrees)
0x00C000 0x08BFFF 0x80000 sectors / 256 MiB root
0x08C000 0x10BFFF 0x80000 sectors / 256 MiB spare, unformatted

TQ Board Support Packages

The Board Support Packages (BSPs) usually provide source code as well as precompiled images for one or more platforms.
Please see the version matrix for details on each revision of the BSP.

TQMa6ULx BSP REV.0107☚ current revision
MD5SUM: FF2F0A18947A130EA6E93B72A61B8183

Build System / Toolchains

PTXdist version XXXX.YY.0 is required to compile an OSELAS Toolchain XXXX.YY.Z.
The version of PTXdist and toolchain required to build a given BSP revision is shown in the version matrix.


Build System PTXdist 2019.01

Build System PTXdist 2018.02

PTXdist projects for compiling OSELAS toolchains

BSP Version History

0116

BSP

  • Update to Yocto hardknott
  • Add tqma6ulxl / tqma6ullxl 512 MB variants
  • Update to Linux Mainline 5.15

0113

BSP

  • Linux Mainline 5.4 + optional rt patches
  • Linux NXP lf-5.4.y-1.0.0
  • Kernel configuration was changed to use the better supported mainline graphics stack

0110

U-Boot

  • Added support for 512MB RAM variants of TQMa6UL\[L\]x REV.030x
  • Typo fixes in output / banner / warnings
  • Add warning for CPU / config mismatch

0107

  • port TQMa6UL Support to yocto warrior
  • update kernel to NXP rel_imx_4.14.78
  • add support for MBa6ULxL

QNX BSP


VxWorks BSP


1)
i.e. value for MACHINE variable