[beagleboard] Re: Implementation Board?

2014-04-16 Thread Tom Davies


On Tuesday, 15 April 2014 12:28:54 UTC+10, BBQTrader wrote:

 Gerald,

 I'm working on a Home Automation/Security System project, and am 
 developing it for the BBB.  I expect it to sit in a box for a long time, 
 connected to the network, and connected to various sensors.

 I would like to have a board that had physical terminals on it rather than 
 the headers, since this would work better for long term projects such as a 
 networked home security system.


That sounds like a job a simple cape would do well -- the cape could have a 
larger size than the BBB board if you wanted to break out every signal.

I'm sure there are eagle files available for the standard cape footprint -- 
you could very easily lay this out yourself hand have (e.g.) seeedstudio's 
PCB service fabricate it.

The only minor disadvantages would be increased height (but put the screw 
terminals on the bottom of the cape if that's important), and an extra 
mechanical connection, which theoretically could affect reliability.

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


Re: [beagleboard] Re: Unable to SSH to Beagle Bone Black

2014-04-16 Thread jhenriq560123
Thanks a lot, guys! You saved my life!!!
José Henrique

Em segunda-feira, 10 de março de 2014 05h29min51s UTC-3, dbr...@ideo.com 
escreveu:

 I also had a lot of trouble with this and I found Aaron Felts post down 
 below very useful. I found that my BBB was at 100% disk usage and I 
 couldn't SSH in.  I was able to use the Cloud9 IDE to get in at port 3000 
 and use this javascript file to delete the log files and restart dropbear. 
  After that I was able to SSH in and I then changed the journaling settings 
 to make sure this didn't happen again.

 --Warning, this will delete your journal logs--


 var exec = require('child_process').exec;
 function puts(error, stdout, stderr) { console.log(error); 
 console.log(stdout); console.log(stderr); }

 // 1 - Clear journal space
 exec(df -h; rm -rf /var/log/journal/; df -h, puts);

 // 2 - Remove Dropbear file
 exec(rm /etc/dropbear/dropbear_rsa_host_key, puts);

 // 3 - Stop Dropbear
 exec(/etc/init.d/dropbear stop, puts);

 // 4 - Start Dropbear
 exec(/etc/init.d/dropbear start, puts);


 Then check out this post to set journaling settings to limit disk space 
 usage:

 https://groups.google.com/forum/#!searchin/beagleboard/journal%7Csort:date/beagleboard/1NguS-SK-G8/EdbLDWfl4IUJ

 Hope that helps!

 On Saturday, May 11, 2013 12:25:12 PM UTC-7, Martin Schweizer wrote:

 inspired by this post a have a simple solution for those who have the 
 problem and can't connect via serial console

 open the cloud9 and create a new file with the following script and start 
 it, or place the script in any textbox where you can interact with your 
 beaglebone and press run

 /* 
 https://groups.google.com/forum/?fromgroups=#!msg/beagleboard/Ya2qE4repSY/u4lvOjF66JEJ*/

 var fs = require('fs');
 var destroyed_key_file = '/etc/dropbear/dropbear_rsa_host_key';

 fs.readFile(destroyed_key_file, function (err, data) {
   if (err) throw err;
   
   if( data===null || data.length===0 )
   {
 console.log(we have a corrupted host key file... try do delete it);
 fs.unlink(destroyed_key_file, function (err) {
 if (err) throw err;
 console.log('successfully deleted ' + destroyed_key_file);
 console.log('you should now reboot your beaglebone.');
 console.log('the /etc/init.d/dropbear script will create a new 
 rsa host key file for you.');
 console.log('after the reboot you should be able to login over 
 ssh');
 });
   } else {
   console.log(it seems that you have another problem, sorry);
   }
 });



 Am Samstag, 4. Mai 2013 05:27:26 UTC+2 schrieb Glen H:

 Hi,

 (Skip down to (5) to see the solution to *ssh_exchange_identification: 
 Connection closed by remote host*.)

 I updated to the 2013-05-02 image and I can't log in via ssh anymore. 

 At first I got the error:

 penSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: /etc/ssh/ssh_config line 19: Applying options for *
 debug1: Connecting to beaglebone [192.168.1.50] port 22.
 debug1: Connection established.
 debug1: identity file /home/user/.ssh/id_rsa type -1
 debug1: identity file /home/user/.ssh/id_rsa-cert type -1
 debug1: identity file /home/user/.ssh/id_dsa type -1
 debug1: identity file /home/user/.ssh/id_dsa-cert type -1
 debug1: identity file /home/user/.ssh/id_ecdsa type -1
 debug1: identity file /home/user/.ssh/id_ecdsa-cert type -1
 *ssh_exchange_identification: Connection closed by remote host*

 I don't have any identity files on the client.  

 1) I tried ssh'ing into another machine and it works fine.

 2) I then updated ssh with 'opkg update  opkg upgrade' to a slightly 
 newer version (I forget the detailed version number, the last digit was 
 incremented...it reports Dropbear sshd v2012.55 on the command line).

 3) I tried moving away my .ssh/know_hosts file on the client but I got 
 the same error.

 4) I noticed when I '/etc/init.d/dropbear restart' that it seemed like it 
 never started because it couldn't be found when stopping.

 *5) From looking at the script above (/etc/init.d/dropbear) it seems like 
 the identity file in /etc/dropbear/dropbear_rsa_host_key might be causing 
 the problem and the script recreates them if they don't exist.  So I 
 removed it and started dropbear (/etc/init.d/dropbear start) again and it 
 generated new keys and then I could ssh in.  It now works!  (The side 
 effect of doing this is you also have to remove a line in the client's 
 ~/.shh/know_hosts because the identity of the beaglebone has changed.)*

 Glen

 On Friday, May 3, 2013 7:55:16 PM UTC-4, Gerald wrote:

 Correct. So, we will be moving to this as the production image (stock 
 image) and as soon as Jason updates the webpage, everyone will have a place 
 to find it.

 Gerald



 On Fri, May 3, 2013 at 6:52 PM, evilwulfie evilw...@gmail.com wrote:

  after a flash to the newest version ssh works fine

 so it seems to be something in the stock image that causes some boards to 
 fail SSH

 

[beagleboard] Re: save some cpus/mem/flash

2014-04-16 Thread jhenriq560123
Thanks a lot, guys! You saved my life!!!
José Henrique

Em quinta-feira, 1 de agosto de 2013 15h53min09s UTC-3, Andy Nexus escreveu:

 Hi,

 I just got my BBB and I feel the same as many other users, Great 
 Hardware...and here is my 2 cents for software, especially for the pre-load 
 Angstrom linux (in my case: Linux beaglebone 3.8.13 #1 SMP Mon May 20 
 17:07:58 CEST 2013 armv7l GNU/Linux)

 *Limit the systemd-journal*

 I am interested in the system performance when I try new systems, I just 
 use 'top' to see which process that eats up CPU and surprisingly, it was 
 this new guy: systemd-journal. When I first booted up the board, it has 
 500M left and after few minutes or so, it was 300M. 
 After some search I found the problem:

 edit the /etc/systemd/journald.conf and change the following settings:
 SystemMaxUse=16M
 MaxLevelStore=info
 MaxLevelSyslog=info

 please reboot to let it take effect.

 I think the above settings are especially helpful for the user who is 
 tethering with their PC (just like I did) when they first tried it. 

 I can't complain more as I am also a embedded developer but I would think 
 that it is unprofessional to let the kernel debugging message flooding the 
 system, especially for a small embedded system like BBB.

 P.S. I am the old guy who is familiar with syslog but not new Hi-tech, it 
 seems that systemd is taking control now, the following are useful commands 
 if you want to check the system log, comparing to the older way..

 OLD: tail -1000 /var/log/message
 NEW: journalctl -n100

 OLD: dmesg
 NEW: journalctl -mb

 OLD: more /var/log/message
 NEW: journalctl

 Regards,

 Andy


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


[beagleboard] Strange wifi issue with BBB

2014-04-16 Thread arunbarnabasjohn
Hi,

