Re: [beagleboard] usb-serial device doesn't appear in /dev. Need a udev rule?

2014-01-03 Thread loonsailor
Yes, I guess so.

ubuntu@weather:~$ lsmod
Module  Size  Used by 
g_multi56263  0  
libcomposite   17081  1 g_multi 

ubuntu@weather:~$ modinfo -d ti_usb_3410_5052 
TI USB 3410/5052 Serial Driver

So, what does this tell me?  I still don't know how to get a serial device 
that my program can use.  Or, should it just use /bus/usb/001/003?  I tried 
'modprobe ti_usb_3410_5052', and I get 'ERROR: could not insert 
'ti_usb_3410_5052': Operation not permitted'.  

Thanks for the help.  This is a bit new to me.

On Friday, January 3, 2014 6:34:56 PM UTC-8, Nuno wrote:
>
> On 01/03/2014 08:36 PM, loonsailor wrote: 
> > Bus 001 Device 003: ID 14b0:3410 StarTech.com Ltd. 
>
> A quick search leads me to the 'ti_usb_3410_5052' module, is it being 
> loaded? You can check with lsmod: 
>
> ~$ lsmod 
>
> ~$ modinfo -d ti_usb_3410_5052 
> TI USB 3410/5052 Serial Driver 
>
> regards, 
> Nuno 
>
> -- 
> http://aeminium.org/nuno/ 
>

-- 
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/groups/opt_out.


Re: [beagleboard] usb-serial device doesn't appear in /dev. Need a udev rule?

2014-01-03 Thread Nuno Sucena Almeida
On 01/03/2014 08:36 PM, loonsailor wrote:
> Bus 001 Device 003: ID 14b0:3410 StarTech.com Ltd. 

A quick search leads me to the 'ti_usb_3410_5052' module, is it being
loaded? You can check with lsmod:

~$ lsmod

~$ modinfo -d ti_usb_3410_5052
TI USB 3410/5052 Serial Driver

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
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/groups/opt_out.


[beagleboard] usb-serial device doesn't appear in /dev. Need a udev rule?

2014-01-03 Thread loonsailor
My BBB is working fine under ubuntu, except that I can't get my usb-serial 
device to mount.  It's a Startech 
ICUSB2321X.
 
 When I plug it in, I would expect to see a device like ttyUSB0, or 
something like that.  I know the device is there, because lsusb shows the 
following:

Bus 001 Device 003: ID 14b0:3410 StarTech.com Ltd. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


And dmesg shows these messages:

[ 1090.769610] hub 1-0:1.0: state 7 ports 1 chg  evt 0002
[ 1090.769766] hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
[ 1090.769821] usb 1-1: USB disconnect, device number 2
[ 1090.769855] usb 1-1: unregistering device
[ 1090.769891] usb 1-1: unregistering interface 1-1:1.0
[ 1090.774514] usb 1-1: usb_disable_device nuking all URBs
[ 1090.887603] hub 1-0:1.0: debounce: port 1: total 100ms stable 100msstatus 
0x101
[ 1090.993074] usb 1-1: new full-speed USB device number 3 using musb-hdrc
[ 1091.114129] usb 1-1: ep0 maxpacket = 8
[ 1091.123467] usb 1-1: default language 0x0409
[ 1091.133129] usb 1-1: udev 3, busnum 1, minor = 2
[ 1091.133181] usb 1-1: New USB device found, idVendor=14b0, idProduct=3410
[ 1091.133220] usb 1-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[ 1091.133254] usb 1-1: Product: StarTech.com Adapter
[ 1091.133288] usb 1-1: Manufacturer: StarTech.com
[ 1091.133320] usb 1-1: SerialNumber: 00026722
[ 1091.137933] usb 1-1: usb_probe_device
[ 1091.137994] usb 1-1: configuration #1 chosen from 1 choice
[ 1091.139691] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[ 1091.140957] hub 1-0:1.0: state 7 ports 1 chg  evt 0002
[ 1091.141061] hub 1-0:1.0: port 1 enable change, status 0103



usb-devices shows:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=14b0 ProdID=3410 Rev=01.01
S:  Manufacturer=StarTech.com
S:  Product=StarTech.com Adapter
S:  SerialNumber=00026722
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)


I've tried "modprobe usbserial", but that doesn't work.  How do I create a 
usb serial device?

Thanks, for any help with this!

-- 
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/groups/opt_out.


Re: [beagleboard] How many PRU clock cycles does a LBBO instruction take?

2014-01-03 Thread Charles Steinkuehler
On 1/3/2014 7:05 PM, Lenny wrote:
> 
> Can anybody confirm the long DDR (and other delays if possible) readout 
> times that I have measured? Does anybody have an explanation for these 
> large delays?

Yes, I did some testing of the read and write latency to GPIO pins, the
results are in my PRU source code for LinuxCNC:

https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/src/hal/drivers/hal_pru_generic/pru_generic.p#L135

The write latency is caused by interfacing to the chip interconnect
fabric instead of the local PRU resources.  Note that the fabric
includes write posting, so if you're not saturating the fabric you can
do a write in two PRU cycles (10 nS).  If you are saturating the fabric,
the maximum rate is 8 PRU cycles (40 nS).

For reads, the PRU stalls until the data is returned by the chip
interconnect fabric, which takes around 33 PRU cycles (165 nS) when
reading from the GPIO ports.  If you are actually reading from DDR
memory (instead of on-chip resources), you also have the DRAM read
latency on top of this.

Note that almost all of these values include one or more clock
synchronization delays so they can change some either way (shorter or
longer) based on clock phasing and configured operating frequencies.

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
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/groups/opt_out.


[beagleboard] How many PRU clock cycles does a LBBO instruction take?

2014-01-03 Thread Lenny
Hello, 

I am using a Beaglebone Black. When i measured the number of PRU clock 
cycles needed for the execution of various assembler instructions, I found 
surprisingly large values for memory access. Here follows a list, in which 
one cycle corresponds to a delay of 5ns as expected:

Most operations, such as ADD,SUB,QBxx,MOV,JMP etc.: 1 cycle

LBBO 1,2,4 Bytes from PRU DRAM: 3 cycles
LBBO 8 Bytes from PRU DRAM: 4 cycles
LBBO 12 Bytes from PRU DRAM: 5 cycles
LBBO 16 Bytes from PRU DRAM: 6 cycles

LBCO 4 Bytes from DDR: 43 cycles
LBCO 8 Bytes from DDR: 44 cycles
LBCO 12 Bytes from DDR: 45 cycles
LBCO 16 Bytes from DDR: 46 cycles

With PRU DRAM, i mean any addresses between 0x and 0x4000 and 
the shared PRU RAM (12 kB starting from 0x0001). Any other address i 
tried had the delay stated for "DDR".

Can anybody confirm the long DDR (and other delays if possible) readout 
times that I have measured? Does anybody have an explanation for these 
large delays?

Thanks in advance! Lenny

-- 
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/groups/opt_out.


Re: [beagleboard] current solution for JTAG debugging of beagleboard xm?

2014-01-03 Thread John Syne


On 1/3/14, 3:45 PM, "Robert P. J. Day"  wrote:

>On Fri, 3 Jan 2014, Mark Lazarewicz wrote:
>
>> Well if you prefer non open source solution and prefer a feature
>> rich IDE(CCS5.X) backed by the vendor (TI) @ $79 xdsv2usb is the
>> only way. I trust your google skills starting from here
>>
>> http://elinux.org/BeagleBoard
>>
>> http://processors.wiki.ti.com/index.php/XDS100
>>
>> code composer jtag support uses a .gel file to initialize processor
>> and memory so you will have to google around for the Beagle Board
>> one or uses the bootloader to initialize things and then grab
>> control I dont recommend that approach
>>
>> The industry trend now is jtag over usb with no need for a connector
>> the bone white supports this the Beagleboard and Panda and BBB need
>> connectors
>
>  the XDS100v3 looks interesting and definitely affordable ... i'm
>assuming it's usable under linux as i have a *passing* acquaintance
>with Code Composer Studio running on windows so i hope this is still
>usable under linux, specifically fedora 20 for now.
I¹ve used it with CCSV5 running under Ubuntu.
>
>  unless anyone has any specific objections to this item, i'll order
>it and start playing.
>
>rday
>
>-- 
>
>
>Robert P. J. Day Ottawa, Ontario, CANADA
>http://crashcourse.ca
>
>Twitter:   http://twitter.com/rpjday
>LinkedIn:   http://ca.linkedin.com/in/rpjday
>
>
>-- 
>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/groups/opt_out.


-- 
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/groups/opt_out.


Re: [beagleboard] Beaglebone as media player

2014-01-03 Thread Scott Force
I just received my BBB so I haven't had a chance to try it out yet. I do
know that Angstrum Linux comes with mplayer. Someone on this forum has
already been trying to use it with the following parameters ... just put
your filename at the end.

mplayer -vo fbdev2 -zoom -x 800 -y 480

If you are still stuck then try checking out mplayers website. Myself, I
much prefer vlc but there are issues getting it to compile for Angstrum and
I don't know the steps.

Hope this helps,


Scott


On 3 January 2014 09:48,  wrote:

> Prefacing this with me be an absolute noob on anything Linux (but !
> interested)...
>
> I was able to get android installed on the [original] beaglebone attached
> to the LCD7 — This played full screen video very nicely!
>
> In an attempt to try using the bone in its *intended *state I reverted to
> Angstrom but cannot figure out how to simply play a video file. Having some
> difficulty finding info online, so, apologies in advance if this is readily
> available info.
>
> I am imaging the steps are something like, install VLC on bone, play
> video, but, am not even sure how to do that.
>
> Any help or pointing to tutorial much appreciated!
>
> Evan
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [beagleboard] UART data sliced in two piece ....

2014-01-03 Thread Micka
Ok,

Well, the baudrate is at 38400, the distribution is the Ubuntu from Robert
C Nelson ( 3.8.13 bone 30 ), the driver is the omap . I've modified a
little bit the driver to add RS485 support ( see the patch attached ) , the
only major modification that I've done is to add :

+ wait_for_xmitr(up);
+if (up->rs485.flags & SER_RS485_ENABLED) {
+   if(up->rs485.delay_rts_after_send>0){
+udelay(up->rs485.delay_rts_after_send);
+   }
+   /* Disable RS485 TX EN */
+   val = (up->rs485.flags & SER_RS485_RTS_AFTER_SEND) ? 1 : 0;
+   gpio_set_value(up->rs485.gpio_pin, val);
+}


in the function serial_omap_stop_tx .


It works most of the time, but for an unknown reason there is this weird
behavior .


Any tips ? lead to follow ?


On Fri, Jan 3, 2014 at 11:38 PM, William Hermans  wrote:

> You're missing a bunch of information needed to help troubleshoot/ For
> starters how fast ? Which distro ? Which kernel driver are you using ? etc
> etc etc.
>
>
> On Fri, Jan 3, 2014 at 8:55 AM, Micka  wrote:
>
>> Hi,
>>
>> I would like to know if someone has experienced data sliced in two pieces
>> ?
>>
>> My case is simple, the UART in the beagleBone Black send the data in two
>> piece .
>>
>> The problem is that the device answer with an error crc 
>>
>> so why the uart is doing that ?
>>
>>
>> Micka,
>>
>> --
>> 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/groups/opt_out.
>>
>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
index 57d6b29..aa71c13 100644
--- a/drivers/tty/serial/omap-serial.c
+++ b/drivers/tty/serial/omap-serial.c
@@ -37,6 +37,8 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 #include 
 #include 
 #include 
@@ -160,6 +162,7 @@ struct uart_omap_port {
u32 calc_latency;
struct work_struct  qos_work;
struct pinctrl  *pins;
+   struct serial_rs485 rs485;
 };
 
 #define to_uart_omap_port(p)   ((container_of((p), struct uart_omap_port, 
port)))
@@ -268,11 +271,11 @@ static void serial_omap_enable_ms(struct uart_port *port)
pm_runtime_mark_last_busy(up->dev);
pm_runtime_put_autosuspend(up->dev);
 }
