[beagleboard] Re: Beaglebone hacked

2014-03-09 Thread macarr
Please see this post re: Connman- Stop DNS service from listening on 
0.0.0.0.https://groups.google.com/forum/embed/?place=forum/beagleboardshowsearch=trueshowpopout=trueshowtabs=truehideforumtitle=trueparenturl=http%3A%2F%2Fbeagleboard.org%2FCommunity%2FForums#!searchin/beagleboard/busybox/beagleboard/T1heRwiMglg/r9Z2gtUobv8J
  All of the issues I saw as I was troubleshooting my problem are listed in 
this thread. I felt bad about my post but over the next few days I came to 
the same conclusion. I think it's a security hole. Then it dawned on me 
that busybox is providing the commands but for Angstrom not everything is 
supported and finding out what works and what doesn't is an easter egg 
hunt. Finally in the process of searching on-line for help I came across 
this re Linux security 
http://www.tldp.org/HOWTO/Security-Quickstart-Redhat-HOWTO/appendix.html. 
This is what triggered my angst. That and unfortunately we have a senator 
with a very similar name.

On Tuesday, March 4, 2014 8:35:23 PM UTC-8, mac...@msn.com wrote:

 Ok...I'm awake now!

 I got a phone call from an overseas gentleman about my computer needing 
 service. It sounded like a crank call but I was having problems so I 
 contacted Microsoft. They found a rootkit and fixed everything.

 This evening I brought up my Beaglebone but had troubles reaching it over 
 my local net. So I plugged in my USB cable and started looking at what 
 could be wrong. This is what I found when I did a netstat.

  netstat
 Active Internet connections (w/o servers)
 Proto Recv-Q Send-Q Local Address   Foreign Address State
 tcp0372 beaglebone.local:ssh192.168.7.1:51659   
 ESTABLISHED




 *tcp0  0 beaglebone.home:43017   senator.holtmann.net:http 
 CLOSE_WAITudp0  0 beaglebone.home:46957   
 Wireless_Broadband_Router.home:domain ESTABLISHEDudp0  0 
 beaglebone.home:52599   Wireless_Broadband_Router.home:domain 
 ESTABLISHEDudp0  0 beaglebone.home:44667   
 Wireless_Broadband_Router.home:domain ESTABLISHEDudp0  0 
 beaglebone.home:38089   Wireless_Broadband_Router.home:domain ESTABLISHED*
 Active UNIX domain sockets (w/o servers)
 Proto RefCnt Flags   Type   State I-Node Path
 unix  2  [ ] DGRAM   944 
 @/org/freedesktop/systemd1/notify
 unix  2  [ ] DGRAM   963 
 /run/systemd/shutdownd
 unix  5  [ ] DGRAM   978 
 /run/systemd/journal/socket
 unix  10 [ ] DGRAM   980 /dev/log
 unix  3  [ ] STREAM CONNECTED   3917 @/tmp/.X11-unix/X0
 unix  3  [ ] STREAM CONNECTED   3689 
 /var/run/dbus/system_bus_socket
 unix  3  [ ] STREAM CONNECTED   4933
 unix  3  [ ] STREAM CONNECTED   2272
 unix  3  [ ] STREAM CONNECTED   4720 @/tmp/.X11-unix/X0
 unix  3  [ ] STREAM CONNECTED   4695 
 /var/run/dbus/system_bus_socket
 unix  3  [ ] STREAM CONNECTED   3490 
 /run/systemd/journal/stdout
 unix  3  [ ] STREAM CONNECTED   2156
 unix  2  [ ] DGRAM  3608
 unix  3  [ ] STREAM CONNECTED   3548 
 /var/run/dbus/system_bus_socket
 unix  3  [ ] STREAM CONNECTED   4723
 unix  3  [ ] STREAM CONNECTED   4934 
 /var/run/dbus/system_bus_socket
 unix  3  [ ] STREAM CONNECTED   4979
 unix  3  [ ] STREAM CONNECTED   4936
 unix  3  [ ] STREAM CONNECTED   4408
 unix  2  [ ] DGRAM  5096
 unix  3  [ ] STREAM CONNECTED   4902 @/tmp/.X11-unix/X0
 unix  2  [ ] DGRAM  3371
 unix  2  [ ] DGRAM  1400
 unix  3  [ ] STREAM CONNECTED   2678
 unix  3  [ ] STREAM CONNECTED   4255
 unix  3  [ ] STREAM CONNECTED   2803
 unix  3  [ ] STREAM CONNECTED   4041
 unix  3  [ ] STREAM CONNECTED   3425
 unix  3  [ ] STREAM CONNECTED   4943 
 @/tmp/dbus-xZDw0oinFq
 unix  3  [ ] STREAM CONNECTED   4679
 unix  3  [ ] STREAM CONNECTED   3435
 unix  3  [ ] STREAM CONNECTED   4930 
 /var/run/dbus/system_bus_socket
 unix  3  [ ] STREAM CONNECTED   3916
 unix  3  [ ] STREAM CONNECTED   4740 
 @/tmp/dbus-xZDw0oinFq
 unix  3  [ ] STREAM CONNECTED   3482 
 /run/systemd/journal/stdout
 unix  3  [ ] STREAM CONNECTED   4937 
 @/tmp/gdm-session-EVyXHMgT
 unix  3  [ ] DGRAM  1436
 unix  3  [ ] STREAM CONNECTED   4683 
 @/tmp/dbus-xZDw0oinFq
 unix  3  [ ] 

[beagleboard] BBB re-flash

2014-03-09 Thread adam parker
Hello all,

I was working with my BBB the other day and I was trying to get an OS other 
than Angstrom on it and I accidentally wrote the ubuntu img over the 73mb 
partition that shows up with BBB is plugged in.  I have gathered that this 
is the boot partition and it seems right because when I try to boot it 
without an SD card the user lights never come on.

So I DDed the angstrom re flash image to an SD card to attempt to fix it 
but all four lights never come on to signify the re flash process is done 
and I've done this several times giving it a couple hours a try.  Right now 
as I stare at it the left light does a double flash once per second and the 
third one flashes a bunch kinda sporadically.   I read somewhere that you 
can't plug ANYTHING into it or else it will just boot up which i hope isn't 
true because all I have to power it is a USB cable and I tried a cell phone 
charger with it to no avail.

When I fdisk -l the 73MB partition does come up but has zero partitions. 
 Does the reflash image not restore this?  How do I restore this if not?

Lastly the very beginning of this was I was trying to install TTYLinux.  Is 
there a tutorial for installing TTYLinux to BBB?  I tried simply extracting 
the contents of the tar to my SD card but that didn't seem to work.  Not 
sure what other variables might have been mucking up that test at that 
point though.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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: cannot ssh over USB Fist use of board

2014-03-09 Thread cl
Ronny Julian k4rjjra...@gmail.com wrote:
 [-- text/plain, encoding 7bit, charset: ISO-8859-1, 20 lines --]
 
 I've tried on Linix and Windows going over the USB with PUTTY.  THe BBB
 disconnects right off.  Is there a setup step I've missed?  I've looked at
 3 tutorials on this and all just say to SSH to 192.168.7.2 port 22 but none
 give any direction if that does not work.  I've Googled this and found not
 too much as well.
 
I don't quite know why you're trying 192.168.7.2, the IP address of
the BBB when it has booted will depend on the DHCP server you're
running on your LAN (probably the DHCP server in your router if you
have one).  I'm not sure what happens if there's *no* DHCP server,
others may help there.

The easiest way to find the IP address of your BBB is probably to look
in you router's web configuration where you will almost certainly find
the IP addresses it has assigned and you should see the BBB there.

Alternatively you can run (as root) on your Linux system a little
program called arp-scan, give the command 'arp-scan -l' and it will
list all the systems on your LAN with the IP addresses.  You'll have
to install arp-scan, it's not on most systems by default.

Finally you *might* get away with 'ssh beaglebone', it depends on how
your LAN is set up and whether the BBB's name has got registered with
the DHCP server.  (This assumes you're using Angstrom, if you're using
Ubuntu it's 'ssh arm', others might be different again).


-- 
Chris Green
·

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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: cannot ssh over USB Fist use of board

2014-03-09 Thread Ronny Julian
Just a question.  Have you ever read this website?  See step 3.  Thanks for
your attempt at help.  I would do all that if it were on a Ethernet
connection.  This is the Mini USB

http://beagleboard.org/Getting+Started




On Sun, Mar 9, 2014 at 6:02 AM, c...@isbd.net wrote:

 Ronny Julian k4rjjra...@gmail.com wrote:
  [-- text/plain, encoding 7bit, charset: ISO-8859-1, 20 lines --]
 
  I've tried on Linix and Windows going over the USB with PUTTY.  THe BBB
  disconnects right off.  Is there a setup step I've missed?  I've looked
 at
  3 tutorials on this and all just say to SSH to 192.168.7.2 port 22 but
 none
  give any direction if that does not work.  I've Googled this and found
 not
  too much as well.
 
 I don't quite know why you're trying 192.168.7.2, the IP address of
 the BBB when it has booted will depend on the DHCP server you're
 running on your LAN (probably the DHCP server in your router if you
 have one).  I'm not sure what happens if there's *no* DHCP server,
 others may help there.

 The easiest way to find the IP address of your BBB is probably to look
 in you router's web configuration where you will almost certainly find
 the IP addresses it has assigned and you should see the BBB there.

 Alternatively you can run (as root) on your Linux system a little
 program called arp-scan, give the command 'arp-scan -l' and it will
 list all the systems on your LAN with the IP addresses.  You'll have
 to install arp-scan, it's not on most systems by default.

 Finally you *might* get away with 'ssh beaglebone', it depends on how
 your LAN is set up and whether the BBB's name has got registered with
 the DHCP server.  (This assumes you're using Angstrom, if you're using
 Ubuntu it's 'ssh arm', others might be different again).


 --
 Chris Green
 ·

 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from 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: cannot ssh over USB Fist use of board

2014-03-09 Thread Jon
Hi, there was a problem with a corrupt key file on the Angstrom image that 
prevented SSH from working. 

Not sure if that's still the case with new boards, but if you search this group 
for 'unable to ssh' (or similar) there is a cloud9 script to fix it from the 
web interface. 

Alternatively, you could flash a recent Debian image if you've got a microSD 
card?

Regards, 
Jon

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


[beagleboard] Re: Eclipse Juno Remote Debugging on Beaglebone

2014-03-09 Thread Gibson Justian
Hi,
   Any Idea to debug the beaglebone black using the FTDI 3V3 cable?  


Regards,
Gibson


On Friday, December 28, 2012 9:00:51 PM UTC+5:30, 
steve.ch...@googlemail.com wrote:

 Hi 

 This post concerns the process for setting up Eclipse Juno Remote 
 Debugging on the Beaglebone

 I have been following the instructions given by Jan Alexson on her site 
 http://www.lvr.com/eclipse5.htm. However there appears to-be some change 
 in the latest version of Eclipse (Juno) compared with what Jan based her 
 work on.

 In Juno some of the plugins she references don't exist in the download 
 list. *C/C++ DSF GDB Debugger Integration *is a particular plugin of 
 note. I convinced myself that Juno incorporated this and this was the 
 reason the plugin was not visible, however it would be nice to have this 
 confirmed.

 The frustrating thing is that binary is successfully built and loaded into 
 the beaglebone, however the step that is meant to modify file permissions 
 isn't being run. The step in question is chmod 777, hence the execution 
 permission is not set on the Beaglebone. Also the destination location on 
 the Beagle isn't /bin which makes me a little suspicious. As if I manually 
 move the file there (/bin) and change its permissions, to executable, it 
 works fine.

 The error message that I get from eclipse isn't very helpful, and a little 
 inaccurate is the file is uploaded ok, it outputs:

 Error during file upload.
 Operation failed. File system input or output error
 Operation failed. File system input or output error
 Operation failed. File system input or output error

 I found the log file generated by eclipse which located in the 
 workspace/.metadata directory and this isn't much help either. Gives the 
 same output as above plus the java exceptions that caused it. However I do 
 need to analyses it more detail.

 1) Can anyone give me the processes that should be running on the 
 Beaglebone to support the debugging session that is running from Eclipse on 
 the host pc.

 2) Can anyone tell me what plugins Juno should have.

 Many 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] Re: cannot ssh over USB Fist use of board

2014-03-09 Thread Ronny Julian
I do have one and I will do that.  Thanks!


On Sun, Mar 9, 2014 at 7:02 AM, Jon jesco...@googlemail.com wrote:

 Hi, there was a problem with a corrupt key file on the Angstrom image that
 prevented SSH from working.

 Not sure if that's still the case with new boards, but if you search this
 group for 'unable to ssh' (or similar) there is a cloud9 script to fix it
 from the web interface.

 Alternatively, you could flash a recent Debian image if you've got a
 microSD card?

 Regards,
 Jon

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


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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: cannot ssh over USB Fist use of board

2014-03-09 Thread cl
Ronny Julian k4rjjra...@gmail.com wrote:
 [-- text/plain, encoding quoted-printable, charset: ISO-8859-1, 67 lines --]
 
 Just a question.  Have you ever read this website?  See step 3.  Thanks for

Which web site?  From where I'm sitting this is a newsgroup.

 your attempt at help.  I would do all that if it were on a Ethernet
 connection.  This is the Mini USB
 

Oops yes, I missed that USB at the start.

-- 
Chris Green
·

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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] WSN on the BeagleBoard

