PageSourceSearch

https://milkv.io/assets/js/512b3421.3c334692.js

js milkv.io collected 2026-09-24 19:35:53 UTC 3,527 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmilkv_website=self.webpackChunkmilkv_website||[]).push([[8100],{38267:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>m,frontMatter:()=>s,metadata:()=>d,toc:()=>c});var o=n(85893),r=n(11151);const s={sidebar_label:"Update EEPROM",sidebar_position:120},i=void 0,d={id:"mars/compute-module/update-eeprom",title:"update-eeprom",description:"Mars CM uses EEPROM to record SN and store DDR and eMMC information. Generally speaking, you do not need to modify the data in the eeprom.",source:"@site/docs/mars/compute-module/update-eeprom.md",sourceDirName:"mars/compute-module",slug:"/mars/compute-module/update-eeprom",permalink:"/docs/mars/compute-module/update-eeprom",draft:!1,unlisted:!1,editUrl:"https://github.com/milk-v/milkv.io/edit/main/docs/mars/compute-module/update-eeprom.md",tags:[],version:"current",sidebarPosition:120,frontMatter:{sidebar_label:"Update EEPROM",sidebar_position:120},sidebar:"mars",previous:{title:"Hardware Docs",permalink:"/docs/mars/compute-module/hardware"},next:{title:"Images Download",permalink:"/docs/mars/compute-module/resources/images"}},a={},c=[];function l(e){const t={code:"code",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:"Mars CM uses EEPROM to record SN and store DDR and eMMC information. Generally speaking, you do not need to modify the data in the eeprom."}),"\n",(0,o.jsx)(t.p,{children:"However, if you need to modify the data in the eeprom, you can use the following method to update the eeprom."}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsxs)(t.p,{children:["Connect to Mars CM via serial port, and press the ",(0,o.jsx)(t.code,{children:"Enter"})," key to enter the U-Boot command line when it starts."]}),"\n"]}),"\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsxs)(t.p,{children:["Short the ",(0,o.jsx)(t.code,{children:"EEPROM_WP"})," pin to the ground, so that the EEPROM can be written. As shown in the figure below, use tweezers to short EN to GND."]}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.img,{alt:"EEPROM_WP",src:n(78410).Z+"",width:"1448",height:"1086"})}),"\n"]}),"\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsx)(t.p,{children:"Enter the following command in the U-Boot command line to update the EEPROM."}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-shell",children:"mac product_id MARC-V10-2340-D004E032-00001234\nmac write_eeprom\n"})}),"\n",(0,o.jsxs)(t.p,{children:["In which, ",(0,o.jsx)(t.code,{children:"D004"})," represents 4GB DDR, ",(0,o.jsx)(t.code,{children:"E032"})," represents 32GB eMMC, and ",(0,o.jsx)(t.code,{children:"00001234"})," represents SN."]}),"\n"]}),"\n",(0,o.jsxs)(t.li,{children:["\n",(0,o.jsx)(t.p,{children:"Restart Mars CM, and the new EEPROM information will be used."}),"\n"]}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},78410:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/images/update-eeprom-445b469458a73455434083a716217381.webp"},11151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>i});var o=n(67294);const r={},s=o.createContext(r);function i(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.