Device Tree(DTS) in Uboot

cancel
Showing results for 
Search instead for 
Did you mean: 

Device Tree(DTS) in Uboot

5,095 Views
keshavakumarb
Contributor I

Dear All,

   

   I am having i.MX6ULL custom board which is currently running Latest stable kernel from NXP based on Yocto Krogoth 2.1 :

Kenel :4.1.5

Uboot : 2016.03

I came across i.MX6 community  BSP : https://www.nxp.com/docs/en/user-guide/i.MX_Yocto_Project_User%27s_Guide_Linux.pdf 

It is having following Uboot and Kernel

Uboot: 2017.03

Kernel: 4.9.x

When I went through the source code of Uboot and built for i.MX6ULLEVK I see that some dtb is generated and all device tree is available in u-boot-imx/arch/arm/dts/ folder. It looks like some kind of stripped down version of Linux kernel device tree.

I have some doubts regarding Device tree on U-boot:

  1. When device tree for U-boot was introduced?
  2. Is it mandatory to use Uboot device tree?
  3. Can I use same device tree as that of kernel.?
  4. Can this device tree only minimal items (required to boot)

Please clarify above items . I will do some research on this Uboot device tree Topic.

With Regards,

Keshava Kumar B

Labels (4)
0 Kudos
1 Reply

2,177 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

   U-boot uses own Device Tree version, it describes only modules, that are needed for boot.

The first mentions about U-boot Device trees for NXP BSPs may be found in “i.MX_Linux_Release_Notes.pdf”

of NXP L4.14.62 (beta).

 

< https://www.nxp.com/webapp/Download?colCode=L4.14.62_1.0.0_Beta_LINUX_DOCS >

 

Summary page:

 

< https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/i.mx-evaluation-an...;

 

  It is recommended to use “i.MX_BSP_Porting_Guide.pdf” of NXP documentation regarding

adaptation U-boot for customer’s boards.

 


Have a great day,
Yuri

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

0 Kudos