[beagleboard] Confused between Device Tree and Device Tree Overlay.What to use for the new Driver?

2016-07-25 Thread Raul Piper
Hi Greg, Thankyou for the elaborative post and the link you sent.My understanding is mainly theoretical and inlined with what you wrote.. Yes,I have been scanning across many links on google and stack overflow but not able to find single one convincing. I came to conclusion that i will write a

Re: [beagleboard] Re: Building drivers without source on BBB

2016-07-19 Thread Raul Piper
No It did not work.I just replaced the name of my module in your example Makefile .Did you follow any pre-steps before this? Rp On Tue, Jul 19, 2016 at 9:55 PM, ZeekHuge <me.zube...@gmail.com> wrote: > Hi Raul Piper, > > You should probably not worry about the /lib/modules/4.1.2

[beagleboard] Building drivers without source on BBB

2016-07-19 Thread Raul Piper
HI, I am using this Makefile to build the kernel driver on the BBB itself(already apt-get installed build-essenatials on it). obj-m += myDrvr.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean But I am

Re: [beagleboard] Weird Problem using GPIOs on BBB

2016-07-14 Thread Raul Piper
dd reason. Threaded code can have performance overhead, and callbacks can >>>> cause problems on the stack if you're not careful. >>>> >>>> You would be better off writing your own wrapper code. You could either >>>> wrap t

Re: [beagleboard] Weird Problem using GPIOs on BBB

2016-07-13 Thread Raul Piper
Attached. One is the cpp code and other is the bash script. cpp code uses the GPIO class from the attached GPIO.7z . On Thursday, July 14, 2016 at 9:50:45 AM UTC+5:30, William Hermans wrote: > > Let's put it this way. No code, no help . . . > > On Wed, Jul 13, 2016 at 9:19 PM, William Hermans

[beagleboard] Re: GPIO in C/C++ on the Beaglebone Black?

2016-06-13 Thread Raul Piper
(0–3). Am I choosing the wrong GPIO.? On Monday, June 13, 2016 at 9:41:34 AM UTC+5:30, Raul Piper wrote: > > CEB, > On which platform you tested this?Did you get any issue?Set/Reset of any > GPIO works fine on any kernel?4.x+? > Rp > > On Friday, June 14, 2013 a

Re: [beagleboard] Capemanager Not found

2016-06-12 Thread Raul Piper
and rebooted, Now I can see the slots . On Friday, June 3, 2016 at 10:20:16 PM UTC+5:30, john3909 wrote: > > /sys/devices/platform/bone_capemgr/slots > > > Regards, > John > > > > > On Jun 3, 2016, at 3:37 AM, Raul Piper <raulpb...@gmail.com > > wrote:

[beagleboard] Writing a GPIO Driver on BBB

2016-06-12 Thread Raul Piper
I am writing a GPIO driver to control a hardware.For this I need to set/reset certain GPIOS on the BBB as per certain pattern of commands(GPIOX->ON,GPIOY->OFF,GPIOZ->ON and so on).I can do this using sysfs interface as well from the user space application but I am looking via driver way. I

[beagleboard] Re: GPIO in C/C++ on the Beaglebone Black?

2016-06-12 Thread Raul Piper
CEB, On which platform you tested this?Did you get any issue?Set/Reset of any GPIO works fine on any kernel?4.x+? Rp On Friday, June 14, 2013 at 2:01:51 AM UTC+5:30, CEB wrote: > > Take a look at > https://developer.ridgerun.com/wiki/index.php/Gpio-int-test.c > > Worked for me. > > CEB > > On

[beagleboard] Re: Capemanager Not found

2016-06-03 Thread Raul Piper
I build the kernel as per instructions on -> https://eewiki.net/display/linuxonarm/BeagleBone+Black uname -a gives : linux_arm 4.6.0-bone2 On Friday, June 3, 2016 at 3:41:27 PM UTC+5:30, Raul Piper wrote: > > i cant find any /sys/devices/bone_capemgr.9 on my BBB > > h

[beagleboard] Capemanager Not found

2016-06-03 Thread Raul Piper
i cant find any /sys/devices/bone_capemgr.9 on my BBB how to configure it or enable/disable it if already enabled? -Rp -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe

[beagleboard] Re: Not able to run the website outside the company network

2016-06-03 Thread Raul Piper
if you are able to login to your BB Device put this in your ~/.bashrc export http_proxy="http://*username*:*password*@*hostname*:*port*; export https_proxy="https://*username*:*password*@*hostname*:*port*; export ftp_proxy="ftp://*username*:*password*@*hostname*:*port*; export

[beagleboard] Re: C Code to Access GPIOs-Getting permission denied when using open() to access /sys/class/gpio/export

2016-06-03 Thread Raul Piper
you can write to gpios by first chmod'ing 666 to the folders and then to individual attributes. On Wednesday, July 1, 2015 at 8:32:48 PM UTC+5:30, Brendan Merna wrote: > > > I'm trying to manipulate my GPIOs using C code and running into > "Permission Denied" when running my code and opening

[beagleboard] Re: Flashing only the Kernel Image on BBB

2016-05-26 Thread Raul Piper
Missed the link to the Page in previous post -> https://eewiki.net/display/linuxonarm/BeagleBone+Black On Friday, May 27, 2016 at 12:24:26 AM UTC+5:30, Raul Piper wrote: > > HI > I am following Robert Nelson's page - > > I have changed the kernel and I have built onl

