[beagleboard] Debian for Beagleboard Xm and ULCD7

2014-06-06 Thread Jacek Radzikowski
Hello,

It's been a long time since I used my Beagleboard Xm with ULCD7, so
yesterday when I dug it out while looking for something else, I wanted
to bring it back to life. I wiped the dust from the screen and booted
Debian downloaded from http://elinux.org.
/BeagleBoardDebian, but this image boots to text console. I haven't
used debian before (I really liked Angstrom. Koen did amazing job
making Beaglebone boot almost instantaneously, the distro is very
nice, and I'm really sorry he's not with CircuitCo anymore), but since
this is the current official distribution for Beagle boards, I want to
learn how to use it.
Having said that, is there an image for Xm which works OOTB with
ULCD7? I don't feel confident enough to hack apt-gets to manually
install necessary packages to boot the board to graphical environment.

Thank you,
Jacek.

-- 
Given a choice between two theories, take the one which is funnier

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] BeagleBone Black web server

2014-06-06 Thread Michael Thompson
I flashed Debian to the eMMC and it seems to be working fine. My plan is to 
host a small web page using Apache. I installed Apache and using the IP 
address the BeagleBone 101 loads fine from outside my network.

So, my question is, in what directory do I save my index.html file in order 
to see it as the default page served by Apache? There are no files in the 
/var/www/ directory so I am confused. On my Linux Mint (Debian edition) all 
I had to do was save my index file in the www directory.

Anyone know where I am going wrong?

Thanks!!

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


Re: [beagleboard] Recommend wifi for BBB and debian

2014-06-06 Thread Drew Fustini
I just ordered this one since it is Respects-Your-Freedom certified by
Free Software Foundation: "No dependencies on NDISWrapper, binary
blobs, or proprietary drivers-firmware & works with most distributions
out of the box"
https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb

On Fri, Jun 6, 2014 at 7:15 PM, Charles Kerr  wrote:
> Does anyone have a recommendation for an usb to wifi ethernet for BBB
> running debian
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you 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] Recommend wifi for BBB and debian

2014-06-06 Thread William Hermans
I've seen Robert post on these forums recommending a couple chipsets,
search the group I'm sure you'll find the post( too busy atm to look myself
)



On Fri, Jun 6, 2014 at 6:12 PM, Philip Polstra  wrote:

> If you are doing any wifi hacking the Alfa awus036h works well.
> On Jun 6, 2014 7:15 PM, "Charles Kerr"  wrote:
>
>> Does anyone have a recommendation for an usb to wifi ethernet for BBB
>> running debian
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [beagleboard] Recommend wifi for BBB and debian

2014-06-06 Thread Philip Polstra
If you are doing any wifi hacking the Alfa awus036h works well.
On Jun 6, 2014 7:15 PM, "Charles Kerr"  wrote:

> Does anyone have a recommendation for an usb to wifi ethernet for BBB
> running debian
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


RE: [beagleboard] Re: Reading an Analog input from a web page ?

2014-06-06 Thread William Pretty Security
Hi Mark;

 

Thanks for the response. I looked at the links, and I think it would be easier 
if provided more detail.

What I am trying to do is a lot less complex (I think) than your examples.

 

As part of my latest book for Packt Publishing, I have an RF Power Meter design.

Basically you read an analog voltage which is proportional to the RF power 
being measured.

(It could just as easily be temperature) multiply by a correction factor to 
convert millivolts to dBm and then

print out the result.

 

I already have test software that does this to the console, but I want to now 
output it to a web page.

The web page already controls a programmable attenuator, using socket.io and 
toggling IO bits.

I don’t need to graph anything; just print a number on the web page that 
corresponds to the RF power.

 

I found a couple of files in your git tree called “ioPlot.html” and “ioPlot.js” 

but I am not sure how to simplify them for my application.

 

Thanks;

 

Bill

 

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

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Mark A. Yoder
Sent: Friday, June 06, 2014 4:51 PM
To: beagleboard@googlegroups.com
Subject: [beagleboard] Re: Reading an Analog input from a web page ?

 

p.s.  I also have a homework[1] assignment that gives an overview of it.

 

--Mark

 

[1] https://drive.google.com/#folders/0B5UNMAgIJB74cUhIRlRwcXdQaTQ 

On Friday, June 6, 2014 3:44:36 PM UTC-5, Mark A. Yoder wrote:

William:

  I have an example[1] that not only reads analog in, but it also plots it on a 
web page.

 

--Mark

 

[1] https://github.com/MarkAYoder/BeagleBoard-exercises/tree/master/realtime 

On Thursday, June 5, 2014 11:09:58 AM UTC-5, William Pretty Security wrote:

Hello group;

 

I am wondering if is possible to read an analog input on the BBB at the press 
of a button on a web page.

I already have code that uses node.js and socket.io to turn on an LED in 
response to a button push.

But I want to Read an input and display the result.

 

Does anyone know how to do this ??

 

Thanks J

 

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

 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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.4592 / Virus Database: 3955/7631 - Release Date: 06/06/14

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4592 / Virus Database: 3950/7548 - Release Date: 05/23/14
Internal Virus Database is out of date.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] 1 MBaud rate on uarts

2014-06-06 Thread Charles Kerr
I setup my serial ports on the BBB to have a 1Mbaud rate.  However, when I 
look at the output on the logic analyzer, I see the baud rate is more like 
1.214 MBaud.   This of course is too much deviation for my serial 
transmission to sync  up.  I tried setting a custom baud rate, and that 
just fails completely.  I wanted to use all four uarts.  If I need to, I 
could bit bang it from the PRU (but then limit myself to two versus four). 
 Is there a way to setup a more accurate baud rate on the BBB? 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] Recommend wifi for BBB and debian

2014-06-06 Thread Charles Kerr
Does anyone have a recommendation for an usb to wifi ethernet for BBB 
running debian

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] Debian vs. Angst-rom

2014-06-06 Thread mron
I want to switch to Debian. Does the gpiolibs and device tree stuff stay 
the same? Will the PRU code I've written link in the same way?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] Anyone else interested in obtaining a mikroBUS Cape ?

2014-06-06 Thread Mark Grosen
Craig,

No problem. If you decide not to get the boards, that's fine. It was more
of a curiosity for me and just thought I would go along for the ride if you
did it. I'd be curious about your board ... :)

Mark



Mark


On Fri, Jun 6, 2014 at 2:57 PM, motortest_guy 
wrote:

> Mark,
> I apologize, but I haven't ordered the boards yet.
> It's been a busy week and I was making a list of a few additional items I
> wanted, and then I started thinking about making my own version of the
> TIGAL microbus cape using KICAD since it would hone up my circuit layout
> skills and cost about the same (I have lots of ideas for capes, but need to
> put them down on circuit card).
> (There is a KICAD layout of the sensorcape that I could adapt)
>So, I will do a bunch thinking this weekend and let you know.
> Craig
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


RE: [beagleboard] Re: Reading an Analog input from a web page ?

2014-06-06 Thread William Pretty Security
Awesome Mark !

 

Thanks J

 

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

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of Mark A. Yoder
Sent: Friday, June 06, 2014 4:45 PM
To: beagleboard@googlegroups.com
Subject: [beagleboard] Re: Reading an Analog input from a web page ?

 

William:

  I have an example[1] that not only reads analog in, but it also plots it on a 
web page.

 

--Mark

 

[1] https://github.com/MarkAYoder/BeagleBoard-exercises/tree/master/realtime 

On Thursday, June 5, 2014 11:09:58 AM UTC-5, William Pretty Security wrote:

Hello group;

 

I am wondering if is possible to read an analog input on the BBB at the press 
of a button on a web page.

I already have code that uses node.js and socket.io to turn on an LED in 
response to a button push.

But I want to Read an input and display the result.

 

Does anyone know how to do this ??

 

Thanks J

 

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

 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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.4592 / Virus Database: 3955/7631 - Release Date: 06/06/14

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4592 / Virus Database: 3950/7548 - Release Date: 05/23/14
Internal Virus Database is out of date.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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.org debian next...

2014-06-06 Thread Robert Nelson
On Fri, May 30, 2014 at 9:00 PM, Robert Nelson  wrote:
> So here's some random thoughts... Now that the wheezy images is out,
> (We will still maintain it!) there were a few things i wished it had
> working out of the box  sgx .
>
> So on that note, I've been looking at what we have queued up for
> Jessie (which should "freeze" november-ish, ship 7.0 6 months later
> (lets say may 2015)).
>
> Some cool things, like a newer systemd (by default), qt 5.x,
> wayland/weston, libhybris, gcc-4.9... Thus we 'might' just be able to
> have sgx working by borrowing the Android bits..
>
> http://en.wikipedia.org/wiki/Hybris_(software)#Features
>
> So today, I was messing with a Jessie rootfs build, trying to start
> weston for the first time.  yeah.  We definitely have some work ahead
> of us.
>
> Thoughts? I'm not promising anything right now, I might just end up
> with more grey hairs..

weston: (running as root, in jessie)

export XDG_RUNTIME_DIR="/tmp/wayland"
mkdir -p "$XDG_RUNTIME_DIR"
chmod 0700 "$XDG_RUNTIME_DIR"

weston --backend=fbdev-backend.so

or

weston --backend=drm-backend.so --use-pixman

(fbdev actually works better)

Regards,

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

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


Re: [beagleboard] Re: shutdown problems

2014-06-06 Thread Robert Nelson
On Fri, Jun 6, 2014 at 4:57 PM, Troy  wrote:
> Robert,
>
> This looks to have fixed the problem.
>
> Regarding the source of the BBB, I don't know if it originally came from
> Embest; I purchased in through a major online retailer.

It has an embest logo on it, sold by element14.

> I presume updating Debian to the latest image would also have corrected this
> issue? Perhaps I'll give that a try next.

Correct:

http://beagleboard.org/latest-images

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] Anyone else interested in obtaining a mikroBUS Cape ?

2014-06-06 Thread motortest_guy
Mark,
I apologize, but I haven't ordered the boards yet.
It's been a busy week and I was making a list of a few additional items I 
wanted, and then I started thinking about making my own version of the 
TIGAL microbus cape using KICAD since it would hone up my circuit layout 
skills and cost about the same (I have lots of ideas for capes, but need to 
put them down on circuit card).
(There is a KICAD layout of the sensorcape that I could adapt)
   So, I will do a bunch thinking this weekend and let you know.
Craig

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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: shutdown problems

2014-06-06 Thread Troy
Robert,

This looks to have fixed the problem.

Regarding the source of the BBB, I don't know if it originally came from 
Embest; I purchased in through a major online retailer.

I presume updating Debian to the latest image would also have corrected 
this issue? Perhaps I'll give that a try next.

Thanks very much for the help.

Troy

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


Re: [beagleboard] BeagleBone Black Rev C doesn't boot from SD with the rs232 Rev A1 Cape installed.

2014-06-06 Thread Hieu Duong
Are you seeing the same issue if you use a Debian boot SD card? Are you
able to see any serial output?

The new RS-232 Cape (rev B) does not have any EEPROM on it.

-Hieu


On Fri, Jun 6, 2014 at 11:41 AM,  wrote:

>
> I had purchased a number of RS232 capes (
> http://elinux.org/CircuitCo:RS232_Cape_RevB Rev A1) before the Rev B came
> out, I also have BBB's rev A6A, B, and C.
> I'm needing to boot from the SD card, I've installed Angstrom on the SD
> card and everything works well except when I go upto Rev C on the BBB. The
> BBB refuses to boot from the SD card only when the cape is installed.
> On the A6A and B with the cape installed everything works as expected, and
> if I remove the cape it boots from the SD on Rev C.
>
> I have been unable to get my hands on the new revision of the cape (sold
> out). My only thought is the eeprom is not addressing the BBB properly and
> somehow making it ignore the SD card.
>
> So my question is actually two:
> Has anyone else experienced this problem?
> and does anyone have the new cape and would be willing to send me a hex
> dump of the eeprom?
>
> Thanks.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [beagleboard] Re: shutdown problems

2014-06-06 Thread Robert Nelson
On Fri, Jun 6, 2014 at 3:54 PM, Troy  wrote:
> BeagleBoard.org BeagleBone Debian Image 2014-03-27

Based on your error, I thought it might be that one. Any chance was
this one of the first embest boards? I know they has flashed a few
boards with an early pre-released version of the debian image. (this
was fixed in 2014-03-31)

sudo rm /etc/systemd/system/getty.target.wants/getty@ttyGS0.service
sync

(hard reboot/reset)

Regards,

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

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


[beagleboard] Re: shutdown problems

2014-06-06 Thread Troy
BeagleBoard.org BeagleBone Debian Image 2014-03-27

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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: Reading an Analog input from a web page ?

2014-06-06 Thread Mark A. Yoder
p.s.  I also have a homework[1] assignment that gives an overview of it.

--Mark

[1] https://drive.google.com/#folders/0B5UNMAgIJB74cUhIRlRwcXdQaTQ 

On Friday, June 6, 2014 3:44:36 PM UTC-5, Mark A. Yoder wrote:
>
> William:
>   I have an example[1] that not only reads analog in, but it also plots it 
> on a web page.
>
> --Mark
>
> [1] 
> https://github.com/MarkAYoder/BeagleBoard-exercises/tree/master/realtime 
>
> On Thursday, June 5, 2014 11:09:58 AM UTC-5, William Pretty Security wrote:
>>
>> Hello group;
>>
>>  
>>
>> I am wondering if is possible to read an analog input on the BBB at the 
>> press of a button on a web page.
>>
>> I already have code that uses node.js and socket.io to turn on an LED in 
>> response to a button push.
>>
>> But I want to Read an input and display the result.
>>
>>  
>>
>> Does anyone know how to do this ??
>>
>>  
>>
>> Thanks J
>>
>>  
>>
>>
>> http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book
>>
>>  
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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: Reading an Analog input from a web page ?

2014-06-06 Thread Mark A. Yoder
William:
  I have an example[1] that not only reads analog in, but it also plots it 
on a web page.

--Mark

[1] https://github.com/MarkAYoder/BeagleBoard-exercises/tree/master/realtime 

On Thursday, June 5, 2014 11:09:58 AM UTC-5, William Pretty Security wrote:
>
> Hello group;
>
>  
>
> I am wondering if is possible to read an analog input on the BBB at the 
> press of a button on a web page.
>
> I already have code that uses node.js and socket.io to turn on an LED in 
> response to a button push.
>
> But I want to Read an input and display the result.
>
>  
>
> Does anyone know how to do this ??
>
>  
>
> Thanks J
>
>  
>
>
> http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book
>
>  
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] shutdown problems

2014-06-06 Thread Robert Nelson
On Fri, Jun 6, 2014 at 10:14 AM, Troy  wrote:
> I just purchased a new Beaglebone Black RevC and I'm starting to experiment
> a bit. I'm seeing some strange behavior when trying to perform a graceful
> shutdown of the board. When connected through the micro USB shutdown works
> as expected. When an external power supply is used, and I'm connected
> through Ethernet, I can't get the board to shutdown properly.
>
> Following are my two experimental cases:
>
> Case 1 - Power through USB
>
> Start with all cables unplugged
> Connect to laptop through micro USB
> Lamp for 5V power turns on.
> Beaglebone boots in about 30s
> Push power button on Beaglebone
> Beaglebone shuts down in about 6s
> All LED's are off.
>
> Case 2 - External power
>
> Start with all cables unplugged
> Apply external 5V power.
> Lamp for 5V power turns on.
> Beaglebone boots in about 30s
> Push power button on Beaglebone
> Nothing happens!
>
> In each case, I also tried connecting through an SSH session. In both cases,
> pressing the power button is issuing a shutdown command. I also tried
> explicitly issuing a shutdown command through the SSH session (i.e. shutdown
> -h now). When powered through USB it works; when powered externally the
> shutdown doesn't occur.
>
> Any ideas or suggestions?

odd..

What version of the image:

cat /etc/dogtag

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] shutdown problems

2014-06-06 Thread Troy
I just purchased a new Beaglebone Black RevC and I'm starting to experiment 
a bit. I'm seeing some strange behavior when trying to perform a graceful 
shutdown of the board. When connected through the micro USB shutdown works 
as expected. When an external power supply is used, and I'm connected 
through Ethernet, I can't get the board to shutdown properly.

Following are my two experimental cases:

*Case 1 - Power through USB*

   1. Start with all cables unplugged
   2. Connect to laptop through micro USB
   3. Lamp for 5V power turns on.
   4. Beaglebone boots in about 30s
   5. Push power button on Beaglebone
   6. Beaglebone shuts down in about 6s
   7. All LED's are off.

*Case 2 - External power*

   1. Start with all cables unplugged
   2. Apply external 5V power.
   3. Lamp for 5V power turns on.
   4. Beaglebone boots in about 30s
   5. Push power button on Beaglebone
   6. Nothing happens!

In each case, I also tried connecting through an SSH session. In both 
cases, pressing the power button is issuing a shutdown command. I also 
tried explicitly issuing a shutdown command through the SSH session (i.e. 
shutdown -h now). When powered through USB it works; when powered 
externally the shutdown doesn't occur.

Any ideas or suggestions?

Troy

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] Always boot from SD card

2014-06-06 Thread Maxim Podbereznyy
clear the boot partition on eMMC?


2014-06-06 21:31 GMT+04:00 :

> It seems BBB Rev C forces you to press the button to boot from the SD
> card. I have been unable to get it to boot from the SD otherwise. Tested on
> 6 BBB Rev C (what you describe is what I see on Rev B and Rev A6A)
>
> On Monday, January 27, 2014 2:59:56 PM UTC-5, john3909 wrote:
>>
>>
>> On 1/27/14, 5:37 AM, "Charles Steinkuehler" 
>> wrote:
>>
>> >On 1/24/2014 6:29 PM, danielduese...@gmail.com wrote:
>> >> Hello
>> >>
>> >> Sorry, purhaps is this already somewere posted, but i can't find a
>> >>answer:
>> >>
>> >> How can i change the settings, that the BB-Black automaticaly always
>> >>boots
>> >> from the SD Card? I don't want to press always the boot-button.
>> >
>> >The default boot loader in the on-board emmc will look for an SD card
>> >and try to boot it if found.  The boot button is generally only
>> >necessary to force booting from the SD card if your emmc gets corrupt.
>> What you said is mostly correct, but without the button pressed, the
>> processor loads MLO and u-boot from emmc and the u-boot script checks to
>> see if the SDCard is installed and then loads Env.txt, zImage/uImage, etc
>> from the SDCard. Pressing the boot button makes the processor load MLO
>> and
>> u-boot from the SDCard. This ensures that you cannot brick the BBB.
>>
>> Regards,
>> John
>> >
>> >--
>> >Charles Steinkuehler
>> >cha...@steinkuehler.net
>> >
>> >--
>> >For more options, visit http://beagleboard.org/discuss
>> >---
>> >You received this message because you are subscribed to the Google
>> Groups
>> >"BeagleBoard" group.
>> >To unsubscribe from this group and stop receiving emails from it, send
>> an
>> >email to beagleboard...@googlegroups.com.
>> >For more options, visit https://groups.google.com/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.
>



-- 
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] BeagleBone Black Rev C doesn't boot from SD with the rs232 Rev A1 Cape installed.

2014-06-06 Thread rob . lemon

I had purchased a number of RS232 capes 
(http://elinux.org/CircuitCo:RS232_Cape_RevB Rev A1) before the Rev B came 
out, I also have BBB's rev A6A, B, and C. 
I'm needing to boot from the SD card, I've installed Angstrom on the SD 
card and everything works well except when I go upto Rev C on the BBB. The 
BBB refuses to boot from the SD card only when the cape is installed.
On the A6A and B with the cape installed everything works as expected, and 
if I remove the cape it boots from the SD on Rev C. 

I have been unable to get my hands on the new revision of the cape (sold 
out). My only thought is the eeprom is not addressing the BBB properly and 
somehow making it ignore the SD card.

So my question is actually two: 
Has anyone else experienced this problem?
and does anyone have the new cape and would be willing to send me a hex 
dump of the eeprom?

Thanks.

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


Re: [beagleboard] Always boot from SD card

2014-06-06 Thread rob . lemon
It seems BBB Rev C forces you to press the button to boot from the SD card. 
I have been unable to get it to boot from the SD otherwise. Tested on 6 BBB 
Rev C (what you describe is what I see on Rev B and Rev A6A)

On Monday, January 27, 2014 2:59:56 PM UTC-5, john3909 wrote:
>
>
> On 1/27/14, 5:37 AM, "Charles Steinkuehler"  > 
> wrote: 
>
> >On 1/24/2014 6:29 PM, danielduese...@gmail.com  wrote: 
> >> Hello 
> >> 
> >> Sorry, purhaps is this already somewere posted, but i can't find a 
> >>answer: 
> >> 
> >> How can i change the settings, that the BB-Black automaticaly always 
> >>boots 
> >> from the SD Card? I don't want to press always the boot-button. 
> > 
> >The default boot loader in the on-board emmc will look for an SD card 
> >and try to boot it if found.  The boot button is generally only 
> >necessary to force booting from the SD card if your emmc gets corrupt. 
> What you said is mostly correct, but without the button pressed, the 
> processor loads MLO and u-boot from emmc and the u-boot script checks to 
> see if the SDCard is installed and then loads Env.txt, zImage/uImage, etc 
> from the SDCard. Pressing the boot button makes the processor load MLO and 
> u-boot from the SDCard. This ensures that you cannot brick the BBB. 
>
> Regards, 
> John 
> > 
> >-- 
> >Charles Steinkuehler 
> >cha...@steinkuehler.net  
> > 
> >-- 
> >For more options, visit http://beagleboard.org/discuss 
> >--- 
> >You received this message because you are subscribed to the Google Groups 
> >"BeagleBoard" group. 
> >To unsubscribe from this group and stop receiving emails from it, send an 
> >email to beagleboard...@googlegroups.com . 
> >For more options, visit https://groups.google.com/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.


[beagleboard] Re: About wlan0

2014-06-06 Thread konrad . tomalski

>
> I have similar problems with Debian console image.For me if eth0 is down, 
> wlan0 can't initialize correctly. Try change auto wlan0  to allow-hotplug 
> wlan0.
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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 install a custom PRU

2014-06-06 Thread John McClaire
I'm looking to do the same thing Bo! I'll let you know if I find some 
clarity. Please do the same as well. Have you figured it out yet? I wanna 
get my octoscroller up and running ASAP! :)

- John

On Tuesday, June 3, 2014 3:49:33 AM UTC-4, bo.h...@gmail.com wrote:
>
> I have been researching on how to load a custom pru on a beagle bone 
> black. Is there somewhere for some guidance or a site that may have a 
> tutorial or even a book on this topic.
>
> Thanks
> Bo
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] New Cape LCD timing problems

2014-06-06 Thread Greg Wilson-Lindberg

I'm building a new cape with a 5.7" LCD on it.  I've got the BeagleBone 
Black recognizing the EEPROM and loading the .dtbo file.  The UART2 
connection I'm also using is being initialized.

The problem that I'm having is getting the LCD timing to work out 
correctly. The 4.3" display cape is 480x272 pixels and the 7" display cape 
is 800x480. The 5.7" display that I'm using is 640x480 pixels. If I set the 
timing for the LCD display to the values used by either the 4.3" LCD cape 
or the 7" LCD cape the signals on the pins look like they should. If I set 
the LCD timing to the values necessary for my display or any combination 
that would produce 640x480 then the signals that come out look like they 
have been divided by about 64, i.e. the horizontal sync rate is 488Hz 
instead of 31.468KHz and the vertical sync rate is about 1 second instead 
of 60Hz, the pixel clock is only 390KHz but the width of the positive pulse 
is the same as what it would be for a 25.175MHz clock which is the 
frequency for 640x480 display.

Here is the relevant portion of the dts file:
panel {
compatible = "tilcdc,panel";
pinctrl-names = "default";
pinctrl-0 = <&bbb_lcd_pins>;
panel-info {
ac-bias   = <255>;
ac-bias-intrpt= <0>;
dma-burst-sz  = <16>;
bpp   = <16>;
fdd   = <0x80>;
tft-alt-mode  = <0>;
stn-565-mode  = <0>;
mono-8bit-mode= <0>;
sync-edge = <0>;
sync-ctrl = <1>;
raster-order  = <0>;
fifo-th   = <0>;
};
display-timings {
native-mode = <&timing0>;
timing0: 640x480 {
hactive = <640>;   
 /* active pixels */
vactive = <480>;   
 /* active lines */
hback-porch = <48>;   
 /* in pixels */
hfront-porch= <16>;
hsync-len   = <96>;
vback-porch = <33>; 
/* in lines */
vfront-porch= <10>;
vsync-len   = <2>;
clock-frequency = 
<25175000>;
hsync-active= <0>; 
 /* 0=low, 1=high, 2=ignored */
vsync-active= <0>;
};
timing1: 480x272 {
hactive = <480>;
vactive = <272>;
hback-porch = <44>;
hfront-porch= <9>;
hsync-len   = <5>;
vback-porch = <13>;
vfront-porch= <4>;
vsync-len   = <10>;
clock-frequency = <900>;
hsync-active= <0>;
vsync-active= <0>;
};
timing2: 800x480 {
hactive = <800>;
vactive = <480>;
hback-porch = <40>;
hfront-porch= <40>;
hsync-len   = <48>;
vback-porch = <30>;
vfront-porch= <13>;
vsync-len   = <3>;
clock-frequency = 
<3000>;
hsync-active= <0>;
 

Re: [beagleboard] Re: [beagle-alpha] New Debian 2014-05-14 image linked on beagleboard.org/latest-images

2014-06-06 Thread Robert Nelson
On Fri, Jun 6, 2014 at 11:46 AM, Dominik Fretz  wrote:
> Hi Jason,
>
> After you asked the OpenROV project on Github on what to do to get OpenROV
> over to debian I had a go at the Debian images.
>
> I tried to get the latest Debian demo image (from
> http://elinux.org/BeagleBoardDebian) running on the BeagleBone Black (I
> think its a revision B).
> I tested it with both, debian-7.5-console-armhf-2014-05-06.tar.xz and
> debian-jessie-console-armhf-2014-05-06.tar.xz and wrote it to an SD card
> with --dtb beaglebone.

This is a long standing bug, that i didn't fix till yesterday..
"--dtb" only choose the generic multi platform kernel, thus the "--dtb
beaglebone" would not have much working.. With the "2014-05-06" use
"--uboot bone"..

Of course, i released a new image last night "2014-06-05" (maybe a
should have waited a few more days so the numbers were so oddly
close)..

Which "--dtb beaglebone" now works thanks to:
https://github.com/RobertCNelson/omap-image-builder/commit/10ddcafaa6ffc12c4af089e9f8237bd32372c5bc

> But when I put it in the BBB it doesn't seem to boot up properly.
> I can't get a network connection, not on the LAN port nor if I connect it
> via USB to my laptop.
>
> I checked the /var/log/messages and /var/log/dmesg afterwards and it ends
> with a message that the root partition wasn't cleanly unmounted and should
> be checked with fsck but nothing more.
> The heartbeat is still going on though.
>
> I will try to hook up a second BBB via UART to the serial debug output to
> see if I can get anything more.
>
> Do you have any hint in what could cause that issue?
>
> Beside that, I will test the demo image from
> http://beagleboard.org/latest-images/ 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.


[beagleboard] Re: [beagle-alpha] New Debian 2014-05-14 image linked on beagleboard.org/latest-images

2014-06-06 Thread Dominik Fretz
Hi Jason,

After you asked the OpenROV project on Github on what to do to get OpenROV
over to debian I had a go at the Debian images.

I tried to get the latest Debian demo image (from
http://elinux.org/BeagleBoardDebian) running on the BeagleBone Black (I
think its a revision B).
I tested it with both, debian-7.5-console-armhf-2014-05-06.tar.xz
and debian-jessie-console-armhf-2014-05-06.tar.xz and wrote it to an SD
card with --dtb beaglebone.

But when I put it in the BBB it doesn't seem to boot up properly.
I can't get a network connection, not on the LAN port nor if I connect it
via USB to my laptop.

I checked the /var/log/messages and /var/log/dmesg afterwards and it ends
with a message that the root partition wasn't cleanly unmounted and should
be checked with fsck but nothing more.
The heartbeat is still going on though.

I will try to hook up a second BBB via UART to the serial debug output to
see if I can get anything more.

Do you have any hint in what could cause that issue?

Beside that, I will test the demo image from
http://beagleboard.org/latest-images/ too.

Regards,
Dominik



On Wed, May 21, 2014 at 11:41 AM, Jason Kridner 
wrote:

> http://beagleboard.org/latest-images/ now has the 2014-05-14 image linked
> and CircuitCo is making the switch to flashing this on the board thanks to
> improvements in the flasher. Primarily, the flasher now shuts the board
> down after boot, so the LEDs will be all off, rather than all on when the
> flash completes. Note that the next revision will likely also change the
> LED flashing patterned during the flashing operation.
>
> See notes at
> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-05-14 and reply
> to the list if you have any issues/questions/doubts/etc...
>
> I also made a small blog post at
> http://beagleboard.org/blog/2014-05-21-beaglebone-black-image-update.
>
> (and don't forget the bug report site:
> http://bugs.elinux.org/projects/debian-image-releases)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beagle Alpha" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagle-alpha+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Twitter: @codewithpassion
Blog: http://www.codewithpassion.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] elinux: ubuntu/debian: 2014-06-05 images

2014-06-06 Thread Robert Nelson
I don't normally announce updates on these monthly releases. (maybe
i'll change that)

But there's a "BIG" change to the flasher image. (Special Thanks to
Charles) He helped rewrite it from a normal script that ran at run
time. To one that's ran in single user mode. So the "source" file
system is now completely read only during the flash process.  In
theory this should help get us past some of the errors we've been
seeing with the old version. And as a special present, Charles tweaked
the led's so it's now "obvious" when the board is flashing the eMMC.

Just one little issue, the cpu does "halts" but the pmic stays on.
(it's fun trying to reboot/halt in single user mode) So just yank the
power when all 4 LED's are ON.

Give it some testing, I'd like to merge this "flashing" technique to
the beagleboard/debian image in a future update release.

http://elinux.org/BeagleBoardUbuntu#Flasher
http://elinux.org/BeagleBoardDebian#Flasher

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] About wlan0

2014-06-06 Thread William Hermans
e . . . its before my morning "coffee". But problem may still be
google-able, and may very well still have to do with the network manager.


On Fri, Jun 6, 2014 at 8:16 AM, William Hermans  wrote:

> Ubuntu I believe uses a different network manager. connman or some such
> program. I could not say which for sure as I have not used Ubuntu for a
> very long time. However, you should be able to use google.
>
> try googling -> Ubuntu 14.04 how to static ip
>
>
> On Fri, Jun 6, 2014 at 6:09 AM, Kazz  wrote:
>
>> Hi all
>> On beaglebone black, I'm using Ubuntu 14.04 prebuilt image.
>>
>> I have a problem.
>>
>> I tried to connect with wifi.
>> I edited /etc/network/interfaces.
>>
>> auto lo
>> iface lo inet loopback
>>
>> auto eth0
>> iface eth0 inet dhcp
>> # iface eth0 inet static
>> # address 192.168.12.111
>> # netmask 255.255.255.0
>> # gateway 192.168.12.1
>>
>> auto wlan0
>> iface wlan0 inet static
>> address 192.168.12.101
>> netmask 255.255.255.0
>> gateway 192.168.12.1
>> wpa-ssid "wifi1"
>> wpa-psk "password"
>>
>> dns-nameservers 192.168.12.1
>>
>>
>> in the state that does not connect the eht0,
>> If eth0 is dhcp , wlan0 can connect.
>> If eth0 is staic , wlan0 not be able to connect.
>>
>> What is solution?
>>
>> Thank you.
>>
>>  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you 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] About wlan0

2014-06-06 Thread William Hermans
Ubuntu I believe uses a different network manager. connman or some such
program. I could not say which for sure as I have not used Ubuntu for a
very long time. However, you should be able to use google.

try googling -> Ubuntu 14.04 how to static ip


On Fri, Jun 6, 2014 at 6:09 AM, Kazz  wrote:

> Hi all
> On beaglebone black, I'm using Ubuntu 14.04 prebuilt image.
>
> I have a problem.
>
> I tried to connect with wifi.
> I edited /etc/network/interfaces.
>
> auto lo
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet dhcp
> # iface eth0 inet static
> # address 192.168.12.111
> # netmask 255.255.255.0
> # gateway 192.168.12.1
>
> auto wlan0
> iface wlan0 inet static
> address 192.168.12.101
> netmask 255.255.255.0
> gateway 192.168.12.1
> wpa-ssid "wifi1"
> wpa-psk "password"
>
> dns-nameservers 192.168.12.1
>
>
> in the state that does not connect the eht0,
> If eth0 is dhcp , wlan0 can connect.
> If eth0 is staic , wlan0 not be able to connect.
>
> What is solution?
>
> Thank you.
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you 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] Javacomm Serial RX/TX on the BeagleBone Black

2014-06-06 Thread Anish Asthana

Hey Arsi,

I am pretty new to microprocessors and all of this stuff in general, so 
could you elaborate a bit more?

Thanks!
On Friday, June 6, 2014 11:02:12 AM UTC-4, arsi wrote:
>
>  Hi,
>
> The easiest way is to use ser2net (serial to tcp server), and on java 
> side TCP client socket..
>
> Here is my version RXTX for ser2net: 
> https://sourceforge.net/projects/rxtxser2net/
>
>
> Arsi
>
> --
>
> *From:* Anish Asthana  
> *Sent:* Friday, June 06, 2014 4:28PM
> *To:* beagl...@googlegroups.com 
> *Subject:* [beagleboard] Javacomm Serial RX/TX on the BeagleBone Black
>
>
>  Hey guys, so I'm working on a project involving the Xbee Series 2 radios 
> and the BeagleBone Black. I've been trying to install the Javacomm Serial 
> RX/TX on the BeagleBone Black, but I've been running into a number of 
> issues. I was wondering if anyone else had done the same previously? What I 
> am basically aiming to do is transmitting packets between the Xbee radios 
> while interfacing with the BeagleBone. Any help with this would be 
> 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...@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] kernel 3.14 upgrade in debian, BeagleBoard xM

2014-06-06 Thread Robert Nelson
On Fri, Jun 6, 2014 at 9:54 AM, Leonardo Gabrielli  wrote:
> Hello group,
> a rather newbie-ish question. I created my own customized Debian Wheezy
> system for a Beagleboard xM from armhf builds at rcn-ee.net (specifically:
> debian-7.4-console-armhf).
>
> Now I am happy with all the tweaks I've done so far in the last months but
> I'd like to upgrade the kernel to a 3.14 release, in order to make use of
> the new SCHED_DEADLINE.
>
> There are no backports of linux 3.14 for Wheezy but there are Jessie
> packages for linux-headers-3.14-1-all linux-headers-3.14-1-common
> linux-headers-3.14-1-all-armhf etc.
> What's the best option to upgrade the kernel? Tweeak /etc/apt/sources.list
> to add Jessie repos or trying compile it natively (I'm too lazy for setting
> up a cross-compile chain).

I don't think Jessie's 3.14-1 will boot the xm..

or just use this branch:
https://github.com/RobertCNelson/armv7-multiplatform/tree/v3.14.x

with your config tweak and really easy to copy the kernel files:

http://eewiki.net/display/linuxonarm/BeagleBoard#BeagleBoard-CopyKernelFiles

>
> Also, once I've got them compiled, I guess I should modify the BOOT
> partition of my uSD card to point to the proper image? An outline of the
> steps would be immensely appreciated!

Pretty straight forward:

zImage/vmlinux -> /boot/uboot/zImage
dtbs -> /boot/uboot/dtbs
modules -> /lib/modules/

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] Some help required

2014-06-06 Thread William Hermans
Many options really. You have SFTP, and ssh, among others. Hell, rsync may
even work for this.


On Fri, Jun 6, 2014 at 4:32 AM, Nuno Sucena Almeida 
wrote:

> On 06/06/2014 06:05 AM, Alastair Gilmore wrote:
> > Hi, I'm working on a project to grab images from a webcam and send them
> to
> > a web site, triggered by an alarm system. I have the image grab working
> and
>
> If the objective is to have something working right now, you can take a
> look at the motion package, that does that and much more:
>
> sudo apt-get install motion
>
> http://packages.ubuntu.com/precise/motion
>
> regards,
> Nuno
>
> --
> http://aeminium.org/nuno/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/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] Javacomm Serial RX/TX on the BeagleBone Black

2014-06-06 Thread arsi

Hi,

The easiest way is to use ser2net (serial to tcp server), and on java 
side TCP client socket..


Here is my version RXTX for ser2net: 
https://sourceforge.net/projects/rxtxser2net/



Arsi



*From:* Anish Asthana 
*Sent:* Friday, June 06, 2014 4:28PM
*To:* beagleboard@googlegroups.com
*Subject:* [beagleboard] Javacomm Serial RX/TX on the BeagleBone Black


Hey guys, so I'm working on a project involving the Xbee Series 2 radios 
and the BeagleBone Black. I've been trying to install the Javacomm 
Serial RX/TX on the BeagleBone Black, but I've been running into a 
number of issues. I was wondering if anyone else had done the same 
previously? What I am basically aiming to do is transmitting packets 
between the Xbee radios while interfacing with the BeagleBone. Any help 
with this would be 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.






--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] kernel 3.14 upgrade in debian, BeagleBoard xM

2014-06-06 Thread Leonardo Gabrielli
Hello group,
a rather newbie-ish question. I created my own customized Debian Wheezy 
system for a Beagleboard xM from armhf builds at rcn-ee.net (specifically: 
debian-7.4-console-armhf).

Now I am happy with all the tweaks I've done so far in the last months but 
I'd like to upgrade the kernel to a 3.14 release, in order to make use of 
the new SCHED_DEADLINE.

There are no backports of linux 3.14 for Wheezy but there are Jessie 
packages for 
linux-headers-3.14-1-all linux-headers-3.14-1-common 
linux-headers-3.14-1-all-armhf 
etc.
What's the best option to upgrade the kernel? Tweeak /etc/apt/sources.list 
to add Jessie repos or trying compile it natively (I'm too lazy for setting 
up a cross-compile chain).

Also, once I've got them compiled, I guess I should modify the BOOT 
partition of my uSD card to point to the proper image? An outline of the 
steps would be immensely appreciated!
Regards

Leonardo

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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: Android Beaglebone black GPIO APK not functioning

2014-06-06 Thread Ernesto Gigliotti
Hi, I made this Library "ALLToolKit" for android, using JNI (where it was 
necessary) you don't need to use JNI for GPIO control:

https://sourceforge.net/projects/alltoolkit/?source=directory

with this library you can control GPIO,I2C,SPI,UARTS,PWM,ADC (you need 
Robert Nelson's 3.8 kernel for PWM and ADC), you will find an example for 
GPIO and a script for GPIO initialization.

no more "bumping" please

bye

El jueves, 5 de junio de 2014 08:17:42 UTC-3, reubeni...@gmail.com escribió:
>
> Hi Everybody,
> We have with us a BeagleBone Black rev B. We have TI's pre-built JB 4.2.2 
> image running on it.
>
> We also have CCSv5 installed on our Ubuntu laptop, and are able to connect 
> and load sample applications on the Bone, using SDK as well as NDK.
> For some reason, NDK(or JNI apps) aren't debuggable, in the sense that 
> execution doesn't stop at inserted breakpoints.
>
> Now, to control the GPIO's, we need root access. I've read somewhere on 
> this forum that the TI image is already rooted.
> Also, through ADB, if for eg ,we want to toggle an LED attached to GPIO, 
> we have to type the following into ADB shell.
>
> root@android:/ # echo 53 > /sys/class/gpio/export
> root@android:/ # echo "out" > /sys/class/gpio/gpio53/direction
>   for LED on
> root@android:/ # echo 1 > /sys/class/gpio/gpio53/value
>   for LED off
> root@android:/ # echo 0 > /sys/class/gpio/gpio53/value
>
> We are trying to toggle an LED through an app i.e. apk file. Obviously, we 
> are coding using the SDK. Attached is the app source code.
> We referred the source code of ToogleLED.apk available from 
> http://olimex.wordpress.com/2013/05/23/a10s-olinuxino-android-gpio-control-led-toggle-app/
>
> Both the files are zipped into one and available at 2 zip files 
> 
>
> which is also attached. We have written a very simple app, so that 
> debugging is not a headache, optimization will be done later.
>
> Please see the source code now. We have the following doubts/queries:
> 1) In the Manifest file :
> 
> 
>
> These permissions are notified to the user while installing the App. DOES 
> IT MEAN THAT THE APP NOW HAS ACCESS TO THE REQUESTED RESOURCES ?
> Or do we have to include some android/java libraries for explicit 
> permission ?
>
> 2) The Android Doc for "android.permission.HARDWARE_TEST" says, from Android 
> Manifest - Hardware 
> 
> Allows access to hardware peripherals. Intended only for hardware 
> testing.
> Not for use by third-party applications.
>  Is this permission enough for access to GPIO's ?
>
> 3) from the adb shell we see : " root@android:/ #  "
> Does this mean that the image is rooted ?
>
> 4) Most imp. question : Why doesn't this code work ?
>Refer the functions : "outputLow" and "outputHigh"
>
> 5) Is there a way to access GPIO's through JNI, i.e. for eg, without using 
> "exec" function(which consumes time) ?
>
> 6) Is there anyone here who has a fully functioning app written. Can you 
> share the source code so that we can compare and learn ?
>

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


[beagleboard] Unable to locate package ros-hydro

2014-06-06 Thread Kevin Reinaldo
hi, so yesterday i'm trying to install ROS Hydro in my BBBk. My BBBk is 
using Ubuntu 13.04 Raring.

I've follow the instruction 
from http://wiki.ros.org/hydro/Installation/Ubuntu but everytime i write 
this command: 
 
sudo apt-get install ros-hydro-desktop

it replies with Unable to locate package ros-hydro-desktop 

can anybody help??

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


[beagleboard] Javacomm Serial RX/TX on the BeagleBone Black

2014-06-06 Thread Anish Asthana
Hey guys, so I'm working on a project involving the Xbee Series 2 radios 
and the BeagleBone Black. I've been trying to install the Javacomm Serial 
RX/TX on the BeagleBone Black, but I've been running into a number of 
issues. I was wondering if anyone else had done the same previously? What I 
am basically aiming to do is transmitting packets between the Xbee radios 
while interfacing with the BeagleBone. Any help with this would be 
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] Re: Android Beaglebone black GPIO APK not functioning

2014-06-06 Thread Robert Nelson
On Fri, Jun 6, 2014 at 1:22 AM,   wrote:
> Bumping this thread
>
> On Thursday, June 5, 2014 4:47:42 PM UTC+5:30, reubeni...@gmail.com wrote:

You must be new here, you don't bump "email" threads because no one
answered you in the 9 hours. Either no one replied because they don't
have an interest in the topic, or they haven't read it yet.  So don't
bump emails.

Regards,

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

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


[beagleboard] Re: beagleboard black rev c does not seem to boot from SD card

2014-06-06 Thread abhishek53 . k
I am also facing same issue with BBB A6A

on console following errors comes

U-Boot SPL 2014.04-dirty (Jun 05 2014 - 20:31:45)

** Partition 1 not valid on device 0 **

spl_register_fat_device: fat register err - -1

### ERROR ### Please RESET the board ###

After that it hangs 



On Wednesday, June 4, 2014 10:38:41 PM UTC+5:30, Ezekiel Sanborndeasis 
wrote:
>
> New to beaglebone and I prepped the card with my own yocto based 
> core-minimal build, so I certainly may have done something wrong on my end. 
>
> The device boots up fine with the debian package that ships in flash. I 
> did not blow that away. 
>
> I prepped the card based on
>
>
> https://www.yoctoproject.org/download/texas-instruments-arm-cortex-a8-development-board-beaglebone
>
> and some older instructions at
>
> https://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat
>
> (I have tried a couple different times now)
>
> My result SD card looks okay
>
> $ sudo fdisk -lu /dev/mmcblk0
>
> Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
> 255 heads, 63 sectors/track, 482 cylinders, total 7744512 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000c1e3c
>
> Device Boot Start End  Blocks   
> IdSystem
> /dev/mmcblk0p1   *  63 819314 409626   c 
> W95 FAT32 (LBA)
> /dev/mmcblk0p2  819315  7743329   3462007+   83Linux
>
> When I do boot the device to debian the SD card itself is visible and 
> /media/root and /media/boot seem fine.The problem is if I boot while 
> pressing the boot order toggle button I get nothing. None of the 4 activity 
> LED lights turn on at all. All I see is the power light. 
>
> I have a serial cable on order, but in the near term I am trying to 
> diagnose if there is a hardware problem here or if I am doing something 
> wrong.
>
> 1) If I am simply trying to boot from SD card (not flash internal eMMC) is 
> there a length of time I need to hol down the bott order toggle switch? I 
> have tried really short presses as well as upwards of a minute.
> 2) Is there anything I am completely missing here?
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] Booting from uSD card fails in BegaleBone Black

2014-06-06 Thread abhishek53 . k
Hi Robert ,

As you mentioned  i tried  but  still same problem .

board=am335x

board_name=A335BNLT

board_rev=0A6A

Disk /dev/mmcblk0: 1983 MB, 1983905792 bytes
4 heads, 16 sectors/track, 60544 cylinders, total 3874816 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Device Boot  Start End  Blocks   Id  System
/dev/mmcblk0p1   *2048  100351   49152e  W95 FAT16 (LBA)
/dev/mmcblk0p2  100352 3874815 1887232   83  Linux

is it correct  partition???


U-Boot SPL 2014.04-dirty (Jun 05 2014 - 20:31:45)

** Partition 1 not valid on device 0 **

spl_register_fat_device: fat register err - -1

### ERROR ### Please RESET the board ###

 boot from eMMC then on u-boot prompt  i tried to run few commands 

*U-Boot# fatinfo mmc 0:1*

*** No partition table - mmc 0 ***

U-Boot# mmcinfo

Device: OMAP SD/MMC

Manufacturer ID: 84

OEM: 5446

Name: MSTran Speed: 5000

Rd Block Len: 512

SD version 2.0

High Capacity: No

Capacity: 1.8 GiB

Bus Width: 4-bit

What can be the issue  Hardware ??

Thanks

Abhishek

On Monday, June 2, 2014 6:18:23 PM UTC+5:30, RobertCNelson wrote:
>
> On Sun, Jun 1, 2014 at 6:02 AM,  > 
> wrote: 
> > Hello 
> > 
> > I am trying to boot BBB from uSD card but uboot is not working as 
> expected , 
> > I am getting this error 
> > **Partition 1 Not Valid on device 0*** 
> >  SPL:fat register err --1 
> > 
> > I am using 8GB uSD card . 
> >  I tried to do little debugging actually MLO fails while registering FAT 
> > partition. 
> > ->fat_register_device 
> > 
> > If you could help.  I am using latest rev of BBB 
>
> It's either a bad build of u-boot or your partition setup is wrong. 
>
> Please take a look and review: 
>
>
> http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot
>  
>
>
> http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSD/SDcard
>  
>
> 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] Hooking up a bbb to xbox360 to use it's wifi internet connection..?

2014-06-06 Thread eric . ebling . ee
Hey all, so I have no experience with the BBB and am wondering if this 
would be possible. I have an xbox 360 with the wifi module so my xbox can 
use the internet connection in my apartment. Is it possible to connect the 
BBB to the ethernetconnection on the back of the xbox and use the wifi from 
the xbox to get online with the BBB.? I have the BBB connected to my tv so 
the xbox is right there and it would be cool if i can somehow just use it 
as my internet connection. Thanks for any info.

E

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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: Android Beaglebone black GPIO APK not functioning

2014-06-06 Thread reubeninbminor3
Bumping this thread

On Thursday, June 5, 2014 4:47:42 PM UTC+5:30, reubeni...@gmail.com wrote:
>
> Hi Everybody,
> We have with us a BeagleBone Black rev B. We have TI's pre-built JB 4.2.2 
> image running on it.
>
> We also have CCSv5 installed on our Ubuntu laptop, and are able to connect 
> and load sample applications on the Bone, using SDK as well as NDK.
> For some reason, NDK(or JNI apps) aren't debuggable, in the sense that 
> execution doesn't stop at inserted breakpoints.
>
> Now, to control the GPIO's, we need root access. I've read somewhere on 
> this forum that the TI image is already rooted.
> Also, through ADB, if for eg ,we want to toggle an LED attached to GPIO, 
> we have to type the following into ADB shell.
>
> root@android:/ # echo 53 > /sys/class/gpio/export
> root@android:/ # echo "out" > /sys/class/gpio/gpio53/direction
>   for LED on
> root@android:/ # echo 1 > /sys/class/gpio/gpio53/value
>   for LED off
> root@android:/ # echo 0 > /sys/class/gpio/gpio53/value
>
> We are trying to toggle an LED through an app i.e. apk file. Obviously, we 
> are coding using the SDK. Attached is the app source code.
> We referred the source code of ToogleLED.apk available from 
> http://olimex.wordpress.com/2013/05/23/a10s-olinuxino-android-gpio-control-led-toggle-app/
>
> Both the files are zipped into one and available at 2 zip files 
> 
>
> which is also attached. We have written a very simple app, so that 
> debugging is not a headache, optimization will be done later.
>
> Please see the source code now. We have the following doubts/queries:
> 1) In the Manifest file :
> 
> 
>
> These permissions are notified to the user while installing the App. DOES 
> IT MEAN THAT THE APP NOW HAS ACCESS TO THE REQUESTED RESOURCES ?
> Or do we have to include some android/java libraries for explicit 
> permission ?
>
> 2) The Android Doc for "android.permission.HARDWARE_TEST" says, from Android 
> Manifest - Hardware 
> 
> Allows access to hardware peripherals. Intended only for hardware 
> testing.
> Not for use by third-party applications.
>  Is this permission enough for access to GPIO's ?
>
> 3) from the adb shell we see : " root@android:/ #  "
> Does this mean that the image is rooted ?
>
> 4) Most imp. question : Why doesn't this code work ?
>Refer the functions : "outputLow" and "outputHigh"
>
> 5) Is there a way to access GPIO's through JNI, i.e. for eg, without using 
> "exec" function(which consumes time) ?
>
> 6) Is there anyone here who has a fully functioning app written. Can you 
> share the source code so that we can compare and learn ?
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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 doesn't sometimes start. Only Power LED is on

2014-06-06 Thread verster . cornel
Hello Andrew

Thank you so much for this post! I'm having the exact same problem, and am 
in need of getting the golden 100% boot ratio :)
I've been using linux for about a year, but am still not trusted with the 
building of kernels and modules. I had a look at the link that you posted, 
but am still not trusted with what is going on exactly.
Will it be possible for you to give me more detail about what exactly we 
are doing by rebuilding the u-boot and the neccessary steps?
Also, about any other steps that need to be taken (deleting the MLO file on 
the eMMC -> what is it and what are the effects of deleting it).

Or refer me to somewhere where I can learn more?

Kind Regards
Cornel Verster

On Monday, 28 October 2013 23:18:20 UTC+2, AndrewTaneGlen wrote:
>
> RESOLVED:
>
> Upon investigating the u-boot output we found we were facing the same 
> problem reported earlier in this thread by duckhunter: u-boot was detecting 
> spurious data on uart0 and entering the u-boot console on about 1/20 
> power-ups.
>
> Rather than making any hardware mods I decided to reconfigured u-boot to 
> look for a specific key sequence before entering the u-boot console. To do 
> this I firstly downloaded and rebuilt u-boot following instructions here: 
> http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot.
>  
> (Testing with the default config produced the same 'failure' rate)
> I then modified '/include/config.h' in the u-boot source files, adding the 
> following:
>
> #define CONFIG_AUTOBOOT_KEYED 1 
> #define CONFIG_AUTOBOOT_DELAY_STR "uboot"
>
> This now forces a user to enter the string 'uboot' before entering the 
> u-boot console, otherwise the device will boot up normally.
>
> Rebuilding with this configuration still gave the same failure rate 
> however. This is when I learned that the boot files on the eMMC flash are 
> still loading before jumping to the files on the sd card I am using. So 
> upon deleting the MLO file on the eMMC flash I had more luck.
>
> We setup a programmable power supply and a script looking at the output of 
> uart0 to detect whether the device had successfully booted or had become 
> stuck in u-boot, and then left it cycling power. We were then able to get 
> many hundreds of consecutive successful boots - we only stopped the test 
> because we decided it would probably never fail.
>
> So in the end it all came down to spurious data on uart0 - along with 
> disabling booting from the eMMC. (we could have simply reconfigured u-boot 
> on the eMMC in the same way, but disabling it drops a few seconds off the 
> boot time).
>
>
> Thanks for all your help Gerald (and duckhunter).
>
> Regards,
> Andrew Glen.
>
> On Friday, 25 October 2013 10:00:44 UTC+13, Gerald wrote:
>>
>> That is correct. The power button is only good for shutting it down with 
>> power attached and turning it back on with power still attached.
>>
>> UBoot uses the UART0 debug port on the header, J1, on the board.
>>
>> Gerald
>>
>>
>>
>>
>> On Thu, Oct 24, 2013 at 3:57 PM, AndrewTaneGlen  
>> wrote:
>>
>>> When it fails to boot after connecting 5V, a short press of the power 
>>> switch has no effect. The kernel has not booted, so the button press event 
>>> is going nowhere.
>>>
>>> From this failure mode, pressing and holding the power switch until the 
>>> power led goes off and then releasing it causes the device to boot - as 
>>> does a short press of the reset switch. This is what has led me to the 
>>> conclusion that the only way to guarantee the device boots after applying 
>>> power is to control the reset signal with a watchdog circuit triggered off 
>>> a transition of the heart-beat signal (or something similar).
>>>
>>> I'm wondering if it possibly is getting to u-boot under this failure 
>>> mode. Do you know if any of the uarts available on P9 are configured by 
>>> default for u-boot?
>>>
>>> Cheers,
>>> Andrew.
>>>
>>> On Friday, 25 October 2013 09:14:18 UTC+13, Gerald wrote:
>>>
 You must just press the power button once. Not hold it. If you do 
 it just power cycles. Pressing the button once let's the Linux kernel 
 shutdown after a 60 second time out.

 Try it again using the power button as it was intended.

 Gerald



 On Thu, Oct 24, 2013 at 3:05 PM, AndrewTaneGlen  
 wrote:

> Hi Gerald, thank you for your response.
>
> I tried the following (Using a new BBB with no SD card inserted, and 
> nothing else connected to it at all):
>
> Firstly, plug in 5V barrel connector (connected to regulated 5V, 
> measured with good multimeter as 5.0001V), then:
>
> 1) Wait to see he heartbeat led (D2) come on.
>
> 2) Press and hold the power key until the power led (D1) goes off.
>
> 3) Release the power key
>
> Repeating this process (with 5V connected the entire time) the device 
> failed to boot (the heartbeat led failed to come on) on the 14th try, and 
> 

Re: [beagleboard] Re: BeagleBone Black doesn't sometimes start. Only Power LED is on

2014-06-06 Thread verster . cornel
Hello Andrew

Thank you so much for this post! I'm having the exact same problem, and am 
in need of getting the golden 100% boot ratio :)
I've been using linux for about a year, but am still not trusted with the 
building of kernels and modules. I had a look at the link that you posted, 
but am still not trusted with what is going on exactly.
Will it be possible for you to give me some more details on exactly what we 
are doing by rebuilding u-boot and what the steps are in doing so?
Also, any additional steps required (deleting the MLO file from the eMMC -> 
what it is and what the implications are).

Or refer me to somewhere where I can learn more on these topics.

Kind regards
Cornel Verster

On Monday, 28 October 2013 23:18:20 UTC+2, AndrewTaneGlen wrote:
>
> RESOLVED:
>
> Upon investigating the u-boot output we found we were facing the same 
> problem reported earlier in this thread by duckhunter: u-boot was detecting 
> spurious data on uart0 and entering the u-boot console on about 1/20 
> power-ups.
>
> Rather than making any hardware mods I decided to reconfigured u-boot to 
> look for a specific key sequence before entering the u-boot console. To do 
> this I firstly downloaded and rebuilt u-boot following instructions here: 
> http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot.
>  
> (Testing with the default config produced the same 'failure' rate)
> I then modified '/include/config.h' in the u-boot source files, adding the 
> following:
>
> #define CONFIG_AUTOBOOT_KEYED 1 
> #define CONFIG_AUTOBOOT_DELAY_STR "uboot"
>
> This now forces a user to enter the string 'uboot' before entering the 
> u-boot console, otherwise the device will boot up normally.
>
> Rebuilding with this configuration still gave the same failure rate 
> however. This is when I learned that the boot files on the eMMC flash are 
> still loading before jumping to the files on the sd card I am using. So 
> upon deleting the MLO file on the eMMC flash I had more luck.
>
> We setup a programmable power supply and a script looking at the output of 
> uart0 to detect whether the device had successfully booted or had become 
> stuck in u-boot, and then left it cycling power. We were then able to get 
> many hundreds of consecutive successful boots - we only stopped the test 
> because we decided it would probably never fail.
>
> So in the end it all came down to spurious data on uart0 - along with 
> disabling booting from the eMMC. (we could have simply reconfigured u-boot 
> on the eMMC in the same way, but disabling it drops a few seconds off the 
> boot time).
>
>
> Thanks for all your help Gerald (and duckhunter).
>
> Regards,
> Andrew Glen.
>
> On Friday, 25 October 2013 10:00:44 UTC+13, Gerald wrote:
>>
>> That is correct. The power button is only good for shutting it down with 
>> power attached and turning it back on with power still attached.
>>
>> UBoot uses the UART0 debug port on the header, J1, on the board.
>>
>> Gerald
>>
>>
>>
>>
>> On Thu, Oct 24, 2013 at 3:57 PM, AndrewTaneGlen  
>> wrote:
>>
>>> When it fails to boot after connecting 5V, a short press of the power 
>>> switch has no effect. The kernel has not booted, so the button press event 
>>> is going nowhere.
>>>
>>> From this failure mode, pressing and holding the power switch until the 
>>> power led goes off and then releasing it causes the device to boot - as 
>>> does a short press of the reset switch. This is what has led me to the 
>>> conclusion that the only way to guarantee the device boots after applying 
>>> power is to control the reset signal with a watchdog circuit triggered off 
>>> a transition of the heart-beat signal (or something similar).
>>>
>>> I'm wondering if it possibly is getting to u-boot under this failure 
>>> mode. Do you know if any of the uarts available on P9 are configured by 
>>> default for u-boot?
>>>
>>> Cheers,
>>> Andrew.
>>>
>>> On Friday, 25 October 2013 09:14:18 UTC+13, Gerald wrote:
>>>
 You must just press the power button once. Not hold it. If you do 
 it just power cycles. Pressing the button once let's the Linux kernel 
 shutdown after a 60 second time out.

 Try it again using the power button as it was intended.

 Gerald



 On Thu, Oct 24, 2013 at 3:05 PM, AndrewTaneGlen  
 wrote:

> Hi Gerald, thank you for your response.
>
> I tried the following (Using a new BBB with no SD card inserted, and 
> nothing else connected to it at all):
>
> Firstly, plug in 5V barrel connector (connected to regulated 5V, 
> measured with good multimeter as 5.0001V), then:
>
> 1) Wait to see he heartbeat led (D2) come on.
>
> 2) Press and hold the power key until the power led (D1) goes off.
>
> 3) Release the power key
>
> Repeating this process (with 5V connected the entire time) the device 
> failed to boot (the heartbeat led failed to come on) on the 14th try, and 
>>>

[beagleboard] New angstrom image installation problem

2014-06-06 Thread tabishsaifullah
I am a newbie in beaglebone black.Yesterday I install Ubuntu in my 
beaglebone black which work great, but now I want to install Angstrom, so I 
download image for angstrom 
(Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.08.21.img) 
.Then extract it using using "7-zip", using "Win32 disk imager" I write it 
into 16 GB SD card. Then I put my SD card in Beaglebone Black and press 
boot button. Now I insert 5V 1Amp dc adapter. After making sure that all 
four LED's are on I release boot button.
  Now problem is my four LED's keeps blinking. I check it for 
