[beagleboard] Re: Blank desktop when OpenBox was selected

2015-03-16 Thread Graham
Go to

http://beagleboard.org/getting-started

and follow the instructions for

Update board with latest software.

==

If you want what came with it

On Monday, March 16, 2015 at 5:05:33 PM UTC-5, Mark Roles wrote:

 I just wanted to try out the OpenBox desktop option on my BBB REV c with 
 the supplied Debian image that it came with. Now all I get is a blank 
 desktop and a mouse that I can move around on but nothing to click on, even 
 after I reboot. How do I go about setting back to the original default 
 desktop?


-- 
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] Free eBook copies of Packt's latest title Learning BeagleBone available for review

2015-03-16 Thread ybeagle
Hi,

I might be able to help with that. 

This is intended to be an intro book for those getting started with the 
BeagleBone boards.

Things covered:

- The differences between the 4 different Beagle boards (BBC, BBX, BBB, BBW) and
roughly what their strengths are. Focus is on the BBB and BBW as implied by 
the title.
- Useful accessories.
- Flashing and basic diagnostics for the board.
- Unboxing and other fundamental steps (connecting to it with 
javascript/serial port)
- Exercise to program the board without using Java and turning that into a 
sample product (creating a startup script, having a very basic web UI).
- Potential expansion paths (precanned and custom stuff along with some common 
hook ups like LEDs and relays). 
- Options for internet connectivity and their pitfalls
- How booting works.


On Monday, March 16, 2015 16:25:06 William Hermans wrote:
 Hello sandy.
 
 Could you perhaps give us an idea of what all this book covers ? Amazon
 does not seem to have an index of this book. . . But would be more than
 glad to review the book, if the subject matter is interesting.
 
 On Mon, Mar 16, 2015 at 7:03 AM, Sandy Joseph san...@packtpub.com wrote:
  Hi all,
  
  My name is Sandy Joseph and I work for Packt.
  
  I am pleased to let you all know that we have recently published a book
  titled, Learning BeagleBone
  https://www.packtpub.com/hardware-and-creative/learning-beaglebone
  Comprising of just 206 pages,this book is ideal for new BeagleBone owners
  who are looking to quickly get their microboard up and running.
  
  
  
  https://lh4.googleusercontent.com/-Qrc1w1tLKHQ/VQbbRIdJglI/Dug/OP
  T7sCR6tdU/s1600/Learning%2BBeagleBone.png
  
  
  
  
  
  
  
  
  
  
  
  
  
  In case anyone is interested in checking out this title and posting a
  review on amazon.com and any other site of your choice within 12 days,
  please write to me at san...@packtpub.com. I'll be glad to provide you
  with a free eBook for your perusal.
  
  I look forward to your response and thanks for your time reading this
  mail.
  
  Regards,
  Sandy Joseph
  
   --
  
  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.

--
Hunyue Yau
http://www.hy-research.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] Free eBook copies of Packt's latest title Learning BeagleBone available for review

2015-03-16 Thread William Hermans
Ah, ok. So better for someone else to read and review.

On Mon, Mar 16, 2015 at 5:08 PM, ybea...@rehut.com wrote:

 Hi,

 I might be able to help with that.

 This is intended to be an intro book for those getting started with the
 BeagleBone boards.

 Things covered:

 - The differences between the 4 different Beagle boards (BBC, BBX, BBB,
 BBW) and
 roughly what their strengths are. Focus is on the BBB and BBW as implied by
 the title.
 - Useful accessories.
 - Flashing and basic diagnostics for the board.
 - Unboxing and other fundamental steps (connecting to it with
 javascript/serial port)
 - Exercise to program the board without using Java and turning that into a
 sample product (creating a startup script, having a very basic web UI).
 - Potential expansion paths (precanned and custom stuff along with some
 common
 hook ups like LEDs and relays).
 - Options for internet connectivity and their pitfalls
 - How booting works.


 On Monday, March 16, 2015 16:25:06 William Hermans wrote:
  Hello sandy.
 
  Could you perhaps give us an idea of what all this book covers ? Amazon
  does not seem to have an index of this book. . . But would be more than
  glad to review the book, if the subject matter is interesting.
 
  On Mon, Mar 16, 2015 at 7:03 AM, Sandy Joseph san...@packtpub.com
 wrote:
   Hi all,
  
   My name is Sandy Joseph and I work for Packt.
  
   I am pleased to let you all know that we have recently published a book
   titled, Learning BeagleBone
   https://www.packtpub.com/hardware-and-creative/learning-beaglebone
   Comprising of just 206 pages,this book is ideal for new BeagleBone
 owners
   who are looking to quickly get their microboard up and running.
  
  
  
   
 https://lh4.googleusercontent.com/-Qrc1w1tLKHQ/VQbbRIdJglI/Dug/OP
   T7sCR6tdU/s1600/Learning%2BBeagleBone.png
  
  
  
  
  
  
  
  
  
  
  
  
  
   In case anyone is interested in checking out this title and posting a
   review on amazon.com and any other site of your choice within 12 days,
   please write to me at san...@packtpub.com. I'll be glad to provide you
   with a free eBook for your perusal.
  
   I look forward to your response and thanks for your time reading this
   mail.
  
   Regards,
   Sandy Joseph
  
--
  
   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.

 --
 Hunyue Yau
 http://www.hy-research.com/

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


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


[beagleboard] Beaglebone Black eQEP

2015-03-16 Thread kirkmitcatwork

I'm trying to get quadrature encoder signals into my new Beaglebone Black 
board.
I have a Rev. C BBB running:
Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l 
GNU/Linux


*** 1st question:
I understand that recent Debian distributions on the BBB have eQEP drivers 
included.
Does the above version have the eQEP drivers?
If not, which version do I need?

*** 2nd question:
I copied the pre-compiled dtbo files from here:
https://github.com/Teknoman117/beaglebot/tree/master/encoders/dts
to  /lib/firmware  as explained in the readme file.
The files I copied are:
bone_eqep0-00A0.dtbo
bone_eqep1-00A0.dtbo
bone_eqep2-00A0.dtbo
bone_eqep2b-00A0.dtbo

Problem is when I issue this command:
root@beaglebone:/sys/devices/bone_capemgr.9# echo bone_eqep2b  
/sys/devices/bone_capemgr.9/slots
-bash: echo: write error: Invalid argument
you can see it gives me an invalid argument error.
And I don't see the slots file change to indicate that it has loaded the 
eQEP driver.
This is what I see in the slots file:
 0: 54:PF---
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI

Do you know what I'm doing wrong?


Thanks,
Kirk

-- 
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] Date/Time syncronization (Ubunutu 13.04)

2015-03-16 Thread s . p . emmons
So, troubled by the same situation and not finding any alternatives, I 
tried this technique. However, it doesn't seem to work -- at least on my BB 
Black with the 2015-03-01 build.

In fact, I had a hint that it would not work even before I tried it.

My original /etc/timestamp file had a March 1 date matching the build date, 
but my /var/log/syslog timestamps on reboot began with March 5 while 
today's date is March 15.

I don't know why the system decided to startup using March 5 as its date.

And after following the suggestion of updating /etc/timestamp using a cron 
job -- I chose once per minute since the /etc/timestamp file captured only 
hours/minutes (why??) -- and confirming that the file was being updated 
appropriately, after a reboot, I'm back to March 5 until after networking 
is up and NTP can connect to a server.

So, how DOES the system decide to choose a starting time on reboot???

-- 
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: problems with opkg update for Angstrom

2015-03-16 Thread popp . matthias . de
Hey, 

I don't know if anyone is still using Angstrom on BBB but for me the 
following was useful.

Beacause of the feed server was unreachable I desided to change the opkg 
repository lying in the /etc/opkg/ directory:

 http://dominion.thruhere.net/angstrom/feeds/ is an alternative repositry 
so change every config file in the directory exept arch.conf. For exaple 
beaglebone-feed.conf

src/gz beaglebone 
http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/
machine/beaglebone

to

src/gz beaglebone 
http://dominion.thruhere.net/angstrom/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/
machine/beaglebone

in my case this is v2012.12 because the kernel version was 2012v - you can 
check that by
more /etc/angstrom-version

To do so you should use VI or my favourit Nano text editor (much simpler)

Greetings from Germany 

Matthias

Am Donnerstag, 12. März 2015 12:50:24 UTC+1 schrieb jakubo...@gmail.com:

 Does anybody know why the site:

 http://feeds.angstrom-distribution.org

 doesn't respond? 

 Actually there is an error 502 Bad Gateway when I try to update the 
 Angstrom. I tried to visit the site in Windows but the effect is the same.

 Plz help!

 Jackie


-- 
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 - No HDMI Output

2015-03-16 Thread Robert Nelson
On Mon, Mar 16, 2015 at 4:52 AM, Upol Ryskulova upo...@gmail.com wrote:
 Hello Robert,
 I have checked my u-boot version. On working two BBB boards u-boot version
 is U-Boot 2014.04-00015-gb4422bd. On problematic BBB board it is U-Boot
 2013.10-00016-ga0e6bc6.
 Do I need to upgrade my u-boot to the 2014.04-00015 version?

Well, if that's truly the only difference.


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] Free eBook copies of Packt's latest title Learning BeagleBone available for review

2015-03-16 Thread Sandy Joseph

Hi all,

My name is Sandy Joseph and I work for Packt.

I am pleased to let you all know that we have recently published a book 
titled, Learning BeagleBone 
https://www.packtpub.com/hardware-and-creative/learning-beaglebone
Comprising of just 206 pages,this book is ideal for new BeagleBone owners 
who are looking to quickly get their microboard up and running.


https://lh4.googleusercontent.com/-Qrc1w1tLKHQ/VQbbRIdJglI/Dug/OPT7sCR6tdU/s1600/Learning%2BBeagleBone.png













In case anyone is interested in checking out this title and posting a 
review on amazon.com and any other site of your choice within 12 days, 
please write to me at san...@packtpub.com. I'll be glad to provide you with 
a free eBook for your perusal. 

I look forward to your response and thanks for your time reading this mail.

Regards,
Sandy Joseph

-- 
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: Yocto Build Enable LCD4 cape during build

2015-03-16 Thread tonghualee
I have the same problem here.
From supplier, I got am335x-boneblack-lcd4.dts and DVK530-LCD4-01-00A0.dts, 
but don't know how to use it with yocto.
Anyone could help?

Thanks

Tom Li

On Thursday, September 11, 2014 at 10:24:12 PM UTC-4, cleo...@gmail.com 
wrote:

 I am very new to the beaglebone and yocto.

 I want to enable an LCD Cape (LCD4, 480x272 res) while building the image 
 using the yocto project. 

 Do i need to create a new layer and then append the appropriate recipe? 
 Can you please provide steps to accomplish this.


 thanks, 

 CB


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


Re: [beagleboard] Help with Uboot and tftp

2015-03-16 Thread Bill Traynor
Are you certain there's a dhcp server running on your local network?

On Mon, Mar 16, 2015 at 7:22 AM, Hemant Kapoor kapoor.hem...@gmail.com wrote:
 Hello Bill,

 Thanks for your response. I looked into the link but when I enter the below
 command

 dhcp

 I can below issue:
 U-Boot# dhcp
 link up on port 0, speed 10, half duplex
 BOOTP broadcast 1
 BOOTP broadcast 2
 BOOTP broadcast 3
 BOOTP broadcast 4
 BOOTP broadcast 5
 BOOTP broadcast 6
 BOOTP broadcast 7
 BOOTP broadcast 8
 BOOTP broadcast 9
 BOOTP broadcast 10

 Retry count exceeded; starting again
 using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
 MAC d0:39:72:6b:eb:11
 HOST MAC de:ad:be:af:00:00
 RNDIS ready
 musb-hdrc: peripheral reset irq lost!
 high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
 USB RNDIS network up!
 BOOTP broadcast 1
 BOOTP broadcast 2
 BOOTP broadcast 3
 BOOTP broadcast 4
 BOOTP broadcast 5
 BOOTP broadcast 6
 BOOTP broadcast 7
 BOOTP broadcast 8
 BOOTP broadcast 9
 BOOTP broadcast 10

 Retry count exceeded; starting again
 link up on port 0, speed 10, half duplex
 BOOTP broadcast 1
 BOOTP broadcast 2
 BOOTP broadcast 3
 BOOTP broadcast 4
 BOOTP broadcast 5
 BOOTP broadcast 6
 BOOTP broadcast 7
 BOOTP broadcast 8
 BOOTP broadcast 9
 BOOTP broadcast 10


 So not sure where to go from here.

 Regards,
 Hemant Kapoor

 --
 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: BeagleBone Black - No HDMI Output

2015-03-16 Thread upol . ryskulova
Actually I am working on three BBB boards, and they have preinstalled linux 
3.8.13-bone70. Two of them are happy with our LCD screen(I do not why 
though, yes I had checked the link you send me Robert. I guess really it is 
exceptional case displaying on 1080@60 [smile] ). On one board I am having 
problem with LCD display I reinstalled linux3.8.13-bone41 accidentally, and 
upgraded to 3.8.13-bone70. After upgrade at least displaying for 2-3 
minutes, before installing bone41 It did not display anything. I am not 
sure whether they have exactly same u-boot version. Is it ok if I update 
you tommorow?


  

-- 
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 - No HDMI Output

2015-03-16 Thread upol . ryskulova
Actually we have three BBB boards, and two of them are perfectly displaying 
on our LCD screen with 1080@60 (I do not know why though, I have looked the 
lin http://elinux.org/Beagleboard:BeagleBoneBlack_HDMIk that you send me 
Robert). All BBBs came with preinstalled linux 3.8.13-bone-70. On one that 
has display problem I reinstalled linux 3.8.13-bone41 accidentally and 
after than I upgraded to bone70. I am not sure If they have exactly same 
u-boot version. Is it ok, If I update you tomorrow? 

воскресенье, 15 марта 2015 г., 14:05:10 UTC пользователь Upol Ryskulova 
написал:

 Yes, exactly the same software on both BBB.

 2015-03-15 1:11 GMT+00:00 Gerald Coley ger...@beagleboard.org 
 javascript::

 So you have one board that works and another that does not work with the 
 same exact software?
 Gerald

 On Sat, Mar 14, 2015 at 11:43 AM, Upol Ryskulova upo...@gmail.com 
 javascript: wrote:

 Hello Gerald,
 I faced with the same problem as Glenn
 I appear to be getting is that during the initial boot, I get the 
 BeagleBone logo appear in the top left of the screen. This also changes 
 size depending on what resolution I set in uEnv.txt .After this image 
 disappears and a little more time has passed, I get No Signal on my 32 
 TV or Power Saving Mode HDMI on my LG Flatron L246WH 24 Monitor.  said 
 above. Except I have different LCD Screen. My parse-edid edid

 parse-edid: parse-edid version 2.0.0
 parse-edid: EDID checksum passed.

 # EDID version 1 revision 3
 Section Monitor
 # Block type: 2:0 3:ff
 # Block type: 2:0 3:fc
 Identifier Philips 226V4
 VendorName PHL
 ModelName Philips 226V4
 # Block type: 2:0 3:ff
 # Block type: 2:0 3:fc
 # Block type: 2:0 3:fd
 HorizSync 30-83
 VertRefresh 56-76
 # Max dot clock (video bandwidth) 170 MHz
 # DPMS capabilities: Active off:yes  Suspend:no  Standby:no

 Mode 1920x1080 # vfreq 60.000Hz, hfreq 67.500kHz
 DotClock 148.50
 HTimings 1920 2008 2052 2200
 VTimings 1080 1084 1089 1125
 Flags +HSync +VSync
 EndMode
 # Block type: 2:0 3:ff
 # Block type: 2:0 3:fc
 # Block type: 2:0 3:fd
 EndSection

 I did try to give defaul screen resolution in uEnv.txt as Glenn said. 
 But it is just changing the size of the debian logo for 2-3 seconds and 
 then screen turning to black again. I upgraded to linux 3.8.13-bone70 today 
 from linux 3.8.13-bone41 just downloaded it ran ./install-me.sh then 
 rebooted. I am working with two beaglebone black boards right now. One is 
 perfectly running with lcd screen and hdmi cable without any modification 
 to uEnv.xt file or something else. Both BBB boards have same kernel and os 
 versions. I appreciate all your advice and help.

 Upol 



 29 Aralık 2013 Pazar 22:28:57 UTC+2 tarihinde Gerald yazdı:

 I assume you followed all the instructions on the Wiki, so I guess the 
 board is bad. I would to an RMA request.

 Gerald



 On Sat, Dec 28, 2013 at 10:57 AM, aeh...@gmail.com wrote:

 Hi Gerald! I have the same problem as the people on here. Did an MMC 
 reflash to latest software and thought maybe it is a faulty HDMI cable. I 
 have since received a dragon board with the same micro hdmi connector as 
 the beaglebone. Dragonboard HDMI works fine, BeagleBone does not. 
 Any ideas?
 Thanks, Alex


 On Tuesday, May 7, 2013 7:06:19 AM UTC-7, ghalf...@googlemail.com 
 wrote:

 I've just received a BeagleBone Black, but I can't get the HDMI 
 output to work for love nor money. I'm using a known-good micro-HDMI to 
 HDMI adapter, and I've tried connecting it to a 1280x1024 monitor via a 
 HDMI to DVI-D cable and to a 1080p TV using a straight HDMI cable. The 
 TV 
 knows there's something there (it disables inputs that are inactive, and 
 it 
 allows me to select the HDMI input to which the BeagleBone is connected) 
 but says No Signal, whereas the monitor just says No Signal.

 I've tried both the preinstalled Angstrom Linux and the console 
 version of Ubuntu 13.04 - no dice with either. I've got a proper 
 micro-HDMI 
 to HDMI cable arriving tomorrow, just in case there's something the 
 BeagleBone Black doesn't like about the adapter I'm using (although I 
 tested it on a Nokia 808 PureView, and it worked fine.)

 Anybody any ideas what might be preventing the BeagleBone Black from 
 bringing up a display? I can see nothing in the kernel logs that sheds 
 any 
 light on the matter. It sees the virtual HDMI cape in Slot 6 and appears 
 to 
 load the firmware cape-boneblack-hdmi-00A0.dtbo fine.

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

Re: [beagleboard] Robust strategy for updating /etc/timestamp

2015-03-16 Thread Robert Nelson
On Sun, Mar 15, 2015 at 10:08 AM,  s.p.emm...@gmail.com wrote:
 So as I've come to understand, without a battery-backed up RTC, there is a
 period on startup where the BB's time reflects whatever is in the file
 /etc/timestamp before an NTP process can update it. This is reflected in
 timestamps in /var/log/syslog and elsewhere.

 Several people have posted frustrations with inaccurate syslog times for
 unexpected reboots and other situations where this behavior makes life
 difficult. Several people have suggested various strategies for updating the
 /etc/timestamp file periodically and/or as part of a shutdown script, but
 the one is only as good as the update frequency and the other is only good
 if there is a normal shutdown.

 Has anyone created a robust solution for this problem that has been proven
 out in practice that they can share? Is there any chance something like this
 could be made into a service or some kind of shared solution in GitHub or
 elsewhere?


Well, as of systemd v215, there is a built time sync feature now.

systemctl enable systemd-timesyncd.service

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

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


Re: [beagleboard] Help with Uboot and tftp

2015-03-16 Thread Hemant Kapoor

I checked and I dont have dhcp server installed or running :(

But do we need to do it or we can use tftp server (tftpd-hpa) to do simple 
file transfer.

Also I realized that I am missing one vital information, which is that the 
host system is actually running on VirtualBox.

Any 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] Help with Uboot and tftp

2015-03-16 Thread Hemant Kapoor
Hello Bill, 

Thanks for your response. I looked into the link but when I enter the below 
command 

dhcp 

I can below issue: 
U-Boot# dhcp
link up on port 0, speed 10, half duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

Retry count exceeded; starting again
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC d0:39:72:6b:eb:11
HOST MAC de:ad:be:af:00:00
RNDIS ready
musb-hdrc: peripheral reset irq lost!
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
USB RNDIS network up!
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10

Retry count exceeded; starting again
link up on port 0, speed 10, half duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10


So not sure where to go from here.

Regards, 
Hemant Kapoor

-- 
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] Touch gets hang in noisy environment.

2015-03-16 Thread Kishor Dhanawade
Hello,
I am using beaglebone black board with 
ubuntu-14.04.2-console-armhf-2015-02-19ubuntu-14.04.2-console-armhf-2015-02-19 
on SD-card. I have LCD4 Cape (4.3 LCD). Everything is working fine 
including touch.
I want to use this complete system in noisy environment like 
with an AC motor. So I am testing this with chattering test. During 
chattering test touch gets hang within a couple of minutes. Other system is 
working fine except touch. After reboot again touch starts working but 
again gets hang within couple of minutes. I am unable to find out whether 
this is hardware issue or software issue. 
Please help me to solve this problem.
Thanking you.

Regards,
kishor

-- 
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: programming BBB - choice of language

2015-03-16 Thread Stephan Mulacz
I thought that C++ plugins  can be used in node.js. This would probably 
have been the way if had chosen if I wanted to include ultimate series port 
control.

To be honest I never though about Phyton. I know that the networking 
capability is good. But the second thing that comes into my mind is easy 
text processing. But not easy graphics control. I have to look into this 
because I probably just missed the developlment of the last decade ;-).
I'm looking for an easy graphic interface like javascript/html5 where you 
can just create window, load carnavas, place carnavas. Load image, place 
image,  animate image, handle event. But I found this drop in approach only 
for interpreter languages.
Most libraries I found for C++ have the painting philosophy making 
everything more complicated (although I was used to this).
If I look at QT quick it says 'QML is based on CSS and JavaScript', 
'similarity to CSS and JavaScript', ... It starts to sound like it's a 
javascript copy but I don't see the advantage on using that copy.
I've learned that I don't need OpenGL (I was mistaken on that in the 
beginning). But the majority of the elements that I'm gonna display is 
animated. So 2D hardware support for sprite position transitions and 
animiations would be a grat. Otherwise the BBB will spend considerable 
processing time on handling the graphics.

The most feasible approach in the moment seems to make the worker thread 
in C/C++ including a server  (just because I know the language well and 
many potential future porblems might already have C solutions). And to make 
the GUI in javascript/html5. Than I have one common GUI. But I don't know a 
way how javascipt uses HW graphic support on BBB.

I'm still in the conception phase. Web interface is a nice to have. 
Priority has ofcourse the local implementation. It could well be that I 
discard the whole web interface if it blows up the effort and log in on BBB 
via X window if needed.

Chilli

-- 
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 - No HDMI Output

2015-03-16 Thread Upol Ryskulova
Hello Robert,
I have checked my u-boot version. On working two BBB boards u-boot version 
is U-Boot 2014.04-00015-gb4422bd. On problematic BBB board it is U-Boot 
2013.10-00016-ga0e6bc6. 
Do I need to upgrade my u-boot to the 2014.04-00015 version?
Thank you in advance.
Regards,
Upol

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


[beagleboard] Re: BeagleBone Black Ethernet not working

2015-03-16 Thread Stephan Mulacz
Did you try to flash a recent image? http://beagleboard.org/latest-images
For latest BBB I (Rev. C) would recommend 
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBB_Rev_C_.284GB_eMMC.29

My BBB was not working out of the box. The latest images end of Fabruary 
also made problems. But the actual one is working fine. You can update the 
kernel and the confirguration after flashing to your needs.

Chilli

Am Samstag, 14. März 2015 12:56:00 UTC+1 schrieb Rimvydas Janušauskas:

 Hello, when i started a project with BBB i noticed that my ethernet not 
 working , i don't really now if it's hardware or software problem, because 
 i never used it until now(internet over usb was enough). So any ideas how 
 to fix it ? 

 My dmesg : 

 eth0: initializing cpsw version 1.12 (0)
 [   97.431262] net eth0: phy found : id is : 0x7c0f1
 [   97.431282] libphy: PHY 4a101000.mdio:01 not found
 [   97.436333] net eth0: phy 4a101000.mdio:01 not found on slave 1
 [   97.446057] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
 [   99.439002] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
 [   99.439056] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [   99.502866] IPv6: eth0: IPv6 duplicate address 
 fe80::6eec:ebff:fe5d:596b detected!



-- 
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] PRUSS extRAM vs ddrMem; are they different memories or both part of the 500Mbytes DDRL3?

2015-03-16 Thread Bit Pusher
I am trying to figure out memory mappings in the PRU, and especially ddrMem 
vs extRAM, and although there is information here and there, I have yet to 
find a cohesive explanation. I have found a few things to share, and 
perhaps someone more knowledgeable can help fill in some unanswered 
questions. First, a small caution, the Makefiles in the individual 
directories of TI's three examples in their am335x_pru_package are missing 
the -V3 flags that should be passed to pasm_2; they are not missing in the 
Makefile one level up, since I used the lower level Makefiles, this error 
lost me almost a week. Irrespective, re memory.

It appears to me that ddrMem accessed at 0x8000 in PRU space is 
different than extRAM that is accessed at an address in PRU space found 
from cat /sys/class/uio/uio0/maps/map1/addr which for me gives 0x9f2c. 
The extRAM size is easily found using cat 
/sys/class/uio/uio0/maps/map1/size (0x4 for me as I haven't increased 
it yet). However, I can't find anywhere discussion on what the size of 
ddrMem can be safely used. In user space I map ddrMem in userspace using:

mem_fd = open(/dev/mem, O_RDWR);
/* map the DDR memory */
ddrMem = mmap(0, 0x0FFF, PROT_WRITE | PROT_READ, MAP_SHARED, 
mem_fd, DDR_BASEADDR);
if (ddrMem == NULL) {
printf(Failed to map the device (%s)\n, strerror(errno));
close(mem_fd);
return -1;
}
ddrMem_int = (unsigned int*) ddrMem;
memset(ddrMem, 0, 0x2000);

where DDR_BASEADDR is 0x8000. This is based on the TI example. It 
appears the size of the memory is 0x1000 or about 256Mbytes. However, 
if one changes the memset to memset(ddrMem, 0, 0x0FFF); (DO NOT DO 
THIS), it renders the BBB unuseable; it needs to be powererd down, 
disconnected from power, and then powered back up before it is useable. It 
would be nice to know how ddrMem could be used. I am working on figuring 
out access speeds to each, and from various places, it appears extRAM is 
always at memory locations where it can be accessed using Direct Memory 
Access. Can someone tell me the maximum size that can be used when loading 
uio_pruss; I saw it somewhere, but can't find the posting again? Also, it 
would be nice if the size could be set in a uio_pruss device tree overlay 
at boot time; I can't find info re this at all. Accessing ddrMem using SBCO 
seems to take 4 cycles for the first register, and then one cycle per 
additional register; that is the command:
SBCO r0, CONST_DDR, PARAM_OFFSET+0, 32 takes 11 cycles; I was expecting 9 
cycles (SBCO and SBBO commands normally take 2 cycles for the first 
register and 1 for each additional register, as opposed to LBCO and LBBO 
commands which take 4 cycles for the first register, and 1 cycle per 
additional register - it sure would be nice if TI gave us a table for 
disassembling the op codes and how many cycles per code). I don't 
understand yet where I am losing the 2 cycles. Just for some more info re 
memory mapping, noting the pid of my user space process is 1354, then 
doing sudo cat /proc/1354/maps gives:

8000-a000 r-xp  b3:02 14116 
 /home/martin/programming/pru/pru_test/logic_test
00012000-00013000 rw-p 2000 b3:02 14116 
 /home/martin/programming/pru/pru_test/logic_test
00013000-00034000 rw-p  00:00 0  [heap]
a6d0-a6d4 rw-s 1000 00:05 5333   /dev/uio0
a6d4-b6d4 rw-s 8000 00:05 2292   /dev/mem
b6d4-b6d8 rw-s 1000 00:05 5333   /dev/uio0
b6d8-b6e0 rw-s  00:05 5333   /dev/uio0
b6e0-b6e4 rw-s 1000 00:05 5333   /dev/uio0
b6e4-b6ec rw-s  00:05 5333   /dev/uio0
b6ec-b6f98000 r-xp  b3:02 34894 
 /lib/arm-linux-gnueabihf/libc-2.13.so
 
and so on. The pru base addresses are b6d8-b6e0 and the addresses 
of the ddrMem are a6d4-b6d4, but again do not assume you can use 
all of these. There are also a number of mappings that I don't understand 
(such as b6d4-b6d8, b6e0-b6e4, and b6e4-b6ec).

Finally, I have had some success with including:
#include 
/home/martin/programming/pru/am335x_pru_package/pru_sw/app_loader/interface/__prussdrv.h
extern tprussdrv prussdrv;

to get at the prussdrv struct using gdb. This is quite helpful in 
understanding some of the PRU addresses.

Also, including
#include logic_addresses.h // for PRU relative addresses used in debug

where logic_addresses.h has:

#define PDATA0 0x0
#define PINST0 0x34000
#define PCNTL0 0x22000
#define PDBUG0 0x22400
#define PDATA1 0x02000
#define PINST1 0x38000
#define PCNTL1 0x24000
#define PDBUG1 0x24400
#define PBASE  0x0
#define PINSTC 0x2
#define PIEP   0x2E000
#define PSHARE 0x1

static unsigned int pdata0 = PDATA0;
static unsigned int pinst0 = PINST0;
static unsigned int pcntl0 = PCNTL0;
static unsigned int pdbug0 = PDBUG0;
static unsigned int pdata1 = PDATA1;
static unsigned int pinst1 = 

[beagleboard] Re: BBB: running simple PySide code, but getting error cannot connect to X Server

2015-03-16 Thread Upol Ryskulova
Solved this problem. To be able to access X server I just needed to run the 
code as a normal user not as a root user. So I ssh'ed to beaglebone black 
as a debian user and ran the code. It was simple pyside code without any 
integration with GPIO's or I2C'es. In case you want to access/modify these 
pins you must deal with privileges of debian user.

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


[beagleboard] How to change Androids img partition size to work with fastboot

2015-03-16 Thread Rafael Coutinho


Hi,

I need a larger system img partition size. I have changed and created it 
correctly in devices BoardConfig.mk file to 512M.

However during fastboot for writing it to MMC it fails:

*sending 'system' (262144 KB)...*

*FAILED (remote: data too large)*

Why it still thinks this image has 256M? How could I change it?

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


Re: [beagleboard] Help with Uboot and tftp

2015-03-16 Thread Bill Traynor
You need a dhcp server for the dhcp command to get an ip.  I've done
this two ways before.  One, I've let my router hand out an ip to the
board and two, I've set up a dhcp server on the tftp server but handed
out ips in a completely different, and fixed range.

On Mon, Mar 16, 2015 at 10:34 AM, Hemant Kapoor kapoor.hem...@gmail.com wrote:

 I checked and I dont have dhcp server installed or running :(

 But do we need to do it or we can use tftp server (tftpd-hpa) to do simple
 file transfer.

 Also I realized that I am missing one vital information, which is that the
 host system is actually running on VirtualBox.

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

-- 
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: BBBAndroid: AOSP 4.4.4 (KitKat) with 3.8 kernel

2015-03-16 Thread grayver110
Hi Andrew*,*

I am trying to use the BBB for basic picture analysis with OpenCV over 
Android OS.

I was wondering, does this release support any basic usb cameras (are there 
any drivers for known products)?

So far i have found this 
http://www.radiumboards.com/HD_Camera_Cape_for_BeagleBone_Black.php which 
is a bit pricy.

thank you very much,

Grayver

On Sunday, September 28, 2014 at 6:14:24 PM UTC+3, Andrew Henderson wrote:

 Hello all. I have released a new port of Android for the BBB.  This 
 version uses AOSP 4.4.4 (KitKat) and the 3.8 Linux kernel. I have made 
 build instructions and a pre-made image available at 
 http://www.bbbandroid.org.  I use a combination of AOSP repos and Rowboat 
 build scripts, and I have a few custom repos for the kernel, bootloader, 
 and additional external tools (such as i2c-tools).  You can view the repo 
 manifest XML file for the project here:


 https://github.com/hendersa/bbbandroid-manifest/blob/master/bbbandroid-aosp-4.4.4_r1-3.8.xml

 Because this Android image uses the 3.8 kernel, you should be able to just 
 plug in your capes and go without any hassle:

 Built-in HDMI cape:
 http://i.imgur.com/q4AZQ95.jpg

 4D Systems LCD capes:
 4DCAPE-43T: http://i.imgur.com/6qHmgqX.jpg
 4DCAPE-70T: http://i.imgur.com/UZLG7Or.jpg

 CircuitCo LCD capes:
 LCD3: http://i.imgur.com/LC7SrBB.jpg 
 LCD4: http://i.imgur.com/1xBQ8R6.jpg
 LCD7: http://i.imgur.com/vxoqROE.jpg

 Andrew


-- 
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: Starterware

2015-03-16 Thread William Hermans
Oh, wow talk about grave digging . . . Tom, don't dig up any ore old posts
lol just realized the date on the OP's post . . . 2 years ago.

On Mon, Mar 16, 2015 at 10:35 PM, William Hermans yyrk...@gmail.com wrote:

 UNIVAC . . . huge comparison there. . . considering the BBB would take up
 the space of *maybe* 1 byte of ram on the UNIVACs . . . or a 10 Megabyte
 disk the size of a large modern kitchen . . .

 On Mon, Mar 16, 2015 at 10:21 PM, Tom Olenik tole...@hotmail.com wrote:

 I found the following worked well on the first try just tonight for
 programming BBB rev C through JTAG. I too am still looking for instructions
 on how to get StaterWare to build though.

 http://blog.parr.us/2014/11/14/beaglebone-black-debugging-via-ti-usb100v2-jtag-emulator/

 On Saturday, May 18, 2013 at 3:51:13 PM UTC-4, Larry Hilley wrote:

 Any word on when we'll get information on using Starterware on the BBB?

 As someone who has started worked with computers since 1960 for UNIVAC
 military with the 1st computers to go on Navy ships for the CIC function
 let me compliment you o a GREAT product.



 Larry



  --
 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: Starterware

2015-03-16 Thread William Hermans
UNIVAC . . . huge comparison there. . . considering the BBB would take up
the space of *maybe* 1 byte of ram on the UNIVACs . . . or a 10 Megabyte
disk the size of a large modern kitchen . . .

On Mon, Mar 16, 2015 at 10:21 PM, Tom Olenik tole...@hotmail.com wrote:

 I found the following worked well on the first try just tonight for
 programming BBB rev C through JTAG. I too am still looking for instructions
 on how to get StaterWare to build though.

 http://blog.parr.us/2014/11/14/beaglebone-black-debugging-via-ti-usb100v2-jtag-emulator/

 On Saturday, May 18, 2013 at 3:51:13 PM UTC-4, Larry Hilley wrote:

 Any word on when we'll get information on using Starterware on the BBB?

 As someone who has started worked with computers since 1960 for UNIVAC
 military with the 1st computers to go on Navy ships for the CIC function
 let me compliment you o a GREAT product.



 Larry



  --
 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] Setting up Starterware in CCSv6

