您的位置:首页 > 编程语言 > PHP开发

I.MX6 U-boot imxotp MAC address 写入

2016-06-24 12:17 579 查看
/*****************************************************************************
*        I.MX6 U-boot imxotp MAC address 写入
* 说明:
*     I.MX6DL默认是没有MAC地址的,从代码来看,是由自动生成MAC地址的,但是在
* U-boot阶段是可以通过imxotp进行MAC地址的写入的。
*
*                                           2016-6-24 深圳 南山平山村 曾剑锋
****************************************************************************/

一、参考文档:
How to uBoot & Kernel – Compile, Flash, Update, Boot http://www.imx6rex.com/software/how-to-uboot-compile-flash-update/ 
二、操作:
1. Program eFuses to set the MAC address. Be sure that you set the correct address – it cannot be changed back.
2. 示例:
//!!BEAWARE: Once you blow a bit to 1, it can NOT be changed back to 0!!
//USE YOUR MAC ADDRESS!!!!, this is just en example

// example MAC Address: 00:0d:15:00:bc:4a
> imxotp blow --force 23 0x000d
> imxotp blow --force 22 0x1500bc4a
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: