[beagleboard] Change USB OTG mode to USB host and USB peripheral

2015-11-05 Thread Ison Thomas
Hi I am using a custom hardware which is based on Beaglebone black. The hardware difference between BBB and our board is that USB0 is changed to work in host mode and USB1 in peripheral mode. I need to make the necessary changes in kernel as well to make this work. I have built the kernel and

[beagleboard] Re: BBB USB0 change from client to host

2015-11-05 Thread Ison Thomas
Hi, I am trying to acheive a similar goal here. I want to change my USB0 to host and USB1 to device. I tried to make this change in arch/arm/boot/dts/am335x-bone- common.dtsi file but the file structure has changed significantly. It is now having : " &usb_otg_hs { interface_type =

Re: [beagleboard] Re: BBB USB0 change from client to host

2015-11-05 Thread Ison Thomas
Hi Robert, I am trying to acheive a similar goal here. I want to change my USB0 to host and USB1 to device. I tried to make this change in arch/arm/boot/dts/am335x-bone- common.dtsi file but the file structure has changed significantly. It is now having : " &usb_otg_hs { interface_

[beagleboard] Startup first tim

2015-11-05 Thread ajn6469
Hi, I have a beagleboard rev 4, that I have newer used since it was new. Now I have tried to start it up for the first time. I have not added any memory card and no Linux image yet. Instead I have plugged in power via USB, and the serial cable between PC and the beagleboard. I have tried to pl

[beagleboard] How can BeagleBone Black be used as Mass Storage Device?

