Re: [beagleboard] Re: Qt5 on Debian BBB

2014-09-01 Thread Don deJuan
On 09/01/2014 11:35 PM, Seth wrote:
> Thanks don. That's cool Qt is all ready to go on ALARM. Is there also
> an easy way to change the splash screen to something custom, like what
> Plymouth seems to offer? I didn't get there yet but it seemed like
> Debian had a few guides around that I could use.
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
would still be relevant except how you build packages on alarm vs
debian. There site has pages in regards to that. Plus you end up getting
the amazing wiki that is arch linux and you also get the best package
manager around pacman.

png to ppm put in the kernel src in appropriate dir edit kconfig logo.c
makefile recompile install reboot, enjoy your new splash.

Enjoy never reinstalling a new "release version" again and many more
wondrous things and having to hack things back to how you want them or
endlessly compiling cause X is out of date which ends up causing issues
with Y and all the joys that is debian. I have alarm installs going on
4+ years, and arch linux installs on boxes much older.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Qt5 on Debian BBB

2014-09-01 Thread Seth
Thanks don. That's cool Qt is all ready to go on ALARM. Is there also an 
easy way to change the splash screen to something custom, like what 
Plymouth seems to offer? I didn't get there yet but it seemed like Debian 
had a few guides around that I could use.

>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread Don deJuan
On 09/01/2014 08:15 PM, William Pretty Security wrote:
>
> You need to change the “permissions”
>
>  
>
> chmod 777 /dev/sda1
>
>  
>
> or
>
>  
>
> chmod 777 /media/mydiskname
>
>  
>
>  
>
>  
>
> "No one could make a greater mistake than he who did nothing because
> he could do only a little."
>
> "All that is necessary for the triumph of evil is that good men do
> nothing" Edmond Burke /(1729 - 1797)/
>
> http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book
>
>  
>
> *From:*beagleboard@googlegroups.com
> [mailto:beagleboard@googlegroups.com] *On Behalf Of *Jose B Rivera
> *Sent:* Monday, September 01, 2014 10:17 PM
> *To:* beagleboard@googlegroups.com
> *Subject:* [beagleboard] Re: Booting off Micro SD Card
>
>  
>
> I somehow figured out how to get my micro sd card to be 'sda1'. I
> added some text to it 
>
> "mmcdev=1
>
> bootpart=1:2
>
> mmcroot=/dev/mmcblk1p2 ro
>
> optargs=quiet"
>
>  
>
> And named it uEnv.txt
>
> (on the card itself)
>
> Now my BBB sees it as sda1. I was able to mount it to /media by making
> a directory under it and then mounted it.
>
>  
>
> Question: How do I now use this mounted sda1?  I tried ftp upload to
> it but I get permission denied.
>
>  
>
>  
>
>
> On Monday, September 1, 2014 8:02:47 PM UTC-4, Jose B Rivera wrote:
>
> Where can I obtain an image to put on a 32gb micro sd card to then
> insert into my BBB and have it boot off of the micro sd card? (And the
> instructions to go with it?). Having my BBB recognize the 32gb card as
> external storage has become such a big problem/issue, that at this
> point I just want to boot off the card in order to use the 32gb of
> file space it affords.  All I find on the internet are confusing
> instructions which tend to mix files used to flash the emmc with
> instructions to boot off a micro-sd card. 
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
> No virus found in this message.
> Checked by AVG - www.avg.com 
> Version: 2014.0.4745 / Virus Database: 4015/8138 - Release Date: 09/01/14
>
> 
>
> No virus found in this message.
> Checked by AVG - www.avg.com 
> Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14
> Internal Virus Database is out of date.
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

chmod 777 is bad advice. Figure out the real issue and solve the problem.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread jstampfl
Check your mount options.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread William Pretty Security
You need to change the “permissions”

 

chmod 777 /dev/sda1

 

or

 

chmod 777 /media/mydiskname

 

 

 

"No one could make a greater mistake than he who did nothing because he could 
do only a little."

"All that is necessary for the triumph of evil is that good men do nothing" 
Edmond Burke (1729 - 1797)

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Jose B Rivera
Sent: Monday, September 01, 2014 10:17 PM
To: beagleboard@googlegroups.com
Subject: [beagleboard] Re: Booting off Micro SD Card

 

I somehow figured out how to get my micro sd card to be 'sda1'. I added some 
text to it 

"mmcdev=1

bootpart=1:2

mmcroot=/dev/mmcblk1p2 ro

optargs=quiet"

 

And named it uEnv.txt

(on the card itself)

Now my BBB sees it as sda1. I was able to mount it to /media by making a 
directory under it and then mounted it.

 

Question: How do I now use this mounted sda1?  I tried ftp upload to it but I 
get permission denied.

 

 


On Monday, September 1, 2014 8:02:47 PM UTC-4, Jose B Rivera wrote:

Where can I obtain an image to put on a 32gb micro sd card to then insert into 
my BBB and have it boot off of the micro sd card? (And the instructions to go 
with it?). Having my BBB recognize the 32gb card as external storage has become 
such a big problem/issue, that at this point I just want to boot off the card 
in order to use the 32gb of file space it affords.  All I find on the internet 
are confusing instructions which tend to mix files used to flash the emmc with 
instructions to boot off a micro-sd card. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4745 / Virus Database: 4015/8138 - Release Date: 09/01/14

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14
Internal Virus Database is out of date.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread Jose B Rivera
I somehow figured out how to get my micro sd card to be 'sda1'. I added 
some text to it 
"mmcdev=1
bootpart=1:2
mmcroot=/dev/mmcblk1p2 ro
optargs=quiet"

And named it uEnv.txt
(on the card itself)
Now my BBB sees it as sda1. I was able to mount it to /media by making a 
directory under it and then mounted it.

Question: How do I now use this mounted sda1?  I tried ftp upload to it but 
I get permission denied.



On Monday, September 1, 2014 8:02:47 PM UTC-4, Jose B Rivera wrote:
>
> Where can I obtain an image to put on a 32gb micro sd card to then insert 
> into my BBB and have it boot off of the micro sd card? (And the 
> instructions to go with it?). Having my BBB recognize the 32gb card as 
> external storage has become such a big problem/issue, that at this point I 
> just want to boot off the card in order to use the 32gb of file space it 
> affords.  All I find on the internet are confusing instructions which tend 
> to mix files used to flash the emmc with instructions to boot off a 
> micro-sd card. 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Booting off Micro SD Card

2014-09-01 Thread jstampfl
You said you couldn't add the microSD card - did you follow the 
instructions at: http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage

Actually, you can format the microSD card on another machine (I used 
windows xp).  Then put the uEnv.txt file in partition 0.  I you just 
formated the 32GB as one partion, then just copy the uEnv.txt file.  See 
the above webpage for the contents of the uEnv.txt file.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] purchasing beagleboard-xM

2014-09-01 Thread webby

Hi, I'm interested in buying beagleboard-xM(BB-XM-00).
It's hard to buy this board.

Is beagleboard-xM(BB-XM-00) discontinued or planning discontinued?
Not available to purchase from the seller lists on beagleboard.org.

Please anyone tell me the place to buy beagleboard-xM(BB-XM-00).

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [beagleboard] Booting off Micro SD Card

2014-09-01 Thread William Pretty Security
Copy any of the 8GB images to the uSD and then resize the disk to 32GB.

There are plenty of instructions :D

 

"No one could make a greater mistake than he who did nothing because he could 
do only a little."

"All that is necessary for the triumph of evil is that good men do nothing" 
Edmond Burke (1729 - 1797)

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Jose B Rivera
Sent: Monday, September 01, 2014 8:03 PM
To: beagleboard@googlegroups.com
Subject: [beagleboard] Booting off Micro SD Card

 

Where can I obtain an image to put on a 32gb micro sd card to then insert into 
my BBB and have it boot off of the micro sd card? (And the instructions to go 
with it?). Having my BBB recognize the 32gb card as external storage has become 
such a big problem/issue, that at this point I just want to boot off the card 
in order to use the 32gb of file space it affords.  All I find on the internet 
are confusing instructions which tend to mix files used to flash the emmc with 
instructions to boot off a micro-sd card. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4745 / Virus Database: 4015/8138 - Release Date: 09/01/14

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14
Internal Virus Database is out of date.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Qt5 on Debian BBB

2014-09-01 Thread Don deJuan
On 09/01/2014 05:08 PM, Seth wrote:
>
> I may have figured it out. I simply changed *
> -xplatform linux-arm-gnueabihf-g++ *
> to***
> -xplatform **devices/linux-beagleboard-g++*
> and it got past the error I was having.
>
> I'll post again here if I run into any more issues.
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

Or if you get tired of dealing with having to roll your own for most
things just install ALARM(arch linux arm) and be done with it. All your
QT{4,5} desires are there ready and waiting.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Qt5 on Debian BBB

2014-09-01 Thread Seth

I may have figured it out. I simply changed 
*-xplatform linux-arm-gnueabihf-g++ *
to 
*-xplatform **devices/linux-beagleboard-g++*
and it got past the error I was having.

I'll post again here if I run into any more issues. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Booting off Micro SD Card

2014-09-01 Thread Jose B Rivera
Where can I obtain an image to put on a 32gb micro sd card to then insert 
into my BBB and have it boot off of the micro sd card? (And the 
instructions to go with it?). Having my BBB recognize the 32gb card as 
external storage has become such a big problem/issue, that at this point I 
just want to boot off the card in order to use the 32gb of file space it 
affords.  All I find on the internet are confusing instructions which tend 
to mix files used to flash the emmc with instructions to boot off a 
micro-sd card. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Qt5 on Debian BBB

2014-09-01 Thread Seth
I've been following this guide 
. 
However, I am attempting to use Qt 5.3 instead of 4.8.6 as in the guide. 
I'm using this Qt source for 5.3.1 
.
 


The differences start at the *mkdir mkspecs/qws/linux-am335x-g++ *line of 
the guide. In the Qt 5.3 source, there is already a directory: 
*qt-everywhere-opensource-src-5.3.1/qtbase/mkspecs/devices/linux-beagleboard-g++*
 
which already has a premade qmake.conf file (the guide explains that this 
directory and file don't exist in Qt 4.8). 

I would like to use the touchscreen and therefore I followed the guide's 
instructions for building tslib. It says to add these two lines to the 
*qmake* file to enable the touchscreen support:

*QMAKE_INCDIR += /home//qt-bbb/downloads/tslib/src*


*QMAKE_LIBDIR += /home//qt-bbb/tslib/lib*( in my case is just 
"seth")

The premade file does not include these lines. It's easy enough to add, but 
one of my questions is: Do I need to still do this for Qt 5.3 or is that 
somehow included already? I'd rather ask for help here first than to do it 
wrong and have to re-do it (I remember this process causing me headaches 
when I had to do it before on the BBW). I did try running the configure 
command with the *-qt-mouse-tslib* switch, but it complained that it wasn't 
a valid switch so I would guess I no longer need to do this?

My last question (for now) is regarding the configure command. I've tried 
the following:

*./configure -v -opensource -confirm-license -no-pch -no-opengl -make libs 
-device linux-beagleboard-g++ -xplatform linux-arm-gnueabihf-g++ 
-no-accessibility -qt-zlib -qt-libpng -qt-libjpeg -device-option 
CROSS_COMPILE=/home/seth/qt-bbb/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-
 
-prefix /opt/qt5*

As this is similar to this post 
. However, upon running I 
get:


*The specified system/compiler is not supported:  
/home/seth/qt-bbb/qt-everywhere-opensource-src-5.3.1/qtbase/mkspecs/linux-arm-gnueabihf-g++*

Sometimes the error gives enough info for me to figure out myself but I 
don't know about this one. I never gave it 
*/home/seth/qt-bbb/qt-everywhere...* in the configure line so I don't know 
where that is coming from. In fact, I thought the CROSS_COMPILE option I 
gave it would be the one used, but apparently not?

Note: I am using Ubuntu 14.04 for doing this. I got the toolchain from here 
 where 
*gcc-linaro-arm-linux-gnueabihf-**4.8* is the latest. 

If you think I could get more help by posting these questions on the 
qt-project.org forums I will do so. Thanks for any guidance!

-Seth

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SD port broken?

2014-09-01 Thread Robert Nelson
>> > Is it possible that the sd port is broken? The item is brand new.
>>
>> What "type" of microSD cards? (SDXC are not supported)
>>
>
> Do you mean "sdhc"?

No i specifically meant "SDXC" as that would explain why it doesn't work..

http://en.wikipedia.org/wiki/Secure_Digital#SDXC

based on your response, you have a "SD/SDHC" so that should be good..

What brand/model?

"pastebin.com" your "dmesg"

(if pastebinit is installed you can run:)

dmesg | pastebinit

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SD port broken?

2014-09-01 Thread Mario Giammarco


Il giorno lunedì 1 settembre 2014 19:29:11 UTC+2, RobertCNelson ha scritto:
>
> On Mon, Sep 1, 2014 at 12:16 PM, Mario Giammarco  > wrote: 
> > Hello, 
> > I have tried two top brand sdhc card on my beaglebone black. 
> > I cannot see them. 
> > If I am right they should be on /dev/mmcbk1 devices but I see only 
> > internal mmc. 
>
> that depends... when did you stick it in? 
>

