Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-24-2016, 09:44 AM   #1
LQ Newbie
Registered: Dec 2014
Posts: 22

Rep: Reputation: Disabled
Understanding of how to multiplex pins on Beaglebone black

I want to know how to pin multiplex pins in initial phase of boot i.e is in spl(MLO). What I am trying to do is change the default pin configuration to gpio one, so that I can see high or low on the pin.

On P8 header I tried to change the mode 0 from default 'TIMER4' to gpio2[2] i.e mode 7. So I did this

static struct module_pin_mux gpio2_2_pin_mux[] = {
{OFFSET(gpmc_wen), (MODE(7) | PULLUDEN)},
and called this function

in board/ti/am335x/mux.c

I didn't saw any voltage on 7th pin of P8 header?

What is the correct way to do this?

Last edited by mrigendra; 07-24-2016 at 09:47 AM.


beaglebone, boot loader, uboot

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install eclipse on BeagleBone Black Kippers Linux - Software 11 09-16-2015 07:28 AM
BeagleBone Black enine Slackware - ARM 10 09-04-2015 01:24 AM
beaglebone black running ubuntu. nixdunce Ubuntu 1 07-22-2013 09:20 PM
Beaglebone Black devwatchdog Linux - Embedded & Single-board computer 2 06-08-2013 10:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration