i.MX91 fusemap spreadsheet needed to write MAC addresses into OTP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX91 fusemap spreadsheet needed to write MAC addresses into OTP

Jump to solution
2,823 Views
6502_z80
Contributor I

Hello,

I have the i.MX91 FRDM devkit and would like to write the MAC addresses in the OTP.

Uboot can read (and probably write) the efuses (e.g: fuse read 0 1 returns 26d8).

Now I'd like to write the MAC addresses, but I don't know which fuse to write.

The RM says:

6502_z80_0-1754985583758.png

But I could not find the spreadsheet on:

https://www.nxp.com/products/i.MX91

Where can I get the spreadsheet?

Also, which fuses are used to store the MAC addresses?

 

Best regards,

Lo

Tags (1)
0 Kudos
Reply
1 Solution
2,686 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @6502_z80 

The word that you use is not correct. Send you a demo for reference.

 

Regards

Harvey

View solution in original post

0 Kudos
Reply
6 Replies
2,730 Views
6502_z80
Contributor I

Hi Harvey,

 

thanks for pointing out that the spreadsheet is inside the PDF. I was not aware that was an option.

FYI evince handles this well:

6502_z80_0-1755239663364.png

According to this document, the MAC addresses are stored in bank 39, words 315-317:

39, 315 MAC1_ADDR_31_0[31:0]

39, 316 MAC1_ADDR_47_32[47:32] and MAC2_ADDR_15_0[15:0]

39, 317 MAC2_ADDR_47_16[47:16]

When I try to access them in u-boot, I get an error:

u-boot=> fuse read 39 315
Reading bank 39:

Word 0x0000013b:ERROR

Programming them doesn't work:

u-boot=> fuse prog 39 315 0xA6B41D7F
Programming bank 39 word 0x0000013b to 0xa6b41d7f...
Warning: Programming fuses is an irreversible operation!
This may brick your system.
Use this command only if you are sure of what you are doing!

Really perform this fuse programming? <y/N>
y
ERROR
u-boot=>

 

This is u-boot 2024.04 (U-Boot 2024.04 (Aug 11 2025 - 12:04:12 +0200))

 

I have the same result when I try this using the u-boot that came with the dev kit in eMMC (U-Boot 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000))

Writing them from user space is not an option anymore (we used to do this on i.MX6ULL), so u-boot is the right choice, correct?

Am I missing an u-boot patch? Do I need to "unlock" something first?

 

Best regards,

Lo

0 Kudos
Reply
2,687 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @6502_z80 

The word that you use is not correct. Send you a demo for reference.

 

Regards

Harvey

0 Kudos
Reply
2,660 Views
6502_z80
Contributor I

Hi Harvey,

thanks for your explanation how the banks/words are addressed.

I successfully programmed my two MAC addresses into OTP using uboot.

To program MAC 665544332211 and FFEEDDCBBAA write:

44332211 to bank 39 word 3
BBAA6655 to bank 39 word 4
FFEEDDCC to bank 39 word 5

 

Thanks!

Lo

 

0 Kudos
Reply
2,804 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hello @6502_z80 

You can get the spreadsheet from the attachment of i.MX91RM as below.

Harvey021_1-1755052914613.png

And which fuse you need for the MAC from the Fusemap.

 

Regards

Harvey

 

0 Kudos
Reply
2,772 Views
6502_z80
Contributor I

Hi Harvey,

the i.MX91RM is just a PDF document:

6502_z80_0-1755158234407.png

All 22 documents for the i.MX91 that are shown are PDF documents.

I need to know which fuses should hold the MAC addresses for the two Ethernet ports.

 

Best regards,

Lo

 

0 Kudos
Reply
2,751 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @6502_z80 

You need to download the PDF - i.MX91RM that you highlight it, and then you will find attachment (as previous post) from the left panel after opening the PDF. You will find the below from the MAC fuse information.

Harvey021_0-1755231093296.png

The attached Fusemap for your reference.

Regards

Harvey

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2150691%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX91%20fusemap%20spreadsheet%20needed%20to%20write%20MAC%20addresses%20into%20OTP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2150691%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20have%20the%20i.MX91%20FRDM%20devkit%20and%20would%20like%20to%20write%20the%20MAC%20addresses%20in%20the%20OTP.%3C%2FP%3E%3CP%3EUboot%20can%20read%20(and%20probably%20write)%20the%20efuses%20(e.g%3A%20fuse%20read%200%201%20returns%2026d8).%3C%2FP%3E%3CP%3ENow%20I'd%20like%20to%20write%20the%20MAC%20addresses%2C%20but%20I%20don't%20know%20which%20fuse%20to%20write.%3C%2FP%3E%3CP%3EThe%20RM%20says%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226502_z80_0-1754985583758.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226502_z80_0-1754985583758.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351937i7E0416690783517A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%226502_z80_0-1754985583758.png%22%20alt%3D%226502_z80_0-1754985583758.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EBut%20I%20could%20not%20find%20the%20spreadsheet%20on%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fproducts%2Fi.MX91%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fproducts%2Fi.MX91%3C%2FA%3E%3C%2FP%3E%3CP%3EWhere%20can%20I%20get%20the%20spreadsheet%3F%3C%2FP%3E%3CP%3EAlso%2C%20which%20fuses%20are%20used%20to%20store%20the%20MAC%20addresses%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3ELo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2152875%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX91%20fusemap%20spreadsheet%20needed%20to%20write%20MAC%20addresses%20into%20OTP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2152875%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harvey%2C%3C%2FP%3E%3CP%3Ethanks%20for%20your%20explanation%20how%20the%20banks%2Fwords%20are%20addressed.%3C%2FP%3E%3CP%3EI%20successfully%20programmed%20my%20two%20MAC%20addresses%20into%20OTP%20using%20uboot.%3C%2FP%3E%3CP%3ETo%20program%20MAC%20665544332211%20and%20FFEEDDCBBAA%20write%3A%3C%2FP%3E%3CP%3E44332211%20to%20bank%2039%20word%203%3CBR%20%2F%3EBBAA6655%20to%20bank%2039%20word%204%3CBR%20%2F%3EFFEEDDCC%20to%20bank%2039%20word%205%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3ELo%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2152799%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX91%20fusemap%20spreadsheet%20needed%20to%20write%20MAC%20addresses%20into%20OTP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2152799%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253724%22%20target%3D%22_blank%22%3E%406502_z80%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20word%20that%20you%20use%20is%20not%20correct.%20Send%20you%20a%20demo%20for%20reference.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3EHarvey%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2152729%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX91%20fusemap%20spreadsheet%20needed%20to%20write%20MAC%20addresses%20into%20OTP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2152729%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harvey%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ethanks%20for%20pointing%20out%20that%20the%20spreadsheet%20is%20%3CEM%3Einside%3C%2FEM%3E%20the%20PDF.%20I%20was%20not%20aware%20that%20was%20an%20option.%3C%2FP%3E%3CP%3EFYI%20evince%20handles%20this%20well%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226502_z80_0-1755239663364.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226502_z80_0-1755239663364.png%22%20style%3D%22width%3A%20280px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F352522i5739277DA96B1BC4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%226502_z80_0-1755239663364.png%22%20alt%3D%226502_z80_0-1755239663364.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAccording%20to%20this%20document%2C%20the%20MAC%20addresses%20are%20stored%20in%20bank%2039%2C%20words%20315-317%3A%3C%2FP%3E%3CP%3E39%2C%20315%20MAC1_ADDR_31_0%5B31%3A0%5D%3C%2FP%3E%3CP%3E39%2C%20316%20MAC1_ADDR_47_32%5B47%3A32%5D%20and%20MAC2_ADDR_15_0%5B15%3A0%5D%3C%2FP%3E%3CP%3E39%2C%20317%20MAC2_ADDR_47_16%5B47%3A16%5D%3C%2FP%3E%3CP%3EWhen%20I%20try%20to%20access%20them%20in%20u-boot%2C%20I%20get%20an%20error%3A%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3Eu-boot%3D%26gt%3B%20fuse%20read%2039%20315%20%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3EReading%20bank%2039%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3EWord%200x0000013b%3AERROR%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3EProgramming%20them%20doesn't%20work%3A%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3Eu-boot%3D%26gt%3B%20fuse%20prog%2039%20315%200xA6B41D7F%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3EProgramming%20bank%2039%20word%200x0000013b%20to%200xa6b41d7f...%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3EWarning%3A%20Programming%20fuses%20is%20an%20irreversible%20operation!%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3EThis%20may%20brick%20your%20system.%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3EUse%20this%20command%20only%20if%20you%20are%20sure%20of%20what%20you%20are%20doing!%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%3CSTRONG%3EReally%20perform%20this%20fuse%20programming%3F%20%3CY%3E%3C%2FY%3E%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3Ey%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3EERROR%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3Eu-boot%3D%26gt%3B%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThis%20is%20u-boot%202024.04%20(%3CSTRONG%3E%3CEM%3EU-Boot%202024.04%20(Aug%2011%202025%20-%2012%3A04%3A12%20%2B0200)%3C%2FEM%3E%3C%2FSTRONG%3E)%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20have%20the%20same%20result%20when%20I%20try%20this%20using%20the%20u-boot%20that%20came%20with%20the%20dev%20kit%20in%20eMMC%20(%3CEM%3E%3CSTRONG%3EU-Boot%202024.04%2Bgde16f4f1722%2Bp0%20(Sep%2002%202024%20-%2010%3A44%3A35%20%2B0000)%3C%2FSTRONG%3E%3C%2FEM%3E)%3C%2FP%3E%3CP%3EWriting%20them%20from%20user%20space%20is%20not%20an%20option%20anymore%20(we%20used%20to%20do%20this%20on%20i.MX6ULL)%2C%20so%20u-boot%20is%20the%20right%20choice%2C%20correct%3F%3C%2FP%3E%3CP%3EAm%20I%20missing%20an%20u-boot%20patch%3F%20Do%20I%20need%20to%20%22unlock%22%20something%20first%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3ELo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2152671%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX91%20fusemap%20spreadsheet%20needed%20to%20write%20MAC%20addresses%20into%20OTP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2152671%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253724%22%20target%3D%22_blank%22%3E%406502_z80%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20need%20to%20download%20the%20PDF%20-%20i.MX91RM%20that%20you%20highlight%20it%2C%20and%20then%20you%20will%20find%20attachment%20(as%20previous%20post)%20from%20the%20left%20panel%20after%20opening%20the%20PDF.%20You%20will%20find%20the%20below%20from%20the%20MAC%20fuse%20information.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harvey021_0-1755231093296.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harvey021_0-1755231093296.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F352504i346857299E3CFD1D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harvey021_0-1755231093296.png%22%20alt%3D%22Harvey021_0-1755231093296.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20attached%20Fusemap%20for%20your%20reference.%3C%2FP%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3EHarvey%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2152188%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX91%20fusemap%20spreadsheet%20needed%20to%20write%20MAC%20addresses%20into%20OTP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2152188%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Harvey%2C%3C%2FP%3E%3CP%3Ethe%20i.MX91RM%20is%20just%20a%20PDF%20document%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%226502_z80_0-1755158234407.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%226502_z80_0-1755158234407.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F352402i73DFDBBA864F8C1F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%226502_z80_0-1755158234407.png%22%20alt%3D%226502_z80_0-1755158234407.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAll%2022%20documents%20for%20the%20i.MX91%20that%20are%20shown%20are%20PDF%20documents.%3C%2FP%3E%3CP%3EI%20need%20to%20know%20which%20fuses%20should%20hold%20the%20MAC%20addresses%20for%20the%20two%20Ethernet%20ports.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3ELo%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2151260%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i.MX91%20fusemap%20spreadsheet%20needed%20to%20write%20MAC%20addresses%20into%20OTP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2151260%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253724%22%20target%3D%22_blank%22%3E%406502_z80%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20get%20the%20spreadsheet%20from%20the%20attachment%20of%20i.MX91RM%20as%20below.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Harvey021_1-1755052914613.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Harvey021_1-1755052914613.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F352103iE5013DDA412B26A3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Harvey021_1-1755052914613.png%22%20alt%3D%22Harvey021_1-1755052914613.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAnd%20which%20fuse%20you%20need%20for%20the%20MAC%20from%20the%20Fusemap.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CP%3EHarvey%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E