Embedded module TQMa6ulxl - YOCTO Linux BSP documentation
BSP Overview
BSP Version Matrix
Please visit our Github for the latest updates and BSP releases.
Yocto Target Machines
TQMa6ULx/TQMa6ULxL.BSP Revision | Target machine |
---|---|
≥0110 | tqma6ulx-mba6ulx tqma6ulx-512mb-mba6ulx tqma6ulx-lga-mba6ulx tqma6ullx-mba6ulx tqma6ullx-512mb-mba6ulx tqma6ullx-lga-mba6ulx |
≥0105 | tqma6ulx-mba6ulx tqma6ulx-lga-mba6ulx tqma6ullx-mba6ulx |
0104 | tqma6ulx-mba6ulx |
BSP Version Matrix - Old Revisions
Bootloader
U-Boot
Supported featuresBuildsystem | BSP Revision | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PTXdist | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||||
Yocto | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
Feature | BSP Revision | Remarks | |||||||||||
TQ Product | Chip | Interface | Function | 0100 | 0104 | 0106 | 0107 | 0110 | 0113 | 0115 | 0116 | 0117 | |
TQMa6ULx | i.MX6UL | Ethernet | RMII (10/100 Mbit/s) | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
TQMa6ULx | i.MX6UL | uSDHC | eMMC / SD-Card | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | SD card / eMMC |
TQMa6ULx | i.MX6UL | UART1 | RS232 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | default console |
TQMa6ULx | i.MX6UL | I²C | EEPROM | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
TQMa6ULx | i.MX6UL | SPI | QSPI NOR Flash | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
TQMa6ULx | i.MX6UL | IIM / Fuse | OTP Register | ✔ | ✔ | ✔ | ✔ | • | • | ✔ | ✔ | ✔ |
Operating System
Linux
Supported FeaturesBuildsystem | BSP Revision | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PTXdist | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
Yocto | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
TQ Product | Chip | Interface | Function | 0100 | 0104 | 0106 | 0107 | 0110 | 0113 | 0115 | 0116 | 0117 | Remarks |
TQMa6ULx | i.MX6UL | ENET1 | RMII (10/100 Mbit/s) | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
i.MX6UL | ENET2 | RMII (10/100 Mbit/s) | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX6UL | FLEXCAN1 | CAN 2.0B | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX6UL | FLEXCAN2 | CAN 2.0B | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX6UL | GPIO | 1x GPIO | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Supported via beep command |
|
i.MX6UL | GPMI | Multiplexed with other functions (on request), no device MBa6ULx |
|||||||||||
i.MX6UL | I2C2 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Not available by default / configuration resistor R451 and R455 | ||
i.MX6UL | I2C4 | I2C devices | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | See supported onboard I2C devices | |
i.MX6UL | JTAG | Not tested | |||||||||||
i.MX6UL | eLCDIF | Parallel LCD | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 24-bit interface available via X4 | |
LVDS | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | 24-bit available via X17 | |||
i.MX6UL | MIPI CSI | No device on MBa6ULx | |||||||||||
i.MX6UL | MIPI DSI | No device on MBa6ULx | |||||||||||
i.MX6UL | MQS | Multiplexed with other functions (on request) | |||||||||||
i.MX6UL | PWM4 | Backlight Dimming | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX6UL | QSPI | Bus access Memory access | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX6UL | SAI1 | Audiocodec | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||
i.MX6UL | TEMPMON | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Temperature read | ||
i.MX6UL | UART1 | RS232/ USB Debug | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Default console / USB debug connector selectable with S15 on MBA6ULx | |
i.MX6UL | UART2 | TTL | Multiplexed with other functions (on request) | ||||||||||
i.MX6UL | UART3 | TTL | Not available on MBa6ULx | ||||||||||
i.MX6UL | UART4 | TLL | Multiplexed with other functions (on request) | ||||||||||
i.MX6UL | UART5 | TLL | Multiplexed with other functions (on request) | ||||||||||
i.MX6UL | UART6 | RS485 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX6UL | UART7 | TLL | Multiplexed with other functions (on request) | ||||||||||
i.MX6UL | UART8 | TLL | Multiplexed with other functions (on request) | ||||||||||
i.MX6UL | USB_Host | USB2517 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX6UL | USB_OTG1 | Host | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX6UL | USB_OTG1 | OTG | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | tested with usb serial gadget | ||
i.MX6UL | USB_OTG2 | Host | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Only Host supported on MBa6ULx connected to USB2517 Hub [7:1] | |
i.MX6UL | USB_OTG2 | OTG | |||||||||||
i.MX6UL | uSDHC | uSDHC1 SD Card uSDHC2 eMMC | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
MBa6ULx | TLV320AIC3204 | Headphone Out/ Line Out | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||
Line In | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||
Microphone In | On request | ||||||||||||
PCA9554BS | I2C GPIO expander | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||
PCA9554BS | I2C GPIO expander | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||
SIM | Not tested / available on Connector X22 on MBa6ULx | ||||||||||||
STMPE811 | resitive touch controller | Connected to I2C4 on MBa6ULx Not tested |
|||||||||||
USB2517 | USB1 | Host 1 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
USB2517 | USB2 | Host 2 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
USB2517 | USB3 | Host 3 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
USB2517 | USB4 | Host 4 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
USB2517 | USB5 | Host 5 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
USB2517 | USB6 | Host 6 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
USB2517 | USB7 | Host 7 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
SNVS | Reset | Reset PMIC-Reset Power-Down Wake-Up | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
Onboard I2C Devices
MBa6ULX and TQMa6ULxL
I2C bus | TQMa6ULxL | |||||
---|---|---|---|---|---|---|
I2C4 | 0x08 PMIC | 0x1A Tempsensor | 0x32 EEPROM(Protection Mode) | 0x50 EEPROM | 0x52 EEPROM | 0x68 RTC |
I2C bus | MBa6ULx | ||||||
---|---|---|---|---|---|---|---|
I2C4 | 0x18 Audiocodec | 0x19 Tempsensor | 0x20 GPIO Expander | 0x21 GPIO Expander | 0x22 GPIO Expander | 0x41 Touch Controller | 0x51 EEPROM |
Changelog
BSP version history
REV.0117
BSP
- Update to Yocto Kirkstone
Linux
REV.0116
BSP
- Add machine configs with 512 MB RAM
- Add missing information in documentation
- Add bbappend for mesa to support TQMa6U[L]x[L] with mainline kernel
- Support different list of device tree files, depending on the virtual/kernel provider
- Add firmware ath10k as MACHINE_EXTRA_RRECOMEND
Linux
- linux 5.15 support based on linux-stable 5.15.y
- merge all mainline stable fixes up to v5.15.27 (CVE-2022-0847 “Dirty Pipe Vulnerability”)
- linux-tq-5.4 is deprecated for all TQMa6UL[L]x modules (LGA variants as well)
- Fixed:
- GPIO wakeup
- Audio configuration on TQMa6UL[L]x
- QSPI driver bug causing frequent corruptions of filesystems on SPI-NOR flash
- USB support with parallel LCD device tree on MBa6ULxL
REV.0113
BSP
- Update to Linux Kernel 5.4
- Added kernel linux-tq 5.4
- Added kernel linux-rt-tq 5.4
- Added kernel linux-imx-tq 5.4
Linux
- Changed kernel configuration to use the better supported mainline graphics stack
REV.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
REV.0107
BSP
- Added platform MBa6ULxL
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
REV.0106
BSP
- Support / fixes for TQMa6ULx with automotive grade CPU
- e-MMC Timing fix for TQMa6ULx / TQMa6ULxL (low temperature improvement / limit clock speed)
- Update DRAM calibration values for TQMa6ULL
- update patches for TQMa6UL / TQMa6LL e-MMC clocking fix
- update u-boot-imx for TQMa6ULL and TQMa6UL automotive support
U-Boot
- fix output of i.MX6UL(L) speed grade with 696 MHz
- added TQMa6ULL1 support
Linux
- rewrite e-MMC clocking and tuning
- apply e-MMC clocking changes also for LGA module
REV.0104
BSP
- Change image names (mba6ul → mba6ulx, tqma6ul → tqma6ulx)
U-Boot
- Support TQMa6ULx 030x / TQMa6ULxL 020x on MBa6ULx 020x
- Dynamic default if no devicetree set
- Optimize defconfigs
- UBI boot support
- Simplify env scripts
- Optimize qspi clock
- Optimize RAM timing
- Update base version from NXP
Linux
- Backport mmc sysfs fixes for OCR / DSR
- Optimize / cleanup e-MMC / SD config
- Improve QSPI support / Backport jedec detect for QSPI
- Allow 4-Byte address command set for QSPI
- MTD Partitions for MBa6UL
- Backport fixes for EDT Touch
- Rewrite devicetree to reuse fragments for display / TQMa6ULxL etc.
- Support more display variants
- Update base version from NXP