I have managed to setup wifi on the BBB (running on default Angstrom) using 
an Edimax wifi module (as described in derek malloy's vide tutorial).

The BBB connects to the personal hotspot from my samsung phone without any 
problems, but I am unable to get the BBB to connect to my home wifi router 
(Netgear).

The wifi setup is almost similar for these two systems. I have tried 
changing the channels but it did not help.

Has anyone faced this problem ???

Apart from this issue the wifi connection is quite reliable when the BBB 
does connect.

thanks
a

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


[beagleboard] Re: save some cpus/mem/flash

2014-04-16 Thread jhenriq560123
Thanks a lot, guys! You saved my life!!!
José Henrique

Em quinta-feira, 1 de agosto de 2013 15h53min09s UTC-3, Andy Nexus escreveu:

 Hi,

 I just got my BBB and I feel the same as many other users, Great 
 Hardware...and here is my 2 cents for software, especially for the pre-load 
 Angstrom linux (in my case: Linux beaglebone 3.8.13 #1 SMP Mon May 20 
 17:07:58 CEST 2013 armv7l GNU/Linux)

 *Limit the systemd-journal*

 I am interested in the system performance when I try new systems, I just 
 use 'top' to see which process that eats up CPU and surprisingly, it was 
 this new guy: systemd-journal. When I first booted up the board, it has 
 500M left and after few minutes or so, it was 300M. 
 After some search I found the problem:

 edit the /etc/systemd/journald.conf and change the following settings:
 SystemMaxUse=16M
 MaxLevelStore=info
 MaxLevelSyslog=info

 please reboot to let it take effect.

 I think the above settings are especially helpful for the user who is 
 tethering with their PC (just like I did) when they first tried it. 

 I can't complain more as I am also a embedded developer but I would think 
 that it is unprofessional to let the kernel debugging message flooding the 
 system, especially for a small embedded system like BBB.

 P.S. I am the old guy who is familiar with syslog but not new Hi-tech, it 
 seems that systemd is taking control now, the following are useful commands 
 if you want to check the system log, comparing to the older way..

 OLD: tail -1000 /var/log/message
 NEW: journalctl -n100

 OLD: dmesg
 NEW: journalctl -mb

 OLD: more /var/log/message
 NEW: journalctl

 Regards,

 Andy


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


[beagleboard] Re: zram kernel module?

2014-04-16 Thread fuzzgun
On Wednesday, 4 December 2013 02:11:48 UTC, Sebastian H wrote:

 Hi,

 I've read about the possibility of compressing parts of the ram via zram 
 to fit more into the ram before swapping to disk is needed.
 I'm running Debian 7.2 with the 3.8.13-bone26 kernel and it looks like the 
 zram module isn't included in that kernel. 

 Are there plans to include that module or is it perhaps already included 
 in a newer kernel update? 

 Or would it be possible for me to somehow relatively easy (I'm a newbie) 
 recompile the kernel to support the module?

 Or was the module not included as it doesn't really make sense with the 
 BBB cpu?



zram is included in kernel 3.14 and so may be worth testing.  See the 
bone builds here https://rcn-ee.net/deb/wheezy-armhf/ 

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


Re: [beagleboard] Beaglebone Black FTDI installation

2014-04-16 Thread Gerald Coley
BeagleBone Black does not use the FTDI device. That is only on the
BeagleBone.

Gerald



On Wed, Apr 16, 2014 at 6:26 AM, robregadomar...@gmail.com wrote:

 Hi,
I just got a BBB and trying to setup the drivers from this website.
 http://beagleboard.org/Getting%20Started. I have downloaded the BONE_D64
 and installed drivers successfully. After that this is my device manager
 below. I tried to install the FTDI drivers, but when I try to I get USB
 Serial Converter B Access is Denied Error. I am just new with BBB. Any
 help would be great. - Markel


 https://lh5.googleusercontent.com/-Lx0RxV901pE/U05oTf5NapI/AD0/5vzt0sB_O08/s1600/dev.jpg

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


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


Re: [beagleboard] Re: Here is the BeagleBone Debian (rc) image you want to test (2014-04-14)

2014-04-16 Thread Robert Nelson
On Tue, Apr 15, 2014 at 6:41 PM,  l...@ansync.com wrote:
 Just curious, why wicd, which is a dead project?  Something Connman can't
 do?

See:
http://bugs.elinux.org/issues/35

and:
https://groups.google.com/d/msg/beagleboard/rCxxyhU3XEs/kjXwUMwTfFEJ

quote
Questions? Should we switch to connman? (i'm still testing this too..)

To test:
apt-get remove wicd-* --purge
apt-get install connman
(no good gui with connman)
/quote

Regards,

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

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


Re: [beagleboard] BeagleBone Black RevB with Debian 2014-04-14 SD image -- networking issues

2014-04-16 Thread Robert Nelson
On Tue, Apr 15, 2014 at 9:10 PM, treedeegraphics
treedeegraph...@yahoo.com wrote:
 Hi

 I am wondering if anyone has experienced similar issues 

 I have a Beaglebone Black Rev B.

 I have flashed the Debian  2014-04-14  image that is posted onto an SD card
 and I boot it up ok,
 but I have been having difficulties trying to get various networking to
 work.

 1.  Using the on board ethernet does not work.  It pretends to configure ok
 but it does not send packets out.
 Using dmesg I see the following issues after issuing an ifup eth0:
 [  325.013469] net eth0: initializing cpsw version 1.12 (0)
 [  325.016077] libphy: PHY 4a101000.mdio:00 not found
 [  325.021246] net eth0: phy 4a101000.mdio:00 not found on slave 0
 [  325.027593] libphy: PHY 4a101000.mdio:01 not found
 [  325.032737] net eth0: phy 4a101000.mdio:01 not found on slave 1
 [  325.046467] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

 This looks like the onboard ethernet PHY is not properly supported in this
 image ??

http://bugs.elinux.org/issues/67

It's an odd situation, seems to only occur on some boards when the
microSD's is being used.  As the phy is coming up on the wrong
address, however the driver is hardcoded to one address so it never
connects up properly.

You can confirm this situation by using the 'flasher', and only boot
with the eMMC, I don't have a working software fix yet.

 2.  If I try using my EDIMAX (rtl8192cu)  usb WIFI dongle it sort of works
 but seems very unstable.
 I also tried using a 2A power supply but it seemed worse than powering it
 from the computer USB.

I have a shoe box full of rtl8192's.. They are crap..

 How stable is this Debian  2014-04-14   image and what should be my
 expectations at this point for various devices working ?

 Which Ethernet or Wifi works in a stable manner under Debian  2014-04-14  ?

Regards,

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

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


Re: [beagleboard] High(er) level language for PRU programming available.

2014-04-16 Thread Jason Kridner
On Tue, Apr 15, 2014 at 6:38 PM, John Silvia jcsil...@gmail.com wrote:

 Forth comes in lots of different flavors:  The tiniest one I ever used
 (for a 6502-based industrial air pollution monitoring device) was
 cross-compiled on a minicomputer to generate 8-bit tokens for the program
 ROM.  So each “call” of a Forth function just took a single byte!

 The ARM/PRU combination is a perfect fit for a cross-compiled Forth.  All
 of the compilation functions (“immediate words” in Forth) run on the ARM but
 lay down code in PRU-space.  PRU-resident native code or lists of Forth
 function calls would just be the PRU application itself, plus the tiny bit
 of code needed to implement the Forth interpreter.  Should be interesting to
 see what John has implemented.


 Your description is very close to the way it works.   In this case it has
 16-bit addresses so instructions cost 2 bytes.  The compiler doesn't run
 on the ARM however.  I considered that but it was far easier to implement it
 on the host computer.  Among the reasons is that I would have had to
 implement a PRU assembler in Forth.  Not too terribly difficult but still
 more work, and it would take up ARM program space.  Against that I didn't
 see any advantage to having a full forth interpreter on the ARM.  Most times
 a headerless forth is just fine on an embedded processor and that is the way
 I saw this project.  (Sorry for the Forth jargon.)

Didn't Robert put your Forth compiler into the latest release to run
on the ARM anyway? The assembler was already there on the ARM. It
would be great if you could check it.
http://beagleboard.org/latest-images


 Before I started this I saw mentions of a C compiler but all the links
 appeared to be dead.  I guess I should have asked here!

Can you tell me where you found broken links mentioning the upcoming C
compiler? BTW, I've been given internally a release date that is
within a week, so hopefully no more private beta.






 From: l...@ansync.com
 Sent: Monday, April 14, 2014 5:17 PM
 To: beagl...@googlegroups.com
 Subject: Re: [beagleboard] High(er) level language for PRU programming
 available.

 Forth is awesome. Last time I had a paying gig in Forth was about 1985, I
 think. It was to control a big lighted display board (and garage heater!).
 So it was basically a 160 x 32 monochrome graphics editor with fonts and
 wipe effects, done on an Apple II (8-bit 6502 processor, 1 MHz, 32k of RAM).
 No other language squeezes into tight spots like that.


 On Monday, April 14, 2014 3:15:37 PM UTC-7, William Hermans wrote:

 Nice job John, although I have to admit I have never heard of Forth( and
 have been programming since the early 90's ). Nice to learn something new,
 and I will have to give the Language a look-see to see if I like it.

 Jason, if you're paying attention I would also like a copy of the C
 compiler. I am based in the US, and do have an account on TI.com.


 On Mon, Apr 14, 2014 at 2:23 PM, Sungjin Chun chu...@gmail.com wrote:

 I also am interested in C compiler for PRU.
 Can you let me know how to contact Jason Kridner?

 Sent from my iPhone

  On Apr 15, 2014, at 5:39 AM, Charles Steinkuehler
  cha...@steinkuehler.net wrote:
 
  On 4/14/2014 3:34 PM, John Silvia wrote:
 
  I've implemented a forth language for the PRU to facilitate one of my
  own
  projects.  It is available for others to use on github in hopes that
  someone may find it useful.
 
  https://github.com/biocode3D/prufh
 
  You are my hero!  I love Forth and figured the PRU would be perfect
  for
  a small Forth environment!  :)
 
  Yes, of course, a C compiler would be useful to more people; but I'm
  not
  capable of writing a C compiler in ~500 lines of perl ;-)
 
  ...and there's already a C compiler available.  You just have to
  e-mail
  Jason Kridner and ask to get the beta copy since it hasn't been
  officially released for some reason.
 
  --
  Charles Steinkuehler
  cha...@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...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

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



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

 --
 For 

[beagleboard] Resistance to vibrations, shocks, humidity and dirt

2014-04-16 Thread christiangundlach93
Hi guys,

I want to put a BeagleBoard into an R/C-Car and control the steering servo. 
It's obvious that there are vibrations or even some dirt and humidity 
underneath the body of the car.
Could the Board withstand these influences? Or does it need an extra case?
The existing topic about durability only gives answers like it's not less 
durable than all the other boards on the market. 
So I would be happy to receive some specific experiences 


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


Re: [beagleboard] Resistance to vibrations, shocks, humidity and dirt

2014-04-16 Thread Gerald Coley
There are several BeagleBoards out there. Is this the BeagleBone Black?
Vibration should not be an issue. Running it through a puddle of water?
That would be an issue  I would at least attempt to keep if from getting
exposed to dirt as that can have conductive and corrosive material in it.
Maybe a piece of plexiglass under the board.
Gerald



On Wed, Apr 16, 2014 at 8:29 AM, christiangundlac...@web.de wrote:

 Hi guys,

 I want to put a BeagleBoard into an R/C-Car and control the steering
 servo. It's obvious that there are vibrations or even some dirt and
 humidity underneath the body of the car.
 Could the Board withstand these influences? Or does it need an extra case?
 The existing topic about durability only gives answers like it's not less
 durable than all the other boards on the market.
 So I would be happy to receive some specific experiences


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


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


[beagleboard] Lost busybox commands after QT installation

2014-04-16 Thread João Paulo

After installing the QT 
(http://www.cloud-rocket.com/2013/07/building-qt-for-beaglebone/), I can't 
access the regular shell (busybox commands) anymore.

root@beaglebone:# ls
ls: command not found

I only have few commands available:

root@beaglebone:~# help
GNU bash, version 4.2.10(1)-release (arm-angstrom-linux-gnueabi)
These shell commands are defined internally.  Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.

Any idea what happened?

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/d/optout.


Re: [beagleboard] Lost busybox commands after QT installation

2014-04-16 Thread Robert Nelson
On Wed, Apr 16, 2014 at 8:50 AM, João Paulo joao.bodan...@gmail.com wrote:

 After installing the QT
 (http://www.cloud-rocket.com/2013/07/building-qt-for-beaglebone/), I can't
 access the regular shell (busybox commands) anymore.

 root@beaglebone:# ls
 ls: command not found

 I only have few commands available:

 root@beaglebone:~# help
 GNU bash, version 4.2.10(1)-release (arm-angstrom-linux-gnueabi)
 These shell commands are defined internally.  Type `help' to see this list.
 Type `help name' to find out more about the function `name'.
 Use `info bash' to find out more about the shell in general.
 Use `man -k' or `info' to find out more about commands not in this list.

 Any idea what happened?

Probably killed the PATH variable, by copying exactly what they said here:

PATH=...:/opt/qt/lib

Regards,

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

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


Re: [beagleboard] Re: Implementation Board?

2014-04-16 Thread BBQTrader .
Tom,

I appreciate your thoughts on this, but the header connection, which is
required for a cape, in my opinion, is a poor long-term connection
(stressing long-term here).  I'm saying this with years of experience as an
electronic technician.  Thus the desire for a card that goes directly to
terminals rather than the intermediate step of the cape.

Thanks for your thoughts!

BBQ


On Wed, Apr 16, 2014 at 6:36 AM, Tom Davies tgdav...@gmail.com wrote:



 On Tuesday, 15 April 2014 12:28:54 UTC+10, BBQTrader wrote:

 Gerald,

 I'm working on a Home Automation/Security System project, and am
 developing it for the BBB.  I expect it to sit in a box for a long time,
 connected to the network, and connected to various sensors.

 I would like to have a board that had physical terminals on it rather
 than the headers, since this would work better for long term projects such
 as a networked home security system.


 That sounds like a job a simple cape would do well -- the cape could have
 a larger size than the BBB board if you wanted to break out every signal.

 I'm sure there are eagle files available for the standard cape footprint
 -- you could very easily lay this out yourself hand have (e.g.)
 seeedstudio's PCB service fabricate it.

 The only minor disadvantages would be increased height (but put the screw
 terminals on the bottom of the cape if that's important), and an extra
 mechanical connection, which theoretically could affect reliability.

 --
 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/CZkJyj29Gv8/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


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


[beagleboard] Boot time Debian vs angstrom

2014-04-16 Thread Ruben Kertesz
I am curious to know if the new Debian builds will boot faster than angstrom 
(or Ubuntu for that matter). I would like to be fully booted as fast as 
possible, trigger a camera shutter (using PTP) and turn off. I know that I can 
probably remove some services but am just curious as to the 'vanilla' 
performance. 

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


Re: [beagleboard] Boot time Debian vs angstrom

2014-04-16 Thread Robert Nelson
On Wed, Apr 16, 2014 at 9:07 AM, Ruben Kertesz rub...@gmail.com wrote:
 I am curious to know if the new Debian builds will boot faster than angstrom 
 (or Ubuntu for that matter). I would like to be fully booted as fast as 
 possible, trigger a camera shutter (using PTP) and turn off. I know that I 
 can probably remove some services but am just curious as to the 'vanilla' 
 performance.

It's averaging around 15 seconds out of the box..

Startup finished in 3002ms (kernel) + 14477ms (userspace) = 17479ms
root@beaglebone:~# systemd-analyze blame
  8637ms wicd.service
  3497ms apache2.service
  3240ms bootlogs.service
  3222ms console-kit-daemon.service
  2956ms loadcpufreq.service
  2713ms xrdp.service
  2575ms ssh.service
  2522ms cron.service
  1602ms upower.service
  1601ms avahi-daemon.service
  1578ms wpa_supplicant.service
  1530ms systemd-logind.service
  1480ms console-setup.service
  1475ms networking.service
  1310ms lightdm.service
  1304ms boot_scripts.service
  1200ms capemgr.service
  1017ms polkitd.service
   974ms rc.local.service
   911ms keyboard-setup.service
   891ms udev-trigger.service
   757ms motd.service
   734ms udhcpd.service
   612ms cpufrequtils.service
   577ms udev.service
   484ms kbd.service
   459ms alsa-utils.service
   421ms hostapd.service
   385ms console-kit-log-system-start.service
   380ms systemd-user-sessions.service
   370ms systemd-modules-load.service
   358ms saned.service
   355ms screen-cleanup.service
   249ms hdparm.service
   235ms systemd-tmpfiles-setup.service
   218ms run-user.mount
   217ms sys-kernel-security.mount
   204ms sys-kernel-debug.mount
   195ms pppd-dns.service
   190ms run-lock.mount
   170ms dev-mqueue.mount
   152ms systemd-sysctl.service
   120ms systemd-remount-api-vfs.service
98ms boot-uboot.mount
61ms udisks.service
54ms sys-fs-fuse-connections.mount
36ms remount-rootfs.service

and there are a few services you could remove..

Regards,

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

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


[beagleboard] Re: beaglebone, PREEMPT-RT and low latency ADC/DAC

2014-04-16 Thread danilomorettocolangelo
Hi all people here.

I must to say im newbie in BB and RT data.

So, im going to ask simple:
I need to acquire in ADC of the BB in RT over 44khz, only read, i dont need 
to process it in RT
is it possible to use the ADC of the BB to do it and DMA..?

If it possible, can you show me some sample code to start with, or where to 
look at? (some link)..

Really thanks

El lunes, 10 de septiembre de 2012 07:29:55 UTC-4:30, Evan Thomas escribió:


 Hello,

 embedded/real time/hardware newbie here. I have an requirement to read an 
 ADC, perform some simple FP calculations and write to DAC. It needs to be 
 at least 20KHz but importantly the latency on the DAC/ADC needs to less 
 than 10us. Low jitter is also important. Is the beaglebone up to it? I see 
 this asked many times but not answered so I am not really expecting an 
 answer now :)

 I have two specific questions

 1) This might be naive but I thought I would try the PREEMPT_RT patch. In 
 particular, I wanted to combine it with Robert Nelson's patches and build 
 process. After many hours of random git commands, patch and modifying 
 scripts I came to the conclusion that the current PREEMPT_RT patch is for 
 3.4 whereas Robert's patches are for 3.6. Firstly, does it even make sense 
 to try PREEMPT_RT on BB? If so, what is the best way to proceed? Use 3.4 
 versions of Robert's patches and risk bugs and missing features? Wait 
 for PREEMPT_RT patch against 3.6?

 2) What is the best way to do low latency (10us) 14bit ADC and DAC on the 
 BB? I assume it would have to be over the SPI bus, but beyond that I'm 
 clueless. If someone can point me in the right direction I would really 
 appreciate it.

 Thanks,
 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/d/optout.


Re: [beagleboard] Re: Implementation Board?

2014-04-16 Thread Gerald Coley
Capes are a key feature that we offer on this board. Much like what you see
in PCs with the concept of plug in boards. If you have ever tried to remove
a cape, you will know that these connections are indeed solid and reliable.
I do not see an upside to removing that feature at this time.

If you desire something different. I have donated hundreds of hours of
engineering time to the community in the form of all the documentation and
source files for this board. Feel free to modify it to
your requirements and build the board you desire.

Gerald



On Wed, Apr 16, 2014 at 8:58 AM, BBQTrader . bbqbai...@gmail.com wrote:

 Tom,

 I appreciate your thoughts on this, but the header connection, which is
 required for a cape, in my opinion, is a poor long-term connection
 (stressing long-term here).  I'm saying this with years of experience as an
 electronic technician.  Thus the desire for a card that goes directly to
 terminals rather than the intermediate step of the cape.

 Thanks for your thoughts!

 BBQ


 On Wed, Apr 16, 2014 at 6:36 AM, Tom Davies tgdav...@gmail.com wrote:



 On Tuesday, 15 April 2014 12:28:54 UTC+10, BBQTrader wrote:

 Gerald,

 I'm working on a Home Automation/Security System project, and am
 developing it for the BBB.  I expect it to sit in a box for a long time,
 connected to the network, and connected to various sensors.

 I would like to have a board that had physical terminals on it rather
 than the headers, since this would work better for long term projects such
 as a networked home security system.


 That sounds like a job a simple cape would do well -- the cape could have
 a larger size than the BBB board if you wanted to break out every signal.

 I'm sure there are eagle files available for the standard cape footprint
 -- you could very easily lay this out yourself hand have (e.g.)
 seeedstudio's PCB service fabricate it.

 The only minor disadvantages would be increased height (but put the screw
 terminals on the bottom of the cape if that's important), and an extra
 mechanical connection, which theoretically could affect reliability.

 --
 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/CZkJyj29Gv8/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


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


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


[beagleboard] Re: 'javax.sound.sampled.LineUnavailableException: null' ERROR trying to play audio. (Only on Ubuntu)

2014-04-16 Thread Drew Gonsalves
Have you been able to solve this problem? I am in the same situation. Thank 
you. This is what I am seeing:
Exception in thread main java.lang.IllegalArgumentException: No line 
matching interface Clip supporting format PCM_SIGNED unknown sample rate, 
16 bit, stereo, 4 bytes/frame, big-endian is supported. at 
javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:476) at 
javax.sound.sampled.AudioSystem.getClip(AudioSystem.java:520) at 
org.mdpnp.helloice.Audio.play(Audio.java:46) at 
org.mdpnp.helloice.HelloICE_Numeric.main(HelloICE_Numeric.java:208)

I am not sure if it has to do with Clip, AudioSystem, Mixer... Do we need 
to setup anything special due to JAVA being run on BBB? Do we need to 
modify */java/ejre1.7.0_45/lib/sound.properties file? If I do 'arecord -l' 
at command line I see my USB audio dongle:

Exception in thread main java.lang.IllegalArgumentException: No line 
matching interface Clip supporting format PCM_SIGNED unknown sample rate, 
16 bit, stereo, 4 bytes/frame, big-endian is supported. at 
javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:476) at 
javax.sound.sampled.AudioSystem.getClip(AudioSystem.java:520) at 
org.mdpnp.helloice.Audio.play(Audio.java:46) at 
org.mdpnp.helloice.HelloICE_Numeric.main(HelloICE_Numeric.java:208)

Thank you.
 
On Wednesday, February 12, 2014 4:29:07 PM UTC-5, caleb frost wrote:

 ugh sorry. its also a beaglebone. not beaglebone black

 On Wednesday, February 12, 2014 3:46:22 PM UTC-5, caleb frost wrote:

 Hello! I have a problem thats been stumping me for a while. I'm quite new 
 at developing Java and I may be in over my head with this one. Please 
 forgive me if I haven't posted in the correct format of something.

 I am running Ubuntu 12.04 with 'lightweight x11 desktop environment' off 
 of a BeagleBone Black. The Java code below is supposed to play a .wav file 
 (Ive also tried switching to .mp3 with no luck) when a notification occurs. 
 This all works fine on OSX but Errors out on the BeagleBone.

 This is my troubleshooting so far:
 I have successfully gotten the BeagleBone to make white noise through the 
 terminal command 

 speaker-test -D default:CARD=Headset 

 I could NOT play anything using the following terminal command:

 mplayer -ao alsa:device=default=Headset XXX.mp3

 Also, I could not play anything using the built in audio player including 
 the supplied .mp3. This may be irrelevant but I have also successfully 
 commented out relevant java lines to avoid making any sound just so the 
 program can run.

 Heres the code:

 package com.XX.ibis.notification;
 import java.io.BufferedInputStream;import java.io.IOException;import 
 java.io.InputStream;import java.net.MalformedURLException;import 
 java.net.URI;import java.net.URISyntaxException;import java.net.URL;import 
 java.util.Timer;import java.util.TimerTask;import 
 java.util.logging.Level;import javax.sound.sampled.*;import 
 org.slf4j.Logger;import org.slf4j.LoggerFactory;

 public class AudioNotification implements INotification {

 /**
  *
  * @param audioURL
  * @param intervalMS
  */
 public AudioNotification(URL audioURL, int intervalMS) {

 m_intervalMS = intervalMS;
 m_audioURL   = audioURL;

 }

 /**
  *
  * @param filename
  * @param intervalMS
  */
 public AudioNotification(String filename, int intervalMS) {

 m_intervalMS = intervalMS;

 try {
 m_audioURL = new URI(filename).toURL();
  } catch (URISyntaxException ex) {
 LOG.error(Unable to convert filename( + filename + ) to URI, 
 ex);
 } catch (MalformedURLException ex) {
 LOG.error(Unable to convert filename( + filename + ) to URL, 
 ex);
 }

 }

 
 //**
 //** INotification interface 
 ***
 
 //**
 /**
  *
  * @param bActivate
  */
 @Override
 public void activate(boolean bActivate) {
 if (bActivate != isActive()) {
 if (isActive()) {
 stop();
 } else {
 try {
 start();
 } catch (InterruptedException ex) {
 
 java.util.logging.Logger.getLogger(AudioNotification.class.getName()).log(Level.SEVERE,
  null, ex);
 }
 }
 }
 } // activate

 /**
  *
  * @return
  */
 @Override
 public boolean isActive() {
 return (m_playTask != null);
 } // isActive

 /**
  *
  */
 @Override
 public void signal() {
 LOG.debug(signal());
 } // signal

 
 //**
 //** PRIVATE METHODS 
 

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

2014-04-16 Thread 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/d/optout.


[beagleboard] Re: Device tree overlay does not load pruss fragment but loads others

2014-04-16 Thread Lenny
Sorry: I compile with what I wrote above. I load just as you do with 


echo lockbox:00A1  $SLOTS


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


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

2014-04-16 Thread Peter Hahn
Hi, thanks for the reply. I also noticed something else which might be
related: To synchronize both PRU's, one sends every 250 clock cycles some
data with a command
XOUT 10,r13,4
which the other receives via
XIN  10,r13,4.

This works well. If however i mismatch the registers, that is i combine
XOUT 10,r13,4 on PRU0
with
XIN  10,r14,4 on PRU1
th
i still synchronize the two PRU's, even though I would expect both PRUs to
simply stall here for 1024 cycles.

Just thought this might be related to the other XIN/XOUT problems with the
multiplier.


2014-04-16 18:36 GMT+02:00 Bas Laarhoven s...@xs4all.nl:

  On 16-4-2014 18:31, Lenny wrote:

 Hi,

 I started using the Multiply-and-Accumulate module of the PRU of my
 Beaglebone Black to construct a real-time digital filter. But as soon as I
 insert an instruction of the type, with any data or any of the MAC
 registers (r25-r29) in the code, I induce some non-negligeable latency.
 MOV r25,0x
 XOUT 0,r25,1

 I would estimate that the XOUT or XIN instructions cost about 5
 microseconds, that is something near 1024 PRU clock cycles. I have observed
 other awkward behaviour of the Multiplier module, for example it only
 properly multiplied the values in registers r28 and r29 when I did a XOUT
 0,r28,8 instruction before reading the result. Does someone have experience
 with this module? Is it possible that I am using it wrong, that it has to
 be activated properly before being usable, or that the hardware is not
 working correctly?

 Thanks for any help!
 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/d/optout.


 Something is definitely wrong with your setup. I'm using the multiplier
 for my BeBoPr stepper driver and IIRC the instruction takes only one PRU
 cycle.
 There's some overhead for set-up and to check the flags, but certainly
 nothing like you're mentioning.

 -- Bas

 --
 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/lc_O_BHITjc/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


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


Re: [beagleboard] Beaglebone Black FTDI installation

2014-04-16 Thread lee
Since when?  I'm looking at two BBBs on my desk right now, and I've never 
accessed them with anything other than the FTDI cable. Sorry I can't help 
the OP with Windows drivers; no drivers needed on Linux. Maybe the OP 
doesn't actually have an FTDI cable and doesn't realize that he doesn't 
need that driver if he going the other way?


On Wednesday, April 16, 2014 6:04:56 AM UTC-7, Gerald wrote:

 BeagleBone Black does not use the FTDI device. That is only on the 
 BeagleBone.

 Gerald



 On Wed, Apr 16, 2014 at 6:26 AM, robrega...@gmail.com javascript:wrote:

 Hi,
I just got a BBB and trying to setup the drivers from this website.
 http://beagleboard.org/Getting%20Started. I have downloaded the BONE_D64 
 and installed drivers successfully. After that this is my device manager 
 below. I tried to install the FTDI drivers, but when I try to I get USB 
 Serial Converter B Access is Denied Error. I am just new with BBB. Any 
 help would be great. - Markel


 https://lh5.googleusercontent.com/-Lx0RxV901pE/U05oTf5NapI/AD0/5vzt0sB_O08/s1600/dev.jpg

  -- 
 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 javascript:.
 For more options, visit https://groups.google.com/d/optout.




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


Re: [beagleboard] Beaglebone Black FTDI installation

2014-04-16 Thread Gerald Coley
Since I removed it from the design. It was on the original BeagleBone but
no the Black.. Now, if you are talking about an FTDI cable that can be
plugged into the board,  that you can use. and it is up to FTDI to provide
help on its installation. You can go to their website for the drivers.

Gerald



On Wed, Apr 16, 2014 at 11:59 AM, l...@ansync.com wrote:

 Since when?  I'm looking at two BBBs on my desk right now, and I've never
 accessed them with anything other than the FTDI cable. Sorry I can't help
 the OP with Windows drivers; no drivers needed on Linux. Maybe the OP
 doesn't actually have an FTDI cable and doesn't realize that he doesn't
 need that driver if he going the other way?


 On Wednesday, April 16, 2014 6:04:56 AM UTC-7, Gerald wrote:

 BeagleBone Black does not use the FTDI device. That is only on the
 BeagleBone.

 Gerald



 On Wed, Apr 16, 2014 at 6:26 AM, robrega...@gmail.com wrote:

 Hi,
I just got a BBB and trying to setup the drivers from this website.
 http://beagleboard.org/Getting%20Started. I have downloaded the
 BONE_D64 and installed drivers successfully. After that this is my device
 manager below. I tried to install the FTDI drivers, but when I try to I get
 USB Serial Converter B Access is Denied Error. I am just new with BBB.
 Any help would be great. - Markel


 https://lh5.googleusercontent.com/-Lx0RxV901pE/U05oTf5NapI/AD0/5vzt0sB_O08/s1600/dev.jpg

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

 For more options, visit https://groups.google.com/d/optout.


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


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


[beagleboard] Using SD card as extra disk s

2014-04-16 Thread ec123ec
Hi,
 
Newbie here with BBB.  I am trying to use sd cards for additional storage.  
I found a link to do this:
 
http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage
 
I followed the instructions, but when I went format I got this error:
 
Error creating filesystem...:Filesystem tools not installed...Cannot run 
mkfs...Falied to execute child process mlabel (no such file or directory)
 
So I think this means I have to install the tools through opkg.  I ran 
'opkg list', and there are about 1,000 packages listed!  I have no clue as 
to which package I have to install.
 
Anyone know which package to install for the Filesystem tools needed for 
formatting an SD card?
 
Thanks,
 
E C

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


Re: [beagleboard] BBB HDMI

2014-04-16 Thread ec123ec
It turns out that the problem happens when booting too.  But if I leave the 
Enet disconnected when I boot, it will usually display HDMI OK.  After 
booted, I re-connect the Enet.  This works about 70% of the time.  I have 
two of these boards and they both do the same thing.

On Monday, April 7, 2014 10:52:47 AM UTC-4, cody wrote:

  Try adding whats below to your /etc/X11/xorg.conf file to prevent the 
 monitor from sleeping.

 Section ServerFlags

 Option BlankTime 0

 Option StandbyTime 0

 Option SuspendTime 0

 Option OffTime 0

 EndSection
 


 Section Monitor
  Option DPMS 
 
 Identifier  Builtin Default Monitor

 EndSection


 On Mon, Apr 7, 2014 at 9:45 AM, Gerald Coley 
 ger...@beagleboard.orgjavascript:
  wrote:

 If it works and then goes away, most likely the board went into sleep 
 mode due to inactivity on the keyboard. 

 Gerald

  

 On Sat, Apr 5, 2014 at 12:48 AM, ec1...@gmail.com javascript: wrote:

 Hi,

 I'm brand new to Beagle, and I know there is a lot on BBB  HDMI issues, 
 but I have not seen anything like this. I plugged in my BBB for the first 
 time today.  I'm using a brand new, good quality HDMI cable and a 5V ps @ 
 1.5A.  I had BBB running with my Visio on HDMI 2 for about an hour.  Then, 
 all the sudden the video signal drops.  I move my cable box to HDMI 2 and 
 there is video, so the TV HDMI is OK.  I move BBB to HDMI 3 and same 
 problem.  I did get it to come back after cycling power on the TV and BBB, 
 but it quit after a few seconds.  That only worked once too.  Are there TV 
 or BBB settings that will make the HDMI more stable?

 Thanks!

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


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




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


Re: [beagleboard] BBB HDMI

2014-04-16 Thread Cody Lacey
Are you using Angstrom or Debian?


On Wed, Apr 16, 2014 at 12:47 PM, ec12...@gmail.com wrote:

 It turns out that the problem happens when booting too.  But if I leave
 the Enet disconnected when I boot, it will usually display HDMI OK.  After
 booted, I re-connect the Enet.  This works about 70% of the time.  I have
 two of these boards and they both do the same thing.

 On Monday, April 7, 2014 10:52:47 AM UTC-4, cody wrote:

  Try adding whats below to your /etc/X11/xorg.conf file to prevent the
 monitor from sleeping.

 Section ServerFlags

 Option BlankTime 0

 Option StandbyTime 0

 Option SuspendTime 0

 Option OffTime 0

 EndSection



 Section Monitor
  Option DPMS

 Identifier  Builtin Default Monitor

 EndSection


 On Mon, Apr 7, 2014 at 9:45 AM, Gerald Coley ger...@beagleboard.orgwrote:

 If it works and then goes away, most likely the board went into sleep
 mode due to inactivity on the keyboard.

 Gerald



 On Sat, Apr 5, 2014 at 12:48 AM, ec1...@gmail.com wrote:

 Hi,

 I'm brand new to Beagle, and I know there is a lot on BBB  HDMI
 issues, but I have not seen anything like this. I plugged in my BBB for the
 first time today.  I'm using a brand new, good quality HDMI cable and a 5V
 ps @ 1.5A.  I had BBB running with my Visio on HDMI 2 for about an hour.
 Then, all the sudden the video signal drops.  I move my cable box to HDMI 2
 and there is video, so the TV HDMI is OK.  I move BBB to HDMI 3 and same
 problem.  I did get it to come back after cycling power on the TV and BBB,
 but it quit after a few seconds.  That only worked once too.  Are there TV
 or BBB settings that will make the HDMI more stable?

 Thanks!

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

 For more options, visit https://groups.google.com/d/optout.


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

 For more options, visit https://groups.google.com/d/optout.


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


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


[beagleboard] Where is asoundlib.h?

2014-04-16 Thread mbelge1971
I am trying to compile an ALSA application on my BeagleBone Black running 
Angstrom. There is no alsa/asoundlib.h file under /usr/include. Package 
manager shows that alsa-dev, libasound2 and alsa-lib-dev are all installed. 
I did not find any Angstrom packages containing the ALSA headers. Has 
anybody else came across this problem?

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


Re: [beagleboard] High(er) level language for PRU programming available.

2014-04-16 Thread John Silvia
 

 Didn't Robert put your Forth compiler into the latest release to run 
 on the ARM anyway? The assembler was already there on the ARM. It 
 would be great if you could check it. 
 http://beagleboard.org/latest-images 

 I don't see how he would have known about it.  This was my first public 
announcement. 
 

  
  Before I started this I saw mentions of a C compiler but all the links 
  appeared to be dead.  I guess I should have asked here! 

 Can you tell me where you found broken links mentioning the upcoming C 
 compiler? BTW, I've been given internally a release date that is 
 within a week, so hopefully no more private beta. 


Sorry, I don't remember. It was 6 months ago.  I can't even be sure we're 
talking about the same compiler.  I just remember seeing mentions of a C 
compiler (one of which was somewhere on the TI site) but I was unable to 
track it down.
 

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


Re: [beagleboard] High(er) level language for PRU programming available.

2014-04-16 Thread Charles Steinkuehler
On 4/16/2014 3:28 PM, John Silvia wrote:
  
 
 Didn't Robert put your Forth compiler into the latest release to run 
 on the ARM anyway? The assembler was already there on the ARM. It 
 would be great if you could check it. 
 http://beagleboard.org/latest-images 

 I don't see how he would have known about it.  This was my first public 
 announcement. 

It was added shortly after the announcement:

https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org.sh#L407

-- 
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/d/optout.


Re: [beagleboard] High(er) level language for PRU programming available.

2014-04-16 Thread Robert Nelson
On Wed, Apr 16, 2014 at 3:58 PM, Charles Steinkuehler
char...@steinkuehler.net wrote:
 On 4/16/2014 3:28 PM, John Silvia wrote:


 Didn't Robert put your Forth compiler into the latest release to run
 on the ARM anyway? The assembler was already there on the ARM. It
 would be great if you could check it.
 http://beagleboard.org/latest-images

 I don't see how he would have known about it.  This was my first public
 announcement.

 It was added shortly after the announcement:

 https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org.sh#L407

It was also very last minute for me..  Didn't even have a spare second
to hack a make install.. ;)

But it sounded cool..

Regards,

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

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


Re: [beagleboard] Re: Here is the BeagleBone Debian (beta) image you want to test

2014-04-16 Thread Dennis Cote
On Thursday, March 20, 2014 11:57:11 AM UTC-6, RobertCNelson wrote:

 On Thu, Mar 20, 2014 at 12:47 PM, Dennis Cote 
 den...@harding.cajavascript: 
 wrote: 
  On Thursday, March 20, 2014 11:29:10 AM UTC-6, RobertCNelson wrote: 
  
  However it works better if you add it via xset/xsetroot: 
  
  root@beaglebone:~# cat /home/debian/.xsessionrc 
  #!/bin/sh 
  
  xset -dpms 
  xset s off 
  xsetroot -cursor_name left_ptr 
  
  and just remove the  [Option  SWCursor  true] line 
  from /etc/X11/xorg.conf 
  
  
  Robert, 
  
  My .xsessionrc file looks identical to yours, and I did not have 
 SWCursor 
  anywhere in my xorg.conf file, so there was nothing to remove. 
  
  My mouse pointer definitely becomes invisible when I logout. 

 okay, so when i switch back to v3.8, i see this now too.. Weird, as 
 v3.13.x it works.  Might just have to go back to the xorg.conf 
 workaround. 


Hi Robert,

I hope this isn't a repeat. I thought I posted a similar message earlier 
today, but it has not showed up in the group (at least for me), so I am 
retrying.

Today I downloaded and installed a fresh copy of the latest, 2014-04-14, 
Debian image. Previously I had been using your update scripts to update my 
installation to the latest version, but I noticed there wasn't an update 
script for this version when I did a git pull in the /opt/scripts directory.

While using the new version I noticed that I had the same problems with my 
mouse pointer becoming invisible whenever I log out of LXDE, and the DPMS 
screen blanking being disabled, that I had reported earlier.

To correct this I removed the ~/.xsessionrc file to get the default, On, 
state for the dpms screen blanking. I also had to add the following line to 
the end of the Device section of the /etc/X11/xorg.conf file. Without this 
line I had no mouse pointer at all.

Option SWCursor true 

I now have a mouse pointer that remains visible across LXDE logout/login 
cycles, and my screen now turns off after 10 minutes of inactivity. 

I really think this a better default setup since the BBB behave like a 
standard desktop PC (I have a USB keyboard and mouse, and an HDMI monitor). 
New users will get correct and standard operation. More experienced users 
can change these behaviors if they need to (to disable screen blanking on a 
kiosk for example), especially if there are clear instructions on how to do 
so.

While testing the changes to the ~/.xsessionrc file I notice that I am 
getting a ~/.xsession-errors file created on each reboot. This file 
contains the following message:

Openbox-Message: Unable to find a valid menu file 
/usr/share/lxde/openbox/menu.xml

Dennis Cote
 

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


Re: [beagleboard] High(er) level language for PRU programming available.

2014-04-16 Thread Charles Steinkuehler
On 4/16/2014 4:03 PM, Robert Nelson wrote:
 On Wed, Apr 16, 2014 at 3:58 PM, Charles Steinkuehler
 char...@steinkuehler.net wrote:
 On 4/16/2014 3:28 PM, John Silvia wrote:


 Didn't Robert put your Forth compiler into the latest release to run
 on the ARM anyway? The assembler was already there on the ARM. It
 would be great if you could check it.
 http://beagleboard.org/latest-images

 I don't see how he would have known about it.  This was my first public
 announcement.

 It was added shortly after the announcement:

 https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org.sh#L407
 
 It was also very last minute for me..  Didn't even have a spare second
 to hack a make install.. ;)
 
 But it sounded cool..

I just tested, and what you've got seems to work OK, although the pasm
assembler is required to build the PRU binary.  I've got this installed
and built on my Machinekit images (since I have to assemble PRU code as
part of the Machinekit build), but I'm not sure about yours.

-- 
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/d/optout.


Re: [beagleboard] Where is asoundlib.h?

2014-04-16 Thread John Syn

From:  mbelge1...@gmail.com
Reply-To:  beagleboard@googlegroups.com
Date:  Wednesday, April 16, 2014 at 11:08 AM
To:  beagleboard@googlegroups.com
Subject:  [beagleboard] Where is asoundlib.h?

 I am trying to compile an ALSA application on my BeagleBone Black running
 Angstrom. There is no alsa/asoundlib.h file under /usr/include. Package
 manager shows that alsa-dev, libasound2 and alsa-lib-dev are all installed. I
 did not find any Angstrom packages containing the ALSA headers. Has anybody
 else came across this problem?
I believe libasound2 provides alsa-lib.

I think what you need is libasound2-dev

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/d/optout.


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


Re: [beagleboard] Beaglebone Black Ethernet Phy Not Detected on Boot.

2014-04-16 Thread David Lambert

On 04/16/2014 08:46 AM, David wrote:

Update. I have now witnessed the problem on RCS's 3.13.x kernels :(
Update #2 FWIW when this occurs I cannot use the Ethernet interface even 
from uboot. It needs a hard reset to get out of this condition.