2015-03-16 Thread Tom Olenik
I am not familiar with uboot. If its a Linux thing, I'm not familiar with it. 
If I can write C code, which I am familiar with, on a full IDE on my Windows or 
Mac machine, which I am familiar with, and debug with JTAG that shows me the 
values of every register in a nice GUI as I step through code line by line, and 
not have any processes running that I did not code, then I would be willing to 
give it a try. If not, those would be the reasons I'm trying something else.  I 
do want to learn Linux someday, but just not this month.
 
If I do figure out StarterWare or an alternative for what I describe above, 
I'll be sure to share it.
 
 
  
 
Date: Mon, 16 Mar 2015 22:20:36 -0700
Subject: Re: [beagleboard] Setting up Starterware in CCSv6
From: yyrk...@gmail.com
To: beagleboard@googlegroups.com

Okay . . . so why not just use uboot ? You need something to bring up the 
board, may as well use what everything else is using too . . .

On Mon, Mar 16, 2015 at 10:16 PM, Tom Olenik tole...@hotmail.com wrote:
Has anyone found a set of instructions for setting up StarterWare in CCSv6 
running on Windows that is confirmed to work for the BBB? I don't want to use 
the BBB with an OS. I really only want to get the libraries for the hardware 
abstraction layer if I can so that I can jump into C code.
I've found several sets of instructions in various places that all seem to be 
different, and none are building correctly. I seem to be missing function 
definitions. The header files are there, but I can't find where their 
definitions are anywhere. The best set of instructions I've found are 
here:http://anthonymerlino.us/uncategorized/getting-started-with-beaglebone-black-bbb-and-starterware

However, I am still having problems getting anything to build. I have installed 
the Beaglebone Black patch AM335X - 02.00.01.01.patch1.
I also notices that if when I create a target configuration CCS and select 
BeagleBone_Black it identifies the processor as an AM3359 and not an AM3358. 
All the documentation I have says it should be an AM3358 and I can see AM3358 
printed on it. 
I have confirmed that CCS is working and was able to get the simple hello world 
program to run through JTAG on my first try. BTW, I found the following very 
good for getting the JTAG 
working:http://blog.parr.us/2014/11/14/beaglebone-black-debugging-via-ti-usb100v2-jtag-emulator/







-- 

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.


[beagleboard] Setting up Starterware in CCSv6

2015-03-16 Thread Tom Olenik
Has anyone found a set of instructions for setting up StarterWare in CCSv6 
running on Windows that is confirmed to work for the BBB? I don't want to 
use the BBB with an OS. I really only want to get the libraries for the 
hardware abstraction layer if I can so that I can jump into C code.

I've found several sets of instructions in various places that all seem to 
be different, and none are building correctly. I seem to be missing 
function definitions. The header files are there, but I can't find where 
their definitions are anywhere. The best set of instructions I've found are 
here:
http://anthonymerlino.us/uncategorized/getting-started-with-beaglebone-black-bbb-and-starterware

However, I am still having problems getting anything to build. I have 
installed the Beaglebone Black patch AM335X - 02.00.01.01.patch1.

I also notices that if when I create a target configuration CCS and select 
BeagleBone_Black it identifies the processor as an AM3359 and not an 
AM3358. All the documentation I have says it should be an AM3358 and I can 
see AM3358 printed on it. 

I have confirmed that CCS is working and was able to get the simple hello 
world program to run through JTAG on my first try. BTW, I found the 
following very good for getting the JTAG working:
http://blog.parr.us/2014/11/14/beaglebone-black-debugging-via-ti-usb100v2-jtag-emulator/


-- 
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] Setting up Starterware in CCSv6

2015-03-16 Thread William Hermans
Okay . . . so why not just use uboot ? You need something to bring up the
board, may as well use what everything else is using too . . .

On Mon, Mar 16, 2015 at 10:16 PM, Tom Olenik tole...@hotmail.com wrote:

 Has anyone found a set of instructions for setting up StarterWare in CCSv6
 running on Windows that is confirmed to work for the BBB? I don't want to
 use the BBB with an OS. I really only want to get the libraries for the
 hardware abstraction layer if I can so that I can jump into C code.

 I've found several sets of instructions in various places that all seem to
 be different, and none are building correctly. I seem to be missing
 function definitions. The header files are there, but I can't find where
 their definitions are anywhere. The best set of instructions I've found are
 here:

 http://anthonymerlino.us/uncategorized/getting-started-with-beaglebone-black-bbb-and-starterware

 However, I am still having problems getting anything to build. I have
 installed the Beaglebone Black patch AM335X - 02.00.01.01.patch1.

 I also notices that if when I create a target configuration CCS and select
 BeagleBone_Black it identifies the processor as an AM3359 and not an
 AM3358. All the documentation I have says it should be an AM3358 and I can
 see AM3358 printed on it.

 I have confirmed that CCS is working and was able to get the simple hello
 world program to run through JTAG on my first try. BTW, I found the
 following very good for getting the JTAG working:

 http://blog.parr.us/2014/11/14/beaglebone-black-debugging-via-ti-usb100v2-jtag-emulator/


  --
 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: Starterware

