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 GPIO on RIoT Board - Android
  • 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 2 replies
  • Subscribers 22 subscribers
  • Views 389 views
  • Users 0 members are here
  • android
  • riot_board
Related

GPIO on RIoT Board - Android

Former Member
Former Member over 10 years ago

I have a problem that I've been working on for the last couple of days but haven't made any significant progress. I'm hoping that I might find some help here.

 

So I have a Riotboard, and I have to figure out a way how to get the entire peripheral break-out header working on Android, so I can write some control methods and pass them over to Android developers. I personally think it's a bit weird, that you have a hardware Android board and not ship it out with direct control capabilities, but hey, that's life for you.

 

Anyways, as you probably know, the main issue with working on Android is the lack of a device tree and I can't afford to wait for one. I've downloaded the last android image source files with the intention of either writing my own character driver or modifying the kernel settings so I'd successfully break out the hardware into user-space and then compiling a complete custom image. This is where I hit a wall. I'm not a Linux developer, but I've been learning intensively and covered a lot of ground in the last couple of days. But when checking over the kernel source files, I've figured out that there are layers and layers of abstractions in the code and I can't wrap my head around them.

 

I've learned a lot reading through and following this thread:

Recompiling Android for use with Parallel RGB TFT LCD and Capacitive Touch Panel

and I've gotten pretty familiar with the device datasheet -> I have all the relevant register addresses written out, but I'm still having trouble connecting the dots and building a working implementation. Currently, I'm really desperate simply to get the GPIO working, but my final goal is to enable every peripheral on the break-out -> Uart's, SPI, I2C and PWM.

 

I'm guessing a good place to start would be modifying the u-boot to set the MUX registers on GPIO's to 0x05. Can anyone help me with this and perhaps push me in the right direction?

  • Sign in to reply
  • Cancel
Parents
  • clem57
    0 clem57 over 10 years ago

    Here is another blog post that will help: GPIO Ports on RIoT Board

    Clem

    PS I assume you already have digested these documents at RIoTboard Development Platform.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • clem57
    0 clem57 over 10 years ago

    Here is another blog post that will help: GPIO Ports on RIoT Board

    Clem

    PS I assume you already have digested these documents at RIoTboard Development Platform.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • clem57
    0 clem57 over 10 years ago in reply to clem57

    Another source/forums are: GPIO configuration of Freescale IMX6

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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