more than one hour but its still blinking. According to the tutorial it 
should get stable after 35-45 minutes.I please tell me where I am doing 
mistake.

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] Ip USB

2014-06-06 Thread Batilly
Hi,
Does anyone knows how to change the USB IP on the Angström BeagleBones. I 
try to used 10 of them with an USB Hub.
Thanks for Help.

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


Re: [beagleboard] Re: BeagleBone Black doesn't sometimes start. Only Power LED is on

2014-06-06 Thread verster . cornel
Hello Andrew
@AndrewTaneGlen

Thank you so much for this post! I'm having the exact same problem, and am 
in need of getting the golden 100% boot ratio :)
I've been using linux for about a year, but am still not trusted with the 
building of kernels and modules. I had a look at the link that you posted, 
but am still not trusted with what is going on exactly.
Will it be possible for you to give me some more details on exactly what we 
are doing by rebuilding u-boot and what the steps are in doing so?
Also, any additional steps required (deleting the MLO file from the eMMC -> 
what it is and what the implications are).

Or refer me to somewhere where I can learn more on these topics.

Kind regards
Cornel Verster

On Monday, 28 October 2013 23:18:20 UTC+2, AndrewTaneGlen wrote:
>
> RESOLVED:
>
> Upon investigating the u-boot output we found we were facing the same 
> problem reported earlier in this thread by duckhunter: u-boot was detecting 
> spurious data on uart0 and entering the u-boot console on about 1/20 
> power-ups.
>
> Rather than making any hardware mods I decided to reconfigured u-boot to 
> look for a specific key sequence before entering the u-boot console. To do 
> this I firstly downloaded and rebuilt u-boot following instructions here: 
> http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot.
>  
> (Testing with the default config produced the same 'failure' rate)
> I then modified '/include/config.h' in the u-boot source files, adding the 
> following:
>
> #define CONFIG_AUTOBOOT_KEYED 1 
> #define CONFIG_AUTOBOOT_DELAY_STR "uboot"
>
> This now forces a user to enter the string 'uboot' before entering the 
> u-boot console, otherwise the device will boot up normally.
>
> Rebuilding with this configuration still gave the same failure rate 
> however. This is when I learned that the boot files on the eMMC flash are 
> still loading before jumping to the files on the sd card I am using. So 
> upon deleting the MLO file on the eMMC flash I had more luck.
>
> We setup a programmable power supply and a script looking at the output of 
> uart0 to detect whether the device had successfully booted or had become 
> stuck in u-boot, and then left it cycling power. We were then able to get 
> many hundreds of consecutive successful boots - we only stopped the test 
> because we decided it would probably never fail.
>
> So in the end it all came down to spurious data on uart0 - along with 
> disabling booting from the eMMC. (we could have simply reconfigured u-boot 
> on the eMMC in the same way, but disabling it drops a few seconds off the 
> boot time).
>
>
> Thanks for all your help Gerald (and duckhunter).
>
> Regards,
> Andrew Glen.
>
> On Friday, 25 October 2013 10:00:44 UTC+13, Gerald wrote:
>>
>> That is correct. The power button is only good for shutting it down with 
>> power attached and turning it back on with power still attached.
>>
>> UBoot uses the UART0 debug port on the header, J1, on the board.
>>
>> Gerald
>>
>>
>>
>>
>> On Thu, Oct 24, 2013 at 3:57 PM, AndrewTaneGlen  
>> wrote:
>>
>>> When it fails to boot after connecting 5V, a short press of the power 
>>> switch has no effect. The kernel has not booted, so the button press event 
>>> is going nowhere.
>>>
>>> From this failure mode, pressing and holding the power switch until the 
>>> power led goes off and then releasing it causes the device to boot - as 
>>> does a short press of the reset switch. This is what has led me to the 
>>> conclusion that the only way to guarantee the device boots after applying 
>>> power is to control the reset signal with a watchdog circuit triggered off 
>>> a transition of the heart-beat signal (or something similar).
>>>
>>> I'm wondering if it possibly is getting to u-boot under this failure 
>>> mode. Do you know if any of the uarts available on P9 are configured by 
>>> default for u-boot?
>>>
>>> Cheers,
>>> Andrew.
>>>
>>> On Friday, 25 October 2013 09:14:18 UTC+13, Gerald wrote:
>>>
 You must just press the power button once. Not hold it. If you do 
 it just power cycles. Pressing the button once let's the Linux kernel 
 shutdown after a 60 second time out.

 Try it again using the power button as it was intended.

 Gerald



 On Thu, Oct 24, 2013 at 3:05 PM, AndrewTaneGlen  
 wrote:

> Hi Gerald, thank you for your response.
>
> I tried the following (Using a new BBB with no SD card inserted, and 
> nothing else connected to it at all):
>
> Firstly, plug in 5V barrel connector (connected to regulated 5V, 
> measured with good multimeter as 5.0001V), then:
>
> 1) Wait to see he heartbeat led (D2) come on.
>
> 2) Press and hold the power key until the power led (D1) goes off.
>
> 3) Release the power key
>
> Repeating this process (with 5V connected the entire time) the device 
> failed to boot (the heartbeat led failed to come on) on the 14

[beagleboard] About wlan0

2014-06-06 Thread Kazz
Hi all
On beaglebone black, I'm using Ubuntu 14.04 prebuilt image.

I have a problem.

I tried to connect with wifi.
I edited /etc/network/interfaces.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
# iface eth0 inet static
# address 192.168.12.111
# netmask 255.255.255.0
# gateway 192.168.12.1

auto wlan0
iface wlan0 inet static
address 192.168.12.101
netmask 255.255.255.0
gateway 192.168.12.1
wpa-ssid "wifi1"
wpa-psk "password"

dns-nameservers 192.168.12.1


in the state that does not connect the eht0,
If eth0 is dhcp , wlan0 can connect.
If eth0 is staic , wlan0 not be able to connect.

What is solution?

Thank you.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] libpruio (fast and easy D/A - I/O)

2014-06-06 Thread TJF
Version 0.0.2 is out now:

   - added: new example button.bas (.c)
   - bugfix: gpio_get() returns correct value now
   - cosmetic: pruio_c_wrapper.h contains headers pruio.h and pruio.hp 
   (all-in-one)
   - cosmetic: minor changes in documentation


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] Some help required

2014-06-06 Thread Nuno Sucena Almeida
On 06/06/2014 06:05 AM, Alastair Gilmore wrote:
> Hi, I'm working on a project to grab images from a webcam and send them to 
> a web site, triggered by an alarm system. I have the image grab working and 

If the objective is to have something working right now, you can take a
look at the motion package, that does that and much more:

sudo apt-get install motion

http://packages.ubuntu.com/precise/motion

regards,
Nuno

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

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


Re: [beagleboard] Some help required

2014-06-06 Thread Alastair Gilmore
Thanks Eric, I hadn't thought of that. Sometimes you can't see the forest 
for the trees.

On Friday, June 6, 2014 11:18:19 AM UTC+1, Eric wrote:
>
> basic email works. just put a script together that invokes your mailer 
> with the proper attachments.
>
>
> On Fri, Jun 6, 2014 at 3:05 AM, Alastair Gilmore  > wrote:
>
>> Hi, I'm working on a project to grab images from a webcam and send them 
>> to a web site, triggered by an alarm system. I have the image grab working 
>> and saving the files, all low res. about 60Kb. I'm not sure how to send 
>> these automatically to the web site. I write in 'C' and am looking for a 
>> tutorial to automatically invoke FTP or some other method to periodically 
>> connect to a web site and send the files.
>>
>> I'm using Ubuntu 12 LTS on the BBB.
>>
>> Any guidance would 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...@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] Some help required

2014-06-06 Thread Eric Fort
basic email works. just put a script together that invokes your mailer with
the proper attachments.


On Fri, Jun 6, 2014 at 3:05 AM, Alastair Gilmore 
wrote:

> Hi, I'm working on a project to grab images from a webcam and send them to
> a web site, triggered by an alarm system. I have the image grab working and
> saving the files, all low res. about 60Kb. I'm not sure how to send these
> automatically to the web site. I write in 'C' and am looking for a tutorial
> to automatically invoke FTP or some other method to periodically connect to
> a web site and send the files.
>
> I'm using Ubuntu 12 LTS on the BBB.
>
> Any guidance would 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.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you 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] Some help required

2014-06-06 Thread Alastair Gilmore
Hi, I'm working on a project to grab images from a webcam and send them to 
a web site, triggered by an alarm system. I have the image grab working and 
saving the files, all low res. about 60Kb. I'm not sure how to send these 
automatically to the web site. I write in 'C' and am looking for a tutorial 
to automatically invoke FTP or some other method to periodically connect to 
a web site and send the files.

I'm using Ubuntu 12 LTS on the BBB.

Any guidance would 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.