Embedded module TQMa7x - PTXdist Linux BSP documentation
BSP Overview
BSP Version Matrix
BSP Revision | PTXdist | OSELAS Toolchain | Platform | U-Boot | Linux Kernel | Qt Version |
---|---|---|---|---|---|---|
0113 | 2020.01 | 2019.09.1 | MBa7x | 2016.03 (NXP imx-rel_imx_4.1.15_2.0.0_ga) | linux 5.4.87 linux 5.4.87 + -rt48 | 5.12.6 |
0108 | 2019.01 | 2018.12.0 | MBa7x | 2016.03 (NXP imx-rel_imx_4.1.15_2.0.0_ga) | 4.14.78 4.14.78 + -rt47 (NXP 4.14.78 rel_imx_4.14.78_1.0.0_ga) | 5.6.3 |
0105 | 2016.04 | 2014.12.2 | MBa7x | 2016.03 (NXP imx-rel_imx_4.1.15_2.0.0_ga) | 4.1.15 (NXP imx-rel_imx_4.1.15_2.0.0_ga) | 5.6.2 |
0101 | 2016.04 | 2014.12.2 | MBa7x | 2016.03 (NXP imx-rel_imx_4.1.15_2.0.0_ga) | 4.1.15 (NXP imx-rel_imx_4.1.15_2.0.0_ga) | 5.6.1 |
Bootloader
U-Boot
Supported FeaturesBuildsystem | BSP Revision | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PTXdist | ✔ | ✔ | ✔ | ✔ | |||||||
Yocto | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||
TQ Product | Chip | Interface | Function | 0101 | 0105 | 0108 | 0111 | 0113 | 0114 | 0115 | |
TQMa7x | i.MX7 | Ethernet | 2x RGMII (10/100/1000 Mbit/s) | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
TQMa7x | i.MX7 | Fuses | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
TQMa7x | i.MX7 | GPIO | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | custom config on request | |
TQMa7x | i.MX7 | I²C | EEPROM, Temperature Sensors, RTC | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
TQMa7x | i.MX7 | qSPI | QSPI SPI NOR Flash | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
TQMa7x | i.MX7 | UART6 | RS232 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | default console |
TQMa7x | i.MX7 | USB | USB Storage Device | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
TQMa7x | i.MX7 | uSDHC | eMMC / SD-Card | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | SD card / eMMC |
U-Boot
Supported boot devicesBoot device | BSP Revision | Remarks | ||||||
---|---|---|---|---|---|---|---|---|
0101 | 0105 | 0108 | 0111 | 0113 | 0114 | 0115 | ||
eMMC | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
SD | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |
QSPI NOR-Flash | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
Operating System
Linux
Supported FeaturesBuildsystem | BSP Revision | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
PTXdist | ✔ | ✔ | ✔ | ✔ | ✔ | |||||||
Yocto | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
TQ Product | Chip | Interface | Function | Pre-Release | 0101 only tested with MBa7x REV.0200 | 0105 only tested with MBa7x REV.0200 | 0108 | 0111 | 0113 | 0114 | 0115 | |
TQMa7x | i.MX7 | ADC1 | Touch Interface | not tested | ||||||||
i.MX7 | ADC2 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | tested with IIO device | |||
i.MX7 | CSI | Parallel CSI | on request | |||||||||
i.MX7 | eCSPI1 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | exported as spidev | |||
i.MX7 | eCSPI2 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | exported as spidev | |||
i.MX7 | EIM | Bus access | no device on MBa7x on request |
|||||||||
i.MX7 | ENET1 | RGMII (10/100/1000 Mbit/s) | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | incompatible with MBa7x Rev.010x | |
i.MX7 | ENET2 | RGMII (10/100/1000 Mbit/s) | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | incompatible with MBa7x Rev.010x | |
i.MX7 | EPDC | conflicts with QSPI NOR no device on MBa7x |
||||||||||
i.MX7 | FLEXCAN1 | CAN 2.0B | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX7 | FLEXCAN2 | CAN 2.0B | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX7 | FLEXTIMER | not tested | ||||||||||
i.MX7 | GPMI | no device on TQMa7x / MBa7x check pin multiplexing if needed on custom baseboard |
||||||||||
i.MX7 | I2C1 | I2C devices | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | see supported onboard I2C devices | |
i.MX7 | I2C2 | I2C devices | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | see supported onboard I2C devices | |
i.MX7 | JTAG | not tested | ||||||||||
i.MX7 | KPP | not tested | ||||||||||
i.MX7 | LCD1 | Parallel LCD | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | LVDS and LCD1 are mutually exclusive special devicetree needed |
|
i.MX7 | MIPI CSI | no device on MBa7x | ||||||||||
i.MX7 | MIPI DSI | no device on MBa7x | ||||||||||
i.MX7 | MQS | no device on MBa7X | ||||||||||
i.MX7 | PCIe | Host controller | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Tested with Realtek NIC only available on i.MX7 Dual only supported on NXP Linux kernel |
|||
i.MX7 | PWM1 | PWM controller | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | special devicetree needed for backlight | |
i.MX7 | QSPI | Bus access Memory access | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX7 | SAI1 | TLV320AIC3204 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||
i.MX7 | SIM | Tested with NXP Test application | ||||||||||
i.MX7 | TAMPER | not tested | ||||||||||
i.MX7 | TEMPMON | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Temperature read | ||
i.MX7 | UART3 | TTL | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | available on X25 | |||
i.MX7 | UART4 | TTL | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | available on X24 | |||
i.MX7 | UART5 | TTL | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | available on X25 | |||
i.MX7 | UART6 | RS232 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Default Console | |
i.MX7 | UART7 | RS485 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
i.MX7 | USB_Host | USB4604 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | requires BSP REV ≥ 0105 for TQMa7S | ||
i.MX7 | USB_OTG1 | Host | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | requires BSP REV ≥ 0105 for TQMa7S | |
i.MX7 | USB_OTG1 | OTG | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Tested with serial downloader mode requires BSP REV ≥ 0105 for TQMa7S |
||
i.MX7 | USB_OTG2 | Host | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | only available on i.MX7 Dual | ||
i.MX7 | USB_OTG2 | OTG | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | only available on i.MX7 Dual | |||
i.MX7 | uSDHC | uSDHC1 SD Card uSDHC3 eMMC | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | HS200 / HS400 Mode for uSDHC3 HS MODE for SD Card on uSDHC1 needs switchable supply voltage, not available on MBA7x |
|
i.MX7 | WDOG1 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Necessary changes for MBa7x Rev.0100 | ||
MBa7x | PCA9555 | I2C port expander | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
PCA9555 | I2C Port Expander | Buzzer | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
PCA9555 | I2C Port Expander | 4x GPIO | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
PCA9555 | I2C Port Expander | 3x GPIO Key | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | not usable as wakeup source | |
PCA9555 | I2C Port Expander | 2x LED | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||
Smart Card | SIM | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | Tested with NXP test application | |||
SNVS | Reset | Reset, PMIC- Reset, Power- down, Wake-Up | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||
SN75LVDS83B | LVDS | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | LVDS and LCD1 are mutually exclusive special devicetree needed |
||
TLV320AIC3204 | Headphone Out/ Line Out | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | selectable by using solder straps on MBa7x | |||
Line In | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | noisy audio record with default settings | |||||
Microphone In | TBD | |||||||||||
USB4604 | USB1 | Host | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | requires BSP REV ≥ 0105 for TQMa7S | ||
USB4604 | USB2 | Host | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | requires BSP REV ≥ 0105 for TQMa7S | ||
USB4604 | USB3 | Host | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | requires BSP REV ≥ 0105 for TQMa7S | ||
USB4604 | USB4 | Host | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | requires BSP REV ≥ 0105 for TQMa7S |
Onboard I2C Devices
I2C Device Overview
TQMa7x / MBa7x REV.02xx
I2C bus | TQMa7x | |||||
---|---|---|---|---|---|---|
I2C1 | 0x08 PMIC | 0x1e SE97BTP (tempsensor) | 0x50 EEPROM | 0x68 RTC | 0x56 SE97BTP (eeprom) | 0x36 SE97BTP |
I2C bus | MBa7x | |||||
I2C1 | 0x49 LM75A |
|||||
I2C2 | 0x18 Audiocodec | 0x2D HSIC HUB | 0x20 I2C GPIO expander | 0x6A Clock generator |
TQMa7x / MBa7x REV.01xx
I2C bus | TQMa7x | |||||||
---|---|---|---|---|---|---|---|---|
I2C1 | 0x08 PMIC | 0x48 LM75A | 0x50 EEPROM | 0x68 RTC |
||||
I2C bus | MBa7x | |||||||
I2C1 | 0x49 LM75A |
|||||||
I2C2 | 0x18 Audiocodec | 0x2D HSIC HUB | 0x20 I2C GPIO expander | 0x6A Clock generator |
Changelog
BSP Version History
TQMa7x.BSP.SW.0113
BSP
- Add systemd ethernet config for eth0 and eth1
- Add option to load tq u-boot from TQ-Systems github repo
- Update 5.4 mainline kernel to 5.4.87-rt48
- Update 5.4 mainline kernel to 5.4.87
- Update asound.state for kernel 5.4
- Remove patches from u-boot imx 2016.03 and mainline 2017.11
- Remove patches from kernel 4.19 and u-boot 2019.04
TQMa7x.BSP.SW.0108
BSP
- Configure USB OTG port as OTG port
TQMa7x.BSP.SW.0105
TQMa7x-BSP
- QSPI Boot Support
- poor mans splash screen
- improved Display Support (DMB, Glyn)
- new verison for eGTouchD
- new version for fbtest
- fix / add license naming in rule files
- new version for e2fsutils
- slim Qt5 enable config to enable QSPI rootfs
- fix audio out quality
- enable hwrngd
Linux
- improve kernel config
- QSPI RootFS support
- device tree split for HW rev 0100 / 0200
- device tree split for TQMa7S / TQMa7D
- improved Display Support (glyn, dmb)
- improved support for FocalTech FT50x touch controller
- improved QSPI support (1-1-4 command set)
- improved MMC support (backport sysfs entries fro OCR, DSR)
U-Boot
- QSPI Boot support
- QSPI boot environment settings
- UBI support
- MTD partitioning
- automatic device tree name calculation if no devicetree name in env
- rely on device Tree for TQMa7S / TQMa7D instead of device tree patching
- Hardware revision detection
- support for TQMa7x Revision 0100 / 0200
- enable USB support for HSIC phy
TQMa7x.BSP.SW.0101