Re: [beagleboard] Re: Cross compiling linux for BBB

2014-01-05 Thread dlewin555
I do too .Disapointed by the recent events from Angstrom side I think it's 
a good way and alternative to buildroot.

PS : in the build_kernel.sh you use a 

 make -j 8

assuming the user will have 4 cpu which is not allways the case. Maybe 
something like  

cat /proc/cpuinfo | awk '/^processor/{print $3}' | tail -1

would help to retrieve CPU cores to x2 to be more generic.

Anyway very interesting notes.


Le vendredi 3 janvier 2014 01:08:10 UTC+1, cmicali a écrit :

 Great - I'm glad someone has found it useful :)

 On Thursday, January 2, 2014 1:46:27 PM UTC-5, Daniel Metcalf wrote:

 Chris,

 This is exactly what I have been looking for! Nicely done!
 Everywhere else I have seen general steps but no actual procedures. This 
 is great for a beginner like myself.


 On Thu, Jan 2, 2014 at 9:29 AM, cmicali chris@sagedevices.comwrote:

 I posted some notes on that here:  http://bonenotes.tumblr.com/  under 
 *Cross-compiling 
 the BeagleBone 3.8 Kernel*


 On Thursday, January 2, 2014 12:15:50 AM UTC-5, Carl-Fredrik Sundström 
 wrote:



 I want to get started in kernel development for the BBB and I can't 
 find where to start, I have done work before developing Linux drivers for 
 network interface cards and TV tuner cards. Is there a document that 
 describes how to setup a cross compilation environment for lets say an 
 ubuntu workstation or any other mainstream distribution and step by step 
 how to build a bin file for flashing ?

 I have looked at and can't find something like that

 http://www.openembedded.org/wiki/Main_Page

 http://www.angstrom-distribution.org

 According to thread linked below the BBB will be going towards debian, 
 is there a tutorial on how to cross compile debian ?

 https://groups.google.com/forum/#!category-topic/
 beagleboard/beaglebone-black/WYrk-JUAkbM

 For me this is the number one stumbling block, I haven't tried 
 compiling just a kernel on the beagle itself, I assume thats not how you 
 do 
 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...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 Dan Metcalf -- KB3UUN
  


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


Re: [beagleboard] current solution for JTAG debugging of beagleboard xm?

2014-01-05 Thread William Hermans
My own time to me is free . . . then while CCS may work, and well for you..
I have plenty of hand on with the software since CCS v4.x up until v5.3.x.
But without me getting into too much detail. Let us just say the software
is not for me. I already have my own toolchain / IDE setup, and I do not
have any problems with using GDB from the command line on Windows or Linux.
Also I already own a J-Link emulator . . . but have limited hands on with
it.


On Sat, Jan 4, 2014 at 9:55 PM, John Syne jsyne...@us-power.com wrote:


 From: William Hermans yyrk...@gmail.com
 Reply-To: beagleboard@googlegroups.com
 Date: Saturday, January 4, 2014 at 5:35 PM
 To: beagleboard@googlegroups.com
 Subject: Re: [beagleboard] current solution for JTAG debugging of
 beagleboard xm?

 Just curious, but why would we need to buy TI specific JTAG emulators, and
 software ?

 Honestly there has to be a better solution. Last I looked a single seat
 for CCS was $400 . . . that is a bit pricey . . .

 Time value of money and opportunity costs. If you spend a few hours trying
 to get any other solutions working, you have spent more than $400. I’d
 rather work on my project than trying to work on something I have no
 experience or skills. If you have a more cost effective solutions, please
 share.

 Regards,
 John



 On Sat, Jan 4, 2014 at 5:13 PM, John Syne jsyne...@us-power.com wrote:


 On 1/4/14, 7:42 AM, Robert P. J. Day rpj...@crashcourse.ca wrote:

 On Fri, 3 Jan 2014, Mark Lazarewicz wrote:
 
  Well if you prefer non open source solution and prefer a feature
  rich IDE(CCS5.X) backed by the vendor (TI) @ $79 xdsv2usb is the
  only way. I trust your google skills starting from here
 
  http://elinux.org/BeagleBoard
 
  http://processors.wiki.ti.com/index.php/XDS100
 
  code composer jtag support uses a .gel file to initialize processor
  and memory so you will have to google around for the Beagle Board
  one or uses the bootloader to initialize things and then grab
  control I dont recommend that approach
 
  The industry trend now is jtag over usb with no need for a connector
  the bone white supports this the Beagleboard and Panda and BBB need
  connectors
 
   admitting i know next to nothing about JTAG debugging, can you
 clarify a couple things?
 
   first, i need to do some JTAG debugging *strictly* on a beagleboard
 xM in a few weeks and, for that, it seems that my most convenient
 solution is tin can tools' flyswatter 2 and adapter (which i believe i
 even have somewhere buried in a drawer, which makes it *really*
 convenient. :-)
 
   next, given that i have that, is there still value in purchasing a
 TI XDS100v2? i have no problem investing in more toys as long as they
 provide additional value.
 
   i guess i really need to find a good JTAG tutorial somewhere and
 start reading ...
 Hi Robert,

 It really depends on what you are trying to achieve. If you want to
 understand the workings of JTAG, then flyswatter is a good solution. If
 like the rest of us you just want to debug u-boot or kernel code, then
 XDS100V2 or XDS200 together with CCSV5 is a good solution. One thing to
 note, although you can debug Linux Kernel code, CCSV5 isn¹t kernel aware
 so there are limitations in what you can do. Strangely, CCSV4 was Linux
 Kernel aware, but TI decided that CCSV5 stay as close to the standard
 Eclipse IDE as possible and avoid extensive customization required for
 making it Linux Kernel aware. Also, with the addition of DWARF4, it is now
 possible to see most of the local variables. If you want kernel aware
 debugging, then I suggest you use ARM DS-5 or Lauterbach, but these are
 expensive solutions. I have also used PEEDI which is a very good solutions
 and is Linux Kernel aware and uses standard Eclipse IDE.

 Regards,
 John
 
 rday
 
 --
 
 
 Robert P. J. Day Ottawa, Ontario, CANADA
 http://crashcourse.ca
 
 Twitter:   http://twitter.com/rpjday
 LinkedIn:   http://ca.linkedin.com/in/rpjday
 
 
 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google Groups
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


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


 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You 