-
+static inline void wait_for_xmitr(struct uart_omap_port *up);
 static void serial_omap_stop_tx(struct uart_port *port)
 {
struct uart_omap_port *up = to_uart_omap_port(port);
-
+   int val;
pm_runtime_get_sync(up->dev);
if (up->ier & UART_IER_THRI) {
up->ier &= ~UART_IER_THRI;
@@ -283,6 +286,15 @@ static void serial_omap_stop_tx(struct uart_port *port)
 
pm_runtime_mark_last_busy(up->dev);
pm_runtime_put_autosuspend(up->dev);
+   wait_for_xmitr(up);
+if (up->rs485.flags & SER_RS485_ENABLED) {
+  if(up->rs485.delay_rts_after_send>0){
+udelay(up->rs485.delay_rts_after_send);
+   }
+   /* Disable RS485 TX EN */
+   val = (up->rs485.flags & SER_RS485_RTS_AFTER_SEND) ? 1 : 0;
+   gpio_set_value(up->rs485.gpio_pin, val);
+}
 }
 
 static void serial_omap_stop_rx(struct uart_port *port)
@@ -345,12 +357,23 @@ static inline void serial_omap_enable_ier_thri(struct 
uart_omap_port *up)
 static void serial_omap_start_tx(struct uart_port *port)
 {
struct uart_omap_port *up = to_uart_omap_port(port);
+   int val;
+
+if (up->rs485.flags & SER_RS485_ENABLED) {
+   /* Enable RS485 TX EN */
+   val = (up->rs485.flags & SER_RS485_RTS_ON_SEND) ? 0 : 1;
+   gpio_set_value(up->rs485.gpio_pin, val);
+  if(up->rs485.delay_rts_before_send>0){
+   udelay(up->rs485.delay_rts_before_send);
+  }
+}
 
pm_runtime_get_sync(up->dev);
serial_omap_enable_ier_thri(up);
serial_omap_set_noidle(up);
pm_runtime_mark_last_busy(up->dev

[beagleboard] Re: Can't get BeagleSNES to work on BBB

2014-01-03 Thread Scott Paul
I thought I had the right controller, the Tomee. There isn't any brand written 
on it, but that is what I thought Amazon was selling me. Is there one specific 
one that you can link me to that I can order and it will work?  Some people on 
the reviews at Amazon complain about it being the wrong brand.

I'm gone for a couple weeks on Monday for work. Not in a rush. Either way, 
thanks again for working on this and replying.

-- 
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/groups/opt_out.


Re: [beagleboard] current solution for JTAG debugging of beagleboard xm?

2014-01-03 Thread Robert P. J. Day
On Fri, 3 Jan 2014, Mark Lazarewicz wrote:

> Well if you prefer non open source solution and prefer a feature
> rich IDE(CCS5.X) backed by the vendor (TI) @ $79 xdsv2usb is the
> only way. I trust your google skills starting from here
>
> http://elinux.org/BeagleBoard
>
> http://processors.wiki.ti.com/index.php/XDS100
>
> code composer jtag support uses a .gel file to initialize processor
> and memory so you will have to google around for the Beagle Board
> one or uses the bootloader to initialize things and then grab
> control I dont recommend that approach
>
> The industry trend now is jtag over usb with no need for a connector
> the bone white supports this the Beagleboard and Panda and BBB need
> connectors

  the XDS100v3 looks interesting and definitely affordable ... i'm
assuming it's usable under linux as i have a *passing* acquaintance
with Code Composer Studio running on windows so i hope this is still
usable under linux, specifically fedora 20 for now.

  unless anyone has any specific objections to this item, i'll order
it and start playing.

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


-- 
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/groups/opt_out.


[beagleboard] Latest Angstrom Images

2014-01-03 Thread John Syne
Here is a link that contains recently released Angstrom images:

http://downloads.angstrom-distribution.org/demo/beaglebone/testing/

I hadn¹t seen this URL before and my guess is the testing link in this URL

http://downloads.angstrom-distribution.org/demo/beaglebone


is pointing to archive and not testing as it should

Regards,
John


-- 
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/groups/opt_out.


Re: [beagleboard] Re: Which build would you recommend?

2014-01-03 Thread KurtE


> darn, i know it works for some devices..  I usually just run Atheros 
> chipsets... 
>
> I am trying to remember which wireless I was using back earlier... I 
remember it took me a long time to get one working then.  I believe I had 
to build the driver for it.  Right now I have one of those cheep Edimax 
plugs, which appeared to work right out of the box.  Could try different 
ones if this becomes an issue.  
 

> There's a hint here, "/boot/uboot/uEnv.txt" 
>
> root@beaglebone:~# cat /boot/uboot/uEnv.txt | grep cape 
> #optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
>  
>
>
> Thanks for hint, yep edited the file added the capemgr.enable_partno= the 
two usarts and rebooted and the devices showed up in the /dev directory so 
making progress.

Now to try to build my Phoenix hexapod code base again.  I see I need to 
either disable some of my code in this or need to install (and or build) a 
few more things like alsa and potentially espeak.  luckily I still have 
notes on how I did this before on both RPI and BBBk.  Before on BBBk ahd to 
build and install ALSA, but maybe this time will get lucky and can simply 
install.  

I also should update my readme.md file on my github project with notes from 
setting this up on Debian.

Again thanks a lot!

-- 
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/groups/opt_out.


Re: [beagleboard] Systemd service failure in Debian BBB with RCN kernel 3.8.13-bone34

2014-01-03 Thread David Lambert

On 01/03/2014 04:13 PM, Robert Nelson wrote:

On Fri, Jan 3, 2014 at 3:55 PM, Robert Nelson  wrote:

I installed the kernel using your tools/install_kernel.sh.
depmod -a did not help.
If I comment out the reference to loop in /etc/modules-load.d/modules.conf,
the error disappears. Other modules deem to load fine.

I cannot find any reference to the "loop" module??

root@argus-dev:~# find /lib -name loop*
root@argus-dev:~#

It's built-in:
CONFIG_BLK_DEV_LOOP=y


The original modules.conf file (which is a symlink to ../modules) is:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
loop

debian 'upstream' builds it as a module by default..

https://github.com/RobertCNelson/linux-dev/blob/master/patches/debian-armmp#L1577

we can change it to match...

So weird.. haven't tweaked the config but.. I just did:

./build_kernel.sh
./tools/install-kernel.sh

to verify it before the change..

That works as is..

Regards,

This is very strange. I just started from scratch with a fresh clone of 
linux-dev. I still get a failure as follows:

root@argus-dev:~# systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
  Loaded: loaded 
(/lib/systemd/system/systemd-modules-load.service; static)
  Active: failed (Result: exit-code) since Sat, 01 Jan 2000 
00:00:04 +; 14 years and 0 months ago
 Process: 203 ExecStart=/lib/systemd/systemd-modules-load 
(code=exited, status=1/FAILURE)

  CGroup: name=systemd:/system/systemd-modules-load.service

root@argus-dev:~# uname -a
Linux argus-dev 3.8.13-bone35 #1 SMP Fri Jan 3 17:18:01 CST 2014 armv7l 
GNU/Linux

root@argus-dev:~# cat /etc/modules-load.d/modules.conf
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
loop

If I comment out the "loop" line as below - all works fine.

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
# loop
root@argus-dev:~# systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
  Loaded: loaded 
(/lib/systemd/system/systemd-modules-load.service; static)
  Active: active (exited) since Sat, 01 Jan 2000 00:00:04 
+; 14 years and 0 months ago
 Process: 199 ExecStart=/lib/systemd/systemd-modules-load 
(code=exited, status=0/SUCCESS)

  CGroup: name=systemd:/system/systemd-modules-load.service


Regards,
Dave.



--
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/groups/opt_out.
<>

[beagleboard] Re: Burned LCD-3 cape, repair help

2014-01-03 Thread Robert Ianovich


On Saturday, January 4, 2014 12:53:18 AM UTC+2, Robert Ianovich wrote:
>
> I managed to burn my LCD-3 cape (higher voltage).
>
> Today, arrived 74AVC32T245 from Farnell but still dead. Regulator seems to 
> be ok, leds can be driven on and off through EHRPWM1A. The EE was hot too, 
> I replaced for testing with a 24LC256, I cannot find exact board EEPROM but 
> I think is ok. I presume the contents of EE should be some exact match with 
> but I'm not sure if I wrote ok, I found a dump for DVI cape and I modified.
>
> ªU3îA0Beaglebone LCD-3 Capev1beagleboardtoys  01
>  52114P13
>
> Can someone help me to re-program this memory?
>


PS. 

I studied cape-bone-lcd3-00A0.dts and this excellent articlees
dominion.thruhere.net/koen/angstrom/beaglebone/eeprom-dump
http://hipstercircuits.com/enable-i2c-for-eeprom-with-device-tree-overlays-on-beaglebone-black/

but still don't working.. perhaps the mux pins are wrong.

The LCD is ok, I probed with a MP4 player (after few hours of wiring) and 
displays nice.






 

-- 
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/groups/opt_out.


Re: [beagleboard] Re: Which build would you recommend?

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 4:41 PM, KurtE  wrote:
>
>> sudo iwconfig wlan0 power off
>>
> Thanks, it appears this device does not support that:
>
> kurt@arm:~/Raspberry_Pi/Phoenix$ sudo iwconfig wlan0 power off
> Error for wireless request "Set Power Management" (8B2C) :
> SET failed on device wlan0 ; Operation not supported.

darn, i know it works for some devices..  I usually just run Atheros chipsets...

> On other note, looking back up where I used to get information about setting
> up ttyO1...
> http://blog.pignology.net/2013/05/getting-uart2-devttyo1-working-on.html
>
> It looks like since I last did this, there was another way (Angstrom), by
> adding the info to:
>  "just add you BB-UART2 to /media/BEAGLEBONE/uEnv.txt, with the key
> capemgr.enable_partno."
>
> with This Debian build my /media directory is empty.  Should creating this
> directory and file work here as well?  The only place on my machine I found
> uEnv.txt is in the /boot/uboot directory.

There's a hint here, "/boot/uboot/uEnv.txt"

root@beaglebone:~# cat /boot/uboot/uEnv.txt | grep cape
#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G

> Or should I try the way I was doing before, something like: echo uart2pinmux
>> $SLOTS
> where $slots was defined earlier on as:
>  export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins
>  export SLOTS=/sys/devices/bone_capemgr.9/slots
> (the .9 sometimes changes, earlier I had .8)

Yeap, never hardcode .8 or .9 in your script, always check..

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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread William Hermans
Yeah no big hurry. I have a PIN out file i think and if not I have a PDF of
the schematic, which will take me a while to put that into a file. So yeah
will be a few days at least before I can get to that anyhow.


On Fri, Jan 3, 2014 at 3:47 PM, Robert Nelson wrote:

> On Fri, Jan 3, 2014 at 4:33 PM, William Hermans  wrote:
> > Robert, I would not mind helping out, if I can, I just do not know where
> to
> > start. Actual testing, I would think you'd want some one familiar with a
> > scope / LA, and that person is not me. YET.
> >
> > Pretty much what I need in the end is all UARTs, all I2C, and all SPI
> > enabled. My buddy and I have a project that uses every single last pin,
> and
> > then some . . . but anyhow I would like to help If i can. My own
> motivation
> > would be to get what I want, and the benefit to the community would be
> every
> > one gets to use whatever I put together.
>
> if you guys can write up spreadsheet with what pins you need that will
> be great..
>
> So far what i've done with rscm was the result of beer & new years. ;)
>
> My current goal, default dts setup for:
> http://elinux.org/Basic_Proto_Cape
>
> Out of the box.
>
> Then we can dynamically patch what we can into it.. So far this is
> just i2c/uart.. (have a wip spi enable, but it locks up..)
>
> Then a minimal dts (aka no hdmi), then we can patch a lot more into..
>
> Finally a discrete dts for capes that can't be patched for above..
>
> So that's the plan, and in 13mins i'll be away from keyboard till
> sunday..  so maybe next week .;)
>
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


[beagleboard] Burned LCD-3 cape, repair help

2014-01-03 Thread Robert Ianovich
I managed to burn my LCD-3 cape (higher voltage).

Today, arrived 74AVC32T245 from Farnell but still dead. Regulator seems to 
be ok, leds can be driven on and off through EHRPWM1A. The EE was hot too, 
I replaced for testing with a 24LC256, I cannot find exact board EEPROM but 
I think is ok. I presume the contents of EE should be some exact match with 
but I'm not sure if I wrote ok, I found a dump for DVI cape and I modified.

ªU3îA0Beaglebone LCD-3 Capev1beagleboardtoys  01
 52114P13

Can someone help me to re-program this memory?

-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 4:33 PM, William Hermans  wrote:
> Robert, I would not mind helping out, if I can, I just do not know where to
> start. Actual testing, I would think you'd want some one familiar with a
> scope / LA, and that person is not me. YET.
>
> Pretty much what I need in the end is all UARTs, all I2C, and all SPI
> enabled. My buddy and I have a project that uses every single last pin, and
> then some . . . but anyhow I would like to help If i can. My own motivation
> would be to get what I want, and the benefit to the community would be every
> one gets to use whatever I put together.

if you guys can write up spreadsheet with what pins you need that will
be great..

So far what i've done with rscm was the result of beer & new years. ;)

My current goal, default dts setup for:
http://elinux.org/Basic_Proto_Cape

Out of the box.

Then we can dynamically patch what we can into it.. So far this is
just i2c/uart.. (have a wip spi enable, but it locks up..)

Then a minimal dts (aka no hdmi), then we can patch a lot more into..

Finally a discrete dts for capes that can't be patched for above..

So that's the plan, and in 13mins i'll be away from keyboard till
sunday..  so maybe next week .;)

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/groups/opt_out.


Re: [beagleboard] C/C++ Program to control onboard leds/GPIO using Visual Studio,GDB

2014-01-03 Thread William Hermans
BTW, probably not what you want to hear, but you can use a GCC toolchain
from within visual studio via using make file projects. It is however a big
hassle. I've done it myself for the MSP430 Launchpad v1.5. toolchain.
Debigging does not work like this, but can be made to work using a perl
script, and monitoring STD error / STD out From within the Windows
environment. Search around a bit there is a code Project article about it.


On Fri, Jan 3, 2014 at 3:41 PM, William Hermans  wrote:

> I have never actually used visual GDB but in theory it should work. You
> should contact the developer behind visualGDB. Initial support may not be
> there but once he finds out about he BBB if he has not already. He'd be a
> fool not to add support.
>
>
> On Fri, Jan 3, 2014 at 7:49 AM, Jishnu M Thampan wrote:
>
>> Is there any way to control onboard leds or access gpios using the visual
>> gdb method?
>> also what more is to be done for the application to start automatically
>> without compilation each time
>>
>> --
>> 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/groups/opt_out.
>>
>
>

-- 
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/groups/opt_out.


Re: [beagleboard] Re: Which build would you recommend?

2014-01-03 Thread KurtE


> sudo iwconfig wlan0 power off 
>
> Thanks, it appears this device does not support that:
 
kurt@arm:~/Raspberry_Pi/Phoenix$ sudo iwconfig wlan0 power off
Error for wireless request "Set Power Management" (8B2C) :
SET failed on device wlan0 ; Operation not supported.

On other note, looking back up where I used to get information about 
setting up ttyO1...
http://blog.pignology.net/2013/05/getting-uart2-devttyo1-working-on.html

It looks like since I last did this, there was another way (Angstrom), by 
adding the info to:
 "just add you BB-UART2 to /media/BEAGLEBONE/uEnv.txt, with the key 
capemgr.enable_partno."

with This Debian build my /media directory is empty.  Should creating this 
directory and file work here as well?  The only place on my machine I found 
uEnv.txt is in the /boot/uboot directory.

Or should I try the way I was doing before, something like: 
*echo uart2pinmux > $SLOTS*where $slots was defined earlier on as
*: *
 export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins
 export SLOTS=/sys/devices/bone_capemgr.9/slots
(the .9 sometimes changes, earlier I had .8)

Probably the easiest thing for me to do is to try it out and see what 
happens.

-- 
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/groups/opt_out.


Re: [beagleboard] C/C++ Program to control onboard leds/GPIO using Visual Studio,GDB

2014-01-03 Thread William Hermans
I have never actually used visual GDB but in theory it should work. You
should contact the developer behind visualGDB. Initial support may not be
there but once he finds out about he BBB if he has not already. He'd be a
fool not to add support.


On Fri, Jan 3, 2014 at 7:49 AM, Jishnu M Thampan wrote:

> Is there any way to control onboard leds or access gpios using the visual
> gdb method?
> also what more is to be done for the application to start automatically
> without compilation each time
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [beagleboard] UART data sliced in two piece ....

2014-01-03 Thread William Hermans
You're missing a bunch of information needed to help troubleshoot/ For
starters how fast ? Which distro ? Which kernel driver are you using ? etc
etc etc.


On Fri, Jan 3, 2014 at 8:55 AM, Micka  wrote:

> Hi,
>
> I would like to know if someone has experienced data sliced in two pieces ?
>
> My case is simple, the UART in the beagleBone Black send the data in two
> piece .
>
> The problem is that the device answer with an error crc 
>
> so why the uart is doing that ?
>
>
> Micka,
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [beagleboard] current solution for JTAG debugging of beagleboard xm?

2014-01-03 Thread Mark Lazarewicz
Well if you prefer non open source solution and prefer  a feature rich 
IDE(CCS5.X) backed by the vendor (TI) @ $79 xdsv2usb is the only way. I trust 
your google skills starting from here 


http://elinux.org/BeagleBoard

http://processors.wiki.ti.com/index.php/XDS100

code composer jtag support uses  a .gel file to initialize processor and memory 
so you will have to google around for the Beagle Board one or uses the 
bootloader to initialize things and then grab control I dont recommend that 
approach

The industry trend now is jtag over  usb with no need for a connector the bone 
white supports this the Beagleboard and Panda and BBB need connectors





On Friday, January 3, 2014 2:08 PM, Robert P. J. Day  
wrote:
 
On Fri, 3 Jan 2014, Bill Traynor wrote:

> On Fri, Jan 3, 2014 at 9:56 AM, Robert P. J. Day  
> wrote:
> >
> >   a client is interested in JTAG debugging of a beagleboard xm and, if
> > memory serves, one approach once upon a time was described here:
> >
> >  http://elinux.org/BeagleBoardJTAG
> >
> > involving tin can tools' flyswatter 2 and openocd. is that still
> > the best approach these days if one wants to keep things
> > inexpensive? other options? thanks.
>
> This is still one of the most inexpensive ways to debug BB-XM.  I
> haven't personally done it in some time though.

  i've actually *never* done it, i just wanted to make sure there was
no newer, spiffier way to do it beyond what was documented on that
page.

  if there are any other pages on JTAG debugging that might be
appropriate for the xM, by all means, let me know. thanks.


rday

-- 


Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                      http://twitter.com/rpjday
LinkedIn:                              http://ca.linkedin.com/in/rpjday


-- 
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/groups/opt_out.

-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread William Hermans
Robert, I would not mind helping out, if I can, I just do not know where to
start. Actual testing, I would think you'd want some one familiar with a
scope / LA, and that person is not me. YET.

Pretty much what I need in the end is all UARTs, all I2C, and all SPI
enabled. My buddy and I have a project that uses every single last pin, and
then some . . . but anyhow I would like to help If i can. My own motivation
would be to get what I want, and the benefit to the community would be
every one gets to use whatever I put together.


On Fri, Jan 3, 2014 at 3:26 PM, Robert Nelson wrote:

> On Fri, Jan 3, 2014 at 4:19 PM, William Hermans  wrote:
> > Robert, so . . . still no cape support, and I at least need I2C, SPI
> UART,
> > and possibly a few other things ( definitely standard GPIO ). Would
> enabling
> > these features be a major undertaking, or would someone such as myself
> who
> > is new to embedded Linux be able to work out the wrinkles ?
> >
> > I'd be willing to give it a shot either way, but I would need some
> guidance
> > as how to proceed.
>
> So right "now" in my am33x-v3.13 branch, the default out of the box
> config is going to be: (request of beagleboard.org guys..)
>
> http://elinux.org/Basic_Proto_Cape
>
> SPISPI0_CS0
> SPI0_D1
> SPI0_D0
> SPI0_SCLK
> Enabled (untested by me.) someone want to test, just a /dev/spidev1.x
>
> I2CI2C2_SCL
> I2C2_SDA
> Enabled (untested by me..)
>
> AIN6
> AIN5
> AIN4
> Enabled, looks like they work..
>
> UARTUART1_TXD
> UART1_RXD
> enabled, tested by me...
>
> PWMEHRPWM1A
> EHRPWM1B
> ECAPPWM0
> driver not fully in mainline...
>
> GPIOGPIO1_16
> GPIO2_2
> GPIO2_3
> GPIO2_4
> GPIO2_5
> GPIO0_22
> not implemented yet.. hopefully next week..
>
> Beyond that, with:
>
> https://github.com/RobertCNelson/rscm
>
> we can enable:
> i2c-1, ttyO2, ttyO3...
>
> More to come...
>
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 4:19 PM, William Hermans  wrote:
> Robert, so . . . still no cape support, and I at least need I2C, SPI UART,
> and possibly a few other things ( definitely standard GPIO ). Would enabling
> these features be a major undertaking, or would someone such as myself who
> is new to embedded Linux be able to work out the wrinkles ?
>
> I'd be willing to give it a shot either way, but I would need some guidance
> as how to proceed.

So right "now" in my am33x-v3.13 branch, the default out of the box
config is going to be: (request of beagleboard.org guys..)

http://elinux.org/Basic_Proto_Cape

SPISPI0_CS0
SPI0_D1
SPI0_D0
SPI0_SCLK
Enabled (untested by me.) someone want to test, just a /dev/spidev1.x

I2CI2C2_SCL
I2C2_SDA
Enabled (untested by me..)

AIN6
AIN5
AIN4
Enabled, looks like they work..

UARTUART1_TXD
UART1_RXD
enabled, tested by me...

PWMEHRPWM1A
EHRPWM1B
ECAPPWM0
driver not fully in mainline...

GPIOGPIO1_16
GPIO2_2
GPIO2_3
GPIO2_4
GPIO2_5
GPIO0_22
not implemented yet.. hopefully next week..

Beyond that, with:

https://github.com/RobertCNelson/rscm

we can enable:
i2c-1, ttyO2, ttyO3...

More to come...

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/groups/opt_out.


Re: [beagleboard] Re: Which build would you recommend?

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 4:16 PM, KurtE  wrote:
>
> Thanks, forgot to look in /sbin
>
> Making some progress, found my 3.3v FTDI cable so have the debug setup.  Am
> now downloading source and the like to the board and installing
> build-esentials.
>
> Next up see if using same steps as before (need to find them) to setup for
> the ttyOn devices.
>
> Just ran into having the WLAN dropping me and then reconnecting a few
> minutes later.  I remember these issues from from before, maybe something
> like it powers itself down...  Need to investigate.  After that, at the end
> of dmesg I see:
> [ 2039.185393] wlan0: deauthenticated from 30:46:9a:02:49:a8 (Reason: 2)
> [ 2039.231769] cfg80211: Calling CRDA for country: US
> [ 2040.111858] hub 1-1:1.0: transfer --> -71
> [ 2040.125075] wlan0: authenticate with 30:46:9a:02:49:a8
> [ 2040.150919] wlan0: send auth to 30:46:9a:02:49:a8 (try 1/3)
> [ 2040.178916] wlan0: authenticated
> [ 2040.186600] wlan0: associate with 30:46:9a:02:49:a8 (try 1/3)
> [ 2040.198275] wlan0: RX AssocResp from 30:46:9a:02:49:a8 (capab=0x431
> status=0 aid=6)
> [ 2040.208995] wlan0: associated
>
> In case anyone looks, from earlier on in dmesg:
> [7.302088] RTL8192cu 1-1.2:1.0: usb_probe_interface
> [7.302117] rtl8192cu 1-1.2:1.0: usb_probe_interface - got id
> [7.330628] rtl8192cu: Chip version 0x10
> [7.664443] rtl8192cu: MAC address: 80:1f:02:9a:9b:e6
> [7.669813] rtl8192cu: Board Type 0
> [7.696119] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
> [7.724885] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
> [7.757493] usbcore: registered new interface driver rtl8192cu

Some mainline "reverse engineered" wifi drivers need:

sudo iwconfig wlan0 power off

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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread William Hermans
Robert, so . . . still no cape support, and I at least need I2C, SPI UART,
and possibly a few other things ( definitely standard GPIO ). Would
enabling these features be a major undertaking, or would someone such as
myself who is new to embedded Linux be able to work out the wrinkles ?

I'd be willing to give it a shot either way, but I would need some guidance
as how to proceed.


On Fri, Jan 3, 2014 at 1:57 PM, John Syne  wrote:

> From: Anguel 
> Reply-To: 
> Date: Friday, January 3, 2014 at 12:41 PM
>
> To: 
> Subject: Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant
>
>
>
> On Friday, January 3, 2014 8:03:32 PM UTC+1, John Syne wrote:
>>
>> Hi Anguel,
>>
>> Yes, I originally built the TI Graphics SDK and installed it on top of
>> Robert’s Debian release, but now Robert has kindly added a SGX script which
>> I can confirm does the same thing.
>>
>
>
> Sounds good. Today I wrote Robert's Debian 7.3 image to an SD card and
> successfully booted the BBB. Then I installed Debian's qt-sdk (which is Qt
> 4.8.2). Qt complained that it cannot find an X Server, so I first tried to
> install xserver-xfbdev (which is advertised as very lightweight) but this
> did not work for some reason. Then I installed LXDE and that worked out
> fine. Haven't tested thoroughly but I suspect that the 3.8.13 kernel in the
> Debian 7.3 image does not have 3D accelleration.
>
> When you install SGX, you have 3D acceleration. The 3D examples are under
> /opt. To run the QT app, I use the –platform eglfs.
>
>
>
> Of course the native compilation, even at application level, takes a long
> time on the BBB. And I am still not sure which is the recommended way to
> cross-compile Qt apps on the BBB.
>
> If I have some time I will also have a look at Qt 5 with TI's Graphics
> SDK. I think Qt is very important for the BBB and is required by many
> people. For non-GUI tasks where fast response times are needed I still
> prefer a Cortex M3 or M4 at bare-metal level :)
>
> Have you tried Xenomai? I looked at using F28M35C Concerto devices and I
> always seemed to run out of memory when adding all the pieces I needed such
> as network stack, security, etc.
>
>
>
> Anguel
>
> --
> 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/groups/opt_out.
>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [beagleboard] Re: Which build would you recommend?

2014-01-03 Thread KurtE

Thanks, forgot to look in /sbin

Making some progress, found my 3.3v FTDI cable so have the debug setup.  Am 
now downloading source and the like to the board and installing 
build-esentials.

Next up see if using same steps as before (need to find them) to setup for 
the ttyOn devices.

Just ran into having the WLAN dropping me and then reconnecting a few 
minutes later.  I remember these issues from from before, maybe something 
like it powers itself down...  Need to investigate.  After that, at the end 
of dmesg I see:
[ 2039.185393] wlan0: deauthenticated from 30:46:9a:02:49:a8 (Reason: 2)
[ 2039.231769] cfg80211: Calling CRDA for country: US
[ 2040.111858] hub 1-1:1.0: transfer --> -71
[ 2040.125075] wlan0: authenticate with 30:46:9a:02:49:a8
[ 2040.150919] wlan0: send auth to 30:46:9a:02:49:a8 (try 1/3)
[ 2040.178916] wlan0: authenticated
[ 2040.186600] wlan0: associate with 30:46:9a:02:49:a8 (try 1/3)
[ 2040.198275] wlan0: RX AssocResp from 30:46:9a:02:49:a8 (capab=0x431 
status=0 aid=6)
[ 2040.208995] wlan0: associated

In case anyone looks, from earlier on in dmesg:
[7.302088] RTL8192cu 1-1.2:1.0: usb_probe_interface
[7.302117] rtl8192cu 1-1.2:1.0: usb_probe_interface - got id
[7.330628] rtl8192cu: Chip version 0x10
[7.664443] rtl8192cu: MAC address: 80:1f:02:9a:9b:e6
[7.669813] rtl8192cu: Board Type 0
[7.696119] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1
[7.724885] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
[7.757493] usbcore: registered new interface driver rtl8192cu