2015-03-16 Thread Tom Olenik
I found the following worked well on the first try just tonight for 
programming BBB rev C through JTAG. I too am still looking for instructions 
on how to get StaterWare to build though. 
http://blog.parr.us/2014/11/14/beaglebone-black-debugging-via-ti-usb100v2-jtag-emulator/

On Saturday, May 18, 2013 at 3:51:13 PM UTC-4, Larry Hilley wrote:

 Any word on when we'll get information on using Starterware on the BBB?

 As someone who has started worked with computers since 1960 for UNIVAC 
 military with the 1st computers to go on Navy ships for the CIC function 
 let me compliment you o a GREAT product.

  

 Larry
  
  


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

2015-03-16 Thread Robert Nelson
On Mon, Mar 16, 2015 at 3:28 PM,  kirkmitcatw...@gmail.com wrote:

 I'm trying to get quadrature encoder signals into my new Beaglebone Black
 board.
 I have a Rev. C BBB running:
 Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l
 GNU/Linux


 *** 1st question:
 I understand that recent Debian distributions on the BBB have eQEP drivers
 included.
 Does the above version have the eQEP drivers?
 If not, which version do I need?

It was added in bone48

https://github.com/RobertCNelson/bb-kernel/commit/b7bc988c048b69f03b71c72f7c544f2348f378d0

either upgrade or grab the latest release.

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

Regards,

-- 
Robert Nelson
https://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] Blank desktop when OpenBox was selected

2015-03-16 Thread Mark Roles
I just wanted to try out the OpenBox desktop option on my BBB REV c with 
the supplied Debian image that it came with. Now all I get is a blank 
desktop and a mouse that I can move around on but nothing to click on, even 
after I reboot. How do I go about setting back to the original default 
desktop?

-- 
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] Free eBook copies of Packt's latest title Learning BeagleBone available for review

2015-03-16 Thread William Hermans
Hello sandy.

Could you perhaps give us an idea of what all this book covers ? Amazon
does not seem to have an index of this book. . . But would be more than
glad to review the book, if the subject matter is interesting.

On Mon, Mar 16, 2015 at 7:03 AM, Sandy Joseph san...@packtpub.com wrote:


 Hi all,

 My name is Sandy Joseph and I work for Packt.

 I am pleased to let you all know that we have recently published a book
 titled, Learning BeagleBone
 https://www.packtpub.com/hardware-and-creative/learning-beaglebone
 Comprising of just 206 pages,this book is ideal for new BeagleBone owners
 who are looking to quickly get their microboard up and running.



 https://lh4.googleusercontent.com/-Qrc1w1tLKHQ/VQbbRIdJglI/Dug/OPT7sCR6tdU/s1600/Learning%2BBeagleBone.png













 In case anyone is interested in checking out this title and posting a
 review on amazon.com and any other site of your choice within 12 days,
 please write to me at san...@packtpub.com. I'll be glad to provide you
 with a free eBook for your perusal.

 I look forward to your response and thanks for your time reading this mail.

 Regards,
 Sandy Joseph

  --
 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] Ubuntu does not boot

2015-03-16 Thread Satz Klauer
Hi,

I have a funny problem with Ubuntu on my BBB (which worked before on this 
hardware). Boot process stops with a message

[2.753228] Freeing init memory: 288K
[3.804981] init: ureadahead main process (85) terminated with status 5
[9.098069] libphy: PHY 4a101000.mdio:01 not found
[9.103184] net eth0: phy 4a101000.mdio:01 not found on slave 1

Ethernet is not plugged and does not need to be configured - so it would be 
OK for me when booting continues alsow without PHY/Ethernet initialisation.

Any ideas what I can do to let Ubuntu boot fully - also without Ethernet?

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] Help with Uboot and tftp

2015-03-16 Thread Hemant Kapoor
Hello Bill, 

Thanks for your suggestion. In my virtualbox, I had two network card and 
your reply made me think which card is used by tftp-hpa.
Since I didn't find anything, I simply disabled one of the network card not 
in use and this worked like a charm :)

After one month of frustration, I am really happy :) :)

Thanks...

Hemant Kapoor

-- 
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] Ubuntu does not boot

2015-03-16 Thread Robert Nelson
On Mon, Mar 16, 2015 at 1:47 PM, Karl Karpfen karlkarpfe...@gmail.com wrote:
 Am Montag, 16. März 2015 19:30:31 UTC+1 schrieb RobertCNelson:

 What's on the hdmi display?  Did you recently upgrade to v3.14.x-ti or
 something?


 There is no display connected , I operate it only via serial console at the
 moment. In /boot kernel 3.8.13-bone20 can be found, AFAIR it is still an
 Ubuntu 12.04.

Okay... So what did you do to it?

It wouldn't just stop booting, unless you changed something/yanked
power one too many times/etc...

Regards,

-- 
Robert Nelson
https://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] Ubuntu does not boot

2015-03-16 Thread Robert Nelson
On Mon, Mar 16, 2015 at 1:28 PM, Satz Klauer satzkla...@googlemail.com wrote:
 Hi,

 I have a funny problem with Ubuntu on my BBB (which worked before on this
 hardware). Boot process stops with a message

 [2.753228] Freeing init memory: 288K
 [3.804981] init: ureadahead main process (85) terminated with status 5
 [9.098069] libphy: PHY 4a101000.mdio:01 not found
 [9.103184] net eth0: phy 4a101000.mdio:01 not found on slave 1

mdio:01 is the un-connected 2nd phy...


 Ethernet is not plugged and does not need to be configured - so it would be
 OK for me when booting continues alsow without PHY/Ethernet initialisation.

 Any ideas what I can do to let Ubuntu boot fully - also without Ethernet?

What's on the hdmi display?  Did you recently upgrade to v3.14.x-ti or
something?

Regards,

-- 
Robert Nelson
https://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] Ubuntu does not boot

2015-03-16 Thread Karl Karpfen
OK, it seems SD-card is dying...unfortunately I can't find the Ubuntu 12.02 
image any more - where can I download it?

Am Montag, 16. März 2015 19:50:16 UTC+1 schrieb RobertCNelson:

 On Mon, Mar 16, 2015 at 1:47 PM, Karl Karpfen karlka...@gmail.com 
 javascript: wrote: 
  Am Montag, 16. März 2015 19:30:31 UTC+1 schrieb RobertCNelson: 
  
  What's on the hdmi display?  Did you recently upgrade to v3.14.x-ti or 
  something? 
  
  
  There is no display connected , I operate it only via serial console at 
 the 
  moment. In /boot kernel 3.8.13-bone20 can be found, AFAIR it is still an 
  Ubuntu 12.04. 

 Okay... So what did you do to it? 

 It wouldn't just stop booting, unless you changed something/yanked 
 power one too many times/etc... 

 Regards, 

 -- 
 Robert Nelson 
 https://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: MVIW Instruction on PRU

2015-03-16 Thread Bit Pusher
Eventually tracked it down to not having -V3 flags in pasm compile comand 
(they were missing from Makefile originally copied from TI examples).

On Wednesday, February 18, 2015 at 5:08:08 PM UTC-5, Bit Pusher wrote:

 I'm planning on reading the PRU IO inputs a large number of consecutive 
 times and move them (eventually) to DDR space. As part of my code, I tried 
 one instruction like:
 MVIW *r0.w0++, r31.w0
 which from section 5.3.4.2.3 Move Register File Indirect (MVIx)
 of the PRU reference manual seems correct to me; however when trying to 
 compile using PASM_2, I get the error message:

 PRU Assembler Version 0.86
 Copyright (C) 2005-2013 by Texas Instruments Inc.

 logic_pru1.p(42) Error: This form of MVIx illegal with specified core 
 version

 Pass 1 : 1 Error(s), 0 Warning(s)

 I have searched the PRU and the AM335X manuals and I can't find any 
 sections stating the AM3358 does not support MVIx instructions.
 Does anyone have any experience here? Thanks.
 Bit_Pusher
  


-- 
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] Ubuntu does not boot

2015-03-16 Thread Karl Karpfen
Am Montag, 16. März 2015 19:30:31 UTC+1 schrieb RobertCNelson:

 What's on the hdmi display?  Did you recently upgrade to v3.14.x-ti or 
 something? 


There is no display connected , I operate it only via serial console at the 
moment. In /boot kernel 3.8.13-bone20 can be found, AFAIR it is still an 
Ubuntu 12.04.


-- 
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: PRUSS extRAM vs ddrMem; are they different memories or both part of the 500Mbytes DDRL3?

2015-03-16 Thread Bit Pusher
For any interested, I found the 2 lost cycle counts; I had changed my 
cycle-counting macros to always load PCNTL0 for both PRUS using a MOV op 
code which added 2 cycles of over-head I hadn't corrected for. The
SBCO r0, CONST_DDR, PARAM_OFFSET+0, 32 does take 9 cycles as expected. If 
the ddrMem was big enough, it would be an option for sending data quickly 
to user space.

On Monday, March 16, 2015 at 12:18:29 PM UTC-4, Bit Pusher wrote:

 I am trying to figure out memory mappings in the PRU, and especially 
 ddrMem vs extRAM, and although there is information here and there, I have 
 yet to find a cohesive explanation. I have found a few things to share, and 
 perhaps someone more knowledgeable can help fill in some unanswered 
 questions. First, a small caution, the Makefiles in the individual 
 directories of TI's three examples in their am335x_pru_package are missing 
 the -V3 flags that should be passed to pasm_2; they are not missing in the 
 Makefile one level up, since I used the lower level Makefiles, this error 
 lost me almost a week. Irrespective, re memory.

 It appears to me that ddrMem accessed at 0x8000 in PRU space is 
 different than extRAM that is accessed at an address in PRU space found 
 from cat /sys/class/uio/uio0/maps/map1/addr which for me gives 0x9f2c. 
 The extRAM size is easily found using cat 
 /sys/class/uio/uio0/maps/map1/size (0x4 for me as I haven't increased 
 it yet). However, I can't find anywhere discussion on what the size of 
 ddrMem can be safely used. In user space I map ddrMem in userspace using:

 mem_fd = open(/dev/mem, O_RDWR);
 /* map the DDR memory */
 ddrMem = mmap(0, 0x0FFF, PROT_WRITE | PROT_READ, MAP_SHARED, 
 mem_fd, DDR_BASEADDR);
 if (ddrMem == NULL) {
 printf(Failed to map the device (%s)\n, strerror(errno));
 close(mem_fd);
 return -1;
 }
 ddrMem_int = (unsigned int*) ddrMem;
 memset(ddrMem, 0, 0x2000);

 where DDR_BASEADDR is 0x8000. This is based on the TI example. It 
 appears the size of the memory is 0x1000 or about 256Mbytes. However, 
 if one changes the memset to memset(ddrMem, 0, 0x0FFF); (DO NOT DO 
 THIS), it renders the BBB unuseable; it needs to be powererd down, 
 disconnected from power, and then powered back up before it is useable. It 
 would be nice to know how ddrMem could be used. I am working on figuring 
 out access speeds to each, and from various places, it appears extRAM is 
 always at memory locations where it can be accessed using Direct Memory 
 Access. Can someone tell me the maximum size that can be used when loading 
 uio_pruss; I saw it somewhere, but can't find the posting again? Also, it 
 would be nice if the size could be set in a uio_pruss device tree overlay 
 at boot time; I can't find info re this at all. Accessing ddrMem using SBCO 
 seems to take 4 cycles for the first register, and then one cycle per 
 additional register; that is the command:
 SBCO r0, CONST_DDR, PARAM_OFFSET+0, 32 takes 11 cycles; I was expecting 9 
 cycles (SBCO and SBBO commands normally take 2 cycles for the first 
 register and 1 for each additional register, as opposed to LBCO and LBBO 
 commands which take 4 cycles for the first register, and 1 cycle per 
 additional register - it sure would be nice if TI gave us a table for 
 disassembling the op codes and how many cycles per code). I don't 
 understand yet where I am losing the 2 cycles. Just for some more info re 
 memory mapping, noting the pid of my user space process is 1354, then 
 doing sudo cat /proc/1354/maps gives:

 8000-a000 r-xp  b3:02 14116 
  /home/martin/programming/pru/pru_test/logic_test
 00012000-00013000 rw-p 2000 b3:02 14116 
  /home/martin/programming/pru/pru_test/logic_test
 00013000-00034000 rw-p  00:00 0  [heap]
 a6d0-a6d4 rw-s 1000 00:05 5333   /dev/uio0
 a6d4-b6d4 rw-s 8000 00:05 2292   /dev/mem
 b6d4-b6d8 rw-s 1000 00:05 5333   /dev/uio0
 b6d8-b6e0 rw-s  00:05 5333   /dev/uio0
 b6e0-b6e4 rw-s 1000 00:05 5333   /dev/uio0
 b6e4-b6ec rw-s  00:05 5333   /dev/uio0
 b6ec-b6f98000 r-xp  b3:02 34894  /lib/arm-linux-gnueabihf/
 libc-2.13.so
  
 and so on. The pru base addresses are b6d8-b6e0 and the addresses 
 of the ddrMem are a6d4-b6d4, but again do not assume you can use 
 all of these. There are also a number of mappings that I don't understand 
 (such as b6d4-b6d8, b6e0-b6e4, and b6e4-b6ec).

 Finally, I have had some success with including:
 #include 
 /home/martin/programming/pru/am335x_pru_package/pru_sw/app_loader/interface/__prussdrv.h
 extern tprussdrv prussdrv;

 to get at the prussdrv struct using gdb. This is quite helpful in 
 understanding some of the PRU addresses.

 Also, including
 #include logic_addresses.h // for PRU relative addresses used in debug

 where