Creating custom DTS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating custom DTS

1,739 Views
angelsix
Contributor I

I have a custom board using the iMX6Quad processor. I've created everything from scratch for the software bringup (SPL, uBoot, Kernel 4.3 mainstream, modules, headers & source) except for the DTS as I cannot find any documentation on creating them.

The board boots fine if I used existing demo or dev boards as I have used existing DTS files from the 4.3 upstream kernel that match the dev boards, however if I try them on my own custom board it does nothing after the "Starting kernel..." stage.

I'm guessing its something in the DTS not matching my custom board so want to create a custom one to match my own board with GPIOs for LEDs also. However, where do I start and are there any tools for creating/editing the DTS/DTSI files?

Labels (3)
Tags (2)
0 Kudos
1 Reply

901 Views
igorpadykov
NXP Employee
NXP Employee

Hi Luke

one can look at some useful links:

http://boundarydevices.com/mx6-device-tree-customization/

https://community.freescale.com/docs/DOC-95333

https://www.chromium.org/chromium-os/u-boot-porting-guide/u-boot-drivers

http://events.linuxfoundation.org/sites/events/files/slides/petazzoni-device-tree-dummies.pdf

Best regards

igor

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

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

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

0 Kudos