Kurt


-- 
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/groups/opt_out.


Re: [beagleboard] Systemd service failure in Debian BBB with RCN kernel 3.8.13-bone34

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 3:55 PM, Robert Nelson  wrote:
>> I installed the kernel using your tools/install_kernel.sh.
>> depmod -a did not help.
>> If I comment out the reference to loop in /etc/modules-load.d/modules.conf,
>> the error disappears. Other modules deem to load fine.
>>
>> I cannot find any reference to the "loop" module??
>>
>> root@argus-dev:~# find /lib -name loop*
>> root@argus-dev:~#
>
> It's built-in:
> CONFIG_BLK_DEV_LOOP=y
>
>> The original modules.conf file (which is a symlink to ../modules) is:
>> # /etc/modules: kernel modules to load at boot time.
>> #
>> # This file contains the names of kernel modules that should be loaded
>> # at boot time, one per line. Lines beginning with "#" are ignored.
>> # Parameters can be specified after the module name.
>> loop
>
> debian 'upstream' builds it as a module by default..
>
> https://github.com/RobertCNelson/linux-dev/blob/master/patches/debian-armmp#L1577
>
> we can change it to match...

So weird.. haven't tweaked the config but.. I just did:

./build_kernel.sh
./tools/install-kernel.sh

to verify it before the change..

That works as is..

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/groups/opt_out.


Re: [beagleboard] Systemd service failure in Debian BBB with RCN kernel 3.8.13-bone34

2014-01-03 Thread Robert Nelson
> I installed the kernel using your tools/install_kernel.sh.
> depmod -a did not help.
> If I comment out the reference to loop in /etc/modules-load.d/modules.conf,
> the error disappears. Other modules deem to load fine.
>
> I cannot find any reference to the "loop" module??
>
> root@argus-dev:~# find /lib -name loop*
> root@argus-dev:~#

It's built-in:
CONFIG_BLK_DEV_LOOP=y

> The original modules.conf file (which is a symlink to ../modules) is:
> # /etc/modules: kernel modules to load at boot time.
> #
> # This file contains the names of kernel modules that should be loaded
> # at boot time, one per line. Lines beginning with "#" are ignored.
> # Parameters can be specified after the module name.
> loop

debian 'upstream' builds it as a module by default..

https://github.com/RobertCNelson/linux-dev/blob/master/patches/debian-armmp#L1577

we can change it to match...

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/groups/opt_out.


Re: [beagleboard] Re: emacs on Ångström - no keys

2014-01-03 Thread Frank Davidson
I am having the same problem with Emacs and the BBB... I'm running through 
Cygwin and I have used the -X option which connects just fine, but Emacs 
still does not recognize any keys...

Frank

On Thursday, December 19, 2013 8:09:20 AM UTC-5, RT Mistler wrote:
>
> The one I have is 23.4.1.
>
> Are you running ssh through cygwin?  I'd suggest that but also don't know 
> if that would then also support the -X option.  Also look for an option 
> called "ForwareX11" that's what the -X option activates in ssh.
>
> - RT
>
>
> On Wed, Dec 18, 2013 at 7:05 PM, > wrote:
>
>> I'm using SSH Secure Shell on a Windows XP machine, not ssh on a Linux 
>> box, and there's no -X option that I'm aware of.  As far as I can tell from 
>> the man page, whatever it is that the -X option does is automatically 
>> provided by the SSH program.  Also, I've used this software for accessing 
>> emacs on many machines for years with no bad experiences that I can recall 
>> ... until now.
>>
>> I suspect that there's some flag or option that has to be adjusted on the 
>> BBB side, either for the shell or more likely for emacs,  but I have no 
>> idea what it might be.
>>
>> A little more googling and I see that there may be some bug in emacs that 
>> causes this.  So, another question: has anybody gotten emacs 23.4-r2 to 
>> work in the BBB running Angstrom?
>>
>> On Wednesday, December 18, 2013 12:45:55 PM UTC-5, RT Mistler wrote:
>>>
>>> Hi,
>>>
>>> Do you use the -X switch when you invoke ssh?  I was searching for how 
>>> to install emacs on beaglebone black and found your note.  It worked for 
>>> me, I use:
>>>
>>> ssh -X root@
>>>
>>> to attach to my BBB and now that I've installed gnuemacs, it works 
>>> correctly, window pops up and all; no problems with key sequences.
>>>
>>> I am ssh'ing over from a Ubuntu distribution.
>>>
>>> - RT
>>>
>>> On Wednesday, December 11, 2013 5:42:01 PM UTC-5, rlte...@gmail.comwrote:

 I installed emacs on my brand new BBB, but although emacs starts up, no 
 key ever makes it to into the program.

 The installation was as simple as
 1) log in as root using SSH Secure Shell 3.2.9 (see comments below) to 
 192.168.1.xxx (via the ethernet cable, address assigned via DHCP)
 2) execute
 opkg update
 opkg install emacs
 3) run emacs by typing
 emacs

 No key is recognized, not M-, not C- , not even just a letter 
  (and worst of all, not C-x C-c, which would cause emacs to exit). 
  Same result occurs if I create a text file test.txt and then execute
 emacs test.txt

 And just to cut off one possibility: note that I've been using SSH 
 Secure Shell with emacs for years, and I tested it just now with another 
 system; it works just fine.  Obviously, too, it accesses the BBB, because 
 that's how I entered the commands that installed and executed emacs.  And, 
 of course, I've rebooted the BBB several times.

 Any thoughts?

 Thanks,
 Richard

 P.S. SSH Secure Shell 3.2.9 is a very nice TTY program, which I vastly 
 prefer over PuTTY.
 Search for
 ssh secure shell 3.2.9 download free
 and you'll find various sources, including universities, that offer the 
 software for free, e.g.William & Mary, Dartmouth, Northwestern, UCLA, etc. 
  In other words, you won't be downloading some cracked and potentially 
 dangerous piece of software.

>>>  -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/beagleboard/I0B2Jj1pa78/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> beagleboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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/groups/opt_out.


Re: [beagleboard] Systemd service failure in Debian BBB with RCN kernel 3.8.13-bone34

2014-01-03 Thread David Lambert

On 01/03/2014 02:14 PM, Robert Nelson wrote:

On Fri, Jan 3, 2014 at 10:13 AM, David Lambert  wrote:

I know that systemd is not "officially" supported yet, but I am puzzled by
the following error:

root@argus-dev:~# systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Sat, 01 Jan 2000 01:12:01 +; 14
years and 0 months ago
Process: 199 ExecStart=/lib/systemd/systemd-modules-load (code=exited,
status=1/FAILURE)
CGroup: name=systemd:/system/systemd-modules-load.service

root@argus-dev:~# /lib/systemd/systemd-modules-load
could not find module by name='�'
Failed to insert 'loop': Function not implemented

seems to be working here:

root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone34 #1 SMP Fri Jan 3 01:18:17 UTC 2014
armv7l GNU/Linux
root@beaglebone:~# systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
Active: active (exited) since Fri, 03 Jan 2014 20:07:45 +; 4min 29s ago
Main PID: 211 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/systemd-modules-load.service

how did you install the kernel? maybe a 'sudo depmod -a' and a reboot...


Regards,


I installed the kernel using your tools/install_kernel.sh.
depmod -a did not help.
If I comment out the reference to loop in 
/etc/modules-load.d/modules.conf, the error disappears. Other modules 
deem to load fine.


I cannot find any reference to the "loop" module??

root@argus-dev:~# find /lib -name loop*
root@argus-dev:~#


The original modules.conf file (which is a symlink to ../modules) is:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
loop

Any more suggestions?

Regards,

Dave.

--
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/groups/opt_out.
<>

Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread John Syne
From:  Anguel 
Reply-To:  
Date:  Friday, January 3, 2014 at 12:41 PM
To:  
Subject:  Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

> 
> 
> On Friday, January 3, 2014 8:03:32 PM UTC+1, John Syne wrote:
>> Hi Anguel,
>> 
>> Yes, I originally built the TI Graphics SDK and installed it on top of
>> Robert¹s Debian release, but now Robert has kindly added a SGX script which I
>> can confirm does the same thing.
> 
> 
> Sounds good. Today I wrote Robert's Debian 7.3 image to an SD card and
> successfully booted the BBB. Then I installed Debian's qt-sdk (which is Qt
> 4.8.2). Qt complained that it cannot find an X Server, so I first tried to
> install xserver-xfbdev (which is advertised as very lightweight) but this did
> not work for some reason. Then I installed LXDE and that worked out fine.
> Haven't tested thoroughly but I suspect that the 3.8.13 kernel in the Debian
> 7.3 image does not have 3D accelleration.
When you install SGX, you have 3D acceleration. The 3D examples are under
/opt. To run the QT app, I use the ­platform eglfs.
> 
> 
> Of course the native compilation, even at application level, takes a long time
> on the BBB. And I am still not sure which is the recommended way to
> cross-compile Qt apps on the BBB.
> 
> If I have some time I will also have a look at Qt 5 with TI's Graphics SDK. I
> think Qt is very important for the BBB and is required by many people. For
> non-GUI tasks where fast response times are needed I still prefer a Cortex M3
> or M4 at bare-metal level :)
Have you tried Xenomai? I looked at using F28M35C Concerto devices and I
always seemed to run out of memory when adding all the pieces I needed such
as network stack, security, etc.
> 
> 
> Anguel
> 
> -- 
> 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/groups/opt_out.


-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Toolchain (32-bit) and Qt 5.2.x

2014-01-03 Thread Anguel


On Friday, January 3, 2014 8:05:37 PM UTC+1, John Syne wrote:
>
>
> https://github.com/RobertCNelson/linux-dev/tree/am33x-v3.12
>


Thanks!

Anguel

-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread Anguel


On Friday, January 3, 2014 8:03:32 PM UTC+1, John Syne wrote:
>
> Hi Anguel,
>
> Yes, I originally built the TI Graphics SDK and installed it on top of 
> Robert’s Debian release, but now Robert has kindly added a SGX script which 
> I can confirm does the same thing. 
>


Sounds good. Today I wrote Robert's Debian 7.3 image to an SD card and 
successfully booted the BBB. Then I installed Debian's qt-sdk (which is Qt 
4.8.2). Qt complained that it cannot find an X Server, so I first tried to 
install xserver-xfbdev (which is advertised as very lightweight) but this 
did not work for some reason. Then I installed LXDE and that worked out 
fine. Haven't tested thoroughly but I suspect that the 3.8.13 kernel in the 
Debian 7.3 image does not have 3D accelleration.

Of course the native compilation, even at application level, takes a long 
time on the BBB. And I am still not sure which is the recommended way to 
cross-compile Qt apps on the BBB.

If I have some time I will also have a look at Qt 5 with TI's Graphics SDK. 
I think Qt is very important for the BBB and is required by many people. 
For non-GUI tasks where fast response times are needed I still prefer a 
Cortex M3 or M4 at bare-metal level :)

Anguel

-- 
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/groups/opt_out.


[beagleboard] Re: Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread Anguel
On Friday, January 3, 2014 5:13:17 PM UTC+1, pewte...@gmail.com wrote:
>
>
>
> I am new to linux and am following this thread as I find it fascinating 
> even though I have no way of knowing what I am reading most of the time:>)  
> Give me a year or two and I will be up to speed, but in the mean time I 
> have a simple question. I am wanting to use the BBB to retrofit old 
> machines with new controls, Will BBB be a suitable platform for running a 
> graphical interface (touch screen preferable) for this purpose or should I 
> look at PLC's etc.  Thanks Dan Keith an old dog trying to learn new tricks
>
>
As you have probably seen in the discussion, even in 2014 it is not a 
straightforward task to implement a Touchscreen + GUI on a Linux board like 
the BBB. There are some annoyances you have to expect.
Also, if you require fast response or even real-time control this is a 
complex task in Linux as you will very probably need to become very 
familiar with the kernel.

Anguel

-- 
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/groups/opt_out.


Re: [beagleboard] Systemd service failure in Debian BBB with RCN kernel 3.8.13-bone34

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 10:13 AM, David Lambert  wrote:
> I know that systemd is not "officially" supported yet, but I am puzzled by
> the following error:
>
> root@argus-dev:~# systemctl status systemd-modules-load.service
> systemd-modules-load.service - Load Kernel Modules
> Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
> Active: failed (Result: exit-code) since Sat, 01 Jan 2000 01:12:01 +; 14
> years and 0 months ago
> Process: 199 ExecStart=/lib/systemd/systemd-modules-load (code=exited,
> status=1/FAILURE)
> CGroup: name=systemd:/system/systemd-modules-load.service
>
> root@argus-dev:~# /lib/systemd/systemd-modules-load
> could not find module by name='�'
> Failed to insert 'loop': Function not implemented

seems to be working here:

root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone34 #1 SMP Fri Jan 3 01:18:17 UTC 2014
armv7l GNU/Linux
root@beaglebone:~# systemctl status systemd-modules-load.service
   systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
   Active: active (exited) since Fri, 03 Jan 2014 20:07:45 +; 4min 29s ago
   Main PID: 211 (code=exited, status=0/SUCCESS)
   CGroup: name=systemd:/system/systemd-modules-load.service

how did you install the kernel? maybe a 'sudo depmod -a' and a reboot...


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/groups/opt_out.


Re: [beagleboard] current solution for JTAG debugging of beagleboard xm?

2014-01-03 Thread Robert P. J. Day
On Fri, 3 Jan 2014, Bill Traynor wrote:

> On Fri, Jan 3, 2014 at 9:56 AM, Robert P. J. Day  
> wrote:
> >
> >   a client is interested in JTAG debugging of a beagleboard xm and, if
> > memory serves, one approach once upon a time was described here:
> >
> >   http://elinux.org/BeagleBoardJTAG
> >
> > involving tin can tools' flyswatter 2 and openocd. is that still
> > the best approach these days if one wants to keep things
> > inexpensive? other options? thanks.
>
> This is still one of the most inexpensive ways to debug BB-XM.  I
> haven't personally done it in some time though.

  i've actually *never* done it, i just wanted to make sure there was
no newer, spiffier way to do it beyond what was documented on that
page.

  if there are any other pages on JTAG debugging that might be
appropriate for the xM, by all means, let me know. thanks.

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


-- 
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/groups/opt_out.


[beagleboard] Re: beagleboard-xm and sabertooth 2x10 motor controller

2014-01-03 Thread Nizamov Shawkat
Hi,

Unfortunately BB-xm does not carry TTL signals so you will need some level 
converting interface. Guess that it is the same with BB. 

You might want to use the serial port - then you need RS-232 to TTL level 
converter and you have to make sure that during initial bootup your 
peripheral stays disconnected.  
Or you might want to use some GPIO - they are 1.8v (2.8v for BB?). You 
might setup pins in such way that you route some other serial port to GPIO. 
In any case you will need a simple single transistor level converter.  

I have to do a similar thing in the future and I am going the analog way- 
there is a plenty of I2C controllable DAC's (dual/quad channels) which you 
will only need to connect to power supply, to I2C bus and driver board - no 
other components are need. So in hardware it is almost as well simple, but 
in programming it is going to be much much easier. 

Hope it helps,
Shavkat

On Friday, January 3, 2014 5:16:19 AM UTC+1, Simon Engler wrote:
>
> Hello, 
>
> I am trying to connect my beagleboard up to a sabertooth 2x10
>
> http://www.dimensionengineering.com/products/sabertooth2x10
>
> It is best for me to communicate through simplified serial if possible. 
> Description below.
>
> Could someone point me in the right direction?
>
> Thanks.
>
>
> "Simplified serial uses TTL level single-byte serial commands to set the 
> motor speed and 
> direction. This makes it easy to interface to microcontrollers and PCs, 
> without having to 
> implement a packet-based communications protocol. Simplified serial is a 
> one-direction only 
> interface. The transmit line from the host is connected to S1. The host’s 
> receive line is not 
> connected to the Sabertooth. Because of this, multiple drivers can be 
> connected to the same serial 
> transmitter. If using a true RS-232 device like a PC’s serial port, it is 
> necessary to use a level 
> converter to shift the –10V to 10V rs-232 levels to the 0v-5v TTL levels 
> the Sabertooth is 
> expecting. This is usually done with a Max232 type chip. If using a TTL 
> serial device like a 
> microcontroller, the TX line of the microcontroller may be connected 
> directly to S1. 
>  
> Because Sabertooth controls two motors with one 8 byte character, when 
> operating in Simplified 
> Serial mode, each motor has 7 bits of resolution. Sending a character 
> between 1 and 127 will 
> control motor 1. 1 is full reverse, 64 is stop and 127 is full forward. 
> Sending a character between 
> 128 and 255 will control motor 2. 128 is full reverse, 192 is stop and 255 
> is full forward. 
>  Character 0 (hex 0x00) is a special case. Sending this character will 
> shut down both motors."
>
>
>
>

-- 
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/groups/opt_out.


[beagleboard] Re: 4D Systems 4DCAPE-70T, no display

2014-01-03 Thread Brian Yee
Halim,

Thanks for your email.  Yes, I did power the board from a Tektronix lab 
power supply set at 5 volts
just to be sure it had enough power, but no luck.  I will try again this 
weekend, but I wonder if there is
some software setup issue that I overlooked.

Thanks,

Brian


On Thursday, January 2, 2014 9:19:26 AM UTC-8, Brian Yee wrote:
>
> A couple of weeks ago I installed a 4D Systems 4DCAPE-70T on my BBB board 
> and powered it up.
> I was able to connect via USB but there was no display on the LCD cape.  I 
> also tried to run it standalone 
> with a USB mouse and keyboard (no HDMI display attached) but still no 
> display.
>
> Has anyone else had luck with this, and what hardware/OS configuration did 
> you use?  Any known
> problems or hints?
>
> Thanks,
>
> Brian
>
>

-- 
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/groups/opt_out.


Re: [beagleboard] current solution for JTAG debugging of beagleboard xm?

2014-01-03 Thread Bill Traynor
On Fri, Jan 3, 2014 at 9:56 AM, Robert P. J. Day  wrote:
>
>   a client is interested in JTAG debugging of a beagleboard xm and, if
> memory serves, one approach once upon a time was described here:
>
>   http://elinux.org/BeagleBoardJTAG
>
> involving tin can tools' flyswatter 2 and openocd. is that still the
> best approach these days if one wants to keep things inexpensive?
> other options? thanks.

This is still one of the most inexpensive ways to debug BB-XM.  I
haven't personally done it in some time though.

>
> rday
>
> --
>
> 
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter:   http://twitter.com/rpjday
> LinkedIn:   http://ca.linkedin.com/in/rpjday
> 
>
> --
> 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/groups/opt_out.

-- 
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/groups/opt_out.


Re: [beagleboard] beagle boadrxm

2014-01-03 Thread John Syne


From:  Maxim Podbereznyy 
Reply-To:  
Date:  Friday, January 3, 2014 at 9:22 AM
To:  beagleboard 
Subject:  Re: [beagleboard] beagle boadrxm

> 
> All details are very needed.
> 
> 02 янв. 2014 г. 18:57 пользователь   написал:
>> how to interface beagle board-xm with dsp signals to reduce the noise using
>> some filtering techiniques.plz can u help me for this project.
If you use Linux Kernel V3.2, you can use SysLink to communicate between the
ARMV7 and DSP processors. SysLink is a form of IPC and allow you to load DSP
code onto the DSP, run the code and exchange info. If you want to use any of
the later kernels, V3.8 or V3.12, there is no solution for OMAP3. TI
migrated to RPMSG (SysLink3) which is now in mainline and is only supported
on OMAP4, OMAP5 and OMAPL138. TI did have plans to support OMAP3, but I
believe that this has all but been abandoned.

Regards,
John
>> -- 
>> 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/groups/opt_out.
> 
> -- 
> 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/groups/opt_out.


-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread Andrew Henderson
I'll just step in here a moment to say something.  The BBB's software has 
rough edges.  It is improving all of the time.  Many people are tinkering 
away behind the scenes, trying out different things, finding the rough 
edges, talking about them, etc.  I understand the frustration of anyone 
that wants a working base to start from when creating their own projects. 
 I receive a great deal of mail from many beginnings that are running into 
all sorts of issues, and I am either able to help them with their project 
quickly or get them pointed towards the right place to talk about it.  And 
it isn't just me doing this sort of thing.  The community has a variety of 
people that are all tinkering with their own projects and are helping 
others along the way.  We just don't have a "formal" person to hold 
accountable when things don't work.

I know that this isn't ideal, and I completely understand where you are 
coming from.  But, I guess that I just accept it for what it is, sigh, and 
say "I guess I'm going to have to figure out some workaround for this silly 
thing".  Most people lack the experience to just dig in and fix things, and 
that's OK.  The kernel for the BBB is quite a patchwork of, well... 
patches.  It's a mess, really, especially in the 3.8 kernel.  Little pieces 
work here and there, things break and get fixed, etc.  I think that you're 
really going to see everything "working and working well" around the time 
that the 3.13 kernel becomes the standard one for BBB.  3.12 is looking 
good, anyway, though it still is missing a few bits here and there.

I remember when the BeagleBoard-xM changed from the 2.6 kernel and it 
couldn't be clocked at 1 GHz anymore because the support wasn't in the 
kernel.  People complained.  Oh boy, did they complain.  There were 
statements like "this is false advertising" and "they said it could do 1 
GHz and they LIED", etc.  But really, this is just the name of the game 
when it comes to these hobbyist boards.

I am sorry that you are frustrated with the current state of the BBB's 
kernel and OS choices, but it is always changing (and usually improving). 
 In the meantime, the more experienced hobbyists will keep ironing out the 
kinks as best as we can, documenting what we find, and really putting a lot 
of sweat and tears into beating the BBB into what we want it to be. 
 Personally, I do what I do because I am trying to provide good reference 
platforms (BeagleSNES as a standalone appliance, Android with the 3.8 
kernel for tablet prototypers, etc.) that other people can learn from or 
use as a base for their own projects.  Sometimes, I fix a minor thing and 
pass it along to everyone else.  Other times, I just do some investigation, 
figure out what isn't quite right, and then pass that along to people like 
Robert that are fiddling away on their own interests.

It is what it is.  It isn't ideal and polished, but then again, some people 
like me find that kind of interesting.  I know it isn't for everyone, 
though.

Andrew
  

On Wednesday, January 1, 2014 10:05:09 PM UTC-5, Terry Storm wrote:
>
> What is funny is that it still seems to be expected that everyone who buys 
> a BBB should be required to have the capability to make it work correctly. 
> Your argument is valid but still only for a small proportion of buyers. 
> Think of all the people out there who have brought a BBB to maybe be a step 
> up from their Arduino. They have never used linux etc, its a hell of a 
> learning curve.
>
> It find it hard to believe that it should be expected that everyone who 
> buys a BBB should have had at least (say) 5 years of linux experience 
> before they even consider buying one. This is targeted at a wide range of 
> users, which includes hobbyists who have never touch embedded development 
> boards before. The price of the BBB is irrelevant. What is relevant is 
> there are a ton of people stuck, and a bunch of experienced linux people 
> who are capable of fixing issues and making the BBB work as they require, 
> slagging of everyone else who is not capable and saying they shouldn't have 
> purchased in the first place. Or that all these inexperienced users should 
> harden up and take a concrete pill and figure it out themselves.
>
> Ridiculous.
>
> Swap places and see how far you get.
>
> Making GPIO do things, writing basic application code etc, basically 
> turning a BBB into a glorified Arduino, no problem for most people and that 
> is something that can easily be learnt. Rewriting kernels and drivers so 
> supplied hardware even works, this is a problem for most people. Bringing 
> up a discussion to talk about this, how this constitutes as whining or 
> complaining, I don't know.
>
> This topic has gone way off topic anyway.
>
> End of the day we have great hardware, no one is complaining about that. 
> End of the day we have crap supporting software and now it seems no 
> official (paid) developers, and issues relating to kernels which most use

Re: [beagleboard] Re: Which build would you recommend?

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 1:12 PM, KurtE  wrote:
> Thanks,
>
> I know asking for which OS to use is a loaded question, that usually has the
> simple answer, of which ever one works for you...
>
> So after reading through the Angstrom/Rants thread, plus some others,
> decided to also try out Debian Wheezy, which I installed off of:
> http://elinux.org/BeagleBoardDebian.  I installed the EMMC version, which is
> great.
>
> Now starting to fumble my way through to get the system configured up.  I
> now have the wifi working, which is great.  Yep driver just worked.  Only
> thing I needed to do was to figure out how to configure it for my WPA... Now
> working.  Took me a few minutes to figure out what IP address it has, as did
> not see anything in the dmesg output.  Also dont have ifconfig...

use the full path for non root/sudo users..

/sbin/ifconfig

>But found
> it looking at my DHCP servers log output.
>
> Next up: find where I put my 3.3v FTDI cable and look at seeing what I need
> to do again (if anything), to enable the usarts through the device maps.
> Was using a couple before for XBee and the like.

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/groups/opt_out.


Re: [beagleboard] current solution for JTAG debugging of beagleboard xm?

2014-01-03 Thread John Syne

On 1/3/14, 6:56 AM, "Robert P. J. Day"  wrote:

>
>  a client is interested in JTAG debugging of a beagleboard xm and, if
>memory serves, one approach once upon a time was described here:
>
>  http://elinux.org/BeagleBoardJTAG
>
>involving tin can tools' flyswatter 2 and openocd. is that still the
>best approach these days if one wants to keep things inexpensive?
>other options? thanks.
Hi Robert,

XDS100V2 is less than $100 and the new XDS200 which is faster is about
$200. Both work with Code Composer Studio V5.

Regards,
John
>
>rday
>
>-- 
>
>
>Robert P. J. Day Ottawa, Ontario, CANADA
>http://crashcourse.ca
>
>Twitter:   http://twitter.com/rpjday
>LinkedIn:   http://ca.linkedin.com/in/rpjday
>
>
>-- 
>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/groups/opt_out.


-- 
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/groups/opt_out.


[beagleboard] Re: Which build would you recommend?

2014-01-03 Thread KurtE
Thanks,

I know asking for which OS to use is a loaded question, that usually has 
the simple answer, of which ever one works for you...

So after reading through the Angstrom/Rants thread, plus some others, 
decided to also try out Debian Wheezy, which I installed off of: 
http://elinux.org/BeagleBoardDebian.  I installed the EMMC version, which 
is great.

Now starting to fumble my way through to get the system configured up.  I 
now have the wifi working, which is great.  Yep driver just worked.  Only 
thing I needed to do was to figure out how to configure it for my WPA... 
Now working.  Took me a few minutes to figure out what IP address it has, 
as did not see anything in the dmesg output.  Also dont have ifconfig...  
But found it looking at my DHCP servers log output.

Next up: find where I put my 3.3v FTDI cable and look at seeing what I need 
to do again (if anything), to enable the usarts through the device maps.  
Was using a couple before for XBee and the like.

Again thanks,
Kurt


-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Toolchain (32-bit) and Qt 5.2.x

2014-01-03 Thread John Syne


From:  Anguel 
Reply-To:  
Date:  Friday, January 3, 2014 at 3:28 AM
To:  
Subject:  Re: [beagleboard] Angstrom Toolchain (32-bit) and Qt 5.2.x

> 
> 
> On Thursday, December 26, 2013 8:52:38 PM UTC+1, John Syne wrote:
>> 
>> Graphics SDK: Graphics_SDK_5_00_00_01_hardfp
>>> Update Make.rules
>>> Desktop #>make BUILD=release OMAPES=8.x PM_RUNTIME=1 all
>>> Desktop #>sudo make BUILD=release OMAPES=8.x PM_RUNTIME=1 install
>> This is no longer necessary. Run Robert Nelson¹s SGX build script.
> 
> Sounds very interesting, but where is this SGX build script located?
https://github.com/RobertCNelson/linux-dev/tree/am33x-v3.12
> 
> 
> Anguel
> 
> -- 
> 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/groups/opt_out.


-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread John Syne


From:  Anguel 
Reply-To:  
Date:  Friday, January 3, 2014 at 2:05 AM
To:  
Subject:  Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

> 
> 
> On Friday, January 3, 2014 1:20:58 AM UTC+1, John Syne wrote:
>> 
>> 
>> Have you looked a qtwayland? I haven¹t got it to work, but it does look
>> interesting.
> 
> Yes, it seems to be a new lightweight X-Window replacement using QPA in Qt 5.
> Similar to the good old Qt 4 internal lightweight QWS.
> I see Debian has some Wayland packages by default but these probably don't
> work with the setup you have done?
> Sorry for my ignorance, but are you actually installing the TI Graphics SDK on
> top of Robert's Debian? I mean this:
> RootFS: omap-image-builder
> debian-7.2-machinekit-armhf
Hi Anguel,

Yes, I originally built the TI Graphics SDK and installed it on top of
Robert¹s Debian release, but now Robert has kindly added a SGX script which
I can confirm does the same thing.

Regards,
John
> 
> 
> Anguel
> 
> -- 
> 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/groups/opt_out.


-- 
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/groups/opt_out.


Re: [beagleboard] Re: Motion software / em28xx issue, fails with Watchdog timeout

2014-01-03 Thread Jon
Hi Robert,

Unfortunately 3.13-rc6 hasn't resolved my similar issues with the stk1160 
driver and an easycap dongle either.. 

Was worth a try though!

Regards,
Jon.


On Wednesday, 1 January 2014 15:48:41 UTC, RobertCNelson wrote:
>
> On Wed, Jan 1, 2014 at 5:08 AM, JJ > 
> wrote: 
> > I confirm this issue is not only related to Arch, but also Debian 
> Wheezy. 
> > They detect Easycap dongle fine, but motion doen't want to capture video 
> > from it. 
>
> Can you retest with v3.13-rc6? 
>
> 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/groups/opt_out.


[beagleboard] Re: Programmatically load device tree overlay in Go

2014-01-03 Thread Frank Davidson
Thanks, Thorsten, but that didn't see to help, unfortunately... It doesn't 
generate any errors, it just doesn't actually load the dto... Any other 
ideas?

Frank

On Sunday, December 15, 2013 10:46:09 PM UTC-5, Thorsten von Eicken wrote:
>
> Do you perhaps need a newline terminator for the line you're writing to 
> the slots "file"?
>
>
> On Sunday, December 15, 2013 11:43:21 AM UTC-8, Frank Davidson wrote:
>>
>> Hi,
>>
>> I am having a hard time understanding the nature of the "echo 
>> cape-bone-iio > /sys/devices/bone_capemgr.*/slots"
>>
>> I have written the following program in Go:
>>
>> package bbbdevtreeovly
>>
>> import (
>> // "io"
>> // "bytes"
>> // "fmt"
>> "io/ioutil"
>> "log"
>> "os"
>> // "os/exec"
>> // "strings"
>> "path/filepath"
>> )
>>
>> const (
>> slotsDir string = `/sys/devices/` // Find BBB's slots
>> )
>>
>> func Load_dto(dtoFileName string, dtoFilePath string) (err error) {
>>
>> log.SetPrefix(`BBB Device Tree Overlay: `)
>>
>> slotFiles := make([]os.FileInfo, 100)
>>
>> slotFiles, err = ioutil.ReadDir(slotsDir)
>>
>> var i int
>>
>> for i = 0; i < len(slotFiles); i++ {
>> found, _ := filepath.Match(`bone_capemgr.*`, slotFiles[i].Name())
>> if found {
>> break
>> }
>> }
>>
>> log.Println("This is the new program...", "\n")
>>
>> slotsLoc := filepath.Join(slotsDir, slotFiles[i].Name(), `slots`)
>>
>> log.Println("DTO File: ", dtoFileName, "\n")
>>
>> slots, err := os.Open(slotsLoc)
>> if err != nil {
>> log.Println(err)
>> return err
>> }
>> defer slots.Close()
>>
>> log.Println("Slots location: ", slots.Name(), "\n")
>>
>> slots.Write([]byte(dtoFileName))
>>
>> // slots.Write([]byte("cape_bone_iio"))
>>
>> return nil
>>
>> }
>>
>> /*
>>  *
>>  */
>>
>> package main
>>
>> import (
>> "davidsonff/fmserve/bbbdevtreeovly"
>> "fmt"
>> )
>>
>> func main() {
>>
>> err := bbbdevtreeovly.Load_dto("cape-bone-iio", "/lib/firmware/")
>> if err != nil {
>> panic(err)
>> }
>>
>> fmt.Println("Success!")
>>
>> }
>>
>>
>> The result is no error and no change in the system:
>>
>> root@beaglebone:~# ./fmserve
>> BBB Device Tree Overlay: 2013/12/15 19:25:15 This is the new program...
>>
>> BBB Device Tree Overlay: 2013/12/15 19:25:15 DTO File:  cape-bone-iio
>>
>> BBB Device Tree Overlay: 2013/12/15 19:25:15 Slots location: 
>>  /sys/devices/bone_capemgr.9/slots
>>
>> Success!
>> root@beaglebone:~# cat /sys/devices/bone_capemgr.9/slots
>>  0: 54:PF---
>>  1: 55:PF---
>>  2: 56:PF---
>>  3: 57:PF---
>>  4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
>>  5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
>>
>> It seems to me that the $SLOTS "file" is not a normal file and that I am 
>> not understanding it properly.
>>
>> I've seen posts on loading this at boot in a script file, but nothing 
>> about changing it programmatically... Any help would be appreciated!
>>
>> Thanks,
>>
>> Frank
>>
>>

-- 
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/groups/opt_out.


Re: [beagleboard] beagle boadrxm

2014-01-03 Thread Maxim Podbereznyy
All details are very needed.
02 янв. 2014 г. 18:57 пользователь  написал:

> how to interface beagle board-xm with dsp signals to reduce the noise
> using some filtering techiniques.plz can u help me for this project.
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [beagleboard] Help install wireless driver for Beaglebone Black

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 10:47 AM,   wrote:
>
> Hi, I'm current have a TP Link WN725N wireless adapter. I try to install
> driver for my Beaglebone Black run in Ubuntu. I'm really a newbie in
> Beaglebone Black and Ubuntu.
> My lsusb:
> Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> My kernel:
> 3.8.13-bone28
>
> I'm try many ways to build driver wireless but it always has error.
> I'm try this tut too: http://linuxforums.org.uk/index.php?topic=11261.0
> And it has an error:
> make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.8.13-bone28/build
> M=/home/ubuntu/RTL8188EU/r
> tl8188eu  modules
> make: *** /lib/modules/3.8.13-bone28/build: No such file or directory.

To setup ^^^

wget 
https://raw.github.com/gkaindl/beaglebone-ubuntu-scripts/master/bb-get-rcn-kernel-source.sh
chmod +x ./bb-get-rcn-kernel-source.sh
./bb-get-rcn-kernel-source.sh

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/groups/opt_out.


[beagleboard] Help install wireless driver for Beaglebone Black

2014-01-03 Thread maivantan1992

Hi, I'm current have a TP Link WN725N wireless adapter. I try to install 
driver for my Beaglebone Black run in Ubuntu. I'm really a newbie in 
Beaglebone Black and Ubuntu.
My lsusb:
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

My kernel:
3.8.13-bone28

I'm try many ways to build driver wireless but it always has error. 
I'm try this tut too: http://linuxforums.org.uk/index.php?topic=11261.0
And it has an error:
make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.8.13-bone28/build M=/home/
ubuntu/RTL8188EU/r
tl8188eu  modules
make: *** /lib/modules/3.8.13-bone28/build: No such file or directory.  Stop
.
make: *** [modules] Error 2

Please help me install wireless driver.
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] Re: Java on BBB

2014-01-03 Thread Laurent H.

Le vendredi 3 janvier 2014 13:39:38 UTC+1, Mike Bremford a écrit :
>
> I assume you mean the one at http://lhuet.github.io/blog/? 
>

Yep. I forgot the link in my previous response ...
 

> Interesting, I would have expected more difference between soft/hard float 
> on the BBB. 
>

Results are not very accurate because of the use of two differents OS with 
differents compilation options (I guess that Angstrom uses the NEON 
instructions and the Ubuntu does not for instance).
The aim of the bench was only to see if I could have better performance on 
Ubuntu/JDK 8 (or 7).
 

> Your Raspberry Pi results comparison doesn't surprise me at all however! 
> What a difference Arm7 makes...
>

Some months ago, I did the same benchs with the BBW and results compared to 
Raspberry Pi were quite similar 
(https://github.com/lhuet/beaglebone-project/tree/master/benchJVMsARM) ... 
even with a 720 MHz processor !
It is clearly the family difference of ARM (v7 vs v6) that makes the 
difference.
 

>
> On 3 January 2014 10:55, Laurent H.  >wrote:
>
>> Hi,
>>
>> Personnaly, I prefer use the latest "official" version from Oracle (JDK 
>> 1.7)  : 
>> http://www.oracle.com/technetwork/java/javase/downloads/index.html
>> If you are on the Angström distrib, you have to choose the "Linux ARM 
>> v6/v7 Soft Float ABI" version.
>> There is also a hard float version of the JDK8 (preview). It is available 
>> here : https://jdk8.java.net/download.html
>> Be aware that you need to use an OS compatible with the hard float 
>> version (Debian or Ubuntu for instance).
>>
>> A few days ago, I wrote a post (in french) on my blog on performance 
>> comparison between JDK7 and JDK8 on BBB and RaspberryPi.
>>
>> Regards,
>>
>> Laurent
>>
>> Le vendredi 27 décembre 2013 07:28:32 UTC+1, Conrad King a écrit :
>>
>>> Hi all,
>>>
>>> I think I just made a mistake regarding Java on the BBB. I just 
>>> installed it using "sudo apt-get install default-jdk" but I think I may 
>>> have installed the wrong version? Is this correct? I just read "soft-float' 
>>> version if using the distro that shipped with your board (Angstrom)." 
>>>
>>> But I am slightly confused as I am using Debian. Will I be able to using 
>>> this version?
>>>
>>> Also, if I cant, how would I install it? I am using Putty and am unsure 
>>> of how to get it on there as it doesn't seem to be found.
>>>
>>  -- 
>> 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/groups/opt_out.
>>
>
>

-- 
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/groups/opt_out.


Re: [beagleboard] Re: BeagleBone Black: Ethernet transmits packets but does not receive them

2014-01-03 Thread Robert Nelson
On Thu, Jan 2, 2014 at 10:08 PM, Eugene  wrote:
> I ran into the same problems. I hacked up a patch to 3.8.8 from this patch:
> http://permalink.gmane.org/gmane.linux.network/267097
> and the ifdown/ifup issue went away for me.

Nice find! This fixes my debian netinstall, gonna push it to the
default beagleboard.org kernel..

>
> Here is my git diff for those who want to give it a try:
> diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
> index 21ba53e..67c7f74 100644
> --- a/drivers/net/ethernet/ti/cpsw.c
> +++ b/drivers/net/ethernet/ti/cpsw.c
> @@ -342,6 +342,7 @@ struct cpsw_priv {
>  /* snapshot of IRQ numbers */
>  u32 irqs_table[4];
>  u32 num_irqs;
> +bool irq_enabled;
>  struct cpts cpts;
>  };
>
> @@ -458,7 +459,10 @@ static irqreturn_t cpsw_interrupt(int irq, void
> *dev_id)
>
>  if (likely(netif_running(priv->ndev))) {
>  cpsw_intr_disable(priv);
> -cpsw_disable_irq(priv);
> +if (priv->irq_enabled == true) {
> +   cpsw_disable_irq(priv);
> +   priv->irq_enabled = false;
> +}
>  napi_schedule(&priv->napi);
>  }
>
> @@ -512,7 +516,11 @@ static int cpsw_poll(struct napi_struct *napi, int
> budget)
>  if ((num_total_rx + num_total_tx) < budget) {
>  napi_complete(napi);
>  cpsw_intr_enable(priv);
> -cpsw_enable_irq(priv);
> +if (priv->irq_enabled == false) {
> +   cpsw_enable_irq(priv);
> +   priv->irq_enabled = true;
> +}
> +
>  }
>
>  return num_total_rx + num_total_rx;
> @@ -812,7 +820,10 @@ static int cpsw_ndo_stop(struct net_device *ndev)
>  struct cpsw_priv *priv = netdev_priv(ndev);
>
>  cpsw_info(priv, ifdown, "shutting down cpsw device\n");
> -cpsw_disable_irq(priv);
> +if (priv->irq_enabled == true) {
> +   cpsw_disable_irq(priv);
> +   priv->irq_enabled = false;
> +}
>  netif_stop_queue(priv->ndev);
>  if (!priv->data.disable_napi)
>  napi_disable(&priv->napi);
> @@ -1307,6 +1318,8 @@ static int cpsw_probe(struct platform_device *pdev)
>  priv->msg_enable = netif_msg_init(debug_level, CPSW_DEBUG);
>  priv->rx_packet_max = max(rx_packet_max, 128);
>
> +priv->irq_enabled = false;
> +
>  /*
>   * This may be required here for child devices.
>   */
>
> --
> 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/groups/opt_out.



-- 
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/groups/opt_out.


Re: [beagleboard] Re: Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread Micka
Well, for the moment there is a Jitter problem with the touch screen  (
the mouse is moving on his own just after you touch the screen ) But I
heard that there is no problem with the Android Kernel 


On Fri, Jan 3, 2014 at 5:13 PM,  wrote:

>
>
> I am new to linux and am following this thread as I find it fascinating
> even though I have no way of knowing what I am reading most of the time:>)
> Give me a year or two and I will be up to speed, but in the mean time I
> have a simple question. I am wanting to use the BBB to retrofit old
> machines with new controls, Will BBB be a suitable platform for running a
> graphical interface (touch screen preferable) for this purpose or should I
> look at PLC's etc.  Thanks Dan Keith an old dog trying to learn new tricks
>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


[beagleboard] Re: Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread pewtergrips


I am new to linux and am following this thread as I find it fascinating 
even though I have no way of knowing what I am reading most of the time:>)  
Give me a year or two and I will be up to speed, but in the mean time I 
have a simple question. I am wanting to use the BBB to retrofit old 
machines with new controls, Will BBB be a suitable platform for running a 
graphical interface (touch screen preferable) for this purpose or should I 
look at PLC's etc.  Thanks Dan Keith an old dog trying to learn new tricks

-- 
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/groups/opt_out.


[beagleboard] Systemd service failure in Debian BBB with RCN kernel 3.8.13-bone34

2014-01-03 Thread David Lambert
I know that systemd is not "officially" supported yet, but I am puzzled 
by the following error:


root@argus-dev:~# systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
Active: failed (Result: exit-code) since Sat, 01 Jan 2000 01:12:01 
+; 14 years and 0 months ago
Process: 199 ExecStart=/lib/systemd/systemd-modules-load (code=exited, 
status=1/FAILURE)

CGroup: name=systemd:/system/systemd-modules-load.service

root@argus-dev:~# /lib/systemd/systemd-modules-load
could not find module by name='�'
Failed to insert 'loop': Function not implemented

HTH,

Dave.

--
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/groups/opt_out.
<>

[beagleboard] Re: BeagleSNES with non-Tomee controller?

2014-01-03 Thread Andrew Henderson
I don't have that particular controller, so I can't tell you whether it 
works or not.  As long as there isn't a specific kernel driver for that 
control (meaning it will work with the generic USB joystick driver already 
in BeagleSNES), you'll get joystick events from the gamepad.  But, that 
might not be all that useful to you if the buttons aren't properly mapped. 
 BeagleSNES v0.5 will have a better button mapping mechanism, since the 
button mapping is hard-coded in the source for the Tomee on the front-end 
GUI. Give it a try if you have the controller handy and mail me directly 
(hendersa (at) icculus.org) with the results and I'll add it into my notes.

Andrew

On Thursday, January 2, 2014 5:20:55 PM UTC-5, Aidoboy wrote:
>
> Anyone here know anything about using Gtron controllers with BeagleSNES? 
> The guide says there is only official support for Tomee, I was wondering if 
> there was any unofficial for Gtron, as I don't have the knowledge to create 
> the mapping myself.
>

-- 
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/groups/opt_out.


[beagleboard] Re: 4D Systems 4DCAPE-70T, no display

2014-01-03 Thread beaglefan
Hey Brian

You may want to power the BBB from the 5V power jack. I have similar issue 
when using BBView 7" LCD from Embest/Element 14. 
I got it powered with 5Vdc/4A adapter and everything works fine.

Regards
Halim
 

On Friday, January 3, 2014 1:19:26 AM UTC+8, Brian Yee wrote:
>
> A couple of weeks ago I installed a 4D Systems 4DCAPE-70T on my BBB board 
> and powered it up.
> I was able to connect via USB but there was no display on the LCD cape.  I 
> also tried to run it standalone 
> with a USB mouse and keyboard (no HDMI display attached) but still no 
> display.
>
> Has anyone else had luck with this, and what hardware/OS configuration did 
> you use?  Any known
> problems or hints?
>
> Thanks,
>
> Brian
>
>

-- 
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/groups/opt_out.


[beagleboard] Build a QT/11 application for beagleboard black by cross compiling from ubuntu

2014-01-03 Thread Mirko Fucci
Hi everyone,

I'm a little confused about how proceed to create QT/X11 applications for 
beaglebone black.
First of all i have succesfully developed, deployed and executed a first 
simple GUI QT/embedded application
following this tutorials 
http://www.cloud-rocket.com/2013/07/building-qt-for-beaglebone/
and now i'd like to build a similar application for X11.

Particularly, i  don't understand how to perform configure to build right 
libraries to copy to BBB.
Please help me, unfortunately i spent days in useless attemps to build 
QT/X11 for BBB that didn't work.

Thanks a lot.

-- 
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/groups/opt_out.


Re: [beagleboard] I booted Ubuntu, then keyboard and touch pad unrespoive...

2014-01-03 Thread Robert Nelson
On Thu, Jan 2, 2014 at 6:40 PM, Jo von Nuding  wrote:
> So, I installed Chrubuntu on HP chromebook 14 no problem. Then I was fixing
> the trackpad, it asked to restart. Now the keyboard and mouse won't work I
> boot sucssesfuly and since the keyboard won't let my press anything other
> than holding the power button. I'm stuck in Ubuntu which I cant then even
> boot ChromeOS, without a keyboard, any suggestions! Please help... :(

Sorry wrong mailing list... try contacting: http://chromeos-cr48.blogspot.com/

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/groups/opt_out.


[beagleboard] C/C++ Program to control onboard leds/GPIO using Visual Studio,GDB

2014-01-03 Thread Jishnu M Thampan
Is there any way to control onboard leds or access gpios using the visual 
gdb method?
also what more is to be done for the application to start automatically 
without compilation each time

-- 
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/groups/opt_out.


[beagleboard] current solution for JTAG debugging of beagleboard xm?

2014-01-03 Thread Robert P. J. Day

  a client is interested in JTAG debugging of a beagleboard xm and, if
memory serves, one approach once upon a time was described here:

  http://elinux.org/BeagleBoardJTAG

involving tin can tools' flyswatter 2 and openocd. is that still the
best approach these days if one wants to keep things inexpensive?
other options? thanks.

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


-- 
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/groups/opt_out.


[beagleboard] Beaglebone as media player

2014-01-03 Thread evan
Prefacing this with me be an absolute noob on anything Linux (but ! 
interested)...

I was able to get android installed on the [original] beaglebone attached 
to the LCD7 — This played full screen video very nicely! 

In an attempt to try using the bone in its *intended *state I reverted to 
Angstrom but cannot figure out how to simply play a video file. Having some 
difficulty finding info online, so, apologies in advance if this is readily 
available info.

I am imaging the steps are something like, install VLC on bone, play video, 
but, am not even sure how to do that.

Any help or pointing to tutorial much appreciated!

Evan

-- 
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/groups/opt_out.


[beagleboard] I booted Ubuntu, then keyboard and touch pad unrespoive...

2014-01-03 Thread Jo von Nuding
So, I installed Chrubuntu on HP chromebook 14 no problem. Then I was fixing 
the trackpad, it asked to restart. Now the keyboard and mouse won't work I 
boot sucssesfuly and since the keyboard won't let my press anything other 
than holding the power button. I'm stuck in Ubuntu which I cant then even 
boot ChromeOS, without a keyboard, any suggestions! Please help... :(

-- 
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/groups/opt_out.


[beagleboard] beagleboard-xm and sabertooth 2x10 motor controller

2014-01-03 Thread Simon Engler
Hello, 

I am trying to connect my beagleboard up to a sabertooth 2x10

http://www.dimensionengineering.com/products/sabertooth2x10

It is best for me to communicate through simplified serial if possible. 
Description below.

Could someone point me in the right direction?

Thanks.


"Simplified serial uses TTL level single-byte serial commands to set the 
motor speed and 
direction. This makes it easy to interface to microcontrollers and PCs, 
without having to 
implement a packet-based communications protocol. Simplified serial is a 
one-direction only 
interface. The transmit line from the host is connected to S1. The host’s 
receive line is not 
connected to the Sabertooth. Because of this, multiple drivers can be 
connected to the same serial 
transmitter. If using a true RS-232 device like a PC’s serial port, it is 
necessary to use a level 
converter to shift the –10V to 10V rs-232 levels to the 0v-5v TTL levels 
the Sabertooth is 
expecting. This is usually done with a Max232 type chip. If using a TTL 
serial device like a 
microcontroller, the TX line of the microcontroller may be connected 
directly to S1. 
 
Because Sabertooth controls two motors with one 8 byte character, when 
operating in Simplified 
Serial mode, each motor has 7 bits of resolution. Sending a character 
between 1 and 127 will 
control motor 1. 1 is full reverse, 64 is stop and 127 is full forward. 
Sending a character between 
128 and 255 will control motor 2. 128 is full reverse, 192 is stop and 255 
is full forward. 
 Character 0 (hex 0x00) is a special case. Sending this character will shut 
down both motors."



-- 
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/groups/opt_out.


[beagleboard] Re: BeagleBone Black: Ethernet transmits packets but does not receive them

2014-01-03 Thread Eugene
I ran into the same problems. I hacked up a patch to 3.8.8 from this patch:
http://permalink.gmane.org/gmane.linux.network/267097
and the ifdown/ifup issue went away for me.

Here is my git diff for those who want to give it a try:
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 21ba53e..67c7f74 100644
--- a/drivers/net/ethernet/ti/cpsw.c
+++ b/drivers/net/ethernet/ti/cpsw.c
@@ -342,6 +342,7 @@ struct cpsw_priv {
 /* snapshot of IRQ numbers */
 u32 irqs_table[4];
 u32 num_irqs;
+bool irq_enabled;
 struct cpts cpts;
 };
 
@@ -458,7 +459,10 @@ static irqreturn_t cpsw_interrupt(int irq, void 
*dev_id)
 
 if (likely(netif_running(priv->ndev))) {
 cpsw_intr_disable(priv);
-cpsw_disable_irq(priv);
+if (priv->irq_enabled == true) {
+   cpsw_disable_irq(priv);
+   priv->irq_enabled = false;
+}
 napi_schedule(&priv->napi);
 }
 
@@ -512,7 +516,11 @@ static int cpsw_poll(struct napi_struct *napi, int 
budget)
 if ((num_total_rx + num_total_tx) < budget) {
 napi_complete(napi);
 cpsw_intr_enable(priv);
-cpsw_enable_irq(priv);
+if (priv->irq_enabled == false) {
+   cpsw_enable_irq(priv);
+   priv->irq_enabled = true;
+}
+
 }
 
 return num_total_rx + num_total_rx;
@@ -812,7 +820,10 @@ static int cpsw_ndo_stop(struct net_device *ndev)
 struct cpsw_priv *priv = netdev_priv(ndev);
 
 cpsw_info(priv, ifdown, "shutting down cpsw device\n");
-cpsw_disable_irq(priv);
+if (priv->irq_enabled == true) {
+   cpsw_disable_irq(priv);
+   priv->irq_enabled = false;
+}
 netif_stop_queue(priv->ndev);
 if (!priv->data.disable_napi)
 napi_disable(&priv->napi);
@@ -1307,6 +1318,8 @@ static int cpsw_probe(struct platform_device *pdev)
 priv->msg_enable = netif_msg_init(debug_level, CPSW_DEBUG);
 priv->rx_packet_max = max(rx_packet_max, 128);
 
+priv->irq_enabled = false;
+
 /*
  * This may be required here for child devices.
  */

-- 
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/groups/opt_out.


[beagleboard] Queries related to life time and quality of BBB devices

2014-01-03 Thread Ashwini Dubey

Dear BBB Manufacturers,

We are evaluating few single board computers (ARM based). And we
have come across BeagleBone Black.

Request you to answer few queries related to life time and quality of BBB.

1. Is it IP 65/66 Complaint ?
2. What will happen if I run Linux + my own application (very heavy on RAM 
& CPU ) for years ?
3. If I enclose it with some metal enclosure will it last for years ?


My application will be deployed in mining camp and I want to use it as a 
control + data processor device.


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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] QT/X11 application for beaglebone black

2014-01-03 Thread mirko . fucci
Hi everyone,

i'd like to develop QT application for BBB to be run on BBB Gnome(? i mean 
for X11 environment) Desktop 
and i'd like to develop on my PC with Ubuntu and then deploy app to BBB.

