[beagleboard] Any library available for the BBB, to use MPU-6050 and ADXL335 ?

2014-01-18 Thread Karl Longen
Hi all

I am learning how to use I2C, and I choose to use a gyro and an 
accelerometer sensor, for my project.

The gyro is the MPU-6050, while the accelerometer is the ADXL335

I have the data sheet; but I don't see any code example that show how to 
get the data and process it. Is there a library already available for the 
BBB by any chance, for these 2 sensor?

I am not sure if others here use these sensor, but I was told that these 
are the most common ones; but the only thing that pops up in a search is 
related to the arduino.

Any pointer is more than welcome; Ideally I would like to write code in 
C++, to drive an application that process the data; and having a library 
that would interface with the device would save me time to write one 
(unless necessary; why re-invent the wheel if this has been already done?)

Thanks in advance and sorry for the newbie question...If there was a book 
showing how to do it, I would gladly buy it and study it.

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


[beagleboard] Re: BBB: after powerfailure BBB is no longer booting from eMMC

2014-01-18 Thread Martin Sperl
I reran the flashing, but this time before disconnecting power I ran:
dd if=/dev/mmcblk1 of=/dev/sda bs=1M
to create a 1:1 copy of the files installed to eMMC on a 2G SD card.

Again the boot rom eMMC fails, but if I add the SD card and boot from it - 
uboot and later the OS comes up all right...

So the disk-image created on the emmc is working from SD.

So there must be some _other_ difference that inhibits the boot from eMMC - 
IMO during the pre-MLO phase...

Any Ideas?

Martin

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


[beagleboard] angstrom-eglibc-i686-armv7a-vfp-neon-v2012.12-toolchain.gz

2014-01-18 Thread Jetty
Does anyone have a copy 
of  angstrom-eglibc-i686-armv7a-vfp-neon-v2012.12-toolchain.gz they can put 
up somewhere?

Since www.angstrom-distributiuon.org went down, it hasn't been available, 
and the Wayback Machine has 
a corrupted / truncated version of it which is missing the last 5MB.

Thanks

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


[beagleboard] bitcoin mining on BBB

2014-01-18 Thread Michael Mullin
I'm sure you can tweak cgminer to re-enable CPU based mining... But that 
feature was removed for a reason; it's pointless.  Even with a high end intel 
i7 processor, you're wasting your time, electricity, and the usage of the 
beaglebone.

The bbb can be used as a controller for other hardware specific to mining (aka 
ASIC hardware). 

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


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

2014-01-18 Thread dlewin555
Thanks Louis.
When you say Debian Beta I assume that it the official one, not the BBB 
(from Robert C Nelson) right ?
Well I have to try it myself btw.


Le vendredi 17 janvier 2014 18:41:41 UTC+1, Louis McCarthy a écrit :

 @Bill
 Can you run 'uname -a' from a terminal and post the results here?
 What is the file name (or download link) of the angstrom toolchain that 
 you downloaded?

 @David
 Sure. I have tried it with the Debian beta and it seems to be working.

 http://armsdr.blogspot.com/2014/01/bare-metal-qt-52-on-beaglebone-black.html

 Louis


 On Thursday, January 16, 2014 12:21:09 PM UTC-6, William Pretty Security 
 wrote:

 Ok;

  

 We have something weird going on here (?)

 I started with a fresh VM and just installed the tool chain, from the 
 file I had previously downloaded.

 I then gave myself root access and went to the “/usr/local/angstrom/bin” 
 directory.

  

 Here’s what happened:

  

 root@ubuntu:/usr/local/angstrom/arm/bin# arm-angstrom-linux-gnueabi-g++

 arm-angstrom-linux-gnueabi-g++: command not found

  

 root@ubuntu:/usr/local/angstrom/arm/bin# arm-angstrom-linux-gnueabi-g++ 
 --version

 arm-angstrom-linux-gnueabi-g++: command not found

  

  

 root@ubuntu:/usr/local/angstrom/arm/bin# ./arm-angstrom-linux-gnueabi-g++ 
 --version

 bash: ./arm-angstrom-linux-gnueabi-g++: No such file or directory

  

 When I type “ls –l” I get:

  

 -rwxr-xr-x 1 root root   483996 Mar 16  2011 
 arm-angstrom-linux-gnueabi-addr2line

 -rwxr-xr-x 1 root root   503544 Mar 16  2011 arm-angstrom-linux-gnueabi-ar

 -rwxr-xr-x 1 root root   853272 Mar 16  2011 arm-angstrom-linux-gnueabi-as

 -rwxr-xr-x 1 root root   483800 Mar 16  2011 
 arm-angstrom-linux-gnueabi-c++filt

 -rwxr-xr-x 1 root root   436563 Mar 16  2011 
 arm-angstrom-linux-gnueabi-cpp

 -rwxr-xr-x 1 root root   438687 Mar 16  2011 
 arm-angstrom-linux-gnueabi-g++

 -rwxr-xr-x 1 root root   434700 Mar 16  2011 
 arm-angstrom-linux-gnueabi-gcc

 -rwxr-xr-x 1 root root17422 Mar 16  2011 
 arm-angstrom-linux-gnueabi-gccbug

 -rwxr-xr-x 1 root root75976 Mar 16  2011 
 arm-angstrom-linux-gnueabi-gcov

 -rwxr-xr-x 1 root root  3184888 Mar 16  2011 
 arm-angstrom-linux-gnueabi-gdb

 -rwxr-xr-x 1 root root  3184892 Mar 16  2011 
 arm-angstrom-linux-gnueabi-gdbtui

 -rwxr-xr-x 1 root root   442039 Mar 16  2011 
 arm-angstrom-linux-gnueabi-gfortran

 -rwxr-xr-x 1 root root   538904 Mar 16  2011 
 arm-angstrom-linux-gnueabi-gprof

 -rwxr-xr-x 1 root root   873752 Mar 16  2011 arm-angstrom-linux-gnueabi-ld

 -rwxr-xr-x 1 root root   490292 Mar 16  2011 arm-angstrom-linux-gnueabi-nm

 -rwxr-xr-x 1 root root   629144 Mar 16  2011 
 arm-angstrom-linux-gnueabi-objcopy

 -rwxr-xr-x 1 root root   759480 Mar 16  2011 
 arm-angstrom-linux-gnueabi-objdump

 -rwxr-xr-x 1 root root   503548 Mar 16  2011 
 arm-angstrom-linux-gnueabi-ranlib

 -rwxr-xr-x 1 root root   261868 Mar 16  2011 
 arm-angstrom-linux-gnueabi-readelf

 -rwxr-xr-x 1 root root   748476 Mar 16  2011 
 arm-angstrom-linux-gnueabi-run

 -rwxr-xr-x 1 root root   483988 Mar 16  2011 
 arm-angstrom-linux-gnueabi-size

 -rwxr-xr-x 1 root root   483960 Mar 16  2011 
 arm-angstrom-linux-gnueabi-strings

 -rwxr-xr-x 1 root root   629144 Mar 16  2011 
 arm-angstrom-linux-gnueabi-strip

 -rwxr-xr-x 1 root root   281569 Mar 16  2011 i686-linux-libtool

 -rwxr-xr-x 1 root root   281569 Mar 16  2011 libtool

 -rwxr-xr-x 1 root root68311 Mar 16  2011 libtoolize

 .

 .

 .

 Looks to me like the program is executable. Could it be damaged or am I 
 doing something wrong ?

  

 Bill

  

  

 *From:* beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] *On 
 Behalf Of *Louis McCarthy
 *Sent:* Wednesday, January 15, 2014 2:42 PM
 *To:* beagl...@googlegroups.com
 *Subject:* Re: [beagleboard] Re: Build a QT/11 application for 
 beagleboard black by cross compiling from ubuntu

  

 I guess I wasn't clear, you need to type 'arm-angstrom-linux-gnueabi-g++ 
 --version'. Just typing g++ will use your regular host compiler (not 
 toolchain cross compiler)

  

 If that gives a valid response, you then need to modify your qmake.conf 
 files or configure command line options (depending on Qt version and how 
 you configured it) to point to the full binary name, not just g++.

  

 From the error message, I doubt the error is in qabstractanimation.cpp, 
 but you can look around for a local qmake.conf file, for that module, that 
 may be pointing to the wrong g++.

 Louis


 On Tuesday, January 14, 2014 5:30:22 PM UTC-6, William Pretty Security 
 wrote:

 *From:* beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] *On 
 Behalf Of *Louis McCarthy
 *Sent:* Tuesday, January 14, 2014 12:23 PM
 *To:* beagl...@googlegroups.com
 *Subject:* Re: [beagleboard] Re: Build a QT/11 application for 
 beagleboard black by cross compiling from ubuntu

  

 Correction, export PATH=$PATH:/usr/local/angstrom/arm/bin

  

 I forgot the last bin.

 On Tuesday, January 14, 2014 11:20:46 AM UTC-6, 

[beagleboard] Re: Any library available for the BBB, to use MPU-6050 and ADXL335 ?

2014-01-18 Thread dlewin555
Hi Karl,

I'm (quite) in the same approach as you do currently with a slightly 
difference coming that I learn Xenomai for this too -Thanks Charles btw- 
and use ADXL 335 and Invensense 9150.
For ADXL 335 -it's analog not I2C right ?- you could 1st test it with the 
provided script : http://beagleboard.org/Support/BoneScript/accelerometer/ 
For invensense you are lucky as it's more supported than 9150 : 
http://www.i2cdevlib.com/devices/mpu6050#source . 
Anyway there are quite close so for C/C++ code you have things like this 
that are great : https://github.com/Pansenti/linux-mpu9150

Hope this helps.

David 


Le samedi 18 janvier 2014 12:07:43 UTC+1, Karl Longen a écrit :

 Hi all

 I am learning how to use I2C, and I choose to use a gyro and an 
 accelerometer sensor, for my project.

 The gyro is the MPU-6050, while the accelerometer is the ADXL335

 I have the data sheet; but I don't see any code example that show how to 
 get the data and process it. Is there a library already available for the 
 BBB by any chance, for these 2 sensor?

 I am not sure if others here use these sensor, but I was told that these 
 are the most common ones; but the only thing that pops up in a search is 
 related to the arduino.

 Any pointer is more than welcome; Ideally I would like to write code in 
 C++, to drive an application that process the data; and having a library 
 that would interface with the device would save me time to write one 
 (unless necessary; why re-invent the wheel if this has been already done?)

 Thanks in advance and sorry for the newbie question...If there was a book 
 showing how to do it, I would gladly buy it and study it.


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


[beagleboard] BBB Bare Metal with HDMI

2014-01-18 Thread Travis Estep
Hello! I've been hacking around with the BBB for some time now, mostly 
doing bare metal programming. On other boards that I build projects with, I 
usually use one of my TFTs that I have laying around and use my custom 
graphical interface for the UI part. But the BBB is different. While I have 
been able to use a TFT with it, I'd like to get the HDMI up and running on 
bare metal if possible. Looking over the datasheet for the TDA19988BHN I 
can see that basically it just takes the LCD RGB signals and concerts that 
to HDMI output. However, I have not had any luck with feeding it from the 
library I wrote for my TFT. Is there something different I need to do with 
the signals? Does the HDMI chip require some kind of initialization before 
being used? The datasheet I have is one that I found on some third party 
website and I suspect it may be incomplete. I can't find the official 
datasheet on NXP's website at all.

Any help would be appreciated. Any advice for anyone else who has had 
success in this arena would also be much appreciated. Thanks in advance!

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


[beagleboard] Re: Any library available for the BBB, to use MPU-6050 and ADXL335 ?

2014-01-18 Thread Karl Longen
Much appreciated David!

So the 9150 code can be used also for the 6050? I am not familiar with that 
sensor, but it sounds like it is the previous version of the 6150?

The ADXL335 should be I2C compliant; at least that's what I was told, when 
I purchased it. The example that you posted is in the internal scripting 
language for cloud9, correct? I am not familiar with that...I know only C 
and C++, so I am not sure how can I use that to drive a C++ program on the 
BBB.

Thanks for the info, I have something to start to study at least :)

On Saturday, January 18, 2014 10:54:42 AM UTC-8, dlewin555 wrote:

 Hi Karl,

 I'm (quite) in the same approach as you do currently with a slightly 
 difference coming that I learn Xenomai for this too -Thanks Charles btw- 
 and use ADXL 335 and Invensense 9150.
 For ADXL 335 -it's analog not I2C right ?- you could 1st test it with the 
 provided script : http://beagleboard.org/Support/BoneScript/accelerometer/ 
 For invensense you are lucky as it's more supported than 9150 : 
 http://www.i2cdevlib.com/devices/mpu6050#source . 
 Anyway there are quite close so for C/C++ code you have things like this 
 that are great : https://github.com/Pansenti/linux-mpu9150

 Hope this helps.

 David 


 Le samedi 18 janvier 2014 12:07:43 UTC+1, Karl Longen a écrit :

 Hi all

 I am learning how to use I2C, and I choose to use a gyro and an 
 accelerometer sensor, for my project.

 The gyro is the MPU-6050, while the accelerometer is the ADXL335

 I have the data sheet; but I don't see any code example that show how to 
 get the data and process it. Is there a library already available for the 
 BBB by any chance, for these 2 sensor?

 I am not sure if others here use these sensor, but I was told that these 
 are the most common ones; but the only thing that pops up in a search is 
 related to the arduino.

 Any pointer is more than welcome; Ideally I would like to write code in 
 C++, to drive an application that process the data; and having a library 
 that would interface with the device would save me time to write one 
 (unless necessary; why re-invent the wheel if this has been already done?)

 Thanks in advance and sorry for the newbie question...If there was a book 
 showing how to do it, I would gladly buy it and study it.



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


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

2014-01-18 Thread Simon Engler
Thanks very much for the info. There seem to be a lot of RS-232 to TTL 
level converters around so this might not be such a big issue.

I have the sabertooth on a separate power switch. So I assume that after I 
boot the beagleboard, switching on the power to the sabertooth will keep 
them separate. 



On Friday, 3 January 2014 10:07:01 UTC-10, Nizamov Shawkat wrote:

 Hi,

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

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

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

 Hope it helps,
 Shavkat

 On Friday, January 3, 2014 5:16:19 AM UTC+1, Simon Engler wrote:

 Hello, 

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

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

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

 Could someone point me in the right direction?

 Thanks.


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





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


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

2014-01-18 Thread David Lewin
Well i was refering to official Debian image as another possibility
Le 18 janv. 2014 22:44, William Hermans yyrk...@gmail.com a écrit :

 For the record, Robert Nelsons Debian image is custom kernel only, with a
 stock file image. Also, as far as I know Roberts Debian *is* the only
 official Debian for the Beagelbone black.


 On Sat, Jan 18, 2014 at 11:43 AM, dlewin555 dlewin...@gmail.com wrote:

 Thanks Louis.
 When you say Debian Beta I assume that it the official one, not the BBB
 (from Robert C Nelson) right ?
 Well I have to try it myself btw.


 Le vendredi 17 janvier 2014 18:41:41 UTC+1, Louis McCarthy a écrit :

 @Bill
 Can you run 'uname -a' from a terminal and post the results here?
 What is the file name (or download link) of the angstrom toolchain that
 you downloaded?

 @David
 Sure. I have tried it with the Debian beta and it seems to be working.
 http://armsdr.blogspot.com/2014/01/bare-metal-qt-52-on-
 beaglebone-black.html

 Louis


 On Thursday, January 16, 2014 12:21:09 PM UTC-6, William Pretty Security
 wrote:

 Ok;



 We have something weird going on here (?)

 I started with a fresh VM and just installed the tool chain, from the
 file I had previously downloaded.

 I then gave myself root access and went to the
 “/usr/local/angstrom/bin” directory.



 Here’s what happened:



 root@ubuntu:/usr/local/angstrom/arm/bin# arm-angstrom-linux-gnueabi-g++

 arm-angstrom-linux-gnueabi-g++: command not found



 root@ubuntu:/usr/local/angstrom/arm/bin#
 arm-angstrom-linux-gnueabi-g++ --version

 arm-angstrom-linux-gnueabi-g++: command not found





 root@ubuntu:/usr/local/angstrom/arm/bin# ./arm-angstrom-linux-gnueabi-g++
 --version

 bash: ./arm-angstrom-linux-gnueabi-g++: No such file or directory



 When I type “ls –l” I get:



 -rwxr-xr-x 1 root root   483996 Mar 16  2011 arm-angstrom-linux-gnueabi-
 addr2line

 -rwxr-xr-x 1 root root   503544 Mar 16  2011
 arm-angstrom-linux-gnueabi-ar

 -rwxr-xr-x 1 root root   853272 Mar 16  2011
 arm-angstrom-linux-gnueabi-as

 -rwxr-xr-x 1 root root   483800 Mar 16  2011
 arm-angstrom-linux-gnueabi-c++filt

 -rwxr-xr-x 1 root root   436563 Mar 16  2011
 arm-angstrom-linux-gnueabi-cpp

 -rwxr-xr-x 1 root root   438687 Mar 16  2011
 arm-angstrom-linux-gnueabi-g++

 -rwxr-xr-x 1 root root   434700 Mar 16  2011
 arm-angstrom-linux-gnueabi-gcc

 -rwxr-xr-x 1 root root17422 Mar 16  2011 arm-angstrom-linux-gnueabi-
 gccbug

 -rwxr-xr-x 1 root root75976 Mar 16  2011 arm-angstrom-linux-gnueabi-
 gcov

 -rwxr-xr-x 1 root root  3184888 Mar 16  2011
 arm-angstrom-linux-gnueabi-gdb

 -rwxr-xr-x 1 root root  3184892 Mar 16  2011 arm-angstrom-linux-gnueabi-
 gdbtui

 -rwxr-xr-x 1 root root   442039 Mar 16  2011 arm-angstrom-linux-gnueabi-
 gfortran

 -rwxr-xr-x 1 root root   538904 Mar 16  2011 arm-angstrom-linux-gnueabi-
 gprof

 -rwxr-xr-x 1 root root   873752 Mar 16  2011
 arm-angstrom-linux-gnueabi-ld

 -rwxr-xr-x 1 root root   490292 Mar 16  2011
 arm-angstrom-linux-gnueabi-nm

 -rwxr-xr-x 1 root root   629144 Mar 16  2011 arm-angstrom-linux-gnueabi-
 objcopy

 -rwxr-xr-x 1 root root   759480 Mar 16  2011 arm-angstrom-linux-gnueabi-
 objdump

 -rwxr-xr-x 1 root root   503548 Mar 16  2011 arm-angstrom-linux-gnueabi-
 ranlib

 -rwxr-xr-x 1 root root   261868 Mar 16  2011 arm-angstrom-linux-gnueabi-
 readelf

 -rwxr-xr-x 1 root root   748476 Mar 16  2011
 arm-angstrom-linux-gnueabi-run

 -rwxr-xr-x 1 root root   483988 Mar 16  2011 arm-angstrom-linux-gnueabi-
 size

 -rwxr-xr-x 1 root root   483960 Mar 16  2011 arm-angstrom-linux-gnueabi-
 strings

 -rwxr-xr-x 1 root root   629144 Mar 16  2011 arm-angstrom-linux-gnueabi-
 strip

 -rwxr-xr-x 1 root root   281569 Mar 16  2011 i686-linux-libtool

 -rwxr-xr-x 1 root root   281569 Mar 16  2011 libtool

 -rwxr-xr-x 1 root root68311 Mar 16  2011 libtoolize

 .

 .

 .

 Looks to me like the program is executable. Could it be damaged or am I
 doing something wrong ?



 Bill





 *From:* beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] *On
 Behalf Of *Louis McCarthy
 *Sent:* Wednesday, January 15, 2014 2:42 PM
 *To:* beagl...@googlegroups.com
 *Subject:* Re: [beagleboard] Re: Build a QT/11 application for
 beagleboard black by cross compiling from ubuntu



 I guess I wasn't clear, you need to type 'arm-angstrom-linux-gnueabi-g++
 --version'. Just typing g++ will use your regular host compiler (not
 toolchain cross compiler)



 If that gives a valid response, you then need to modify your qmake.conf
 files or configure command line options (depending on Qt version and how
 you configured it) to point to the full binary name, not just g++.



 From the error message, I doubt the error is in qabstractanimation.cpp,
 but you can look around for a local qmake.conf file, for that module, that
 may be pointing to the wrong g++.

 Louis


 On Tuesday, January 14, 2014 5:30:22 PM UTC-6, William Pretty Security
 wrote:

 *From:* beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] *On
 Behalf 

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

2014-01-18 Thread André Prado
How can i install the Robert's Debian on my BBB?


On Sat, Jan 18, 2014 at 11:08 PM, David Lewin dlewin...@gmail.com wrote:

 Well i was refering to official Debian image as another possibility
 Le 18 janv. 2014 22:44, William Hermans yyrk...@gmail.com a écrit :

 For the record, Robert Nelsons Debian image is custom kernel only, with a
 stock file image. Also, as far as I know Roberts Debian *is* the only
 official Debian for the Beagelbone black.


 On Sat, Jan 18, 2014 at 11:43 AM, dlewin555 dlewin...@gmail.com wrote:

 Thanks Louis.
 When you say Debian Beta I assume that it the official one, not the
 BBB (from Robert C Nelson) right ?
 Well I have to try it myself btw.


 Le vendredi 17 janvier 2014 18:41:41 UTC+1, Louis McCarthy a écrit :

 @Bill
 Can you run 'uname -a' from a terminal and post the results here?
 What is the file name (or download link) of the angstrom toolchain that
 you downloaded?

 @David
 Sure. I have tried it with the Debian beta and it seems to be working.
 http://armsdr.blogspot.com/2014/01/bare-metal-qt-52-on-
 beaglebone-black.html

 Louis


 On Thursday, January 16, 2014 12:21:09 PM UTC-6, William Pretty
 Security wrote:

 Ok;



 We have something weird going on here (?)

 I started with a fresh VM and just installed the tool chain, from the
 file I had previously downloaded.

 I then gave myself root access and went to the
 “/usr/local/angstrom/bin” directory.



 Here’s what happened:



 root@ubuntu:/usr/local/angstrom/arm/bin#
 arm-angstrom-linux-gnueabi-g++

 arm-angstrom-linux-gnueabi-g++: command not found



 root@ubuntu:/usr/local/angstrom/arm/bin#
 arm-angstrom-linux-gnueabi-g++ --version

 arm-angstrom-linux-gnueabi-g++: command not found





 root@ubuntu:/usr/local/angstrom/arm/bin# ./arm-angstrom-linux-gnueabi-g++
 --version

 bash: ./arm-angstrom-linux-gnueabi-g++: No such file or directory



 When I type “ls –l” I get:



 -rwxr-xr-x 1 root root   483996 Mar 16  2011
 arm-angstrom-linux-gnueabi-addr2line

 -rwxr-xr-x 1 root root   503544 Mar 16  2011
 arm-angstrom-linux-gnueabi-ar

 -rwxr-xr-x 1 root root   853272 Mar 16  2011
 arm-angstrom-linux-gnueabi-as

 -rwxr-xr-x 1 root root   483800 Mar 16  2011
 arm-angstrom-linux-gnueabi-c++filt

 -rwxr-xr-x 1 root root   436563 Mar 16  2011
 arm-angstrom-linux-gnueabi-cpp

 -rwxr-xr-x 1 root root   438687 Mar 16  2011
 arm-angstrom-linux-gnueabi-g++

 -rwxr-xr-x 1 root root   434700 Mar 16  2011
 arm-angstrom-linux-gnueabi-gcc

 -rwxr-xr-x 1 root root17422 Mar 16  2011
 arm-angstrom-linux-gnueabi-gccbug

 -rwxr-xr-x 1 root root75976 Mar 16  2011
 arm-angstrom-linux-gnueabi-gcov

 -rwxr-xr-x 1 root root  3184888 Mar 16  2011
 arm-angstrom-linux-gnueabi-gdb

 -rwxr-xr-x 1 root root  3184892 Mar 16  2011
 arm-angstrom-linux-gnueabi-gdbtui

 -rwxr-xr-x 1 root root   442039 Mar 16  2011
 arm-angstrom-linux-gnueabi-gfortran

 -rwxr-xr-x 1 root root   538904 Mar 16  2011
 arm-angstrom-linux-gnueabi-gprof

 -rwxr-xr-x 1 root root   873752 Mar 16  2011
 arm-angstrom-linux-gnueabi-ld

 -rwxr-xr-x 1 root root   490292 Mar 16  2011
 arm-angstrom-linux-gnueabi-nm

 -rwxr-xr-x 1 root root   629144 Mar 16  2011
 arm-angstrom-linux-gnueabi-objcopy

 -rwxr-xr-x 1 root root   759480 Mar 16  2011
 arm-angstrom-linux-gnueabi-objdump

 -rwxr-xr-x 1 root root   503548 Mar 16  2011
 arm-angstrom-linux-gnueabi-ranlib

 -rwxr-xr-x 1 root root   261868 Mar 16  2011
 arm-angstrom-linux-gnueabi-readelf

 -rwxr-xr-x 1 root root   748476 Mar 16  2011
 arm-angstrom-linux-gnueabi-run

 -rwxr-xr-x 1 root root   483988 Mar 16  2011
 arm-angstrom-linux-gnueabi-size

 -rwxr-xr-x 1 root root   483960 Mar 16  2011
 arm-angstrom-linux-gnueabi-strings

 -rwxr-xr-x 1 root root   629144 Mar 16  2011
 arm-angstrom-linux-gnueabi-strip

 -rwxr-xr-x 1 root root   281569 Mar 16  2011 i686-linux-libtool

 -rwxr-xr-x 1 root root   281569 Mar 16  2011 libtool

 -rwxr-xr-x 1 root root68311 Mar 16  2011 libtoolize

 .

 .

 .

 Looks to me like the program is executable. Could it be damaged or am
 I doing something wrong ?



 Bill





 *From:* beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] *On
 Behalf Of *Louis McCarthy
 *Sent:* Wednesday, January 15, 2014 2:42 PM
 *To:* beagl...@googlegroups.com
 *Subject:* Re: [beagleboard] Re: Build a QT/11 application for
 beagleboard black by cross compiling from ubuntu



 I guess I wasn't clear, you need to type 'arm-angstrom-linux-gnueabi-g++
 --version'. Just typing g++ will use your regular host compiler (not
 toolchain cross compiler)



 If that gives a valid response, you then need to modify your
 qmake.conf files or configure command line options (depending on Qt 
 version
 and how you configured it) to point to the full binary name, not just g++.



 From the error message, I doubt the error is in
 qabstractanimation.cpp, but you can look around for a local qmake.conf
 file, for that module, that may be pointing to the wrong g++.

 Louis


 On Tuesday, January 14, 2014 5:30:22 PM 

