This is an old revision of the document!



Embedded module TQMa28 - Linux BSP documentation


The i.MX28 is well supported in the mainline kernel. To build a experimental Kernel from git you can do:

make mx28evk_defconfig
make menuconfig
# make sure to add MXS_AUART and SERIAL_MXS_AUART_CONSOLE
make uImagemmc dev

In case a complete new firmware image (U-Boot, linux kernel, root filesystem) is to be installed, but the the rescue mode cannot be enabled because the DIP switches are not accessible, a workaround is to invalidate the master boot record (MBR) of the eMMC flash:

  • using Linux
dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=4
  • using U-Boot
TQMa28 U-Boot > mmc dev 0
TQMa28 U-Boot > mw.b $loadaddr 0 1000; mmc write $loadaddr 0 8

These commands erase the MBR and the system is not bootable anymore afterwards!
The system detects this and switches to rescue mode after a short while, thus a new firmware image can be installed using the MFG-Tool.

  • Last modified: 2022/08/04 15:04