Wiki Home » imx6 openrex » production

production

Last modified by Administrator on 2018/03/11 14:59
Hint: This procedure is intended only for manufacturing only and should be never applied for shipped OpenRex boards.

Info

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

Description

Production procedure consists from following steps:

  • Short JP2 jumper on i.MX6 OpenRex board
  • Connect UART port to serial terminal (115200 8n1)
  • Connect USB_OTG port to host PC utilizing microUSB-USB cable
  • Power on i.MX6 OpenRex board using external power supply
  • Execute Manufacturing toolkit at host PC
  • Press Start button (The  i.MX6 OpenRex board will boot firmware loaded over USB)
  • Wait until firmware (u-boot) is booted (serial terminal)
  • Burn efuses over serial terminal
  • Remove JP2 jumper
  • Power off i.MX6 OpenRex board

Requirements

  • microUSB-USB cable
  • UART cable
  • 5V Power supply
  • i.MX6 OpenRex board
  • Windows PC (Mfg_tool, Serial terminal)

Configurations

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

Screenshots

MfgTool-imx6openrexbasic-step01.png
MfgTool-imx6openrexbasic-step02.png
MfgTool-imx6openrexbasic-step03.png

E-FUSES

This operation is not reversible and should be executed carefully. The i.MX6 soc 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 00:0D:15:00:D1:75

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

U-boot over tftp

OpenRex U-Boot > setenv ethaddr 00:01:02:03:04:05
OpenRex U-Boot > setenv ipaddr 192.168.1.50
OpenRex U-Boot > setenv serverip 192.168.1.1
OpenRex U-Boot > mw.b 0x10800000 0xFF 0x80000
OpenRex U-Boot > tftp 0x10800000 imx6/u-boot-imx6-openrexultra.imx
Using FEC device
TFTP from server 192.168.1.1; our IP address is 192.168.1.50
Filename 'imx6/u-boot-imx6-openrexultra.imx'.
Load address: 0x10800000
Loading: #######################
        2.6 MiB/s
done
Bytes transferred = 334848 (51c00 hex)
OpenRex U-Boot > if sf probe 2:2; then sf erase 0x0 0x80000;sf write 0x10800000 0x400 0x7fc00; fi
SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB
SF: 524288 bytes @ 0x0 Erased: OK
SF: 523264 bytes @ 0x400 Written: OK

Test

Test procedure consist from following steps:

  • Ensure that JP2 jumper is not present
  • Plug uSD card with valid testing firmware.
  • Power on i.MX6 OpenRex board
  • On-module red LED must start flashing automatically (bootloader was executed and kernel is loaded)
  • Power off i.MX6 OpenRex board
Tags:
Created by Administrator on 2017/03/11 09:18

This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.1 - Documentation