~~NOCACHE~~
====== Entry Page ======
===== Product URL list =====
[[https://www.tq-group.com/en/products/tq-embedded/arm-architecture/mba6ulxl/|TQ product page MBa6ULxL]]\\
====== Board Support Packages ======
* [[.linux:ptxdist:overview|PTXdist Linux BSP Documentation]]
* [[.:linux:yocto:overview| YOCTO Linux BSP Documentation]]
* [[.:windows_ce|Microsoft® Windows® CE]]
* [[.:windows_embedded|Microsoft® Windows® Embedded]]
* [[.:qnx|QNX® Neutrino®]]
* [[.:android|Android]] (coming soon)
====== Third-Party Add-Ons ======
* [[:en:third-party:ittia:db-sql|ITTIA DB SQL]]
* [[:en:third-party:systemcorp:iec61850|SystemCORP IEC 61850]]
* [[:en:third-party:netmodule:iec62439|NetModule IEC 62439]]
====== Starterkit ======
* [[.:dip_switches| MBa6ULxL DIP switch settings]]
====== Hardware ======
===== Onboard I2C devices =====
^ 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 =====
^ 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 | ✔ |
===== Kernel =====
===== Operating System =====
^ 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 \\ [[.linux:ptxdist:overview#onboard_i2c_devices|onboard I2C devices]] |
| ::: | i.MX6UL | LCDIF | Parallel LCD | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | tested with etm0700g0edh6\\ ++requires special devicetree| imx6ul-mba6ulxl-glyn-etm0700g0edh6.dtb++ |
| ::: | 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) |
===== FAQ =====
===== PTXdist =====
===== PTXdist BSP Version Matrix =====
^ BSP revision ^ Pre-Release ^ [[https://www.tq-group.com/filedownloads/files/products/embedded/software_drivers/arm/embedded-modul/_shared/TQ-TQMa6ULx-BSP-REV.0107.zip|0107]] ^ [[https://www.tq-group.com/filedownloads/files/products/embedded/software_drivers/arm/_shared/TQ-TQMa6ULx-BSP-REV.0115.zip|0115]] ^
^ ++PTXdist|\\ version required by BSP++ | [[http://www.pengutronix.de/software/ptxdist/download/ptxdist-2016.04.0.tar.bz2| 2016.04]] | [[http://www.pengutronix.de/software/ptxdist/download/ptxdist-2019.01.0.tar.bz2| 2019.01]] | [[http://public.pengutronix.de/software/ptxdist/ptxdist-2020.01.0.tar.bz2|2020.01.0]] |
^ OSELAS Toolchain | [[http://www.pengutronix.de/oselas/toolchain/download/OSELAS.Toolchain-2014.12.2.tar.bz2| 2014.12.2]] | [[http://www.pengutronix.de/oselas/toolchain/download/OSELAS.Toolchain-2018.02.0.tar.bz2|2018.02]] | [[http://public.pengutronix.de/oselas/toolchain/OSELAS.Toolchain-2019.09.1.tar.bz2|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 |
===== PTXdist Changelog =====
**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]
**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
===== PTXdist Platform =====
Configure the BSP for the desired hardware platform and software configuration using the corresponding command from the following table:
^ Platform ^ Configuration ^ Command ^
| ++MBa6ulxL|\\ ''configs\platform-tq-tqma6ulx\mba6ulxl\platformconfig''++ | ++linux-mainline ¦ systemd init ¦ Qt5|\\ ''configs\platform-tq-tqma6ulx\ptxconfig.qt_bb''\\ ''configs\platform-tq-tqma6ulx\ptxcollection-mba6ulxl.qt''++ | ''tools/config-mba6ulxl.qt'' |
| ::: | ++linux-mainline ¦ systemd init|\\ ''configs\platform-tq-tqma6ulx\ptxconfig.tiny''++ |''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
===== PTXdist Partitions =====
Changing the partition scheme may affect the boot loader update capability and / or the kernel command line parameters!
* 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 |
===== Downloads =====
The Board Support Packages (BSPs) usually provide source code as well as precompiled images for one or more platforms.\\ Please see the [[.:version-matrix|version matrix]] for details on each revision of the BSP.
[[https://www.tq-group.com/filedownloads/files/products/embedded/software_drivers/arm/embedded-modul/_shared/TQ-TQMa6ULx-BSP-REV.0107.zip|TQMa6ULx BSP REV.0107]]☚ current revision\\
[size=70%]MD5SUM: FF2F0A18947A130EA6E93B72A61B8183 [/size]
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|version matrix]].
----
[[http://www.pengutronix.de/software/ptxdist/download/ptxdist-2019.01.0.tar.bz2| Build System PTXdist 2019.01]]
[[http://www.pengutronix.de/software/ptxdist/download/ptxdist-2018.02.0.tar.bz2| Build System PTXdist 2018.02]]
[[http://www.pengutronix.de/oselas/toolchain/download | PTXdist projects for compiling OSELAS toolchains]]
[[http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf| PTXdist manual "How to become a PTXdist Guru"]] ☚ worthwhile reading
[[http://www.pengutronix.de/software/ptxdist/appnotes/AppNote_BuildingToolchain.pdf|Application Note: Building OSELAS.Toolchains()]]
===== Known Issues PTXdist =====
===== Yocto =====
==== Yocto BSP Version Matrix ====
^ BSP Revision ^ ++meta-tq release|\\ [[https://github.com/tq-systems/meta-tq]]++ ^ Yocto Project / Poky Release ^ Target machine((i.e. value for [[https://www.yoctoproject.org/docs/2.4.4/ref-manual/ref-manual.html#var-MACHINE|MACHINE]] variable)) ^ U-Boot ^ Linux ^
| [[https://github.com/tq-systems/meta-tq/tree/kirkstone.TQMa6UL.BSP.SW.0117|0117]] | [[https://github.com/tq-systems/meta-tq/tree/kirkstone |kirkstone]] | 4.0.5 - Kirkstone | ++tqma6ulx-lga-mba6ulxl| TQMa6ULxL on MBa6ULxL++ | [[https://github.com/tq-systems/u-boot-tqmaxx/tree/kirkstone.TQMa6UL.BSP.SW.0117|2016.03 (NXP imx-rel_imx_4.1.15_2.0.0_ga)]] | [[https://github.com/tq-systems/linux-tqmaxx/tree/kirkstone.TQMa6UL.BSP.SW.0117|5.15 ]]\\ |
| [[https://github.com/tq-systems/meta-tq/tree/hardknott.TQMa6UL.BSP.SW.0116|0116]] | [[https://github.com/tq-systems/meta-tq/tree/zeus |zeus]] | 3.3.3 - Hardknott | ++tqma6ulx-lga-mba6ulxl| TQMa6ULxL on MBa6ULxL++ | [[https://github.com/tq-systems/u-boot-tqmaxx/tree/hardknott.TQMa6UL.BSP.SW.0116|2016.03 (NXP imx-rel_imx_4.1.15_2.0.0_ga)]] | [[https://github.com/tq-systems/linux-tqmaxx/tree/hardknott.TQMa6UL.BSP.SW.0116|5.15 ]]\\ |
| [[https://github.com/tq-systems/meta-tq/tree/zeus.TQMa6ULx.BSP.SW.0113|0113]] | [[https://github.com/tq-systems/meta-tq/tree/zeus |zeus]] | 3.0.3 - Zeus | ++tqma6ulx-lga-mba6ulxl| TQMa6ULxL on MBa6ULxL++ | [[https://github.com/tq-systems/u-boot-tqmaxx/releases/tag/zeus.TQMa6ULx.BSP.SW.0113|2016.03 (NXP imx-rel_imx_4.1.15_2.0.0_ga)]] | [[https://github.com/tq-systems/linux-tqmaxx/tree/zeus.TQMa6ULx.BSP.SW.linux-tq.0113|5.4.23 ]]\\ [[https://github.com/tq-systems/linux-tqmaxx/tree/zeus.TQMa6ULx.BSP.SW.linux-rt-tq.0113| 5.4.23 + rt23]]\\ [[https://github.com/tq-systems/linux-tqmaxx/tree/zeus.TQMa6ULx.BSP.SW.linux-imx-tq.0113| v2019.04-lf-5.4.y-1.0.0]] |
| [[https://github.com/tq-systems/meta-tq/releases/tag/warrior.TQMa6ULx.BSP.SW.0107|0110]] | [[https://github.com/tq-systems/meta-tq/tree/warrior|warrior]] | 2.7.0 - Warrior | ++tqma6ulx-lga-mba6ulxl| TQMa6ULxL on MBa6ULxL++ | [[https://github.com/tq-systems/u-boot-tqmaxx/tree/warrior.TQMa6ULx.BSP.SW.0110|2016.03 + rel_imx_4.1.15_2.0.0_ga]] | [[https://github.com/tq-systems/linux-tqmaxx/tree/warrior.TQMa6ULx.BSP.SW.0110| 4.14.78 + rel_imx_4.14.78_1.0.0_ga]] |
| [[https://github.com/tq-systems/meta-tq/releases/tag/warrior.TQMa6ULx.BSP.SW.0107|0107]] | [[https://github.com/tq-systems/meta-tq/tree/warrior|warrior]] | 2.7.0 - Warrior | ++tqma6ulx-lga-mba6ulxl| TQMa6ULxL on MBa6ULxL++ | [[https://github.com/tq-systems/u-boot-tqmaxx/tree/warrior.TQMa6ULx.BSP.SW.0107|2016.03 + rel_imx_4.1.15_2.0.0_ga]] | [[https://github.com/tq-systems/linux-tqmaxx/tree/warrior.TQMa6ULx.BSP.SW.0107|4.14.78 + rel_imx_4.14.78_1.0.0_ga]] |
==== Yocto Changelog ====
**BSP**
* Update to Yocto hardknott
* Add tqma6ulxl / tqma6ullxl 512 MB variants
* Update to Linux Mainline 5.15
**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
**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
* port TQMa6UL Support to yocto warrior
* update kernel to NXP rel_imx_4.14.78
* add support for MBa6ULxL
==== DevHost ====
==== Build BSP ====
==== Adapt BSP ====
==== Deployment ====
==== Known Issues Yocto ====
{{section>.:data#known_issues_ptxdist&noheader}}
===== (Deployment) =====
====== QNX BSP ======
===== U-Boot =====
===== Bootloader =====
==== Supported features ====
\\
==== Supported boot devices ====
===== Operating System =====
===== Onboard I2C devices =====
===== Kernel =====
===== FAQ =====
===== Deployment =====
====== VxWorks BSP ======
===== U-Boot =====
===== Kernel =====
===== FAQ =====
===== Deployment =====