Dave.



On Wednesday, March 19, 2014 3:31:00 PM UTC-5, David wrote:

FWIW I have seen the PHY problem repeatedly using the 3.8
kernel, but
not yet with the RCN 3.13 kernel.


Regards,

Dave.

On 03/19/2014 02:52 PM, Robert Nelson wrote:
 On Wed, Mar 19, 2014 at 2:47 PM,  bko...@scanimetrics.com
mailto:bko...@scanimetrics.com wrote:
 Does anyone happen to know if the 3.8 kernel compiled as per these
 instructions here
http://eewiki.net/display/linuxonarm/BeagleBone+Black
http://eewiki.net/display/linuxonarm/BeagleBone+Black also
 contains the fix? I have a root file system already that I want
to use but
 would like to update my kernel to fix this problem.
 Sorry, the fix is too generic of a term, therefore I can neither
 confirm nor deny it. Either way, that 3.8 branch listed is the one
 currently used in all debian/ubuntu images being shipped.

 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 
mailto:beagleboard+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


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

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


Re: [beagleboard] Re: beaglebone, PREEMPT-RT and low latency ADC/DAC

2014-04-16 Thread Sungjin Chun
From http://processors.wiki.ti.com/index.php/AM335x_ADC_Driver%27s_Guide ,
ADC in AM335x can sample in 200KSPS(Kilo Samples Per Second) so 44K could
be possible. However I think you have to do this with faster interface
which means
you cannot use sysfs; instead you have to use /dev/mem or PRU.

I have very simple example of using ADC in these manner.

1. Using /dev/mem

https://github.com/chunsj/nxctrl/blob/master/adc-test.c

2. Using PRU

https://github.com/chunsj/nxctrl/blob/master/adcpru-test.p

Though I'm not sure on your exact needs, I hope this can help you.




On Wed, Apr 16, 2014 at 10:52 PM, danilomorettocolang...@gmail.com wrote:

 Hi all people here.

 I must to say im newbie in BB and RT data.

 So, im going to ask simple:
 I need to acquire in ADC of the BB in RT over 44khz, only read, i dont
 need to process it in RT
 is it possible to use the ADC of the BB to do it and DMA..?

 If it possible, can you show me some sample code to start with, or where
 to look at? (some link)..

 Really thanks

 El lunes, 10 de septiembre de 2012 07:29:55 UTC-4:30, Evan Thomas escribió:


 Hello,

 embedded/real time/hardware newbie here. I have an requirement to read an
 ADC, perform some simple FP calculations and write to DAC. It needs to be
 at least 20KHz but importantly the latency on the DAC/ADC needs to less
 than 10us. Low jitter is also important. Is the beaglebone up to it? I see
 this asked many times but not answered so I am not really expecting an
 answer now :)

 I have two specific questions

 1) This might be naive but I thought I would try the PREEMPT_RT patch. In
 particular, I wanted to combine it with Robert Nelson's patches and build
 process. After many hours of random git commands, patch and modifying
 scripts I came to the conclusion that the current PREEMPT_RT patch is for
 3.4 whereas Robert's patches are for 3.6. Firstly, does it even make sense
 to try PREEMPT_RT on BB? If so, what is the best way to proceed? Use 3.4
 versions of Robert's patches and risk bugs and missing features? Wait
 for PREEMPT_RT patch against 3.6?

 2) What is the best way to do low latency (10us) 14bit ADC and DAC on
 the BB? I assume it would have to be over the SPI bus, but beyond that I'm
 clueless. If someone can point me in the right direction I would really
 appreciate it.

 Thanks,
 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/d/optout.


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


Re: [beagleboard] High(er) level language for PRU programming available.

2014-04-16 Thread lee
Yep, it's there in /opt/sources. pasm is installed and working, so it 
should work, but I've been unable to test it since I'm using the beta 
kernel and haven't really wrapped my head around DTBs yet, so I don't have 
the pruss drivers working. 

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


[beagleboard] Re: Device tree overlay does not load pruss fragment but loads others

2014-04-16 Thread briselec
you're looking at the wrong file 
try
cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins | grep 9a4

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


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

2014-04-16 Thread Lenny

Thanks for the help Bas!

I guess i found the problem: 

In my code, I used PRU0 simply as a timer with the code

LOOP:
WAIT(250 cycles)
XOUT 14,r5,4 //transfer register r5 from PRU0 to PRU1
JMP LOOP

In the meantime, PRU1 did some tasks, including multiplication using 
XOUT/XIN 0,r25,1 and similar instructions, and finally should have stalled 
at the instruction
XIN 14,r5,4 
in order to synchronize with PRU0. 

However, if the timing is initially not right, it can happen that PRU0 
waits for the other PRU while blocking the XCHG port with its XOUT 14,... 
command. If now PRU1 wants to retrieve the result of a multiplication, e.g. 
execute XIN 0,r26,4, then it will wait until the XCHG port is liberated by 
PRU0, which itself will wait for maximally 1024 cycles if PRU1 accepts its 
XOUT request while keeping the port blocked, such that PRU1 can never get 
to that section in the code in time. In this case the two PRU's block each 
other and the programs runs about 1000 times slower! 

Also, the controls which are run to ensure a proper transfer through the 
XCHG port are quite basic: It seems to me that for a successful transfer 
between two PRUs, one only needs one PRU that is willing to write 
(launching XOUT 14,... ) and the other willing to read (XIN 14,...). The 
actual registers which are to be read or written, or the amount of data 
does not have to match between the two commands. If they dont match, I dont 
know what data is actually written, but at least none of the PRUs stalls 
for 1024 cycles.  

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


[beagleboard] Re: Implementation Board?

2014-04-16 Thread Tom Davies
BBQ -- depending on your volume, you could desolder the headers, or get a 
quote from CircuitCo for a run of BBBs without the headers installed, then 
use male headers on your board soldered to the header holes on the BBB.

Perhaps there would be other people interested in that -- if the fixed 
costs of CircuitCo doing a special run are high you could run a Kickstarter 
campaign and try to get more buyers.

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


[beagleboard] Read() not returning after /dev/uioX is closed

2014-04-16 Thread Mike Lewis
Hi,

I am rewriting a lot of the PRU app loader in go.  Anyways, to wait for an 
interrupt one must read from /dev/uioX.  I basically have a background 
thread that is always reading from it, but unfortunately, when I close the 
file, the read does not return.

With normal files, read would return when an FD is closed. (in fact, I 
tried my code with other files and it worked just fine).

Perhaps there's something I missed with the UIO docs or maybe its a kernel 
bug?

Here's a test case that demonstrates it:

https://gist.github.com/mikelikespie/10945232

Thanks,
Mike

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


Re: [beagleboard] Where is asoundlib.h?

2014-04-16 Thread KurtE
I could be wrong, but when I was trying to do this awhile ago on Angstrom, 
I did not find it.  I ended up downloading and building the stuff on the 
BBBk.  Now with Debian, I can now do like I did on the Raspberry Pi and and 
do the apt-get install libasound2-dev

More details on what I do is up on my Readme file of my github Raspberry Pi 
project(Bad name, but was first linux box): 
https://github.com/KurtE/Raspberry_Pi 

From that readme:

I did not find any valid packages to install the ALSA, so I did it 
manually: 

wget ftp://ftp.alsa-project.org/pub/lib/a...1.0.25.tar.bz2 
tar jxf alsa-lib-1.0.25.tar.bz2
cd alsa-lib-1.0.25
./configure
make install

This did not set the USB device to be default sound device, I used the 
command: aplay -L to list the nodes. From which I created the configuration 
file: /etc/asound.conf pcm.!default sysdefault:Device

Again there may be easier ways, but that is what I did.  Note: I am using a 
USB sound adapter...

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


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

2014-04-16 Thread macarr
Hi William,

Yes, I realize that the pain is self-inflicted and I want to be clear about 
that. I have a favourite golfer that once said,I'm an idiot!. I've 
uttered those very words once or twice lately. Judging by the forums I 
think others have said similar things.

You would never believe it by my comments but in the late 1980's I was 
doing this full time on a RT VME chassis running UniFlex (Unix variant). I 
wrote drivers in C and 68030 assembly language and did some very neat 
stuff. The learning curve was steep back then too. Ah, but I was young! 
Time didn't matter...So I had to see what the kids are getting into these 
days.

I am actually more concerned with another issue regarding attaching a USB 
hub to the USB host on the BBB. After I've done that the system won't 
enumerate any of the devices I've put into the hub. But according to dmesg 
the hub itself was successfully installed.

Ideas?



On Monday, April 14, 2014 3:24:04 PM UTC-7, William Hermans wrote:

 macarr, just so you know I have been using Debian for a good while and it 
 took me 2-3 tries to get his steps right myself. At the time the 
 instructions were a bit less clear, but the fault was my own ( I was a bit 
 rusty with some of the steps / commands ).

 I am currently rebuilding my own kernel to the latest from scratch, and so 
 far they seem to work perfectly ( I am about half way through, e.g. I've 
 downloaded all the tools and have compiled the kernel).

 @Robert, I should be able to do the same steps I took back in December to 
 get a working TFTP/NSF boot/root with the latest kernel ?

 What about 3.13 ? I remember you saying something about it being a 
 different animal some months ago.

 I would ask on your comments pages for your site, but . . . Yeah editor 
 wont stop loading.


 On Mon, Apr 14, 2014 at 1:15 PM, mac...@msn.com javascript: wrote:

 Yes Robert,

 You are correct on all counts. I was unaware of the 
 http://eewiki.net/display/linuxonarm/BeagleBone+Blackhttp://www.google.com/url?q=http%3A%2F%2Feewiki.net%2Fdisplay%2Flinuxonarm%2FBeagleBone%2BBlacksa=Dsntz=1usg=AFQjCNEwHvJG3PDxw3Sfxt5K8nmSnOnirA.
  I performed a google search and found the first site I mentioned.

 Being new can be a painful process. Not working on a staff with others 
 to learn from is even more painful.

 The biggest obstacle is that you don't know what you don't know. 

 Again, I thank you for your efforts. I will be persistent.

 Respectfully,

  -- 
 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 javascript:.
 For more options, visit https://groups.google.com/d/optout.




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


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

2014-04-16 Thread William Hermans
I have no hands on with this sort of thing, but I have noticed on many
occations that we always need to research the hardware we use on a
particular Linux Distro.

