Re: [beagleboard] Re: Qt5 on Debian BBB
Thanks don. That's cool Qt is all ready to go on ALARM. Is there also an easy way to change the splash screen to something custom, like what Plymouth seems to offer? I didn't get there yet but it seemed like Debian had a few guides around that I could use. -- 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: Qt5 on Debian BBB
On 09/01/2014 11:35 PM, Seth wrote: Thanks don. That's cool Qt is all ready to go on ALARM. Is there also an easy way to change the splash screen to something custom, like what Plymouth seems to offer? I didn't get there yet but it seemed like Debian had a few guides around that I could use. -- 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 mailto:beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. would still be relevant except how you build packages on alarm vs debian. There site has pages in regards to that. Plus you end up getting the amazing wiki that is arch linux and you also get the best package manager around pacman. png to ppm put in the kernel src in appropriate dir edit kconfig logo.c makefile recompile install reboot, enjoy your new splash. Enjoy never reinstalling a new release version again and many more wondrous things and having to hack things back to how you want them or endlessly compiling cause X is out of date which ends up causing issues with Y and all the joys that is debian. I have alarm installs going on 4+ years, and arch linux installs on boxes much older. -- 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: Booting off Micro SD Card
I dont think sd card permissions you can change using chmod mmcroot=/dev/mmcblk1p2 rw you can try On Tue, Sep 2, 2014 at 9:48 AM, Don deJuan donjuans...@gmail.com wrote: On 09/01/2014 08:15 PM, William Pretty Security wrote: You need to change the “permissions” chmod 777 /dev/sda1 or chmod 777 /media/mydiskname No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke *(1729 - 1797)* http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book *From:* beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com beagleboard@googlegroups.com] *On Behalf Of *Jose B Rivera *Sent:* Monday, September 01, 2014 10:17 PM *To:* beagleboard@googlegroups.com *Subject:* [beagleboard] Re: Booting off Micro SD Card I somehow figured out how to get my micro sd card to be 'sda1'. I added some text to it mmcdev=1 bootpart=1:2 mmcroot=/dev/mmcblk1p2 ro optargs=quiet And named it uEnv.txt (on the card itself) Now my BBB sees it as sda1. I was able to mount it to /media by making a directory under it and then mounted it. Question: How do I now use this mounted sda1? I tried ftp upload to it but I get permission denied. On Monday, September 1, 2014 8:02:47 PM UTC-4, Jose B Rivera wrote: Where can I obtain an image to put on a 32gb micro sd card to then insert into my BBB and have it boot off of the micro sd card? (And the instructions to go with it?). Having my BBB recognize the 32gb card as external storage has become such a big problem/issue, that at this point I just want to boot off the card in order to use the 32gb of file space it affords. All I find on the internet are confusing instructions which tend to mix files used to flash the emmc with instructions to boot off a micro-sd card. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database: 4015/8138 - Release Date: 09/01/14 -- No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14 Internal Virus Database is out of date. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. chmod 777 is bad advice. Figure out the real issue and solve the problem. -- 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: Qt5 on Debian BBB
Well that sounds really nice! Thanks for your help don - I'll give that splash update process a shot. -- 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: Is it easy to reduce the clock frequency on Beaglebone I2C?
I freely admit that I don't know anything about LINUX. We don't use it. But why would you want to modify the device tree if I2C is running? We have I2C running with an LPC2468. All we did is putting a P8287 at each end of the line. And it works. No code modification was required. Martin H. -- 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 Rebooting Several Times Every Day
Got my first BBB last week, installed latest Debian. USB Hot Plug was completely hosed in Kernel 3.8 so I upgraded to 3.16 (latest non-rc version). Currently running CUPS print services (including Airprint) and weewx. It appears that the BBB is rebooting three or four times between 10pm and 1am, this has happened the last two days. I discovered it because weewx was going into an ftp loop because the system clock time was getting whacked (it is time/date sensitive to process weather data). Nothing in the log files unusual. Powered with a 5v 2a supply. Ethernet cable attached and external USB Hub (has external power but not used) with printer (turned off) and Weather Data Logger attached (has it's own power). Before I start experimenting with removing USB Hub, plugging in just Weather Data Logger, etc. thought I'd check here first. -- 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: Is it easy to reduce the clock frequency on Beaglebone I2C?
Martin H. mart...@innomar.com wrote: [-- text/plain, encoding 7bit, charset: UTF-8, 16 lines --] I freely admit that I don't know anything about LINUX. We don't use it. But why would you want to modify the device tree if I2C is running? We have I2C running with an LPC2468. All we did is putting a P8287 at each end of the line. And it works. No code modification was required. Well, say my BBB is also my local DNS server, or maybe it runs a print server, or maybe someone else is using it to edit some files? If I have to reboot it just to change the I2C frequency it will spoil all those other things until it has rebooted. Linux (like Unix) is a proper multitasking OS and while a BBB *might* be dedicated to one task it is quite a powerful little beast and is perfectly capable of doing all the things I've listed above at the same time. The whole philosophy of having to be root to do any significant changes to the IO and of having to reboot as well is all wrong IMHO. -- Chris Green · -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] purchasing beagleboard-xM
We build based on orders from distributors. They place orders based on demand. I believe a batch was built a couple of weeks. I do not where they were shipped to. Gerald On Mon, Sep 1, 2014 at 8:51 PM, webby webyh...@gmail.com wrote: Hi, I'm interested in buying beagleboard-xM(BB-XM-00). It's hard to buy this board. Is beagleboard-xM(BB-XM-00) discontinued or planning discontinued? Not available to purchase from the seller lists on beagleboard.org. Please anyone tell me the place to buy beagleboard-xM(BB-XM-00). -- 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] How to remove Cloud9 - files from BBB
Robert, So far so good! I set a root password, created a regular user account, ran apt-get update upgrade. I've installed the following packages: avahi-daemon nodejs nodejs-legacy nom ntp git man-db I used dpkg-reconfigure tzdata to set my timezone information, configured git, and I should be good to go. However, I don't see a dtc command. Should this not be included in the initial image? It seems pretty fundamental to using the BBB! Max -- 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] Flash failure (s2 failure?)
I am trying to flash my Beaglebone Black, but I think perhaps there is a failure in the S2 boot selection button. dpwrussell@starbuck ~/Downloads $ md5sum BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz 74615fb680af8f252c034d3807c9b4ae BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz This is correct as per the downloads page. dpwrussell@starbuck ~/Downloads $ sudo dd bs=1M if=BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz of=/dev/disk1 Password: 470+1 records in 470+1 records out 492868180 bytes (493 MB) copied, 325.311 s, 1.5 MB/s Seems to write correctly. With nothing plugged in to the device I then insert the Micro-SD Card into the BBB when unpowered. I hold down S2 and insert the power cable. The result is always the same, the power light indicator comes on, but nothing else happens, no other lights come on or flash even if I continue to hold down S2 or if I release it. I definitely never get the 4 LEDs coming on for a few seconds which I would expect. If I insert the Micro-SD Card and insert the power cable without holding down S2 then lights flash, but I can't really tell what has happened because if I plug in the display, it is just a load of white dots. If I boot up with the HDMI cable inserted though, with or without the Micro-SD Card inserted, ubuntu boots (I previously was able to flash ubuntu onto the device once). I also tried holding down S2 when powering on with the HDMI cable inserted, same result as with no HDMI, nothing happens except the power light comes on. Any suggestions would be much appreciated. Cheers, Douglas -- 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] Python script stops reading serial port after several days
Hi everyone! I've got my BBB rev. C set up as a data logger for a serial data stream from an Arduino. It basically takes this data, uploads it to xively, and checks certain values for exceeded thresholds and sends an email if found. This works fine. However, after the script has been running for several days, it stops working. The script itself seems to continue running, but it stops acknowledging that it's receiving any data or trying to upload to xively. If I ctrl+c out of the script and restart it, it starts working fine again. The device it's connected to continues to work properly regardless of whether the BBB is logging anything, so I don't believe that the problem is with it. Is there any way to determine where the problem lies? (BBB, python, etc.?) Here's a copy of my code (please don't mock it too much, I'm a Python noob) : http://susepaste.org/399d9d1f (This is what the data looks like if it makes any difference: 2014-08-31 20:51:38.841985 91,h,44 2014-08-31 20:51:40.063139 92,t,72 2014-08-31 20:51:44.727206 92,h,42 2014-08-31 20:51:45.463794 90,t,71 2014-08-31 20:52:17.112091 90,h,44 ...) I've Googled around, and haven't really found anything regarding something like this. There were a couple of random bulletin board posts that seemed similar, but they all went off into no-answer-land. Thanks in advance :) -- 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] 16+ Analog Input Options for Beaglebone
I would like to use the BeagleBone to acquire 16 analog signals. The transducers will be a mix of resistive temperature and current sensors. The temperature sensors will produce a signal between 0~5V and the current transformers will output of 0~0.333V. The BeagleBone Black is limited to 7 analog inputs. I was not able to find a cape that offers 16 analog inputs. 1. Does a BeagleBone Black cape exist that will multiplex and signal condition 16 analog signals (0~5V). 2. If this does not exist, can one of the BeagleBone experts recommend an alternative. Thanks in advance. -- 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] connect WLAN-stick with DHCP server
Hello, I use Angstrom and try to connect the USB-WLAN stick with FritzBox. The stick is DWL-G122 RevC from D-Link (the chip is RT73) and on FritzBox a DHCP server is running. The Angstrom already is updated. Ethernet is working, but WLAN is not able to get the authentication. The BBB is powered by an external 5V/1A supply and the stick is connected by a powered USB-hub. I know this stick is not at the wiki-list of “known working WiFi adapters”. But, do you think I can use this stick anyway and do not have to buy a new one? My linux-know-how is limited and I hope someone can help me with more experience. This are some output information’s from BBB: root@beaglebone:~# lsusb | grep D-Link Bus 001 Device 003: ID 07d1:3c03 D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W] root@beaglebone:~# lsmod | grep rt rt73usb18221 0 rt2x00usb 9375 1 rt73usb rt2x00lib 34321 2 rt73usb,rt2x00usb mac80211 270414 2 rt2x00lib,rt2x00usb cfg80211 166418 2 mac80211,rt2x00lib root@beaglebone:~# iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: BC:05:43:2F:A7:CE Channel:1 Frequency:2.412 GHz (Channel 1) Quality=46/70 Signal level=-64 dBm Encryption key:on ESSID:eurotools Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=000b61df9235 Extra: Last beacon: 1193ms ago IE: Unknown: 00096575726F746F6F6C73 IE: Unknown: 010482848B96 IE: Unknown: 030101 IE: Unknown: 2A0104 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK IE: Unknown: 32080C1218243048606C IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK IE: Unknown: DD0A0800280101000200FF0F root@beaglebone:~# iw dev wlan0 scan BSS bc:05:43:2f:a7:ce (on wlan0) TSF: 48682225873 usec (0d, 13:31:22) freq: 2412 beacon interval: 100 capability: ESS Privacy ShortSlotTime (0x0411) signal: -60.00 dBm last seen: 1218 ms ago Information elements from Probe Response frame: SSID: eurotools Supported rates: 1.0* 2.0* 5.5* 11.0* DS Parameter set: channel 1 ERP: Barker_Preamble_Mode RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: (0x) Extended supported rates: 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK * Capabilities: (0x) interfaces: # The loopback network interface auto lo iface lo inet loopback # primary network interface auto eth0 iface eth0 inet dhcp # WLAN network interface auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant.conf wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant eapol_version=1 ctrl_interface_group=0 update_config=1 network={ ssid=eurotools scan_ssid=1 proto=WPA RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk=4165201409866260 } -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] bbb-exp-c
i found the kernel provided from chipsee for the BBB-EXP-C i saved it on github for review, https://github.com/bmatusiak/bbb-exp-lcd7 im posting this for a reference.. -- 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] connecting WLAN-Stick to DHCP server
Hello, I use Angstrom /BeagleBoneBlack and try to connect the USB-WLAN stick with FritzBox. The stick is DWL-G122 RevC from D-Link (the chip is RT73) and on FritzBox a DHCP server is running. The Angstrom already is updated. Ethernet is working, but WLAN is not able to get the authentication. The BBB is powered by an external 5V/1A supply and the stick is connected by a powered USB-hub. I know this stick is not at the wiki-list of “known working WiFi adapters”. But, do you think I can use this stick anyway and do not have to buy a new one? My linux-know-how is limited and I hope someone can help me with more experience. This are some output information’s from BBB: root@beaglebone:~# lsusb | grep D-Link Bus 001 Device 003: ID 07d1:3c03 D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W] root@beaglebone:~# lsmod | grep rt rt73usb18221 0 rt2x00usb 9375 1 rt73usb rt2x00lib 34321 2 rt73usb,rt2x00usb mac80211 270414 2 rt2x00lib,rt2x00usb cfg80211 166418 2 mac80211,rt2x00lib root@beaglebone:~# iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: BC:05:43:2F:A7:CE Channel:1 Frequency:2.412 GHz (Channel 1) Quality=46/70 Signal level=-64 dBm Encryption key:on ESSID:eurotools Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=000b61df9235 Extra: Last beacon: 1193ms ago IE: Unknown: 00096575726F746F6F6C73 IE: Unknown: 010482848B96 IE: Unknown: 030101 IE: Unknown: 2A0104 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK IE: Unknown: 32080C1218243048606C IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK IE: Unknown: DD0A0800280101000200FF0F root@beaglebone:~# iw dev wlan0 scan BSS bc:05:43:2f:a7:ce (on wlan0) TSF: 48682225873 usec (0d, 13:31:22) freq: 2412 beacon interval: 100 capability: ESS Privacy ShortSlotTime (0x0411) signal: -60.00 dBm last seen: 1218 ms ago Information elements from Probe Response frame: SSID: eurotools Supported rates: 1.0* 2.0* 5.5* 11.0* DS Parameter set: channel 1 ERP: Barker_Preamble_Mode RSN: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: (0x) Extended supported rates: 6.0 9.0 12.0 18.0 24.0 36.0 48.0 54.0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: TKIP * Authentication suites: PSK * Capabilities: (0x) interfaces: # The loopback network interface auto lo iface lo inet loopback # primary network interface auto eth0 iface eth0 inet dhcp # WLAN network interface auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant.conf wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant eapol_version=1 ctrl_interface_group=0 update_config=1 network={ ssid=eurotools scan_ssid=1 proto=WPA RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk=4165201409866260 } -- 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: Device Tree Compiler
Hi John, Thanks for your reply. You mean whatever we have to send and receive should be done via spidev1.0 only ? *Best Regards,* *Amit Sama* On 28 August 2014 16:28, John Syn john3...@gmail.com wrote: From: Amit Sama amitsama@gmail.com Reply-To: beagleboard@googlegroups.com beagleboard@googlegroups.com Date: Thursday, August 28, 2014 at 7:49 AM To: beagleboard@googlegroups.com beagleboard@googlegroups.com Subject: Re: [beagleboard] Re: Device Tree Compiler Hi all, Thanks for your support till now. I am really grateful to you. While I going through the reference manual of the arm processor on the BBB, I came to know that the processor has the capacity for 4 SPI channels but BBB only provides 2 channels. 1) So I want to know if spidev1.0 and spidev1.1 are the interfaces for just one channel (because I have read the spidevB.C means channel B and device C) why are they two in number. Does these files represent the SLAVES which could be attached with this channel ? I believe that is SPI Channel and SPI Chip Select. Regards, John And please understand that I am not yelling or complaining. I am just new to this kind of thing. While reading the material through web I gets answers but also get questions. I hope you all don't mind my questions. I apologize if you do. *Best Regards,* *Amit Sama* *Pursuing** M.Sc. Informatics* *Technical University Munich* *Contact : +49-15214455380 %2B49-15214455380* On 28 August 2014 01:31, William Hermans yyrk...@gmail.com wrote: *What can be the meaning here?* Learn how to use your tools before half fast using / complaining about them ? On Wed, Aug 27, 2014 at 12:55 PM, 'Mark Lazarewicz' via BeagleBoard beagleboard@googlegroups.com wrote: What can be the meaning here? Sent from Yahoo Mail on Android http://overview.mail.yahoo.com/mobile/?.src=Android -- * From: * Robert Nelson robertcnel...@gmail.com; * To: * Beagle Board beagleboard@googlegroups.com; * Subject: * Re: [beagleboard] Re: Device Tree Compiler * Sent: * Wed, Aug 27, 2014 7:18:21 PM On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama amitsama@gmail.com wrote: Hi Robert, Though I managed to enable the spi interface on my BB. I have following questions/information: 1) I have following urls in /etc/apt/sources.list THESE WERE EARLIER IN THE BBB #deb http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse #deb http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe multiverse #deb-src http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe multiverse THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu precise partner deb http://extras.ubuntu.com/ubuntu precise main THESE I COPIED FROM MY DESKTOP #deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse #deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse #deb http://archive.ubuntu.com/ubuntu/ precise-update main restricted universe multiverse NONE OF THEM WORKS, DO TELL ME WHAT ARE THE RIGHT URLS Yelling isn't going to fix this problem, either is random coping the right URLS's. So to repeat: quote So at this point, i'm just going to say... You totally hosed your OS doing some random stuff, that why it doesn't work.. Start over with a fresh image. /quote 2) I could see these two files in /dev/spidev1.0 and /dev/spidev1.1 . Though I configures for the spi0 channel I think it should be like spidev0.0 and spidev0.1 Nope it isn't.. 3) In order to check if I have configured the spidev correctly, I copied a file from here http://osdir.com/ml/beagleboard/2013-05/msg00813.html NOW WHEN I compile it using gcc -c spidev_test.c It gives error like /usr/include/libio.h:334:3: error: unknown type name ‘size_t’ Really! It gives error like considering size_t isn't in that source. Your definition of like is way different!!! Wow.. 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. -- For more options, visit
[beagleboard] Re: BBB 24-bit LCD using device tree
Is this still true? Looking in the source (from http://lxr.free-electrons.com/source/drivers/gpu/drm/tilcdc/tilcdc_crtc.c) I see that it supports bpp=24 if (priv-rev == 2), so I'm hoping that this has been corrected. I'm using the tilcdc in the 3.8.13-bone50 kernel from the Debian distribution. Can anyone tell me how to check the version of tilcdc in this kernel vs. the source I mentioned? And how to know if priv-rev == 2? On Tuesday, October 8, 2013 8:08:20 AM UTC-7, garyamort wrote: On Monday, October 7, 2013 10:31:17 AM UTC-4, bdwi...@gmail.com wrote: I have created a custom cape for a 24-bit LCD and am having trouble getting the upper bits (16) to work. I have disabled the HDMI and on board eMMC. The panel comes up but is not showing all 24-bit color. What video driver are you using? The tlcdc code uses a fixed 16 bits. -- 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] Flash failure (s2 failure?)
On Mon, Sep 1, 2014 at 4:38 AM, r...@dpwrussell.com wrote: I am trying to flash my Beaglebone Black, but I think perhaps there is a failure in the S2 boot selection button. dpwrussell@starbuck ~/Downloads $ md5sum BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz 74615fb680af8f252c034d3807c9b4ae BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz This is correct as per the downloads page. dpwrussell@starbuck ~/Downloads $ sudo dd bs=1M if=BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz of=/dev/disk1 unxz first... Password: 470+1 records in 470+1 records out 492868180 bytes (493 MB) copied, 325.311 s, 1.5 MB/s Seems to write correctly. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] How to remove Cloud9 - files from BBB
On Sun, Aug 31, 2014 at 6:03 AM, m...@zepler.org wrote: Robert, So far so good! I set a root password, created a regular user account, ran apt-get update upgrade. I've installed the following packages: avahi-daemon nodejs nodejs-legacy nom ntp git man-db I used dpkg-reconfigure tzdata to set my timezone information, configured git, and I should be good to go. However, I don't see a dtc command. Should this not be included in the initial image? It seems pretty fundamental to using the BBB! Nah, it's not essential to boot or flash the eMMC, thus it's not installed on the console image. sudo apt-get install device-tree-compiler Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: How to use UART Serial Port Using BoneScript Library
Hello Mark and Jason, I tried using your script in cloud9 as well as using node and I get the same error: b.serialOpen(port, options, onSerial); ^ TypeError: Object #Object has no method 'serialOpen' What am I missing? Thank you, Amer On Monday, April 7, 2014 1:13:13 PM UTC-4, Jason Kridner wrote: On Thursday, March 27, 2014 4:59:00 PM UTC-4, Mark A. Yoder wrote: Nick: I have some bonescript code that works with the UART, but I'm not using the built-in bonescript calls. It works fine with a GPS, though I don't use it to transmit. I took would like to see an example that uses the bonescript calls. I haven't had a chance to try it out as I don't have a device easy to wire-up until later today, but can you try out this live in-a-webpage example at: http://jsfiddle.net/jkridner/AjnJs/ Before ruing the code you need to: beagle# *npm install -g serialport* BoneScript simply uses this same library, so using BoneScript avoids needing to install it. beagle# *echo BB-UART4 /sys/devices/bone_capemgr.*/slots* BoneScript loads this same overlay for you. A basic listening example would be: var b = require('bonescript'); var port = '/dev/ttyO4'; var options = { baudrate: 115200 }; b.serialOpen(port, options, onSerial); function onSerial(x) { if (x.err) { console.log('***ERROR*** ' + JSON.stringify(x)); } if (x.event == 'open') { console.log('***OPENED***'); } if (x.event == 'data') { console.log(String(x.data)); } } To write, you'd do: b.serialWrite(port, data); Hopefully you'll see some value in the simplicity. --Mark #!/usr/bin/env node // From: https://github.com/voodootikigod/node-serialport // From: https://github.com/jamesp/node-nmea var b = require('bonescript'); var nmea = require('nmea'); //console.log(b.serialOpen); //var sp = b.serialOpen('/dev/ttyO4', {baudrate: 9600} ); // parser: b.serialParsers.readline(\n)}); var serialport = require(serialport); var SerialPort = serialport.SerialPort; // localize object constructor var sp = new SerialPort(/dev/ttyO4, { parser: serialport.parsers.readline(\n) }); sp.on(data, function (data) { console.log(here: +data); console.log(nmea.parse(data)); }); On Thursday, December 19, 2013 1:49:30 AM UTC-5, Nick Farrell wrote: I am a newbie to BeagleBone Black(BBB) but have good knowledge about Arduino. I would like to know how to open a serial port in BBB using the 4 UARTs available in BBB using BoneScript library and use cloud9 ide to see the serial data on the console. Can anyone help me on this issue. -- 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] Python script stops reading serial port after several days
Hi Chris, I don't think the problem is related to the serial port itself. I have a python code that uses 4 serial ports of BBB (tty01, tty02, tty04, tty05) running without any problem for months. I saw your code. If it reaches the Dropping out due to an error: , I don't think it will keep running. Use the logging module to write to a file when there is an exception: https://docs.python.org/2/howto/logging.html Use repr() instead of the str() to show the error, as it returns a string containing a printable representation of an object., and it is easier to see what's wrong. https://docs.python.org/2/library/functions.html#func-repr If you catch the problem with the logging module, send an email and I can help you with more details. Miguel On 31-08-2014 22:55, chrismyer...@gmail.com wrote: Hi everyone! I've got my BBB rev. C set up as a data logger for a serial data stream from an Arduino. It basically takes this data, uploads it to xively, and checks certain values for exceeded thresholds and sends an email if found. This works fine. However, after the script has been running for several days, it stops working. The script itself seems to continue running, but it stops acknowledging that it's receiving any data or trying to upload to xively. If I ctrl+c out of the script and restart it, it starts working fine again. The device it's connected to continues to work properly regardless of whether the BBB is logging anything, so I don't believe that the problem is with it. Is there any way to determine where the problem lies? (BBB, python, etc.?) Here's a copy of my code (please don't mock it too much, I'm a Python noob) : http://susepaste.org/399d9d1f (This is what the data looks like if it makes any difference: 2014-08-31 20:51:38.841985 91,h,44 2014-08-31 20:51:40.063139 92,t,72 2014-08-31 20:51:44.727206 92,h,42 2014-08-31 20:51:45.463794 90,t,71 2014-08-31 20:52:17.112091 90,h,44 ...) I've Googled around, and haven't really found anything regarding something like this. There were a couple of random bulletin board posts that seemed similar, but they all went off into no-answer-land. Thanks in advance :) -- 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 mailto: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] SD port broken?
http://pastebin.com/DezagJXu I use kingston and samsung sdHc. Il giorno lunedì 1 settembre 2014 20:19:54 UTC+2, RobertCNelson ha scritto: Is it possible that the sd port is broken? The item is brand new. What type of microSD cards? (SDXC are not supported) Do you mean sdhc? No i specifically meant SDXC as that would explain why it doesn't work.. http://en.wikipedia.org/wiki/Secure_Digital#SDXC based on your response, you have a SD/SDHC so that should be good.. What brand/model? pastebin.com your dmesg (if pastebinit is installed you can run:) dmesg | pastebinit Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: 16+ Analog Input Options for Beaglebone
A common practice to increase the number of ADC channels is to use an Analog Multiplexer (MUX). Use a few GPIO bits to control the addressing. You can provide a single point buffer to support the 0-5 to 0-1.8V scaling. Cheers On Monday, September 1, 2014 9:47:24 AM UTC-4, jona.he...@gmail.com wrote: I would like to use the BeagleBone to acquire 16 analog signals. The transducers will be a mix of resistive temperature and current sensors. The temperature sensors will produce a signal between 0~5V and the current transformers will output of 0~0.333V. The BeagleBone Black is limited to 7 analog inputs. I was not able to find a cape that offers 16 analog inputs. 1. Does a BeagleBone Black cape exist that will multiplex and signal condition 16 analog signals (0~5V). 2. If this does not exist, can one of the BeagleBone experts recommend an alternative. Thanks in advance. -- 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] Using g_ether/g_multi
Hi all, I have quite troubles with using g_ether/g_multi. Hardware: BBB. Software : Linux arm 3.15.10-bone8 #1 Tue Sep 2 02:20:52 PDT 2014 armv7l armv7l armv7l GNU/Linux Ubuntu 14.04 The A8 boots fine however I can't ping my usb0 interface with my PC. The setup of my interface is the following : *auto lo * *iface lo inet loopback* *auto eth0 * *iface eth0 inet dhcp * *auto usb0 * *iface usb0 inet static * *address 192.168.7.2 * *netmask 255.255.255.0 * *network 192.168.7.0 * *gateway 192.168.7.1* The result of my lsmod is the following: *Module Size Used by* *g_ether 3694 0 * *snd_soc_omap2562 0 * *snd_pcm_dmaengine 4938 1 snd_soc_omap * *snd_soc_core 156036 1 snd_soc_omap * *snd_compress 11202 1 snd_soc_core * *snd_pcm70240 3 snd_soc_core,snd_soc_omap,snd_pcm_dmaengine * *snd_timer 15971 1 snd_pcm * *snd53346 4 snd_soc_core,snd_timer,snd_pcm,snd_compress * *soundcore 6731 1 snd * *omap_aes 12664 0* *omap_sham 18431 0* *ti_am335x_adc 4491 0 * *kfifo_buf 2407 1 ti_am335x_adc* *evdev 7805 1 * *rtc_omap5107 0 * *industrialio 41829 2 ti_am335x_adc,kfifo_buf * *usb_f_eem 7407 1* *usb_f_rndis21745 2 g_ether * *libcomposite 35331 3 usb_f_eem,usb_f_rndis,g_ether * *u_ether10825 3 usb_f_eem,usb_f_rndis,g_ether* Furthermore, when connected to my PC, the RDNIS driver is not even loaded by Windows. I don't really see from where the problem can come. Do anyone have an idea ? Regards, Julien. PS: here is the link of my dmesg http://pastebin.com/XMBGKFfr -- 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] Interface eth0 won't show up
Hi all, I have problems with the eth0 interface. Hardware: Custom BBB with no EEPROM. Software : Linux arm 3.15.10-bone8 #1 Tue Sep 2 02:20:52 PDT 2014 armv7l armv7l armv7l GNU/Linux Ubuntu 14.04 The A8 boots fine however I don't see my eth0 interface. I tried using the Angstrom kernel at start and I could use ethernet. However, I couldn't see my eMMC so that's why I decided to go with a latest kernel and OS. I don't really see from where the problem can come. Do anyone have an idea ? Regards, Julien. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: BBB 24-bit LCD using device tree
http://elinux.org/24bit_LCD_for_BBB -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ?
Thanks for your quick responses always. I've tried the Instructions to build the Kernel git clone https://github.com/RobertCNelson/bb-kernel.git cd bb-kernel/ git checkout origin/am33x-v3.8 -b tmp but if use the command ./build_kernel.sh . i get this message after the resolving deltas process. I've tried several times but it always freezes at 96%. Do you have any Idea what went wrong? this is what i get in the commandshell: root@beaglebone:/bb-kernel# ./build_kernel.sh + Detected build host [Debian GNU/Linux 7.5 (wheezy)] + host: [armv7l] + git HEAD commit: [e496a19d1fed586a7e82c3cd74f0571491a526ca] - scripts/gcc: Using: gcc (Debian 4.6.3-14) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - CROSS_COMPILE= - scripts/git: LINUX_GIT not defined in system.sh cloning https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git into default location: /bb-kernel/ignore/linux-src Cloning into '/bb-kernel/ignore/linux-src'... remote: Counting objects: 3758162, done. remote: Compressing objects: 100% (567907/567907), done. remote: Total 3758162 (delta 3168580), reused 3749734 (delta 3160289) Receiving objects: 100% (3758162/3758162), 794.38 MiB | 1.37 MiB/s, done. error: index-pack died of signal 968580) fatal: index-pack failed root@beaglebone:/bb-kernel# Am Montag, 1. September 2014 17:39:11 UTC+2 schrieb john3909: From: halfbrain adrian@gmail.com javascript: Reply-To: beagl...@googlegroups.com javascript: beagl...@googlegroups.com javascript: Date: Monday, September 1, 2014 at 8:23 AM To: beagl...@googlegroups.com javascript: beagl...@googlegroups.com javascript: Subject: Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ? I'm using Derek Molloys device Tree overlays and I'm running debian... I can't find the folder on my bbb . But I found the am335x-bone-common.dtsi https://github.com/derekmolloy/boneDeviceTree/blob/master/DTSource3.8.13/am335x-bone-common.dtsi in https://github.com/derekmolloy/boneDeviceTree/tree/master/DTSource3.8.13 which I have on my bbb. I've commented out the section you mentioned but nothing changes. Without using or declaring the I2c2 pins in my Device Tree Overlay I'm able to use all unallocated pins as GPIO Inputs as I declared them in my Device Tree Overlay. Did i change the wrong am335x-bone-common.dtsi https://github.com/derekmolloy/boneDeviceTree/blob/master/DTSource3.8.13/am335x-bone-common.dtsi.? Is there another one elsewhere on the debian distribution or do i have to copy the changed file into a specific folder? You need to follow: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel After the kernel has built, you will see a KERNEL folder which includes the complete Linux Kernel. In that folder, go to /arch/arm/boot/dts and edit the am335x-bone-common.dtsi file. After that, return to the bb-kernel folder and run tools/rebuild.sh script. The build results will be in the deploy folder which you need to copy to your sdcard/“nfs folder”. Regards, John Am Sonntag, 31. August 2014 20:59:21 UTC+2 schrieb john3909: From: halfbrain adrian@gmail.com Reply-To: beagl...@googlegroups.com beagl...@googlegroups.com Date: Sunday, August 31, 2014 at 2:30 AM To: beagl...@googlegroups.com beagl...@googlegroups.com Subject: Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ? how do u use the i2c2 pins? it doesn't work on my bbb if i only change the pinmode to mode 7 in my device tree. have u done additional changes or something like that elsewhere? If you look at /arch/arm/boot/dts/am335x-bone-common.dtsi you will see the i2c2 definition: i2c2 { status = okay; pinctrl-names = default; pinctrl-0 = i2c2_pins; clock-frequency = 10; cape_eeprom0: cape_eeprom0@54 { compatible = at,24c256; reg = 0x54; }; cape_eeprom1: cape_eeprom1@55 { compatible = at,24c256; reg = 0x55; }; cape_eeprom2: cape_eeprom2@56 { compatible = at,24c256; reg = 0x56; }; cape_eeprom3: cape_eeprom3@57 { compatible = at,24c256; reg = 0x57; };};The line “pinctrl-0 = i2c2_pins;” refers to the i2cs_pins label in the pinmux section: i2c2_pins: pinmux_i2c2_pins { pinctrl-single,pins = 0x178 0x73 /* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ 0x17c 0x73 /* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ ; }; So, as you can see, i2c2 is used to identify the capes plugged into the BBB. If you don’t need this feature, simply remove or comment out this section and then change the i2c2 pins to gpio pins. Regards, John Am Montag, 19. Mai 2014 12:20:03 UTC+2 schrieb Dhruv Vyas: Thanks John. Got it cleared. :) On Monday, May 19, 2014 1:49:16 AM UTC+5:30,
Re: [beagleboard] Re: 3 proposed patches for next 3.8.13-bone5x update
Alex: This conversation seemed to have gotten lost in the myriad of e-mails I get per day. Sorry for the delayed reply. Disable the HDMI interface and enable the 4 LCD, by putting this line into /boot/uboot/uEnv.txt: optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN capemgr.enable_partno=BB-BONE-LCD4-01 If you have an existing optargs= line, comment it out with a hash mark, e.g., #optargs =. I don't think the bpp parameter makes much difference to the frame buffer device or the X server. Let me know how this work out! -scooter On Fri, Aug 15, 2014 at 4:02 PM, Alexander Hayman misterhay...@gmail.com wrote: I checked the difference between the dts's. It looks like the only difference that matters is the panel-info { bpp } value. BB-BONE has a bpp of 24. BB-VIEW has a bpp of 32. The display-timings information is all identical. Would it then make sense that the image is scaled and the colors are corrupted if the 4D Systems screen is using the BB-VIEW dtb file with the slightly higher bpp value? Alex On Friday, August 15, 2014 2:41:05 PM UTC-4, Alexander Hayman wrote: I am using Robert's bb-kernel git repo to build the kernel. It looks like we are using the exact same compiler. Linux version 3.8.13-bone62 (root@debian) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) I noticed that you are passing specific commands to the capemgr. capemgr.enable_partno=BB-VIEW-LCD4-01 This I am not doing. Should I be doing this? If I force it to capemgr.enable_partno=BB-BONE-LCD4-01, then maybe it will work even if your patch is installed? This is what the detection of the screen looks like on my kernel without the patches. Maybe the kernel is getting confused and using BB-VIEW dtb for my LCD instead of BB-BONE dtb? [0.725548] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,00A5,4110BBBK' [0.725572] bone-capemgr bone_capemgr.9: compatible-baseboard=ti, beaglebone-black [0.755349] bone-capemgr bone_capemgr.9: slot #0: No cape found [0.792456] bone-capemgr bone_capemgr.9: slot #1: No cape found [0.829564] bone-capemgr bone_capemgr.9: slot #2: No cape found [0.859739] bone-capemgr bone_capemgr.9: slot #3: '4D 4.3 LCD CAPE- 4DCAPE-43T ,00A1,4D SYSTEMS ,BB-BONE-LCD4-01' [0.859839] bone-capemgr bone_capemgr.9: slot #4: specific override [0.859859] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4 [0.859873] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G' [0.859945] bone-capemgr bone_capemgr.9: slot #5: specific override [0.859963] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5 [0.859977] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI' [0.860046] bone-capemgr bone_capemgr.9: slot #6: specific override [0.860063] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6 [0.860077] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN' [0.860405] bone-capemgr bone_capemgr.9: loader: before slot-3 BB-BONE-LCD4-01:00A1 (prio 0) [0.860420] bone-capemgr bone_capemgr.9: loader: check slot-3 BB-BONE-LCD4-01:00A1 (prio 0) [0.860500] bone-capemgr bone_capemgr.9: loader: before slot-4 BB-BONE-EMMC-2G:00A0 (prio 1) [0.860512] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1) [0.860585] bone-capemgr bone_capemgr.9: loader: before slot-5 BB-BONELT-HDMI:00A0 (prio 1) [0.860598] bone-capemgr bone_capemgr.9: loader: check slot-5 BB-BONELT-HDMI:00A0 (prio 1) [0.860632] bone-capemgr bone_capemgr.9: initialized OK. [0.861126] bone-capemgr bone_capemgr.9: loader: after slot-3 BB-BONE-LCD4-01:00A1 (prio 0) [0.861145] bone-capemgr bone_capemgr.9: slot #3: Requesting part number/version based 'BB-BONE-LCD4-01-00A1.dtbo [0.861167] bone-capemgr bone_capemgr.9: slot #3: Requesting firmware 'BB-BONE-LCD4-01-00A1.dtbo' for board-name '4D 4.3 LCD CAPE- 4DCAPE-43T ', version '00A1' [0.861186] bone-capemgr bone_capemgr.9: slot #3: dtbo 'BB-BONE-LCD4-01-00A1.dtbo' loaded; converting to live tree [0.861686] bone-capemgr bone_capemgr.9: slot #3: #4 overlays On 8/13/2014 3:06 PM, Scott Michel wrote: Alexander: Short answer: It works for me. :-) It turns out that a colleague has an Element-14 4.3 LCD cape here at work. I just booted up after changing uEnv.txt. Hard to work on the BBB at that screen resolution, but I don't have the image compression that you experienced. I'm not at the most recent tag on Robert's tree, but I could test it later this week. But given that the E-14 4.3 LCD cape works, it makes me wonder if the problem isn't with the DTB's pixel and dot clocking params? Now, I'll admit that I compiled my kernel with the 4.7.3
[beagleboard] Jr. Java Developers required $35\hr
Greetings One of our client is looking for multiple Jr. Java Developer for upgrade of their existing Applications, in NJ. Modernizing multiple legacy applications. Location: Trenton, NJ Duration 12+ mths Positions: 20 (State Project) Skills required: Knowledge of Core Java is an essential pre-req. The laterals should have worked at least on one complete development life cycle of a Java/J2EE project. Knowledge of additional Java Frameworks would be a plus. Thanks Umesh -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] BBB Debian lspci command doesn't work
Hi, I've tried it logged in as debian@ and root@. root@myBBB$lspci pcilib: Cannot open /proc/buss/pci lspci: Cannot find any working access method. I list /proc/buss, and only one folder is there, input Do I have to modify a config file or something to get lspci to work on BBB Deb? Thanks, EC -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] BBB Debian lspci command doesn't work
On Tue, Sep 2, 2014 at 11:27 AM, ec12...@gmail.com wrote: Hi, I've tried it logged in as debian@ and root@. root@myBBB$lspci pcilib: Cannot open /proc/buss/pci lspci: Cannot find any working access method. I list /proc/buss, and only one folder is there, input Do I have to modify a config file or something to get lspci to work on BBB Deb? There is no pci bus on the am335x. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ?
From: halfbrain adrian.mitev...@gmail.com Reply-To: beagleboard@googlegroups.com beagleboard@googlegroups.com Date: Tuesday, September 2, 2014 at 9:09 AM To: beagleboard@googlegroups.com beagleboard@googlegroups.com Subject: Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ? Thanks for your quick responses always. I've tried the Instructions to build the Kernel git clone https://github.com/RobertCNelson/bb-kernel.git cd bb-kernel/ git checkout origin/am33x-v3.8 -b tmp You need to be building this on your desktop, not on your BBB. Regards, John but if use the command ./build_kernel.sh . i get this message after the resolving deltas process. I've tried several times but it always freezes at 96%. Do you have any Idea what went wrong? this is what i get in the commandshell: root@beaglebone:/bb-kernel# ./build_kernel.sh + Detected build host [Debian GNU/Linux 7.5 (wheezy)] + host: [armv7l] + git HEAD commit: [e496a19d1fed586a7e82c3cd74f0571491a526ca] - scripts/gcc: Using: gcc (Debian 4.6.3-14) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - CROSS_COMPILE= - scripts/git: LINUX_GIT not defined in system.sh cloning https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git into default location: /bb-kernel/ignore/linux-src Cloning into '/bb-kernel/ignore/linux-src'... remote: Counting objects: 3758162, done. remote: Compressing objects: 100% (567907/567907), done. remote: Total 3758162 (delta 3168580), reused 3749734 (delta 3160289) Receiving objects: 100% (3758162/3758162), 794.38 MiB | 1.37 MiB/s, done. error: index-pack died of signal 968580) fatal: index-pack failed root@beaglebone:/bb-kernel# Am Montag, 1. September 2014 17:39:11 UTC+2 schrieb john3909: From: halfbrain adrian@gmail.com javascript: Reply-To: beagl...@googlegroups.com javascript: beagl...@googlegroups.com javascript: Date: Monday, September 1, 2014 at 8:23 AM To: beagl...@googlegroups.com javascript: beagl...@googlegroups.com javascript: Subject: Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ? I'm using Derek Molloys device Tree overlays and I'm running debian... I can't find the folder on my bbb . But I found the am335x-bone-common.dtsi https://github.com/derekmolloy/boneDeviceTree/blob/master/DTSource3.8.13/am 335x-bone-common.dtsi in https://github.com/derekmolloy/boneDeviceTree/tree/master/DTSource3.8.13 which I have on my bbb. I've commented out the section you mentioned but nothing changes. Without using or declaring the I2c2 pins in my Device Tree Overlay I'm able to use all unallocated pins as GPIO Inputs as I declared them in my Device Tree Overlay. Did i change the wrong am335x-bone-common.dtsi https://github.com/derekmolloy/boneDeviceTree/blob/master/DTSource3.8.13/am 335x-bone-common.dtsi .? Is there another one elsewhere on the debian distribution or do i have to copy the changed file into a specific folder? You need to follow: http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKe rnel After the kernel has built, you will see a KERNEL folder which includes the complete Linux Kernel. In that folder, go to /arch/arm/boot/dts and edit the am335x-bone-common.dtsi file. After that, return to the bb-kernel folder and run tools/rebuild.sh script. The build results will be in the deploy folder which you need to copy to your sdcard/³nfs folder². Regards, John Am Sonntag, 31. August 2014 20:59:21 UTC+2 schrieb john3909: From: halfbrain adrian@gmail.com Reply-To: beagl...@googlegroups.com beagl...@googlegroups.com Date: Sunday, August 31, 2014 at 2:30 AM To: beagl...@googlegroups.com beagl...@googlegroups.com Subject: Re: [beagleboard] Can allocated pins on BBB be used as GPIOs ? how do u use the i2c2 pins? it doesn't work on my bbb if i only change the pinmode to mode 7 in my device tree. have u done additional changes or something like that elsewhere? If you look at /arch/arm/boot/dts/am335x-bone-common.dtsi you will see the i2c2 definition: i2c2 { status = okay; pinctrl-names = default; pinctrl-0 = i2c2_pins; clock-frequency = 10; cape_eeprom0: cape_eeprom0@54 { compatible = at,24c256; reg = 0x54; }; cape_eeprom1: cape_eeprom1@55 { compatible = at,24c256; reg = 0x55; }; cape_eeprom2: cape_eeprom2@56 { compatible = at,24c256; reg = 0x56; }; cape_eeprom3: cape_eeprom3@57 { compatible = at,24c256; reg = 0x57; }; }; The line ³pinctrl-0 = i2c2_pins;² refers to the i2cs_pins label in the pinmux section: i2c2_pins: pinmux_i2c2_pins { pinctrl-single,pins = 0x178 0x73 /* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */ 0x17c 0x73 /*
[beagleboard] Re: Hostapd failed with USB WiFi dongle (RTL8188CUS 802.11n)
hi, i'm encountring the same problem, did you solve this problem? if yes, how?? -- 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: Device Tree Compiler
From: Amit Sama amitsama@gmail.com Reply-To: beagleboard@googlegroups.com beagleboard@googlegroups.com Date: Sunday, August 31, 2014 at 4:27 AM To: beagleboard@googlegroups.com beagleboard@googlegroups.com Subject: Re: [beagleboard] Re: Device Tree Compiler Hi John, Thanks for your reply. You mean whatever we have to send and receive should be done via spidev1.0 only ? No, you can use any SPI interface and any chip select as long as they are defined in the devicetree. If you define the SPI device in the devicetree correctly then they will show up in /dev. Regards, John Best Regards, Amit Sama On 28 August 2014 16:28, John Syn john3...@gmail.com wrote: From: Amit Sama amitsama@gmail.com Reply-To: beagleboard@googlegroups.com beagleboard@googlegroups.com Date: Thursday, August 28, 2014 at 7:49 AM To: beagleboard@googlegroups.com beagleboard@googlegroups.com Subject: Re: [beagleboard] Re: Device Tree Compiler Hi all, Thanks for your support till now. I am really grateful to you. While I going through the reference manual of the arm processor on the BBB, I came to know that the processor has the capacity for 4 SPI channels but BBB only provides 2 channels. 1) So I want to know if spidev1.0 and spidev1.1 are the interfaces for just one channel (because I have read the spidevB.C means channel B and device C) why are they two in number. Does these files represent the SLAVES which could be attached with this channel ? I believe that is SPI Channel and SPI Chip Select. Regards, John And please understand that I am not yelling or complaining. I am just new to this kind of thing. While reading the material through web I gets answers but also get questions. I hope you all don't mind my questions. I apologize if you do. Best Regards, Amit Sama Pursuing M.Sc. Informatics Technical University Munich Contact : +49-15214455380 tel:%2B49-15214455380 On 28 August 2014 01:31, William Hermans yyrk...@gmail.com wrote: What can be the meaning here? Learn how to use your tools before half fast using / complaining about them ? On Wed, Aug 27, 2014 at 12:55 PM, 'Mark Lazarewicz' via BeagleBoard beagleboard@googlegroups.com wrote: What can be the meaning here?Sent from Yahoo Mail on Android http://overview.mail.yahoo.com/mobile/?.src=Android From: Robert Nelson robertcnel...@gmail.com; To: Beagle Board beagleboard@googlegroups.com; Subject: Re: [beagleboard] Re: Device Tree Compiler Sent: Wed, Aug 27, 2014 7:18:21 PM On Wed, Aug 27, 2014 at 4:39 AM, Amit Sama amitsama@gmail.com wrote: Hi Robert, Though I managed to enable the spi interface on my BB. I have following questions/information: 1) I have following urls in /etc/apt/sources.list THESE WERE EARLIER IN THE BBB #deb http://ports.ubuntu.com/ubuntu-ports/ http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse #deb-src http://ports.ubuntu.com/ubuntu-ports/ http://ports.ubuntu.com/ubuntu-ports/ raring main universe multiverse #deb http://ports.ubuntu.com/ubuntu-ports/ http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe multiverse #deb-src http://ports.ubuntu.com/ubuntu-ports/ http://ports.ubuntu.com/ubuntu-ports/ raring-updates main universe multiverse THESE I COPIED FROM THE link IN ORDER TO SOLVE THE PROBLEM deb http://archive.ubuntu.com/ubuntu/ http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse deb http://archive.canonical.com/ubuntu http://archive.canonical.com/ubuntu precise partner deb http://extras.ubuntu.com/ubuntu http://extras.ubuntu.com/ubuntu precise main THESE I COPIED FROM MY DESKTOP #deb http://archive.ubuntu.com/ubuntu/ http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse #deb http://security.ubuntu.com/ubuntu/ http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse #deb http://archive.ubuntu.com/ubuntu/ http://archive.ubuntu.com/ubuntu/ precise-update main restricted universe multiverse NONE OF THEM WORKS, DO TELL ME WHAT ARE THE RIGHT URLS Yelling isn't going to fix this problem, either is random coping the right URLS's. So to repeat: quote So at this point, i'm just going to say... You totally hosed your OS doing some random stuff, that why it doesn't work.. Start over with a fresh image. /quote 2) I could see these two files in /dev/spidev1.0 and /dev/spidev1.1 . Though I configures for the spi0 channel I
[beagleboard] Problem getting i2c bus to work with SSD1803a based LCD
I am trying to get my BBB to talk to an SSD1803a based LCD (specifically a Midas MCCOG42005A6W) and I'm failing miserably at the moment. :-( I bought the MCCOG42005A6W because it's 3.3 volt and I2C bus so thought it would be simple. I'm fairly certain I have the connections correct etc. but I can't get the i2cdetect command to 'see' the MCCOG42005A6W. Presumably until it can see the device I'm not going to get any further. However I'm not absolutely sure that the MCCOG42005A6W works in a way that i2cdetect will understand, I'll try and explain. The MCCOG42005A6W only brings out the I2C interface from the underlying SSD1803a, each 'command' to the SSD1803a comprises a control byte (of which only two bits are significant) and an 8-bit command (which is a superset of the HD4478OU command set). Thus the SSD1803a (and in turn the MCCOG42005A6W) *always* needs 16-bits to be sent to it before it will respond with anything useful. Hence any detection program that tries sending an I2C address followed by an 8-bit 'command' will not get any sort of response, will this confuse i2cdetect? I do have a 'scope but not a logic analyser, I can't detect anything useful happening on the clock or data lines with the 'scope but that may simply be because it happens for too short a period for me to see anything. Can anyone suggest how I can progress this? -- Chris Green · -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Problem getting i2c bus to work with SSD1803a based LCD
On 9/2/14, 10:59 AM, c...@isbd.net c...@isbd.net wrote: I am trying to get my BBB to talk to an SSD1803a based LCD (specifically a Midas MCCOG42005A6W) and I'm failing miserably at the moment. :-( I bought the MCCOG42005A6W because it's 3.3 volt and I2C bus so thought it would be simple. I'm fairly certain I have the connections correct etc. but I can't get the i2cdetect command to 'see' the MCCOG42005A6W. Presumably until it can see the device I'm not going to get any further. However I'm not absolutely sure that the MCCOG42005A6W works in a way that i2cdetect will understand, I'll try and explain. The MCCOG42005A6W only brings out the I2C interface from the underlying SSD1803a, each 'command' to the SSD1803a comprises a control byte (of which only two bits are significant) and an 8-bit command (which is a superset of the HD4478OU command set). Thus the SSD1803a (and in turn the MCCOG42005A6W) *always* needs 16-bits to be sent to it before it will respond with anything useful. Hence any detection program that tries sending an I2C address followed by an 8-bit 'command' will not get any sort of response, will this confuse i2cdetect? I do have a 'scope but not a logic analyser, I can't detect anything useful happening on the clock or data lines with the 'scope but that may simply be because it happens for too short a period for me to see anything. Can anyone suggest how I can progress this? First you should read up on how i2c works. What you are looking for is a ACK or a NACK which occurs at the end of each byte transmitted. The slave keeps SDA pulled low to slow down the communications, but after that, it should go high on the next clock to indicate an ACK. I believe that i2cdetect is looking for a ACK to confirm that a device exists. The first byte should be the address and if you don¹t have the correct address, you won¹t see an ACK. Regards, John -- Chris Green · -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: custom cape i2c bus
Hi !! I'm facing problem with Custom I2C cape. It's I/o Expander using NXP's PCF8574T Expander chip. I'm unable to detect it. I tried every thing available on web. Can you help me ? please ? Here is some output. root@beaglebone:~# uname -a Linux beaglebone 3.8.13 #1 SMP Wed Sep 4 09:09:32 CEST 2013 armv7l GNU/Linux root@beaglebone:~# i2cdetect -y -r 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- 34 -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@beaglebone:~# i2cdetect -y -r 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@beaglebone:~# i2cdetect -y -r 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: 20 -- 22 -- 24 -- 26 -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- I'm using Beaglebone Black Rev B. Hope Listen form you soon. Thanks. On Thursday, July 17, 2014 9:17:40 PM UTC+5:30, Johan Korten wrote: I managed to make my own cape (for two XBee modules). It works very well (even sending between the two modules and to the third one on the computer), but: if I use node ./eeprom.js I suspect that my cape is expected to be connected to the fourth (or third if you start counting at 0) i2c bus: /sys/bus/i2c/drivers/at24/3-0057/eeprom instead of /sys/bus/i2c/drivers/at24/1-0057/eeprom So should I fix that in my cape (my cape is default at /sys/bus/i2c/drivers/at24/1-0057 but can be configured to go from /sys/bus/i2c/drivers/at24/1-0054 .. /sys/bus/i2c/drivers/at24/1-0057) Apart from that, I managed to program the eeprom and get it working, but since it uses UART 2 and UART 5 I needed to change /boot/uboot/uEnv.txt to get that working (BBB Rev B so that is why I needed to change /boot/uboot/uEnv.txt instead of /media/BEAGLEBONE/uEnv.txt), but do I need to supply that with my final version somewhere or is it enough to put that in the manual? Sincerely, Johan -- 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] How to remove Cloud9 - files from BBB
Robert, Thanks, I found the right package while waiting for my post to be moderated. A bit worried that I might not get the 1.4.0 version with the -@ switch, as the man pages don't mention it, but the built-in help does. I see it came from a beagleboard repository. Looks like like I'm good to go now. Thanks for all your help! Max -- 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: custom cape i2c bus
What size pullup resistors are you using on the I2C bus? Gerald On Tue, Sep 2, 2014 at 12:29 PM, prakash.parma...@gmail.com wrote: Hi !! I'm facing problem with Custom I2C cape. It's I/o Expander using NXP's PCF8574T Expander chip. I'm unable to detect it. I tried every thing available on web. Can you help me ? please ? Here is some output. root@beaglebone:~# uname -a Linux beaglebone 3.8.13 #1 SMP Wed Sep 4 09:09:32 CEST 2013 armv7l GNU/Linux root@beaglebone:~# i2cdetect -y -r 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- 34 -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@beaglebone:~# i2cdetect -y -r 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@beaglebone:~# i2cdetect -y -r 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: 20 -- 22 -- 24 -- 26 -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- I'm using Beaglebone Black Rev B. Hope Listen form you soon. Thanks. On Thursday, July 17, 2014 9:17:40 PM UTC+5:30, Johan Korten wrote: I managed to make my own cape (for two XBee modules). It works very well (even sending between the two modules and to the third one on the computer), but: if I use node ./eeprom.js I suspect that my cape is expected to be connected to the fourth (or third if you start counting at 0) i2c bus: /sys/bus/i2c/drivers/at24/3-0057/eeprom instead of /sys/bus/i2c/drivers/at24/1-0057/eeprom So should I fix that in my cape (my cape is default at /sys/bus/i2c/drivers/at24/1-0057 but can be configured to go from /sys/bus/i2c/drivers/at24/1-0054 .. /sys/bus/i2c/drivers/at24/1-0057) Apart from that, I managed to program the eeprom and get it working, but since it uses UART 2 and UART 5 I needed to change /boot/uboot/uEnv.txt to get that working (BBB Rev B so that is why I needed to change /boot/uboot/uEnv.txt instead of /media/BEAGLEBONE/uEnv.txt), but do I need to supply that with my final version somewhere or is it enough to put that in the manual? Sincerely, Johan -- 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 Rebooting Several Times Every Day
Hi Greg - Are you booting from your SD Card or have it inserted? Michaël -- 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 Rebooting Several Times Every Day
If you have a serial interface, I suggest turn on logging and post the results here. On 09/02/2014 06:44 AM, Greg Kelley wrote: Got my first BBB last week, installed latest Debian. USB Hot Plug was completely hosed in Kernel 3.8 so I upgraded to 3.16 (latest non-rc version). Currently running CUPS print services (including Airprint) and weewx. It appears that the BBB is rebooting three or four times between 10pm and 1am, this has happened the last two days. I discovered it because weewx was going into an ftp loop because the system clock time was getting whacked (it is time/date sensitive to process weather data). Nothing in the log files unusual. Powered with a 5v 2a supply. Ethernet cable attached and external USB Hub (has external power but not used) with printer (turned off) and Weather Data Logger attached (has it's own power). Before I start experimenting with removing USB Hub, plugging in just Weather Data Logger, etc. thought I'd check here first. -- 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 mailto: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] How to enable SPI devices on 3.14 kernel?
Hello Robert, I had done just as you've described, but the system I started with had uboot and company installed in /boot/uboot rather than /boot and your 'make install' in ../dtb-rebuilder.git didn't seem to be touching /boot/uboot. I guessed that that was why I wasn't seeing the changes I was hoping for ( that is: /dev/spidev2.[0/1] ) so i tried completing the install for my setup by moving files into /boot/uboot/dtbs and bricked my board. This morning I began with: https://rcn-ee.net/deb/testing/2014-08-19/lxde/BBB-eMMC-flasher-debian-7.6-lxde-armhf-2014-08-19-2gb.img.xz flashed my bone... did: apt-get install linux-image-3.14.17-ti-r16 then: git clone -b 3.14-ti https://github.com/RobertCNelson/dtb-rebuilder.git then changed ../dtb-rebuilder.git/src/arm/am335x-boneblack.dts following your guidelines below: 2nd thought, the uart conflicts.. so disable: #include am335x-bone-basic-proto-cape.dtsi - /* #include am335x-bone-basic-proto-cape.dtsi */ Then add spi0: #include am335x-bone-spi0-spidev.dtsi Then spi1: #include am335x-bone-spi1-spidev.dtsi or #include am335x-bone-spi1a-spidev.dtsi then make/sudo make install/sudo reboot The system this gives me has everything in /boot and nothing in /boot/uboot and 'make install' does what it is supposed to, and sure enough after reboot: ls /dev/spidev* gives me: /dev/spidev1.0 /dev/spidev1.1 /dev/spidev2.0 /dev/spidev2.1 Thanks for the time and the tools. -- 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] How to enable SPI devices on 3.14 kernel?
Jason, /boot/uboot should have been nothing more than a mount point for /dev/mmcblk0p1. Which is the fat16 formatted partition that u-boot.img, MLO, and uEnv.txt reside. /boot/uEnv.txt should be nothing more than . .. *root@arm:~# cat /boot/uEnv.txt* *uname_r=3.8.13-bone64.1* *cmdline=quiet init=/lib/systemd/systemd* *cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN* Or something similar. On Tue, Sep 2, 2014 at 3:33 PM, Jason Lange j.b.la...@gmail.com wrote: Hello Robert, I had done just as you've described, but the system I started with had uboot and company installed in /boot/uboot rather than /boot and your 'make install' in ../dtb-rebuilder.git didn't seem to be touching /boot/uboot. I guessed that that was why I wasn't seeing the changes I was hoping for ( that is: /dev/spidev2.[0/1] ) so i tried completing the install for my setup by moving files into /boot/uboot/dtbs and bricked my board. This morning I began with: https://rcn-ee.net/deb/testing/2014-08-19/lxde/BBB-eMMC-flasher-debian-7.6-lxde-armhf-2014-08-19-2gb.img.xz flashed my bone... did: apt-get install linux-image-3.14.17-ti-r16 then: git clone -b 3.14-ti https://github.com/RobertCNelson/dtb-rebuilder.git then changed ../dtb-rebuilder.git/src/arm/am335x-boneblack.dts following your guidelines below: 2nd thought, the uart conflicts.. so disable: #include am335x-bone-basic-proto-cape.dtsi - /* #include am335x-bone-basic-proto-cape.dtsi */ Then add spi0: #include am335x-bone-spi0-spidev.dtsi Then spi1: #include am335x-bone-spi1-spidev.dtsi or #include am335x-bone-spi1a-spidev.dtsi then make/sudo make install/sudo reboot The system this gives me has everything in /boot and nothing in /boot/uboot and 'make install' does what it is supposed to, and sure enough after reboot: ls /dev/spidev* gives me: /dev/spidev1.0 /dev/spidev1.1 /dev/spidev2.0 /dev/spidev2.1 Thanks for the time and the tools. -- 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] How to enable SPI devices on 3.14 kernel?
On Tue, Sep 2, 2014 at 6:15 PM, William Hermans yyrk...@gmail.com wrote: Jason, /boot/uboot should have been nothing more than a mount point for /dev/mmcblk0p1. Which is the fat16 formatted partition that u-boot.img, MLO, and uEnv.txt reside. How would you guys feel about nuking that fat16 boot partition. ;) Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] How to enable SPI devices on 3.14 kernel?
*How would you guys feel about nuking that fat16 boot partition. ;)* Quite honestly Robert. It's been around since I first got my A5A last year, so I'm used to it. But I suppose having one partition formatted as ext2/3/4 would be more convenient On Tue, Sep 2, 2014 at 4:40 PM, Robert Nelson robertcnel...@gmail.com wrote: On Tue, Sep 2, 2014 at 6:15 PM, William Hermans yyrk...@gmail.com wrote: Jason, /boot/uboot should have been nothing more than a mount point for /dev/mmcblk0p1. Which is the fat16 formatted partition that u-boot.img, MLO, and uEnv.txt reside. How would you guys feel about nuking that fat16 boot partition. ;) 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. -- 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] How to enable SPI devices on 3.14 kernel?
On Tue, Sep 2, 2014 at 5:33 PM, Jason Lange j.b.la...@gmail.com wrote: Hello Robert, I had done just as you've described, but the system I started with had uboot and company installed in /boot/uboot rather than /boot and your 'make install' in ../dtb-rebuilder.git didn't seem to be touching /boot/uboot. I guessed that that was why I wasn't seeing the changes I was hoping for ( that is: /dev/spidev2.[0/1] ) so i tried completing the install for my setup by moving files into /boot/uboot/dtbs and bricked my board. Sorry about that, i need to add backwards compatibility to that script. I promise i only have one more earth shaking change coming down the pipe. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] How to enable SPI devices on 3.14 kernel?
On Tue, Sep 2, 2014 at 6:45 PM, William Hermans yyrk...@gmail.com wrote: How would you guys feel about nuking that fat16 boot partition. ;) Quite honestly Robert. It's been around since I first got my A5A last year, so I'm used to it. But I suppose having one partition formatted as ext2/3/4 would be more convenient done ;) dd if=MLO of=/dev/sdX count=1 seek=1 conv=notrunc bs=128k dd if=u-boot.img of=/dev/sdX count=2 seek=1 conv=notrunc bs=384k only works on omap4+ bootrom's (so the old omap34xx/omap36xx family is out) I'm close to rolling out a new testing image that uses this feature.. The flasher gets more interesting as i need to remember to include the MLO/u-boot.img somewhere in the ext4 partition for later flashing.. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] How to enable SPI devices on 3.14 kernel?
*done ;)* * dd if=MLO of=/dev/sdX count=1 seek=1 conv=notrunc bs=128k* * dd if=u-boot.img of=/dev/sdX count=2 seek=1 conv=notrunc bs=384k* * only works on omap4+ bootrom's (so the old omap34xx/omap36xx family is out)* * I'm close to rolling out a new testing image that uses this feature..* * The flasher gets more interesting as i need to remember to include the* * MLO/u-boot.img somewhere in the ext4 partition for later flashing..* Wait a minute, is this creating two partitions that are raw contents of each file ? Not sure what this is doing actually seems more like you're dumping the raw content of each file onto the same partition. But I've actually never seen dd used this way. On Tue, Sep 2, 2014 at 4:47 PM, Robert Nelson robertcnel...@gmail.com wrote: On Tue, Sep 2, 2014 at 6:45 PM, William Hermans yyrk...@gmail.com wrote: How would you guys feel about nuking that fat16 boot partition. ;) Quite honestly Robert. It's been around since I first got my A5A last year, so I'm used to it. But I suppose having one partition formatted as ext2/3/4 would be more convenient done ;) dd if=MLO of=/dev/sdX count=1 seek=1 conv=notrunc bs=128k dd if=u-boot.img of=/dev/sdX count=2 seek=1 conv=notrunc bs=384k only works on omap4+ bootrom's (so the old omap34xx/omap36xx family is out) I'm close to rolling out a new testing image that uses this feature.. The flasher gets more interesting as i need to remember to include the MLO/u-boot.img somewhere in the ext4 partition for later flashing.. 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. -- 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] How to enable SPI devices on 3.14 kernel?
OK, so I think I got that figured out. Was not familiar with seek, but am now. So what about uEnv.txt ? On Tue, Sep 2, 2014 at 4:52 PM, William Hermans yyrk...@gmail.com wrote: *done ;)* * dd if=MLO of=/dev/sdX count=1 seek=1 conv=notrunc bs=128k* * dd if=u-boot.img of=/dev/sdX count=2 seek=1 conv=notrunc bs=384k* * only works on omap4+ bootrom's (so the old omap34xx/omap36xx family is out)* * I'm close to rolling out a new testing image that uses this feature..* * The flasher gets more interesting as i need to remember to include the* * MLO/u-boot.img somewhere in the ext4 partition for later flashing..* Wait a minute, is this creating two partitions that are raw contents of each file ? Not sure what this is doing actually seems more like you're dumping the raw content of each file onto the same partition. But I've actually never seen dd used this way. On Tue, Sep 2, 2014 at 4:47 PM, Robert Nelson robertcnel...@gmail.com wrote: On Tue, Sep 2, 2014 at 6:45 PM, William Hermans yyrk...@gmail.com wrote: How would you guys feel about nuking that fat16 boot partition. ;) Quite honestly Robert. It's been around since I first got my A5A last year, so I'm used to it. But I suppose having one partition formatted as ext2/3/4 would be more convenient done ;) dd if=MLO of=/dev/sdX count=1 seek=1 conv=notrunc bs=128k dd if=u-boot.img of=/dev/sdX count=2 seek=1 conv=notrunc bs=384k only works on omap4+ bootrom's (so the old omap34xx/omap36xx family is out) I'm close to rolling out a new testing image that uses this feature.. The flasher gets more interesting as i need to remember to include the MLO/u-boot.img somewhere in the ext4 partition for later flashing.. 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. -- 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] How to enable SPI devices on 3.14 kernel?
On Tue, Sep 2, 2014 at 6:57 PM, William Hermans yyrk...@gmail.com wrote: OK, so I think I got that figured out. Was not familiar with seek, but am now. So what about uEnv.txt ? /boot/uEnv.txt can be in any partition ( /dev/mmcblkXp1 - /dev/mmcblkXp7* ) 7: is the usual max enabled by default for most normal mmc host controllers in linux. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] How to enable SPI devices on 3.14 kernel?
*/boot/uEnv.txt can be in any partition ( /dev/mmcblkXp1 - /dev/mmcblkXp7* )* *7: is the usual max enabled by default for most normal mmc host controllers in linux.* *Regards,* Right, I get that, but in the case of NFS rootfs, how is uboot supposed to know to look over an NFS share ? Right now, we have the main uEnv.txt file that resides where uboot.img, and MLO reside. This points to yet another( optional ? ) uEnv.txt for loading possibly common setenv variables. Will this just be hard coded to search /boot, no matter it's location ? On Tue, Sep 2, 2014 at 5:25 PM, Robert Nelson robertcnel...@gmail.com wrote: On Tue, Sep 2, 2014 at 6:57 PM, William Hermans yyrk...@gmail.com wrote: OK, so I think I got that figured out. Was not familiar with seek, but am now. So what about uEnv.txt ? /boot/uEnv.txt can be in any partition ( /dev/mmcblkXp1 - /dev/mmcblkXp7* ) 7: is the usual max enabled by default for most normal mmc host controllers in linux. 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. -- 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] How to enable SPI devices on 3.14 kernel?
Oh, and nearly forgot for the fifth time heh. What about g_multi file share ? The one that gets auto mounted on Windows machines. I do not use this myself, but I'm sure there are people out there who do use it. On Tue, Sep 2, 2014 at 6:22 PM, William Hermans yyrk...@gmail.com wrote: */boot/uEnv.txt can be in any partition ( /dev/mmcblkXp1 - /dev/mmcblkXp7* )* *7: is the usual max enabled by default for most normal mmc host controllers in linux.* *Regards,* Right, I get that, but in the case of NFS rootfs, how is uboot supposed to know to look over an NFS share ? Right now, we have the main uEnv.txt file that resides where uboot.img, and MLO reside. This points to yet another( optional ? ) uEnv.txt for loading possibly common setenv variables. Will this just be hard coded to search /boot, no matter it's location ? On Tue, Sep 2, 2014 at 5:25 PM, Robert Nelson robertcnel...@gmail.com wrote: On Tue, Sep 2, 2014 at 6:57 PM, William Hermans yyrk...@gmail.com wrote: OK, so I think I got that figured out. Was not familiar with seek, but am now. So what about uEnv.txt ? /boot/uEnv.txt can be in any partition ( /dev/mmcblkXp1 - /dev/mmcblkXp7* ) 7: is the usual max enabled by default for most normal mmc host controllers in linux. 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. -- 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] Yet another newbie how to get started
I received a Beaglebone Black to develop a homework project on. I plugged in the board to my USB and installed the Windows driver. I next wanted to develop a simple Hello world C project and debug it on this board. I didn't want to be a Newbie so I researched how to develop programs for this device. So I read. And read. And read more. I read all I could find on the Beaglebone site. I read the TI websites. I read from Linux sites. I read from several individual sites. I found many This is how I did it that had many steps and comments on how to set up a development environment. But I could not find concrete, concise steps on how to write and debug a simple program. As far as I could glean from the various sites, this is what I need to do: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. It will take days or weeks to learn the tools to develop a 10 minute program. This is how I debugged in the 1980's. There has got to be a better environment than this. I currently develop under QNX Momentics and TI Code Composer. They are both Eclipse based. Code Composer requires a JTAG module, but QNX uses the GNU Cross Compiler and GNU Debug for program development. Editing and compiling is done on the PC, and for debugging, it copies my executable to the target system and runs it under the debugger using the UI for setting breakpoints, single-stepping viewing registers and variable, etc. So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? -- 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] How to enable SPI devices on 3.14 kernel?
On Tue, Sep 2, 2014 at 8:22 PM, William Hermans yyrk...@gmail.com wrote: /boot/uEnv.txt can be in any partition ( /dev/mmcblkXp1 - /dev/mmcblkXp7* ) 7: is the usual max enabled by default for most normal mmc host controllers in linux. Regards, Right, I get that, but in the case of NFS rootfs, how is uboot supposed to know to look over an NFS share ? Right now, we have the main uEnv.txt file that resides where uboot.img, and MLO reside. This points to yet another( optional ? ) uEnv.txt for loading possibly common setenv variables. Will this just be hard coded to search /boot, no matter it's location ? So as of right now, it'll search for these files in this order: (microSD) Partition: 1 (fat/extX) /uEnv.txt /boot.scr /boot/boot.scr Then it'll loop thru partition's: 1 - 7: /boot/uEnv.txt (eMMC) Partition: 1 (fat/extX) /uEnv.txt /boot.scr /boot/boot.scr Then it'll loop thru partition's: 1 - 7: /boot/uEnv.txt I've left the logic for the first partition for compatibility sake. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] How to enable SPI devices on 3.14 kernel?
On Tue, Sep 2, 2014 at 8:23 PM, William Hermans yyrk...@gmail.com wrote: Oh, and nearly forgot for the fifth time heh. What about g_multi file share ? The one that gets auto mounted on Windows machines. I do not use this myself, but I'm sure there are people out there who do use it. That's why we've been moving every critical file out of that partition. For the official lxde image, the fat partition will still be there, but NO critical boot files will exist in. (a windows user can add a 'uEnv.txt/boot.scr/boot/boot.scr' and it will change the boot.. In theory, windows users should be able to re-format the drive too, when it's shown in windows over the usb-gadget connection. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] How to enable SPI devices on 3.14 kernel?
*That's why we've been moving every critical file out of that partition.* * For the official lxde image, the fat partition will still be there,* * but NO critical boot files will exist in. (a windows user can add a* * 'uEnv.txt/boot.scr/boot/boot.* *scr' and it will change the boot..* * In theory, windows users should be able to re-format the drive too,* * when it's shown in windows over the usb-gadget connection.* It is kind of sad that this is even necessary. In the context that the BBB is a dev board, and as such *some* knowledge / common sense should be implied. On Tue, Sep 2, 2014 at 6:45 PM, Robert Nelson robertcnel...@gmail.com wrote: On Tue, Sep 2, 2014 at 8:23 PM, William Hermans yyrk...@gmail.com wrote: Oh, and nearly forgot for the fifth time heh. What about g_multi file share ? The one that gets auto mounted on Windows machines. I do not use this myself, but I'm sure there are people out there who do use it. That's why we've been moving every critical file out of that partition. For the official lxde image, the fat partition will still be there, but NO critical boot files will exist in. (a windows user can add a 'uEnv.txt/boot.scr/boot/boot.scr' and it will change the boot.. In theory, windows users should be able to re-format the drive too, when it's shown in windows over the usb-gadget connection. 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. -- 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] How to enable SPI devices on 3.14 kernel?
On Tue, Sep 2, 2014 at 8:58 PM, William Hermans yyrk...@gmail.com wrote: *That's why we've been moving every critical file out of that partition.* * For the official lxde image, the fat partition will still be there,* * but NO critical boot files will exist in. (a windows user can add a* * 'uEnv.txt/boot.scr/boot/boot.* *scr' and it will change the boot..* * In theory, windows users should be able to re-format the drive too,* * when it's shown in windows over the usb-gadget connection.* It is kind of sad that this is even necessary. In the context that the BBB is a dev board, and as such *some* knowledge / common sense should be implied. It keeps things interesting. ;) It Feels like bullet proofing the perfect mouse trap! Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Yet another newbie how to get started
*It will take days or weeks to learn the tools to develop a 10 minute program. This is how I debugged in the 1980's. There has got to be a better environment than this.* This is not the fault of the hardware or the designers of the hardware. This is your fault for not knowing the tools. Harsh as it may seem, this is a fact. This is why professional software engineers with the skills to setup / use said tools get paid big money. *I currently develop under QNX Momentics and TI Code Composer. They are both Eclipse based. Code Composer requires a JTAG module, but QNX uses the GNU Cross Compiler and GNU Debug for program development. Editing and compiling is done on the PC, and for debugging, it copies my executable to the target system and runs it under the debugger using the UI for setting breakpoints, single-stepping viewing registers and variable, etc.* This is possible for this hardware as well. All aspects. *So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board?* There are many ways to set this up, and you will most certainly have to set it up yourself. There is no easy to download /install application that will do this for you. Do also note that on the BBB Angstrom for the most part is depreciated. I would recommend moving to Debian, and various images exist( listed on beagleboard.org ). On Tue, Sep 2, 2014 at 6:40 PM, murre...@ameritech.net wrote: I received a Beaglebone Black to develop a homework project on. I plugged in the board to my USB and installed the Windows driver. I next wanted to develop a simple Hello world C project and debug it on this board. I didn't want to be a Newbie so I researched how to develop programs for this device. So I read. And read. And read more. I read all I could find on the Beaglebone site. I read the TI websites. I read from Linux sites. I read from several individual sites. I found many This is how I did it that had many steps and comments on how to set up a development environment. But I could not find concrete, concise steps on how to write and debug a simple program. As far as I could glean from the various sites, this is what I need to do: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. It will take days or weeks to learn the tools to develop a 10 minute program. This is how I debugged in the 1980's. There has got to be a better environment than this. I currently develop under QNX Momentics and TI Code Composer. They are both Eclipse based. Code Composer requires a JTAG module, but QNX uses the GNU Cross Compiler and GNU Debug for program development. Editing and compiling is done on the PC, and for debugging, it copies my executable to the target system and runs it under the debugger using the UI for setting breakpoints, single-stepping viewing registers and variable, etc. So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? -- 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] USB OTG Host mode with BBB?
Has anyone made any progress with this? I'm in the same boat trying to get this work and realise we will have to add some hardware to provide the correctly timed 5V. It looks like the biggest problem is the DRVVBUS pin for USB0 isn't tracked. Thanks. Ian. On Wednesday, 12 February 2014 22:42:58 UTC+13, AndrewTaneGlen wrote: This guy seems to have had some success, with some minor hardware modifications: http://pansenti.wordpress.com/2013/05/27/beaglebone-black-with-two-usb-host-ports-it-can-be-done-but-its-not-easy/ Andrew. On 12 February 2014 20:18, Mahammad cai...@gmail.com javascript: wrote: Hi There I am too trying to make the mini usb port to work as a host. I am trying to scan the expansion port signals it seams like none of the pins offers direct access to the processor vbus signal. Should I do this with some software? If with software; what time should it work to enable/disable the volt? And should it listen to the signal all the time or just during the port initialization stage? Best Regards Mahammad On Wednesday, August 21, 2013 4:38:47 AM UTC+2, AndrewTaneGlen wrote: Understood. Thanks for taking the time to clear that up for me. Andy. On Wednesday, 21 August 2013 14:36:59 UTC+12, Gerald wrote: Yes, that is what I am saying. I did a design where the 5V was always there. It din't work. I had to add a power switch like I did on the BBB design. Gerald On Tue, Aug 20, 2013 at 9:33 PM, AndrewTaneGlen andrewt...@gmail.com wrote: Thanks Gerald, That was one thing I was not absolutely clear on. The TRM has the following passage concerning USB power control: *When any of the USB controllers assumes the role of a host, the USB is required to supply a 5V power* *source to an attached device through its VBUS line. In order to achieve this task, the USB controller* *requires the use of an external power logic (or charge pump) capable of sourcing 5V power. A* *USB_DRVVBUS is used as a control signal to enable/disable this external power logic to either source or* *disable power on the VBUS line. The control on the USB_DRVVBUS is automatic and is handled by the* *USB controller.* (AM335X TRM, pg. 1697) So are you saying, in addition to the above, that the USB port must be in control of the VBUS enable - assumedly detecting the voltage as off when disabled, and on when enabled, with specific timing requirements around these edges - so that there is no way to simply have the 5V there the whole time? If this is the case I guess there is a chance that I could add some kind of gpio control through the expansion header to enable/disable the 5V rail as and when required (or I could just modify the board - but I'm trying to avoid this and be able to just plug my clean BBB into my horrible looking base board...) Regards, Andy. On Wednesday, 21 August 2013 14:20:08 UTC+12, Gerald wrote: Like the fact that the processor needs to see the 5V on the processor pin when it turns on the 5V? Take a look at the host port design. Both ports are actually OTG ports by design. To make the state machine in the HW function as a host, you need to make it work like the other OTG port, the one we call the Host port, which is configured for host.. Gerald On Tue, Aug 20, 2013 at 9:12 PM, AndrewTaneGlen andrewt...@gmail.com wrote: Hi All, I've been playing around with getting the mini-USB pc connector to function as a second USB host (I'm using RCN's Ubuntu, Raring, but I'd assume this would apply to Angstrom as well). There is a post here http://pansenti.wordpress.com/2013/05/27/beaglebone- black-with-two-usb-host-ports-it-can-be-done-but-its-not-easy/ decribing how to do this with some hardware modifications, but looking at the AM335x technical reference manual it looks like I should be able to set USB Port 0 to function as a host through software alone (i.e. without needing to ground the USB ID pin, or to modify anything else on the board). So what I have done so far is modify the 'am33xx.dtsi' file under the 'usb_otg_hs' section, and change the item 'port0-mode = 3' to 'port0-mode = 1', which, according to 'am33xx-usb.txt' in the device tree documentation, should force this port to function in Host mode. I then had a look through menu config, in the 'Device Drivers' - 'USB Support' section and there didn't seem to be anything specifically relating to setting the mode of any particular usb port, so I left all of this unchanged. Upon booting I can see that whereas previously I would get the following wit regards to USB0: musb-hdrc musb-hdrc.0.auto: *** mode=3 I now get musb-hdrc musb-hdrc.0.auto: *** mode=1 This would appear to indicate that my device tree change had been successfully applied, and the initialisation of USB port0 now looks identical to that of port1. whereas previously they were quite different. I then
[beagleboard] Re: Yet another newbie how to get started
murrellr-ywtbtysyrb+lz21kgmr...@public.gmane.org writes: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. I use Emacs. It's much better than vim. (/me ducks and runs after trolling a holy war... :p ) So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? I don't use Eclipse, but those that do AND work on the BeagleBone say that Derek Molloy has a good tutorial on setting up a GUI IDE: http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/ -- 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: Yet another newbie how to get started
That blog / Video is meant for the beaglebone white. There will be enough differences with those instructions for the uninitiated to get in way over their head. e.g. it will lead into another circle of frustration. On Tue, Sep 2, 2014 at 7:39 PM, Joshua Datko jbda...@gmail.com wrote: murrellr-ywtbtysyrb+lz21kgmr...@public.gmane.org writes: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. I use Emacs. It's much better than vim. (/me ducks and runs after trolling a holy war... :p ) So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? I don't use Eclipse, but those that do AND work on the BeagleBone say that Derek Molloy has a good tutorial on setting up a GUI IDE: http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/ -- 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] Yet another newbie how to get started
Hi William; Look for a couple of Derek Molloy’s videos. He has an excellent one about using Eclipse to cross compile. If you are familiar with Eclipse, it should be a piece of cake J Bill No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke (1729 - 1797) http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of William Hermans Sent: Tuesday, September 02, 2014 10:13 PM To: beagleboard@googlegroups.com Subject: Re: [beagleboard] Yet another newbie how to get started It will take days or weeks to learn the tools to develop a 10 minute program. This is how I debugged in the 1980's. There has got to be a better environment than this. This is not the fault of the hardware or the designers of the hardware. This is your fault for not knowing the tools. Harsh as it may seem, this is a fact. This is why professional software engineers with the skills to setup / use said tools get paid big money. I currently develop under QNX Momentics and TI Code Composer. They are both Eclipse based. Code Composer requires a JTAG module, but QNX uses the GNU Cross Compiler and GNU Debug for program development. Editing and compiling is done on the PC, and for debugging, it copies my executable to the target system and runs it under the debugger using the UI for setting breakpoints, single-stepping viewing registers and variable, etc. This is possible for this hardware as well. All aspects. So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? There are many ways to set this up, and you will most certainly have to set it up yourself. There is no easy to download /install application that will do this for you. Do also note that on the BBB Angstrom for the most part is depreciated. I would recommend moving to Debian, and various images exist( listed on beagleboard.org ). On Tue, Sep 2, 2014 at 6:40 PM, murre...@ameritech.net wrote: I received a Beaglebone Black to develop a homework project on. I plugged in the board to my USB and installed the Windows driver. I next wanted to develop a simple Hello world C project and debug it on this board. I didn't want to be a Newbie so I researched how to develop programs for this device. So I read. And read. And read more. I read all I could find on the Beaglebone site. I read the TI websites. I read from Linux sites. I read from several individual sites. I found many This is how I did it that had many steps and comments on how to set up a development environment. But I could not find concrete, concise steps on how to write and debug a simple program. As far as I could glean from the various sites, this is what I need to do: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. It will take days or weeks to learn the tools to develop a 10 minute program. This is how I debugged in the 1980's. There has got to be a better environment than this. I currently develop under QNX Momentics and TI Code Composer. They are both Eclipse based. Code Composer requires a JTAG module, but QNX uses the GNU Cross Compiler and GNU Debug for program development. Editing and compiling is done on the PC, and for debugging, it copies my executable to the target system and runs it under the debugger using the UI for setting breakpoints, single-stepping viewing registers and variable, etc. So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? -- 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. No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database:
RE: [beagleboard] Re: Yet another newbie how to get started
Worked ok for me J Some of the software he installs manually is now included in the Eclipse package manager. I haven’t tried the remote debugger yet, because I just downloaded it ……. No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke (1729 - 1797) http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of William Hermans Sent: Tuesday, September 02, 2014 10:45 PM To: beagleboard@googlegroups.com Subject: Re: [beagleboard] Re: Yet another newbie how to get started That blog / Video is meant for the beaglebone white. There will be enough differences with those instructions for the uninitiated to get in way over their head. e.g. it will lead into another circle of frustration. On Tue, Sep 2, 2014 at 7:39 PM, Joshua Datko jbda...@gmail.com wrote: murrellr-ywtbtysyrb+lz21kgmr...@public.gmane.org mailto:murrellr-ywtbtysyrb%2blz21kgmr...@public.gmane.org writes: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. I use Emacs. It's much better than vim. (/me ducks and runs after trolling a holy war... :p ) So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? I don't use Eclipse, but those that do AND work on the BeagleBone say that Derek Molloy has a good tutorial on setting up a GUI IDE: http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/ -- 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 mailto:beagleboard%2bunsubscr...@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. No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database: 4015/8145 - Release Date: 09/02/14 _ No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14 Internal Virus Database is out of date. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Yet another newbie how to get started
If you have an editor-of-choice(eg Sublime Text), there's a handy trick for using it remotely without needing to constantly save-upload your files. This works on Windows using WinSCP: 1) Open WinSCP and connect to the BBB 2) Create the empty source file on the BBB(main.c for example) 3) Right Click on the source file, select Open, and the file should open in the editor(if it's the default program) 4) Now anytime you save the file, it will automatically upload the saved file to the BBB for you. My next step is to setup Guard(https://github.com/guard/guard), so that whenever a source file is saved on the BBB in a project directory, it will trigger the gcc compiler automatically. On Tuesday, September 2, 2014 7:53:07 PM UTC-7, William Pretty Security wrote: Worked ok for me J Some of the software he installs manually is now included in the Eclipse package manager. I haven’t tried the remote debugger yet, because I just downloaded it ……. No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke *(1729 - 1797)* http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book *From:* beagl...@googlegroups.com javascript: [mailto: beagl...@googlegroups.com javascript:] *On Behalf Of *William Hermans *Sent:* Tuesday, September 02, 2014 10:45 PM *To:* beagl...@googlegroups.com javascript: *Subject:* Re: [beagleboard] Re: Yet another newbie how to get started That blog / Video is meant for the beaglebone white. There will be enough differences with those instructions for the uninitiated to get in way over their head. e.g. it will lead into another circle of frustration. On Tue, Sep 2, 2014 at 7:39 PM, Joshua Datko jbd...@gmail.com javascript: wrote: murrellr-ywtbtysyrb+lz21kgmr...@public.gmane.org javascript: writes: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. I use Emacs. It's much better than vim. (/me ducks and runs after trolling a holy war... :p ) So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? I don't use Eclipse, but those that do AND work on the BeagleBone say that Derek Molloy has a good tutorial on setting up a GUI IDE: http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/ -- 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/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...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database: 4015/8145 - Release Date: 09/02/14 -- No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14 Internal Virus Database is out of date. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Yet another newbie how to get started
From: Michael M mmcdani...@gmail.com Reply-To: beagleboard@googlegroups.com beagleboard@googlegroups.com Date: Tuesday, September 2, 2014 at 8:49 PM To: beagleboard@googlegroups.com beagleboard@googlegroups.com Subject: Re: [beagleboard] Re: Yet another newbie how to get started If you have an editor-of-choice(eg Sublime Text), there's a handy trick for using it remotely without needing to constantly save-upload your files. This works on Windows using WinSCP: 1) Open WinSCP and connect to the BBB 2) Create the empty source file on the BBB(main.c for example) 3) Right Click on the source file, select Open, and the file should open in the editor(if it's the default program) 4) Now anytime you save the file, it will automatically upload the saved file to the BBB for you. That is way to complicated. Just access rootfs via NFS so now you are editing BBB files on your desktop. Now you can use sublime or eclipse projects locally on your desktop. Everything works much quicker. Regards, John My next step is to setup Guard(https://github.com/guard/guard), so that whenever a source file is saved on the BBB in a project directory, it will trigger the gcc compiler automatically. On Tuesday, September 2, 2014 7:53:07 PM UTC-7, William Pretty Security wrote: Worked ok for me J Some of the software he installs manually is now included in the Eclipse package manager. I haven¹t tried the remote debugger yet, because I just downloaded it ŠŠ. No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke (1729 - 1797) http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book From: beagl...@googlegroups.com javascript: [mailto:beagl...@googlegroups.com javascript: ] On Behalf Of William Hermans Sent: Tuesday, September 02, 2014 10:45 PM To: beagl...@googlegroups.com javascript: Subject: Re: [beagleboard] Re: Yet another newbie how to get started That blog / Video is meant for the beaglebone white. There will be enough differences with those instructions for the uninitiated to get in way over their head. e.g. it will lead into another circle of frustration. On Tue, Sep 2, 2014 at 7:39 PM, Joshua Datko jbd...@gmail.com javascript: wrote: murrellr-ywtbtysyrb+lz21kgmr...@public.gmane.org javascript: writes: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. I use Emacs. It's much better than vim. (/me ducks and runs after trolling a holy war... :p ) So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? I don't use Eclipse, but those that do AND work on the BeagleBone say that Derek Molloy has a good tutorial on setting up a GUI IDE: http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-d evelopment/ -- 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/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...@googlegroups.com javascript: . For more options, visit https://groups.google.com/d/optout. No virus found in this message. Checked by AVG - www.avg.com http://www.avg.com Version: 2014.0.4745 / Virus Database: 4015/8145 - Release Date: 09/02/14 No virus found in this message. Checked by AVG - www.avg.com http://www.avg.com Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14 Internal Virus Database is out of date. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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
Re: [beagleboard] Python script stops reading serial port after several days
I think Miguel's logging idea is the best way to know exactly what's going on. Some additional thoughts: Based on code, if your program stops receiving data but still runs then it is probably infinitely blocking at arduino.readline(). The fact that you don't see output from print(line) or print str(LAST_UPDATED) further supports that. Perhaps there was a transmission error at some point and the two went out of sync(eg the stop bit is never detected)? When you restart the script(and re-establish the serial connection), things work fine. You could try... -Lowering the baud rate. You can check the AVR data sheet, but I think the Arduino's error rate is higher for 115kbps than for say 9600bps. The frequency of your data(based on your sample) doesn't necessarily require a 115kbps transmission rate. -Adding a timeout to the serial.Serial() constructor. Then do something like: while True: line = None line = arduino.readline() if line is None: arduino.close() arduino = serial.Serial(...) else: #Do all the Xively/email stuff (This is just a guess, since I don't know exactly what timeout does: raise an error, returns None, returns junk? You'll have to experiment.) Hope that helps. On Tuesday, September 2, 2014 7:23:28 AM UTC-7, Miguel Aveiro wrote: Hi Chris, I don't think the problem is related to the serial port itself. I have a python code that uses 4 serial ports of BBB (tty01, tty02, tty04, tty05) running without any problem for months. I saw your code. If it reaches the Dropping out due to an error: , I don't think it will keep running. Use the logging module to write to a file when there is an exception: https://docs.python.org/2/howto/logging.html Use repr() instead of the str() to show the error, as it returns a string containing a printable representation of an object., and it is easier to see what's wrong. https://docs.python.org/2/library/functions.html#func-repr If you catch the problem with the logging module, send an email and I can help you with more details. Miguel On 31-08-2014 22:55, chrism...@gmail.com javascript: wrote: Hi everyone! I've got my BBB rev. C set up as a data logger for a serial data stream from an Arduino. It basically takes this data, uploads it to xively, and checks certain values for exceeded thresholds and sends an email if found. This works fine. However, after the script has been running for several days, it stops working. The script itself seems to continue running, but it stops acknowledging that it's receiving any data or trying to upload to xively. If I ctrl+c out of the script and restart it, it starts working fine again. The device it's connected to continues to work properly regardless of whether the BBB is logging anything, so I don't believe that the problem is with it. Is there any way to determine where the problem lies? (BBB, python, etc.?) Here's a copy of my code (please don't mock it too much, I'm a Python noob) : http://susepaste.org/399d9d1f (This is what the data looks like if it makes any difference: 2014-08-31 20:51:38.841985 91,h,44 2014-08-31 20:51:40.063139 92,t,72 2014-08-31 20:51:44.727206 92,h,42 2014-08-31 20:51:45.463794 90,t,71 2014-08-31 20:52:17.112091 90,h,44 ...) I've Googled around, and haven't really found anything regarding something like this. There were a couple of random bulletin board posts that seemed similar, but they all went off into no-answer-land. Thanks in advance :) -- 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/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] Python script stops reading serial port after several days
I should add that the timeout should be larger than the largest expected gap between each data transmission. For example if you expect data coming in every minute, then set the timeout to be 2 minutes. If no data comes in for 2 minutes, then you know something is wrong. On Tuesday, September 2, 2014 10:29:12 PM UTC-7, Michael M wrote: I think Miguel's logging idea is the best way to know exactly what's going on. Some additional thoughts: Based on code, if your program stops receiving data but still runs then it is probably infinitely blocking at arduino.readline(). The fact that you don't see output from print(line) or print str(LAST_UPDATED) further supports that. Perhaps there was a transmission error at some point and the two went out of sync(eg the stop bit is never detected)? When you restart the script(and re-establish the serial connection), things work fine. You could try... -Lowering the baud rate. You can check the AVR data sheet, but I think the Arduino's error rate is higher for 115kbps than for say 9600bps. The frequency of your data(based on your sample) doesn't necessarily require a 115kbps transmission rate. -Adding a timeout to the serial.Serial() constructor. Then do something like: while True: line = None line = arduino.readline() if line is None: arduino.close() arduino = serial.Serial(...) else: #Do all the Xively/email stuff (This is just a guess, since I don't know exactly what timeout does: raise an error, returns None, returns junk? You'll have to experiment.) Hope that helps. On Tuesday, September 2, 2014 7:23:28 AM UTC-7, Miguel Aveiro wrote: Hi Chris, I don't think the problem is related to the serial port itself. I have a python code that uses 4 serial ports of BBB (tty01, tty02, tty04, tty05) running without any problem for months. I saw your code. If it reaches the Dropping out due to an error: , I don't think it will keep running. Use the logging module to write to a file when there is an exception: https://docs.python.org/2/howto/logging.html Use repr() instead of the str() to show the error, as it returns a string containing a printable representation of an object., and it is easier to see what's wrong. https://docs.python.org/2/library/functions.html#func-repr If you catch the problem with the logging module, send an email and I can help you with more details. Miguel On 31-08-2014 22:55, chrism...@gmail.com wrote: Hi everyone! I've got my BBB rev. C set up as a data logger for a serial data stream from an Arduino. It basically takes this data, uploads it to xively, and checks certain values for exceeded thresholds and sends an email if found. This works fine. However, after the script has been running for several days, it stops working. The script itself seems to continue running, but it stops acknowledging that it's receiving any data or trying to upload to xively. If I ctrl+c out of the script and restart it, it starts working fine again. The device it's connected to continues to work properly regardless of whether the BBB is logging anything, so I don't believe that the problem is with it. Is there any way to determine where the problem lies? (BBB, python, etc.?) Here's a copy of my code (please don't mock it too much, I'm a Python noob) : http://susepaste.org/399d9d1f (This is what the data looks like if it makes any difference: 2014-08-31 20:51:38.841985 91,h,44 2014-08-31 20:51:40.063139 92,t,72 2014-08-31 20:51:44.727206 92,h,42 2014-08-31 20:51:45.463794 90,t,71 2014-08-31 20:52:17.112091 90,h,44 ...) I've Googled around, and haven't really found anything regarding something like this. There were a couple of random bulletin board posts that seemed similar, but they all went off into no-answer-land. Thanks in advance :) -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Yet another newbie how to get started
John, that's an even better trick.. thanks! I'll try it out for my next project. On Tuesday, September 2, 2014 9:04:16 PM UTC-7, john3909 wrote: From: Michael M mmcda...@gmail.com javascript: Reply-To: beagl...@googlegroups.com javascript: beagl...@googlegroups.com javascript: Date: Tuesday, September 2, 2014 at 8:49 PM To: beagl...@googlegroups.com javascript: beagl...@googlegroups.com javascript: Subject: Re: [beagleboard] Re: Yet another newbie how to get started If you have an editor-of-choice(eg Sublime Text), there's a handy trick for using it remotely without needing to constantly save-upload your files. This works on Windows using WinSCP: 1) Open WinSCP and connect to the BBB 2) Create the empty source file on the BBB(main.c for example) 3) Right Click on the source file, select Open, and the file should open in the editor(if it's the default program) 4) Now anytime you save the file, it will automatically upload the saved file to the BBB for you. That is way to complicated. Just access rootfs via NFS so now you are editing BBB files on your desktop. Now you can use sublime or eclipse projects locally on your desktop. Everything works much quicker. Regards, John My next step is to setup Guard(https://github.com/guard/guard), so that whenever a source file is saved on the BBB in a project directory, it will trigger the gcc compiler automatically. On Tuesday, September 2, 2014 7:53:07 PM UTC-7, William Pretty Security wrote: Worked ok for me J Some of the software he installs manually is now included in the Eclipse package manager. I haven’t tried the remote debugger yet, because I just downloaded it ……. No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke *(1729 - 1797)* http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book *From:* beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] *On Behalf Of *William Hermans *Sent:* Tuesday, September 02, 2014 10:45 PM *To:* beagl...@googlegroups.com *Subject:* Re: [beagleboard] Re: Yet another newbie how to get started That blog / Video is meant for the beaglebone white. There will be enough differences with those instructions for the uninitiated to get in way over their head. e.g. it will lead into another circle of frustration. On Tue, Sep 2, 2014 at 7:39 PM, Joshua Datko jbd...@gmail.com wrote: murrellr-ywtbtysyrb+lz21kgmr...@public.gmane.org writes: 1. Load Putty on my PC. 2. Establish a SSH terminal session to the board. 3. Write my program using VIM (a horrible program to drop on a novice, it has a very steep learning curve) or nano (not much better). 4. Compile and link my program with gcc, after having to learn its command-line interface. 5. Run my program under the gnu debugger, another command-line tool with a steep learning curve. I use Emacs. It's much better than vim. (/me ducks and runs after trolling a holy war... :p ) So, now my question. Is there a easy to use, Windows, graphical integrated development environment for developing native Angstrom Linux programs for this board? I don't use Eclipse, but those that do AND work on the BeagleBone say that Derek Molloy has a good tutorial on setting up a GUI IDE: http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database: 4015/8145 - Release Date: 09/02/14 -- No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4745 / Virus Database: 4007/8033 - Release Date: 08/14/14 Internal Virus Database is out of date. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss ---