Linux BSP customization for Qseven-i.MX537: Unterschied zwischen den Versionen

Aus BECOM Systems Support
Zur Navigation springen Zur Suche springen
en>Peter
K (1 Version importiert)
 
K (1 Version importiert)
 
(kein Unterschied)

Aktuelle Version vom 31. Oktober 2023, 09:03 Uhr

This document describes various specifics of the Qseven-i.MX537 (100-1500-X) module as far as the Bluetechnix MX53 Linux Board Support Package is concerned.

The Qseven-i.MX537 is supported since Linux BSP release 1.4.

Debug UART adapter

{{#if: Qseven-i.MX537 ||}}{{#if: ||}}{{#if: ||}}{{#if: ||}}{{#if: ||}}{{#if: ||}}{{#if: ||}}{{#if: ||}}{{#if: ||}}{{#if: ||}}
Qseven-i.MX537    V1.0
{{{3}}}   {{{4}}}
{{{5}}}   {{{6}}}
{{{7}}}   {{{8}}}
{{{9}}}   {{{10}}}
{{{11}}}   {{{12}}}
{{{13}}}   {{{14}}}
{{{15}}}   {{{16}}}
{{{17}}}   {{{18}}}
{{{19}}}   {{{20}}}

It is possible (actually recommended) to access the Qseven-i.MX537's debug UART (MX53 UART 1) which is available via an adapter/breakout cable.

  • Qseven-i.MX537 X3
    • Mating connector e.g. Erni nr. 124043
  • UART/USB or USB/RS232 adapter required

Schematics:

LTIB configuration

  • Start LTIB configuration
./ltib -c
  • Choose the correct U-Boot target
--- Choose your board for u-boot
    board (qseven-imx53)  --->
  • Set correct UBIFS/NAND flash parameters
--- Target Image Generation
Options  --->
 (512KiB) ubifs physical erase block(PEB) size
 (520192) ubifs logical erase block(LEB) size in Bytes
 (4096) ubifs maximum logical erase block(LEB) count
 (4096) ubifs minimum I/O unit size
 (1024) ubifs sub-page size

Deployment and boot modes

For deployment, you may use the setup_sdcard.sh Linux shell script as described in the MX53 Software User Manual.

For the Qseven-i.MX537, the following deployment methods are supported:

  • Boot from on-board SPI flash
Use the SD card to set up SPI flash (U-Boot update; Linux kernel) and NAND flash (root file system), then boot from SPI flash
  • Boot from USB/UART
You may use e.g. the MfgTool for mass production.

U-Boot configuration and implementation files

The U-Boot configuration file for the Qseven-i.MX537 is at

u-boot-2009.08/include/configs/mx53_qseven.h

U-Boot build target:

mx53_qseven_config

The implementation of module support is at

u-boot-2009.08/boards/bluetechnix/cmimx53/

Linux configuration and implementation files

Linux Kernel configuration option:

System Type  --->
  Freescale MXC Implementations  --->
    [*] Support Bluetechnix Qseven-i.MX537 module-->

NOTE: By default, the Linux kernel is configured to support all Bluetechnix MX53 modules. The kernel decides at runtime which module it runs on, depending on the machine ID it gets from the U-Boot boot loader.

The platform file for the Qseven-i.MX537 is at:

linux/arch/arm/mach-mx5/mx53_qseven.c

NAND flash ECC information

The i.MX53 uses 16-bit ECC for MT29F16G08ABACA (4KiB page, 224 spare, of which 218 are used); Minimum ECC according to NAND's datasheet is 8 bit.