Difference between revisions of "iMX6 OpenRex Production"

From Voipac Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
This procedure is intended for manufacturing and virgin SBCs only and should be never applied for shipped iMX6 OpenRex Single Board Computers.<br /><br />
 
This procedure is intended for manufacturing and virgin SBCs only and should be never applied for shipped iMX6 OpenRex Single Board Computers.<br /><br />
  
'''''BE AWARE THAT E-FUSES PROGRAMMING IS A NON REVERSAL PROCESS! WARRANTY CLAIM CAUSED BY IMPROPER E-FUSES PROGRAMMING WILL NOT BE ACCEPTED!'''''
+
'''''BE AWARE THAT E-FUSES PROGRAMMING IS A NON REVERSAL PROCESS!<br>WARRANTY CLAIM CAUSED BY IMPROPER E-FUSES PROGRAMMING WILL NOT BE ACCEPTED!'''''
  
 
== Information ==
 
== Information ==
Line 12: Line 12:
  
 
== Description ==
 
== Description ==
Production procedure consist from following steps:
+
Production procedure consists of following steps:
 
* Short BOOT_MODE jumper JP2 on iMX6 OpenRex SBC
 
* Short BOOT_MODE jumper JP2 on iMX6 OpenRex SBC
 
* Connect UART port to serial terminal (Settings: 115200 8n1)
 
* Connect UART port to serial terminal (Settings: 115200 8n1)
Line 19: Line 19:
 
* Execute Manufacturing toolkit at host PC
 
* Execute Manufacturing toolkit at host PC
 
* Press Start button (iMX6 OpenRex SBC will boot firmware loaded over USB)
 
* Press Start button (iMX6 OpenRex SBC will boot firmware loaded over USB)
* Wait until firmware (u-boot) is booted (serial terminal)
+
* Wait until firmware (U-Boot) is booted (serial terminal)
 
* Burn eFuses over serial terminal
 
* Burn eFuses over serial terminal
 
* Remove BOOT_MODE jumper JP2
 
* Remove BOOT_MODE jumper JP2
Line 41: Line 41:
 
== Procedure ==
 
== Procedure ==
 
Select appropriate BAT file and start the bootloader transfer over USB OTG interface:<br />
 
Select appropriate BAT file and start the bootloader transfer over USB OTG interface:<br />
[[image:iMX6_OpenRex_SBC-MfgTool_production_start.jpg|600px]]<br /><br />
+
[[image:iMX6_OpenRex_SBC-MfgTool_production_start.png|580px]]<br /><br />
  
 
Wait until the process is finished:<br />
 
Wait until the process is finished:<br />
[[image:iMX6_OpenRex_SBC-MfgTool_production_success.jpg|600px]]<br /><br />
+
[[image:iMX6_OpenRex_SBC-MfgTool_production_success.png|430px]]<br /><br />
  
 
The board boots from the loaded firmware:<br />
 
The board boots from the loaded firmware:<br />
[[image:iMX6_OpenRex_SBC-Serial_console_production.jpg|600px]]<br /><br />
+
[[image:iMX6_OpenRex_SBC-Serial_console_production.png|580px]]<br /><br />
  
 
== E-Fuses ==
 
== E-Fuses ==
Line 72: Line 72:
  
 
== Testing configuration ==
 
== Testing configuration ==
To check if E-Fuses were setup correctly, test procedure consist from following steps:
+
To check if E-Fuses were setup correctly, test procedure consists of following steps:
 
* Ensure that BOOT_MODE jumper JP2 is not present
 
* Ensure that BOOT_MODE jumper JP2 is not present
 
* Plug micro SD card with valid testing firmware (or plug SATA disk if SATA booting was selected)
 
* Plug micro SD card with valid testing firmware (or plug SATA disk if SATA booting was selected)

Latest revision as of 16:50, 23 April 2022

Disclaimer of caution

This procedure is intended for manufacturing and virgin SBCs only and should be never applied for shipped iMX6 OpenRex Single Board Computers.

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 SPI3 port and will set a unique MAC address.

Description

Production procedure consists of following steps:

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

Requirements

  • microUSB-USB cable
  • UART cable
  • 5V Power supply
  • iMX6 OpenRex SBC
  • Windows PC equipped with MfgTool feature and serial line terminal

Configurations

Production-OpenRex-basic.bat  # Production i.mx6s  512MB
Production-OpenRex-max.bat    # Production i.mx6q  2GB
Production-OpenRex-max4g.bat  # Production i.mx6q  4GB
Production-OpenRex-ultra.bat  # Production i.mx6qp 4GB

Procedure

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

Wait until the process is finished:
iMX6 OpenRex SBC-MfgTool production success.png

The board boots from the loaded firmware:
iMX6 OpenRex SBC-Serial console production.png

E-Fuses

This operation is not reversible and should be executed carefully! i.MX6 processor must be replaced in the case of error.

Boot From SPI3

fuse prog 0 5 0x2A000030
fuse prog 0 6 0x00000010

Boot From SATA

fuse prog 0 5 0x00001020
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

Testing configuration

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

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