Difference between revisions of "i.MX25 SODIMM PC Boot device options"

From Voipac Wiki
Jump to navigation Jump to search
(Created page with "Category:i.MX25 SODIMM PC - Development kit <!-- --> Voipac i.MX25 SODIMM PC - Development kit is delivered with E-Fuses left intact by default, not programmed. Booting ca...")
 
Line 10: Line 10:
 
<br />
 
<br />
  
All the configuration signals are tied down to ground using external pull-down resistors. These resistors (R900 - R916) ensure that the default state is correctly initialized. More details can be found in datasheet shipped with the development kit:<br />
+
All the configuration signals are tied down to supply voltage using external pull-up resistors. These resistors (R900 - R609) ensure that the default state is correctly initialized. More details can be found in datasheet shipped with the development kit:<br />
 
[[image:i.MX25 SODIMM PC-Development Kit-Boot options.jpg|800px]]<br /><br />
 
[[image:i.MX25 SODIMM PC-Development Kit-Boot options.jpg|800px]]<br /><br />
  
Line 20: Line 20:
  
 
=== Programming E-Fuses ===
 
=== Programming E-Fuses ===
Before programming E-Fuses, E-Fuse supply gate must be enabled:
 
<syntaxhighlight lang="bash">
 
barebox:/ md 0x73fd4064+4
 
73fd4064: 0000fe62                      b...
 
barebox:/ mw 0x73fd4064+4 0xfe72
 
</syntaxhighlight>
 
 
 
Dumping factory E-Fuses configuration before programming:
 
Dumping factory E-Fuses configuration before programming:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 36: Line 29:
 
Writing E-Fuses (example set also MAC address 00:01:02:03:04:05):
 
Writing E-Fuses (example set also MAC address 00:01:02:03:04:05):
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
barebox:/ imx_iim0.permanent_write_enable=1
+
barebox:/ imx_iim_bank0.permanent_write_enable=1
barebox:/ mw -b -d /dev/imx_iim_bank1 9+6 0x00 0x01 0x02 0x03 0x04 0x05
+
barebox:/ mw -b -d /dev/imx_iim_bank0 0x1a+6 0 1 2 3 4 5
 
barebox:/ md -b -s /dev/imx_iim_bank0
 
barebox:/ md -b -s /dev/imx_iim_bank0
 
00000000: 10 10 00 00 01 00 00 02 2b 2b 80 00 02 d9 f4 b1 ........++......
 
00000000: 10 10 00 00 01 00 00 02 2b 2b 80 00 02 d9 f4 b1 ........++......
 
00000010: 00 00 00 00 00 00 00 00 00 00 00 01 02 03 04 05 ................
 
00000010: 00 00 00 00 00 00 00 00 00 00 00 01 02 03 04 05 ................
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
More information about E-Fuse banks layout can be found in [https://www.nxp.com/docs/en/application-note/AN3682.pdf the official NXP documentation].

Revision as of 15:18, 18 April 2021

Voipac i.MX25 SODIMM PC - Development kit is delivered with E-Fuses left intact by default, not programmed. Booting can be selected from various devices thus allowing all the possible booting options to be tested.

Modules support multiple booting options:

  • NAND Flash
  • microSD/MMC
  • SPI Flash
  • I2C EEPROM


All the configuration signals are tied down to supply voltage using external pull-up resistors. These resistors (R900 - R609) ensure that the default state is correctly initialized. More details can be found in datasheet shipped with the development kit:
800px

Boot configuration resistors can be located in the board assembly drawing.

The procedure described below requires extra care as the faulty E-Fuses will cause permanent module malfunction.

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

Programming E-Fuses

Dumping factory E-Fuses configuration before programming:

barebox:/ md -b -s /dev/imx_iim_bank0
00000000: 10 10 00 00 01 00 00 02 2b 2b 80 00 02 d9 f4 b1 ........++......
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

Writing E-Fuses (example set also MAC address 00:01:02:03:04:05):

barebox:/ imx_iim_bank0.permanent_write_enable=1
barebox:/ mw -b -d /dev/imx_iim_bank0 0x1a+6 0 1 2 3 4 5
barebox:/ md -b -s /dev/imx_iim_bank0
00000000: 10 10 00 00 01 00 00 02 2b 2b 80 00 02 d9 f4 b1 ........++......
00000010: 00 00 00 00 00 00 00 00 00 00 00 01 02 03 04 05 ................

More information about E-Fuse banks layout can be found in the official NXP documentation.