Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

confusing of device tree blob

hello

I have been managing to build whole board specific linux image (the board is DE1-SoC)

This is what I understand : linux-socfpga kernel source, which is available at altera-opensource git, is independent to socfpga board, the kernel configuration is for shared feature of all socfpga board.

And the board specific configuring information(in my case, DE1-SoC) is contained in DTB (Device Tree Blob) which can be built by socfpga EDS. Then u-boot pass it to kernel so that kernel can do board specific configuration too.

I just want to verify my understanding of DTB.

could anybody tell me if I understood wrong??

2 Replies

  • dpavl2's avatar
    dpavl2
    Icon for New Contributor rankNew Contributor

    You have it correct I think.

    When you compile the linux-socfpga kernel for the Cyclone V, I think the .dts file they give is more of a generic one for the "DE0-Atlas" board. I have a DE1-SoC, and have been trying to figure out how to build this device tree, so that I can access the onboard ADC in Linux.

    If you've made any leeway, or have a complete, "definitive" De1_SoC device tree, then please let me know. Thanks you.