Difference between revisions of "iMX6 TinyRex Production"

From Voipac Wiki
Jump to navigation Jump to search
 
Line 91: Line 91:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== Testing configuration ==
+
== Configuration testing ==
 
To check that E-Fuses were setup correctly, test procedure consists of following steps:
 
To check that E-Fuses were setup correctly, test procedure consists of following steps:
 
* Ensure that BOOT_MODE jumper is not present
 
* Ensure that BOOT_MODE jumper is not present

Latest revision as of 08:26, 24 April 2022

Disclaimer of caution

This procedure is intended for manufacturing and virgin modules only and should be never applied for shipped iMX6 TinyRex Modules.

BE AWARE THAT E-FUSES PROGRAMMING IS A NON REVERSAL PROCESS!
WARRANTY CLAIM CAUSED BY IMPROPER E-FUSES PROGRAMMING WILL NOT BE ACCEPTED!

Information

This procedure will enforce loading firmware from SD3 port and will set a unique MAC address.

Description

Production procedure consists of following steps:

  • Short BOOT_MODE jumper on iMX6 TinyRex Base Board
  • Connect UART port to serial terminal (Settings: 115200 8n1)
  • Connect USB_OTG port to host PC utilising microUSB-USB cable
  • Power on iMX6 TinyRex Development Kit
  • Execute Manufacturing toolkit at host PC
  • Press Start button (iMX6 TinyRex Module will boot firmware loaded over USB)
  • Wait until firmware (U-Boot) is booted (serial terminal)
  • Burn eFuses over serial terminal
  • Remove BOOT_MODE jumper
  • Power off iMX6 TinyRex Development Kit

Requirements

  • microUSB-USB cable
  • UART cable
  • +5V Power supply
  • iMX6 TinyRex Development kit
  • Windows PC equipped with MfgTool feature and serial line terminal

Configurations

Production-TinyRex-lite.bat   # Production module i.mx6s  256MB
Production-TinyRex-basic.bat  # Production module i.mx6s  512MB
Production-TinyRex-pro.bat    # Production module i.mx6d  1GB
Production-TinyRex-max.bat    # Production module i.mx6q  2GB
Production-TinyRex-ultra.bat  # Production module i.mx6qp 4GB 
Prototype-TinyRex.bat         # Prototype  module i.mx6q  2GB / i.mx6s  1GB

Procedure

Select appropriate BAT file and start the bootloader transfer over USB OTG interface:
iMX6 TinyRex Development Kit-MfgTool production start.png

Wait until the process is finished:
iMX6 TinyRex Development Kit-MfgTool production success.png

The board boots from the loaded firmware:
iMX6 TinyRex Development Kit-Serial console production.png

E-Fuses

This operation is not reversible and should be executed carefully! The iMX6 TinyRex Module must be replaced in the case of error.

Boot From SD3

fuse prog 0 5 0x00003040
fuse prog 0 6 0x00000010

Boot From SPI1

fuse prog 0 5 0x08000030
fuse prog 0 6 0x00000010

Boot From SD3 + SPI1 recovery

fuse prog 0 5 0x48003040
fuse prog 0 6 0x00000010

Boot From SATA

fuse prog 0 5 0x00001020
fuse prog 0 6 0x00000010

Boot From SATA + SPI1 recovery

fuse prog 0 5 0x48001020
fuse prog 0 6 0x00000010

MAC Address

For example address 00:0D:15:00:D1:75 is used:

fuse prog 4 3 0x000d
fuse prog 4 2 0x1500d175

Configuration testing

To check that E-Fuses were setup correctly, test procedure consists of following steps:

  • Ensure that BOOT_MODE jumper is not present
  • Plug micro SD card with valid testing firmware (or plug SATA disk if SATA booting was selected)
  • Power on iMX6 TinyRex Development Kit
  • On-module red LED must start flashing automatically (bootloader was executed and kernel loaded)
  • Power off iMX6 TinyRex Development Kit