各位好:
我想请问一下,就是board-am335xevm.c中am335x_evm_setup函数第一句是获取eeprom中的mac地址的,我们把他删了,请问这个mac地址具体是区分am335x哪种型号还是干吗的?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
AM335x的MAC地址是存在control module的寄存器中的,你可以参考TRM手册的第九章CONTROL MODULE章节,地址偏量为0x630h~0x63C的地方。
这个EEPROM里面存的地址是为了区别板子的型号的,TI有很多类型的开发板,资源配置不一样,板子型号不一样。所以读了这个EEPROM里面ID就能知道这个板子的型号,从而进行相应的资源配置。可以去掉,但是你要做适用于自己板子的资源配置和相关的移植工作,请参考如下:
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/68813.aspx