[U-Boot] uboot fdt commands

Simon Glass sjg at chromium.org
Tue Feb 23 07:38:04 CET 2016


Hi,

On 18 February 2016 at 00:40, Damien Wei Huang <damien.huang at oa.com.au> wrote:
> 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?

It doesn't look like there is support for adding phandles. You could
enhance the code and send a patch.

>
>
>
> Cheers,
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Regards,
Simon


More information about the U-Boot mailing list