Re: [beagleboard] Re: Automotive Cape

2014-03-31 Thread Micka
Hello, what is the status?

Micka,
On Mar 17, 2014 5:39 PM,  wrote:

> Hi, yes we are progressing.  We have just ordered the first batch of
> boards and will be assembling and testing in the next 14 days.
> We will be putting some more updates on our twitter feed soon...
> @aSanCloud.
>
> I will contact you via your email address in the next couple of days to
> give a more definitive date for you.
>
> Thanks
> Marc
>
> On Saturday, March 15, 2014 12:07:38 PM UTC, Mickae1 wrote:
>>
>> Any news about it ? I would like to buy one 
>>
>> Thx,
>>
>>
>> On Sat, Feb 15, 2014 at 5:05 PM,  wrote:
>>
>>> I'm not sure of a pricepoint- we are working on a similar beta product
>>> used to track delivery systems and i can get an chinese made tracker with
>>> some of the capability you mention (except OBD-II info) for under $40.
>>> Their devices have an onboard SIM for SMS alerts, etc. So with that in mind
>>> if we were able to use your SanCloud device with the same capability along
>>> with OBD functionality for around $80-100 it would be great. Are you
>>> considering kits fully assembled? Sorry if thats a silly question we're new
>>> to open source hardware etc and am just wondering how the license would
>>> affect other companies from using it in their products? Cheers!
>>>
>>>
>>> On Wednesday, February 12, 2014 11:46:36 AM UTC-4, marc...@gmail.comwrote:

 What do people think the price point is for a cape that offers
 CAN
 OBDII
 accelerometer+gyro
 mini PCI-e (USB+SIM)
 GPIO
 LED's ?

 Thanks
 Marc

 On Monday, January 27, 2014 5:37:41 PM UTC, marc...@gmail.com wrote:
>
> Hello,
> I am part of a startup that has developed a system that is used to
> analyse vehicles in they way they are driven and also track the journeys.
>
> We are producing a cape to use for development of our next version and
> thinking  about offering it for sale to the open source community.  The
> basics of the interface are:
> CAN
> ODBII via SN1110 OBD to UART Interpreter
> Mini-PCIe for 3G-LTE/GPS card
> 6 axis accel and gyro
> RTC
> USB expansion for WiFi dongle (possibly supporting 802.11p)
> Bi directional GPIO for vehicle signals (Ignition in GPIO_0 wakeup
> domain)
>
> And maybe some more.
>
> Are there any requests/requirements that you think might be of benefit
> to make the cape more usable ?
>
> Any feedback appreciated.
>
> Kind Regards
> Marc
>
>  --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to beagleboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/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: Windows 8 (64bit) driver install problems

2014-03-31 Thread Erwin Ried
Making windows accept unsigned drivers does work. You are probably not 
following the directions, it is quite cumbersome how MS made this "safe 
mode" in Win 8, but at least you have to follow the steps only once.

On Monday, March 31, 2014 10:04:09 AM UTC-3, edgars@gmail.com wrote:
>
> I tried both methods to solve the problem, but none of them worked
>
> On Thursday, February 27, 2014 9:47:43 AM UTC+2, aravin...@gmail.comwrote:
>>
>> Thanks Piyush.
>> It helped.
>>
>> On Tuesday, April 30, 2013 3:42:04 AM UTC+5:30, Piyush Agarwal wrote:
>>>
>>> Hi Kenny,
>>>
>>> As Jason noted the installer is unsigned, this means you need to restart 
>>> Windows 8 in the mode where it allows you to install unsigned drivers.
>>>
>>> Here's a quick step-by-step guide:
>>>
>>> 1. Press win+c on the keyboard to bring up the charms side bar (or move 
>>> mouse to right top corner of the screen)
>>>
>>> 2. Click the Settings button.
>>>
>>> 3. Click the Change PC Settings at the bottom of the sidebar.
>>>
>>> 4. On screen that shows up, select the General option from the sidebar 
>>> then scroll down the page that appears.
>>>
>>> 5. Click the Restart now button under the Advanced startup section.
>>>
>>> 6. You will momentarily see the restarting screen, then it will switch 
>>> to a blue screen titled "Choose an option"
>>>
>>> 7. Click the Troubleshoot button.
>>>
>>> 8. Click Advanced options.
>>>
>>> 9. Click Startup Settings
>>>
>>> 10. Click Restart
>>>
>>> 11. You should then see a Startup Settings screen after your computer 
>>> reboots.
>>>
>>> 12. Press 7 or F7 on your keyboard to Disable driver signature 
>>> enforcement
>>>
>>> 13. Now Windows 8 will continue starting up.
>>>
>>> 14. Log-in as normal, and then run BONE_D64.exe again
>>>
>>> 15. Now you should see 4 warning dialogs about "unsigned driver 
>>> installation", click OK for all of them.
>>>
>>> Then you should be good to go!
>>>
>>>
>>> Hope that helps,
>>>
>>> Piyush
>>>
>>> On Sunday, April 28, 2013 11:05:53 AM UTC-4, Kenny Lindberg wrote:

 Trying to install software for my Beaglebone Black on Win8-64 and 
 dpinst.exe fails.
 OSX seems to work, so I don't think it's a hardware issue.

 Is there a work around?

 Kenny

>>>

-- 
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 Black won't boot from Micro SD, all LEDs remain lit

2014-03-31 Thread Peter Keenan

>
> well, the camera cape and radium board's modified image is working. I went 
> from a class 2 to a class 4 uSD. No idea if that was the fix. I also 
> re-downloaded the image and went thru trying to get it booted again. I 
> disconnected everything except an HDMI cord and the 5V 2.5 DC barrel plug, 
> and now it boots without too much trouble.

  

-- 
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] Question about GPIO interrupt configuration on device tree

2014-03-31 Thread Ventura

I developed one ethernet cape that uses the SPI. The configuration node 
bellows is working because I did a change in the device drive to
handle the interrupt number as GPIO number (gpio1_15) and included code to 
map one interrupt ( for 47 I am getting IRQ 191).

If I understand correctly I shouldn't have to apply any patch, the 
interrupt should be described in the device tree so that the SPI drive could
understand what interrupt has to be assigned. When I don't apply the patch, 
the SPI assign the IRQ 63 (47 to 63 ???) that  doesn't work.

I would like to know how should be GPIO interrupt configuration to use the 
drive as is.


&spi1 {
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins>;
status = "okay";

spidev2: spi@0 {
compatible = "microchip,enc28j60";
reg = <0>;
spi-max-frequency = <2400>;
interrupts = <47>;
};
};


Sincerely,
Ventura

-- 
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] Which Real Time Operating Systems Can I run on Beagle Bone Black?

2014-03-31 Thread Brad Hopper
Charles any quick points or a link to something explaining what is the 
meaning of real time linux, especially in the context of having PRUs - I 
sort of had the sense that, for example in your machine kit image, the real 
time bits were being performed by the PRUs, so what is the reason for 
Xenomai? You have to run some OS of course, but if you have a dedicated 
subsystem that just comes up for air when it needs to inform the OS, why 
not just ?plain? linux? And if linux can run real time, why do you need the 
PRUs? maybe it's a matter of the scale of latency we're talking about.

On Monday, March 31, 2014 6:08:27 PM UTC-4, Charles Steinkuehler wrote:
>
> On 3/31/2014 5:54 AM, Eren Basturk wrote: 
> > Hi All, 
> > 
> > I wonder that Is there any real time operating system to use on Beagle 
> Bone 
> > Black? Could you give me some information about real time linux on 
> Beagle 
> > Bone? 
>
> TI has a list, but it doesn't include everything: 
>
> http://www.ti.com/lsds/ti/tools-software/rtos.page 
>
> ...conspicuously absent are the various non-commercial solutions. 
>
> Is there something in particular you are wanting to run? 
>
> -- 
> 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Here is the BeagleBone Debian (beta + fixes + reboot fix) image you want to test (2014-03-31)

2014-03-31 Thread Robert Nelson
Thanks to everyone for testing the beta images!

In this last weekend I've rolled in many of your changes.

So please continue to use the bug tracker:
http://bugs.elinux.org/projects/debian-image-releases

Big Changes:
Fixed the halt/reboot problem, Thanks to Cody Lacey for the systemd hint!

So the images are linked to from here:
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-03-31

and the full changelog/tweaklog:
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-03-31_Changes

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] Help Needed : Custom built debian image

2014-03-31 Thread Robert Nelson
On Mon, Mar 31, 2014 at 6:28 PM,   wrote:
> Hi,
>
> I am trying to build custom minimal debian images for my beaglebone black. I
> have downloaded the image builder from git and tried executing it after
> commenting out some packagenames in beagleboard.org_image.sh. But when the
> image is built, all the packages including the packages that I commented out
> are also installed. There is no information about which file to edit or any
> other instruction provided in the readme file.

Base package list:
https://github.com/beagleboard/image-builder/blob/master/var/pkg_list.sh

Packages specific to the "beagleboard.org" debian image:
https://github.com/beagleboard/image-builder/blob/master/beagleboard.org_image.sh#L43

comment out what you don't need, but remember Debian package
dependence are complex, so something might get installed anyways.

Patches welcome on improving the readme.

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] Help Needed : Custom built debian image

2014-03-31 Thread viraniac
Hi,

I am trying to build custom minimal debian images for my beaglebone black. 
I have downloaded the image builder from git and tried executing it after 
commenting out some packagenames in beagleboard.org_image.sh. But when the 
image is built, all the packages including the packages that I commented 
out are also installed. There is no information about which file to edit or 
any other instruction provided in the readme file. 

Please help me in building the custom images.

Regards

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


Re: [beagleboard] Re: Automotive Cape

2014-03-31 Thread stanislasbertrand
Hi,

I read quickly the topic. I'm very interested by the mini pci-e ( usb+sim ) 
functionality. I'm planning to do tracking in the same way you described. I 
selected the GTM382 (GSM/3G/GPS) from Option.

I had a question about the GPS 3v3 LNA booster, would you have a link to a 
documentation on how you realized it ?

Great cape,
Stan

Le lundi 17 mars 2014 17:32:54 UTC+1, marc...@gmail.com a écrit :
>
> Hi, yes we are progressing.  We have just ordered the first batch of 
> boards and will be assembling and testing in the next 14 days.
> We will be putting some more updates on our twitter feed soon... 
> @aSanCloud.
>
> I will contact you via your email address in the next couple of days to 
> give a more definitive date for you.
>
> Thanks
> Marc
>
> On Saturday, March 15, 2014 12:07:38 PM UTC, Mickae1 wrote:
>>
>> Any news about it ? I would like to buy one  
>>
>> Thx,
>>
>>
>> On Sat, Feb 15, 2014 at 5:05 PM,  wrote:
>>
>>> I'm not sure of a pricepoint- we are working on a similar beta product 
>>> used to track delivery systems and i can get an chinese made tracker with 
>>> some of the capability you mention (except OBD-II info) for under $40. 
>>> Their devices have an onboard SIM for SMS alerts, etc. So with that in mind 
>>> if we were able to use your SanCloud device with the same capability along 
>>> with OBD functionality for around $80-100 it would be great. Are you 
>>> considering kits fully assembled? Sorry if thats a silly question we're new 
>>> to open source hardware etc and am just wondering how the license would 
>>> affect other companies from using it in their products? Cheers!
>>>
>>>
>>> On Wednesday, February 12, 2014 11:46:36 AM UTC-4, marc...@gmail.comwrote:

 What do people think the price point is for a cape that offers 
 CAN
 OBDII
 accelerometer+gyro
 mini PCI-e (USB+SIM)
 GPIO
 LED's ?

 Thanks
 Marc

 On Monday, January 27, 2014 5:37:41 PM UTC, marc...@gmail.com wrote:
>
> Hello,
> I am part of a startup that has developed a system that is used to 
> analyse vehicles in they way they are driven and also track the journeys.
>
> We are producing a cape to use for development of our next version and 
> thinking  about offering it for sale to the open source community.  The 
> basics of the interface are:
> CAN
> ODBII via SN1110 OBD to UART Interpreter
> Mini-PCIe for 3G-LTE/GPS card
> 6 axis accel and gyro
> RTC
> USB expansion for WiFi dongle (possibly supporting 802.11p)
> Bi directional GPIO for vehicle signals (Ignition in GPIO_0 wakeup 
> domain)
>
> And maybe some more.
>
> Are there any requests/requirements that you think might be of benefit 
> to make the cape more usable ?
>
> Any feedback appreciated.
>
> Kind Regards
> Marc
>
>  -- 
>>> For more options, visit http://beagleboard.org/discuss
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to beagleboard...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>

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


Re: [beagleboard] Which Real Time Operating Systems Can I run on Beagle Bone Black?

2014-03-31 Thread Charles Steinkuehler
On 3/31/2014 5:54 AM, Eren Basturk wrote:
> Hi All,
> 
> I wonder that Is there any real time operating system to use on Beagle Bone 
> Black? Could you give me some information about real time linux on Beagle 
> Bone? 

TI has a list, but it doesn't include everything:

http://www.ti.com/lsds/ti/tools-software/rtos.page

...conspicuously absent are the various non-commercial solutions.

Is there something in particular you are wanting to run?

-- 
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.


[beagleboard] Re: I2C2: Bad address, without checking

2014-03-31 Thread Brandon I
Do you have a pullup on the i2c line?

On Monday, March 31, 2014 1:59:46 AM UTC-7, Rafael Fiebig-Bindner wrote:
>
> Hi community,
>  
> I am currently trying to access a temperature sensor via I2C. The problem 
> is whenever I want to send data I get the error message: "Bad address", 
> but the BBB doesn't even check for the address on the I2C bus. The address 
> is 0x48 so it is free for use.
> I want to use the Pins P9,17 and P9,18. The BBB is running Angstrom. I am 
> using C++ and i2c-dev.h to access the built in i2c-1 device file. 
> I hope someone has some ideas how to solve this.
>  
> Best regards
> Rafael Fiebig-Bindner
>

-- 
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: Which Real Time Operating Systems Can I run on Beagle Bone Black?

2014-03-31 Thread jmelson


On Monday, March 31, 2014 5:54:59 AM UTC-5, Eren Basturk wrote:
>
> Hi All,
>
> I wonder that Is there any real time operating system to use on Beagle 
> Bone Black? Could you give me some information about real time linux on 
> Beagle Bone? 
>
> The machinekit is a pre-patched kernel with Xenomai extensions for real 
time.

See  http://blog.machinekit.io/p/machinekit_16.html

You will get the LinuxCNC package as well, this needs real time threads.  
But, you
can use the Xenomai features by itself.

Jon

-- 
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] Here is the BeagleBone Debian (beta + fixes) image you want to test (2014-03-27)

2014-03-31 Thread William Hermans
Seems that the color replacement tool isnt very clean around the letters. I
should have checked this before posting the image . . . But in this case,
I'll have to get more creative in what I do here ( color masking ) which
will take me a while longer. I do not have the time right at this very
moment
 but will try later this evening,

Also I had an idea of making an OpenROV like background . . . form the
beagleboard.org top animated ad box . . . Thoughts ?


On Mon, Mar 31, 2014 at 12:38 PM, William Hermans  wrote:

> OK here we go. Dark(ish) grey. I will make some other colored backgrounds.
>
> Charles, or Robert, do either of you know if the Debian background
> supports transparency ? That way I could just make a transparent beagle
> image, and the user could choose whatever color they prefer . ..
>
> --
> 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] Here is the BeagleBone Debian (beta + fixes) image you want to test (2014-03-27)

2014-03-31 Thread William Hermans
Ok, I have one such modification. Now I just need to figure out how to
upload to the group lol ( I use my email client for view posts . ..).


On Mon, Mar 31, 2014 at 9:39 AM, Robert Nelson wrote:

> On Sat, Mar 29, 2014 at 10:49 PM, William Hermans 
> wrote:
> > Charles, Ok will give it a shot after this weekend. Actually though, if I
> > had jus ta stock image of a beagle, perhaps the one taken from
> beagle.org, I
> > could do the rest from scratch myself. The text coloring on that image
> may
> > not mesh well with a light blue or dark grey background. But that is
> pretty
> > easy to test, so I'll check it out.
>
> Hi William,
>
> For reference, the current images are stored in git here:
>
> https://github.com/RobertCNelson/boot-scripts/tree/master/images
>
> They were corrupted in angstrom's git repo, so i took the original
> from an older Angstrom image.
>
> 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.
>

-- 
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] Cyclic kernel crash on BBB RCN kernel 3.13.6-bone8

2014-03-31 Thread David Lambert
The following crash happens on occasions when I attempt to alter eth0 
status. The only way out seems to be reboot. Has anyone else experience 
this, any ideas?


Regards,


Dave.


ifdown eth0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/c8:a0:30:af:93:56
Sending on   LPF/eth0/c8:a0:30:af:93:56
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
[  306.733018] [ cut here ]
[  306.737912] WARNING: CPU: 0 PID: 1385 at 
drivers/net/ethernet/ti/cpsw.c:633 cpsw_rx_handler+0x10c/0x138()
[  306.747930] Modules linked in: rtc_ds1307 ftdi_sio snd_usb_audio 
snd_hwdep snd_usbmidi_lib uvcvideo snd_rawmidi videobuf2_vmalloc 
snd_seq_device videobuf2_memops videobuf2_core usbserial rtc_omap 
uio_pdrv_genirq uio loop
[  306.768510] CPU: 0 PID: 1385 Comm: ip Tainted: GW 
3.13.6-bone8 #1
[  306.775929] [] (unwind_backtrace+0x0/0xdc) from 
[] (show_stack+0x10/0x14)
[  306.784866] [] (show_stack+0x10/0x14) from [] 
(dump_stack+0x70/0x8c)
[  306.793349] [] (dump_stack+0x70/0x8c) from [] 
(warn_slowpath_common+0x64/0x88)
[  306.802736] [] (warn_slowpath_common+0x64/0x88) from 
[] (warn_slowpath_null+0x18/0x20)
[  306.812853] [] (warn_slowpath_null+0x18/0x20) from 
[] (cpsw_rx_handler+0x10c/0x138)
[  306.822698] [] (cpsw_rx_handler+0x10c/0x138) from 
[] (__cpdma_chan_process+0x110/0x128)
[  306.832905] [] (__cpdma_chan_process+0x110/0x128) from 
[] (cpdma_chan_stop+0xd0/0x16c)
[  306.843018] [] (cpdma_chan_stop+0xd0/0x16c) from 
[] (cpdma_ctlr_stop+0x58/0xa8)
[  306.852498] [] (cpdma_ctlr_stop+0x58/0xa8) from 
[] (cpsw_ndo_stop+0xc8/0x178)
[  306.861808] [] (cpsw_ndo_stop+0xc8/0x178) from [] 
(__dev_close_many+0x94/0xb8)
[  306.871198] [] (__dev_close_many+0x94/0xb8) from 
[] (__dev_close+0x3c/0x74)
[  306.880316] [] (__dev_close+0x3c/0x74) from [] 
(__dev_change_flags+0x8c/0x140)
[  306.889704] [] (__dev_change_flags+0x8c/0x140) from 
[] (dev_change_flags+0x18/0x48)
[  306.899548] [] (dev_change_flags+0x18/0x48) from 
[] (do_setlink+0x2b8/0x784)
[  306.908755] [] (do_setlink+0x2b8/0x784) from [] 
(rtnl_newlink+0x250/0x460)
[  306.91] [] (rtnl_newlink+0x250/0x460) from [] 
(rtnetlink_rcv_msg+0x19c/0x1b0)
[  306.927439] [] (rtnetlink_rcv_msg+0x19c/0x1b0) from 
[] (netlink_rcv_skb+0x58/0xac)
[  306.937189] [] (netlink_rcv_skb+0x58/0xac) from 
[] (rtnetlink_rcv+0x18/0x24)
[  306.946394] [] (rtnetlink_rcv+0x18/0x24) from [] 
(netlink_unicast+0xac/0x18c)
[  306.955689] [] (netlink_unicast+0xac/0x18c) from 
[] (netlink_sendmsg+0x5e0/0x65c)
[  306.965352] [] (netlink_sendmsg+0x5e0/0x65c) from 
[] (sock_sendmsg+0x88/0xa4)
[  306.974651] [] (sock_sendmsg+0x88/0xa4) from [] 
(___sys_sendmsg.part.11+0x17c/0x200)
[  306.984586] [] (___sys_sendmsg.part.11+0x17c/0x200) from 
[] (__sys_sendmsg+0x4c/0x70)
[  306.994611] [] (__sys_sendmsg+0x4c/0x70) from [] 
(ret_fast_syscall+0x0/0x30)

