[0010#] What Is a Linux Device Tree (Part-II) ? | Interview Question | Linux Device Driver|

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต
#PsychicProgrammers #LDD
What is a Linux Device Tree (Part-II)?| Interview Question | Linux Device Driver| Embedded System| #0010
๐Ÿ…Ÿ๐Ÿ…ข๐Ÿ…จ๐Ÿ…’๐Ÿ…—๐Ÿ…˜๐Ÿ…’๐Ÿ…Ÿ๐Ÿ…ก๐Ÿ…ž๐Ÿ…–๐Ÿ…ก๐Ÿ…๐Ÿ…œ๐Ÿ…œ๐Ÿ…”๐Ÿ…ก๐Ÿ…ข๐Ÿ„ฟ๐Ÿ…‚๐Ÿ…ˆ๐Ÿ„ฒ๐Ÿ„ท๐Ÿ„ธ๐Ÿ„ฒ๐Ÿ„ฟ๐Ÿ…๐Ÿ„พ๐Ÿ„ถ๐Ÿ…๐Ÿ„ฐ๐Ÿ„ผ๐Ÿ„ผ๐Ÿ„ด๐Ÿ…๐Ÿ…‚
Answer: Confidential Document
๐Ÿ…ฟ๐Ÿ†‚๐Ÿ†ˆ๐Ÿ…ฒ๐Ÿ…ท๐Ÿ…ธ๐Ÿ…ฒ๐Ÿ…ฟ๐Ÿ†๐Ÿ…พ๐Ÿ…ถ๐Ÿ†๐Ÿ…ฐ๐Ÿ…ผ๐Ÿ…ผ๐Ÿ…ด๐Ÿ†๐Ÿ†‚๐Ÿ‡ตโ€‹๐Ÿ‡ธโ€‹๐Ÿ‡พโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ญโ€‹๐Ÿ‡ฎโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ตโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ดโ€‹๐Ÿ‡ฌโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ฆโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ชโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ธโ€‹
## List of the topic to be discussed
--------------------------------------------------------------------------------------
$ Definitions and The Concept of a Device Tree.
$$ Example - 1 of a Device Tree.
$$$ Example - 2 of a Device Tree.
$$$$ Enable Device Tree in the kernel and header file.
$$$$$ Naming conventions and labeling
$$$$$$ Difference between .dts and .dtsi file
$$$$$$$ Managing address schemes and accessing device resources. Real Life example demonstration trough dmesg (eg. dmesg | grep CMA)

๐Ÿ…Ÿ๐Ÿ…ข๐Ÿ…จ๐Ÿ…’๐Ÿ…—๐Ÿ…˜๐Ÿ…’๐Ÿ…Ÿ๐Ÿ…ก๐Ÿ…ž๐Ÿ…–๐Ÿ…ก๐Ÿ…๐Ÿ…œ๐Ÿ…œ๐Ÿ…”๐Ÿ…ก๐Ÿ…ข๐Ÿ„ฟ๐Ÿ…‚๐Ÿ…ˆ๐Ÿ„ฒ๐Ÿ„ท๐Ÿ„ธ๐Ÿ„ฒ๐Ÿ„ฟ๐Ÿ…๐Ÿ„พ๐Ÿ„ถ๐Ÿ…๐Ÿ„ฐ๐Ÿ„ผ๐Ÿ„ผ๐Ÿ„ด๐Ÿ…๐Ÿ…‚
The Concept of a Device Tree
๐Ÿ…ฟ๐Ÿ†‚๐Ÿ†ˆ๐Ÿ…ฒ๐Ÿ…ท๐Ÿ…ธ๐Ÿ…ฒ๐Ÿ…ฟ๐Ÿ†๐Ÿ…พ๐Ÿ…ถ๐Ÿ†๐Ÿ…ฐ๐Ÿ…ผ๐Ÿ…ผ๐Ÿ…ด๐Ÿ†๐Ÿ†‚๐Ÿ‡ตโ€‹๐Ÿ‡ธโ€‹๐Ÿ‡พโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ญโ€‹๐Ÿ‡ฎโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ตโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ดโ€‹๐Ÿ‡ฌโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ฆโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ชโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ธโ€‹
๐Ÿ…ฟ๐Ÿ†‚๐Ÿ†ˆ๐Ÿ…ฒ๐Ÿ…ท๐Ÿ…ธ๐Ÿ…ฒ๐Ÿ…ฟ๐Ÿ†๐Ÿ…พ๐Ÿ…ถ๐Ÿ†๐Ÿ…ฐ๐Ÿ…ผ๐Ÿ…ผ๐Ÿ…ด๐Ÿ†๐Ÿ†‚๐Ÿ‡ตโ€‹๐Ÿ‡ธโ€‹๐Ÿ‡พโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ญโ€‹๐Ÿ‡ฎโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ตโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ดโ€‹๐Ÿ‡ฌโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ฆโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ชโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ธโ€‹
๐Ÿ…Ÿ๐Ÿ…ข๐Ÿ…จ๐Ÿ…’๐Ÿ…—๐Ÿ…˜๐Ÿ…’๐Ÿ…Ÿ๐Ÿ…ก๐Ÿ…ž๐Ÿ…–๐Ÿ…ก๐Ÿ…๐Ÿ…œ๐Ÿ…œ๐Ÿ…”๐Ÿ…ก๐Ÿ…ข๐Ÿ„ฟ๐Ÿ…‚๐Ÿ…ˆ๐Ÿ„ฒ๐Ÿ„ท๐Ÿ„ธ๐Ÿ„ฒ๐Ÿ„ฟ๐Ÿ…๐Ÿ„พ๐Ÿ„ถ๐Ÿ…๐Ÿ„ฐ๐Ÿ„ผ๐Ÿ„ผ๐Ÿ„ด๐Ÿ…๐Ÿ…‚

$ Thank YOU for your DONATION to #PsychicProgrammers channel.
$$ Donated money will be given to those who are needy people.
$$$ Thanks for growing this channel, Millions of people to enhance their knowledge.
$$$$ Share, Like, Comment and Subscribe to the channel.
$$$$$ If you want to DONATE/SEND more MONEY, you can send it through the following link:

Paytm:

NB: Donated money will be given to those who are needy people.
๐Ÿ…ฟ๐Ÿ†‚๐Ÿ†ˆ๐Ÿ…ฒ๐Ÿ…ท๐Ÿ…ธ๐Ÿ…ฒ๐Ÿ…ฟ๐Ÿ†๐Ÿ…พ๐Ÿ…ถ๐Ÿ†๐Ÿ…ฐ๐Ÿ…ผ๐Ÿ…ผ๐Ÿ…ด๐Ÿ†๐Ÿ†‚๐Ÿ‡ตโ€‹๐Ÿ‡ธโ€‹๐Ÿ‡พโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ญโ€‹๐Ÿ‡ฎโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ตโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ดโ€‹๐Ÿ‡ฌโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ฆโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ชโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ธโ€‹

๐Ÿ…ฟ๐Ÿ†‚๐Ÿ†ˆ๐Ÿ…ฒ๐Ÿ…ท๐Ÿ…ธ๐Ÿ…ฒ๐Ÿ…ฟ๐Ÿ†๐Ÿ…พ๐Ÿ…ถ๐Ÿ†๐Ÿ…ฐ๐Ÿ…ผ๐Ÿ…ผ๐Ÿ…ด๐Ÿ†๐Ÿ†‚๐Ÿ‡ตโ€‹๐Ÿ‡ธโ€‹๐Ÿ‡พโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ญโ€‹๐Ÿ‡ฎโ€‹๐Ÿ‡จโ€‹๐Ÿ‡ตโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ดโ€‹๐Ÿ‡ฌโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ฆโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ฒโ€‹๐Ÿ‡ชโ€‹๐Ÿ‡ทโ€‹๐Ÿ‡ธโ€‹
Added the Part-I of Linux Devic Tree ( Enjoy!! ):
ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ
ะะฒั‚ะพั€

Very informative video.. can you please explain more about how compatible string linked to the device driver and it's probing..

arjunmenon
ะะฒั‚ะพั€

Thanks Rafiq! This video is basically required reading for anyone curious about DeviceTree/OF and the linux CMA. Real-life examples (on x86) are surprisingly hard to come by.

johnnycache
ะะฒั‚ะพั€

What I feel is missing in this video is ->1. A generic open source platform like beaglebone black, 2. purpose for writing a specific device tree, 3. Show how did you compile the device tree any recommendations that is required to compile the device tree, 4. How you load the device tree, 5. Now once device tree is loaded how to make use of it, 6. Also show debugging process of device tree in kernel space as it should be a complete tutorial to clear all doubts....

I liked your video but it don't give a clear idea ...you need to make it more clear. I don't think a big video is boring we will love to have a clear understanding then to have small video that don't clear our doubts. Thank you I appreciate your effort but I don't feel it's clear enough.

ronfratom
ะะฒั‚ะพั€

I'm your new subscriber!! Pls make a proper device tree video more clear from start to end else I will keep on have to search all internet.

ronfratom
ะะฒั‚ะพั€

Great video i have ever seen as a part of real time work!!

pavanshinde
ะะฒั‚ะพั€

Thanks again for the part2. It would be more interesting if you had given demo on opensource board like beagle bone etc. And example with external peripherals

satishm
ะะฒั‚ะพั€

Hi Rafiq, Thanks a lot for sharing knowledge...Could you please let us know how the dts file interact with BSP 'c' code how it is called how c function called dts ... could you explain any interface like interrupt or UART in details. explanation of dts structure variable file where we can find there valuses, how to generate dtb from dts ....Request to please reduce back ground noise.thanks Again..

yogeshasati
ะะฒั‚ะพั€

What is a Linux Device Tree (Part-I)? | Interview Question | Linux Device Driver| #0003

psychicprogrammers
ะะฒั‚ะพั€

if possible make videos on board bring up !

pavanshinde
ะะฒั‚ะพั€

Hi Rafiq. Can please tell me How to set CONFIG_OF to Y?

bodysolid