Difference between revisions of "iMX6 TinyRex Production"
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:iMX6 TinyRex Development | + | [[Category:iMX6 TinyRex Development Kit]] |
<!-- --> | <!-- --> | ||
<div style="float:right">__TOC__</div> | <div style="float:right">__TOC__</div> | ||
== Disclaimer of caution == | == Disclaimer of caution == | ||
− | This procedure is intended for manufacturing and virgin modules | + | This procedure is intended for manufacturing and virgin modules only and should be never applied for shipped iMX6 TinyRex Modules.<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 == | ||
− | This procedure will enforce loading firmware from SD3 port and will set unique MAC address. | + | This procedure will enforce loading firmware from SD3 port and will set a unique MAC address. |
== Description == | == Description == | ||
− | Production procedure | + | Production procedure consists of following steps: |
* Short BOOT_MODE jumper on iMX6 TinyRex Base Board | * Short BOOT_MODE jumper on iMX6 TinyRex Base Board | ||
* Connect UART port to serial terminal (Settings: 115200 8n1) | * Connect UART port to serial terminal (Settings: 115200 8n1) | ||
* Connect USB_OTG port to host PC utilising microUSB-USB cable | * Connect USB_OTG port to host PC utilising microUSB-USB cable | ||
− | * Power on iMX6 TinyRex Development | + | * Power on iMX6 TinyRex Development Kit |
* Execute Manufacturing toolkit at host PC | * Execute Manufacturing toolkit at host PC | ||
− | * Press Start button (iMX6 TinyRex | + | * Press Start button (iMX6 TinyRex Module will boot firmware loaded over USB) |
− | * Wait until firmware ( | + | * Wait until firmware (U-Boot) is booted (serial terminal) |
− | * Burn | + | * Burn eFuses over serial terminal |
* Remove BOOT_MODE jumper | * Remove BOOT_MODE jumper | ||
− | * Power off iMX6 TinyRex Development | + | * Power off iMX6 TinyRex Development Kit |
== Requirements == | == Requirements == | ||
* microUSB-USB cable | * microUSB-USB cable | ||
* UART cable | * UART cable | ||
− | * 5V Power supply | + | * +5V Power supply |
* iMX6 TinyRex Development kit | * iMX6 TinyRex Development kit | ||
− | * Windows PC equipped with [http://downloads.voipac.com/ | + | * Windows PC equipped with [http://downloads.voipac.com/files/iMX6_TinyRex_Development_Kit/tools/mfgtools-Imx6Rex.zip MfgTool] feature and serial line terminal |
== Configurations == | == Configurations == | ||
Line 43: | Line 43: | ||
== 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: | + | [[image:iMX6_TinyRex_Development_Kit-MfgTool_production_start.png|580px]]<br /><br /> |
Wait until the process is finished:<br /> | Wait until the process is finished:<br /> | ||
− | [[image: | + | [[image:iMX6_TinyRex_Development_Kit-MfgTool_production_success.png|430px]]<br /><br /> |
The board boots from the loaded firmware:<br /> | The board boots from the loaded firmware:<br /> | ||
− | [[image: | + | [[image:iMX6_TinyRex_Development_Kit-Serial_console_production.png|580px]]<br /><br /> |
== E-Fuses == | == E-Fuses == | ||
− | This operation is not reversible and should be executed carefully | + | 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 === | === Boot From SD3 === | ||
Line 85: | Line 85: | ||
=== MAC Address === | === MAC Address === | ||
− | For example address 00:0D:15:00:D1:75 is | + | For example address 00:0D:15:00:D1:75 is used: |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
fuse prog 4 3 0x000d | fuse prog 4 3 0x000d | ||
Line 91: | Line 91: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | == | + | == Configuration testing == |
− | To check | + | 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 | ||
* 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) | ||
− | * Power on iMX6 TinyRex Development | + | * Power on iMX6 TinyRex Development Kit |
* On-module red LED must start flashing automatically (bootloader was executed and kernel loaded) | * On-module red LED must start flashing automatically (bootloader was executed and kernel loaded) | ||
− | * Power off iMX6 TinyRex Development | + | * Power off iMX6 TinyRex Development Kit |
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:
Wait until the process is finished:
The board boots from the loaded firmware:
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