uboot fdt usage

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

uboot fdt usage

3,529 次查看
damienhuang
Contributor IV

Hi

This question is regarding to uboot commands

I use the uboot "fdt mknode" command to create two nodes as below

     uboot> fdt resize

     uboot> fdt mknode /my_light_pinctrl

     uboot> fdt set /my_light_pintrl fsl,pins <1 2 3 4 5 6>

     uboot> fdt mknode /my_light

     uboot> fdt /my_light pinctrl-names default

     uboot> fdt /my_light pinctrl-0 <asign to my_light_pinctrl>

but I don't know to write and get the last line working in uboot, because I don't know the phandle of the newly created node "my_light_pinctrl".

Can someone help?

Cheers,

标签 (1)
0 项奖励
1 回复

1,795 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Damien

uboot fdt is described in LinuxFDTBlob < DULG < DENX

also one can post questions on its usage on

U-Boot Info Page

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励