Re: [beagleboard] Re: Programmatically load device tree overlay in Go

2014-01-05 Thread Thorsten von Eicken

  
  
What does dmesg say? That's where you'd find any error messages.

On 1/3/2014 9:52 AM, Frank Davidson
  wrote:


  Thanks, Thorsten, but that didn't see to help,
unfortunately... It doesn't generate any errors, it just doesn't
actually load the dto... Any other ideas?


Frank
  
  On Sunday, December 15, 2013 10:46:09 PM UTC-5, Thorsten von
  Eicken wrote:
  
Do you perhaps need a newline terminator for
  the line you're writing to the slots "file"?
  

On Sunday, December 15, 2013 11:43:21 AM UTC-8, Frank
Davidson wrote:

  Hi,


I am having a hard time understanding the
  nature of the "echo cape-bone-iio 
  /sys/devices/bone_capemgr.*/slots"


I have written the following program in Go:



  package bbbdevtreeovly
  
  
  import (
   //
"io"
   //
"bytes"
   //
"fmt"
   "io/ioutil"
   "log"
   "os"
   //
"os/exec"
   //
"strings"
   "path/filepath"
  )
  
  
  const (
   slotsDir
string = `/sys/devices/` // Find BBB's slots
  )
  
  
  func Load_dto(dtoFileName string, dtoFilePath
string) (err error) {
  
  
   log.SetPrefix(`BBB
Device Tree Overlay: `)
  
  
   slotFiles
:= make([]os.FileInfo, 100)
  
  
   slotFiles,
err = ioutil.ReadDir(slotsDir)
  
  
   var i
int
  
  
   for i
= 0; i  len(slotFiles); i++ {
   found,
_ := filepath.Match(`bone_capemgr.*`,
slotFiles[i].Name())
   if
found {
   break
   }
   }
  
  
   log.Println("This
is the new program...", "\n")
  
  
   slotsLoc
:= filepath.Join(slotsDir, slotFiles[i].Name(),
`slots`)
  
  
   log.Println("DTO
File: ", dtoFileName, "\n")
  
  
   slots,
err := os.Open(slotsLoc)
   if err
!= nil {
   log.Println(err)
   return
err
   }
   defer
slots.Close()
  
  
   log.Println("Slots
location: ", slots.Name(), "\n")
  
  
   slots.Write([]byte(dtoFileName))
  
  
   //
slots.Write([]byte("cape_bone_iio"))
  
  
   return
nil
  
  
  }




  /*
  *
  */
  
  
  package main
  
  
  import (
   "davidsonff/fmserve/bbbdevtreeovly"
   "fmt"
  )
  
  
  func main() {
  
  
   err :=

[beagleboard] SPI0

2014-01-05 Thread Shady68
hi,
how to add a second chip select to spi0? 
cheers

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


[beagleboard] Linuxcnc

2014-01-05 Thread peleb7
How do you run Stepconf Wizard from the software at 
http://bb-lcnc.blogspot.com/p/machinekit_16.html ? Do you have to edit the 
ini and hal files manually?

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


Re: [beagleboard] Beaglebone as media player

2014-01-05 Thread evan
Thank you Scott! 

I will try that...

Best

Evan

On Saturday, January 4, 2014 8:09:53 AM UTC+8, Scott Force wrote:

 I just received my BBB so I haven't had a chance to try it out yet. I do 
 know that Angstrum Linux comes with mplayer. Someone on this forum has 
 already been trying to use it with the following parameters ... just put 
 your filename at the end.

 mplayer -vo fbdev2 -zoom -x 800 -y 480

 If you are still stuck then try checking out mplayers website. Myself, I 
 much prefer vlc but there are issues getting it to compile for Angstrum and 
 I don't know the steps.

 Hope this helps,


 Scott


 On 3 January 2014 09:48, ev...@blackdovemfg.com javascript: wrote:

 Prefacing this with me be an absolute noob on anything Linux (but ! 
 interested)...

 I was able to get android installed on the [original] beaglebone attached 
 to the LCD7 — This played full screen video very nicely! 

 In an attempt to try using the bone in its *intended *state I reverted 
 to Angstrom but cannot figure out how to simply play a video file. Having 
 some difficulty finding info online, so, apologies in advance if this is 
 readily available info.

 I am imaging the steps are something like, install VLC on bone, play 
 video, but, am not even sure how to do that.

 Any help or pointing to tutorial much appreciated!

 Evan

 -- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




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


Re: [beagleboard] Beaglebone as media player

2014-01-05 Thread evan
Thank you Scott! 

I will try that...

Evan

On Saturday, January 4, 2014 8:09:53 AM UTC+8, Scott Force wrote:

 I just received my BBB so I haven't had a chance to try it out yet. I do 
 know that Angstrum Linux comes with mplayer. Someone on this forum has 
 already been trying to use it with the following parameters ... just put 
 your filename at the end.

 mplayer -vo fbdev2 -zoom -x 800 -y 480

 If you are still stuck then try checking out mplayers website. Myself, I 
 much prefer vlc but there are issues getting it to compile for Angstrum and 
 I don't know the steps.

 Hope this helps,


 Scott


 On 3 January 2014 09:48, ev...@blackdovemfg.com javascript: wrote:

 Prefacing this with me be an absolute noob on anything Linux (but ! 
 interested)...

 I was able to get android installed on the [original] beaglebone attached 
 to the LCD7 — This played full screen video very nicely! 

 In an attempt to try using the bone in its *intended *state I reverted 
 to Angstrom but cannot figure out how to simply play a video file. Having 
 some difficulty finding info online, so, apologies in advance if this is 
 readily available info.

 I am imaging the steps are something like, install VLC on bone, play 
 video, but, am not even sure how to do that.

 Any help or pointing to tutorial much appreciated!

 Evan

 -- 
 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 javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




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


[beagleboard] Re: Beaglebone black socket bonescript And socket io question

2014-01-05 Thread jeremiah . wolf

There is another guy doing the same thing from this 
website:https://github.com/lgxlogic/BoneScript-SocketIO

I would recommend installing the socketio by typing npm install socket.io 
within the /var/lib/cloud9/ directory.  

Lets us know if you get either example working.  

Bests,

~Jeremiah

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


[beagleboard] Re: Developing a simple GUI in Beagleboard

2014-01-05 Thread carlos . amaral
How did you get glade going on BB? Does it have ANgstrom or Ubuntu?
Thanks

On Saturday, February 20, 2010 3:13:21 PM UTC-5, amit wrote:

 Hi,

 Thanks all for your suggestions. I figured out how to get glade going
 on BB.
 Are there any good tutorials or books available for glade gtk
 development.

 - Amit

 On Feb 2, 8:56 pm, priyanka sharma priyanka...@gmail.com wrote:
  hi
  gtk and glade work well on beagle board. I have tested them. Using 
 clutter
  toolkit is another gud solution. There are plenty of online tutorials
  regarding this
  Priyanka
 
 
 
  On Wed, Feb 3, 2010 at 8:03 AM, amit amitshah@gmail.com wrote:
   Thanks all for your tips and suggestions. It was really useful.
   As of now I have decided to work with GTK+ using glade.
   I went through some tutorials and was able to get GUI
   working on host pc. But has some problems when trying to
   build it on BB.
   Is GTK+/-2.0 libraries available on BB. When I tried to compile the
   program on BB it says not gtk.h library not available.
 
   Can anyone guide me on this. A small example may be very useful.
 
   Once again thanks to everyone for your response.
 
   On Jan 28, 1:18 pm, timmins timtimm...@googlemail.com wrote:
I have a rather more high-level suggestion.
 
I'm working on aBeagleboardplatform used in a set of manufacturing
test fixtures, complete withGTKgraphic UI, and a bank of I2C port
expanders, and ADCs.
 
I found the neatest, fastest way to develop the GUI was to use Glade 
 3
on my host machine.  This produces an XML file that can be used on 
 the
target.  http://glade.gnome.org/
 
The bindings are all handled by a Python script, using the PYGTK
module.  This is available via the package manager within Angstrom.
 
All of this allows you to make rapid tweaks to the GUI's appearance 
 on
your host machine, and then you copy the glade (XML) file over to the
target.  This makes it very easy to re-skin your application, without
touching the Python back-end.  Also, because Python is a scripting
language you can obviously make changes on the fly, without
recompiling anything.
 
If you need to do something low-level, then you can write your own C
modules that plug into Python.
 
Hope this helps.
 
   --
   You received this message because you are subscribed to the Google 
 Groups
   Beagle Board group.
   To post to this group, send email to 
   beagl...@googlegroups.comjavascript:
 .
   To unsubscribe from this group, send email to
   beagleboard...@googlegroups.com 
   javascript:beagleboard%2Bunsubscribe@googlegr 
 oups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/beagleboard?hl=en.



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


[beagleboard] BBB Revisions

2014-01-05 Thread JBodine
I was on one of the resellers websites and noticed they listed five 
BBBs, with different revision numbers.   All but the A6A was
was listed as discontinued.  The one I have is an A5A, the oldest on the 
list.  It wasn't too long ago that I bought this thing, seems like a lot of 
revisions in a short period of time.

What are the differences between the A5A and A6A?  Is the A5A missing 
anything significant?  I looked for a comparison sheet on the board but 
couldn't locate one.

Thanks

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


[beagleboard] SPI0

2014-01-05 Thread Shady68
hi,
how to add a second chip select to SPI0?
tx

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


[beagleboard] Re: PWM input in beaglebone

2014-01-05 Thread Bruce Schaller
I'm guessing that you figured this out already or don't care any more.  But 
in case you were wondering, you can use the GPIO pins, google around for 
this and there's the interrupt method.  Maybe the easiest if you don't 
mind 10bit resolution would be to use the PWM with an optocoupler, like the 
LED dimming example.  Then you could go right to the analog in pin.  I 
guess it really depends on how fast you need to do it.  10 bit is 1024...so 
that would give you about... 800-20=780; 780/1024 = 0.76kHz per step.

Cheers,
Bruce

On Wednesday, July 4, 2012 12:26:01 PM UTC-4, Jeshwanth wrote:

 Hello All,

 I have a PWM signal which is going to give input to beaglebone, the 
 frequency starts from 20kHz to 800kHz. What is the method I can use to 
 calculate the frequency ?? 


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


[beagleboard] Gambas 3.5.1 graphical basic for linux

2014-01-05 Thread Salim Safran
did any try to compile *Gambas 3.5.1 on beaglebone ? any ideas?.. *

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


[beagleboard] Micro sd card not recognized as extra storage?

2014-01-05 Thread Andrew Hendricks
I am running Ubuntu 13.10 build from here:

http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black

and followed the instructions to set up the micro SD card as extra storage 
space, here:

http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage

Now, I'm rather new to linux commands and new to the BBB. I may have 
misunderstood what I've been reading, but when I use the command df I get:

Filesystem 1K-blocksUsed Available Use% Mounted on
/dev/mmcblk1p2   1738184 1176724471496  72% /
none   4   0 4   0% /sys/fs/cgroup
udev  252148   4252144   1% /dev
tmpfs  50756 232 50524   1% /run
none5120   0  5120   0% /run/lock
none  253760   0253760   0% /run/shm
none  102400   0102400   0% /run/user
/dev/mmcblk1p1 72098   19742 52356  28% /boot/uboot

If I understand correctly, the micro SD card is mmcblk0p1 and it isn't 
listed here. I'd like to set it up so the micro SD card is extra space that 
I can store and run programs on, not just store files, which I think is 
what this is saying as df shows the file system disk usage. I can't even 
figure out how to get to the micro SD card though I know it's there. The 
command fdisk -l shows mmcblk0p1 with the correct partitions of my micro SD 
card.

Any help is appreciated.

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/groups/opt_out.


[beagleboard] Two BB Black working together.

2014-01-05 Thread Isai Mendoza
Hi i'm going to buy a BB Black to dome some gaming stuff, but i need to 
know some things, can two boards work together as one? like the raspberry 
pi super computer. 

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


[beagleboard] problem installing angstrom in sd card

2014-01-05 Thread anupama jaju
hi, i am new to bb-xm. I am trying to  Format the SD card via fdisk Expert 
mode. but when i am creating partitions in place of cylinders i am getting 
sectors and later while forming 2nd partition its showing ,the device 
apparently does not exist.

Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-7626751, default 2048): 
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-7626751, default 7626751): 4096

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): c
Changed system type of partition 1 to c (W95 FAT32 (LBA))

Command (m for help): a
Partition number (1-4): 1

Command (m for help): n
Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended
Select (default p): p
Partition number (1-4, default 2): 2
First sector (4097-7626751, default 4097): 
Using default value 4097
Last sector, +sectors or +size{K,M,G} (4097-7626751, default 7626751): 
Using default value 7626751

Command (m for help): p

Disk /dev/sdb: 3904 MB, 3904897024 bytes
255 heads, 63 sectors/track, 474 cylinders, total 7626752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe8320c48

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *204840961024+   c  W95 FAT32 (LBA)
/dev/sdb24097 7626751 3811327+  83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or 
resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
anupama@anupama-VirtualBox:~$ sudo mkfs.msdos -F 32 /dev/sdb1 -n LABEL
mkfs.msdos 3.0.12 (29 Oct 2011)
mkfs.msdos: /dev/sdb1 contains a mounted file system.
anupama@anupama-VirtualBox:~$ sudo mkfs.ext3 /dev/sdb2
mke2fs 1.42 (29-Nov-2011)
Could not stat /dev/sdb2 --- No such file or directory




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


[beagleboard] Re: emacs on Ångström - no keys

2014-01-05 Thread rltenney
Thanks.  I would have installed Debian on my machine by now, but the 16GB 
Toshiba uSD I bought a couple of weeks ago has failed already.  After the 
first couple of days, I had to reformat it repeatedly, both on the BBB and 
on each of two Windows (XP  7) machines.  Win32DiskImager didn't work at 
all on the Windows 7 machine: it repeatedly hung as soon as I got to the 
writing phase in a way that required rebooting the Windows machine.  I 
loaded and ran a disk imaging program from an outfit named RoadKil.net -- 
that's a sign of real desperation!.  It got into the writing phase, but its 
progress stopped at 0.06%.  At least it was possible to end that program 
without rebooting the machine.

I'll try to load Debian again as soon as I get another uSD, and not a 
Toshiba this time.

- R

P.S. Meanwhile, I'm using nano.  Not emacs, but not vi, either.

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


[beagleboard] Re: Beaglebone repository access problem

2014-01-05 Thread conradawhite
I followed the /etc/host fix, still had a problem.Checked disk space 
using df -k and saw that /tmp was full.opkg had run and failed a few 
times and written some temp files and filled it up. Cleared a few files 
out of /tmp and voila, opkg update worked ok.

On Thursday, December 15, 2011 2:14:42 PM UTC-6, David wrote:

 I keep getting the following errors when attempting a package update 
 using opkg update. Are there any known issues with the repository?

 Dave.


 wget: can't connect to remote host (140.211.169.179): Connection timed out
 Collected errors:
   * opkg_download: Failed to download 

 http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz,
  

 wget returned 1.
   * opkg_download: Failed to download 

 http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/Packages.gz,
  

 wget returned 1.
   * opkg_download: Failed to download 

 http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/debug/Packages.gz,
  

 wget returned 1.
   * opkg_download: Failed to download 

 http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/gstreamer/Packages.gz,
  

 wget returned 1.
   * opkg_download: Failed to download 

 http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Packages.gz, 

 wget returned 1.
   * opkg_download: Failed to download 

 http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/Packages.gz,
  

 wget returned 1.
   * opkg_download: Failed to download 

 http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/Packages.gz,
  

 wget returned 1.



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


[beagleboard] Java program with RxTx cannot find /dev/ttyUSB connected device

2014-01-05 Thread theironflag
Hi all,

I've been working on a project with XBee communication boards which utilize 
USB connection to transmitt and receive messages. The program is written in 
Java and uses RxTx library 2.2pre2. I've written tested the program on PC 
running Ubuntu 12.04LTS and everything works great(i can send and receive 
messages both directions), when i deployed the program to BBxM this is when 
the troubles start. My BBxM is running Ubuntu 12.10, with java 1.7. I am a 
pretty new to Java and total n00b in BB so i'm having trouble running my 
program.

My XBee board is connected to USB port as /dev/ttyUSB0 just like it was on 
my PC. So the same configuration should work for both platforms, but when 
the RxTx instance is initialised i get error that it cannot find 
/dev/ttyUSB0.

First thing that crossed my mind was rights but rights are already 777 at 
least for the testing purpose. I've tried few versions of RxTx and every 
one has the same problem. I haven't done any additional setup of the ports 
so i'm wondering is there some setup i've missed to make the program behave 
the way it does now.

Any help is greatly appreceated.

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


[beagleboard] Basic4android on beaglebone with android and lunix3.8 from Anywhere Software

2014-01-05 Thread Salim Safran
will be real  revolutionary step to have such  embedded applications for 
example here as  beaglebone and could be arduino TRE  to be programmed 
with Basic4android tool, it will bring the use of such high-end processors 
to all the educational of all levels to support and upgrade the knowledge 
and  open new fascinating dimensions for fast and easy customized 
applications even  to the end users, hope to see more of your good spirits 
pay attention so such participation.
regards

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


[beagleboard] dumb quest: why PIR example shows pull-up (P8_19) to 5v when GPIO pins are 3.3v tolerant?

2014-01-05 Thread james . wang . atx
http://beagleboard.org/Support/BoneScript/PIRMotionSensor

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


Re: [beagleboard] To CANBUS or not to CANBUS

2014-01-05 Thread Maxim Podbereznyy
CAN bus is mostly for automotive applications. All contemporary cars have
this bus and all inner units in a car interact through this bus

For industrial applications rs485 is the most widely used bus, but it may
depend on your budget. Sometimes a radio connection is better than simple
wiring. 1-wire is an option too, but this bus has significant limitation on
the wires length

You can also find out details about ZigBee devices.
06 янв. 2014 г. 1:08 пользователь Michael Cummins 
michael.e.cumm...@gmail.com написал:

 Relatively new to small platforms and Linux in general.  Have a new
 BeagleBone Black and am thinking about monitoring/logging sensors for
 future projects like monitoring solar heating, power consumption, state of
 devices in home, etc.

 I read that CANBUS is a preferred method for multiple sensors on a long
 wire.  Would you agree?

 What does the CANBUS Cape offer beyond what the BBB can already do?

 Should I skip the wire and learn to work with wireless sensors first?  I
 imagine the cost is higher, but would that be a more robust and more easily
 managed network?

 Someone on the forums implied that the future of BBB and Angstrom is in
 question. Should I do my learning on Ubuntu instead, as I'm just getting
 started?

 Thanks for your time, patience and experience as I start imagining ways
 forward.

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


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


Re: [beagleboard] Micro sd card not recognized as extra storage?

2014-01-05 Thread William Hermans
$sudo fdisk -l

That is lower case L or el. Be very careful how else you run fdisk, as a
newb you could accidentally wipe your media.

Also those instructions are whack. Not very clear . . .


On Sat, Jan 4, 2014 at 9:15 PM, Andrew Hendricks zinxtris...@gmail.comwrote:

 I am running Ubuntu 13.10 build from here:

 http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black

 and followed the instructions to set up the micro SD card as extra storage
 space, here:

 http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage

 Now, I'm rather new to linux commands and new to the BBB. I may have
 misunderstood what I've been reading, but when I use the command df I get:

 Filesystem 1K-blocksUsed Available Use% Mounted on
 /dev/mmcblk1p2   1738184 1176724471496  72% /
 none   4   0 4   0% /sys/fs/cgroup
 udev  252148   4252144   1% /dev
 tmpfs  50756 232 50524   1% /run
 none5120   0  5120   0% /run/lock
 none  253760   0253760   0% /run/shm
 none  102400   0102400   0% /run/user
 /dev/mmcblk1p1 72098   19742 52356  28% /boot/uboot

 If I understand correctly, the micro SD card is mmcblk0p1 and it isn't
 listed here. I'd like to set it up so the micro SD card is extra space that
 I can store and run programs on, not just store files, which I think is
 what this is saying as df shows the file system disk usage. I can't even
 figure out how to get to the micro SD card though I know it's there. The
 command fdisk -l shows mmcblk0p1 with the correct partitions of my micro SD
 card.

 Any help is appreciated.

 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/groups/opt_out.


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


[beagleboard] Re: Java program with RxTx cannot find /dev/ttyUSB connected device

2014-01-05 Thread Tom Davies
Will you post the stack trace of the exception and the relevant Java code?

Can you connect to /dev/ttyUSB0 via (say) screen? (i.e. 'screen 
/dev/ttyUSB0 baud rate')

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


Re: [beagleboard] How many PRU clock cycles does a LBBO instruction take?

2014-01-05 Thread Lenny
Thanks a lot. These delays are quite disappointing. Is it possible to 
shorten these delays by using e.g. DMA to transfer data from a peripheral 
(in my case the TSC_ADC) directly to PRU memory? 

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


Re: [beagleboard] How many PRU clock cycles does a LBBO instruction take?

2014-01-05 Thread Charles Steinkuehler
On 1/5/2014 3:50 PM, Lenny wrote:
 Thanks a lot. These delays are quite disappointing. Is it possible to 
 shorten these delays by using e.g. DMA to transfer data from a peripheral 
 (in my case the TSC_ADC) directly to PRU memory? 

It should be possible to DMA into the PRU data memory, and indeed
checking section 10 of the TRM (Interconnects) shows that all TPTC
(Third Party Transfer Controller, a.k.a DMA) initiators connect to the
L4_Fast slave where the PRU-ICSS lives.

-- 
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/groups/opt_out.


Re: [beagleboard] Boot failure external abort on non-linefetch in cpsw_probe with any image after Wi-Fi install

2014-01-05 Thread Robert Nelson
On Sat, Jan 4, 2014 at 2:44 PM,  lorenamel...@gmail.com wrote:
 Bought a BBB [0 047132904547 A6] last month, and had about two hours of
 delight, followed by literal days of fruitless struggle Googling for clues.
 I'm about out of ideas.

 Contacting Beagleboard produced:
 Did you send the same info to beagleboard@googlegroups.com?

 So here it is...  Maybe it will help someone...

 But I've decided all of them are normal except this one:
 -
 [2.502401] Detected MACID = 90:59:af:4d:71:eb
 [2.506978] Unhandled fault: external abort on non-linefetch (0x1008) at
 0xe089e000
 [2.515192] Internal error: : 1008 [#1] SMP ARM
 [2.519936] Modules linked in:
 [2.523139] CPU: 0Not tainted  (3.8.13-bone30 #1)

Your kernel is out of date, please upgrade to v3.8.13-bone35 first..

Contact whoever you got the image from for directions..

Regards,

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

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


Re: [beagleboard] Re: Cross compiling linux for BBB

2014-01-05 Thread Chris Micali
Yeah good point - my machine is 4core/ht but that should change depending on 
what your machine is!  

One thing I should update also on the wifi - i switched from the crap realtek 
chipset to an atheros-based TP-LINK adaptor, and things are MUCH much better.  


On Sunday, January 5, 2014 at 12:15 PM, dlewin555 wrote:

 I do too .Disapointed by the recent events from Angstrom side I think it's  
 a good way and alternative to buildroot.
  
 PS : in the build_kernel.sh (http://build_kernel.sh) you use a  
  make -j 8
 assuming the user will have 4 cpu which is not allways the case. Maybe 
 something like   
 cat /proc/cpuinfo | awk '/^processor/{print $3}' | tail -1
 would help to retrieve CPU cores to x2 to be more generic.
  
 Anyway very interesting notes.
  
  
 Le vendredi 3 janvier 2014 01:08:10 UTC+1, cmicali a écrit :
  Great - I'm glad someone has found it useful :)
   
  On Thursday, January 2, 2014 1:46:27 PM UTC-5, Daniel Metcalf wrote:
   Chris,

   This is exactly what I have been looking for! Nicely done!
   Everywhere else I have seen general steps but no actual procedures. This 
   is great for a beginner like myself.


   On Thu, Jan 2, 2014 at 9:29 AM, cmicali chris@sagedevices.com wrote:
I posted some notes on that here:  http://bonenotes.tumblr.com/  under 
Cross-compiling the BeagleBone 3.8 Kernel
 
 
On Thursday, January 2, 2014 12:15:50 AM UTC-5, Carl-Fredrik Sundström 
wrote:
  
  
 I want to get started in kernel development for the BBB and I can't 
 find where to start, I have done work before developing Linux drivers 
 for network interface cards and TV tuner cards. Is there a document 
 that describes how to setup a cross compilation environment for lets 
 say an ubuntu workstation or any other mainstream distribution and 
 step by step how to build a bin file for flashing ?  
  
 I have looked at and can't find something like that
  
 http://www.openembedded.org/wiki/Main_Page
  
 http://www.angstrom-distribution.org
  
 According to thread linked below the BBB will be going towards 
 debian, is there a tutorial on how to cross compile debian ?  
  
 https://groups.google.com/forum/#!category-topic/beagleboard/beaglebone-black/WYrk-JUAkbM
  
 For me this is the number one stumbling block, I haven't tried 
 compiling just a kernel on the beagle itself, I assume thats not how 
 you do 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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



   --  
   Dan Metcalf -- KB3UUN  
  
 --  
 For more options, visit http://beagleboard.org/discuss
 ---  
 You received this message because you are subscribed to a topic in the Google 
 Groups BeagleBoard group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/beagleboard/NGMLXOaMvQY/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 beagleboard+unsubscr...@googlegroups.com 
 (mailto:beagleboard+unsubscr...@googlegroups.com).
 For more options, visit https://groups.google.com/groups/opt_out.

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


Re: [beagleboard] BBB Revisions

2014-01-05 Thread Eric Fort
section 2.2 starting on page 13 of the current Beagle bone black SRM
addresses board revisions as does the wiki page in section 6.  links to
both are below:

wiki page:
http://www.elinux.org/Beagleboard:BeagleBoneBlack
.
SRM:
https://github.com/CircuitCo/BeagleBone-Black/blob/master/BBB_SRM.pdf?raw=true

short answer - other than dimming a couple led's on the A5B revision due to
one or more people claiming their brightness kept them awake (couldn't have
been the excitement of having a new toy blinking away next to the bed in
the same room)  just extremely minor tweaks with, No changes in
features or operation of the board.  Read both the SRM and wiki page
though... It will really help in making good use of the board and
understanding things.  Gerald has done an exemplary job at producing great
documentation.

Eric



On Sat, Jan 4, 2014 at 1:07 AM, JBodine jbodine90...@gmail.com wrote:

 I was on one of the resellers websites and noticed they listed five
 BBBs, with different revision numbers.   All but the A6A was
 was listed as discontinued.  The one I have is an A5A, the oldest on the
 list.  It wasn't too long ago that I bought this thing, seems like a lot of
 revisions in a short period of time.

 What are the differences between the A5A and A6A?  Is the A5A missing
 anything significant?  I looked for a comparison sheet on the board but
 couldn't locate one.

 Thanks

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


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


Re: [beagleboard] To CANBUS or not to CANBUS

2014-01-05 Thread Digitech Engineers, - Deepak Bodhani
Zig Bee is the right choice.
Less power, No limitation on distance.
Visit www.sena.com for details

Deepak Bodhani

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


Re: [beagleboard] DDR2 MT47H128M16RT25E config

2014-01-05 Thread liyaoshi
Post it on
http://e2e.ti.com/support/arm/sitara_arm/f/791/t/312683.aspx


2014/1/5 Vaibhav Bedia vaibhav.be...@gmail.com

 On Thu, Dec 26, 2013 at 9:49 PM, liyaoshi liyao...@gmail.com wrote:

 Hi all

 I review the code from


 http://git.denx.de/?p=u-boot.git;a=blob;f=arch/arm/include/asm/arch-am33xx/ddr_defs.h;h=2278358ab200ecc26fc7500e01b11268fe7d43f5;hb=HEAD#l29

 Here
 #define MT47H128M16RT25E_EMIF_SDCFG   0x41805332


 https://raw.github.com/CircuitCo/BeagleBone-RevA5/master/BeagleBone_revA5_SCH.pdf

 A5 board use 256M ddr2 with MT47H128M16 on 16bit

 And from


 http://www.micron.com/~/media/Documents/Products/Data%20Sheet/DRAM/DDR2/2Gb_DDR2.pdf

 256M DDR2 only have 14 raw address

 Ti Reference manual say

 [image: 内嵌图片 1]
  This 332 mean use 15 ROW

 It should be 0x418052d2

 right ?

 Why BB a5 board can run so stable ?


 Now this is odd. Care to post it to
 http://e2e.ti.com/support/arm/sitara_arm/default.aspx ?


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


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

[beagleboard] Changing Kernel back to 3.2 for Angstrom - Steps

2014-01-05 Thread Terry Storm
Hello,

I am trying to find out how to build the Rowboat 3.2 Kernel and apply it 
over the latest Angstrom build in the hope to get to a working OS which 
works for LCD Capes, such as the LCD4, LCD7, 4DCAPE-43T and 4DCAPE-70T

I have been told that going back to a stable 3.2 kernel may result in a 
more favourable outcome, as current the touch issues present on the 3.8 
Kernel almost render the capes useless.

I have been emailing Robert Nelson. Thanks very much for your help.
Just need some help to ensure I am doing it correctly, and also how I go 
about getting the built kernel onto the BBB as I have never done that.

So to start with, I am going to try and use the 2014-01-03 Distribution:
http://downloads.angstrom-distribution.org/demo/beaglebone/testing/

I have just installed VM Player on my PC and have Ubuntu 13.10 installed.
I am following the instructions from 
here: http://elinux.org/Building_BBB_Kernel 
and here: 
http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel

Robert said to do the following bits instead:






*git clone git://gitorious.org/rowboat/kernel.gitcd kernel/git checkout 
rowboat-am335x-kernel-3.2 -b tmpmake ARCH=arm CROSS_COMPILE=${CC} 
am335x_evm_android_defconfigmake ARCH=arm CROSS_COMPILE=${CC} zImage 
modules*

I am still working on that, but after this is complete, I am not sure what 
the easiest method is to get it on the BBB or if there is anything else I 
need to do?

I wanted to start this so others could also follow if they wanted to, as I 
am sure I wont be the only one who has little experience with this

Thanks
Terry

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


Re: [beagleboard] Changing Kernel back to 3.2 for Angstrom - Steps

2014-01-05 Thread Terry Storm
*git clone git://gitorious.org/rowboat/
http://gitorious.org/rowboat/kernel.git*
Seems to be taking a stupid amount of time to do. Currently getting 180kb/s
and has now had fatal cutouts after 600 or so mb.
Just tried it via windows and it was downloading around 800kb/s, which is
still kinda slow but finished fine. I have a 100Mb/s connection. Not sure
whats going on.


On 6 January 2014 16:53, Terry Storm terrystor...@gmail.com wrote:

 Hello,

 I am trying to find out how to build the Rowboat 3.2 Kernel and apply it
 over the latest Angstrom build in the hope to get to a working OS which
 works for LCD Capes, such as the LCD4, LCD7, 4DCAPE-43T and 4DCAPE-70T

 I have been told that going back to a stable 3.2 kernel may result in a
 more favourable outcome, as current the touch issues present on the 3.8
 Kernel almost render the capes useless.

 I have been emailing Robert Nelson. Thanks very much for your help.
 Just need some help to ensure I am doing it correctly, and also how I go
 about getting the built kernel onto the BBB as I have never done that.

 So to start with, I am going to try and use the 2014-01-03 Distribution:
 http://downloads.angstrom-distribution.org/demo/beaglebone/testing/

 I have just installed VM Player on my PC and have Ubuntu 13.10 installed.
 I am following the instructions from here:
 http://elinux.org/Building_BBB_Kernel
 and here:
 http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel

 Robert said to do the following bits instead:






 *git clone git://gitorious.org/rowboat/
 http://gitorious.org/rowboat/kernel.gitcd kernel/git checkout
 rowboat-am335x-kernel-3.2 -b tmpmake ARCH=arm CROSS_COMPILE=${CC}
 am335x_evm_android_defconfigmake ARCH=arm CROSS_COMPILE=${CC} zImage
 modules*

 I am still working on that, but after this is complete, I am not sure what
 the easiest method is to get it on the BBB or if there is anything else I
 need to do?

 I wanted to start this so others could also follow if they wanted to, as I
 am sure I wont be the only one who has little experience with this

 Thanks
 Terry

 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups BeagleBoard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/beagleboard/OoGAsGEi4No/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 beagleboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


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


Re: [beagleboard] dumb quest: why PIR example shows pull-up (P8_19) to 5v when GPIO pins are 3.3v tolerant?

2014-01-05 Thread liyaoshi
From
https://www.sparkfun.com/products/8630

This unit works great from 5 to 12V (datasheet shows 12V). You can also
install a jumper wire past the 5V regulator on board to make this unit work
at 3.3V. Sensor uses 1.6mA@3.3V.



2014/1/6 james.wang@gmail.com

 http://beagleboard.org/Support/BoneScript/PIRMotionSensor

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


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


[beagleboard] Re: Boot failure external abort on non-linefetch in cpsw_probe with any image after Wi-Fi install

2014-01-05 Thread Loren Amelang
@RobertCNelson:  Your kernel is out of date, please upgrade to 
v3.8.13-bone35 first...

That kernel version is from attempts to boot Ubuntu. Maybe I could find a 
newer Ubuntu image, but I have the same kernel panic problem trying to boot 
Angstrom. It only says:
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   Angstrom/3.8.13/beaglebone
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:4270776 Bytes = 4.1 MiB
How do I tell if that is out of date? It is specifically the image the RMA 
people told me to use - BBB-eMMC-flasher-2013.09.04.img.xz

There seem to be a maddening variety of images available, but I haven't 
found any newer production versions. 


@Vaibhav: 
 PHY reset timed out 
I guess ^^^ that's your problem. I can't see why the WiFi will interfere 
with the CPSW.

I've seen lots of boot logs show those lines and still boot successfully. 
Your links and others I've found are about the ethernet dying after an hour 
or more, or failing to start maybe 1/50 times while the rest of the board 
boots successfully. 

My Ubuntu boots do show a later version of phy not found - just before the 
fatal error:
-
[2.459389] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[2.465825] davinci_mdio 4a101000.mdio: no live phy, scanning all
[2.472570] davinci_mdio: probe of 4a101000.mdio failed with error -5
[2.479609] Detected MACID = 90:59:af:4d:71:eb
[2.484177] Unhandled fault: external abort on non-linefetch (0x1008) at 
0xe089e000
[2.492394] Internal error: : 1008 [#1] SMP ARM
-
But right after saying the probe failed, it displays the proper MAC address 
for the interface it couldn't find! 


Something is obviously screwed up, but my kernel booted fine before I tried 
to install Wi-Fi, and it is the one Beagleboard RMA says I should use. Wish 
I had boot logs from back then, but my first console port adapter arrived 
with a bad cable. I'm not seeing anyone else (except for the one link I 
posted) say cpsw_probe totally prevents booting. And in that one instance, 
the kernel that failed in one board worked in the other five...  


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


[beagleboard] Re: Boot failure external abort on non-linefetch in cpsw_probe with any image after Wi-Fi install

2014-01-05 Thread Loren Amelang


 @Vaibhav,


Just found this:
http://web.archiveorange.com/archive/v/vEQ2y6LmBVoCWJwTbcnr

about a problem with clocks not being enabled before mdio: probe - which 
seems directly applicable to my Ubuntu fail!

Make the driver control the device clocks. Appearantly, the Davinci
platform probes this driver with the clock all powered up, but on OMAP,
this isn't the case.Make the driver control the device clocks. Appearantly, 
the Davinci
platform probes this driver with the clock all powered up, but on OMAP,
this isn't the case. 

Certainly, with respect to CPSW  MDIO, this patch is not enough and
requires further investigation. I have started looking at this and
hopefully will have some solution soon...

But that was over a year ago - was it resolved? 

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