Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-29 Thread Steve G
I noticed that on my BBB running the RCN demo image from August (debian-7.6-console-armhf-2014-08-13) on a microSD card the uEnv.txt file is actually in /boot/uboot, not in /boot. Also there was a warning in uEnv.txt ##Note: On the BeagleBone Black, there is also an uEnv.txt in the eMMC, so

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-28 Thread Steve G
I'm trying to do this on my BBB with Debian but I'm getting a compile error: debian@bbblack:~/dtb-rebuilder$ make DTC src/arm/am335x-base0033.dtb /bin/sh: 1: dtc: not found make[1]: *** [src/arm/am335x-base0033.dtb] Error 127 make: *** [all_arm] Error 2 debian@bbblack:~/dtb-rebuilder$ I

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-28 Thread Mostafa Jafarzadeh
Hi Steve You need to install device tree compiler. I suggest you compile it from source yourself, as there is a patch you need to apply. Here's my instructions from a manual I wrote a while ago: BBB git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git BBB cd dtc BBB git reset --hard

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-28 Thread Steve G
Thanks that got me a lot further along. The problem I have now is the serial ports I believe I enabled didn't appear in the /dev directory. What I did was uncomment the lines like the following in am335x-boneblack.dts, recompiled and installed: #include am335x-bone-ttyO1.dtsi I have

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-28 Thread Robert Nelson
On Fri, Nov 28, 2014 at 4:22 PM, Steve G stevege...@gmail.com wrote: Thanks that got me a lot further along. The problem I have now is the serial ports I believe I enabled didn't appear in the /dev directory. What I did was uncomment the lines like the following in am335x-boneblack.dts,

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-28 Thread Mostafa Jafarzadeh
Which kernel are you using? I'm on 3.14.23-ti-r32 and all serial ports are available under /dev/ right after a fresh flash. But I still needed to rebuild DTBs to get them working. Btw, have you tried this: http://beaglebone.cameon.net/home/serial-ports-uart On Saturday, November 29, 2014

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-25 Thread William Hermans
What user is the script running as ? On Mon, Nov 24, 2014 at 9:02 PM, John Mladenik john5...@sbcglobal.net wrote: Ok Sorry, I am trying to send characters out the UART2 on a BBB Rev C using HTML Javascript SEE program below: This worked before and stopped working, not sure why. Be patient

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-25 Thread John Mladenik
Thanks for the response but I got it to work right after I posted this and I tried to delete it to not bother you with the explanation. The thing worked the whole time I had my logic analyzer on the wrong pins. When I tried it on my 2nd BBB, that had never been powered until then, it worked

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-24 Thread John Mladenik
Ok Sorry, I am trying to send characters out the UART2 on a BBB Rev C using HTML Javascript SEE program below: This worked before and stopped working, not sure why. Be patient with my I am a newbie a month or so into learning HTML. Javascript, linux, beaglebone, but only working on it part

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-22 Thread John Mladenik
Robert, I am having the same problem with UART2 (the only UART I need to work) but mine worked in the past. It even worked through re-power until the BBB sat overnight unpowered. I went through all of the steps I found in links to make it work, but none of the steps were anything like

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-22 Thread William Hermans
John, detailed description is required. Dont work is pretty vague and leaves a lot of room for guessing. On Sat, Nov 22, 2014 at 8:41 PM, John Mladenik john5...@sbcglobal.net wrote: Robert, I am having the same problem with UART2 (the only UART I need to work) but mine worked in the past.

[beagleboard] UARTs enabled but don't work on Debian!

2014-11-14 Thread m . jafarzadeh
I've been playing around with my BBB for about a month now and got everything up and running. Today I spent the whole day to get UART loopback to work on Debian. It simply doesn't work! Tried with Qt (cross-compiled and all samples are working), QSerialPortInfo::availablePorts().count()

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-14 Thread Robert Nelson
http://elinux.org/Beagleboard:Capes_3.8_to_3.14#Custom_dtb The pins aren't mixed to the peripheral. Example enable this https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts#L78 And run... make ; sudo make install ; sudo reboot On Nov 14, 2014 2:46 PM,

Re: [beagleboard] UARTs enabled but don't work on Debian!

2014-11-14 Thread Mostafa Jafarzadeh
Hi Robert, Many thanks. You saved my day! :-) I did a loopback on UART2 and UART4 and they're both fine. However UART1 TX doesn't work! RX is fine. I had a look at the dtb sources and pins are correct. Do you have any idea what's wrong? Just for the reference, it wasn't really smooth and