Before boot 

>
> > What tests can I do? 
>
> lsblk 
>

I see only mmcblk0 

>
> > Is it possible that the sd port is broken? The item is brand new. 
>
> What "type" of microSD cards? (SDXC are not supported) 
>
>
Do you mean "sdhc"?
 

> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SD port broken?

2014-09-01 Thread Robert Nelson
On Mon, Sep 1, 2014 at 12:16 PM, Mario Giammarco  wrote:
> Hello,
> I have tried two top brand sdhc card on my beaglebone black.
> I cannot see them.
> If I am right they should be on /dev/mmcbk1 devices but I see only
> internal mmc.

that depends... when did you stick it in?

> What tests can I do?

lsblk

> Is it possible that the sd port is broken? The item is brand new.

What "type" of microSD cards? (SDXC are not supported)

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] SD port broken?

2014-09-01 Thread Mario Giammarco
Hello,
I have tried two top brand sdhc card on my beaglebone black.
I cannot see them.
If I am right they should be on /dev/mmcbk1 devices but I see only 
internal mmc.
What tests can I do?
Is it possible that the sd port is broken? The item is brand new.

Thanks,
Mario

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Black PWM lowest frequency ?

2014-09-01 Thread TJF
Am Samstag, 30. August 2014 15:49:43 UTC+2 schrieb xmen...@gmail.com:
>
> Can anyone tell me the lowest frequency beaglebone black can get ? I dont 
> own it yet but if it can do what I need, I will buy.
>

PWM output can be generated in two ways. The lowest frequency depends on 
the used device:


   - ehrpwm: 0,426 Hz (= 100e6 / 0x1 / 1792, 2 x 3 pins available - A 
   and B output @ same frequency)
   - eCAP in PWM mode: 0,0233 HZ (= 100e6 / 0x, 1 pin available in 
   default configuration)
   
 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?

2014-09-01 Thread John Syn

From:  halfbrain 
Reply-To:  "beagleboard@googlegroups.com" 
Date:  Monday, September 1, 2014 at 8:23 AM
To:  "beagleboard@googlegroups.com" 
Subject:  Re: [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?

> I'm using Derek Molloys device Tree overlays and I'm running debian... I can't
> find the folder on my bbb .
> 
> But I found the "am335x-bone-common.dtsi
>  5x-bone-common.dtsi> " in
> https://github.com/derekmolloy/boneDeviceTree/tree/master/DTSource3.8.13 which
> I have on my bbb. I've commented out the section you mentioned but nothing
> changes. Without using or declaring the I2c2 pins in my Device Tree Overlay
> I'm able to use all unallocated pins as GPIO Inputs as I declared them in my
> Device Tree Overlay.
> 
> Did i change the wrong am335x-bone-common.dtsi
>  5x-bone-common.dtsi> .? Is there another one elsewhere on the debian
> distribution or do i have to copy the changed file into a specific folder?
You need to follow:

http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxK
ernel

After the kernel has built, you will see a KERNEL folder which includes the
complete Linux Kernel. In that folder, go to /arch/arm/boot/dts and edit the
am335x-bone-common.dtsi file. After that, return to the bb-kernel folder and
run tools/rebuild.sh script. The build results will be in the deploy folder
which you need to copy to your sdcard/³nfs folder².

Regards,
John
> 
> 
> Am Sonntag, 31. August 2014 20:59:21 UTC+2 schrieb john3909:
>> 
>> From:  halfbrain  >
>> Reply-To:  "beagl...@googlegroups.com  "
>>  >
>> Date:  Sunday, August 31, 2014 at 2:30 AM
>> To:  "beagl...@googlegroups.com  " >  >
>> Subject:  Re: [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?
>> 
>>> how do u use the i2c2 pins? it doesn't work on my bbb if i only change the
>>> pinmode to mode 7 in my device tree. have u done additional changes or
>>> something like that elsewhere?
>> If you look at /arch/arm/boot/dts/am335x-bone-common.dtsi you will see the
>> i2c2 definition:
>> 
>> &i2c2 {
>> status = "okay";
>> pinctrl-names = "default";
>> pinctrl-0 = <&i2c2_pins>;
>> clock-frequency = <10>;
>> cape_eeprom0: cape_eeprom0@54 {
>> compatible = "at,24c256";
>> reg = <0x54>;
>> };
>> cape_eeprom1: cape_eeprom1@55 {
>> compatible = "at,24c256";
>> reg = <0x55>;
>> };
>> cape_eeprom2: cape_eeprom2@56 {
>> compatible = "at,24c256";
>> reg = <0x56>;
>> };
>> cape_eeprom3: cape_eeprom3@57 {
>> compatible = "at,24c256";
>> reg = <0x57>;
>> };
>> };
>> The line ³pinctrl-0 = <&i2c2_pins>;² refers to the i2cs_pins label in the
>> pinmux section:
>> 
>>   i2c2_pins: pinmux_i2c2_pins {
>> pinctrl-single,pins = <
>> 0x178 0x73 /* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
>> 0x17c 0x73 /* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
>>>  >; 
>>  }; 
>> 
>> So, as you can see, i2c2 is used to identify the capes plugged into the BBB.
>> If you don¹t need this feature, simply remove or comment out this section and
>> then change the i2c2 pins to gpio pins.
>> 
>> Regards,
>> John
>>> 
>>> Am Montag, 19. Mai 2014 12:20:03 UTC+2 schrieb Dhruv Vyas:
 Thanks John. Got it cleared. :)
 
 On Monday, May 19, 2014 1:49:16 AM UTC+5:30, john3909 wrote:
> 
> From:  Dhruv Vyas 
> Reply-To:  
> Date:  Sunday, May 18, 2014 at 2:42 AM
> To:  
> Subject:  [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?
> 
>> Hello,
>> 
>> I recently started working on my BBB A6A. I went through necessary
>> getting started guides and it works like a charm. Now as a part of my
>> project, I need to use some of the GPIOs on P8/P9 header. While googling
>> how to use them as a GPIO, and how to set pinmux and etc, I went through
>> this guide. 
>> http://derekmolloy.ie/gpios-on-the-beaglebone-black-using-device-tree-ove
>> rlays/ and he explained everything very clearly.
>> 
>> Now my question is : is there any way i can use allocated pins as GPIOs
>> other than available pins ? If yes, how ? If no, why ?
>> 
>> For example, P9_19 and P9_20 are Allocated to (Group: pinmux_i2c2_pins)
>> and hence it can not be used as GPIOs ?
> If pins are also connected to circuitry on the board that cannot be
> disabled then you cannot use those pins for GPIO. For example, pins used
> for the eMMC can be used for GPIO as long as eMMC is disabled. Same for
> LCD pins, but then you cannot use LCD or HDMI. I2C2 isn¹t connected to
> other circuity on the board so you can use it for GPIO.
> 
> Regards,
> John
>> 
>> 
>> Thanks.
>> 
>> 
>> 
>> 
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Gr

Re: [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?

2014-09-01 Thread halfbrain
I'm using Derek Molloys device Tree overlays and I'm running debian... I 
can't find the folder on my bbb .

But I found the "am335x-bone-common.dtsi 

" in  
https://github.com/derekmolloy/boneDeviceTree/tree/master/DTSource3.8.13 
which I have on my bbb. I've commented out the section you mentioned but 
nothing changes. Without using or declaring the I2c2 pins in my Device Tree 
Overlay I'm able to use all unallocated pins as GPIO Inputs as I declared 
them in my Device Tree Overlay. 

Did i change the wrong am335x-bone-common.dtsi 
.?
 
Is there another one elsewhere on the debian distribution or do i have to 
copy the changed file into a specific folder?

Am Sonntag, 31. August 2014 20:59:21 UTC+2 schrieb john3909:
>
>
> From: halfbrain >
> Reply-To: "beagl...@googlegroups.com " <
> beagl...@googlegroups.com >
> Date: Sunday, August 31, 2014 at 2:30 AM
> To: "beagl...@googlegroups.com "  >
> Subject: Re: [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?
>
> how do u use the i2c2 pins? it doesn't work on my bbb if i only change the 
> pinmode to mode 7 in my device tree. have u done additional changes or 
> something like that elsewhere?
>
> If you look at /arch/arm/boot/dts/am335x-bone-common.dtsi you will see the 
> i2c2 definition:
>
> &i2c2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = 
> <&i2c2_pins>; clock-frequency = <10>; cape_eeprom0: cape_eeprom0@54 { 
> compatible = "at,24c256"; reg = <0x54>; }; cape_eeprom1: cape_eeprom1@55 { 
> compatible = "at,24c256"; reg = <0x55>; }; cape_eeprom2: cape_eeprom2@56 { 
> compatible = "at,24c256"; reg = <0x56>; }; cape_eeprom3: cape_eeprom3@57 { 
> compatible = "at,24c256"; reg = <0x57>; };};The line “pinctrl-0 = 
> <&i2c2_pins>;” refers to the i2cs_pins label in the pinmux section:
>
>   i2c2_pins: pinmux_i2c2_pins { 
> pinctrl-single,pins = < 
> 0x178 0x73 /* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ 
> 0x17c 0x73 /* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ 
>  >; 
>  }; 
>
> So, as you can see, i2c2 is used to identify the capes plugged into the 
> BBB. If you don’t need this feature, simply remove or comment out this 
> section and then change the i2c2 pins to gpio pins.
>
> Regards,
> John
>
>
> Am Montag, 19. Mai 2014 12:20:03 UTC+2 schrieb Dhruv Vyas:
>>
>> Thanks John. Got it cleared. :)
>>
>> On Monday, May 19, 2014 1:49:16 AM UTC+5:30, john3909 wrote:
>>>
>>>
>>> From: Dhruv Vyas 
>>> Reply-To: 
>>> Date: Sunday, May 18, 2014 at 2:42 AM
>>> To: 
>>> Subject: [beagleboard] Can "allocated pins" on BBB be used as GPIOs ?
>>>
>>> Hello,
>>>
>>> I recently started working on my BBB A6A. I went through necessary 
>>> getting started guides and it works like a charm. Now as a part of my 
>>> project, I need to use some of the GPIOs on P8/P9 header. While googling 
>>> how to use them as a GPIO, and how to set pinmux and etc, I went through 
>>> this guide.  
>>> http://derekmolloy.ie/gpios-on-the-beaglebone-black-using-device-tree-overlays/
>>>  
>>> and he explained everything very clearly.
>>>
>>> Now my question is : is there any way i can use allocated pins as GPIOs 
>>> other than available pins ? If yes, how ? If no, why ? 
>>>
>>> For example, P9_19 and P9_20 are Allocated to (Group: pinmux_i2c2_pins) 
>>> and hence it can not be used as GPIOs ?
>>>
>>> If pins are also connected to circuitry on the board that cannot be 
>>> disabled then you cannot use those pins for GPIO. For example, pins used 
>>> for the eMMC can be used for GPIO as long as eMMC is disabled. Same for LCD 
>>> pins, but then you cannot use LCD or HDMI. I2C2 isn’t connected to other 
>>> circuity on the board so you can use it for GPIO. 
>>>
>>> Regards,
>>> John
>>>
>>>
>>>
>>> Thanks.
>>>
>>>
>>>
>>> -- 
>>> For more options, visit http://beagleboard.org/discuss
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to beagleboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit

[beagleboard] Re: kernel source for bbb-exp-c

2014-09-01 Thread N Kumar
Hi,
Can some one tell me the working kernel surce ftp path.
git is failing with error in inflate.

Please let me know the stable kernel for beagle bone which I can download 
via ftp.


Thanks
Niraj

On Sunday, August 31, 2014 8:26:29 PM UTC+5:30, Bradley Matusiak wrote:

> i ordered the BBB-EXP-C and it came with the DVD of software.. i pulled 
> out the kernel and posted on github for a reference
>
> https://github.com/bmatusiak/bbb-exp-lcd7
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black PWM lowest frequency ?

2014-09-01 Thread kavitha bk
Are you talking about processor frequency or PWN  frequency?



On Sat, Aug 30, 2014 at 7:19 PM,  wrote:

> Can anyone tell me the lowest frequency beaglebone black can get ? I dont
> own it yet but if it can do what I need, I will buy.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Is it easy to reduce the clock frequency on Beaglebone I2C?

2014-09-01 Thread cl
Martin H.  wrote:
> [-- text/plain, encoding quoted-printable, charset: UTF-8, 31 lines --]
> 
> You might like to have a look at the P82B96 data sheet.
> Feature:
> "400kHz operation over at least 20 meters of wire"
> 
> And you don't have to modifiy your I2C code!
> 
Actually I have some P82B715PN on order, an older device but similar
and available in DIP so easier for me to use.

However it would still be nice to be able to slow the bus down rather
more easily than modifiying the device tree.

-- 
Chris Green
·

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Is it easy to reduce the clock frequency on Beaglebone I2C?

2014-09-01 Thread Martin Haupt

... and the P82B71 ...

Martin H.

--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.