element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Board device tree.
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 42 replies
  • Subscribers 23 subscribers
  • Views 4070 views
  • Users 0 members are here
  • device
  • tree
Related

Board device tree.

Former Member
Former Member over 11 years ago

It would be nice if someone can post or point for riotboard device tree file.

 

Just the .dts file that supersedes/overloads the existing arch/arm/boot/dts/imx6qdl.dtsi in linux kernel.

... a kernel defconfig file would be also appreciated.

 

Pablo.

---

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 11 years ago

    It's my understanding that the supported linux kernel is the 3.0.35 version, this is before devicetree came to the arm architecture.

     

    I've not been able to find anything beyond the kernels at https://github.com/embest-tech/linux-imx as mentioned in the users manual.  So it's likely there simply isn't a dts for this board.

     

    Depends on how they've configured the default kernel, but you may be able to get the config used by looking at the contents of /proc/config.gz

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Well this helps a little bit but it is not really the way it should be done.

    iMX6 has multifunctional IOs and each board use them in different ways. At the given pointer it is rather difficult to know how io muxing has been done.

    If you have a look at similar boards like "wandboard" you will see that same IOs are not used for the same functions.

    Official linux kernel release provides already support for Wandboard, Olinuxino, Zedboard and other equivalent boards based on A10, A13, A20.

    I do not like the idea of having a cooked kernel for this one, I prefer to have the freedom of doing all from scratch.

     

    I asked the question just not to do the work twice. Apparently nobody has done the dts file for this board yet. I'll try to get it done based on latest kernel release. The compiled kernel should be the same for all iMX6 platforms, the only thing that should change is the device tree for each specific board this is the trend to follow on ARM Linux kernels now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    You're absolutely right, devicetree is the way to go today for current kernels. Unfortunate then that this particular board has no upstream support in current kernels, or in upstream u-boot.  Personally, I'm holding off on getting one until there's at least some indication that there's at least a plan to push support upstream. Like you say, it's mostly just an appropriate dts that's needed. The manufacturer not doing it isn't a particularly good sign though. That said, it does appear to be firmly aimed at android, so possibly Linux isn't something they're particularly interested in.

     

    The commit to add RIoT support is this one: https://github.com/embest-tech/linux-imx/commit/a0660f4c989e6874d79b9a6d737b3f9fe7228057

    the detail of the pinmux configuration is buried in there, mostly in the board files arch/arm/mach-mx6/board-mx6q_riot.c & arch/arm/mach-mx6/board-mx6dl_riot.h in the way that was normal for Arm before devicetree came along.


    Freescale have moved on to a 3.10.17 base kernel here http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_3.10.17_1.0.0_beta that does include devicetree, but as far as I can tell there's nothing in there for RIoT either.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    You're absolutely right, devicetree is the way to go today for current kernels. Unfortunate then that this particular board has no upstream support in current kernels, or in upstream u-boot.  Personally, I'm holding off on getting one until there's at least some indication that there's at least a plan to push support upstream. Like you say, it's mostly just an appropriate dts that's needed. The manufacturer not doing it isn't a particularly good sign though. That said, it does appear to be firmly aimed at android, so possibly Linux isn't something they're particularly interested in.

     

    The commit to add RIoT support is this one: https://github.com/embest-tech/linux-imx/commit/a0660f4c989e6874d79b9a6d737b3f9fe7228057

    the detail of the pinmux configuration is buried in there, mostly in the board files arch/arm/mach-mx6/board-mx6q_riot.c & arch/arm/mach-mx6/board-mx6dl_riot.h in the way that was normal for Arm before devicetree came along.


    Freescale have moved on to a 3.10.17 base kernel here http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_3.10.17_1.0.0_beta that does include devicetree, but as far as I can tell there's nothing in there for RIoT either.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube