who fills local-mac-address

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

who fills local-mac-address

ソリューションへジャンプ
1,648件の閲覧回数
hyoungkikim
Contributor IV

hello experts

i am new to dts and have a question

in dts file   local-mac-address is all zero

but when kernel boots up   there are valid mac-address which is set  by u-boot's ethaddr variable

i wonder  who changes  local-mac-address  using u-boot's ethaddr variable

before boot    , in u-boot    i  use fdt command  and printed dts  and local-mac-address are all zero

so i think  in kernel  bootup process , some process change local-mac-address  by using u-boot bdinfo

am i wrong ?

any infomation is welcome 

thank you

ラベル(2)
1 解決策
1,197件の閲覧回数
bpe
NXP Employee
NXP Employee

u-Boot performs multiple FDT fixups before passing it to the kernel. local-mac-address is one of the properties that are automatically updated

according to the current configuration. See common/fdt_support.c


Have a great day

Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
1,198件の閲覧回数
bpe
NXP Employee
NXP Employee

u-Boot performs multiple FDT fixups before passing it to the kernel. local-mac-address is one of the properties that are automatically updated

according to the current configuration. See common/fdt_support.c


Have a great day

Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------