Re: [beagleboard] Re: debian: test images (2014-01-16)

2014-01-18 Thread Mark Grosen
Robert,

I tried this new build on a BBB with good success. I used the
setup_sdcard.sh approach on an 8GB SD card. WiFi works with a cheapo
Rosewill USB dongle:

[   15.015308] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw.bin
[   15.015468] usbcore: registered new interface driver rtl8192cu

I am using the 3.13 kernel:

Linux markbbb 3.13.0-rc8-bone4 #1 SMP Tue Jan 14 16:22:05 UTC 2014 armv7l
GNU/Linux

I have an I2C 8x8 LED matrix scrolling continuously, so i2c is good.

Running headless so no report on HDMI.

A couple small requests/suggestions:

* Add /sbin and /usr/sbin to the default PATH
* Enable the EXTRA_GROUPS options in /etc/adduser.conf and add i2c to the
EXTRA_GROUPS
* Add a way to identify the build version (or tell me how). I see
/etc/os-release but it does not have a RCN build identifier in it

Thanks much for your work on this.

Mark


On Thu, Jan 16, 2014 at 1:43 PM, Robert Nelson robertcnel...@gmail.comwrote:

 On Thu, Jan 16, 2014 at 3:42 PM, Robert Nelson robertcnel...@gmail.com
 wrote:
  Thanks for everyone who tested 2014-01-10... So here we go, round two...
 
  First, for tracking please report all bugs to:
  http://bugs.elinux.org/projects/debian-image-releases
 
  Fixes:
  3.8.13-bone35 - 3.8.13-bone36
  * uvc camera backport
 
 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8ca5d2d8e58df7235b77ed435e63c484e123fede
  * config sync with last Angstrom, missing a few modules, thumb2 enabled..
 
  lxde: autostart of screensaver disabled (pegged cpu to 100%)
  /opt/scripts/ now a git repo, easier to pull in board tweaks for
  bootup scripts..
  * including a kernel update script under
 /opt/scripts/tools/update_kernel.sh
  Chromium updated to 32.0.1700.76 with webrtc enabled.
  4gb image, dropped from 3750Mb to 3700Mb, should work with more 4GB
 cards.
  /var/lib/cloud9/node_modules/bonescript/ nodejs dependicy now installed
 
  Know Issues:
  wicd: can only handle eth0 or wlan0, not both at the same time..
 
  Questions? Should we switch to connman?
 
  To test:
  apt-get remove wicd-* --purge
  apt-get install connman
  (no good gui with connman)
 
  Does your cape work?
 
  Does your wifi adapter work? Are we missing it's firmware?
 
  So go forward and test the first beta release. There are 3 files on
  the web server, depending on what you want to do. Using the same
  standard procedure found here:
  http://elinux.org/Beagleboard:Updating_The_Software
 
  http://rcn-ee.net/deb/testing/2014-01-16/
 
  7cda65ef9971d8d770a84c00b8863c1e
  BBB-eMMC-flasher-debian-7.3-2014-01-16-2gb.img.xz
  c84011db191151986d14fe73e43f5f4d  bone-debian-7.3-2014-01-16-4gb.img.xz
  05ed49c8fe4555081f83f5be61b2b75b  debian-7.3-lxde-armhf-2014-01-16.tar.xz
 
  An eMMC flasher which can be installed to any 2GB or greater microSD
  card. [BBB-eMMC-flasher-debian-7.3-2014-01-16-2gb.img.xz]
 
 
 http://rcn-ee.net/deb/testing/2014-01-16/BBB-eMMC-flasher-debian-7.3-2014-01-16-2gb.img.xz
 
  It takes about 10-15 Minutes to dd microSD (2GB), 15 minutes to flash
  eMMC (look for full 4 LED's)
 
  4GB standalone image that can be flashed to any 4GB or greater.
  [bone-debian-7.3-2014-01-16-4gb.img.xz]
 
 
 http://rcn-ee.net/deb/testing/2014-01-16/bone-debian-7.3-2014-01-16-4gb.img.xz
 
  It takes about 20-30 Minutes to dd microSD (4GB)
 
  Finally one of my classic setup_sdcard.sh.
  [debian-7.3-console-armhf-2014-01-16.tar.xz]
 
 
 http://rcn-ee.net/deb/testing/2014-01-16/debian-7.3-console-armhf-2014-01-16.tar.xz

 Doh! cough


 http://rcn-ee.net/deb/testing/2014-01-16/debian-7.3-lxde-armhf-2014-01-16.tar.xz

 I'll get this form letter correct one of these weeks...

 Regards,

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

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


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


[beagleboard] Harddisk accessible only after reboot

2014-01-18 Thread meino . cramer
Hi,

I am running an uptodate kernel by Rober Nelson (3.8.13-bone36).
To beaglebone black I have attached a powered USB-hub and to this
hub an external harddisk (powered over one (!) usb connector by
the USB hub).

When first powering the harddisk and then the beaglebone,
the beaglebone does not see the harddisk (fstab has entries for
mounting the harddisk). The time between powering the harddisk
and the beaglebone doesn't matter...the result is alwayse the same.

When I reboot the beaglebone after that, everything works fine.

The according modules are integrated in the kernel.

How can I accomplish, that the harddisk is accessible at the first
boot of the beaglebone black ?

Thank you very much for any help in advance!
Best regards,
mcc




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