[  307.003811] ---[ end trace ecd16f73a44784d1 ]---
[  307.009117] [ cut here ]
[  307.013973] WARNING: CPU: 0 PID: 1385 at 
drivers/net/ethernet/ti/cpsw.c:633 cpsw_rx_handler+0x10c/0x138()
[  307.023987] Modules linked in: rtc_ds1307 ftdi_sio snd_usb_audio 
snd_hwdep snd_usbmidi_lib uvcvideo snd_rawmidi videobuf2_vmalloc 
snd_seq_device videobuf2_memops videobuf2_core usbserial rtc_omap 
uio_pdrv_genirq uio loop
[  307.044551] CPU: 0 PID: 1385 Comm: ip Tainted: GW 
3.13.6-bone8 #1
[  307.051942] [] (unwind_backtrace+0x0/0xdc) from 
[] (show_stack+0x10/0x14)
[  307.060877] [] (show_stack+0x10/0x14) from [] 
(dump_stack+0x70/0x8c)
[  307.069354] [] (dump_stack+0x70/0x8c) from [] 
(warn_slowpath_common+0x64/0x88)
[  307.078741] [] (warn_slowpath_common+0x64/0x88) from 
[] (warn_slowpath_null+0x18/0x20)
[  307.088857] [] (warn_slowpath_null+0x18/0x20) from 
[] (cpsw_rx_handler+0x10c/0x138)
[  307.098700] [] (cpsw_rx_handler+0x10c/0x138) from 
[] (__cpdma_chan_process+0x110/0x128)
[  307.108906] [] (__cpdma_chan_process+0x110/0x128) from 
[] (cpdma_chan_stop+0xd0/0x16c)
[  307.119021] [] (cpdma_chan_stop+0xd0/0x16c) from 
[] (cpdma_ctlr_stop+0x58/0xa8)
[  307.128501] [] (cpdma_ctlr_stop+0x58/0xa8) from 
[] (cpsw_ndo_stop+0xc8/0x178)
[  307.137799] [] (cpsw_ndo_stop+0xc8/0x178) from [] 
(__dev_close_many+0x94/0xb8)
[  307.147186] [] (__dev_close_many+0x94/0xb8) from 
[] (__dev_close+0x3c/0x74)
[  307.156301] [] (__dev_close+0x3c/0x74) from [] 
(__dev_change_flags+0x8c/0x140)
[  307.165688] [] (__dev_change_flags+0x8c/0x140) from 
[] (dev_change_flags+0x18/0x48)
[  307.175529] [] (dev_change_flags+0x18/0x48) from 
[] (do_setlink+0x2b8/0x784)
[  307.184733] [] (do_setlink+0x2b8/0x784) from [] 
(rtnl_newlink+0x250/0x460)
[  307.193754] [] (rtnl_newlink+0x250/0x460) from [] 
(rtnetlink_rcv_msg+0x19c/0x1b0)
[  307.203414] [] (rtnet

[beagleboard] Re: BB-ADC analog input update

2014-03-31 Thread notnyt
It's a bug.  Being discussed here.

http://marc.info/?l=linux-iio&m=139623868828389&w=2

It is introduced by patch 

0019-iio-ti_am335x_adc-Add-continuous-sampling-and-trigge.patch


On Monday, March 31, 2014 9:42:13 AM UTC-4, Jorgen wrote:
>
> That would be nice. My application requires more than one ADC.
>
> I did a little experimenting, and unfortunately it seems the the 
> relationship is more complex. For example if I reboot, and read from AIN3, 
> the value updates for every read. I then read from AIN4, after which I 
> still see the AIN3 update for every read. I then read from AIN0, and AIN3 
> starts updating only on every second read. I then read from AIN1, but 
> AIN3 still updates every second read. I then tried reading from AIN0-AIN6, 
> after that AIN3 updates every 4th read. After which I invoked the FSM with 
> a cry of argh!
>

-- 
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: Building QT small issue

2014-03-31 Thread kenny . difiore
Try to add -qt-zlib to your configure flags.

On Thursday, December 26, 2013 8:27:58 AM UTC-5, jmalcov...@gmail.com wrote:
>
> Hello,
>
> I am some kind stuck for few days, googling everything possible.
> I try to cross-compile Qt 4.8.5 with 
> gcc-linaro-arm-linux-gnueabihf-4.8-2013.11. The configure step completes 
> well but make always fails with:
>
> c:/program 
> files/linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.11/bin/../arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/crt1.o:
>  
> In function `_start':
> :(.text+0x28): undefined reference to 
> `main'./tmp\obj\release_shared\qthread_unix.obj: In function 
> `QThreadPrivate::createEventDispatcher(QThreadData*)'
> :qthread_unix.cpp:(.text+0x2e4): undefined reference to 
> `QEventDispatcherGlib::QEventDispatcherGlib(QObject*)'
> qthread_unix.cpp:(.text+0x374): undefined reference to 
> `QEventDispatcherGlib::versionSupported()'
> ./tmp\obj\release_shared\qbytearray.obj: In function `qUncompress(unsigned 
> charconst*, int)'
> :qbytearray.cpp:(.text+0x4f0): undefined reference to `uncompress'
> and so on...
>
> Actually the make starts with corelib, compiles all files ad when try to 
> link  -o ..\..\lib\libcorelib.a it fails.
> It looks like the linker tries to make a app object instead of library.
>
> My qmake.conf is as following:
>
> #
> # qmake configuration for building with arm-none-linux-gnueabi-g++
> #
>
> include(../../common/linux.conf)
> include(../../common/gcc-base-unix.conf)
> include(../../common/g++-unix.conf)
> include(../../common/qws.conf)
>
> MAKEFILE_GENERATOR  = MINGW
> CONFIG += no_import_libs no_generated_target_info
>
> # modifications to g++.conf
> QMAKE_CC= arm-linux-gnueabihf-gcc
> QMAKE_CXX   = arm-linux-gnueabihf-g++
> QMAKE_LINK  = arm-linux-gnueabihf-g++
> QMAKE_LINK_SHLIB= arm-linux-gnueabihf-g++
>
> QMAKE_LIB   = arm-linux-gnueabihf-ar
> QMAKE_AR= arm-linux-gnueabihf-ar cqs
> QMAKE_OBJCOPY   = arm-linux-gnueabihf-objcopy
> QMAKE_STRIP = arm-linux-gnueabihf-strip
>
> QMAKE_RUN_CC= $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src
> QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
> QMAKE_RUN_CXX   = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src
> QMAKE_RUN_CXX_IMP   = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
> QMAKE_INCDIR=
> QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
> QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
> QMAKE_MOC   = $$[QT_INSTALL_BINS]\\moc.exe
> QMAKE_UIC   = $$[QT_INSTALL_BINS]\\uic.exe
> QMAKE_IDC   = $$[QT_INSTALL_BINS]\\idc.exe
> QMAKE_COPY  = copy /y
> QMAKE_COPY_DIR  = xcopy /s /q /y /i
> QMAKE_MOVE  = move
> QMAKE_DEL_FILE  = del
> QMAKE_MKDIR = mkdir
> QMAKE_DEL_DIR   = rmdir
> QMAKE_CHK_DIR_EXISTS= if not exist
> QMAKE_IDL   = midl
> QMAKE_ZIP   = zip -r -9
>
> # = -march=armv7-a -mtune=cortex-a8 -mthumb -mfpu=neon -mfloat-abi=softfp 
> -Wa,-mimplicit-it=thumb
> ARM_CFLAGS = -march=armv7-a -mtune=cortex-a8 -mthumb -mfpu=neon -mfloat-
> abi=hard -Wa,-mimplicit-it=thumb -marm -mthumb-interwork
> #ARM_CFLAGS = -march=armv7-a -mtune=cortex-a8
>
> #TARGET_SYSROOT  = C:\Program 
> Files\Linaro\gcc-linaro-arm-linux-gnueabihf-4.8-2013.11\arm-linux-gnueabihf\libc
> #TARGET_QTDIR= C:\Qt-build\build
>
> #modifications to gcc-base.conf
> QMAKE_CFLAGS   += $$ARM_CFLAGS
> QMAKE_CXXFLAGS += $$ARM_CFLAGS
>
> #QMAKE_CFLAGS_RELEASE += $$ARM_CFLAGS
> #QMAKE_CXXFLAGS_RELEASE += $$ARM_CFLAGS
>
> QMAKE_LIBS += -lrt -lpthread -ldl
> QMAKE_LFLAGS   += $${QMAKE_LFLAGS_RPATH}$$[QT_INSTALL_LIBS]
> !isEmpty(TARGET_QTDIR) {
> QMAKE_LFLAGS   += $${QMAKE_LFLAGS_RPATH}$${TARGET_QTDIR}/lib
> }
> !isEmpty(TARGET_SYSROOT) {
> QMAKE_LFLAGS   += $${QMAKE_LFLAGS_RPATH}$${TARGET_SYSROOT}/lib:$${
> TARGET_SYSROOT}/usr/lib
> QMAKE_LFLAGS   += -Wl,--dynamic-linker=$${TARGET_SYSROOT}/lib/ld-
> linux.so.3
> }
>
> And the configure has the following options:
>
> -fast -release -prefix C:\Qt-build\build -opensource -confirm-license 
> -no-phonon 
> -xplatform qws/linux-arm-gnueabi-g++ -embedded -arch arm -neon -no-mmx -no
> -3dnow -no-opengl -no-sse -no-sse2 -no-cups -no-accessibility -no-openssl 
> -little-endian -no-webkit -no-qt3support -no-vcproj -no-dsp -nomake 
> examples -nomake demos -nomake docs -nomake translations
>
>
>
> Any help will be greatly appreciated
>
>
>
>
>
>

-- 
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] Here is the BeagleBone Debian (beta + fixes) image you want to test (2014-03-27)

2014-03-31 Thread Robert Nelson
On Sat, Mar 29, 2014 at 10:49 PM, William Hermans  wrote:
> Charles, Ok will give it a shot after this weekend. Actually though, if I
> had jus ta stock image of a beagle, perhaps the one taken from beagle.org, I
> could do the rest from scratch myself. The text coloring on that image may
> not mesh well with a light blue or dark grey background. But that is pretty
> easy to test, so I'll check it out.

Hi William,

For reference, the current images are stored in git here:

https://github.com/RobertCNelson/boot-scripts/tree/master/images

They were corrupted in angstrom's git repo, so i took the original
from an older Angstrom image.

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] Here is the BeagleBone Debian (beta + fixes) image you want to test (2014-03-27)

2014-03-31 Thread Robert Nelson
On Sat, Mar 29, 2014 at 6:03 AM, Charles Steinkuehler
 wrote:
> On 3/28/2014 5:12 PM, Charles Steinkuehler wrote:
>> On 3/28/2014 5:04 PM, Robert Nelson wrote:
>>> On Fri, Mar 28, 2014 at 5:00 PM, Charles Steinkuehler
>>>  wrote:
 * Given the target audience, I would add a terminal short-cut on the
 application launch bar next to the web browser.  It's not hard to get to
 on the menu, but that's one of the first changes I made to the 3/19 image.
>>>
>>> Sounds like a nice addon, do you have an example i can pull in?
>>
>> I just right-clicked the application launcher section and added the
>> terminal program.  I can crawl around and try to find the modified file
>> if that would help.
>
> I found the config file under .config.  It looks easy enough to make a
> diff to add the terminal button, I'll try to verify it works properly
> from a fresh install and send it along.
>
> Another feature I forgot to mention:
> You might want to disable the password request when running sudo, since
> the system is automatically logging folks in.  To do this, you drop a
> file in /etc/sudoers.d and remove the user from the admin list.  Details:
>
> https://github.com/cdsteinkuehler/omap-image-builder/blob/MachineKit/machinekit/scripts/110.etc.shr#L12

Thanks Charles,

Just pushed this too..

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] Here is the BeagleBone Debian (beta + fixes) image you want to test (2014-03-27)

2014-03-31 Thread Robert Nelson
On Fri, Mar 28, 2014 at 5:00 PM, Charles Steinkuehler
 wrote:
> On 3/27/2014 3:26 PM, Robert Nelson wrote:
>> Thanks to everyone for testing the beta images!
>>
>> In this last last week window I've rolled in many of your changes.
>>
>> So please continue to use the bug tracker:
>> http://bugs.elinux.org/projects/debian-image-releases
>
> I haven't been able to get the elinux bug tracker to let me post
> anything, so forgive me for posting a few comments here.  These are from
> the 3/19 image, so I apologize if any have been addressed, and they
> mostly fall under "personal preference" rather than actual bugs.
>
> * I like to add console=tty0 so startup kernel messages go to both the
> serial console and to the HDMI screen, if connected.  While less
> information is displayed with systemd than previously, if the kernel
> hangs for some reason at boot this could avoid the need for a serial
> cable which a lot of people won't have.

I just pushed this..

> * Given the target audience, I would add a terminal short-cut on the
> application launch bar next to the web browser.  It's not hard to get to
> on the menu, but that's one of the first changes I made to the 3/19 image.

This got interesting, the file we need to modify:

/home/debian/.config/lxpanel/LXDE/panels/panel

Is actually generated on first bootup, so we can't patch it prior.

>
> * I'm not sure who made the black desktop background, but I find it
> horrid (just the black part...the beagle is cute!) and would much rather
> see something lighter.  I'm not aware of any other GUI environment that
> ships with a black background as default, and out of all the
> professional programmers I know, only one uses this sort of color scheme.
>
> I'm working through the process of trying to install MachineKit /
> LinuxCNC via packages (including the kernel and Xenomai user-mode), and
> will switch to the new image for further testing.
>
> Keep up the great work!

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] An Automated Smart Pet Feeder Project

2014-03-31 Thread jproject . kim
Hi lisarden,

I'm not sure if you watched the whole video or went through our website but 
you can have personal feeding schedule for your pet, for automated feeding.

So, from the video/website, you can see that it will automatically feed 3/4 
cup of food at 6 am, 1/2 cup of food at 2 pm, and another 1/2 cup of food 
at 7:30 pm.

The "feed now" button was intended to be used so that you can see your pet 
come to the feeder and check up on your pet through the webcam feature, 
which overrides whatever next personal feeding schedule you had for your 
pet.

Please let me know if you have any other concerns or suggestions. We 
appreciate your feedback.


Thank you.


On Monday, March 31, 2014 8:57:57 AM UTC-4, lisarden wrote:
>
> And what is automated there? It involves your finger and a smartphone 
> anyway. Just don't be lazy and go feed your pet personally or, don't be 
> lazy again, and create something really automated that does not involve 
> your activity at all.
>
>
> 2014-03-30 8:16 GMT+04:00 >:
>
>> Hello everyone,
>>
>> I began a startup project with my co-founder after realizing that I did 
>> not want to get up at 6 am everyday to feed my new cat that I got few 
>> months ago. Also, my co-founder recently got a dog and he did not want to 
>> worry about feeding his dog when he went out for drinks and social events 
>> during Fridays and weekends.
>>
>> So, we designed an automated smart pet feeder with a camera, which is 
>> controlled through an Android app. I began building it last October with 
>> Raspberry Pi as the main brain of the machine for our first prototype. But, 
>> after much research, I quickly switched over to the Beaglebone for more 
>> GPIOs and various other pins, developer friendly communities and suppliers, 
>> etc.
>>
>> The machine consists of the following things:
>>
>> - Beaglebone (programmed in C/C++)
>> - Home etched circuit board with x4 RGB LEDs
>> - Servo motors to control the dispensing and the amount as well
>> - IR sensors to indicate the internal food storage level
>> - One camera facing forward and one camera showing the bowl
>>
>> We have finished our second prototype and we will be Kickstarting in 
>> April.
>>
>> Please check us out at getnibbles.com for a quick demo and more info! 
>> Your feedback is greatly appreciated.
>>
>>
>> Thank you for your support!
>>
>>  -- 
>> 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.
>>
>
>
>
> -- 
> LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
> Company - http://www.linkedin.com/company/mentorel
> Facebook - https://www.facebook.com/mentorel.company
>  

-- 
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: OpenCV : VIDIOC_REQBUFS: Cannot allocate memory

2014-03-31 Thread ajblair1222
Has anyone come up with a solution for this?  I've tried both the Angstrom 
and Debian images as well as the V4l2 grabber code that was posted above, 
but all produce the memory allocation error.  Cheese can capture images. 
 It looks like cheese uses a custom camera object based on GLib.  Is there 
no way to use openCV or V4l2 to capture directly from the cape?  Thanks,

aj

On Thursday, March 21, 2013 1:28:38 AM UTC-5, Linux Omicron wrote:
>
> Hello All,
>
> I am working on a project with BeagleBone and 3.1 MP camera cape.
> The OS is Angstrorm : Linux beaglebone 3.2.34 #1 Wed Nov 21 14:17:11 CET 
> 2012
> I noticed that camera works well with cheese and mplayer but it doesn't 
> work with a simple OpenCV application to capture video from the camera.
>
> My application to capture video returns after following errors. It seems 
> that application doesn't able to get past to the call cvCaptureFromCAM.
>
> VIDIOC_REQBUFS: Cannot allocate memory
> munmap: Invalid argument
> munmap: Invalid argument
> munmap: Invalid argument
> munmap: Invalid argument
> Unable to stop the stream.: Bad file descriptor
> munmap: Invalid argument
> munmap: Invalid argument
> munmap: Invalid argument
> munmap: Invalid argument
> Floating point exception
>
> Running v4l2-ctl gives following information. Is it usual that the camera 
> doesn't use libv4l2?
>
> root@beaglebone:~# v4l2-ctl --info
> Driver Info (not using libv4l2):
> Driver name   : cssp_camera
> Card type : cssp_camera
> Bus info  : cssp_camera-000
> Driver version: 3.2.34
> Capabilities  : 0x0501
> Video Capture
> Read/Write
> Streaming
>
> Any direction to make the camera work with OpenCV?
>
> Thank you,
> Linux Omicron
>

-- 
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] ADC reference voltage Kernel 3.8

2014-03-31 Thread Jin
Hi all,

I am trying to use ADC on the AM3359. I am able to read the adc output from 
all 8 channels in a c/c++ program. The default VDD for ADC is 1.8v, but in 
my custom board, I am sending 1.6 V to VREFP, and would like to use this as 
reference voltage as this is much cleaner rail; hence more accurate ADC 
reading. I have done this in kernel 3.2 before by modifying ti_tscadc.c. I 
have taken brief look at the kernel 3.8, and seems it has changed a little 
bit.

So in summary, I am wondering,
1) Is there way to configure the ADC to external reference voltage in user 
space (or kernel?) and How?

Thanks in advance.

Regards,
Jinsuk

-- 
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: How to calculate speed of a motor using python and beagle board

2014-03-31 Thread deepak karki
Use the eQEP driver. 
Hereis a python 
binding for the same. Manually reading the GPIO is inviting 
trouble (+ python threads are not really parallel thanks to GIL).

Regards,
Deepak

On Monday, 31 March 2014 15:02:31 UTC+5:30, adityaraj...@gmail.com wrote:
>
> Hello I am trying to calculate the speed of the motor by calculating the 
> number of rising edges the encoder of my motor sends to beagle . It sends 
> approximately 400 rising edges(according to data sheet) for one rotation, 
> on counting the number of rising edges i understand how many rotations are 
> done and then i divide it by time so as to get the speed. I wrote a program 
> in python to get the count using threads one thread was used for seeing 
> whether the rising edge occurred on GPIO and the other to increment the 
> count. Now each time I run this for 10 rotations i get the count of around 
> 2000-2700 for the expected count of around 4000 
>
> So can anybody help me with this?? Is this the expected output??
>  And also can anybody suggest a better method to calculate speed of the 
> motor??
>

-- 
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: Problem with javascript program

2014-03-31 Thread gahagan
I'm getting this same error when attempting to read/poll two analog pins 
simultaneously. If I only poll 1 pin, it seems to work just fine. (I'm 
trying to poll two FSRs to determine 1) which FSR is being pressed and 2) 
how hard. There is almost nothing out there on the Interwebs about this 
particular errors, so assistance would be greatly appreciated!

On Saturday, March 1, 2014 1:12:55 PM UTC-5, Krystian Łygas wrote:
>
> Hallo
> I am writing here beacause i have problem with my program. I am debuging 
> in cloud9 ide. Program is running through few seconds, they works, but 
> later i have this error. "timers.js:103
> if (!process.listeners('uncaughtException').length) throw e;" 
> . Can anyone help me.
>
>> var b = require('bonescript');
>>
>> var k = 63;
>>
>> var  f = 174.5; 
>>
>> var  re = 130;
>>
>> var  rf = 119.5;
>>
>> var sqrt3 = Math.sqrt(3);
>>
>> var sin120 = sqrt3/2.0;   
>>
>> var cos120 = -0.5;
>>
>> var duty_min = 0.1250;
>>
>> b.pinMode('P9_14', b.OUTPUT);
>>
>> b.pinMode('P9_14', b.OUTPUT);
>>
>> b.pinMode('P9_14', b.OUTPUT);
>>
>> check();
>>
>> function check(){
>>
>> var analogone =(120*b.analogRead('P9_40')-60).toFixed(2);
>>
>> var analogtwo =(120*b.analogRead('P9_39')-60).toFixed(2);
>>
>> var analogthree =(80*b.analogRead('P9_38')-180).toFixed(2);
>>
>> console.log([analogone,analogtwo,analogthree]);
>>
>> calcinverse(analogone,analogtwo,analogthree);
>>
>> }
>>
>> function updateDuty(thetaone,thetatwo,thetathree) {
>>
>> var duty_cycleone = (thetaone*(-0.0006944))+duty_min;
>>
>> var duty_cycletwo = (thetatwo*(-0.0006944)) + duty_min;
>>
>> var duty_cyclethree = (thetathree*(-0.0006944)) + duty_min;
>>
>> b.analogWrite('P9_14', duty_cycleone, 60);
>>
>> b.analogWrite('P9_21', duty_cycletwo, 60);
>>
>> b.analogWrite('P8_13', duty_cyclethree, 60);
>>
>> console.log([duty_cycleone,duty_cycletwo,duty_cyclethree]);
>>
>> check();
>>
>> }
>>
>> function theta(x0,y0,z0)
>>
>> {
>>
>> var y1 = (-0.5) * 0.57735 * f;
>>
>> var y2 = y0 - (0.5 * 0.57735 * k);
>>
>> var  a = (x0*x0 + y2*y2 + z0*z0 +rf*rf - re*re - y1*y1)/(2*z0);
>>
>> var b = (y1-y2)/z0;
>>
>> var d = -(a+b*y1)*(a+b*y1)+rf*(b*b*rf+rf); 
>>
>>  if (d.value < 0)
>>
>>  {
>>
>> return;
>>
>>  }
>>
>>  var yj = (y1 - a*b - Math.sqrt(d))/(b*b + 1);
>>
>>  var zj = a + b*yj;
>>
>>  var h;
>>
>>  if (yj>y1)
>>
>>  {
>>
>>   h=180;
>>
>>  }
>>
>>  else
>>
>>  {
>>
>>  h=0;
>>
>>  }
>>
>>var thetaa = (180.0*Math.atan(-zj/(y1 - yj))/Math.PI)+h ;
>>
>>return thetaa;
>>
>> }  
>>
>> function calcinverse(x0, y0, z0)
>>
>> {
>>
>>  var thetaone =theta(x0,y0,z0);
>>
>>  var thetatwo= theta(x0*cos120 + y0*sin120, y0*cos120-x0*sin120, z0);
>>
>>  var thetathree= theta(x0*cos120 - y0*sin120, y0*cos120+x0*sin120, 
>>> z0);
>>
>>  console.log([thetaone,thetatwo,thetathree]);
>>
>>  updateDuty(thetaone,thetatwo,thetathree);
>>
>>  }
>>
>>   ^"
>

-- 
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: BB-ADC analog input update

2014-03-31 Thread Jorgen
That would be nice. My application requires more than one ADC.

I did a little experimenting, and unfortunately it seems the the 
relationship is more complex. For example if I reboot, and read from AIN3, 
the value updates for every read. I then read from AIN4, after which I 
still see the AIN3 update for every read. I then read from AIN0, and AIN3 
starts updating only on every second read. I then read from AIN1, but AIN3 
still updates every second read. I then tried reading from AIN0-AIN6, after 
that AIN3 updates every 4th read. After which I invoked the FSM with a cry 
of argh!

-- 
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: Windows 8 (64bit) driver install problems

2014-03-31 Thread edgars . gribusts
I tried both methods to solve the problem, but none of them worked

On Thursday, February 27, 2014 9:47:43 AM UTC+2, aravin...@gmail.com wrote:
>
> Thanks Piyush.
> It helped.
>
> On Tuesday, April 30, 2013 3:42:04 AM UTC+5:30, Piyush Agarwal wrote:
>>
>> Hi Kenny,
>>
>> As Jason noted the installer is unsigned, this means you need to restart 
>> Windows 8 in the mode where it allows you to install unsigned drivers.
>>
>> Here's a quick step-by-step guide:
>>
>> 1. Press win+c on the keyboard to bring up the charms side bar (or move 
>> mouse to right top corner of the screen)
>>
>> 2. Click the Settings button.
>>
>> 3. Click the Change PC Settings at the bottom of the sidebar.
>>
>> 4. On screen that shows up, select the General option from the sidebar 
>> then scroll down the page that appears.
>>
>> 5. Click the Restart now button under the Advanced startup section.
>>
>> 6. You will momentarily see the restarting screen, then it will switch to 
>> a blue screen titled "Choose an option"
>>
>> 7. Click the Troubleshoot button.
>>
>> 8. Click Advanced options.
>>
>> 9. Click Startup Settings
>>
>> 10. Click Restart
>>
>> 11. You should then see a Startup Settings screen after your computer 
>> reboots.
>>
>> 12. Press 7 or F7 on your keyboard to Disable driver signature enforcement
>>
>> 13. Now Windows 8 will continue starting up.
>>
>> 14. Log-in as normal, and then run BONE_D64.exe again
>>
>> 15. Now you should see 4 warning dialogs about "unsigned driver 
>> installation", click OK for all of them.
>>
>> Then you should be good to go!
>>
>>
>> Hope that helps,
>>
>> Piyush
>>
>> On Sunday, April 28, 2013 11:05:53 AM UTC-4, Kenny Lindberg wrote:
>>>
>>> Trying to install software for my Beaglebone Black on Win8-64 and 
>>> dpinst.exe fails.
>>> OSX seems to work, so I don't think it's a hardware issue.
>>>
>>> Is there a work around?
>>>
>>> Kenny
>>>
>>

-- 
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] Tesseract-ocr installation on beaglebone

2014-03-31 Thread William Pretty Security
There might be a cloud9 port to Ubuntu out there.

Otherwise you have to use C++

 

There are a number of tutorials out there and projects with C++

 

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of robert.g.gr...@gmail.com
Sent: Friday, March 28, 2014 7:44 PM
To: beagleboard@googlegroups.com
Subject: Re: [beagleboard] Tesseract-ocr installation on beaglebone

 

But if i install Ubuntu would I have access to the I/O of the board? 

On Friday, March 28, 2014 3:38:43 AM UTC+1, William Pretty Security wrote:

Why don’t you just install Ubuntu on the white?

I have it working perfectly. You will need an 8GB uSD card.

 

Just Google “Beaglebone Ubuntu”

 

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

 

From: beagl...@googlegroups.com   
[mailto:beagl...@googlegroups.com  ] On Behalf Of 
robert@gmail.com  
Sent: Thursday, March 27, 2014 8:13 PM
To: beagl...@googlegroups.com  
Subject: [beagleboard] Tesseract-ocr installation on beaglebone

 

Hi everyone,

Right now I am working on an embedded system using my BeagleboneA6 (white) and 
I'm trying to install tesseract-ocr. Unfortunately, I am not very familiar with 
Linux so I was trying to follow these steps 
http://miphol.com/muse/2013/05/install-tesseract-ocr-on-ubunt.html

I know that the instructions above are for Ubuntu and not Angstrom, but I gave 
it a try and failed. Can anyone help me out? 

 

Thanks in advance, 

Robert

 

-- 
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.

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4354 / Virus Database: 3722/7258 - Release Date: 03/27/14

-- 
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.



No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4355 / Virus Database: 3722/7275 - Release Date: 03/31/14

-- 
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 no EMMC activity at all

2014-03-31 Thread Gerald Coley
Reflash the eMMC. Should be no reason why you can't hold the boot button to
reflash the eMMC by booting from the SD slot..

http://www.elinux.org/Beagleboard:BeagleBoneBlack#Software_Resources

Gerald


On Fri, Mar 28, 2014 at 7:41 PM,  wrote:

>
> Hi guys, so I edited the uENV.txt file on my BBB, and now I can't mount
> the EMMC (mmcblk1, it is no longer in /dev) or connect it to my computer
> via USB. When powering on the BBB, the second user LED remains unlit,
> indicating that there is no activity on the EMMC. I can still boot from
> Ubuntu via SD card, but I want to flash Ubuntu to the EMMC, but I can't!
> Does anyone have any ideas/suggestions?
>
> --
> 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] An Automated Smart Pet Feeder Project

2014-03-31 Thread Maxim Podbereznyy
And what is automated there? It involves your finger and a smartphone
anyway. Just don't be lazy and go feed your pet personally or, don't be
lazy again, and create something really automated that does not involve
your activity at all.


2014-03-30 8:16 GMT+04:00 :

> Hello everyone,
>
> I began a startup project with my co-founder after realizing that I did
> not want to get up at 6 am everyday to feed my new cat that I got few
> months ago. Also, my co-founder recently got a dog and he did not want to
> worry about feeding his dog when he went out for drinks and social events
> during Fridays and weekends.
>
> So, we designed an automated smart pet feeder with a camera, which is
> controlled through an Android app. I began building it last October with
> Raspberry Pi as the main brain of the machine for our first prototype. But,
> after much research, I quickly switched over to the Beaglebone for more
> GPIOs and various other pins, developer friendly communities and suppliers,
> etc.
>
> The machine consists of the following things:
>
> - Beaglebone (programmed in C/C++)
> - Home etched circuit board with x4 RGB LEDs
> - Servo motors to control the dispensing and the amount as well
> - IR sensors to indicate the internal food storage level
> - One camera facing forward and one camera showing the bowl
>
> We have finished our second prototype and we will be Kickstarting in April.
>
> Please check us out at getnibbles.com for a quick demo and more info!
> Your feedback is greatly appreciated.
>
>
> Thank you for your support!
>
>  --
> 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.
>



-- 
LinkedIn - http://www.linkedin.com/in/maximpodbereznyy
Company - http://www.linkedin.com/company/mentorel
Facebook - https://www.facebook.com/mentorel.company

-- 
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] microSD Disk Size capacirty

2014-03-31 Thread Kumar Sukhani
Sorry,
The reply was to 'Crazy Monster' for the error - 'BLKRRPART: Device or 
resource busy error '

On Monday, March 31, 2014 6:10:05 PM UTC+5:30, RobertCNelson wrote:
>
> On Mon, Mar 31, 2014 at 7:06 AM, Kumar Sukhani  
> wrote: 
> > try following command 
> >> 
> >> sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone_dtb 
> > 
> > 
> > I was also getting same error, when I tried - 
> >> 
> >> sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone 
>
> No you weren't.. Totally different script/subject. 
>
> 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] Latest debian image 3-27-2014 can't download new programs "No space left on device"

2014-03-31 Thread Robert Nelson
On Sun, Mar 30, 2014 at 7:51 AM,   wrote:
> I am booting from the sd card not flashing the onboard memory. When I try
> type:
> sudo apt-get install gnash
>
> I end up getting the following error:
> E: IO Error to output - fwrite (28: No space left on device)
>
> I am using a 32 gig sd card which should be plenty of money.
>
> I am a newbie among newbies

see:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD

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] How to calculate speed of a motor using python and beagle board

2014-03-31 Thread adityarajendrajoshi
Hello I am trying to calculate the speed of the motor by calculating the 
number of rising edges the encoder of my motor sends to beagle . It sends 
approximately 400 rising edges(according to data sheet) for one rotation, 
on counting the number of rising edges i understand how many rotations are 
done and then i divide it by time so as to get the speed. I wrote a program 
in python to get the count using threads one thread was used for seeing 
whether the rising edge occurred on GPIO and the other to increment the 
count. Now each time I run this for 10 rotations i get the count of around 
2000-2700 for the expected count of around 4000 

So can anybody help me with this?? Is this the expected output??
 And also can anybody suggest a better method to calculate speed of the 
motor??

-- 
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: problems with webcams

2014-03-31 Thread adam
Hi all, 

I worked on this project a while back - www.ben-dror.com/pinokio I want to 
get it running on a beagle bone. 
I have purchased a BBB and a ps3 eye. OpenCV face-tracking seems to run at 
a very low frame-rate. I guess I am looking for around 15fps.
Please any insights would be greatly appreciated. 

Adam


On Wednesday, February 19, 2014 9:03:43 AM UTC+13, Michael Darling wrote:
>
> Glad I could help.  =]   Let me know what you find out after looking into 
> it a little bit more!
>
>
> On Tue, Feb 18, 2014 at 11:31 AM, > wrote:
>
>> you are absolutely right. at 1280x720 it is limited to 10 fps in YUYV 
>> format and i do get about 26fps in 640x480, but that could be just how fps 
>> are calculated. so it could be 30 in reality. 
>>
>> thank you.
>>
>>
>> On Tuesday, February 18, 2014 2:12:16 PM UTC-5, Michael Darling wrote:
>>
>>> My first question for you would be which pixel format are you capturing 
>>> in?  If you do a "v4l2-ctl -d /dev/videoX --list-formats-ext" in the 
>>> command line (where X is 0, 1, ...  whatever your C920 is) you can see the 
>>> various pixel formats, resolutions, and frame rates supported by the camera.
>>>
>>> For YUYV, the maximum frame rate at 1280x720 is 10 fps.  If you are 
>>> using H.264 or MJPEG, the maximum frame rate is 30 fps.
>>>
>>> I'm doubtful that that's your problem since you are still only getting 
>>> 15 fps at lower resolutions.  (Can you get 30 fps at 640x480?  That is the 
>>> resolution I am using for my own project and might serve as a good baseline 
>>> measurement.)
>>>
>>> My only other thought for now is that your actual measurement of the 
>>> frame rate could be wrong.  I don't have much experience with pthreads, but 
>>> I know that some of the "clock" functions in the  header have to be 
>>> handled differently when you are multi-threading.
>>>
>>> Those are my only ideas for now.  I'll keep racking my brain and let you 
>>> know if I come up with something else.
>>>
>>> - Mike
>>>
>>>
>>>  On Sun, Feb 16, 2014 at 10:57 AM,  wrote:
>>>
 Hello, ive been reading through the group and found i have found it 
 very helpful. i am running an odroid u2 with ubuntu 12.11 and opencv 
 2.4.6.1.
 i used the code i found in git 
 :/mdarling39/to
  capture from a logitech c920. i ran into an issue when i set the 
 resolution to 1280*720 the fps would not go past 10. however for any 
 smaller resolution i am able to get 15 fps no problem. the custom capture 
 code certainly does use less resources than the built in opencv function. 
 i 
 have 2 threads, the main for capturing and the second for processing both 
 of which do not max out their cpu so i cant figure out why im getting this 
 fps drop.


 any help would be appreciated.

 Thanks

 On Thursday, January 30, 2014 3:17:40 PM UTC-5, Matthew Witherwax wrote:

> If you bypass OpenCV and capture directly like we did, you should test 
> to see if you can capture successfully in YUYV format.  OpenCV can 
> convert 
> YUYV to a Mat with less than 3% cpu use.  If you capture in MJPEG, you 
> will 
> see cpu use of 90% or more to convert the image to a Mat.  This isn't so 
> bad on the Wandboard because it only consumes one core, but can be 
> intense 
> on the single core BBB.  I can tell you from testing with the Wandboard 
> Quad, it can push 30 fps in YUYV over USB.  However, it is only possible 
> to 
> stream from one camera at 30 fps in YUYV.  In short it is a tradeoff.  
> You 
> can either saturate the USB and save processing or save bandwidth and 
> increase processing. Something to consider depending on your needs.
>
>
> On Thu, Jan 30, 2014 at 12:53 PM, Michael Darling  > wrote:
>
>> Okay, so the problem you're having has to do with bugs in OpenCV, 
>> itself.  Unfortunately, the capture methods in OpenCV do not set the 
>> camera 
>> properties correctly for video4linux devices.  In other words, you may 
>> write the line of code to set the frame rate to 30 fps, but the camera 
>> isn't actually getting the instruction to change the frame rate.
>>
>> The fix Matthew and I have used is to just use our own video4linux 
>> capture code.  You might be able to modify the OpenCV source code, but 
>> the 
>> capture code is difficult to follow since there are so many layers of 
>> abstraction. (There are a lot of wrapper classes used to handle v4l2 
>> devices, v4l1 devices, Mac, Windows so that the programmer doesn't have 
>> to 
>> handle each camera differently depending on his/her system.)
>>
>> Hope that explains some things for you  :)
>> - Mike
>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscri

[beagleboard] Beaglebone Black connects to the wrong wireless SSID!

2014-03-31 Thread messerkling . ber

Hi,

I configured the File /etc/network/interfaces like this.

auto wlan0
iface wlan0 inet static
wireless-mode managed
wireless-essid EDV3-E90
address 10.2.90.101
netmask 255.255.0.0
gateway 10.2.255.254
dns-nameservers 10.10.10.10
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
pre-up wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant

But the BBB always connects to the wrong network.
Does anybody know a solution for this problem?


Regards,
Bernhard Messerklinger

-- 
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 Black won't boot from Micro SD, all LEDs remain lit

2014-03-31 Thread keenanprk
Gerald, I seem to be having a problem booting any image from a uSD. I 
originally tried putting other distros on the bbb when purchased back in Dec. 
Then I decided to just flash the eMMC with Angstrom, which seems to work fine. 

Now, however,  I am incorporating the radium camera cape into a project and I 
cannot seem to boot with their modified Angstrom image, which apparently is 
required to be used via uSD because the cape interferes with the eMMC.

Trying to boot from this and any other image produces user LED activity for 
about 3-5 minutes, and appears to be booting from uSD based on lights. Then 
suddenly without warning, the LED activity stops and the 2 middle user LEDs 
stay lit solid, along with the pwr light. I know this is related to power 
failure in other cases, but wondering if that is the same issue here? I have 
been using a combination of bench top and wall wart pwr supplies, all rated at 
5V/2A.

Any thoughts?
Peter

-- 
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] Latest debian image 3-27-2014 can't download new programs "No space left on device"

2014-03-31 Thread frst_t
I am booting from the sd card not flashing the onboard memory. When I try 
type:
sudo apt-get install gnash
 
I end up getting the following error:
E: IO Error to output - fwrite (28: No space left on device)
 
I am using a 32 gig sd card which should be plenty of money. 
 
I am a newbie among newbies
 

-- 
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] Beagleboard-xm Wifi Issue (can see the wifi device by lsusb bot cannot make it work)

2014-03-31 Thread elucidation
This got me on the path to success, I needed to copy the rtlwifi folder 
inside the git (linux-firmware/rtlwifi/*) to /lib/firmware 
(/lib/firmware/rtlwifi/*) for my wifi dongle (Edimax ew-7811un).

Lots of messing around with the /etc/network/interfaces file to get it to 
auto start wlan0 properly but I was able to successfully get a wifi ssh 
connection with no ethernet cable connected.

On Monday, 8 October 2012 20:06:42 UTC-4, RobertCNelson wrote:
>
> On Mon, Oct 8, 2012 at 5:54 PM, Amadeus Bachmann 
> > wrote: 
> > Robert, first of all I would like to thank you for spending time on my 
> > problem and helping me: 
> > 
> > I did as you said and here are the outputs: 
> > 
> > root@beagleboard:~# cd /lib/firmware/ 
> > root@beagleboard:/lib/firmware# git clone 
> > git://git.kernel.org/pub/scm/linux/ker 
> > nel/git/firmware/linux-firmware.git 
> > Initialized empty Git repository in /lib/firmware/linux-firmware/.git/ 
>
> Crap, i knew that would happen after reading what i sent.. the "." at 
> the end turned to a new line.. 
>
> mv /lib/firmware/linux-firmware/r*.bin /lib/firmware/ 
>
> and they'll be in the right place. ;) 
>
> (after moving them, you can remove  /lib/firmware/linux-firmware/ to 
> save space..) 
>
> > remote: Counting objects: 1817, done. 
> > remote: Compressing objects: 100% (1116/1116), done. 
> > remote: Total 1817 (delta 944), reused 1336 (delta 671) 
> > Receiving objects: 100% (1817/1817), 34.25 MiB | 80 KiB/s, done. 
> > Resolving deltas: 100% (944/944), done. 
> > Checking out files: 100% (586/586), done. 
> > 
> > root@beagleboard:/lib/firmware# ls 
> > edgeport  keyspan_pda mts_edge.fw  ti_3410.fw  whiteheat.fw 
> > emi26 linux-firmware  mts_gsm.fw   ti_5052.fw  whiteheat_loader.fw 
> > emi62 mts_cdma.fw omap4vicam 
> > 
> > root@beagleboard:~# lsmod 
> > Module  Size  Used by 
> > rfcomm 33484  0 
> > ircomm_tty 30305  0 
> > ircomm 16429  1 ircomm_tty 
> > irda  162973  2 ircomm_tty,ircomm 
> > ipv6  249063  14 
> > hidp   11193  0 
> > l2cap  30104  4 rfcomm,hidp 
> > bluetooth  49221  3 rfcomm,hidp,l2cap 
> > rfkill 14838  1 bluetooth 
> > minix  25759  0 
> > mt9t112 9246  0 
> > 
>
> 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] How to use clock output (CLKOUT2)

2014-03-31 Thread gregory . holst
I need a clock signal for the LT8500 pwm chips and it would be nice to use 
the clock output on the beaglebone rather than an external oscillator.  My 
guess is that it runs at the 24Mhz clock on the beaglebone which will work 
for the LT8500s but I don't really care what frequency it is for my 
application.  I'm driving DC motors so a few kHz is all I need really.  The 
LT8500s divides the clock frequency to create the PWM frequency.  For 
example, an input of 25Mhz gives a 6kHz PWM signal on all 48 outputs.  Just 
out of curiosity,

1) Is the clock frequency configurable?
2) Can any of the GPIO pins be configured to produce a clock signal?
3) If so, what frequency ranges?
4) I read somewhere about timers.  How do those work?

I quickly searched the Technical Reference Manual but I didn't see anything 
about the clkout2 pin or the timers.  Is there another reference I should 
look at?

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.


[beagleboard] Re: BB-ADC analog input update

2014-03-31 Thread notnyt
I'm seeing the same issue.  The number of reads it takes to get the actual 
value seems to correspond to the number of analog pins you have read from.  
If you have only read from one adc pin, you will get the correct values 
each time.  I've mailed those who were listed on the commits for 
ti_am33x_adc.  Hopefully we will get a response.


On Friday, March 21, 2014 6:56:11 AM UTC-4, Jorgen wrote:
>
> I have enabled the analog inputs on a Beaglebone Black by adding BB-ADC to 
> optargs in uEnv.txt:
>
> optargs=capemgr.disable_partno=BB-BONELT-HDMI 
> capemgr.enable_partno=BB-SPIDEV0,BB-SPIDEV1,BB-UART1,BB-ADC
>
>
> The basic analog input works, if I do a:
>
> cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
>
> it returns a value which is proportional to the applied voltage.
>
> However the value is not always up-to-date. If I change the input voltage, 
> I can read the old input voltage several times before I can read the 
> correct value. The strange part is that I am obviously not just reading a 
> stored value, because the LSB can change on subsequent reads, until I 
> finally read the correct value:
>
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 489
>
> The applied voltage is now halved (from ~200mV to ~100mV). I wait for 
> about 1 second between each read:
>
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 489
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 488
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 489
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 489
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 489
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 488
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 489
> jsa@bb00:~$ cat /sys/bus/iio/devices/iio:device0/in_voltage3_raw
> 243
>
> Finally I read the correct value. What is going on? Can I force an update 
> (sample)?
>

-- 
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] An Automated Smart Pet Feeder Project

2014-03-31 Thread jproject . kim
Hello everyone,

I began a startup project with my co-founder after realizing that I did not 
want to get up at 6 am everyday to feed my new cat that I got few months 
ago. Also, my co-founder recently got a dog and he did not want to worry 
about feeding his dog when he went out for drinks and social events during 
Fridays and weekends.

So, we designed an automated smart pet feeder with a camera, which is 
controlled through an Android app. I began building it last October with 
Raspberry Pi as the main brain of the machine for our first prototype. But, 
after much research, I quickly switched over to the Beaglebone for more 
GPIOs and various other pins, developer friendly communities and suppliers, 
etc.

The machine consists of the following things:

- Beaglebone (programmed in C/C++)
- Home etched circuit board with x4 RGB LEDs
- Servo motors to control the dispensing and the amount as well
- IR sensors to indicate the internal food storage level
- One camera facing forward and one camera showing the bowl

We have finished our second prototype and we will be Kickstarting in April.

Please check us out at getnibbles.com for a quick demo and more info! Your 
feedback is greatly appreciated.


Thank you for your support!

-- 
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: linux 3.8 PWM guide?

2014-03-31 Thread longqi90
Is it because of the pwm_test.c that kind of thing?
I'm just don't know what's the connection between the device overlay tree 
and c/cpp driver?

On Saturday, November 16, 2013 3:00:29 PM UTC+8, Giuseppe Iellamo wrote:
>
> Yes I'm using Ubuntu 13.04 as my userland.
>
> It is working faily well but sometimes (once in a second) I have latancies 
> that approaces 1 ms... I'm reasoning about writing a xenomai kernel space 
> driver for PWM/eqep
>
> Il giorno giovedì 14 novembre 2013 20:15:39 UTC+1, lmm...@gmail.com ha 
> scritto:
>>
>> Was this using Ubuntu?
>>
>> On Thursday, October 31, 2013 3:28:55 AM UTC-7, Giuseppe Iellamo wrote:
>>>
>>> Just my two cent,
>>>
>>> after some struggling with the eQep support
>>>
>>> I'm currently using BBB with 3.8.13-bone28 xenomai patched and both of 
>>> PWM and encoder reading are working well.
>>>
>>>
>>>
>>> Il giorno giovedì 31 ottobre 2013 01:44:33 UTC+1, RobertCNelson ha 
>>> scritto:

 On Wed, Oct 30, 2013 at 7:39 PM,   wrote: 
 > Just a short comment: 
 > 
 > Using Beagleboard bone, and ubuntu 3.8 with kernel: 
 > -  Linux ubuntu-armhf 3.8.13-bone28: pwm IS working 
 > -  Linux ubuntu-armhf 3.8.13-bone20: pwm is NOT working 

 and for some reason, users seem to not want to upgrade from bone20 to 
 bone28... Not sure why. ;) 

 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] BBB//ADXL375Z//Adafruit BBIO.SPI

2014-03-31 Thread stuartr153

I am working on a design project involving a BeagleBone Black and an 
ADXL375 Accelerometer.

Per the data sheet (link below), in order to enable the maximum sampling 
rate of the ADXL375, I need my BBB to communicate with the ADXL375 over SPI 
(I2C is not fast enough for this).

I have used the Adafruit library for I2C just to test the functionality of 
the ADXL375, and I can confirm that the accel. does in fact work. However, 
I am unsure of how to even perform a simple read of the ADXL375 DEVID 
register using SPI. I have included my steps for how I think a read should 
be performed, but I suspect that this process is incorrect as I get no 
output.

Process for reading from SPI (from python terminal):

from Adafruit_BBIO.SPI import SPI

#using SPI bus 0 on P9 of BBB, assuming i'm using dev0, not really sure how 
to determine this, but I have no other peripherals connected
spi = SPI(0,0)

#set desired frequency, 2MHz
spi.msh = 200

#per the ADXL375 datasheet, when performing a read, need to send a byte 
where bits 0-5 are address bits (DEVID register is 0x0), bit 6 is a 
multiple bytes bit (for reading/writing multiple bytes), and bit 7 is a 
read/write bit where read is '1' and write is '0'

#so I use 0b1000 or 0x80 and call writebytes
spi.writebytes([0x80])

>From here I receive no output, even if I do spi.readbytes(1), I get [0] 
back.

I have a pretty good understanding of Linux, Python, C, and the concept of 
SPI seems simple enough, but this is my first experience with a BBB. I feel 
like I am missing something simple like setting CS low.

Here is some info about my BBB:
lsb_release -a
Distributor ID: Angstrom
Description: Angstrom GNU/Linux v2012.12 (Core edition)
Release: v2012.12
Codename: Core edition

uname -a
Linux beaglebone 3.8.13 #1 SMP Wed Sep 4 09:09:32 CEST 2013 armv7l GNU/Linux

I'm happy to come back with any additional info.

Thanks,
Stuart

Datasheet for ADXL375:

http://www.analog.com/static/imported-f ... 
DXL375.PDF

User guide for the breakout board for my accelerometer (ADXL375Z) in case 
it is helpful:

http://www.analog.com/static/imported-f ... 
_Guide.pdf

-- 
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] BBB//ADXL375Z//Adafruit BBIO.SPI

2014-03-31 Thread stuartr153
I am working on a design project involving a BeagleBone Black and an 
ADXL375 Accelerometer.

Per the data sheet (link below), in order to enable the maximum sampling 
rate of the ADXL375, I need my BBB to communicate with the ADXL375 over SPI 
(I2C is not fast enough for this).

I have used the Adafruit library for I2C just to test the functionality of 
the ADXL375, and I can confirm that the accel. does in fact work. However, 
I am unsure of how to even perform a simple read of the ADXL375 DEVID 
register using SPI. I have included my steps for how I think a read should 
be performed, but I suspect that this process is incorrect as I get no 
output.

Process for reading from SPI (from python terminal):

from Adafruit_BBIO.SPI import SPI

#using SPI bus 0 on P9 of BBB, assuming i'm using dev0, not really sure how 
to determine this, but I have no other peripherals connected
spi = SPI(0,0)

#set desired frequency, 2MHz
spi.msh = 200

#per the ADXL375 datasheet, when performing a read, need to send a byte 
where bits 0-5 are address bits (DEVID register is 0x0), bit 6 is a 
multiple bytes bit (for reading/writing multiple bytes), and bit 7 is a 
read/write bit where read is '1' and write is '0'

#so I use 0b1000 or 0x80 and call writebytes
spi.writebytes([0x80])

>From here I receive no output, even if I do spi.readbytes(1), I get [0] 
back.

I have a pretty good understanding of Linux, Python, C, and the concept of 
SPI seems simple enough, but this is my first experience with a BBB and 
SPI. I feel like I am missing something simple like setting CS low.

Here is some info about my BBB:
lsb_release -a
Distributor ID: Angstrom
Description: Angstrom GNU/Linux v2012.12 (Core edition)
Release: v2012.12
Codename: Core edition

uname -a
Linux beaglebone 3.8.13 #1 SMP Wed Sep 4 09:09:32 CEST 2013 armv7l GNU/Linux

I'm happy to come back with any additional info.

Thanks,
Stuart

Datasheet for ADXL375:

http://www.analog.com/static/imported-f ... 
DXL375.PDF

User guide for the breakout board for my accelerometer (ADXL375Z) in case 
it is helpful:

http://www.analog.com/static/imported-f ... 
_Guide.pdf

-- 
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] Tesseract-ocr installation on beaglebone

2014-03-31 Thread robert . g . grech
But if i install Ubuntu would I have access to the I/O of the board? 

On Friday, March 28, 2014 3:38:43 AM UTC+1, William Pretty Security wrote:
>
> Why don’t you just install Ubuntu on the white?
>
> I have it working perfectly. You will need an 8GB uSD card.
>
>  
>
> Just Google “Beaglebone Ubuntu”
>
>  
>
>
> http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book
>
>  
>
> *From:* beagl...@googlegroups.com  [mailto:
> beagl...@googlegroups.com ] *On Behalf Of *
> robert@gmail.com 
> *Sent:* Thursday, March 27, 2014 8:13 PM
> *To:* beagl...@googlegroups.com 
> *Subject:* [beagleboard] Tesseract-ocr installation on beaglebone
>
>  
>
> Hi everyone,
>
> Right now I am working on an embedded system using my BeagleboneA6 (white) 
> and I'm trying to install tesseract-ocr. Unfortunately, I am not very 
> familiar with Linux so I was trying to follow these steps 
> http://miphol.com/muse/2013/05/install-tesseract-ocr-on-ubunt.html
>
> I know that the instructions above are for Ubuntu and not Angstrom, but I 
> gave it a try and failed. Can anyone help me out? 
>
>  
>
> Thanks in advance, 
>
> Robert
>
>  
>
> -- 
> 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.
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4354 / Virus Database: 3722/7258 - Release Date: 03/27/14
>

-- 
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] read only file system with Angstrom

2014-03-31 Thread chris . samsoon
Hi Onzen,

Any luck in the GPIO solution when trying to mount the root filesystem as 
read-only? I am also considering to put the whole of the rootfs as readonly 
but just like you I am also using the GPIO via the normal write(), read() 
operations.

I apologize that I digged up such an old post, but I would like to know if 
you have solved the problem since.


On Wednesday, December 5, 2012 5:08:46 PM UTC+8, özen özkaya wrote:
>
> This is really a very smart scenario Rico. I will also follow that :)
>
> Read only filesystem gives a solid solution across corruptions. But on the 
> other side I have faced a problem with writing GPIO's. Because all the root 
> filesystem is read only, I can not write GPIO states. This is a very bad 
> problem for functionality an today I am digging about how to change GPIO 
> state. If I find a solution, I will write it here.
>
> Thank you for all!
> Have a nice day
>
> Regards
> Özen
>
> 2012/12/5 Rico >
>
>> Hello Özen,
>>
>> thats exactly what I did :)
>> I^ve created another partition on the sd card and mount that rw to have 
>> non-volatile memory, that works very well. Beside of that, I have a tool on 
>> the read-only filesystem that tries to mount the rw partition and tries to 
>> start my application, which is on the rw partition. If this fails, I format 
>> the rw partition from within that tool and start a backup tool which is 
>> located on the ro partition as well. 
>>
>> On Tuesday, 4 December 2012 13:53:01 UTC+1, Özen Özkaya wrote:
>>
>>> Hi Rico,
>>>
>>> I am really really proud of you. Thank you!
>>> In the current case I have followed your instructions and get my rootfs 
>>> read-only. Thank you again and again.
>>>
>>> As you mentioned my home folder is also read only and I have no 
>>> non-volotile writable memory region left but I have a plan.
>>> In the current case I have two memory regions (boot and rootfs). I will 
>>> make three memory regions (boot,rootfs,data)
>>> The third memory region(data) will be mounted as rw. Hence I will get a 
>>> non-volatile writable region also. I think this will work.
>>>
>>> Thank you for all Rico! 
>>>
>>> Regards.
>>>
>>>
>>> 2012/12/4 Rico 
>>>
>>> Hi Özen

 1) In the bootloader, you have to mount the partition that contains 
 your filesystem ro, but that was already the case in my bootlader so I did 
 not have to change that.
 2) In /lib/systemd/system/remount-rootfs.service I just commented out 
 the the line that starts with "ExecStart" so the root filesystem does not 
 get remounted as rw
 3) in fstab, you dont have to change the rootfs entry, but you have to 
 make sure that fstab contains these two lines:

 tmpfs/tmp tmpfs  
 defaults  0  0
 tmpfs/var/run tmpfs  
 defaults  0  0

 By the way, that works for the console image of Angstrom, if you're 
 using the image containing gnome, this might not working. 
 Of course, your home folder is now read only too and you cannot store 
 data in there. 

 On Tuesday, 4 December 2012 09:25:28 UTC+1, Özen Özkaya wrote:

> Hi Dear Rico and Fred,
>
> Firstly, I am really thankful for your responses. This short ideas 
> gave me lots of insights.
> I am using the standard SD cards sent by cicuitco. They are Kingston 
> Class4 SD card.
>
> I am using standard Angstrom distribution's filesystem. Corruption 
> occures in rootfs side.
>
> In my application, there is a tcp/ip connection and an image 
> processing program (opencv).
> Yesterday I found that I am saving a captured image to my 
> /home/root/Desktop directory for each 5 seconds.
> Maybe it causes the over write and sdcard corruption. So I will save 
> the captured image to /dev/shm directory.
> By the way I will keep my file in ram. I will review my project in the 
> manner of memory usage and then I will make tests.
>
> On the other hand, for Angstrom systems I think we have to achieve a 
> more stable filesystem. I am planning to
> get read-only filesystem for both avoiding corruptions coming from 
> power issues and software issues.
>
> My error is like that:
> [   15.661254] mmcblk0: error -110 transferring data, sector 1802385, 
> nr 128, cmd response 0x900, card status 0x200b00
> [   19.912536] mmcblk0: error -110 transferring data, sector 1802496, 
> nr 17, cmd response 0x900, card status 0x0
> [   19.923004] end_request: I/O error, dev mmcblk0, sector 1802496
>
> With the light of Rico's response I understand that,
>
> -> I have to change the bootargs of uboot to root=/dev/mmcblk0p1 ro 
> instead of rw
> -> I have to find the service (rcX?) that remounts the filesystem to 
> r/w and I should remove that service
> -> I have to change my /etc/fstab to mount /tmp and /var/run to mount 

[beagleboard] BBB no EMMC activity at all

2014-03-31 Thread andrewjamest1993

Hi guys, so I edited the uENV.txt file on my BBB, and now I can't mount the 
EMMC (mmcblk1, it is no longer in /dev) or connect it to my computer via 
USB. When powering on the BBB, the second user LED remains unlit, 
indicating that there is no activity on the EMMC. I can still boot from 
Ubuntu via SD card, but I want to flash Ubuntu to the EMMC, but I can't! 
Does anyone have any ideas/suggestions?

-- 
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] microSD Disk Size capacirty

2014-03-31 Thread Robert Nelson
On Mon, Mar 31, 2014 at 7:06 AM, Kumar Sukhani  wrote:
> try following command
>>
>> sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone_dtb
>
>
> I was also getting same error, when I tried -
>>
>> sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone

No you weren't.. Totally different script/subject.

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] microSD Disk Size capacirty

2014-03-31 Thread Kumar Sukhani
try following command

> sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone_dtb
>

I was also getting same error, when I tried -

> sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone



On Sunday, June 30, 2013 8:56:18 AM UTC+5:30, Crazy Monster wrote:
>
> Hi Robert, I am not having much luck with this .. I get the BLKRRPART: 
> Device or resource busy error and "ERROR: sector 3069841408 does not have 
> an msdos signature". Second time around, I did "dd if=/dev/zero 
> of=/dev/mmcblk0 bs=512 count=1" as it suggested but no luck (2nd round).  
> I  then took out the SD card and reformatted as FAT32 with gparted, but 
> still no luck (3rd run below), its hung. Wonder why it says resource is 
> busy. I did have a tempfs mounted :
>
> tmpfs on /tmp/tmpfs type tmpfs (rw,size=3m) 
>  and I ran the script from inside /tmp but I dont think that matters .. 
>  
>
> root@arm:/tmp# ls
> beaglebone-black-copy-eMMC-to-microSD.sh  tmpfs
> root@arm:/tmp# ./beaglebone-black-copy-eMMC-to-microSD.sh 
> update-initramfs: Generating /boot/initrd.img-3.8.13-bone21
> grep: /boot/config-3.8.13-bone21: No such file or directory
> '/boot/initrd.img-3.8.13-bone21' -> '/boot/uboot/initrd.img'
> Image Name:   initramfs
> Created:  Sun Jun 30 02:54:14 2013
> Image Type:   ARM Linux RAMDisk Image (uncompressed)
> Data Size:2709751 Bytes = 2646.24 kB = 2.58 MB
> Load Address: 
> Entry Point:  
> umount: /dev/mmcblk0p1: not mounted
> umount: /dev/mmcblk0p2: not mounted
> 16+0 records in
> 16+0 records out
> 16777216 bytes (17 MB) copied, 0.142181 s, 118 MB/s
> Checking that no-one is using this disk right now ...
> BLKRRPART: Device or resource busy
>
> This disk is currently in use - repartitioning is probably a bad idea.
> Umount all file systems, and swapoff all swap partitions on this disk.
> Use the --no-reread flag to suppress this check.
>
> Disk /dev/mmcblk0: 6 cylinders, 255 heads, 63 sectors/track
>
> sfdisk: ERROR: sector 3069370368 does not have an msdos signature
>  /dev/mmcblk0: unrecognized partition table type
> Old situation:
> No partitions found
> New situation:
> Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
>
>Device Boot Start   EndMiB#blocks   Id  System
> /dev/mmcblk0p1   * 0+70-71- 72261e  W95 FAT16 (LBA)
> /dev/mmcblk0p270+  1874-  1805-   1847475   83  Linux
> /dev/mmcblk0p3 0  -  0  00  Empty
> /dev/mmcblk0p4 0  -  0  00  Empty
> Successfully wrote the new partition table
>
> Re-reading the partition table ...
> BLKRRPART: Device or resource busy
> The command to re-read the partition table failed.
> Run partprobe(8), kpartx(8) or reboot your system now,
> before using mkfs
> If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
> to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
> (See fdisk(8).)
> root@arm:/tmp# ^C
>
>
>
>
> root@arm:/tmp# dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=1
> 1+0 records in
> 1+0 records out
> 512 bytes (512 B) copied, 0.00515201 s, 99.4 kB/s
> root@arm:/tmp# 
> root@arm:/tmp# 
> root@arm:/tmp# ./beaglebone-black-copy-eMMC-to-microSD.sh 
> update-initramfs: Generating /boot/initrd.img-3.8.13-bone21
> grep: /boot/config-3.8.13-bone21: No such file or directory
> '/boot/initrd.img-3.8.13-bone21' -> '/boot/uboot/initrd.img'
> Image Name:   initramfs
> Created:  Sun Jun 30 03:00:43 2013
> Image Type:   ARM Linux RAMDisk Image (uncompressed)
> Data Size:2709750 Bytes = 2646.24 kB = 2.58 MB
> Load Address: 
> Entry Point:  
> umount: /dev/mmcblk0p1: not mounted
> umount: /dev/mmcblk0p2: not mounted
> 16+0 records in
> 16+0 records out
> 16777216 bytes (17 MB) copied, 0.0885991 s, 189 MB/s
> Checking that no-one is using this disk right now ...
> BLKRRPART: Device or resource busy
>
> This disk is currently in use - repartitioning is probably a bad idea.
> Umount all file systems, and swapoff all swap partitions on this disk.
> Use the --no-reread flag to suppress this check.
>
> Disk /dev/mmcblk0: 6 cylinders, 255 heads, 63 sectors/track
>
> sfdisk: ERROR: sector 3069546496 does not have an msdos signature
>  /dev/mmcblk0: unrecognized partition table type
> Old situation:
> No partitions found
> New situation:
> Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
>
>Device Boot Start   EndMiB#blocks   Id  System
> /dev/mmcblk0p1   * 0+70-71- 72261e  W95 FAT16 (LBA)
> /dev/mmcblk0p270+  1874-  1805-   1847475   83  Linux
> /dev/mmcblk0p3 0  -  0  00  Empty
> /dev/mmcblk0p4 0  -  0  00  Empty
> Successfully wrote the new partition table
>
> Re-reading the partition table ...
> BLKRRPART: Device or resource busy
> The command to re-read the partition table failed.
> Run partprobe(8), kpartx(8) or reboot your system now,
> before using mkfs
> If you cr

[beagleboard] Which Real Time Operating Systems Can I run on Beagle Bone Black?

2014-03-31 Thread Eren Basturk
Hi All,

I wonder that Is there any real time operating system to use on Beagle Bone 
Black? Could you give me some information about real time linux on Beagle 
Bone? 

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


[beagleboard] I2C2: Bad address, without checking

2014-03-31 Thread Rafael Fiebig-Bindner
Hi community,
 
I am currently trying to access a temperature sensor via I2C. The problem 
is whenever I want to send data I get the error message: "Bad address", 
but the BBB doesn't even check for the address on the I2C bus. The address 
is 0x48 so it is free for use.
I want to use the Pins P9,17 and P9,18. The BBB is running Angstrom. I am 
using C++ and i2c-dev.h to access the built in i2c-1 device file. 
I hope someone has some ideas how to solve this.
 
Best regards
Rafael Fiebig-Bindner

-- 
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] "suspend_pad_conf entry" missing in mounted debugfs directory

2014-03-31 Thread Thomas Walter
Anybody ever used PM on Beaglebone? I appreciate any feedback on this!

Thanks and Regards,
Thomas


2014-03-11 8:27 GMT+01:00 Thomas Walter :

> Hello all,
>
> I installed Ubuntu with Kernel 3.2 Image on my Beaglebone following
> Robert's instructions and use it successful for almost a year now (with
> peripherals such as an IMU, etc.). Now I want to use the power management
> on the board (suspend/resume) to wake it up from standby mode via a GPIO
> pin and followed the description given 
> here,
> but the mounted debugfs directory "/debugfs/omap_mux/board/" only contains
> an entry "core". The entry "suspend_pad_conf" where I can configure the
> wake-up source is missing. I also got the file "am335x-pm-firmware.bin" and
> added it to the firmware directory and the kernel config. I also verfified
> that it gets loaded by checking dmesg:
>
> [2.338288] Power Management for AM33XX family
> [2.343144] Trying to load am335x-pm-firmware.bin (60 secs timeout)
> [2.349868] Copied the M3 firmware to UMEM
>
> But the entry "suspend_pad_conf" does not show up in the directory. Any
> idea what I need to do in order to have that entry show up to use the
> functionality to specifiy the wake-up source(s)?
>
> Thanks a lot in advance for your help on this! I appreciate your feedback!
>
> Best Regards,
> Thomas
>
> --
> 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/9hKMb10Z-hY/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.