2015-11-05 Thread matansw2
Is it possible to use the BB as Mass Storage Device? I want it to be connected to an audio player that can read files from USB connectivity (such as USB flash drive) *and act as data storage device containing one specific folder* (and its sub-folders) from the file system (if possible, on a

Re: [beagleboard] Startup first tim

2015-11-05 Thread Gerald Coley
There are four different BeagleBoards, can you give us some more information on the board? There also was not a rev 4 made. We use letters A,B,C followed by numbers on our revisions. http://www.elinux.org/Beagleboard:Main_Page Gerald On Thu, Nov 5, 2015 at 6:52 AM, wrote: > Hi, > I have a bea

Re: [beagleboard] How can BeagleBone Black be used as Mass Storage Device?

2015-11-05 Thread Robert Nelson
On Thu, Nov 5, 2015 at 8:02 AM, wrote: > Is it possible to use the BB as Mass Storage Device? > > I want it to be connected to an audio player that can read files from USB > connectivity (such as USB flash drive) and act as data storage device > containing one specific folder (and its sub-folders

RE: [beagleboard] How can BeagleBone Black be used as Mass Storage Device?

2015-11-05 Thread Bill Pretty
Buy our book ;-) https://www.packtpub.com/hardware-and-creative/building-networks-and-servers-using-beaglebone/?utm_source=oreilly &utm

[beagleboard] Using BeagleBone Black as Mass Storage Device?

2015-11-05 Thread matansw2
Is it possible to use the BB as Mass Storage Device? I want it to be connected to an audio player that can read files from USB connectivity (such as USB flash drive) *and act as data storage device containing one specific folder* (and its sub-folders) from the file system (if possible, on a f

[beagleboard] kernel updates: 4.1.12-ti-r27 (BBB all spi/spidev users rejoice)

2015-11-05 Thread Robert Nelson
The journey into spi & dma.. So for awhile now, we've had a bug for spi users, where the system would hardlock at the "160" byte threashold: debian@beaglebone:~$ sudo dd if=/dev/zero of=/dev/spidev1.0 bs=159 count=1 1+0 records in 1+0 records out 159 bytes (159 B) copied, 0.000508833 s, 312 kB/s

Re: [beagleboard] Using BeagleBone Black as Mass Storage Device?

2015-11-05 Thread Robert Nelson
On Thu, Nov 5, 2015 at 8:37 AM, wrote: > > Is it possible to use the BB as Mass Storage Device? > > I want it to be connected to an audio player that can read files from USB > connectivity (such as USB flash drive) and act as data storage device > containing one specific folder (and its sub-folde

Re: [beagleboard] Where is the X15 documentation?

2015-11-05 Thread Gerald Coley
http://www.ti.com/product/am5728 Gerald On Thu, Nov 5, 2015 at 1:40 AM, Endre wrote: > Currently I am interested in how the A15 is connected into the Cortex M4s. > How can they communicate? > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message becaus

Re: [beagleboard] SPI BBB Master, BBB Slave

2015-11-05 Thread John Syne
Hi Ravi, This is something I’m currently working on. However, for your application, why do you need to use SPI? Surely you could use IP Sockets or UART to achieve the same thing. Also, McASP has both master and slave support through the sound subsystem. Specifically you can use spdif_receiver.c

[beagleboard] Console output garbled?

2015-11-05 Thread Rick Mann
All of a sudden, I'm getting garbled console output. Not always, but frequently. This is a "fresh" BBB that I got a while back but haven't used. After I fried my other BBB, I moved everything over to this one, but didn't flash the eMMC. If I boot without an SD card, it's garbled. If I boot with

[beagleboard] capemgr in 4.1.10-bone16 kernel not loading capes at boot

2015-11-05 Thread jason
I am attempting to update my beaglebone black Rev C to the 4.1 kernel from https://github.com/RobertCNelson/bb-kernel and filesystem from https://rcn-ee.com/rootfs/eewiki/minfs/debian-8.2-minimal-armhf-2015-09-07.tar.xz uname -a: Linux arm 4.1.10-bone16 #2 Tue Oct 27 19:53:33 EDT 2015 armv7l G

Re: [beagleboard] capemgr in 4.1.10-bone16 kernel not loading capes at boot

2015-11-05 Thread Robert Nelson
On Thu, Nov 5, 2015 at 12:24 PM, jason wrote: > I am attempting to update my beaglebone black Rev C to the 4.1 kernel from > https://github.com/RobertCNelson/bb-kernel and filesystem from > https://rcn-ee.com/rootfs/eewiki/minfs/debian-8.2-minimal-armhf-2015-09-07.tar.xz > > uname -a: Linux arm 4.

[beagleboard] Re: Console output garbled?

2015-11-05 Thread Graham
By any chance are you using "Teraterm" ? If so, switch to Putty, and your problem will go away. --- Graham == On Thursday, November 5, 2015 at 12:38:59 PM UTC-6, Rick M wrote: > > All of a sudden, I'm getting garbled console output. Not always, but > frequently. > > > -- For more options, vi

[beagleboard] C compiler(s) for Beaglebone Black (BBB)

2015-11-05 Thread jship1962
What Linux C complier toolset(s) that can be used directly on the BBB? I am thinking that I might have to use the host PC (Ubuntu15,xx) and then load the compiled code on to the BBB (???). I like the Python tools (no compilation needed) but I am not sure how one can incorporate using the interru

Re: [beagleboard] kernel updates: 4.1.12-ti-r27 (BBB all spi/spidev users rejoice)

2015-11-05 Thread Rick Mann
Nice work, Robert. Are the recent PRU-related changes in this update? > On Nov 5, 2015, at 06:47 , Robert Nelson wrote: > > The journey into spi & dma.. > > So for awhile now, we've had a bug for spi users, where the system > would hardlock at the "160" byte threashold: > > debian@beaglebone:

Re: [beagleboard] Console output garbled?

2015-11-05 Thread Rick Mann
No, I'm using screen on OS X. > On Nov 5, 2015, at 11:08 , Graham wrote: > > By any chance are you using "Teraterm" ? > If so, switch to Putty, and your problem will go away. > > --- Graham > > == > > On Thursday, November 5, 2015 at 12:38:59 PM UTC-6, Rick M wrote: > All of a sudden, I'm get

[beagleboard] working with TI PRU CAPE in Debian?

2015-11-05 Thread fdstanford
I bought the TI PRU Cape thinking it would be a good way to learn to use the BBB PRU. But I have not been able to find a tutorial on using the cape on a BBB in an 'out-of-the-box' configuration running Debian. Does this exist? If so, a link would be much appreciated. -- For more options, vis

Re: [beagleboard] kernel updates: 4.1.12-ti-r27 (BBB all spi/spidev users rejoice)

2015-11-05 Thread Robert Nelson
On Thu, Nov 5, 2015 at 2:00 PM, Rick Mann wrote: > Nice work, Robert. > > Are the recent PRU-related changes in this update? Well everything part of "r26" is still there in r27: http://processors.wiki.ti.com/index.php/PRU-ICSS https://github.com/dinuxbg/pru-gcc-examples Regards, -- Robert Ne

Re: [beagleboard] working with TI PRU CAPE in Debian?

2015-11-05 Thread Robert Nelson
On Thu, Nov 5, 2015 at 2:08 PM, wrote: > I bought the TI PRU Cape thinking it would be a good way to learn to use the > BBB PRU. But I have not been able to find a tutorial on using the cape on a > BBB in an 'out-of-the-box' configuration running Debian. > > Does this exist? If so, a link would b

Re: [beagleboard] working with TI PRU CAPE in Debian?

2015-11-05 Thread John Syne
Looking at the first link, the “Hands-on Labs” will be what you are looking for. Specifically, Lab4 onwards. Regards, John > On Nov 5, 2015, at 12:18 PM, Robert Nelson wrote: > > On Thu, Nov 5, 2015 at 2:08 PM, wrote: >> I bought the TI PRU Cape thinking it would be a good way to learn t

Re: [beagleboard] kernel updates: 4.1.12-ti-r27 (BBB all spi/spidev users rejoice)

2015-11-05 Thread Drew Fustini
Thanks for your efforts! drivers/staging/fbtft now works for me. Here is example of using Adafruit 1.8" TFT LCD as a Framebuffer with 4.1.12-ti-r27 kernel: https://gist.github.com/pdp7/6607665262fda38b8099#file-fbtft-works-4-1-12-ti-r27 On Thu, Nov 5, 2015 at 8:47 AM, Robert Nelson wrote: > Th

Re: [beagleboard] kernel updates: 4.1.12-ti-r27 (BBB all spi/spidev users rejoice)

2015-11-05 Thread Rick Mann
> On Nov 5, 2015, at 12:18 , Robert Nelson wrote: > > On Thu, Nov 5, 2015 at 2:00 PM, Rick Mann wrote: >> Nice work, Robert. >> >> Are the recent PRU-related changes in this update? > > Well everything part of "r26" is still there in r27: > > http://processors.wiki.ti.com/index.php/PRU-ICSS

Re: [beagleboard] Console output garbled?

2015-11-05 Thread Graham Haddock
Do you have the option to lock it in the basic ASCII 7 bit character set? That would likely solve the problem. The problem with Teraterm is that the BBB will sometimes put out some gibberish or perhaps some non-printing control characters at the start of the console output (don't know why) and it

Re: [beagleboard] capemgr in 4.1.10-bone16 kernel not loading capes at boot

2015-11-05 Thread jlhessle
Robert, The dtbo file is present on the system. Below is the serial boot log U-Boot 2015.04-svn40 (Oct 23 2015 - 08:19:16) Watchdog enabled I2C: ready DRAM: 512 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment Net:not set. Validating first E-fuse MAC cpsw Hit an

Re: [beagleboard] Console output garbled?

2015-11-05 Thread Rick Mann
Interesting. My terminal windows support UTF-8, but maybe screen is doing something. > On Nov 5, 2015, at 13:31 , Graham Haddock wrote: > > Do you have the option to lock it in the basic ASCII 7 bit character set? > That would likely solve the problem. > > The problem with Teraterm is that the

[beagleboard] Accessing SPI EEPROM (AT25 type)

2015-11-05 Thread rattus
I have set up SPI on my BBB (spidev_test works fine) and have compiled/installed the AT25 SPI EEPROM kernel module. I am missing the knowledge/piece that allows me to access the AT25 using the read/write calls. The at25 spi eeprom is a proxy/training ground for a much more complex spi device in