Re: [beagleboard] DVI on original BB Rev. C3
RobertCNelson: Oh, I just need to remember to dig out one of my old C4's and bring it to work. Does your latest commit (https://github.com/RobertCNelson/armv7-multiplatform/commit/96bfe9ba5050cfad338cf9d0966ed8c91a5d) contains any fixes regarding this issue? As far as I see no, or? Thanks - Robert -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: What does 'No voltage' mean when referring to powered down Beaglebone Black?
c...@isbd.net wrote: John Syn john3...@gmail.com wrote: Steady state max. voltage at all I/O pins -0.5 volts to IO supply voltage +0.3 volts So, even with power off, some voltage *is* allowed and in fact it should be fairly easy to keep the voltage within these limits using Schottky diodes for clamping. Schottky diodes aren¹t going to clamp the voltage to this range. Simply use the 3V3 output from the BBB to enable the supply to your board. ??? How would using the 3.3v IO output from the BBB be any different from clamping the input voltages to the 3.3v IO output from the BBB? It's the same thing surely? One Schottky diode prevents the voltage going below 0.3 volts (it will conduct such that the voltage doesn't go below 0.2 volts), another can That should say -0.3 volts of course. clamp the input to prevent it going above the 1.8 volt ADC supply voltage. -- 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/groups/opt_out.
[beagleboard] Re: What does 'No voltage' mean when referring to powered down Beaglebone Black?
Gerald Coley ger...@beagleboard.org wrote: [-- text/plain, encoding quoted-printable, charset: ISO-8859-1, 73 lines --] BUT, there is no I/O supply if the I/O supply is not turned on. The I/O supply has to be there. If it's not turned on then it's 0 volts isn't it? Power supplies don't go open circuit when they're turned off so the 3.3 volt line will be sitting at close to 0 volts and you'd need to pump a lot of current into it to drag it away from there. There will be 10k or more of series resistance in the inputs so we're only talking about less than 1mA of current going through the clamping diodes, that's not going to move the supply line voltage by anything much. Look, go ahead and ignore me if you like. But I talk to the designers of this device daily and support hundreds of customers daily. And I see boards come into the RMA department all the time with blown processors due to this issue. The power sequencing diagram is there for a reason due to the multiple voltage rails inside this device. Violate the power sequencing and you will have issues. I'm not violating the power sequencing, I'm obeying it carefully by ensuring that there's no voltage on the inputs until the 3.3 volt I/O supply appears. -- 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/groups/opt_out.
[beagleboard] Re: What does 'No voltage' mean when referring to powered down Beaglebone Black?
Peter Washington pugwash1...@gmail.com wrote: [-- text/plain, encoding quoted-printable, charset: ISO-8859-1, 68 lines --] It MAY, and I stress the MAY, be safe to allow voltages between -0.5 and + 0.3 Volts to appear at the I/O pins of the AM355x processors when they are not powered up, but using schottky diodes to keep them to within +0.3 volts of an external 3.3 supply rail WILL fry them. You've misunderstood me, I'm going to clamp to the BBB's 3.3 volt I/O supply. The suggestion made above was to use the presence of the 3.3 V supply on the BBB to Enable / Switch the external supply On, or conversely the absence of the BBB 3.3 Volt supply removing or disabling the external 3.3 Bolt supply. Has this made it clearer ? I do hope so, I hate it when the Magic Blue Smoke escapes from a chip :-( That's a possible way of doing it but I don't like the extra complexity, it's another way for things to go wrong. If that 'logical' connection between the BBB's 3.3v IO supply and my external supply goes wrong then the inputs get fried. I prefer simply using the BBB's 3.3 IO supply *directly* (with a diode of course) to clamp the inputs. We're talking about very small current here, I'm aiming to have 10k (or more maybe) series resistors in the inputs so the current through the diode even with a 3.3 volt difference between input signal and BBB input it's only 300 microamps or so. -- 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/groups/opt_out.
[beagleboard] Re: Hamachi LogMeIn in Angstrom?
By the way, there is a same unanswered questionhttp://unix.stackexchange.com/questions/10/log-me-in-on-angstromon unix.stackoverflow. On Tuesday, February 25, 2014 7:09:27 PM UTC+8, sky Chen wrote: While attempting to install Hamachi LongMeIn, I was prompted that it needs lsb. The best I can find, after some Googling, is this Running Hamachi on beaglebone blackhttp://gencarelle.com/blog/2013/05/31/running-hamachi-on-a-beaglebone-black/, which is Ubuntu specified. I'm wondering is it possible, with a moderate amount of effort, I can get Hamachi running with Angsrom? I need to set up a communication with my Beaglebone connected to 3G network, so the straight forward way would be to use existing services like Hamachi. But I lack sufficient knowledge as to decide the effort behind. Because I'm working on a time-sensitive project, I need to decide if I should switch approach. Could someone gives hind? Any thought would be greatly appreciated! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Hamachi LogMeIn in Angstrom?
On 02/25/2014 03:35 AM, sky Chen wrote: By the way, there is a same unanswered question http://unix.stackexchange.com/questions/10/log-me-in-on-angstrom on unix.stackoverflow. On Tuesday, February 25, 2014 7:09:27 PM UTC+8, sky Chen wrote: While attempting to install Hamachi LongMeIn, I was prompted that it needs lsb. The best I can find, after some Googling, is this Running Hamachi on beaglebone black http://gencarelle.com/blog/2013/05/31/running-hamachi-on-a-beaglebone-black/, which is Ubuntu specified. I'm wondering is it possible, with a moderate amount of effort, I can get Hamachi running with Angsrom? I need to set up a communication with my Beaglebone connected to 3G network, so the straight forward way would be to use existing services like Hamachi. But I lack sufficient knowledge as to decide the effort behind. Because I'm working on a time-sensitive project, I need to decide if I should switch approach. Could someone gives hind? Any thought would be greatly appreciated! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. I would avoid hamachi logmein has moved to a pay model, while hamachi is still free if you run it as a service you have to pay $29 or something a year. I would find a better OpenSource/Free alternative. https://secure.logmein.com/welcome/hamachi/vpn/whatsnew.aspx -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Hamachi LogMeIn in Angstrom?
Thanks for the quick reply. I'm planing to build a server myself someday, but right now I just want some quick test with existing services. Could you offer some specific recommendation? I have no clue for alternatives. I don't really mind paying the services with moderate price, after all, they need to maintain the transfer server. BTW, I think I'm in the category of personal use :D On Tuesday, February 25, 2014 7:41:32 PM UTC+8, don wrote: On 02/25/2014 03:35 AM, sky Chen wrote: By the way, there is a same unanswered questionhttp://unix.stackexchange.com/questions/10/log-me-in-on-angstromon unix.stackoverflow. On Tuesday, February 25, 2014 7:09:27 PM UTC+8, sky Chen wrote: While attempting to install Hamachi LongMeIn, I was prompted that it needs lsb. The best I can find, after some Googling, is this Running Hamachi on beaglebone blackhttp://gencarelle.com/blog/2013/05/31/running-hamachi-on-a-beaglebone-black/, which is Ubuntu specified. I'm wondering is it possible, with a moderate amount of effort, I can get Hamachi running with Angsrom? I need to set up a communication with my Beaglebone connected to 3G network, so the straight forward way would be to use existing services like Hamachi. But I lack sufficient knowledge as to decide the effort behind. Because I'm working on a time-sensitive project, I need to decide if I should switch approach. Could someone gives hind? Any thought would be greatly appreciated! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. I would avoid hamachi logmein has moved to a pay model, while hamachi is still free if you run it as a service you have to pay $29 or something a year. I would find a better OpenSource/Free alternative. https://secure.logmein.com/welcome/hamachi/vpn/whatsnew.aspx -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: BBB + PREEMPT_RT
While I agree with your definition I'd like to know where you have got this results as mine in worst case conditions have been somewhat different, and worst includes load+running in SD card the latency test average have been more around 40 µS: http://flic.kr/ps/2LwUC9 Therefore, I'm confident in the new latency measurements that I'm going to do with the Charles' Xenomaibone39 from the emmC, as it will those in SD. Le dimanche 23 février 2014 22:06:05 UTC+1, john3909 a écrit : From: robert.berger robert.ka...@gmail.com javascript: Reply-To: beagl...@googlegroups.com javascript: Date: Sunday, February 23, 2014 at 3:26 AM To: beagl...@googlegroups.com javascript: Cc: rchrd...@gmail.com javascript: Subject: [beagleboard] Re: BBB + PREEMPT_RT Hi, On Saturday, February 22, 2014 2:17:24 PM UTC+2, rchrd...@gmail.com wrote: Just a few thoughts ... It is not possible to have a fully deterministic real-time operating system on a processor that uses instruction/data caches. ie you have to turn off the cacheing to achieve determinism and eliminate performance jitter (which then degrades the average performance). Yep, but, that's the easy part. How about pipelines and instructions reordering done by the compiler and the processor? How about interrupts? How about multi-cores? How about the drift of the crystal you use as the clock source of your CPU? You might be shocked now, but as you can see it's impossible to have a hard real-time system with state of the art (multi-core) processors. Is it? I think that you need to come up with a realistic test suite to see if preempt-rt (with or without CPU isolation) is good enough, or if you need Xenomai (still you will see issues if Xenomai and Linux use the same caches), or some dedicated hardware like PRU. There is also some interesting work by Jan Kiszka - not yet on ARM.[1] I think there is some confusion about what real-time really means. It doesn’t mean fast or even consistent, it just means that it will respond to some event in a required time. If your requirement is that something respond in 1 second, then Linux kernel is good for real-time. If you want a response of less than 1ms, then the Linux interrupt latency may not meet this requirement. Remember, latency tests are conducted when the processor is under load. Xenomai running on the BBB can achieve 50uS interrupt latency whereas preempt-rt is more like 200uS. Regards, John Regards, Robert [1] http://lwn.net/Articles/574273/ Shameless self promotion: [2] http://www.reliableembeddedsystems.com/pdfs/2010_03_04_rt_linux.pdf [3] http://www.embedded.com/design/operating-systems/4204740/Getting-real--time--about-embedded-GNU-Linux -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Story about my u-boot difficulties
On Mon, Feb 24, 2014 at 10:23 PM, Michael Mullin masmul...@gmail.com wrote: I still dont quite understand. Are you saying that the specifically crafted uenv.txt on the sd card was able to work around the problems from the emmc uboot bins, thus allowing the proper kernel to be run? Or is there something special in the sd card's uboot bins that allow them to be run, even though the emmc uboot isnt fully functional? Yes, that's what i said.. Of course, it's easier if you also patch u-boot to make that functionality error proof.. https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2013.10/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch#L146 Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Story about my u-boot difficulties
On Tue, Feb 25, 2014 at 6:55 AM, Robert Nelson robertcnel...@gmail.com wrote: On Mon, Feb 24, 2014 at 10:23 PM, Michael Mullin masmul...@gmail.com wrote: I still dont quite understand. Are you saying that the specifically crafted uenv.txt on the sd card was able to work around the problems from the emmc uboot bins, thus allowing the proper kernel to be run? Or is there something special in the sd card's uboot bins that allow them to be run, even though the emmc uboot isnt fully functional? Yes, that's what i said.. Of course, it's easier if you also patch u-boot to make that functionality error proof.. https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2013.10/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch#L146 btw, more details about your original problem.. 2013.07-rc1 - rc3 was broken for zImage boot. Hence your error. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] DVI on original BB Rev. C3
Did you test v3.14-rcX? From this thread it looks like only up to v3.13.x. Sorry, no, my fault. I tested 3.13.5-armv7-x11https://github.com/RobertCNelson/armv7-multiplatform/releases/tag/3.13.5-armv7-x11 Should I give 3.14 a try? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] debian: test images (2014-01-10)
Hi, I'm using the image http://rcn-ee.net/deb/testing/2014-01-29/debian-7.3-lxde-armhf-2014-01-29.tar.xz because I needed the x server already installed . But I can't find how to disable lxde from starting anyone know ? On Sat, Feb 22, 2014 at 5:33 AM, Jason Kridner jkrid...@beagleboard.orgwrote: On Wed, Jan 29, 2014 at 4:09 PM, Robert Nelson robertcnel...@gmail.comwrote: Lets keep this going, round 4... First, for tracking please report all bugs to: http://bugs.elinux.org/projects/debian-image-releases Fixes: 3.8.13-bone37 - 3.8.13-bone39 * rs485 support from Micka * dir-changeable propery for gpio-of-helper from Charles * cape-bone-proto from me *(new default pinmux) New Packages: python-pip, python-setuptools, python2.7-dev Fixes: systemd: limit journal to 8Mb (should fix ever expandign /var/logs issues) cape-bone-proto loaded on bootup by /etc/default/capemgr I have to say, I don't like this on by default. It drove my robot crazy! Driving pins without detection seems like an overall BAD(tm) idea. chromium: 32.0.1700.76 - 32.0.1700.102 nodejs: 0.10.24 - 0.10.25 https://github.com/beagleboard/am335x_pru_package.git /opt/source/am335x_pru_package multiarch: added /lib/ld-linux.so.3 (for those HelloWorld users with the wrong gcc armel compiler..) Adafruit_BBIO installed default apache moved from port 80 to 8080 (bonescript.socket takes over port 80) grow_partition.sh script for users of the microSD image.. * cd /opt/scripts/ * git pull * ./tools/grow_partition.sh * sudo reboot * (after a few minutes, df -h should use the whole disk..) bonescript-autorun.service enabled LCD3/LCD4/LCD7 users, xinput_calibrator is installed by default.. Can you please compare 3.8.13-bone36 with 3.8.13-bone39 to test Micka's touchcreen fix? I've tried to make it very easy to test via: cd /opt/scripts/tools sudo ./update_kernel.sh --kernel v3.8.13-bone36 sudo rm /etc/pointercal.xinput sudo reboot cd /opt/scripts/tools sudo ./update_kernel.sh --kernel v3.8.13-bone39 sudo rm /etc/pointercal.xinput sudo reboot So please compare and contrast bone36/bone39, as we really need testing from users.. Camera people (3.1MP and RadiumBoards): What userspace programs are we missing? gstreamer? OpenCV plugins? I really want to include a default shell script that'll take a picture and allow end users to validate the 3.1/Radium capes work.. (it'll be installed under /opt/scripts/capes/) Or even some html5 bone101 voodoo and show the image in the browser window? Questions? Should we switch to connman? (i'm still testing this too..) To test: apt-get remove wicd-* --purge apt-get install connman (no good gui with connman) Does your cape work? Does your wifi adapter work? Are we missing it's firmware? So go forward and test the first beta release. There are 3 files on the web server, depending on what you want to do. Using the same standard procedure found here: http://elinux.org/Beagleboard:Updating_The_Software http://rcn-ee.net/deb/testing/2014-01-29/ 3cc218e9303c6823035585364e2de2c0 ./BBB-eMMC-flasher-debian-7.3-2014-01-29-2gb.img.xz d7e00474379a85edcf6385bc9584466c ./bone-debian-7.3-2014-01-29-2gb.img.xz 2d0c043b311cc31bd6286c4c2058b174 ./debian-7.3-lxde-armhf-2014-01-29.tar.xz An eMMC flasher which can be installed to any 2GB or greater microSD card. [BBB-eMMC-flasher-debian-7.3-2014-01-29-2gb.img.xz] http://rcn-ee.net/deb/testing/2014-01-29/BBB-eMMC-flasher-debian-7.3-2014-01-29-2gb.img.xz It takes about 10-15 Minutes to dd microSD (2GB), 15 minutes to flash eMMC (look for full 4 LED's) 2GB standalone image that can be flashed to any 2GB or greater. [bone-debian-7.3-2014-01-29-2gb.img.xz] http://rcn-ee.net/deb/testing/2014-01-29/bone-debian-7.3-2014-01-29-2gb.img.xz It takes about 10-15 Minutes to dd microSD (2GB) To resize once booted: * cd /opt/scripts/ * git pull * ./tools/grow_partition.sh * sudo reboot Finally one of my classic setup_sdcard.sh. [debian-7.3-lxde-armhf-2014-01-22.tar.xz] http://rcn-ee.net/deb/testing/2014-01-29/debian-7.3-lxde-armhf-2014-01-29.tar.xz Note for users who use my classic setup_sdcard.sh script, here is the magic options to get the beaglebone project files + systemd. sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone --beagleboard.org-production --enable-systemd To rebuild git clone git://github.com/beagleboard/image-builder.git cd image-builder git checkout bb.org-v2014.01.29 -b tmp touch release ./beagleboard.org_image.sh -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit
Re: [beagleboard] debian: test images (2014-01-10)
On Tue, Feb 25, 2014 at 7:47 AM, Micka mickamus...@gmail.com wrote: Hi, I'm using the image http://rcn-ee.net/deb/testing/2014-01-29/debian-7.3-lxde-armhf-2014-01-29.tar.xz because I needed the x server already installed . But I can't find how to disable lxde from starting anyone know ? I told lightdm to autostart lxde https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org.sh#L108 so change it Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] debian: test images (2014-01-10)
Ok thx, I figured out how to disable lightdm : sudo update-rc.d lightdm disable thx, On Tue, Feb 25, 2014 at 2:50 PM, Robert Nelson robertcnel...@gmail.comwrote: On Tue, Feb 25, 2014 at 7:47 AM, Micka mickamus...@gmail.com wrote: Hi, I'm using the image http://rcn-ee.net/deb/testing/2014-01-29/debian-7.3-lxde-armhf-2014-01-29.tar.xz because I needed the x server already installed . But I can't find how to disable lxde from starting anyone know ? I told lightdm to autostart lxde https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org.sh#L108 so change it Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Confusion
Hi, I have two areas of confusion regarding the BBB. I'm new to it and Linux. I loaded the Ubuntu 13.04 image onto the board eMMC and it works really well. I want to know what the advantage of running it from the SD card would be? I see in some posts that people seem to prefer this. With a background in pics and basic arm boards it seems to me to be better to have the operating system running in hardware on an embedded system. My second area of confusion is regarding the uEnv.txt file in the /boot/uboot folder. There seems to be a number of posts on this, all with differing approaches. I've been working with device tree overlays and can add then to the SLOTS file manually. I want them to be loaded as the board boots, but adding e.g. campmgr.enable_partno=BB-UART1 to the uEnv.txt file in /uboot has no effect. I tried mkdir /mnt/boot mount /dev/mmcblk0p1 /mnt/boot nano /mnt/boot/uEnv.txt from the Adafruit tutorial, but this had no effect either. I assume someone must have an answer to this, or at least a link to explain it. Thanks Alastair -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Hamachi LogMeIn in Angstrom?
Hey! Try OpenVPN, it worked for me: https://openvpn.net/index.php/open-source/downloads.html On Tuesday, 25 February 2014 13:54:01 UTC+2, sky Chen wrote: Thanks for the quick reply. I'm planing to build a server myself someday, but right now I just want some quick test with existing services. Could you offer some specific recommendation? I have no clue for alternatives. I don't really mind paying the services with moderate price, after all, they need to maintain the transfer server. BTW, I think I'm in the category of personal use :D On Tuesday, February 25, 2014 7:41:32 PM UTC+8, don wrote: On 02/25/2014 03:35 AM, sky Chen wrote: By the way, there is a same unanswered questionhttp://unix.stackexchange.com/questions/10/log-me-in-on-angstromon unix.stackoverflow. On Tuesday, February 25, 2014 7:09:27 PM UTC+8, sky Chen wrote: While attempting to install Hamachi LongMeIn, I was prompted that it needs lsb. The best I can find, after some Googling, is this Running Hamachi on beaglebone blackhttp://gencarelle.com/blog/2013/05/31/running-hamachi-on-a-beaglebone-black/, which is Ubuntu specified. I'm wondering is it possible, with a moderate amount of effort, I can get Hamachi running with Angsrom? I need to set up a communication with my Beaglebone connected to 3G network, so the straight forward way would be to use existing services like Hamachi. But I lack sufficient knowledge as to decide the effort behind. Because I'm working on a time-sensitive project, I need to decide if I should switch approach. Could someone gives hind? Any thought would be greatly appreciated! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. I would avoid hamachi logmein has moved to a pay model, while hamachi is still free if you run it as a service you have to pay $29 or something a year. I would find a better OpenSource/Free alternative. https://secure.logmein.com/welcome/hamachi/vpn/whatsnew.aspx -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Using SPI/PWM/I2C/GPIO with Android on BBB
Accoding to your guidelines i downloaded the source from following webpage http://downloads.ti.com/sitara_android/esd/TI_Android_DevKit/TI_Android_JB_4_2_2_DevKit_4_1_1/index_FDS.html and downloaded source link from there http://downloads.ti.com/sitara_android/esd/TI_Android_DevKit/TI_Android_JB_4_2_2_DevKit_4_1_1/exports/TI_Android_JB_4.2.2_DevKit_4.1.1.bin the source successfully gets executed and a directory is created in same folder. chmod a+x [filename] in a terminal, or by right-clicking on the file in nautilus and going to propertiespermissions and check allow executing fils as program. Then open up a terminal, and cd to the directory you saved the file to, and type in the name of the file to execute it. This will bring up a user agreement, you must scroll to the bottom by pressing enter to scroll to the next line, then type I ACCEPT at the end. Careful, if you scroll too fast, you will be pressing enter when the I ACCEPT prompt comes up and the terminal will exit without doing anything. After you type I ACCEPT and press enter, the downloader will start and you will find your source directory in the same directory you downloaded your file to. But when i open the created folder its empty so I am unable to navigate to th said folder. I am working on beaglebone and will be using SPI interface. I will be workin on android. After you have the source navigate to /kernel/Documentation/ and you will see directories for ACPI, SPI, I2C, etc, (I dont see directories for PWM or GPIO but there is a gpio.txt and pwm.txt that seem to have the information for those interfaces, respectively). For SPI the file you want appears to be /kernel/Documentation/spi/spi-summary. hope this helps... https://lh4.googleusercontent.com/-908Hx3_H8Z8/UwwmbZkKwcI/AHE/5DrHKGu4iy8/s1600/post2.JPG Please do provide a feedback on the same I have attached the image of the open directory below https://lh5.googleusercontent.com/-2dnJzN_Y_Pg/UwwmFAvsfQI/AG8/1_RKuV204kM/s1600/post.JPG -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Unable to Login
I am newer to Beaglebone board. i tried of booting the board and got the image also.. but after booting i cant able to login. Please any one tell the solution.. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Booting Process
Can anyone share the booting procedure for beaglebone board without issues.(step by step procedure) -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Beglebone Black with TP-link wifi dongle
Hi I am working on beaglebone black trying to integrate TP link TL-WN721N Wifi dongle which uses atheros driver. I am using linux 3.2 kernel with ti-sitara rootfs The problem is when is type the command wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant.conf it shows Successfully initialised wpa_supplicant but it gets stuck there and i have to give ctrl+c to exit from that ,after that i gave ifup wlan0 the response was Sending discover... Sending discover... Sending discover... No lease, failing after this I repeated the step for wpa_supplicant this time also it gets stuck and when I gave ifup wlan0 this time it got the correct IP and was able to ping.. This cycles was seemed to repeat when I tried connecting any-other wifi networks (ie: wpa_supplicant gets stuck two times and on the second attempt of ifup wlan0 only i will be able to get IP) here is my /etc/wpa_supplicat.conf file network={ ssid=UTStarcom #psk=123force psk=44d83e5c96bd39f47b54625d80b80c79d5b14430d424fdf6636365901b01ab14 } and my /etc/network/interfaces # The loopback interface auto lo iface lo inet loopback # Wired or wireless interfaces auto eth0 iface eth0 inet static address 192.168.2.30 netmask 255.255.255.0 gateway 192.168.2.1 allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp wpa-driver wext wpa-conf /etc/wpa_supplicant.conf Please help me out of this issue Regards HPCR -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] 3G USB Modem issues
I've been seeing that a 3G modem I bought (Huawei E3131B) has been giving me some problems with the BBB. Firstly, it sometimes picks up the modem and powers it (light on modem flashing), but then somehow loses contact with it, and the modem no longer functions properly and is not picked up. Second, my Angstrom hangs sometimes when I plug the modem in and out and when I run programs such as ppp which are meant to connect it. My best guess is that there is something wrong with the USB driver. How would I go about debugging this? Cornel -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: debian: test images (2014-02-24) Cloud9 BETA!
On Mon, Feb 24, 2014 at 9:20 PM, Lee Crocker leedanielcroc...@gmail.com wrote: You didn't actually make the bb.org-v2014-02-24 tag. It's there: https://github.com/beagleboard/image-builder/tree/bb.org-v2014-02-24 And just for my own curiosity, how long are we going to be stuck with the obsolete 3.8 kernel? As soon as there is a working solution to support all xyz capes. I've seen some things here using the bleeding-edge 3.13, but nothing with the reasonably stable and current 3.12. 3.14-rc4 bleeding edge.. I've been pushing v3.13 over v3.12 in the repo for awhile now.. http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp TESTING to install it just: cd /opt/scripts/ git pull ./tools/update_kernel.sh --beta-kernel reboot Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Hamachi LogMeIn in Angstrom?
Thanks a lot for the recommendation, I'll definitely try OpenVPN latter when I'm using a Internet IP address. However, right now, both my BBB and my server is running under NAT, actually both connected to 3G network( which is interesting :D), so the only option I see is to seek for existing tunnel services like Hamachi, or to build a transfer server myself. On 2/25/14, verster.cor...@gmail.com verster.cor...@gmail.com wrote: Hey! Try OpenVPN, it worked for me: https://openvpn.net/index.php/open-source/downloads.html On Tuesday, 25 February 2014 13:54:01 UTC+2, sky Chen wrote: Thanks for the quick reply. I'm planing to build a server myself someday, but right now I just want some quick test with existing services. Could you offer some specific recommendation? I have no clue for alternatives. I don't really mind paying the services with moderate price, after all, they need to maintain the transfer server. BTW, I think I'm in the category of personal use :D On Tuesday, February 25, 2014 7:41:32 PM UTC+8, don wrote: On 02/25/2014 03:35 AM, sky Chen wrote: By the way, there is a same unanswered questionhttp://unix.stackexchange.com/questions/10/log-me-in-on-angstromon unix.stackoverflow. On Tuesday, February 25, 2014 7:09:27 PM UTC+8, sky Chen wrote: While attempting to install Hamachi LongMeIn, I was prompted that it needs lsb. The best I can find, after some Googling, is this Running Hamachi on beaglebone blackhttp://gencarelle.com/blog/2013/05/31/running-hamachi-on-a-beaglebone-black/, which is Ubuntu specified. I'm wondering is it possible, with a moderate amount of effort, I can get Hamachi running with Angsrom? I need to set up a communication with my Beaglebone connected to 3G network, so the straight forward way would be to use existing services like Hamachi. But I lack sufficient knowledge as to decide the effort behind. Because I'm working on a time-sensitive project, I need to decide if I should switch approach. Could someone gives hind? Any thought would be greatly appreciated! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. I would avoid hamachi logmein has moved to a pay model, while hamachi is still free if you run it as a service you have to pay $29 or something a year. I would find a better OpenSource/Free alternative. https://secure.logmein.com/welcome/hamachi/vpn/whatsnew.aspx -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/5yNin2fJUMM/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: BBB kernel 3.12.10/ GPMC
I'm interested, but haven't yet used the GPMC myself (just read through the docs) and I am still on the 3.8 kernel. :-/ On 2/21/2014 2:06 AM, quikcj...@gmail.com wrote: Is there really nobody interested in using the GPMC on the BeagleBone Black? Am Montag, 17. Februar 2014 12:17:14 UTC+1 schrieb quik...@gmail.com: I am testing kernel 3.12.10 on the BBB. The system boots without issues. To be able to use the GPMC bus we must disable eMMC and HDMI. I did modify the uEnv.txt accordingly. I also modified am335x-boneblack.dts and set status=disabled in section mmc2. After that I can successfully load my .dts file without any errors. I also checked dmesg. But when trying to access the GPMC nothing happens on the GPMC signals. The same .dts file works without issues in kernel 3.8.13. Does anybody use the GPMC on the BBB and has done some testings in kernel 3.12.x? -- Charles Steinkuehler char...@steinkuehler.net -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] No route to host
Hello, I am trying to connect the BeagleBone Balck to my PC through TCP/IP sockets. I tried to run a simple echo program, using the BeagleBone as the server and the PC as client. However, when I try to use the BeagleBone as client, it gives me the message connect() failed: no route to host. I've already tried to chage IPs using ifconfig, adding routes with the route commandm enabling IP forwarding, but I still get the same error, although both can ping each other succesfully. How can I make the sockets work? 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/groups/opt_out.
[beagleboard] Re: chipsee beaglebone lcd/dvi expansion kernel support
Many thanks for the good working image. Is it possible to use HDMI in parallel or to switch between chipsee LCD and HDMI by for example boot args? Thanks in advance! On Thursday, January 23, 2014 7:12:25 PM UTC+1, xris@googlemail.com wrote: Hey guys, As promised. Ubuntu 12.04 BBB image for the Chipsee 7” 1024x600 LCD touchscreen. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: (Resource temporarily unavailable)Error while reading ADC pins
The ADC kernel drivers throw errors when reading multiple channels, you can either deal with it or fix the driver. So far, I've just dealt with it, ignoring the resource unavailable error and just continuing on: Python code example: https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/configs/ARM/BeagleBone/BeBoPr-Bridge/ReadTemp.py#L303 The resource unavailable error is thrown in a consistent pattern, but the pattern changes depending on which channels you're actually reading. Also, the errors are not time sensitive. I get the same patten of errors when performing reads by hand (using cat at the command line, with _seconds_ between reads) as I do reading via a program with a 50 mS delay. I'm hoping they finally fixed this in the newer kernels. On 2/23/2014 11:01 AM, Ben Mitch wrote: Hi guys - have any of you reached a resolution on this? I've been getting it intermittently since the start with my BBB, 3.8.13, but just now as I start to use more of the AIN pins I've started seeing what is reported here, that it locks up and I have to reboot to recover access to the AIN pins. I quickly lose access again, making my BBB kind of not fit for this particular purpose, which is frustrating :). Any info gratefully received, any requested further info happily posted. Cheers On Monday, 2 December 2013 12:56:11 UTC, nax...@gmail.com wrote: I am getting resource temporary unavailable when I tried to read ADC pins from BeagleBone Black -- Charles Steinkuehler char...@steinkuehler.net -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Manufacturing and PCB assembly of the Beaglebone Black
Gerald, Thanks for your reply. What is the best way to contact you directly? Is there a phone number I could give you a quick call? Thank you, Joey On Thursday, February 20, 2014 3:51:06 PM UTC-7, Gerald wrote: See below. Gerald On Thu, Feb 20, 2014 at 4:09 PM, Joey Wilson doughy...@gmail.comjavascript: wrote: Hello all, My company Xandem is very interested in using the Beaglebone Black as a component in an upcoming product that we are developing. We have prototyped the system using the Beaglebone Black and it works well. My main concern is with the supply of these devices for full product fulfillment. We're going to need to purchase these at approximately 10,000 units per order. So, I have a few questions: 1. Is there anything particularly tricky about the pcb assembly of the BBB for a typical board/assembly house? We have no issue building the board but, depending on you experience with lead free solder and fin pitch parts, you should be OK. If you pick a PCB supplier that thinks they know best and they mess up the soldermask, you will be in a very bad situation. Then you will need to create your own tester to test the boards. 1. Will I be able to manufacture the BBB for the same cost as buying online assuming we order 10,000 units (approx $44 per board)? I doubt it. feel free to contact be direct if you need more information. I designed the board and oversee the manufacturing operations. I would really appreciate anyone who knows something about this to reply. Thank you for your time. Joey Wilson Xandem Technology -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Manufacturing and PCB assembly of the Beaglebone Black
You can contact me direct. Gerald On Tue, Feb 25, 2014 at 10:49 AM, Joey Wilson doughywil...@gmail.comwrote: Gerald, Thanks for your reply. What is the best way to contact you directly? Is there a phone number I could give you a quick call? Thank you, Joey On Thursday, February 20, 2014 3:51:06 PM UTC-7, Gerald wrote: See below. Gerald On Thu, Feb 20, 2014 at 4:09 PM, Joey Wilson doughy...@gmail.com wrote: Hello all, My company Xandem is very interested in using the Beaglebone Black as a component in an upcoming product that we are developing. We have prototyped the system using the Beaglebone Black and it works well. My main concern is with the supply of these devices for full product fulfillment. We're going to need to purchase these at approximately 10,000 units per order. So, I have a few questions: 1. Is there anything particularly tricky about the pcb assembly of the BBB for a typical board/assembly house? We have no issue building the board but, depending on you experience with lead free solder and fin pitch parts, you should be OK. If you pick a PCB supplier that thinks they know best and they mess up the soldermask, you will be in a very bad situation. Then you will need to create your own tester to test the boards. 1. Will I be able to manufacture the BBB for the same cost as buying online assuming we order 10,000 units (approx $44 per board)? I doubt it. feel free to contact be direct if you need more information. I designed the board and oversee the manufacturing operations. I would really appreciate anyone who knows something about this to reply. Thank you for your time. Joey Wilson Xandem Technology -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] which os
I just got my first BBB and will be slowly building a robot over the next year. I don't need a gui, will use opencv and hope to do most programming in python. Without starting OS wars, which OS should I consider: angstrom, ubuntu or debian? Can I start with angstrom and then move to one of the others over time? I will be using a provisioning system (ansible see http://ansibleworks.com/) to load packages, and push source code, so changing to another OS will not be too painful. Thanks -- Eric Palmer -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: chipsee beaglebone lcd/dvi expansion kernel support
I am unsure about switching between the two but this may interest you. https://groups.google.com/forum/m/#!topic/beagleboard/-4Q3UnqxY3k -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Kernel/device tree road-map for the BBB
Any updates on this? On 02/12/2014 12:56 PM, Robert Nelson wrote: c) Any other pointers? I might have some free time this weekend.. The path i'm going to start heading for v3.13.x/v3.14.x is just to do separate major cape dtb's.. So in u-boot: fdtbase=am335x-bone or am335x-boneblack cape=xzy (defined in uEnv.txt (lcd4-a1/etc)) Then it'll just load: $fdtbase-$cape.dtb on bootup.. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Kernel/device tree road-map for the BBB
On Tue, Feb 25, 2014 at 11:32 AM, David Lambert d...@lambsys.com wrote: Any updates on this? Here's, just phase one to test the idea. https://github.com/RobertCNelson/linux-dev/commit/685b182ca956dcd8396ca69af5c678c43a102d03 I'm heading out of the office in a little bit for the rest of day. Probably won't have free time to add lcd3/4/7 till tomorrow. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Able UART on BeagleBone Black
If you are using kernel 3.8, you could just run the command echo BB_UART1 /sys/devices/bone_capemgr.*/slots. The tty01 should show up. On Tuesday, December 17, 2013 7:53:02 AM UTC-5, André Lessa wrote: Hi I'm trying used the UART on BeagleBone Black, but in my /dev only find the ttyO0, and I need to use the ttyO1, how I do to enable this device in the /dev? Someone can help me? Thanks André Lessa -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: How to turn on/off GPIOs in BBB
I am using C++ and mmap to access GPIO. Following is the code I am using. --gpio.h -- #include stdio.h #include stdlib.h #include sys/types.h #include sys/stat.h #include unistd.h #include fcntl.h #include sys/mman.h #include gpio.h using namespace std; // The number is indicating which GPIO Module(0-3) of // each pin belongs to. // const int BeagleGPIO::pinBank[] = { -1, -1, 1, 1, 1, // P8_1 - P8_5 1, 2, 2, 2, 2, // P8_6 - P8_10 1, 1, 0, 0, 1, // P8_11 - P8_15 1, 0, 2, 0, 1, // P8_16 - P8_20 1, 1, 1, 1, 1, // P8_21 - P8_25 1, 2, 2, 2, 2, // P8_26 - P8_30 0, 0, 0, 2, 0, // P8_31 - P9_35 2, 2, 2, 2, 2, // P8_36 - P8_40 2, 2, 2, 2, 2, // P8_41 - P8_45 2, // P8_46 -1, -1, -1, -1, -1, // P9_1 - P9_5 -1, -1, -1, -1, -1, // P9_6 - P9_10 0, 1, 0, 1, 1, // P9_11 - P9_15 1, 0, 0, 0, 0, // P9_16 - P9_20 0, 0, 1, 0, 3, // P9_21 - P9_25 0, 3, 3, 3, 3, // P9_26 - P9_30 3, -1, -1, -1, -1, // P9_31 - P9_35 -1, -1, -1, -1, -1, // P9_36 - P9_40 0, 0, -1, -1, -1, // P9_41 - P9_45 -1 // P9_46 }; // Pin ID: if it is -1, it means that it is not a GPIO pin // If it is a GPIO Pin, the number is indicating the position // of GPIO_DATAIN and GPIO_DATAOUT registers. const int BeagleGPIO::pinId[] = { -1, -1, 6, 7, 2, // P8_1 - P8_5 3, 2, 3, 5, 4, // P8_6 - P8_10 13, 12, 23, 26, 15, // P8_11 - P8_15 14, 27, 1, 22, 31, // P8_16 - P8_20 30, 5, 4, 1, 0, // P8_21 - P8_25 29, 22, 24, 23, 25, // P8_26 - P8_30 10, 11, 9, 17, 8, // P8_31 - P9_35 16, 14, 15, 12, 13, // P8_36 - P8_40 10, 11, 8, 9, 6, // P8_41 - P8_45 7, // P8_46 -1, -1, -1, -1, -1, // P9_1 - P9_5 -1, -1, -1, -1, -1, // P9_6 - P9_10 30, 28, 31, 18, 16, // P9_11 - P9_15 19, 5, 4, 13, 12, // P9_16 - P9_20 3, 2, 17, 15, 21, // P9_21 - P9_25 14, 19, 17, 15, 16, // P9_26 - P9_30 14, -1, -1, -1, -1, // P9_31 - P9_35 -1, -1, -1, -1, -1, // P9_36 - P9_40 20, 7, -1, -1, -1, // P9_41 - P9_45 -1 // P9_46 }; // Pad Control Register // The addresses of registers, which control the Pin Mux of // each GPIO Pins const unsigned long BeagleGPIO::padControl[] = { 0x, 0x, 0x0818, 0x081C, 0x0808, // P8_1 - P8_5 0x080C, 0x0890, 0x0894, 0x089C, 0x0898, // P8_6 - P8_10 0x0834, 0x0830, 0x0824, 0x0828, 0x083C, // P8_11 - P8_15 0x0838, 0x082C, 0x088C, 0x0820, 0x0884, // P8_16 - P8_20 0x0880, 0x0814, 0x0810, 0x0804, 0x0800, // P8_21 - P8_25 0x087C, 0x08E0, 0x08E8, 0x08E4, 0x08EC, // P8_26 - P8_30 0x08D8, 0x08DC, 0x08D4, 0x08CC, 0x08D0, // P8_31 - P8_35 0x08C8, 0x08C0, 0x08C4, 0x08B8, 0x08BC, // P8_36 - P8_40 0x08B0, 0x08B4, 0x08A8, 0x08AC, 0x08A0, // P8_41 - P8_45 0x08A4, // P8_46 0x, 0x, 0x, 0x, 0x, // P9_1 - P9_5 0x, 0x, 0x, 0x, 0x, // P9_6 - P9_10 0x0870, 0x0878, 0x0874, 0x0848, 0x0840, // P9_11 - P9_15 0x084C, 0x095C, 0x0958, 0x097C, 0x0978, // P9_16 - P9_20 0x0954, 0x0950, 0x0844, 0x0984, 0x09AC, // P9_21 - P9_25 0x0980, 0x09A4, 0x099C, 0x0994, 0x0998, // P9_26 - P9_30 0x0990, 0x, 0x, 0x, 0x, // P9_31 - P9_35 0x, 0x, 0x, 0x, 0x, // P9_36 - P9_40 0x09B4, 0x0964, 0x, 0x, 0x, // P9_41 - P9_45 0x // P9_46 }; // Control Module Registers: Please refer to Memory Map of // AM335x MCU const unsigned long BeagleGPIO::ctrlModuleReg = 0x44E1; // GPIO Module registers const unsigned long BeagleGPIO::GpioBaseReg[] = { 0x44E07000, // GPIO0 0x4804C000, // GPIO1 0x481AC000, // GPIO2 0x481AE000 // GPIO3 }; //=== //=== BeagleGPIO::BeagleGPIO() { // Not initialized by default mActive = false; system(echo 5 /sys/class/gpio/export /dev/null); system(echo 65 /sys/class/gpio/export /dev/null); system(echo 105 /sys/class/gpio/export /dev/null); // Opening /dev/mem first m_gpio_fd = open( /dev/mem, O_RDWR | O_SYNC ); if ( m_gpio_fd 0 ) { GPIO_ERROR( Cannot open /dev/mem ); return; } // Map Control Module mControlModule = (unsigned long *)mmap( NULL, 0x1FFF, PROT_READ | PROT_WRITE, MAP_SHARED, m_gpio_fd, ctrlModuleReg ); if ( mControlModule == MAP_FAILED ) { GPIO_ERROR( Control Module Mapping failed ); return; } // Now mapping the GPIO registers for ( int i=0; i4; ++i) { // Map a GPIO bank m_gpio[i] = (unsigned long *)mmap( NULL, 0xFFF, PROT_READ | PROT_WRITE, MAP_SHARED, m_gpio_fd, GpioBaseReg[i] ); if ( m_gpio[i] == MAP_FAILED ) { GPIO_ERROR( GPIO Mapping failed for GPIO Module i ); return; } } // Init complete and successfull mActive = true; }
[beagleboard] Re: How to turn on/off GPIOs in BBB
Sorry the first file's name should be gpio.cpp. The code I have posted is based on the code at the following link: https://github.com/majestik666/Beagle_GPIO/blob/master/Beagle_GPIO.cc. I have attached my files(gpio.cpp and gpio.h) and hope it could help you. One thing I want to remind you is that in my code I added the following system(echo 5 /sys/class/gpio/export /dev/null); system(echo 65 /sys/class/gpio/export /dev/null); system(echo 105 /sys/class/gpio/export /dev/null);. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. #include stdio.h #include stdlib.h #include sys/types.h #include sys/stat.h #include unistd.h #include fcntl.h #include sys/mman.h #include gpio.h using namespace std; // The number is indicating which GPIO Module(0-3) of // each pin belongs to. // const int BeagleGPIO::pinBank[] = { -1, -1, 1, 1, 1, // P8_1 - P8_5 1, 2, 2, 2, 2, // P8_6 - P8_10 1, 1, 0, 0, 1, // P8_11 - P8_15 1, 0, 2, 0, 1, // P8_16 - P8_20 1, 1, 1, 1, 1, // P8_21 - P8_25 1, 2, 2, 2, 2, // P8_26 - P8_30 0, 0, 0, 2, 0, // P8_31 - P9_35 2, 2, 2, 2, 2, // P8_36 - P8_40 2, 2, 2, 2, 2, // P8_41 - P8_45 2, // P8_46 -1, -1, -1, -1, -1, // P9_1 - P9_5 -1, -1, -1, -1, -1, // P9_6 - P9_10 0, 1, 0, 1, 1, // P9_11 - P9_15 1, 0, 0, 0, 0, // P9_16 - P9_20 0, 0, 1, 0, 3, // P9_21 - P9_25 0, 3, 3, 3, 3, // P9_26 - P9_30 3, -1, -1, -1, -1, // P9_31 - P9_35 -1, -1, -1, -1, -1, // P9_36 - P9_40 0, 0, -1, -1, -1, // P9_41 - P9_45 -1 // P9_46 }; // Pin ID: if it is -1, it means that it is not a GPIO pin // If it is a GPIO Pin, the number is indicating the position // of GPIO_DATAIN and GPIO_DATAOUT registers. const int BeagleGPIO::pinId[] = { -1, -1, 6, 7, 2, // P8_1 - P8_5 3, 2, 3, 5, 4, // P8_6 - P8_10 13, 12, 23, 26, 15, // P8_11 - P8_15 14, 27, 1, 22, 31, // P8_16 - P8_20 30, 5, 4, 1, 0, // P8_21 - P8_25 29, 22, 24, 23, 25, // P8_26 - P8_30 10, 11, 9, 17, 8, // P8_31 - P9_35 16, 14, 15, 12, 13, // P8_36 - P8_40 10, 11, 8, 9, 6, // P8_41 - P8_45 7, // P8_46 -1, -1, -1, -1, -1, // P9_1 - P9_5 -1, -1, -1, -1, -1, // P9_6 - P9_10 30, 28, 31, 18, 16, // P9_11 - P9_15 19, 5, 4, 13, 12, // P9_16 - P9_20 3, 2, 17, 15, 21, // P9_21 - P9_25 14, 19, 17, 15, 16, // P9_26 - P9_30 14, -1, -1, -1, -1, // P9_31 - P9_35 -1, -1, -1, -1, -1, // P9_36 - P9_40 20, 7, -1, -1, -1, // P9_41 - P9_45 -1 // P9_46 }; // Pad Control Register // The addresses of registers, which control the Pin Mux of // each GPIO Pins const unsigned long BeagleGPIO::padControl[] = { 0x, 0x, 0x0818, 0x081C, 0x0808, // P8_1 - P8_5 0x080C, 0x0890, 0x0894, 0x089C, 0x0898, // P8_6 - P8_10 0x0834, 0x0830, 0x0824, 0x0828, 0x083C, // P8_11 - P8_15 0x0838, 0x082C, 0x088C, 0x0820, 0x0884, // P8_16 - P8_20 0x0880, 0x0814, 0x0810, 0x0804, 0x0800, // P8_21 - P8_25 0x087C, 0x08E0, 0x08E8, 0x08E4, 0x08EC, // P8_26 - P8_30 0x08D8, 0x08DC, 0x08D4, 0x08CC, 0x08D0, // P8_31 - P8_35 0x08C8, 0x08C0, 0x08C4, 0x08B8, 0x08BC, // P8_36 - P8_40 0x08B0, 0x08B4, 0x08A8, 0x08AC, 0x08A0, // P8_41 - P8_45 0x08A4, // P8_46 0x, 0x, 0x, 0x, 0x, // P9_1 - P9_5 0x, 0x, 0x, 0x, 0x, // P9_6 - P9_10 0x0870, 0x0878, 0x0874, 0x0848, 0x0840, // P9_11 - P9_15 0x084C, 0x095C, 0x0958, 0x097C, 0x0978, // P9_16 - P9_20 0x0954, 0x0950, 0x0844, 0x0984, 0x09AC, // P9_21 - P9_25 0x0980, 0x09A4, 0x099C, 0x0994, 0x0998, // P9_26 - P9_30 0x0990, 0x, 0x, 0x, 0x, // P9_31 - P9_35 0x, 0x, 0x, 0x, 0x, // P9_36 - P9_40 0x09B4, 0x0964, 0x, 0x, 0x, // P9_41 - P9_45 0x // P9_46 }; // Control Module Registers: Please refer to Memory Map of // AM335x MCU const unsigned long BeagleGPIO::ctrlModuleReg = 0x44E1; // GPIO Module registers const unsigned long BeagleGPIO::GpioBaseReg[] = { 0x44E07000, // GPIO0 0x4804C000, // GPIO1 0x481AC000, // GPIO2 0x481AE000 // GPIO3 }; //=== //=== BeagleGPIO::BeagleGPIO() { // Not initialized by default mActive = false; system(echo 5 /sys/class/gpio/export /dev/null); system(echo 65 /sys/class/gpio/export /dev/null); system(echo 105 /sys/class/gpio/export /dev/null); // Opening /dev/mem first m_gpio_fd = open( /dev/mem, O_RDWR | O_SYNC ); if ( m_gpio_fd 0 ) { GPIO_ERROR( Cannot open /dev/mem ); return; } // Map Control Module mControlModule = (unsigned long *)mmap(
[beagleboard] Re: Failed angstrom build
Apologies for the late reply (and the missing information in my first post), I have tested building on a 64-bit ubuntu 13.10 system and this branch works fine. I have a new console-image running on my beaglebone black now. Thanks for the help, Geir kl. 12:31:19 UTC+1 lørdag 22. februar 2014 skrev rchrd...@gmail.com følgende: Hi, There are problems compiling the Angstrom master branch on 64-bit ubuntu variants relating to the native libpseudo. There are two alternatives: Switch to the angstrom-v2013.12-yocto1.5 branch which is meant to include a fix (see: https://www.mail-archive.com/angstrom-distro-devel@linuxtogo.org/msg06900.html ) or Use a 32-bit Ubuntu host. Update your Angstrom host installation: cd to the setup-scripts directory git checkout -f -b angstrom-v2013.12-yocto1.5 origin/angstrom-v2013.12-yocto1.5 (The force option is necessary if you modified local.conf) MACHINE=beaglebone ./oebb.sh config beaglebone . ./environment-angstrom-v2013.12 bitbake cloud9-image I currently testing these steps on a 32-bit host. It will take a couple more hours before I can confirm success or failure. Why don't you try it on your 64-bit host and let us know how it goes. I'm sure Rhem Raj would like to get feedback about this fix. Regards ... On Monday, January 20, 2014 9:54:33 PM UTC+11, Jeremy Van wrote: I'm trying to build Angstrom with bitbake. I followed the instructions on Derek Molloy's Sitehttp://derekmolloy.ie/building-angstrom-for-beaglebone-from-source/. After running: $bitbake cloud9-image | ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored. | update-alternatives: Linking /home/jay/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image/1.0-r0/rootfs//usr/bin/top to /usr/bin/top.procps | update-alternatives: Linking /home/jay/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image/1.0-r0/rootfs//usr/bin/uptime to /usr/bin/uptime.procps | update-alternatives: Linking /home/jay/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image/1.0-r0/rootfs//usr/bin/free to /usr/bin/free.procps | update-alternatives: Linking /home/jay/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image/1.0-r0/rootfs//usr/bin/pkill to /usr/bin/pkill.procps | update-alternatives: Linking /home/jay/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image/1.0-r0/rootfs//usr/bin/pmap to /usr/bin/pmap.procps | | ERROR: Function failed: do_rootfs (see /home/jay/angstrom/setup-scripts/build/tmp-angstrom_v2013_06-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image/1.0-r0/temp/log.do_rootfs.20961 for further information) ERROR: Task 7 (/home/jay/angstrom/setup-scripts/sources/meta-ti/recipes-misc/images/ cloud9-image.bb, do_rootfs) failed with exit code '1' NOTE: Tasks Summary: Attempted 5589 tasks of which 5588 didn't need to be rerun and 1 failed. No currently running tasks (5588 of 5592) Summary: 1 task failed: /home/jay/angstrom/setup-scripts/sources/meta-ti/recipes-misc/images/ cloud9-image.bb, do_rootfs Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. Has anyone had any similar problems? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: JavaFX 8 on BeagleBone Black (SGX driver problem?)
Hi littlf... Did you find how to get jdk8 and javafx running on BBB? I'm trying to do the same (RasPi was to slow, so I want to see if BBB does better). Also, how do you use sound in JavaFx+ RPi ??? (AudioClip and all media doesnt work on RPi) Thanks (It's been 2 days fighting with BBB, any herlp will be appreciated) @rodrinauta El viernes, 10 de enero de 2014 05:32:28 UTC-3, littlef...@gmail.com escribió: Do you need the JavaFX 8 graphics capabilities? If not, can you run it with graphics disabled? I do need the graphics capabilities (otherwise I wouldn't use FX ;-) so I cannot disable the graphics. On the chance that there might be useful information in them, here are two links for java I have from my days of noodling around with the raspi: ... Thanks for the links but unfortunately they don't help. I have a Raspi and I can also run my JavaFX applications on it without problems. But they are rather slow on the Raspi so I wanted to do some performance tests with the BBB hardware. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: debian: test images (2014-02-24) Cloud9 BETA!
It's nice to have cloud9 back. I even have the latest prerelease of Mathematica running on it. --Mark On Tuesday, February 25, 2014 9:31:01 AM UTC-5, RobertCNelson wrote: On Mon, Feb 24, 2014 at 9:20 PM, Lee Crocker leedanie...@gmail.comjavascript: wrote: You didn't actually make the bb.org-v2014-02-24 tag. It's there: https://github.com/beagleboard/image-builder/tree/bb.org-v2014-02-24 And just for my own curiosity, how long are we going to be stuck with the obsolete 3.8 kernel? As soon as there is a working solution to support all xyz capes. I've seen some things here using the bleeding-edge 3.13, but nothing with the reasonably stable and current 3.12. 3.14-rc4 bleeding edge.. I've been pushing v3.13 over v3.12 in the repo for awhile now.. http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp TESTING to install it just: cd /opt/scripts/ git pull ./tools/update_kernel.sh --beta-kernel reboot Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] SSHing into BeagleBoardUbuntu
After successfully installing the latest image of BeagleBoardUbuntu on my BBB, I connected my ethernet cable and pulled up putty, entering in the ip address my router gave me for the only ARM device. It prompts me for the login, I give ubuntu and I give no password and it shows access denied. Is there something obvious I'm doing wrong here? Any advice/comments would be appreciated. Thanks. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: SSHing into BeagleBoardUbuntu
Also, I followed the following instructions : http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black My version was downloaded as a prebuilt image from here: https://rcn-ee.net/deb/flasher/saucy/BBB-eMMC-flasher-ubuntu-13.10-2014-02-16-2gb.img.xz On Tuesday, February 25, 2014 5:42:07 PM UTC-5, Mark Bratanov wrote: After successfully installing the latest image of BeagleBoardUbuntu on my BBB, I connected my ethernet cable and pulled up putty, entering in the ip address my router gave me for the only ARM device. It prompts me for the login, I give ubuntu and I give no password and it shows access denied. Is there something obvious I'm doing wrong here? Any advice/comments would be appreciated. Thanks. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] SSHing into BeagleBoardUbuntu
Password is ubuntu as well. Dan Metcalf On Feb 25, 2014 5:42 PM, Mark Bratanov markbrata...@gmail.com wrote: After successfully installing the latest image of BeagleBoardUbuntu on my BBB, I connected my ethernet cable and pulled up putty, entering in the ip address my router gave me for the only ARM device. It prompts me for the login, I give ubuntu and I give no password and it shows access denied. Is there something obvious I'm doing wrong here? Any advice/comments would be appreciated. Thanks. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] HDMI Desktop Dims
Just brought up a new Beaglebone Black out of the box. Have it attached to an HDMI TV. After the desktop comes up it is very dim. As soon as I open any window on the desktop, the display is the normal brightness it should be. The display will revert back to dim mode unless I have some window opened on the desktop. Not sure if this is a hardware or software issue. Any help would be appreciated! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] AM335x Pinctrl Addresses
I'm trying to configure a board very similar to a Beaglebone Black to work with a 24-bit LCD panel, but to do this I need to configure all 24 LCD data pins to operate as LCD drivers. I was planning on accomplishing this using device tree overlays within my Linux environment, but I'm not really sure how to implement this specifically. I'm using the BB-BONE-LCD4-01-00A0.dts overlay as a reference, which configures lcd_data0 through lcd_data15 to drive an LCD. I also need to configure lcd_data16 through lcd_data24, but I'm not sure how to find the mappings used by pinctrl (eg. 0xa0 = lcd_data0). The pinctrl documentation refers to the addresses as register offsets, but the AM335x Technical Reference Manual doesn't contain the term pinctrl anywhere so I'm not sure where these registers could be. I've also tried grep-ing my way through the kernel to figure out how this is implemented, and there are some logical mappings in the drivers/pinctrl directory (eg. PINCTRL_PIN() calls) but I can't find anything like this for the AM335x. I can't find any examples of 24-bit LCD device tree overlays, so I don't really think I have any choice other than finding the pin numbers myself Does a mapping exist for the AM335x? Any help would be appreciated. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Is there Beaglebone Black Guide for LED diagnostics?
Is there a guide for diagnosing Beaglebone black boot problems based on LEDs? For instance, when I boot, I end up with 1 of 2 scenarios: 1. user1 and user2 on solid. 2. user0 beating faster than a normal heartbeat, and user1 beating intermittently. I am booting Ubuntu 12.04 from microSD. It for weeks until now. Now I can't ping, ssh, or http in. Any help appreciated, W -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: beaglebone to receive infrad remote control with one GPIO pin?
not sure, if i've made it correctly, but at least it works :D https://github.com/hani93/lirc_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/groups/opt_out.
[beagleboard] Re: how to connent QT creator in beaglebone...currently im using windows
http://visualgdb.com/tools/QtCrossTool/ http://www.todopic.com.ar/foros/index.php?topic=41770.0 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] AM335x Pinctrl Addresses
All of the LCD pins are listed in Derek Molloy’s nice BeagleboneBlackP8HeaderTable.pdf. The high-order ones you are looking for are on P8_11 to P8_17 + P8_19, but the order is mixed up. Do a web search for BeagleboneBlackP8HeaderTable and BeagleboneBlackP9HeaderTable and you will find Derek’s tables on github. From: Matt Sent: Tuesday, February 25, 2014 2:44 PM To: beagleboard@googlegroups.com Subject: [beagleboard] AM335x Pinctrl Addresses I'm trying to configure a board very similar to a Beaglebone Black to work with a 24-bit LCD panel, but to do this I need to configure all 24 LCD data pins to operate as LCD drivers. I was planning on accomplishing this using device tree overlays within my Linux environment, but I'm not really sure how to implement this specifically. I'm using the BB-BONE-LCD4-01-00A0.dts overlay as a reference, which configures lcd_data0 through lcd_data15 to drive an LCD. I also need to configure lcd_data16 through lcd_data24, but I'm not sure how to find the mappings used by pinctrl (eg. 0xa0 = lcd_data0). The pinctrl documentation refers to the addresses as register offsets, but the AM335x Technical Reference Manual doesn't contain the term pinctrl anywhere so I'm not sure where these registers could be. I've also tried grep-ing my way through the kernel to figure out how this is implemented, and there are some logical mappings in the drivers/pinctrl directory (eg. PINCTRL_PIN() calls) but I can't find anything like this for the AM335x. I can't find any examples of 24-bit LCD device tree overlays, so I don't really think I have any choice other than finding the pin numbers myself Does a mapping exist for the AM335x? Any help would be appreciated. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] AM335x Pinctrl Addresses
On 2/25/2014 4:44 PM, Matt wrote: I'm trying to configure a board very similar to a Beaglebone Black to work with a 24-bit LCD panel, but to do this I need to configure all 24 LCD data pins to operate as LCD drivers. I was planning on accomplishing this using device tree overlays within my Linux environment, but I'm not really sure how to implement this specifically. I'm using the BB-BONE-LCD4-01-00A0.dts overlay as a reference, which configures lcd_data0 through lcd_data15 to drive an LCD. I also need to configure lcd_data16 through lcd_data24, but I'm not sure how to find the mappings used by pinctrl (eg. 0xa0 = lcd_data0). The pinctrl documentation refers to the addresses as register offsets, but the AM335x Technical Reference Manual doesn't contain the term pinctrl anywhere so I'm not sure where these registers could be. I've also tried grep-ing my way through the kernel to figure out how this is implemented, and there are some logical mappings in the drivers/pinctrl directory (eg. PINCTRL_PIN() calls) but I can't find anything like this for the AM335x. I can't find any examples of 24-bit LCD device tree overlays, so I don't really think I have any choice other than finding the pin numbers myself Does a mapping exist for the AM335x? Any help would be appreciated. The authoritative source for register values can be found using the AM335x data sheet (Chapter 2, Terminal Description) and the AM335x Technical Reference Manual (Chapter 9, Control Module). The LCD signals are all listed in table 2-10 of the data sheet, with links to the package-specific pin, which gets you the pin name you can then look up in section 9.3 of the TRM Control Module Registers. There is a handy crib sheet available as well: https://github.com/selsinork/beaglebone-black-pinmux/blob/master/pinmux.ods ...which lists all the pinmux modes for each P8/P9 pin, and provides control register offset values for the pinmux control register. You may have to adjust by 0x800, as some code wants the register offset from the base of the control module register space (ie: 0x800-0x9ff) while other code expects an offset from the first GPIO pinmux register (ie: 0x000-0x1ff). Make sure you use the proper value. -- Charles Steinkuehler char...@steinkuehler.net -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Not Impressed - Network Issues
This doesn't seem to do anything. eth0 still will not obtain an IP address. On Feb 14, 2014, at 1:21 PM, leedanielcroc...@gmail.com wrote: Yeah, I've noticed that recent Angstrom builds have been missing an interfaces file, but if you create a proper one, networking comes up with no problems. A simple version of that file is this: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp On Tuesday, February 11, 2014 6:34:27 PM UTC-8, hacktorious wrote: This doesn't look good: ifup eth0 ifup: can't open '/etc/network/interfaces': No such file or directory On Tue, Feb 11, 2014 at 9:13 PM, Scott Macri scott...@gmail.com wrote: Lets try this again -- http://article.gmane.org/gmane.comp.hardware.beagleboard.user/27473/match=beaglebone+rev+a4+ethernet+issue; No luck with this. On Sat, Feb 8, 2014 at 9:16 AM, Scott Force scooby...@gmail.com wrote: Lets try this again -- http://article.gmane.org/gmane.comp.hardware.beagleboard.user/27473/match=beaglebone+rev+a4+ethernet+issue On 7 February 2014 17:05, Scott Macri scott...@gmail.com wrote: Scott, That link gives me a missing article error. On Fri, Feb 7, 2014 at 9:14 AM, Scott Force scooby...@gmail.com wrote: This sounds like an issue that some other people are having. Take a look at the postings with a subject of BeagleBone Rev. A4 ethernet issue On Friday, 7 February 2014 08:55:53 UTC-5, sels...@gmail.com wrote: On 07/02/14 02:51, hacktorious wrote: Why on earth is my BBB obtaining an ip from an external source when connected via eth0??? It's not. It's providing it's own address. You likely want it to get an address from an external source - the DHCP server on your router.. Internally dhcp is distributing 192.168 something, but the BBB is getting 169. something. I'm not able to get internet access from the BBB, but if I visit the ip address I can see my BBB's website WTF? This is total insanity!!! 169.254.x.x are IPv4 link-local autoconfigured addresses. i.e. the BBB didn't get a DHCP response and picked a random 169.254.x.x address itself instead. It should still broadcast for DHCP, so if your DHCP server ever starts handing out addresses it should pick one up and start working. See http://tools.ietf.org/html/rfc3927 for an explanation of IPv4 link local addresses. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/XmuVWcAERpU/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Scott A. Macri Senior Software Engineer The RoRing Rage (571) 234-1581 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/XmuVWcAERpU/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Scott A. Macri Senior Software Engineer The RoRing Rage (571) 234-1581 -- Scott A. Macri Senior Software Engineer The RoRing Rage (571) 234-1581 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to a topic in the Google Groups BeagleBoard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/XmuVWcAERpU/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: [Issue] BeagleBone Black Random Reboot
Strange ... I checked the commit and found it had been included within the v2013.04 uboot release .. but my BB board is still experienced with this time jump issue one/two times per day. Could there be anything else? Regards. Damien On Monday, February 24, 2014 3:23:46 PM UTC+11, RobertCNelson wrote: Probably.. http://git.denx.de/?p=u-boot.git;a=commit;h=000820b5835c2b8b863af992b66dc973dc4bd202 On Feb 23, 2014 10:19 PM, Damien dam...@bcode.com javascript: wrote: Hi Robert, Do you know more detail about the time jump issue in uboot? for example, fix commit number, or some words used for the commit? I am interested to find out what exactly the fixes are, but there are too many commits in uboot and I need some thing to search with. Regards, Damien On Wednesday, November 13, 2013 1:45:37 AM UTC+11, RobertCNelson wrote: On Tue, Nov 12, 2013 at 8:37 AM, lei...@gmail.com wrote: I have similar issue. I have (2) versions of BBB (A5A and A5C). They both randomly reboot themselves while I am running TI prebuilt BBB android image (from a couple hours to ten to fifteen hours). When I plug in the USB (DC is still powered) for logging with logcat, the reboot issue seems to disappear. I don't have problem with BBB Angstrom image (based on 3.8 kernel). I don't have problem with Andrew Henderson's android image (based on 3.8 kernel) either. Another issue is that when I run TI BBB android image, the clock randomly jumps forward 2^17 seconds. This happens on both of my BBB boards. The problem goes away when I run Angstrom or Andrew's android. This time 'issue' was fixed in u-boot sometime last year, so I'm guessing the TI image has an un-patched u-boot.. I suspect it has something to do with the processor, DDR3 (BBB: AM3359 1GHz + 512MB DDR3), the configuration, or apply workaround of errata. We have an AM335x EVM kit (AM3359 720MHz + 256MB DDR2). I also loaded TI prebuilt android image. I have run it for several months. It is rock solid. I never had problem with it. Here are the links to my other posts in regarding to this issue. https://groups.google.com/forum/#!category-topic/beagleboard/advanced/ 5qSJ4dQdar4 http://e2e.ti.com/support/embedded/android/f/509/t/297726.aspx 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...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Interfacing htu21 over i2c with Beaglebone Black
I decided to give up on Angstrom and move to Debian using Robert C. Nelson's images/scripts. On kernel 3.13, I'm able to access this driver and read temperature and humidity. However, the temperature reading is at least 10F too high. I don't have another calibrated humidity sensor to compare this against. I've kept the pull-up resistors onboard (i.e. I haven't desoldered them). Could that be the problem? Thanks, Rushi On Tuesday, February 4, 2014 9:55:11 AM UTC-8, sels...@gmail.com wrote: On 04/02/14 05:26, Rushi Desai wrote: I tried to initialize the driver by running: # echo htu21 0x40 /sys/class/i2c-adapter/i2c-1/new_device This is what I see in dmesg: [215690.914098] i2c i2c-1: new_device: Instantiated device htu21 at 0x40 Do you have the pullups on the board enabled, or disabled ? Are you using 3.12 or later kernel ? The driver for this was only merged in 3.12. Did you 'modprobe htu21' or is the driver compiled into your kernel ? I've come across a few things recently that i2cdetect doesn't see, but if you access them directly they work fine. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] BBB connected to TLV320AIC3106EVM
I¹m connecting up a TLV320AIC3106EVM to the BBB using the connections described in the table below. The LTC3603 is a simple switching regulator to generate the 1.8V required by the codec core. I¹m having difficulty getting this setup to record/play. Here is a description of my setup. BBB TLV320AIC3106EVM LTC3603 P9 J17 J16 J15 J5 1 GND 4 5 GND GND 3 3V3 9 3V3 2 VOUT_EN 5 VDD_5V0 3 +5V VIN 7 SYS_5V0 10 SYS_RESETN 14 RESETN 19 I2C2.SCL 16 SCL 20 I2C2.SDA 20 SDA 25 mcasp0_ahclkx 17 MCLK 28 mcasp0_axr2 13 DOUT 29 mcasp0_fsx 7 WCLK 30 mcasp0_axr0 11 DIN 31 mcasp0_aclkx 3 BCLK 43 GND 18 7 1V8D VOUT I created a DT Overlay file as follows: /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /dts-v1/; /plugin/; / { compatible = ti,beaglebone-black; /* identification */ part-number = BB-BONE-AUDI-02; version = 00A0, A0; /* state the resources this cape uses */ exclusive-use = /* the pin header uses */ P9.25, /* mcasp0: mcasp0_ahclkx */ P9.28, /* mcasp0: mcasp0_axr2 */ P9.29, /* mcasp0: mcasp0_fsx */ P9.30, /* mcasp0: mcasp0_axr0 */ P9.31, /* mcasp0: mcasp0_aclkx */ /* the hardware ip uses */ mcasp0; fragment@0 { target = am33xx_pinmux; __overlay__ { bone_audio_cape_audio_pins: pinmux_bone_audio_cape_audio_pins { pinctrl-single,pins = 0x1ac 0x20 /* mcasp0_ahclkx, INPUT | MODE0 */ 0x19c 0x22 /* mcasp0_axr2, INPUT | MODE2 */ 0x194 0x20 /* mcasp0_fsx, INPUT | MODE0 */ 0x198 0x00 /* mcasp0_axr0, OUTPUT | MODE0 */ 0x190 0x20 /* mcasp0_aclkx, INPUT | MODE0 */ ; }; }; }; fragment@1 { target = i2c2; __overlay__ { #address-cells = 1; #size-cells = 0; tlv320aic3x: tlv320aic3x@1b { compatible = ti,tlv320aic3x; reg = 0x1b; status = okay; }; }; }; fragment@2 { target = mcasp0; __overlay__ { pinctrl-names = default; pinctrl-0 = bone_audio_cape_audio_pins; status = okay; op-mode = 0; /* MCASP_IIS_MODE */ tdm-slots = 2; num-serializer = 16; serial-dir = /* 0: INACTIVE, 1: TX, 2: RX */ 0 0 2 1 0 0 0 0 0 0 0 0 0 0 0 0 ; tx-num-evt = 1; rx-num-evt = 1; }; }; fragment@3 { target = ocp; __overlay__ { sound { compatible = ti,da830-evm-audio; ti,model = DA830 EVM; ti,audio-codec = tlv320aic3x; ti,mcasp-controller = mcasp0; ti,codec-clock-rate = 1200; ti,audio-routing = Headphone Jack, HPLOUT, Headphone Jack, HPROUT, Line Out, LLOUT, Line Out, RLOUT, MIC3L,Mic Bias 2V, MIC3R,Mic Bias 2V, Mic Bias 2V, Mic Jack, LINE1L, Line In, LINE2L, Line In, LINE1R, Line In, LINE2R, Line In; }; }; }; }; I installed the DT Overlay as follows: root@arm:~# export SLOTS=/sys/devices/bone_capemgr.9/slots root@arm:~# echo BB-BONE-AUDI-02 $SLOTS [ 135.754365] bone-capemgr bone_capemgr.9: part_number 'BB-BONE-AUDI-02', version 'N/A' [ 135.762656] bone-capemgr bone_capemgr.9: slot #7: generic override [ 135.769128] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 7 [ 135.777138] bone-capemgr bone_capemgr.9: slot #7: 'Override Board Name,00A0,Override Manuf,BB-BONE-AUDI-02' [ 135.787412] bone-capemgr bone_capemgr.9: slot #7: Requesting part number/version based 'BB-BONE-AUDI-02-00A0.dtbo [ 135.798164] bone-capemgr bone_capemgr.9: slot #7: Requesting firmware 'BB-BONE-AUDI-02-00A0.dtbo' for board-name 'Override Board Name', version '00A0' [ 135.815726] bone-capemgr bone_capemgr.9: slot #7: dtbo 'BB-BONE-AUDI-02-00A0.dtbo' loaded;converting to live tree [ 135.826979] bone-capemgr bone_capemgr.9: slot #7: #4 overlays [ 135.855146] 1-001b supply IOVDD not found, using dummy regulator [ 135.861527] 1-001b supply DVDD not found, using dummy regulator [ 135.867774] 1-001b supply AVDD not found, using dummy regulator [ 135.874006] 1-001b supply DRVDD not found, using dummy regulator [ 135.886504] davinci_evm sound.13: tlv320aic3x-hifi - 48038000.mcasp mapping ok [ 135.910330] bone-capemgr bone_capemgr.9: slot #7: Applied #4 overlays. Which seems to have installed successfully. To confirm: root@arm:~# cat /proc/asound/devices 2: [ 0- 0]: digital audio playback 3: [ 0- 0]: digital audio capture 4: [ 0] : control 33:: timer root@arm:~# aplay -L null Discard all samples (playback) or generate zero samples (capture) default:CARD=EVM DA830 EVM, Default Audio Device sysdefault:CARD=EVM DA830 EVM, Default Audio Device root@arm:~# aplay -l List of PLAYBACK Hardware Devices card 0: EVM [DA830 EVM], device 0: AIC3X tlv320aic3x-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 Now I try to play a wav file as follows: root@arm:~# aplay /home/linuxcnc/beepbeep.wav Playing WAVE '/home/linuxcnc/beepbeep.wav' :
Re: [beagleboard] DVI on original BB Rev. C3
Did you test v3.14-rcX? From this thread it looks like only up to v3.13.x. Sorry, no, my fault. I tested 3.13.5-armv7-x11https://github.com/RobertCNelson/armv7-multiplatform/releases/tag/3.13.5-armv7-x11 Should I give 3.14 a try? No DVI output with Linux arm 3.14.0-rc4-armv7-x1 #1 SMP Tue Feb 25 07:08:26 PST 2014 armv7l armv7l armv7l GNU/Linux -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.