I've found many posts about this task and i was able to build a simple gui 
application for BBB 
frame buffer based following this 
http://www.cloud-rocket.com/2013/07/building-qt-for-beaglebone/. 

How can i do the same for X11 ? 
How should i change qmake.conf and configure ?

I already spent a lot of time rebuilding QT and trying to deploy on my BBB, 
unfortunately
my attempts weren't been good.

Than you !!
Regards

-- 
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/groups/opt_out.


[beagleboard] Sabertooth 2x10 Motorcontroller and Beagleboard Xm

2014-01-03 Thread Simon Engler
Hello,

I am trying to run my robot platform off a beagleboard. I have a sabertooth 
controller which I assume that I can hook up through one of the pins on the 
beagleboard.

http://www.dimensionengineering.com/products/sabertooth2x10

I'm not sure where I should try to connect the wires up, and how to code so 
that the beagleboard will send signals to it.

I am using the Robot Operating System to control my robot if that help.

Can anyone point me in the right direction?

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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[beagleboard] Re: Can't get BeagleSNES to work on BBB

2014-01-03 Thread Andrew Henderson
Hey Scott.  I have been away for the holidays and won't be back to my 
office with my equipment until the start of next week.  You have everything 
set up correctly, it seems.  The games.cfg looks OK, in any case.  The 
problem is that the button numbers for the start and select are hardcoded 
in the front-end GUI.  I have a better button mapping scheme on my dev list 
for v0.5 of BeagleSNES, but I can't work on it and get another release out 
until I am able to get back to my equipment.  The short answer is that you 
will require a code change and recompile to get it working for your 
particular controller.

I have a big laundry list of things that I have been working on that I want 
to get out for v0.5, and a few of the items have been delaying me in 
getting the release out.  I may just have to bite the bullet and expedite 
the more urgent items because a large number of people have received new 
BBBs for the holidays and have been filling my inbox with all sorts of 
issues regarding gamepads and button mappings.

Good work on getting everything working as well as you have so far.  I 
should write a book on how to develop the BBB into a standalone appliance 
based on all of the feedback and reports that I have received from everyone 
over the last six months...

Andrew


On Wednesday, January 1, 2014 6:23:41 PM UTC-5, Scott Paul wrote:
>
> So close...
>
> I had an old PC sitting around collecting dust so I formatted that to 
> Ubuntu 12.04.  I re-did everything from that machine.  Before I started, 
> when I plugged in the SD card that I had setup from the Win7 machine into 
> the Ubuntu machine it seemed to mount the two partitions fine ... but it 
> also gave me a pop-up error message about not wanting to mount the drive 
> for some reason ... even though I could see both parts.  Anyways, it did 
> this each time I mounted the card.  After I reformatted the card with the 
> beaglesnes image that message has no longer come up.  I have mounted the 
> card several more times too.  
>
> At first it did not work.  Then I took it out of its Adafruit 
> caseand
>  tried.  Then it would boot up, give me music, and let me scroll through 
> the placeholder's in the default config.  I am certain I tried this before 
> but it did not matter.  I quickly realized that the molding on the cable 
> needed to be cut down.  If I had read adafruit's page closer, I might have 
> caught that note.  Not happy about that, but it worked.  I think that I had 
> both a cable problem and a Windows problem, but maybe it was only a 
> cable/case problem and I didn't do something else write the time I tried 
> that with the Win7 SD card setup.
>
> I have been at it for a while today, but the problem now is that it will 
> not select the games I've added in the menu.  I have tested the controller 
> on the Ubuntu machine and can see the start and select buttons do 
> register.  I have been doing everything in the Ubuntu machine.  The 
> pictures are showing up, the text descriptions are updated.  At first I had 
> 5 games listed so I tried adding 5 more.  Each time the menu list updated 
> as expected, but pressing start or select doesn't do anything.  The roms 
> are all in the rootfs/home/ubuntu/beaglesnes/rom folder.  They are all 
> .smc.  I even removed spaces and tried shortening the .smc file names.
>
> I'm only using one controller.  I can't really think of much else to try 
> right now.  Again, I welcome any support.  I attached my games.cfg file if 
> that helps
>

-- 
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/groups/opt_out.


Re: [beagleboard] How to get PSU running with BeageBoard Black?

2014-01-03 Thread Robert Nelson
On Fri, Jan 3, 2014 at 4:26 AM, Slava Mikerin  wrote:
> Hello all,
>
> I am new to Beaglebone. Trying to get a Bitcoin mining rig working with a
> Beaglebone Black based controller.
>
> BeagleBone is connected to USB hub and on to miners using usb port. Miners
> are connected to a PSU and currently I do not know how to get PSU to start
> up and power up miners, unless that PSU is connected to another running
> computer. Essentially I need to get a free standing PSU to start up and
> power miners when BeagleBone starts.
>
> Can some one help me with this newbie issue?

Short green & black...

picture here:
http://microautomate.com/tools/atx-power-supply/

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/groups/opt_out.


Re: [beagleboard] Re: Java on BBB

2014-01-03 Thread Mike Bremford
I assume you mean the one at http://lhuet.github.io/blog/? Interesting, I
would have expected more difference between soft/hard float on the BBB.
Your Raspberry Pi results comparison doesn't surprise me at all however!
What a difference Arm7 makes...

On 3 January 2014 10:55, Laurent H.  wrote:

> Hi,
>
> Personnaly, I prefer use the latest "official" version from Oracle (JDK
> 1.7)  : http://www.oracle.com/technetwork/java/javase/downloads/index.html
> If you are on the Angström distrib, you have to choose the "Linux ARM
> v6/v7 Soft Float ABI" version.
> There is also a hard float version of the JDK8 (preview). It is available
> here : https://jdk8.java.net/download.html
> Be aware that you need to use an OS compatible with the hard float version
> (Debian or Ubuntu for instance).
>
> A few days ago, I wrote a post (in french) on my blog on performance
> comparison between JDK7 and JDK8 on BBB and RaspberryPi.
>
> Regards,
>
> Laurent
>
> Le vendredi 27 décembre 2013 07:28:32 UTC+1, Conrad King a écrit :
>
>> Hi all,
>>
>> I think I just made a mistake regarding Java on the BBB. I just installed
>> it using "sudo apt-get install default-jdk" but I think I may have
>> installed the wrong version? Is this correct? I just read "soft-float'
>> version if using the distro that shipped with your board (Angstrom)."
>>
>> But I am slightly confused as I am using Debian. Will I be able to using
>> this version?
>>
>> Also, if I cant, how would I install it? I am using Putty and am unsure
>> of how to get it on there as it doesn't seem to be found.
>>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Toolchain (32-bit) and Qt 5.2.x

2014-01-03 Thread Anguel


On Thursday, December 26, 2013 8:52:38 PM UTC+1, John Syne wrote:
>
>
> Graphics SDK: Graphics_SDK_5_00_00_01_hardfp
>
> Update Make.rules
> Desktop #>make BUILD=release OMAPES=8.x PM_RUNTIME=1 all
> Desktop #>sudo make BUILD=release OMAPES=8.x PM_RUNTIME=1 install
>
> This is no longer necessary. Run Robert Nelson’s SGX build script.
>

Sounds very interesting, but where is this SGX build script located?

Anguel

-- 
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/groups/opt_out.


[beagleboard] Re: Java on BBB

2014-01-03 Thread Laurent H.
Hi,

Personnaly, I prefer use the latest "official" version from Oracle (JDK 
1.7)  : http://www.oracle.com/technetwork/java/javase/downloads/index.html
If you are on the Angström distrib, you have to choose the "Linux ARM v6/v7 
Soft Float ABI" version.
There is also a hard float version of the JDK8 (preview). It is available 
here : https://jdk8.java.net/download.html
Be aware that you need to use an OS compatible with the hard float version 
(Debian or Ubuntu for instance).

A few days ago, I wrote a post (in french) on my blog on performance 
comparison between JDK7 and JDK8 on BBB and RaspberryPi.

Regards,

Laurent

Le vendredi 27 décembre 2013 07:28:32 UTC+1, Conrad King a écrit :
>
> Hi all,
>
> I think I just made a mistake regarding Java on the BBB. I just installed 
> it using "sudo apt-get install default-jdk" but I think I may have 
> installed the wrong version? Is this correct? I just read "soft-float' 
> version if using the distro that shipped with your board (Angstrom)." 
>
> But I am slightly confused as I am using Debian. Will I be able to using 
> this version?
>
> Also, if I cant, how would I install it? I am using Putty and am unsure of 
> how to get it on there as it doesn't seem to be found.
>

-- 
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/groups/opt_out.


[beagleboard] How to get PSU running with BeageBoard Black?

2014-01-03 Thread Slava Mikerin
Hello all,

I am new to Beaglebone. Trying to get a Bitcoin mining rig working with a 
Beaglebone Black based controller. 

BeagleBone is connected to USB hub and on to miners using usb port. Miners 
are connected to a PSU and currently I do not know how to get PSU to start 
up and power up miners, unless that PSU is connected to another running 
computer. Essentially I need to get a free standing PSU to start up and 
power miners when BeagleBone starts.

Can some one help me with this newbie issue?

-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread Anguel


On Friday, January 3, 2014 1:20:58 AM UTC+1, John Syne wrote:
>
>
>
> Have you looked a qtwayland? I haven’t got it to work, but it does look 
> interesting.
>

Yes, it seems to be a new lightweight X-Window replacement using QPA in Qt 
5. Similar to the good old Qt 4 internal lightweight QWS.
I see Debian has some Wayland packages by default but these probably don't 
work with the setup you have done?
Sorry for my ignorance, but are you actually installing the TI Graphics SDK 
on top of Robert's Debian? I mean this:
RootFS: omap-image-builder
debian-7.2-machinekit-armhf

Anguel

-- 
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/groups/opt_out.


Re: [beagleboard] Angstrom Abandoned for BBB? Rumor + a Rant

2014-01-03 Thread Anguel


On Friday, January 3, 2014 12:10:35 AM UTC+1, David wrote:
>
> On 01/02/2014 05:00 PM, Robert Nelson wrote: 
> > The full qt4 is available thou. :) 
> As a recent convert to Debian on the BBB. I am pleased to find the 
> "full" versions of applications. With specifically embedded 
> distributions I found it irksome to have cut-down busybox versions of 
> programs such as "less". The BBB has plenty of memory and CPU cycles to 
> handle the full versions. Progress is great, but sometimes confusing ;-) . 
>

I totally agree, but the advantage of the Qt Embedded is that you don't 
need the heavy X Window system:
http://qt-project.org/doc/qt-4.8/qt-embedded-linux.html

Anguel

-- 
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/groups/opt_out.