Re: [beagleboard] Official eQEP driver Support

2014-04-17 Thread Giuseppe Iellamo
I'm using it but in order to be fast ( I know it's not very linux style ... but ) Set up #ifdef __arm__ #define MAP_SIZE 4096UL //< Constant used for the memory mapping of the eqep #define MAP_MASK (MAP_SIZE - 1) // mmaping device register in order to speed up things if((fd = open("/de

[beagleboard] Re: Change default state of GPIO pin

2014-04-17 Thread r van dam
Thanks for the reply! The beeper is controlled by a transistor (limited with a resistor) so the current is within the margins. I found a script to check the state of a pin: findGPIO.js The output is; P9_12 (gpio 60) mode: 7 (gpio1_28) 0x078 *pullup* Receiver Active I checked other pins with thi

[beagleboard] BBB PRU example project creating and Compiling

2014-04-17 Thread Eren Basturk
Hi All, I would like to say my problem, I would like to write some code for PRU units for that reason I enabled PRU on BBB and I run prepared examples on BBB. But I don't know how can I create a project and compile. for example there is a software below but I don't know how can I complie it a

Re: [beagleboard] Re: Implementation Board?

2014-04-17 Thread BBQTrader .
Thanks Tom! On Wed, Apr 16, 2014 at 8:37 PM, Tom Davies wrote: > BBQ -- depending on your volume, you could desolder the headers, or get a > quote from CircuitCo for a run of BBBs without the headers installed, then > use male headers on your board soldered to the header holes on the BBB. > > P

Re: [beagleboard] ome problem when I get update

2014-04-17 Thread Yanlong Mu
Hi sorry for bothering you one more question which is when I use dpkg-reconfigure locales as root it showed root@ubuntu-armhf:/home/ubuntu# dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL =

Re: [beagleboard] ome problem when I get update

2014-04-17 Thread Yanlong Mu
Dear Sungjin Thank you so much for your help I just confusing one thing which are couple of sentences: ( All of these steps will be described in more detail below. All of the options below also require the same set of materials. - BeagleBone Black - Display to connect BeagleBone Black to

Re: [beagleboard] ome problem when I get update

2014-04-17 Thread Yanlong Mu
Dear William Thank you so much for your help I just confusing one thing which are couple of sentences: ( All of these steps will be described in more detail below. All of the options below also require the same set of materials. - BeagleBone Black - Display to connect BeagleBone Black to

[beagleboard] Re: Angstrom freezing on boot

2014-04-17 Thread João Paulo
I flashed the board and the problem persist. I dont have any board attached it. The boot loader appear some problems related to the i2c: -Boot SPL 2013.04-dirty (Jun 19 2013 - 09:57:14) timed out in wait_for_pin: I2C_STAT=0 Could not probe the EEPROM; something fundamentally wrong on the I2C bus

Re: [beagleboard] Custom built Debian with RealTime kernel

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 6:40 PM, Charles Steinkuehler wrote: > On 4/17/2014 12:35 PM, Robert Nelson wrote: >> This should make it easy to get started.. >> >> https://github.com/RobertCNelson/linux-dev/commit/bd69ecb7570865a29dd24fd779fa8568ffa39e5d >> >> Just fork the linux-dev repo, >> >> checkou

Re: [beagleboard] Custom built Debian with RealTime kernel

2014-04-17 Thread Charles Steinkuehler
On 4/17/2014 12:35 PM, Robert Nelson wrote: > This should make it easy to get started.. > > https://github.com/RobertCNelson/linux-dev/commit/bd69ecb7570865a29dd24fd779fa8568ffa39e5d > > Just fork the linux-dev repo, > > checkout the am33x-v3.14 branch and un-comment the rt line at the > bottom

Re: [beagleboard] Angstrom freezing on boot

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 4:50 PM, João Paulo wrote: > Hi, > > Suddenly my bealgebone stop booting. > The log message is: > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > [1.156059] omap_i2c 44e0b000.i2c: controller timed out > [1.156104] tps65217 0-0024: Failed

Re: [beagleboard] Custom built Debian with RealTime kernel

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 6:05 PM, Clément_C wrote: > Thanks very much Robert ! > > I've forked your repo on https://github.com/GunMan-fr/linux-dev > and uncommented the rt line in patch.sh . > > Then I built the kernel using build_kernel.sh and everything worked > perfectly :) ! > > Now I was tryin

Re: [beagleboard] Custom built Debian with RealTime kernel

2014-04-17 Thread Clément_C
Thanks very much Robert ! I've forked your repo on https://github.com/GunMan-fr/linux-dev and uncommented the rt line in patch.sh . Then I built the kernel using build_kernel.sh and everything worked perfectly :) ! Now I was trying to build a debian image with build_deb.sh and it fails everyti

Re: [beagleboard] Change default state of GPIO pin

2014-04-17 Thread Guy Grotke
Is it high (IE. driven) or is it just floating? To quote the TI Technical Reference: “At reset, all the GPIO related pins are configured as input and output capabilities are disabled.” Unless the boot process or some program sets your pin up as an output, then it would just float in a high imp

Re: [beagleboard] Re: Bad Linux ARM zImage magic

2014-04-17 Thread macarr
Hi Cody, I posted this to both you and William but in a different post. Note: The USB hub is an externally powered Belkin HS USB 2.0 hub model F5U233. It is not recognized at boot time. I'll try a hot plug and look at dmesg. No messages appended to dmesg after the hot plug. the /sys/bus/usb

Re: [beagleboard] Re: Bad Linux ARM zImage magic

2014-04-17 Thread macarr
Hi William, I boot the BBB from the SD card but I purchased the Adafruit debugging cablehttp://www.adafruit.com/products/954.At first I was using Win7(64) and downloaded a copy of Putty for uSoft. The default settings for the BBB serial port is 115.2 Kb, 8

[beagleboard] Angstrom freezing on boot

2014-04-17 Thread João Paulo
Hi, Suddenly my bealgebone stop booting. The log message is: Starting kernel ... Uncompressing Linux... done, booting the kernel. [1.156059] omap_i2c 44e0b000.i2c: controller timed out [1.156104] tps65217 0-0024: Failed to read INT reg [1.156123] tps65217 0-0024: Failed to probe pwr_

Re: [beagleboard] VIO, Sitara B15 & B5 voltage levels (Gerald)

2014-04-17 Thread Ross Morrison
Never mind again. After digging deeper into the TRM and referring to note 11 for VDDSHV6 (page 42), that power supply can be 3.3v and therefore B15 is happy at 3.3v. On the other hand RTC_PORZ can only be at 1.8 (VDDS_RTC). I understand fully now and the confusion between the BBW and BBB is gon

[beagleboard] Re: Help me running my first Hello word application on beagle board

2014-04-17 Thread salman khalid
First Login to your BB via ssh terminal (only if you have connected your BB with the network) ssh BB-ipaddress if you have successfully logged in then open up another terminal and use scp to transfer your binary to BB scp /path/to/binary/on/host/pc root@BB-ipaddress:~/ this will copy binary to

Re: [beagleboard] Re: Bad Linux ARM zImage magic

2014-04-17 Thread William Hermans
Serial boot ? I have not done that yet, Id like to read a write up of that if you wrote one. e.g. I have no hands on with serial booting, and perhaps would like to know how. On Thu, Apr 17, 2014 at 11:45 AM, wrote: > Hi William and Cody, > > I have some partially good news. Using Robert's link

[beagleboard] Robot language BBB software/hardware question

2014-04-17 Thread StillWatter
Hi all I'm new to the board. I have purchased a BBB that will be here in a few weeks and would like some advice.I've searched for a few days but seem to be going in circles because i'm just not clear on the interface so please forgive me if this is a commonly asked question. I'm building a ro

Re: [beagleboard] Official eQEP driver Support

2014-04-17 Thread William Hermans
Strawson, best thing I personally can think of, would be to use two or more pointers to the same file, and rotate between them. Closing one down while the other continues operating. On Thu, Apr 17, 2014 at 11:09 AM, Robert Nelson wrote: > On Thu, Apr 17, 2014 at 12:30 PM, Strawson wrote: > > He

[beagleboard] Problem: Less eMMC Memory 2GB on BBB :( plz Help TY!

2014-04-17 Thread Divyang Jain
only 50 MB of space Left on My EMMC, I want to Install My Drivers and applications in my External memory card.How can i do that? # I boot from EMMC, -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "Be

Re: [beagleboard] Re: Bad Linux ARM zImage magic

2014-04-17 Thread macarr
Hi William and Cody, I have some partially good news. Using Robert's link I did successfully build and install v3.14.1-bone2 and I have my BBB up and running. Thanks for your support. BTW, watching the board boot over the serial port is jaw dropping-ly cool. The software checksum calculation s

[beagleboard] Change default state of GPIO pin

2014-04-17 Thread kyle
Not that I know of. The device tree can change the pin config to default low but that does not take effect till boot up so there would still be several seconds in the HW default condition. I just recently went through something similar where I had to redesign a lot of stuff on my own PCB sinc

Re: [beagleboard] Official eQEP driver Support

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 12:30 PM, Strawson wrote: > Hello all, > > In an effort to make use of the eQEP modules on the beaglebone black we > stumbled across the following encoder patch and were able to compile a > loadable kernel module with the help of TI. Hopefully this will make its way > to th

Re: [beagleboard] Custom built Debian with RealTime kernel

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 12:22 PM, Clément_C wrote: > Hello everyone, > > First, I'd like to thank you for all the support and the amazing work done > on the BeagleBoneBlack. > > I'm kind of a newbie here. Got my board for a few weeks on Angstrom. I'm an > electronic engineering student in France a

[beagleboard] VIO, Sitara B15 & B5 voltage levels (Gerald)

2014-04-17 Thread Ross Morrison
Hi All (Gerald), A bit confused about the differences between the BBW and BBB Sitara balls B15 and B5 voltage levels. Reviewing the schematic for the BBW it appears PORZ (B15) is being driven from the TPS65217B pin PGOOD (26) and PGOOD's power supply source VIO is at 3.3v. While on the Sitara

[beagleboard] Official eQEP driver Support

2014-04-17 Thread Strawson
Hello all, In an effort to make use of the eQEP modules on the beaglebone black we stumbled across the following encoder patch and were able to compile a loadable kernel module with the help of TI. Hopefully this will make its way to the "thirdparty" script in the debian build farm so the commu

Re: [beagleboard] BBB UART2 Write Issue (C/C++)

2014-04-17 Thread Alex Gal
Hi Michael, > I'm currently using the BBB to control a rover robot for a project at my > university. I'm currently having an issue using the UART file /dev/ttyOx to > write an array of characters to a smart servo using c/c++. > More specifically, I've opened the file using > fopen("/dev/ttyO2", "w

[beagleboard] Custom built Debian with RealTime kernel

2014-04-17 Thread Clément_C
Hello everyone, First, I'd like to thank you for all the support and the amazing work done on the BeagleBoneBlack. I'm kind of a newbie here. Got my board for a few weeks on Angstrom. I'm an electronic engineering student in France and for a specific project I need a custom built distribution.

[beagleboard] Re: Changing PWM frequency at run time

2014-04-17 Thread robert.berger
Hi, On Thursday, April 17, 2014 7:48:50 PM UTC+3, Strawson wrote: > > Hello all, > > As (probably) most of you are aware, the most straightforward method of > changing the pwm period (frequency) is at boot by setting it in a .dts > overlay. This may be the solution for 90% of pwm users, but we

[beagleboard] Changing PWM frequency at run time

2014-04-17 Thread Strawson
Hello all, As (probably) most of you are aware, the most straightforward method of changing the pwm period (frequency) is at boot by setting it in a .dts overlay. This may be the solution for 90% of pwm users, but we have run into the situation where we would like to change the pwm period at r

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 10:35 AM, Micka wrote: > It's broken I said... But one thing I'm sure. It's that the bbb don't > handle well a flood on his ethernet port. Specially in 3.8... Use 3.14.x for better usb/ethernet. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, vi

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Micka
It's broken I said... But one thing I'm sure. It's that the bbb don't handle well a flood on his ethernet port. Micka, On Apr 17, 2014 5:25 PM, "Robert Nelson" wrote: > On Thu, Apr 17, 2014 at 10:24 AM, Micka wrote: > > with the working BBB ( same SDCard ), I've : > > > > export SLOTS=/sys/dev

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 10:24 AM, Micka wrote: > with the working BBB ( same SDCard ), I've : > > export SLOTS=/sys/devices/bone_capemgr.9/slot > cat $SLOTS => > 0: 54:P---L BeagleBone LCD7 CAPE,00A3,Beagleboardtoys,BB-BONE-LCD7-01 > > > And I just broke the broken one, no more boot, LED, ... BUt

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Micka
with the working BBB ( same SDCard ), I've : export SLOTS=/sys/devices/bone_capemgr.9/slot cat $SLOTS => 0: 54:P---L BeagleBone LCD7 CAPE,00A3,Beagleboardtoys,BB-BONE-LCD7-01 And I just broke the broken one, no more boot, LED, ... BUt it's my fault this time, I put the BBB not correctly on the L

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 10:09 AM, Micka wrote: > root@beaglebone:/# echo BB-BONE-LCD7-01:00A0 > $SLOTS > [ 2688.700962] bone-capemgr bone_capemgr.9: failed to load firmware > 'BB-BONE-LCD7-01-00A0.dtbo' > bash: echo: write error: No such file or directory root@beaglebone:~# ls /lib/firmware/BB-BO

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Micka
root@beaglebone:/# echo BB-BONE-LCD7-01:00A0 > $SLOTS [ 2688.700962] bone-capemgr bone_capemgr.9: failed to load firmware 'BB-BONE-LCD7-01-00A0.dtbo' bash: echo: write error: No such file or directory On Thu, Apr 17, 2014 at 5:04 PM, Robert Nelson wrote: > On Thu, Apr 17, 2014 at 9:59 AM, Micka

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 9:59 AM, Micka wrote: > export SLOTS=/sys/devices/bone_capemgr.9/slots > > sudo echo BB-BONE-LCD7-01-00A0 > $SLOTS > > [ 2058.656875] bone-capemgr bone_capemgr.9: failed to load firmware > 'BB-BONE-LCD7-01--00A0.dtbo' > echo: write error: No such file or directory > > where

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Micka
Yes those events are related, because it's the second time that I lost a BBB when I've a "UDP attack" . Most of the time, the BBB freeze completely. On Thu, Apr 17, 2014 at 4:47 PM, Robert Nelson wrote: > On Thu, Apr 17, 2014 at 9:38 AM, Micka wrote: > > Hi, > > > > My beagle received a multica

Re: [beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Micka
export SLOTS=/sys/devices/bone_capemgr.9/slots sudo echo BB-BONE-LCD7-01-00A0 > $SLOTS [ 2058.656875] bone-capemgr bone_capemgr.9: failed to load firmware 'BB-BONE-LCD7-01--00A0.dtbo' echo: write error: No such file or directory where i'm wrong ? On Thu, Apr 17, 2014 at 4:47 PM, Robert Nels

Re: [beagleboard] remove device-tree-compiler fail

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 8:28 AM, wrote: > 1.apt-get install device-tree-compiler , then using dtc -v to get ver > 1.3.0-gf8cb5dd9-dirty > > But I need device-tree-compiler ver1.4.0 or above for making uImage, then > 2.download device-tree-compiler_1.4.0+dfsg-1_amd64.deb from web site > 3.Dpkg -i

[beagleboard] remove device-tree-compiler fail

2014-04-17 Thread aderson . lin
1.apt-get install device-tree-compiler , then using dtc -v to get ver 1.3.0-gf8cb5dd9-dirty But I need device-tree-compiler ver1.4.0 or above for making uImage, then 2.download device-tree-compiler_1.4.0+dfsg-1_amd64.deb from web site 3.Dpkg -i device-tree-compiler_1.4.0+dfsg-1_amd64.deb , the

Re: [beagleboard] Where is asoundlib.h?

2014-04-17 Thread mbelge1971
John: The instructions you provided are for debian. It does not work on Angstrom. I solved this issue by uninstalling and re-installing alsa-dev package: # opkg install alsa-dev Then I got the alsa headers under /usr/include/alsa directory as expected. Murat On Thursday, April 17, 2014 9:29:

[beagleboard] BBB UART2 Write Issue (C/C++)

2014-04-17 Thread Michael B.
Hi, I'm currently using the BBB to control a rover robot for a project at my university. I'm currently having an issue using the UART file /dev/ttyOx to write an array of characters to a smart servo using c/c++. More specifically, I've opened the file using fopen("/dev/ttyO2", "wb") which shou

Re: [beagleboard] USB mass storage on BeagleBone shown as mass storage under Windows

2014-04-17 Thread ibinsdahanse
Solved :-) Thx !!! -- 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...@googlegroup

[beagleboard] Network Block Device or Network File System on BeagleBone Black

2014-04-17 Thread cocoya354
Hi! Have a BeagleBone Black fresh from package, and i see, there is an USB client port. I am thinking about setup a Network Block Device Client or Network File System Client on that USB client port. A would like to use BBB as a mass storage device via that port, and connect it to a USB host sy

[beagleboard] BBB USB0 change from client to host

2014-04-17 Thread marcmltd
Hello I have finally managed to get my hands on an BBB and started to try and get my system up and running the way I need by building a kernel (3.14.1). I am attempting to use the USB client port (USB0) in host mode and think I have done all the things necessary to get this working: Kernel co

[beagleboard] Re: HDMI to VGA, on boot the board displays its logo, but then ceases to display anything. Please Help

2014-04-17 Thread kaitong758
you can touch the componet RT1.RT1 is a PTC. When your HDMI to VGA cable need stronger power supply, the RT1 will got hot. The power supply of HDMI to VGA cable will be cut off. So you can short the two pins of RT1. Maybe the problem can be solved. On Saturday, March 22, 2014 4:20:03 AM UTC+8,

[beagleboard] Change default state of GPIO pin

2014-04-17 Thread het . oosten
I have a beeper which is controlled by GPIO P9.12. The problem is that the default state of this pin is high (I think this is the problem). So I have a long and annoying beep when the BBB boots. This stops when my programm is loaded, then everything works as it should. Is there a way to set th

Re: [beagleboard] Re: Dude, where's my BeagleBone Black?

2014-04-17 Thread C Wong
Hey Bas, Quick side question: was wondering if you're able to run any PRU related test apps? I have an application that needs xenomai and the PRU(s) and had a hard time getting the standard-available debian eMMC image to play with xenomai and the pru nicely. I was able to quickly modify the cl

[beagleboard] Re: BeagleBone Black & Audio

2014-04-17 Thread mattnmusic4
Hi Victor: The SoundsCape by Simple Media Networks may be just what you are looking for: http://kck.st/1jumP8o This cape provides line out & Headphone out with some very nice mixing features. On Thursday, April 25, 2013 5:40:48 AM UTC-4, victor@gmail.com wrote

[beagleboard] Building the WL18xx Cape Kernel Patch with Angstrom for BeagleBone Black

2014-04-17 Thread lafaireroberto
I was wondering if anyone had any information regarding the flashing of the patched kernel files for the Beagle Bone Black so as to ensure Wi-Fi Cape functionality (TL18XX). I am aware of the following Wiki: http://processors.wiki.ti.com/index.php/Using_the_WL18xx_Cape_with_BeagleBone_Black H

Re: [beagleboard] Re: Bad Linux ARM zImage magic

2014-04-17 Thread Cody Lacey
Was your hub plugged in at boot or after? I may have a workaround you can try. If you know the hub enumerates post the contents of /sys/bus/usb/devices On Wed, Apr 16, 2014 at 9:59 PM, William Hermans wrote: > I have no hands on with this sort of thing, but I have noticed on many > occations t

[beagleboard] Re: UDP ATTACK => no more screen on the LCD7

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 9:38 AM, Micka wrote: > Hi, > > My beagle received a multicast attack ( from an equipment not well > configured ) . > > Since then, the LCD doesn't work anymore, but when I change the BBB with a a > new one with the same SDCard, the LCD work . ... So the problem is not in >

Re: [beagleboard] Where is asoundlib.h?

2014-04-17 Thread KurtE
Thanks, that does look cleaner. I hope this works for mbelg... Personally I am happy that I moved my BBBk to Debian, but locally I have updated my readme with the information, in case I need to do this again (will update on my github soon). Also looks like good general purpose advice so a

Re: [beagleboard] Updating to the most recent of R Nelson's kernel sources

2014-04-17 Thread Robert Nelson
On Thu, Apr 17, 2014 at 7:37 AM, wrote: > Does anyone know the set of git commands needed to update one of R Nelson's > kernel sources? His original shell scripts are faultless, but the only way > I can find to update a build to the most recent version is to wipe the > directory and start again

Re: [beagleboard] Updating to the most recent of R Nelson's kernel sources

2014-04-17 Thread Charles Steinkuehler
On 4/17/2014 7:37 AM, cwrseckf...@gmail.com wrote: > Does anyone know the set of git commands needed to update one of R Nelson's > kernel sources? His original shell scripts are faultless, but the only way > I can find to update a build to the most recent version is to wipe the > directory and

[beagleboard] Updating to the most recent of R Nelson's kernel sources

2014-04-17 Thread cwrseckford
Does anyone know the set of git commands needed to update one of R Nelson's kernel sources? His original shell scripts are faultless, but the only way I can find to update a build to the most recent version is to wipe the directory and start again with a full download. This needs several hour

Re: [beagleboard] Unable to ping host machine

2014-04-17 Thread William Hermans
well first, I am not a network guru, however I think that. . . nameserver in /etc/resolv.conf would be 192.168.1.1 ( assuming by modem, its a DSL/cable modem + router) gateway in /etc/network/interfaces would be your host computers ip Then, you BBxM would be any IP in the same range as your host c

Re: [beagleboard] Re: PRU Multiply and accumulate - how many cycles?

2014-04-17 Thread Bas Laarhoven
Ah, you didn't mention you were synchronizing the PRUs in your first mail! Note that use of the MAC is not that obvious, and there is (was?) little documentation. Some issues I found had to do with the overflow/carry flag. It seems to lag one cycle and it cannot be cleared without clearing the

Re: [beagleboard] Unable to ping host machine

2014-04-17 Thread Tsan-Ming Chou
You are welcome. 2014-04-17 14:37 GMT+08:00 Jacob Vasu : > Hi Tsan-Ming Chou...that worked! Thanks a lot! And thanks for your time > too, William Hermans! > > > On Thursday, April 17, 2014 11:42:59 AM UTC+5:30, Tsan-Ming Chou wrote: > >> Please refer to "How to enable ICMP echo requests (Ping) i