[beagleboard] Re: Using GPIO in BBB.Is it necessary to use Device Overlay?

2016-05-26 Thread Raul Piper
you > can download source code and so on ^_^. > > Have a lovely day ! > Enjoy > Vincent > > > > Le jeudi 26 mai 2016 15:46:20 UTC+2, Raul Piper a écrit : >> >> HI , >> I am new to BBB.I am trying to create a user app to access GPIO in BBB.I >> came acro

[beagleboard] Flashing only the Kernel Image on BBB

2016-05-26 Thread Raul Piper
HI I am following Robert Nelson's page - > I have changed the kernel and I have built only kernel now using the rebuild.sh script and want to flash it on the BBB.Do I need to copy only the image or do I have to copy the device tree along with modules? Basically these steps below ONLY? Copy

[beagleboard] Using GPIO in BBB.Is it necessary to use Device Overlay?

2016-05-26 Thread Raul Piper
HI , I am new to BBB.I am trying to create a user app to access GPIO in BBB.I came across this video - > https://www.youtube.com/watch?v=wui_wU1AeQc .Is it really necessary to use Device overlay to access the GPIOs? Can some one please post a link to how to get started with GPIOS on BBB.

Re: [beagleboard] Driver Development : SPI or 4 wire Interface on BBB

2016-05-25 Thread Raul Piper
What is PRU?Can you post a link or keywords related to it.? On Tuesday, May 24, 2016 at 11:43:09 PM UTC+5:30, john3909 wrote: > > Best to use the PRU and control the I/O with software. > > Regards, > John > > > > > On May 24, 2016, at 6:25 AM, Raul Piper <raulpb..

Re: [beagleboard] Driver Development : SPI or 4 wire Interface on BBB

2016-05-24 Thread Raul Piper
communicate with a > device over SPI > 2) Use PRU to communicate with device over SPI > 3) Develop a device driver to communicate with device over SPI > 4) Adapt an IIO driver that is similar to your device > > Regards, > John > > > > > On May 23, 2016, at 4:34 AM, R

[beagleboard] Re: BeagleBoneBlack is not booting from UART

2016-05-24 Thread Raul Piper
Did you try pressing the Switch S2 while you boot from your own image via xmodem. Be default I think it is booting frmo the emmc ! On Tuesday, May 24, 2016 at 3:57:54 PM UTC+5:30, Venky Venkatesh wrote: > > Hi, > I am new beagle bone black, currently working on u-boot. I compiled > the

[beagleboard] Driver Development : SPI or 4 wire Interface on BBB

2016-05-23 Thread Raul Piper
I am developing a driver for a hardware whose datasheet says it has a 4 wire Serial interface .DataIN/OUT,Clock,CS .Does it means I can develop a full fledged SPI driver on Linux to use it. To add more when the CLK has n-n+1(say 3-4) rising edge with LE = 1 certain control register will be

Re: [beagleboard] Getting Bootlogs on BeagleBone Black using USB Cable.Possible?

2016-05-05 Thread Raul Piper
AM UTC+5:30, RobertCNelson wrote: > > > On May 4, 2016 11:50 PM, "Raul Piper" <raulpb...@gmail.com > > wrote: > > > > HI, > > I am new to this group.I am trying to boot a custom kernel which I have > built using this link .I hard pressed the B

[beagleboard] Tools to debug the driver .

2016-05-04 Thread Raul Piper
Is TIN FlysWatter2 a better tool for debugging the kernel driver in BBB.Can some one please post thier experience? -Rp -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the

[beagleboard] Getting Bootlogs on BeagleBone Black using USB Cable.Possible?

2016-05-04 Thread Raul Piper
HI, I am new to this group.I am trying to boot a custom kernel which I have built using this link .I hard pressed the Button S2 while the board was booting from the MicroSD CARD (not the EMMC) but I see no display on HDMI connected TV

[beagleboard] Re: Device tree concept

2015-07-24 Thread Raul Piper
Derek Molloy's book: Exploring BeagleBone: Tools and Techniques for Building with Embedded Linux --- Graham == == On Thursday, July 23, 2015 at 2:03:25 AM UTC-5, Raul Piper wrote: Hi I wanted to know the device tree concept in beagleboard family.Till now i was using Pandaboard

[beagleboard] Beagle Boards I2C Lines working Voltage

2015-07-24 Thread Raul Piper
Hi, what is the working voltage of the I2C lines on the beagloeboard-xm? 1.8v or 3.3v? Is this is same for all the I/Os (GPIOs). How can I configure a particular GPIO : In the board-config file(arch/arm/mach-omap2/board-omap3beagle.c) for Beagleboard-xm or device tree file? Please advice , I

[beagleboard] Re: Device tree concept

2015-07-24 Thread Raul Piper
, 2015 at 5:40:32 AM UTC-5, Raul Piper wrote: Thanks for the linfo.Is it same for all the beagleboards?Beagleboard-xm as well? On Fri, Jul 24, 2015 at 12:42 AM, Graham gra...@flex-radio.com wrote: Google is your friend. Google Beaglebone Black Device Tree and see what you find. Good

[beagleboard] Device tree concept

2015-07-23 Thread Raul Piper
Hi I wanted to know the device tree concept in beagleboard family.Till now i was using Pandaboard(with ubuntu, Debian and Android) and there is no concept of device tree in that.Kernels used = 3.0.1. I wanted to know what changes needs to be done and in which files if we wanted to interface