.Which kernel are you using again ? 3.8.x does not do Hotplug very well, or
even at all. SO if you're hot plugging USB devices into the hub after the
system is up and running, It could be that the hub may buffer you from a
kernel oops, but still does not recognize the devices.

It could also be that you need to compile a module or two into the kernel
statically for the HUB to work properly. But that is just a guess on my
behalf that could be wrong. I have not personally noticed anything specific
to this when browsing menuconfig, but I was not looking for this sort of
thing when compiling my own kernel.

*OR* Maybe you just need a different hub . . . Perhaps someone with more
experience with this sort of thing will reply and give us their 2 cents.


On Wed, Apr 16, 2014 at 7:40 PM, mac...@msn.com wrote:

 Hi William,

 Yes, I realize that the pain is self-inflicted and I want to be clear
 about that. I have a favourite golfer that once said,I'm an idiot!. I've
 uttered those very words once or twice lately. Judging by the forums I
 think others have said similar things.

 You would never believe it by my comments but in the late 1980's I was
 doing this full time on a RT VME chassis running UniFlex (Unix variant). I
 wrote drivers in C and 68030 assembly language and did some very neat
 stuff. The learning curve was steep back then too. Ah, but I was young!
 Time didn't matter...So I had to see what the kids are getting into these
 days.

 I am actually more concerned with another issue regarding attaching a USB
 hub to the USB host on the BBB. After I've done that the system won't
 enumerate any of the devices I've put into the hub. But according to dmesg
 the hub itself was successfully installed.

 Ideas?



 On Monday, April 14, 2014 3:24:04 PM UTC-7, William Hermans wrote:

 macarr, just so you know I have been using Debian for a good while and it
 took me 2-3 tries to get his steps right myself. At the time the
 instructions were a bit less clear, but the fault was my own ( I was a bit
 rusty with some of the steps / commands ).

 I am currently rebuilding my own kernel to the latest from scratch, and
 so far they seem to work perfectly ( I am about half way through, e.g. I've
 downloaded all the tools and have compiled the kernel).

 @Robert, I should be able to do the same steps I took back in December to
 get a working TFTP/NSF boot/root with the latest kernel ?

 What about 3.13 ? I remember you saying something about it being a
 different animal some months ago.

 I would ask on your comments pages for your site, but . . . Yeah editor
 wont stop loading.


 On Mon, Apr 14, 2014 at 1:15 PM, mac...@msn.com wrote:

 Yes Robert,

 You are correct on all counts. I was unaware of the
 http://eewiki.net/display/linuxonarm/BeagleBone+Blackhttp://www.google.com/url?q=http%3A%2F%2Feewiki.net%2Fdisplay%2Flinuxonarm%2FBeagleBone%2BBlacksa=Dsntz=1usg=AFQjCNEwHvJG3PDxw3Sfxt5K8nmSnOnirA.
  I performed a google search and found the first site I mentioned.

 Being new can be a painful process. Not working on a staff with others
 to learn from is even more painful.

 The biggest obstacle is that you don't know what you don't know.

 Again, I thank you for your efforts. I will be persistent.

 Respectfully,

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


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


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


[beagleboard] Unable to ping host machine

2014-04-16 Thread Jacob Vasu

Hi,

I'm using MATLAB to program my beagleboard xm. I ran into a strange 
problem. I'm able to ping the board from my host machine (Windows 7) but 
not the other way around i.e. I cannot ping my host from the bbxm. Here are 
my results for ifconfig on the bbxm:

ubuntu@bbxm:~$ ifconfig
eth0  Link encap:Ethernet  HWaddr 3e:7f:da:ee:b1:db
  inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::3c7f:daff:feee:b1db/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
  RX packets:297 errors:0 dropped:0 overruns:0 frame:0
  TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:20184 (20.1 KB)  TX bytes:4860 (4.8 KB)

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:22 errors:0 dropped:0 overruns:0 frame:0
  TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:1656 (1.6 KB)  TX bytes:1656 (1.6 KB)

My BB OS is ubuntu
ubuntu@bbxm:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 11.04
Release:11.04
Codename:   natty

Any idea what's causing this? 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/d/optout.


Re: [beagleboard] Where is asoundlib.h?

2014-04-16 Thread John Syn

From:  KurtE ku...@rockisland.com
Reply-To:  beagleboard@googlegroups.com
Date:  Wednesday, April 16, 2014 at 5:45 PM
To:  beagleboard@googlegroups.com
Subject:  Re: [beagleboard] Where is asoundlib.h?

 I could be wrong, but when I was trying to do this awhile ago on Angstrom, I
 did not find it.  I ended up downloading and building the stuff on the BBBk.
 Now with Debian, I can now do like I did on the Raspberry Pi and and do the
 apt-get install libasound2-dev
 
 More details on what I do is up on my Readme file of my github Raspberry Pi
 project(Bad name, but was first linux box):
 https://github.com/KurtE/Raspberry_Pi
 
 From that readme:
 
 I did not find any valid packages to install the ALSA, so I did it manually:
 
 wget ftp://ftp.alsa-project.org/pub/lib/a...1.0.25.tar.bz2
 tar jxf alsa-lib-1.0.25.tar.bz2
 cd alsa-lib-1.0.25
 ./configure
 make install

Try this instead,

apt-get source libasound2
cd alsa-lib-1.0.25
// if you want debug symbols
export DEB_BUILD_OPTION=nostrip noopt debug
dpkg-buildpackage -rfakeroot -uc -us -j8 -aarmhf

// The dpkg-buildpackage uses the settings a patches in the debian folder
and builds the library as intended
// This commands creates Debian packages in the parent folder.

cd ..
sudo dpkg -i libasound2* deb

Regards,
John
 
 
 This did not set the USB device to be default sound device, I used the
 command: aplay -L to list the nodes.  From which I created the configuration
 file: /etc/asound.confpcm.!default sysdefault:Device
 
 Again there may be easier ways, but that is what I did.  Note: I am using a
 USB sound adapter...
 
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


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


Re: [beagleboard] Unable to ping host machine

2014-04-16 Thread William Hermans
What is the contents of /etc/resolv.conf ?


On Wed, Apr 16, 2014 at 8:24 PM, Jacob Vasu jacobv...@gmail.com wrote:


 Hi,

 I'm using MATLAB to program my beagleboard xm. I ran into a strange
 problem. I'm able to ping the board from my host machine (Windows 7) but
 not the other way around i.e. I cannot ping my host from the bbxm. Here are
 my results for ifconfig on the bbxm:

 ubuntu@bbxm:~$ ifconfig
 eth0  Link encap:Ethernet  HWaddr 3e:7f:da:ee:b1:db
   inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
   inet6 addr: fe80::3c7f:daff:feee:b1db/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
   RX packets:297 errors:0 dropped:0 overruns:0 frame:0
   TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:20184 (20.1 KB)  TX bytes:4860 (4.8 KB)

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:22 errors:0 dropped:0 overruns:0 frame:0
   TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1656 (1.6 KB)  TX bytes:1656 (1.6 KB)

 My BB OS is ubuntu
 ubuntu@bbxm:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 11.04
 Release:11.04
 Codename:   natty

 Any idea what's causing this? 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/d/optout.


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


[beagleboard] ome problem when I get update

2014-04-16 Thread Yanlong Mu
Hi Everybody

I just get the new image boot on the BBB 12.04.2 LTS

When I put the sudo apt-get update and upgrade, it showed some warning as 
below

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


And When I was going to install a desktops (xface)

it showed

perl: warning: Falling back to the standard locale (C).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = en_GB.UTF-8,
LC_MONETARY = en_GB.UTF-8,
LC_ADDRESS = en_GB.UTF-8,
LC_TELEPHONE = en_GB.UTF-8,
LC_NAME = en_GB.UTF-8,
LC_MEASUREMENT = en_GB.UTF-8,
LC_IDENTIFICATION = en_GB.UTF-8,
LC_NUMERIC = en_GB.UTF-8,
LC_PAPER = en_GB.UTF-8,
LANG = en_GB.UTF-8
perl: warning: Falling back to the standard locale (C).

Anyone can help me to solve that problem?

Kind Regards

Ian

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


Re: [beagleboard] ome problem when I get update

2014-04-16 Thread Sungjin Chun
Did you generate locale data? For example, in arch linux (which I'm using),
after configuration of /etc/locale.conf I should execute

locale-gen

so that configured locale data be generated.



On Thu, Apr 17, 2014 at 12:57 PM, Yanlong Mu ian.y...@gmail.com wrote:

 Hi Everybody

 I just get the new image boot on the BBB 12.04.2 LTS

 When I put the sudo apt-get update and upgrade, it showed some warning as
 below

 locale: Cannot set LC_CTYPE to default locale: No such file or directory
 locale: Cannot set LC_MESSAGES to default locale: No such file or directory
 locale: Cannot set LC_ALL to default locale: No such file or directory


 And When I was going to install a desktops (xface)

 it showed

 perl: warning: Falling back to the standard locale (C).
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LC_TIME = en_GB.UTF-8,
 LC_MONETARY = en_GB.UTF-8,
 LC_ADDRESS = en_GB.UTF-8,
 LC_TELEPHONE = en_GB.UTF-8,
 LC_NAME = en_GB.UTF-8,
 LC_MEASUREMENT = en_GB.UTF-8,
 LC_IDENTIFICATION = en_GB.UTF-8,
 LC_NUMERIC = en_GB.UTF-8,
 LC_PAPER = en_GB.UTF-8,
 LANG = en_GB.UTF-8
 perl: warning: Falling back to the standard locale (C).

 Anyone can help me to solve that problem?

 Kind Regards

 Ian

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


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


Re: [beagleboard] Unable to ping host machine

2014-04-16 Thread Jacob Vasu
Hi William, 

ubuntu@bbxm:~$ cat /etc/resolv.conf
domain mathworks.com
search mathworks.com
nameserver 144.212.95.9
nameserver 144.212.95.8
nameserver 144.212.2.11

Thanks!

On Thursday, April 17, 2014 9:13:42 AM UTC+5:30, William Hermans wrote:

 What is the contents of /etc/resolv.conf ?


 On Wed, Apr 16, 2014 at 8:24 PM, Jacob Vasu jaco...@gmail.comjavascript:
  wrote:


 Hi,

 I'm using MATLAB to program my beagleboard xm. I ran into a strange 
 problem. I'm able to ping the board from my host machine (Windows 7) but 
 not the other way around i.e. I cannot ping my host from the bbxm. Here are 
 my results for ifconfig on the bbxm:

 ubuntu@bbxm:~$ ifconfig
 eth0  Link encap:Ethernet  HWaddr 3e:7f:da:ee:b1:db
   inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
   inet6 addr: fe80::3c7f:daff:feee:b1db/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
   RX packets:297 errors:0 dropped:0 overruns:0 frame:0
   TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:20184 (20.1 KB)  TX bytes:4860 (4.8 KB)

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:22 errors:0 dropped:0 overruns:0 frame:0
   TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1656 (1.6 KB)  TX bytes:1656 (1.6 KB)

 My BB OS is ubuntu
 ubuntu@bbxm:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 11.04
 Release:11.04
 Codename:   natty

 Any idea what's causing this? Thanks!

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




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


Re: [beagleboard] Unable to ping host machine

2014-04-16 Thread William Hermans
Ok, I am not sure what you're doing there, but those nameservers do not
match your ifconfig output.

Try commenting out all of those atleast temporarily by adding a pound sign
in front of ech statement ( # ) andthen add . . .

 nameserver 192.168.1.1

Just for kicks what do you have in /etc/network/interfaces ?




On Wed, Apr 16, 2014 at 9:56 PM, Jacob Vasu jacobv...@gmail.com wrote:

 Hi William,

 ubuntu@bbxm:~$ cat /etc/resolv.conf
 domain mathworks.com
 search mathworks.com
 nameserver 144.212.95.9
 nameserver 144.212.95.8
 nameserver 144.212.2.11

 Thanks!

 On Thursday, April 17, 2014 9:13:42 AM UTC+5:30, William Hermans wrote:

 What is the contents of /etc/resolv.conf ?


 On Wed, Apr 16, 2014 at 8:24 PM, Jacob Vasu jaco...@gmail.com wrote:


 Hi,

 I'm using MATLAB to program my beagleboard xm. I ran into a strange
 problem. I'm able to ping the board from my host machine (Windows 7) but
 not the other way around i.e. I cannot ping my host from the bbxm. Here are
 my results for ifconfig on the bbxm:

 ubuntu@bbxm:~$ ifconfig
 eth0  Link encap:Ethernet  HWaddr 3e:7f:da:ee:b1:db
   inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
   inet6 addr: fe80::3c7f:daff:feee:b1db/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
   RX packets:297 errors:0 dropped:0 overruns:0 frame:0
   TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:20184 (20.1 KB)  TX bytes:4860 (4.8 KB)

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:22 errors:0 dropped:0 overruns:0 frame:0
   TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1656 (1.6 KB)  TX bytes:1656 (1.6 KB)

 My BB OS is ubuntu
 ubuntu@bbxm:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 11.04
 Release:11.04
 Codename:   natty

 Any idea what's causing this? Thanks!

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

 For more options, visit https://groups.google.com/d/optout.


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


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


Re: [beagleboard] ome problem when I get update

2014-04-16 Thread William Hermans
*dpkg-reconfigure locales *as root, or using sudo. Assuming the package is
installed properly.


On Wed, Apr 16, 2014 at 9:56 PM, Sungjin Chun chu...@castlesoft.co.krwrote:

 Did you generate locale data? For example, in arch linux (which I'm using),
 after configuration of /etc/locale.conf I should execute

 locale-gen

 so that configured locale data be generated.



 On Thu, Apr 17, 2014 at 12:57 PM, Yanlong Mu ian.y...@gmail.com wrote:

 Hi Everybody

 I just get the new image boot on the BBB 12.04.2 LTS

 When I put the sudo apt-get update and upgrade, it showed some warning as
 below

 locale: Cannot set LC_CTYPE to default locale: No such file or directory
 locale: Cannot set LC_MESSAGES to default locale: No such file or
 directory
 locale: Cannot set LC_ALL to default locale: No such file or directory


 And When I was going to install a desktops (xface)

 it showed

 perl: warning: Falling back to the standard locale (C).
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LC_TIME = en_GB.UTF-8,
 LC_MONETARY = en_GB.UTF-8,
 LC_ADDRESS = en_GB.UTF-8,
 LC_TELEPHONE = en_GB.UTF-8,
 LC_NAME = en_GB.UTF-8,
 LC_MEASUREMENT = en_GB.UTF-8,
 LC_IDENTIFICATION = en_GB.UTF-8,
 LC_NUMERIC = en_GB.UTF-8,
 LC_PAPER = en_GB.UTF-8,
 LANG = en_GB.UTF-8
 perl: warning: Falling back to the standard locale (C).

 Anyone can help me to solve that problem?

 Kind Regards

 Ian

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


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


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


Re: [beagleboard] Unable to ping host machine

2014-04-16 Thread Jacob Vasu
I get this:
ubuntu@bbxm:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.4
netmask 255.255.255.0
gateway 192.168.1.0
hwaddress ether 3e:7f:da:ee:b1:db

On Thursday, April 17, 2014 10:37:24 AM UTC+5:30, William Hermans wrote:

 Ok, I am not sure what you're doing there, but those nameservers do not 
 match your ifconfig output.

 Try commenting out all of those atleast temporarily by adding a pound sign 
 in front of ech statement ( # ) andthen add . . .

  nameserver 192.168.1.1

 Just for kicks what do you have in /etc/network/interfaces ?




 On Wed, Apr 16, 2014 at 9:56 PM, Jacob Vasu jaco...@gmail.comjavascript:
  wrote:

 Hi William, 

 ubuntu@bbxm:~$ cat /etc/resolv.conf
 domain mathworks.com
 search mathworks.com
 nameserver 144.212.95.9
 nameserver 144.212.95.8
 nameserver 144.212.2.11

 Thanks!

 On Thursday, April 17, 2014 9:13:42 AM UTC+5:30, William Hermans wrote:

 What is the contents of /etc/resolv.conf ?


 On Wed, Apr 16, 2014 at 8:24 PM, Jacob Vasu jaco...@gmail.com wrote:


 Hi,

 I'm using MATLAB to program my beagleboard xm. I ran into a strange 
 problem. I'm able to ping the board from my host machine (Windows 7) but 
 not the other way around i.e. I cannot ping my host from the bbxm. Here 
 are 
 my results for ifconfig on the bbxm:

 ubuntu@bbxm:~$ ifconfig
 eth0  Link encap:Ethernet  HWaddr 3e:7f:da:ee:b1:db
   inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
   inet6 addr: fe80::3c7f:daff:feee:b1db/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
   RX packets:297 errors:0 dropped:0 overruns:0 frame:0
   TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:20184 (20.1 KB)  TX bytes:4860 (4.8 KB)

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:22 errors:0 dropped:0 overruns:0 frame:0
   TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1656 (1.6 KB)  TX bytes:1656 (1.6 KB)

 My BB OS is ubuntu
 ubuntu@bbxm:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 11.04
 Release:11.04
 Codename:   natty

 Any idea what's causing this? Thanks!
  
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google 
 Groups BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to beagleboard...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.


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




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


Re: [beagleboard] Unable to ping host machine

2014-04-16 Thread William Hermans
That gateway address should be wrong. That would be the network.
192.168.1.1 may be the gateway / nameserver, but i am not sure how your
network is setup.

How are your BBxM and host computer connected ? USBNET or ethernet ? IS
there a router between the two systems or is teh BBxM connected directly to
the host computer ? Host to me implies they are directly connected, but I
do not remember if the xM has onboard ethernet or not.


On Wed, Apr 16, 2014 at 10:22 PM, Jacob Vasu jacobv...@gmail.com wrote:

 I get this:
 ubuntu@bbxm:~$ cat /etc/network/interfaces
 auto lo
 iface lo inet loopback
 auto eth0
 iface eth0 inet static
 address 192.168.1.4
 netmask 255.255.255.0
 gateway 192.168.1.0
 hwaddress ether 3e:7f:da:ee:b1:db

 On Thursday, April 17, 2014 10:37:24 AM UTC+5:30, William Hermans wrote:

 Ok, I am not sure what you're doing there, but those nameservers do not
 match your ifconfig output.

 Try commenting out all of those atleast temporarily by adding a pound
 sign in front of ech statement ( # ) andthen add . . .

  nameserver 192.168.1.1

 Just for kicks what do you have in /etc/network/interfaces ?




 On Wed, Apr 16, 2014 at 9:56 PM, Jacob Vasu jaco...@gmail.com wrote:

 Hi William,

 ubuntu@bbxm:~$ cat /etc/resolv.conf
 domain mathworks.com
 search mathworks.com
 nameserver 144.212.95.9
 nameserver 144.212.95.8
 nameserver 144.212.2.11

 Thanks!

 On Thursday, April 17, 2014 9:13:42 AM UTC+5:30, William Hermans wrote:

 What is the contents of /etc/resolv.conf ?


 On Wed, Apr 16, 2014 at 8:24 PM, Jacob Vasu jaco...@gmail.com wrote:


 Hi,

 I'm using MATLAB to program my beagleboard xm. I ran into a strange
 problem. I'm able to ping the board from my host machine (Windows 7) but
 not the other way around i.e. I cannot ping my host from the bbxm. Here 
 are
 my results for ifconfig on the bbxm:

 ubuntu@bbxm:~$ ifconfig
 eth0  Link encap:Ethernet  HWaddr 3e:7f:da:ee:b1:db
   inet addr:192.168.1.4  Bcast:192.168.1.255
  Mask:255.255.255.0
   inet6 addr: fe80::3c7f:daff:feee:b1db/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
   RX packets:297 errors:0 dropped:0 overruns:0 frame:0
   TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:20184 (20.1 KB)  TX bytes:4860 (4.8 KB)

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:22 errors:0 dropped:0 overruns:0 frame:0
   TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:1656 (1.6 KB)  TX bytes:1656 (1.6 KB)

 My BB OS is ubuntu
 ubuntu@bbxm:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:Ubuntu 11.04
 Release:11.04
 Codename:   natty

 Any idea what's causing this? Thanks!

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

 For more options, visit https://groups.google.com/d/optout.


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


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


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