2014-03-09 Thread Aurojyoti Das
Hello,

I am participating in GSOC and I want to work on a BeagleBoard project. I 
have worked with ZigBee protocol (IEEE 802.15.4) before and hence am 
looking for projects involving wireless sensor networks and the beagleboard 
platform. Currently I don't have a project in mind but hopefully I can help 
with some projects that others on this forum are involved in.

Auro

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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] Debugging Remote C/C++ application with Eclipse and Beaglebone black

2014-03-09 Thread Gibson Justian
Hi,
  I am new in using the Eclipse IDE and the Beaglebone Black. I run 
a debian distribution in the beaglebone black (built from Robert C Nelson's 
git )and the host machine is the debian gnu linux in Vmware , apparently 
the application is  cross compiled with  arm-linux-gnueabihf using the 
linaro toolchain. I have written a sample C/C++ code to flash the user 
 led3 and it works perfectly.

Problem:

1). How to debug the code using the FTDI cable as suggested in the SRM and 
I intend to use a gdb debugger along with eclipse to step-in the program 
and see how it works.

Has anyone succeeded in setting up the debug environment in eclipse 
especially with the beaglebone black using the FTDI cable.

Thanking you,
Gibson.J

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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] Debugging Remote C/C++ application with Eclipse and Beaglebone black

2014-03-09 Thread Jack Mitchell



On 09/03/2014 15:41, Gibson Justian wrote:

Hi,
   I am new in using the Eclipse IDE and the Beaglebone Black. I
run a debian distribution in the beaglebone black (built from Robert C
Nelson's git )and the host machine is the debian gnu linux in Vmware ,
apparently the application is  cross compiled with  arm-linux-gnueabihf
using the linaro toolchain. I have written a sample C/C++ code to flash
the user  led3 and it works perfectly.

Problem:

1). How to debug the code using the FTDI cable as suggested in the SRM
and I intend to use a gdb debugger along with eclipse to step-in the
program and see how it works.

Has anyone succeeded in setting up the debug environment in eclipse
especially with the beaglebone black using the FTDI cable.

Thanking you,
Gibson.J



If you want to debug remotely then the easiest way to do it is through 
the ethernet connection and using gdbserver. There are plenty of 
tutorials online about how to do this.


Once you have figured out how to start and connect to gdbserver, then I 
would progress onto getting it working in eclipse, that is a bit harder 
and requires some eclipse specific knowledge, again there will be 
tutorials online if you search google.


Good Luck!
Jack.

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

To unsubscribe from 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: QNX on BBB

2014-03-09 Thread doog


On Saturday, March 8, 2014 11:29:49 PM UTC-8, Thorsten Gonschior wrote:

 hey doug, thanks for reply. 
 yes I lready did and also found that, lets say ... claim ;)

 QNX support did not respond yet and the links on their pages on that topic 
 all end dead on foundry 27.
 first glance it looks that there is something going on but nothing to find 
 after some digging.


I had only clicked through a couple of those links when I found I needed to 
register with them. So I guess you were able to register and get an account 
but you're saying those links are server 404 errors?
That should probably be brought up with their webmaster and/or posted to 
another forum regarding the forum support and not technical support as in 
QNX tech support. It would be quite strange that they would link to 
download images and not have functioning images available.
 

 regarding QNX I wonder in what situation they are at all currently. After 
 being sold to RIM ist there still interest in other embedded market, than 
 automotive and mobile communication?


This may be the only thing they will have left of value as their 
phone/communicator business faulters. IIRC I saw an automotive control 
system vendor state they were going to QNX. It does have a market.


 Several emails to sales for quotes and services for technical issues are 
 not been responded.


if the question was if they support the BeagleBone and they don't know 
their links and support pages are non-functional then they might be swamped 
with other technical issues instead of thinking they just need to point 
out they have pages stating the support is there. As you stated your 
question in this forum and how quickly I found that they state specifically 
supporting Beaglebone I wondered what 'work' you really did to find the 
answer. It looked pretty obvious there was support.

Doug

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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] Debugging Remote C/C++ application with Eclipse and Beaglebone black

2014-03-09 Thread Tux Leonard
To get started with BBB and Eclipse have a look at the blog of Derek Molloy.
There you can find some video tutorials like this one.

http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone
-for-c-development/


2014-03-09 17:59 GMT+01:00 Jack Mitchell m...@communistcode.co.uk:



 On 09/03/2014 15:41, Gibson Justian wrote:

 Hi,
I am new in using the Eclipse IDE and the Beaglebone Black. I
 run a debian distribution in the beaglebone black (built from Robert C
 Nelson's git )and the host machine is the debian gnu linux in Vmware ,
 apparently the application is  cross compiled with  arm-linux-gnueabihf
 using the linaro toolchain. I have written a sample C/C++ code to flash
 the user  led3 and it works perfectly.

 Problem:

 1). How to debug the code using the FTDI cable as suggested in the SRM
 and I intend to use a gdb debugger along with eclipse to step-in the
 program and see how it works.

 Has anyone succeeded in setting up the debug environment in eclipse
 especially with the beaglebone black using the FTDI cable.

 Thanking you,
 Gibson.J


 If you want to debug remotely then the easiest way to do it is through the
 ethernet connection and using gdbserver. There are plenty of tutorials
 online about how to do this.

 Once you have figured out how to start and connect to gdbserver, then I
 would progress onto getting it working in eclipse, that is a bit harder and
 requires some eclipse specific knowledge, again there will be tutorials
 online if you search google.

 Good Luck!
 Jack.


 --
 For more options, visit http://beagleboard.org/discuss
 --- You received this message because you are subscribed to the Google
 Groups BeagleBoard group.
 To unsubscribe from 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: learning ARM assy with BBB

2014-03-09 Thread John Syn

From:  dd ddlawre...@rocketmail.com
Reply-To:  beagleboard@googlegroups.com
Date:  Saturday, March 8, 2014 at 9:16 PM
To:  beagleboard@googlegroups.com
Subject:  [beagleboard] Re: learning ARM assy with BBB

 hi azzy.  i ordered a jtag cable and one logic analyzer.
 but now i just learned that i must solder jtag header pins onto the bbb.
 it appears that i can only buy the (samtec) header from digikey for $4.
 but they only ship by courier for $40!  where did u get your headers?
Why don¹t you contact Samtec directly? If you ask them nicely, they will
ship you some samples.

The part number I believe is RSM-110-02-L-D-K-TR

You can also request samples from their website.

Regards,
John
 
 
 thx.dd
 
 On Monday, October 28, 2013 5:18:24 PM UTC+2, azzythehillbilly mir wrote:
 Hi Forum,
  
 I have a problem and I am hoping that I kind soul will direct me whereby I am
 able to help myself get on my feet.
 This is a bit embarrassing, but here it goes. I got myself a BBB because I
 want to switch from using  MCS-51 processors and the like.  I have no formal
 schooling in processors or electronics.  I started working on processors
 around 1980 when I got hold of an Ohio scientific and later an AppleII+.
 Later moved to Z80/Z8000/8086/68030 and similar as I started to formally
 design HW and SW for embedded systems.
 Never had to bother even with  C so have been hacking merrily away with
 Assembly only. Rarely adding ( with difficulty) bits of code for floating
 point when my own extended math routines simply would not do.  This works for
 me as I have learned to cram as much functionality as possible into limited
 resources.  I can get working code written and debugged faster than most C
 coders can. I know nearly zero about Linux//Ubuntu/Fedora. Unless someone has
 worked on the simple old controllers one might not understand how exciting (
 mouth watering even! ) it is to contemplate the peripherals this Sitara 3359
 processor provides. I just need to get a jump start.
  
 Here is the problem, I want to write code for the Sitara-3359 and learn the
 nuts and bolts of low level programming (assy). I need some kind of a simple
 IDE Where I can take control of the processor from reset onwards ( barring
 un-by passable initializing code prewritten  into the processor?).  I have
 been searching all over the net for just that but come up frustrated by the
 huge number of names/acronyms and all. There are just too many branches to
 investigate. I get lost every time I try.  For the moment I want merely to
 exercise the Sitara and study its responses, no desire to write any
 commercial application (with the possible exception of a camera interface for
 my telescopes).
  
 Please kindly somebody point me in the right directions. Once I have the
 correct IDE set up I can take over and dive into the details. No problem
 there.
 Thanks in advance
 
 
 Azzythehillbilly
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from 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] Debugging Remote C/C++ application with Eclipse and Beaglebone black

2014-03-09 Thread John Syn

From:  Gibson Justian gibson@gmail.com
Reply-To:  beagleboard@googlegroups.com
Date:  Sunday, March 9, 2014 at 7:41 AM
To:  beagleboard@googlegroups.com
Subject:  [beagleboard] Debugging Remote C/C++ application with Eclipse and
Beaglebone black

 Hi,
   I am new in using the Eclipse IDE and the Beaglebone Black. I run a
 debian distribution in the beaglebone black (built from Robert C Nelson's git
 )and the host machine is the debian gnu linux in Vmware , apparently the
 application is  cross compiled with  arm-linux-gnueabihf using the linaro
 toolchain. I have written a sample C/C++ code to flash the user  led3 and it
 works perfectly.
 
 Problem:
 
 1). How to debug the code using the FTDI cable as suggested in the SRM and I
 intend to use a gdb debugger along with eclipse to step-in the program and see
 how it works.
 
 Has anyone succeeded in setting up the debug environment in eclipse especially
 with the beaglebone black using the FTDI cable.

You can only use gdbserver to debug user applications, not kernel mode code.
If you want to use a USB100V2 FTDI based JTAG, you have to use Code Composer
Studio from TI. Search Google for CCSV5. If you are using gdbserver, you
simply start it on your BBB and specify the port that GDB will connect to.
Then you can use any GDB based GUI to connect to the BBB using something
like gdb remote ip address port. I haven¹t used this in a while, so
you may want to check the exact form of the command. GDB is built into
Eclipse, so you only have to setup a debug configuration and it will execute
the same command. There are plenty of example on the net to show you how
this is done. Remember to use the -g option when compiling to include the
debug symbols. 

Regards,
John
 
 Thanking you,
 Gibson.J
 
 
 -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from 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] Midwest RepRap Festival

2014-03-09 Thread Charles Steinkuehler
Is anyone displaying at the Midwest RepRap Festival next weekend?

I am unable to make it but have a free CRAMPS board for anyone willing
to hook it to some motors and run a demo.  Serious bonus points (and
more free stuff!) if you can hook it to any sort of printer.  Contact me
privately via email if you're interested.

I really want LinuxCNC on the 'Bone represented at the festival and
don't yet know of anyone else intending to show this.  Does anyone know
of someone who's planning to show 3D printing with the 'Bone (using
LinuxCNC or any other software)?

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

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


Re: [beagleboard] Midwest RepRap Festival

2014-03-09 Thread Charles Steinkuehler
On 3/9/2014 4:29 PM, Charles Steinkuehler wrote:
 Is anyone displaying at the Midwest RepRap Festival next weekend?
 
 I am unable to make it but have a free CRAMPS board for anyone willing
 to hook it to some motors and run a demo.  Serious bonus points (and
 more free stuff!) if you can hook it to any sort of printer.  Contact me
 privately via email if you're interested.
 
 I really want LinuxCNC on the 'Bone represented at the festival and
 don't yet know of anyone else intending to show this.  Does anyone know
 of someone who's planning to show 3D printing with the 'Bone (using
 LinuxCNC or any other software)?

Apparently, the best way to get permission from the spouse for a crazy
trip is to plead for help on the internet.  I CAN NOW GO TO THE
FESTIVAL!!!  I'll be around all day Saturday, and until about 11:00 on
Sunday!

Look me up if you're going to be there.  I suspect the BeagleBone
supporters will be greatly outnumbered by the AVR and Cortex-M folk, so
we need to stand together!  :)

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

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


Re: [beagleboard] sleep mode and wake modes..

2014-03-09 Thread Ruben Kertesz

Robert, 

I'm sorry to trouble you. Have you succesfully built an image with power 
management? I actually am looking for something that will go into low 
frequency mode or standby when I am not taking measurements (sleep for 5 
minutes, wake for 1). Any solutions?
Thank you for all of your hard work!


On Monday, February 10, 2014 12:25:01 PM UTC-5, RobertCNelson wrote:




 On Mon, Feb 10, 2014 at 11:17 AM, Ron Morgan ront...@gmail.comjavascript:
  wrote:



 On Monday, February 10, 2014 9:41:42 AM UTC-7, RobertCNelson wrote:




 On Mon, Feb 10, 2014 at 10:39 AM, Ron Morgan ront...@gmail.com wrote:



 oh and the image is from the armhf website. 
 armhfhttp://www.armhf.com/index.php/boards/beaglebone-black/
  
 Debian Wheezy 7.2 Hard Float Minimal Image 


 Okay, so it's not debian the image i'm developing for beagleboard.org.

 You should go ask armhf.com why their image is randomly suspending..

 Regards,

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


 Sorry Robert, I was not aware of your image. I am still quite new to BBB 
 or BeagleBorad and arm in general. I looked all over the beagleboard.orgsite 
 but only found documentataion for ubuntu, android and angstrom. I 
 didn't see Debian. I know many or most consiter ubuntu and debian the 
 same.. I do want to run headless no matter what and I found angstrom.. was 
 not what I I was looking for. I did not want to learn a new operating 
 system. I am familiar with Debian. soo thats why I was looking for a Debian 
 image.

 is there a debian headless image on supported on beagleboard.org? if not 
 a could make due with a stable headless ubuntu.. but it feels like an 
 imposter (thats a joke) :)


 So the image i'm working on with beagleboard.org is posted here:

 https://groups.google.com/d/msg/beagleboard/D1ioNrzzXfQ/LdfJ2ccuiY4J

 This was last week's image.

  


 at some point I think I will want to compile my own kernel as well. but 
 that is some way down the road. I have not compiled one sense i was in 
 school. even headless there are lots of things I think I could live without 
 for a proxy.  

 so.. is there a headless debian image supported by beagleboard.org? 


 For a simple headless/server image take a look a this:

 http://elinux.org/BeagleBoardDebian

 Couple different install types, depending on which board you have from 
 beagleboard.org

 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: Any progress in power management on the BBB?

2014-03-09 Thread Ruben Kertesz
After doing a little more sleuthing, I found a thread here
https://groups.google.com/forum/#!searchin/beagleboard/sleep$20black|sort:date/beagleboard/euJIpxfSkl8/v1XjOLGzY_oJ
Does anybody run kernel 3.2 or 3.12 instead of 3.8? 

Looks like ARMhf *May *have something built.
https://groups.google.com/forum/#!searchin/beagleboard/power$20management|sort:date/beagleboard/M8fQtU-pJbI/SzSnBjwuT90J


On Friday, March 7, 2014 2:31:33 PM UTC-5, Ruben Kertesz wrote:

 I understand that this question has been asked before in various forms and 
 apologize to those who think this is a useless question. Go easy on me 
 (first time poster).

 I am working on using the BBB in an embedded environment. It has the power 
 I need to do image capture and machine vision processing as well as light 
 control and data logging. 
 The issue is that I only need to power it on once every 5 minutes (for a 
 very brief time). 
 I am looking into power management and see that some people have discussed 
 kernel 3.12 as being better than 3.8, others discussing using android. Is 
 there anybody who can definitively point me to how to control sleep or 
 standby states in between readings (with wake up by RTC or interrupt)?
 The SoC can do it but has anybody succesfully compiled a distro that takes 
 advantage of power management?

 Thank you so much,
 ruben


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


[beagleboard] BBB PRU input test

2014-03-09 Thread Manu
I was trying a few days to enable PRU (BBB Ubuntu 12.04)  and run a input 
testing code using the pin P9_24.

MUX = pin 97 (44e10984) 0006 pinctrl-single  (SET to MODE 6)

P9 24 pr1_pru0_pru_r31_16.GPIO0_15: | MODE6 | INPUT

Nothing happens when I put the pin to 1.8 or GND

The ASM code is:

.origin 0
.entrypoint START

#define PRU0_ARM_INTERRUPT 19
#define AM33XX

#define GPIO1 0x4804c000
#define GPIO_CLEARDATAOUT 0x190
#define GPIO_SETDATAOUT 0x194

START:
// clear that bit
LBCO r0, C4, 4, 4
CLR r0, r0, 4
SBCO r0, C4, 4, 4

MOV r0, 10 //# cycles

INPUTTEST:
 
 WBS r31.t15 //Wait til GPIO-15-in is high... P9_24
SUB r0, r0, 1 //Subtract from counter
QBNE INPUTTEST, r0, 0 //Loop if counter not at zero
 // Send notification to Host for program completion
MOV R31.b0, PRU0_ARM_INTERRUPT+16

MOV r0, 0
HALT

I don't know what I am doing wrong and in Internet are not examples for 
INPUT tests.




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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: BBB re-flash

2014-03-09 Thread foreverska
Well I got it to go finally by:
using gparted to format the 73mb boot partition as FAT
rewriting the flasher SD card

 Still no luck with TTYLinux though

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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] For GSOC: Implementation of ZBOSS Open Source ZigBee stack on Beaglebone

2014-03-09 Thread Aurojyoti Das
I was looking for projects related to ZigBee on beagleboards. But the 
restrictions imposed by the ZigBee alliance has prevented the development 
of an open-source zigbee stack on linux. People are using the 6LowPaN stack 
instead which is open-sourced. 

I found an open-source ZigBee stack developed by DSR Corp. which has been 
approved by the ZigBee alliance. It supports a wide range of platforms and 
hence, I am thinking of implementing the stack onto BeagleBone Black for my 
GSOC project. 

Benefits:
1. Better mesh-networking capabilities.
2. AES-enabled security features on the zigbee network
3. Better compatibility with zigbee devices.

I would love to work on this topic if a mentor is willing to take this up. 

Auro

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


Re: [beagleboard] BBB PRU input test

2014-03-09 Thread Charles Steinkuehler
On 3/9/2014 8:37 PM, Manu wrote:
 I was trying a few days to enable PRU (BBB Ubuntu 12.04)  and run a input 
 testing code using the pin P9_24.
 
 MUX = pin 97 (44e10984) 0006 pinctrl-single  (SET to MODE 6)
 
 P9 24 pr1_pru0_pru_r31_16.GPIO0_15: | MODE6 | INPUT
 
 Nothing happens when I put the pin to 1.8 or GND

You have to enable the pin's input buffer:

https://github.com/cdsteinkuehler/beaglebone-universal-io/blob/master/cape-universal-00A0.dts#L429

 The ASM code is:
 
 .origin 0
 .entrypoint START
 
 #define PRU0_ARM_INTERRUPT 19
 #define AM33XX
 
 #define GPIO1 0x4804c000
 #define GPIO_CLEARDATAOUT 0x190
 #define GPIO_SETDATAOUT 0x194
 
 START:
 // clear that bit
 LBCO r0, C4, 4, 4
 CLR r0, r0, 4
 SBCO r0, C4, 4, 4
 
 MOV r0, 10 //# cycles
 
 INPUTTEST:
  
  WBS r31.t15 //Wait til GPIO-15-in is high... P9_24
 SUB r0, r0, 1 //Subtract from counter
 QBNE INPUTTEST, r0, 0 //Loop if counter not at zero
  // Send notification to Host for program completion
 MOV R31.b0, PRU0_ARM_INTERRUPT+16
 
 MOV r0, 0
 HALT
 
 I don't know what I am doing wrong and in Internet are not examples for 
 INPUT tests.

Your code looks OK.  Here's a known working example that uses the PRU
direct inputs to implement a PRU software based encoder interface:

https://github.com/cdsteinkuehler/linuxcnc/blob/WIP-pru-cleanup/src/hal/drivers/hal_pru_generic/pru_encoder.p

...it's not the easiest code to use as a reference, since it relies on
my universal overlay (to setup proper pin multiplexing), and ARM code
(to setup and configure the look-up tables to do counting, see encoder.c
in the same directory), but perhaps it will be of some help.

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

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


[beagleboard] Re: booting error with BBB [Error: unrecognized/unsupported machine ID (r1 = 0x00000e05).]

2014-03-09 Thread siva kumar
buddy..
thanks for your useful information.. 
now i can able to boot the kernel from scratch ..
but as usual kernel panic error occurred ...this might be a problem with 
nfs configuration
[4.688893] IP-Config: Complete:
[4.692338]  device=eth0, hwaddr=90:59:af:5b:d4:88, 
ipaddr=192.168.1.61, mask=255.255.255.0, gw=192.168.1.100
[4.703098]  host=192.168.1.61, domain=, nis-domain=(none)
[4.709215]  bootserver=192.168.1.69, rootserver=192.168.1.69, 
rootpath=
[4.716420] ALSA device list:
[4.719726]   #0: TI BeagleBone Black
*[4.860556] VFS: Mounted root (nfs filesystem) on device 0:12.*
[4.867169] devtmpfs: mounted
[4.870723] Freeing init memory: 292K
[  *  4.926371] Kernel panic - not syncing: No init found.  Try passing 
init= option to kernel. See Linux Documentation/init.txt for guidance.*
*[4.939425] [c001367c] (unwind_backtrace+0x0/0xe0) from [c05e6d00] 
(panic+0x84/0x1e0)*
[4.947988] [c05e6d00] (panic+0x84/0x1e0) from [c05e1a80] 
(kernel_init+0xb8/0xe4)
[4.956185] [c05e1a80] (kernel_init+0xb8/0xe4) from [c000d918] 
(ret_from_fork+0x14/0x3c)
[4.965008] drm_kms_helper: panic occurred, switching back to text 
console




On Sunday, 9 March 2014 07:25:56 UTC+5:30, t-szczyrba wrote:

 Looks like DT file loading before booting is missing. 
 For kernels 3.2 and BBB you should pre-load dtb with u-boot to boot 
 succesfully (or append dtb file to kernel image, but have to  
 CONFIG_ARM_APPENDED_DTB kernel compile option enabled).

 There is also a possibility that dtb is loaded correctly, but the kernel 
 is too big and when decompresses overwrites dtb - it easy to check if the 
 situation happened in your case with nm tool- no symbol should be loaded 
 above c0f8 for default u-boot config,

 T.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from 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.