[beagleboard] Reference for Enabling GPIO Interrupt
Hi, I'm trying to work with Interrupts, firstly on GPIO. Is there a reference code for enabling and working with interrupts on the AM335X? (BBB) Thank you. -- 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
Pad control registers can only be changed in kernel space. You could write a kernel driver or do it the right way and use device tree. See https://github.com/nomel/beaglebone/tree/master/gpio-header If you don't want to use it directly, you can use the generated files as an example. -- 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 a 'latest stable build' of Angstrom available, and changed regularly?
I have just got my Beaglebone Black and (being a long time Linux user, from the early 1990s) was looking for a sensible list of Angstrom versions for the Beaglebone Black but I can't really find one. Is there a repository where one can find the 'current' version of Angstrom for the BBB? It happily tells you It is highly recommended that you always use the latest version of the Software. on elinux but there doesn't seem to *be* a latest version of the Software. The link it gives to Updating the software tells you how to do the update and how to see what version is installed but there's no clue as to how to find stable, new versions. Also, can one update/upgrade 'off the net' from the Angstrom command line or does one always have to go through the loading to SD card and flashing process? It would be much more user friendly to be able to do it from the BBB command line. -- 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: GPIO does not turn on LED
Hi Matt, your dts seems not to be complete. Please append following code after your existing fragment@0 section: fragment@1 { target = ocp; __overlay__ { /* avoid stupid warning */ #address-cells = 1; #size-cells = 1; gpio1_16_test { compatible = bone-pinmux-helper; pinctrl-names = default; pinctrl-0 = bb_GPIO1_16_pins; status = okay; }; }; }; Now you should get the expected value: pin 16 (44e10840) 0007 pinctrl-single (I successfully checked the overlay on my bone) regards Ralf -- 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 with custom GUI
Hi, I new in BBB and linux. I need to display on a LCD (22) a loop of a video file and the state of some pushbuttons and analog sensors. How I do this? I have tutorials of python and cloud9 programming on BBB so I think I can manage with the firmware of pushbuttons and sensors. python + GTK? QT? I have found Derek tutorial: http://www.youtube.com/watch?v=yXTJC-_rlMY Any help? Regards. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Detecting a Beaglebone IP Addtress
On Thursday, February 13, 2014 9:58:03 PM UTC-6, Walter Schilling wrote: Board members: I've got an interesting problem that I'm trying to come up with a solution for. I am going to be teaching a class next quarter on the Beaglebone Black. Students will attach their bones to a network and program them remotely over ethernet. Code will be developed on a virtual machine running Linux and then connected via sftp to the board. However, the students will only have a bone and a prototyping cape available to them. WHat I am trying to figure out is the best way for them to determine the IP address of their board. By default, I know that the boards use dhcp to get an ip address. However, without a display, it's somewhat hard to get an ip address. Is there an easy way, maybe by using the usb connection, that students can figure out the IP address of the board so they can remote to it in an appropriate fashion. I've thought about simply pinging the boards, but with multiple boards on the network, that would only indicate that a board is connected, not that their board is connected. I suppose I could go to fixed IP's, but that would require them to change the SD card, which at first I'd rather use stock until they have gotten their feet wet. Any ideas or suggestions? Thanks, Walt PS: We'll be using a Debian image based of of Robert Nelson's work unless a new standard image comes out from Circuitco before then. -- 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 LVDS LCD
I added to uEnv.txt bootfile=/boot/uImage and the error is gone :) but no display yet :( , I also tried with 3.8 and it's the same. It boots ok, but no display. On Friday, 14 February 2014 12:51:41 UTC-6, dajo...@gmail.com wrote: I have an uImage, I just replaced the one in /boot/ with the new I compiled following the steps by jadonk. I also replaced am335x-bone.dtb in the same directory. My uEnv.txt looks like: devtree=/boot/am335x-bone.dtb dtboot=run mmcargs; ext2load mmc ${mmcdev}:2 ${kloadaddr} ${bootfile} ; ext2load mmc ${mmcdev}:2 ${fdtaddr} ${devtree} ; bootm ${kloadaddr} - ${fdtaddr} uenvcmd=run dtboot optargs=consoleblank=0 On Friday, 14 February 2014 11:51:30 UTC-6, RobertCNelson wrote: On Fri, Feb 14, 2014 at 11:45 AM, dajo...@gmail.com wrote: thanks :) I followed steps on https://github.com/jadonk/kernel/tree/3.7 but when I boot my beaglebone I get an extrange error: reading uEnv.txt 320 bytes read in 3 ms (103.5 KiB/s) Loaded environment from uEnv.txt Importing environment from mmc ... Running uenvcmd ... ** File not found uImage ** 20094 bytes read in 37 ms (530.3 KiB/s) Wrong Image Format for bootm command ERROR: can't get kernel image! regardless those errors it still boots but my screen doesn't display anything. what could I be doing wrong? u-boot is looking for uImage vs zImage just an old u-boot/uEnv.txt... search the list on how to create a uImage from zImage, only been talked about for ever.. PS 3.7 was hardly ever used, suprised it even boots. 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] u-boot splash screens of different resolutions
Maybe inspiration from ... LCD Splash Support in U-Boot (AM3517) http://e2e.ti.com/support/embedded/linux/f/354/t/109387.aspx http://e2e.ti.com/cfs-file.ashx/__key/CommunityServer-Discussions-Components-Files/354/7220.u_2D00_boot_2D00_2009.11_2D00_psp03.00.01.06.sdk_2D00_omapdss.patch.txt BHC on iPAD2 -- 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] php+postgresql on Angstrom with nginx
I'm trying to set up a php+postgresql+nginx stack on Angstrom (on the BBB). I have nginx serving me php pages, and I have postgresql, but I can't seem to get php and postgresql talking. Usually, one can do a package manager install of php+postgresql, but opkg doesn't offer such an option. The alternative is to build php from source with pgsql enabled, but I'm trying to avoid that since I fear it will mess with the nginx-php settings, and might just make a mess of things. Is there a way to get php+postgresql with opkg? Is there another way to solve this issue? 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: New beaglebone (white or black) I/O expansion cape
On Wednesday, October 30, 2013 10:30:58 AM UTC-4, Franco Lanza wrote: Osso is a beaglebone cape for both white and black that provide 8 relay up to 275VAC @10A and 6 opto-isolated digital inputs. It come in a standard 9 units DIN rail mount box format, and it can power the beaglebone directly from the pin headers. The board is powered by 12V DC http://www.unixmedia.it/en/domotika/schede-di-espansione-prototipazione/osso-beaglebone-io-expansion-board We also accept payement in bitcoin I like this cape. How does a person aquire one? -- 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] Incompatible ELFs?
I've noticed that some of the ARM ELF executables I get from other places, or some that I build with OpenEmbedded cross-compiler tools, will not execute on BBB Angstrom (giving the supremely unhelpful so such file or directory error). The working binaries on the BBB have the ELF header flags word set to 0x502, indicating EABI version 5, no specified float format (defaulting to soft floats, I believe?). The one's I get that don't run have flags set to 0x202, old ABI, soft float. Is there a good reason why the newer kernel can't run the older binaries? Are the ABIs that different? Is there something else causing this incompatibility? -- 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 aufs or other union file system support for android?
Hi, is it possible to use a union filesystem with android? I do not find anything inside the kernel configuration. It seems that there is a lot of union filesystem stuff for ubuntu and other distributions, but not yet something for android. I am wondering because my expectation is the filesystem to be something distribution independent? Thanks, Saimen -- 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] BeagleBone Black Webcam
Hello all, Sorry for the long message, but I want to include all the details I thought were necessary. I am extremely new to Linux, but I have recently purchased a Beaglebone Black, and I am trying to set up a webcam server on it. I have tried to follow several tutorials online, but none of them have worked, because I cannot get the webcam to work. I have a Logitech C525 HD webcam, which is on the list of supported webcams (http://www.ideasonboard.org/uvc/). I am running Debian 7 (wheezy) with Linux Kernel 3.8.13-bone37. I have installed LXDE so I have a desktop, and VLC to check the functionality of the webcam. I am booting off of a 16GB micro SD card. The Beaglebone is being powered by 5 volts via the barrel connector and a power supply. The webcam, keyboard, and mouse are connected to a powered USB hub. The *lsusb* command returns “Bus 001 Device 003: ID 0460:0826 Logitech Inc” whenever I have the webcam plugged in; so I know the camera is being recognized. However, when I run the *ls /dev/video** command, I get “ls: cannot access /dev/video*: No such file or directory”. This seems to be what VLC is looking for, so it doesn’t see the webcam. When I run the *dmesg|tail* command, none of the entries mentioned anything about video or the UVC driver. I ran *sudo modprobe –v uvcvideo*, then I ran the *dmesg|tail* command again, and this time I got 2 additional lines 1) usbcore registered new interface driver uvcvideo 2) USB video class driver. I apparently have to enable the uvc driver after each restart, but I still don’t get anything when from the *ls /dev/video** command. I should also mention that this is my current configuration, but I have also tried this with Ubuntu 12 and Ubuntu 13 (both installed with instructions from (http://elinux.org/Beagleboard:Ubuntu_On_BeagleBone_Black). I get the same results no matter what I do. I have also tried several other webcams that were not on the list of supported webcams, with the same results. I know the webcams work with Linux because I have tried them on an old laptop that is running Mint 12, and they worked just fine. Since the webcams work in Mint, and many other people have been able to get them working on the Beaglebone, I am obviously missing something, but I don’t know where to go from here. Any help would be greatly 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] Need aufs or other union filesystem with android on beaglebone black
Hi, is there support of a union filesystem like aufs for android? It seems that there is a lot of stuff available for ubuntu and other distributions but nothing for android. I am wondering because my expection was the filesystem to be something kernel dependant. Is there a kernel configuration switch that i miss? How do I get aufs available on my beaglebone black running android? 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: Has anyone made a BeagleBone to Arduino shield socket adapter ?
We've created a solution: it comes with software configurable level shifters that operate with 3.3V and 5V shields. The adapter provides any pinmux configuration except the analog comparator on pins AIN0 and AIN1 (This is an alternative muxing on D6 and D7). Any PWM, Timer, Digital Out/In, Anaglog in (up to 5V), SPI and I2C pin can be served. http://elinux.org/Impressx:Arduino_Shield_Adapter Best Regards, Daniel Am Freitag, 26. April 2013 17:26:37 UTC+2 schrieb Ed of the Mountain: There are so many Arduino shields available I was surprised that a Google search did not find any BeagleBone-to-Arduino-shield-socket adapters. Arduino shields are so inexpensive, for example this $59 2.8 color LCD resistive touchscreen. http://www.adafruit.com/products/376 Is it just not practical? Or am I using the wrong keywords for my searching? Thanks in advance, -Ed -- 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: Automotive Cape
I'm not sure of a pricepoint- we are working on a similar beta product used to track delivery systems and i can get an chinese made tracker with some of the capability you mention (except OBD-II info) for under $40. Their devices have an onboard SIM for SMS alerts, etc. So with that in mind if we were able to use your SanCloud device with the same capability along with OBD functionality for around $80-100 it would be great. Are you considering kits fully assembled? Sorry if thats a silly question we're new to open source hardware etc and am just wondering how the license would affect other companies from using it in their products? Cheers! On Wednesday, February 12, 2014 11:46:36 AM UTC-4, marc...@gmail.com wrote: What do people think the price point is for a cape that offers CAN OBDII accelerometer+gyro mini PCI-e (USB+SIM) GPIO LED's ? Thanks Marc On Monday, January 27, 2014 5:37:41 PM UTC, marc...@gmail.com wrote: Hello, I am part of a startup that has developed a system that is used to analyse vehicles in they way they are driven and also track the journeys. We are producing a cape to use for development of our next version and thinking about offering it for sale to the open source community. The basics of the interface are: CAN ODBII via SN1110 OBD to UART Interpreter Mini-PCIe for 3G-LTE/GPS card 6 axis accel and gyro RTC USB expansion for WiFi dongle (possibly supporting 802.11p) Bi directional GPIO for vehicle signals (Ignition in GPIO_0 wakeup domain) And maybe some more. Are there any requests/requirements that you think might be of benefit to make the cape more usable ? Any feedback appreciated. Kind Regards Marc -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: PWM's and 3.8 Kernel
did you find a solution, I have the same issue now... On Thursday, July 25, 2013 4:56:40 PM UTC-4, Razvan Margineanu Andrei wrote: this is the dmesg log after i inserted the pwm capes: [ 193.724488] bone-capemgr bone_capemgr.8: part_number 'am33xx_pwm', version 'N/A' [ 193.724576] bone-capemgr bone_capemgr.8: slot #7: generic override [ 193.724595] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 7 [ 193.724613] bone-capemgr bone_capemgr.8: slot #7: 'Override Board Name,00A0,Override Manuf,am33xx_pwm' [ 193.724724] bone-capemgr bone_capemgr.8: slot #7: Requesting part number/version based 'am33xx_pwm-00A0.dtbo [ 193.724743] bone-capemgr bone_capemgr.8: slot #7: Requesting firmware 'am33xx_pwm-00A0.dtbo' for board-name 'Override Board Name', version '00A0' [ 193.724764] bone-capemgr bone_capemgr.8: slot #7: dtbo 'am33xx_pwm-00A0.dtbo' loaded; converting to live tree [ 193.725113] bone-capemgr bone_capemgr.8: slot #7: #8 overlays [ 193.730593] ehrpwm 48300200.ehrpwm: unable to select pin group [ 193.732133] ecap 48300100.ecap: unable to select pin group [ 193.734594] ehrpwm 48302200.ehrpwm: unable to select pin group [ 193.738033] ehrpwm 48304200.ehrpwm: unable to select pin group [ 193.738700] ecap 48304100.ecap: unable to select pin group [ 193.739443] bone-capemgr bone_capemgr.8: slot #7: Applied #8 overlays. [ 204.380533] bone-capemgr bone_capemgr.8: part_number 'bone_pwm_P8_13', version 'N/A' [ 204.380616] bone-capemgr bone_capemgr.8: slot #8: generic override [ 204.380635] bone-capemgr bone_capemgr.8: bone: Using override eeprom data at slot 8 [ 204.380653] bone-capemgr bone_capemgr.8: slot #8: 'Override Board Name,00A0,Override Manuf,bone_pwm_P8_13' [ 204.380754] bone-capemgr bone_capemgr.8: slot #8: Requesting part number/version based 'bone_pwm_P8_13-00A0.dtbo [ 204.380773] bone-capemgr bone_capemgr.8: slot #8: Requesting firmware 'bone_pwm_P8_13-00A0.dtbo' for board-name 'Override Board Name', version '00A0' [ 204.380794] bone-capemgr bone_capemgr.8: slot #8: dtbo 'bone_pwm_P8_13-00A0.dtbo' loaded; converting to live tree [ 204.381101] bone-capemgr bone_capemgr.8: slot #8: #2 overlays [ 204.386205] bone-capemgr bone_capemgr.8: slot #8: Applied #2 overlays. -- 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] How to setup customer uboot and kernel and rootfs quickly for BBB booting using uSD?
I got my BBB yesterday, and I want to build and populate customized uboot and kernel quickly. What I want to know is the instructions like: after the uboot and kernel and busybox are built, how to make the partition of MicroSD card(layout), and copy files to which paritition? I don't want to download the Angstrom Distribution release and the SDK, for my really slow speed Internet, the 281MBytes release package would take me many hours. 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] Can't log on
i cannot log *into* my beaglebone. i plug it in and it goes through a series of lights and shuts right down -- 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] Getting BBB working with pyAudio and USB Audio card
I'm trying to get pyAudio operational with a C-media mic/speaker card on a beaglebone black running ubuntu 13.04. After many permutations of attempts, I'm seeking help here - as I simply cannot get the combination of configuration and pyAudio to play nice here. I've disabled the HDMI by modifying uEnv.txt: optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN And I see my sound card listed: root@ubuntu-armhf:/home/ubuntu# cat /proc/asound/devices 2: [ 1- 0]: digital audio playback 3: [ 1- 0]: digital audio capture 4: [ 1] : control 33:: timer and: root@ubuntu-armhf:/home/ubuntu# aplay -l List of PLAYBACK Hardware Devices card 1: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 Simple python code fails: import pyaudio p=pyaudio.PyAudio() s=p.open(format=pyaudio.paInt16,input_device_index=1,channels=1,rate=44100,input=True,frames_per_buffer=1024) with the following errors: root@ubuntu-armhf:/home/ubuntu# python audio_test.py ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory Attempts to change the default card to '0' have failed as well. 2 Examples: 1. Per: http://ubuntuforums.org/showthread.php?t=1313071, adding root@ubuntu-armhf:/etc/modprobe.d# tail -1 alsa-base.conf options snd-card-usb-caiaq index=0 does not seem to set the default card to 0 (this is the setting used above) 2. Changing asound.conf per: http://feipengy.no-ip.biz/blog/2013/12/09/enable-audio-in-beaglebone-black/ Similar failure is observed from pyAudio. Any ideas? I suspect I'm missing something really obvious here. -- 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: problems with webcams
Hello, ive been reading through the group and found i have found it very helpful. i am running an odroid u2 with ubuntu 12.11 and opencv 2.4.6.1. i used the code i found in git :/mdarling39/https://github.com/mdarling39/LinuxVision/blob/master/OCVCapture.cppto capture from a logitech c920. i ran into an issue when i set the resolution to 1280*720 the fps would not go past 10. however for any smaller resolution i am able to get 15 fps no problem. the custom capture code certainly does use less resources than the built in opencv function. i have 2 threads, the main for capturing and the second for processing both of which do not max out their cpu so i cant figure out why im getting this fps drop. any help would be appreciated. Thanks On Thursday, January 30, 2014 3:17:40 PM UTC-5, Matthew Witherwax wrote: If you bypass OpenCV and capture directly like we did, you should test to see if you can capture successfully in YUYV format. OpenCV can convert YUYV to a Mat with less than 3% cpu use. If you capture in MJPEG, you will see cpu use of 90% or more to convert the image to a Mat. This isn't so bad on the Wandboard because it only consumes one core, but can be intense on the single core BBB. I can tell you from testing with the Wandboard Quad, it can push 30 fps in YUYV over USB. However, it is only possible to stream from one camera at 30 fps in YUYV. In short it is a tradeoff. You can either saturate the USB and save processing or save bandwidth and increase processing. Something to consider depending on your needs. On Thu, Jan 30, 2014 at 12:53 PM, Michael Darling fndrpl...@gmail.comjavascript: wrote: Okay, so the problem you're having has to do with bugs in OpenCV, itself. Unfortunately, the capture methods in OpenCV do not set the camera properties correctly for video4linux devices. In other words, you may write the line of code to set the frame rate to 30 fps, but the camera isn't actually getting the instruction to change the frame rate. The fix Matthew and I have used is to just use our own video4linux capture code. You might be able to modify the OpenCV source code, but the capture code is difficult to follow since there are so many layers of abstraction. (There are a lot of wrapper classes used to handle v4l2 devices, v4l1 devices, Mac, Windows so that the programmer doesn't have to handle each camera differently depending on his/her system.) Hope that explains some things for you :) - Mike -- 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/G5Xs2JuwD_4/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Motor Controller for BeagleBone Black
Hi Morgan, How is the Motor shield wired to the beaglebone? I see that you are using P8_9,10,15, and 16, wondering what pins on the shield are the hooked up to. On Thursday, September 5, 2013 1:29:55 PM UTC-5, T.Morgan wrote: I'm using an Arduino Motor Servo Shieldhttp://osepp.com/products/shield-arduino-compatible/motor-servo-shield/. It's obviously not pin compatible, but it's cheap ($20). The only fiddly part is controlling the on-board 74595 shift-register. I used the following Python script. import Adafruit_BBIO.GPIO as GPIO # Beaglebone pin names for interface to 74HCT595 latch # (Arduino lib name = shield name = BBB pin) MOTORENABLE = DIR_EN = P8_15 MOTORDATA = DIR_SER = P8_16 MOTORCLK = DIR_CLK = P8_9 MOTORLATCH = DIR_LATCH = P8_10 def bit(n): return 1n class ShiftRegister(object): def __init__(self, d): self.data = d GPIO.setup(DIR_EN,GPIO.OUT) GPIO.setup(DIR_SER,GPIO.OUT) GPIO.setup(DIR_CLK,GPIO.OUT) GPIO.setup(DIR_LATCH,GPIO.OUT) GPIO.output(DIR_EN,GPIO.LOW) # Enable shift register self.transmit() # Switch off (RELEASE) all motors def string(self): return '{0:08b}'.format(self.data) def bit(self, n): return GPIO.HIGH if (self.data bit(n)) else GPIO.LOW def set(self, n, x): # Set the nth bit on or off if x: self.data |= bit(n) else: self.data = ~bit(n) def setall(self, d): self.data = d # Copy self.data to the 74HCT595 shift register one bit at a time via the # serial data bit (DIR_SER). Each time the serial clock (DIR_CLK) goes from # low to high, the current contents of the 74HCT595's register are shited # one bit to the left and DIR_SER is copied into the rightmost bit. # When DIR_LATCH goes from low to high the contents of the shift register # are moved to the chip's 8 output pins. # (These 8 bits control the motor shield's 4 H-bridges.) def transmit(self): GPIO.output(DIR_LATCH,GPIO.LOW)# - Set latch trigger low GPIO.output(DIR_SER,GPIO.LOW)# - Set serial data bit low for i in xrange(0,8):# - For each bit of motor_register: GPIO.output(DIR_CLK,GPIO.LOW)# - Set serial clock trigger low GPIO.output(DIR_SER, self.bit(7-i)) # - Copy register bit(7-i) to the serial data bit GPIO.output(DIR_CLK,GPIO.HIGH)# - Set serial clock trigger high; the # rising edge shifts the serial data bit # into the 74HCT595's shift register. GPIO.output(DIR_LATCH,GPIO.HIGH)# - Set the latch trigger high; the # rising edge sends the stored # bits to the 74HCT595's parallel outputs. GPIO.output(DIR_SER,GPIO.LOW) GPIO.output(DIR_CLK,GPIO.LOW) GPIO.output(DIR_LATCH,GPIO.LOW) and call with: # Shift register bits motor control bits (from AFmotor.h) # (Bit positions in the 74HCT595 shift register output.) MOTOR1_A = 2 MOTOR1_B = 3 MOTOR2_A = 1 MOTOR2_B = 4 MOTOR3_A = 5 MOTOR3_B = 7 MOTOR4_A = 0 MOTOR4_B = 6 MOTOR_BITS = [(MOTOR1_A,MOTOR1_B), (MOTOR2_A,MOTOR2_B), (MOTOR3_A,MOTOR3_B), (MOTOR4_A,MOTOR4_B)] # 74HCT595 output bits # 7 6 5 4 3 2 1 0 # 3B, 4B, 3A, 2B, 1B, 1A, 2A, 4A class Robot(object): def __init__(self): self.control_bits = shift_register.ShiftRegister(0) ... # Switch motor's control bits depending on command. def run(self, motornum, cmd): # Find the control bits (74HCT595 output pins) corresponding to the given motor. a, b = MOTOR_BITS[motornum -1]# Arduino library uses 1..4 # Translate the given command into a pair of control bits x, y = COMMAND_BITS[cmd -1]# Arduino library uses 1..4 self.control_bits.set(a, x) # Set bit MOTORn_A self.control_bits.set(b, y) # and bit MOTORn_B. self.control_bits.transmit()# Send the control bits to the 74HCT595. -- 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: BBB and element 14 BB-View cape
Did you get it working? I had a similar issue with the 4.3 inch version. First off insure you are using 5v adapter, usb doesnt put out enough power to power both. If you are booting up and only see the red led0 flashing, then it is your cable. Also I read somewhere for the 7inch, you need to configure it using putty/ssh connection to work properly. Just follow directions for this on http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone Should cover this on the full version of the user manual. Steven from Texas On Thursday, January 23, 2014 5:34:44 PM UTC-6, dlhes...@gmail.com wrote: I have just got the BB-view cape with an 7inch lcd but can't get the thing working, I have tried flashing the TI images froom element 14 and the angstrom image but neither seam to work. Have I wasted my money? I am currently using a A5A BBB, I have ordered another BBB which I think may be an A6 just to see if it's my BBB. Does anyone have any experience of the BB-View or can point me in the right direction? -- 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: problems with webcams
Hello, ive been reading through this group and found it very useful. i am using an odroid U2 with a logitech c920, on ubuntu 12.11 and opencv 2.4.6.1 ive used the custom capture code found https://github.com/mdarling39/LinuxVision/blob/master/OCVCapture.cpp to capture. while it certainly uses less resources than the built in function in opencv. for some reason when i set the resolution to 1280*720 the fps wont go past 10, but for any smaller resolution i am able to get 15 fps no problem. the cpu usage is not maxed out when i use 1280*720 resolution. any help 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] BBB Power On And Then ... ?
Hello, I want to understand the power on process at a low level. I use FreeBSD on the BBB. However, I want to know what happens up to UBoot taking over. To start, if I have a serial debug cable connected, an RJ-45 cable connected and a micro SD card in the slot, when I press the SD card boot button and apply power, what happens? -V- -- 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] Beaglebone black control using Matlab
I am trying to establish a link to BBB using Matlab command prompt. The goal is to use existing scripts but have the ability to control the GPIO using Matlab. Does anyone know how to do that? I have been able to locate it using the serial connections. Has anyone else been able to control the BBB using Matlab? I use Matlab R 2012 Thank you -- 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] USB Serial issues on Beaglebone
Hey All, I've just tried to move my BeagleBone from the TI provided BSP (Argo Linux 3.2 Release 04.06.00.11) to one of the newer community kernels from https://github.com/beagleboard/kernel. I'm not using any distro, just a busybox based rootfs. My motivations for moving to the later kernels are to gain Device Tree and a bunch of other drivers for some I2C devices as well as the TPS PMIC backlight (ultimately this will be used on a Beaglebone based custom design). I figured it would be easier to move forward that to reverse engineer these drivers into the old 3.2 kernel. Everything seems to work, except for one of the USB use cases I'm interested in. I'm able to mount a USB stick and copy a couple of gigs of data between the two without any issues. However, when I try to communicate with a CP2102 USB UART I very quickly seem to hang the driver. This worked fine in the old 3.2 kernel. It seems to send a bunch of data (but It doesn't seem to arrive on the other end of the UART) and then the TX buffer fills and causes my sending test app (https://gist.github.com/anonymous/1f2b2d5bca0041aa42d6) to hang. When I pull the USB cable, I get a kernel panic somewhere in the DMA driver waiting to clear the FIFO. I've tried this on 3.8, 3.12 and 3.13 all with similar results. 3.8 panic:https://gist.github.com/anonymous/3797f93521ce931f82e6 3.13 panic: https://gist.github.com/anonymous/35c4c49e5a9514d2adb8 I'm using the stock am335x-bone.dts for each of the kernels. I've also removed the USB support from u-boot (2014.01) to make sure no contamination got through. Now although this only manifests with the cp210x driver (at least for me), I've done a diff between 3.2 and 3.13 versions and I can’t see anything too significant that’s changed. I'm thinking it's somewhere under the hood within the musb core/platform bindings, which is my next avenue of investigation. However I figured I’d see if anyone else has run into any problems like this, and was wondering if someone could answer a couple of questions I have: * What is the recommended kernel to be using now? Should I stick to 3.13? * How much verification/what verification has been done on the USB Host to define it as working as is declared in README.md Cheers for any help Chris -- 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] Beaglebone USB serial issues
Hey All, I've just tried to move my BeagleBone from the TI provided BSP (Argo Linux 3.2 Release 04.06.00.11) to one of the newer community kernels from https://github.com/beagleboard/kernel. I'm not using any distro, just a busybox based rootfs. My motivations for moving to the later kernels are to gain Device Tree and a bunch of other drivers for some I2C devices as well as the TPS PMIC backlight (ultimately this will be used on a Beaglebone based custom design). I figured it would be easier to move forward that to reverse engineer these drivers into the old 3.2 kernel. Everything seems to work, except for one of the USB use cases I'm interested in. I'm able to mount a USB stick and copy a couple of gigs of data between the two without any issues. However, when I try to communicate with a CP2102 USB UART I very quickly seem to hang the driver. This worked fine in the old 3.2 kernel. It seems to send a bunch of data (but It doesn't seem to arrive on the other end of the UART) and then the TX buffer fills and causes my sending test app (https://gist.github.com/anonymous/55ab3051827aeb698f95) to hang. When I pull the USB cable, I get a kernel panic somewhere in the DMA driver waiting to clear the FIFO. I've tried this on 3.8, 3.12 and 3.13 all with similar results (3.13 panic = https://gist.github.com/anonymous/12ef2a1223f7a953f293) I'm using the stock am335x-bone.dts for each of the kernels. I've also removed the USB support from u-boot (2014.01) to make sure no contamination got through. I've also tried to disabling the USB DMA support in the kernel .config. I've found that I get the exact same symptoms if I use a different USB UART ftdio_sio, so I think the problem is somewhere under the hood within the musb core/platform bindings. I figured I’d see if anyone else has run into any problems like this, and was wondering if someone could answer a couple of questions I have: * What is the recommended kernel to be using now? Should I stick to 3.13? * How much verification/what verification has been done on the USB Host to define it as working as is declared in README.md Cheers for any help Chris -- 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 kernel 3.12.10/ GPMC
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? -- 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 angstrom project still alive ?
Hello, The web server http://www.angstrom-distribution.org/ has been down for a while, so I was wondering if the angstrom project is still active or If I should switch to another distrib ? Thanks Alex. -- 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: QT Application weird problem on beagleboard
I've got the same issue.. The problem is that Qt use a virtual framebuffer and your Angstrom use X11 .. I tried to did this: sudo service lxdm stop (I use lxdm ).. so it stop X11 and I can use the the virtual frame buffer without the conflict with X11 .. But it doesn't work well because the mouse pointer is shifted (I use a touch screen).. So now I'm trying to cross compile Qt with X11 support (I mean without embedded arm option).. and I find this a bit difficult.. -- 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] fried - replacement?
What sort of tolerances? Higher than what? Gerald On Sat, Feb 15, 2014 at 2:20 PM, Grant emailgr...@gmail.com wrote: Beagleboard.org is working fine. Follow the process. http://beagleboard.org/Support/RMA The little guy seems to have magically healed himself! Is this sort of thing fairly common? Unfortunately it has crapped out again in the middle of operation. I'll submit the RMA form. Out of curiosity, is the Black designed with higher tolerances? - Grant My Beaglebone White seems to be fried. I have a spare so I popped the SD card into that one and it works fine. Can I send it in for replacement? - Grant You should use the RMA form on the on beagleboard.org site. I would post a link but beagleboard.org seems down right now and cant get the actual link without the long google search stuff added on. So just google beagleboard RMA and should be the first result. -- 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] Cross Compile Qt on BBB issue
Hello, I'm trying to cross compile Qt SDK for BBB (with Ubuntu or Debian). I managed to compile it well with -*embedded arm* option ... But with this option I have to execute my programs with -qws option.. And I have some issues with the mouse pointer, it doesn't clic where I want and it move my application windows .. I guess it's because I use a touch screen and the calibration needs X11 maybe...?? So I would like to cross compile Qt without the *-embedded arm *option to support and use X11 .. but I need X11 libs for ARM to do this.. so I tried a chroot on a minimal arm file system ubuntu on my PC desktop and link to this librairy in the qmake.conf and made this: ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -xplatform linux-arm-gnueabi-g++ But it doesn't work.. I've got this error message: Basic XLib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/franck/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++. and here is my qmake.conf: franck@VB:~/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++$ cat qmake.conf # # qmake configuration for building with arm-linux-gnueabi-g++ # MAKEFILE_GENERATOR = UNIX TARGET_PLATFORM = unix TEMPLATE= app CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index QT += core gui QMAKE_INCREMENTAL_STYLE = sublib include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/g++-unix.conf) QMAKE_INCDIR_X11 +=/home/franck/chroot-armhf/fs/usr/include/X11/ QMAKE_LIBDIR _X11 +=/home/franck/chroot-armhf/fs/usr/lib/arm-linux-gnueabihf/ # modifications to g++.conf QMAKE_CC= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc QMAKE_CXX = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK_SHLIB= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ # modifications to linux.conf QMAKE_AR= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ar cqs QMAKE_OBJCOPY = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-objcopy QMAKE_STRIP = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-strip load(qt_config) So I decided to compile Qt SDK directly in the arm file system chrooted: I made ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -no-qt3support -nomake demos -nomake examples Now I've got this error message: make[1]: *** [../../lib/libQtCore.so.4.8.5] Error 1 make[1]: Leaving directory `/home/ubuntu/qt-everywhere-opensource-src-4.8.5/src/corelib' make: *** [sub-corelib-make_default-ordered] Error 2 If someone has an idea.. ^^ -- 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] cross compile Qt for BBB
Hello, I'm trying to cross compile Qt SDK for BBB. I managed to compile it well with -*embedded arm* option ... But with this option I have to execute my programs with -qws option.. And I have some issues with the mouse pointer, it doesn't clic where I want and it move my application windows .. I guess it's because I use a touch screen and the calibration needs X11 maybe...?? So I would like to cross compile Qt without the *-embedded arm *option to support and use X11 .. but I need X11 libs for ARM to do this.. so I tried a chroot on a minimal arm file system on my PC desktop and link to this librairy in the qmake.conf and made this: ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -xplatform linux-arm-gnueabi-g++ But it doesn't work.. I've got this error message: Basic XLib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/franck/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++. and here is my qmake.conf: franck@VB:~/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++$ cat qmake.conf # # qmake configuration for building with arm-linux-gnueabi-g++ # MAKEFILE_GENERATOR = UNIX TARGET_PLATFORM = unix TEMPLATE= app CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index QT += core gui QMAKE_INCREMENTAL_STYLE = sublib include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/g++-unix.conf) QMAKE_INCDIR_X11 +=/home/franck/chroot-armhf/fs/usr/include/X11/ QMAKE_LIBDIR _X11 +=/home/franck/chroot-armhf/fs/usr/lib/arm-linux-gnueabihf/ # modifications to g++.conf QMAKE_CC= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc QMAKE_CXX = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK_SHLIB= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ # modifications to linux.conf QMAKE_AR= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ar cqs QMAKE_OBJCOPY = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-objcopy QMAKE_STRIP = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-strip load(qt_config) So I decided to compile Qt SDK directly in the arm file system chrooted: I made ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -no-qt3support -nomake demos -nomake examples Now I've got this error message: make[1]: *** [../../lib/libQtCore.so.4.8.5] Error 1 make[1]: Leaving directory `/home/ubuntu/qt-everywhere-opensource-src-4.8.5/src/corelib' make: *** [sub-corelib-make_default-ordered] Error 2 If someone has an idea.. ^^ -- 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: QT Application weird problem on beagleboard
That´s what I'm up too. I´m trying to search a way to cross compile to X11. If you find any solution, please post here. I´ll do the same, maybe a video guide. I found that beagleboard has two qt demos. The proper qtdemo and qtdemoE. The qtdemo is launch over X11 and qtdemoE must be launched with -qws option. I couldn't find anything about how qtdemo was made. Did you try the tslib calibration solution? I still don't have my LCD7. But theres a video (herehttps://www.youtube.com/watch?feature=player_detailpagev=kP7uvOu9hoQ#t=833) that shows how to calibrate. -- 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: GPIO does not turn on LED
Hi Ralf, Thank you very much! I'll try it out! I actually read few guides on the DT Overlay, but still haven't reached a full understanding of it. Are you familiar with a thorough DT Overlay guide? Thanks a lot! * I'll of course update on the DT Overlay Fragment@1 addition you kindly attached :) On Monday, February 17, 2014 1:10:13 PM UTC+2, Ralf Roesch wrote: Hi Matt, your dts seems not to be complete. Please append following code after your existing fragment@0 section: fragment@1 { target = ocp; __overlay__ { /* avoid stupid warning */ #address-cells = 1; #size-cells = 1; gpio1_16_test { compatible = bone-pinmux-helper; pinctrl-names = default; pinctrl-0 = bb_GPIO1_16_pins; status = okay; }; }; }; Now you should get the expected value: pin 16 (44e10840) 0007 pinctrl-single (I successfully checked the overlay on my bone) regards Ralf -- 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: Cross Compile Qt on BBB issue
for information I installed this packages in my chroot: apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libxcursor-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxrandr-dev libxrender-dev build-essential -- 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] learning ARM assy with BBB
I'm with you Azzy. What we want to do is very fundamental. So why don't these experts tell us how? I wrote an assembler (on another ARM platform), learned the instruction set, stacks, interrupts etc... for the first time, it took me 6 months. But baby, it rocks! Fast, stable bypass mountains of dry meaningless documentation. Now, if i can only crack the sitara. Like, what is wrong with these corporate engineers? Don't they want us to use their technology? All I want to do is boot up my binary. let me know if you get somewhere. thxdd On Saturday, November 2, 2013 8:21:26 AM UTC+2, azzythehillbilly mir wrote: Thanks Gerald. I have installed CCS . Now I am confronted with a gargantuan 1000+ GB IDE and don't know where to begin. There is tons of distractions. It boggles the mind. I might have to uninstall it. For the CCS targets serious program development. My needs are simpler and I don't want to waste time learning what can or should be postponed. Isn't there some simpler IDE for simple needs like mine? Some system where I can write mixed C and assy code? Please help! -- Date: Mon, 28 Oct 2013 11:48:10 -0500 Subject: Re: [beagleboard] learning ARM assy with BBB From: ger...@beagleboard.org javascript: To: beagl...@googlegroups.com javascript: http://beagleboard.org/Getting%20Started Gerald On Mon, Oct 28, 2013 at 11:43 AM, Mark Lazarewicz laza...@yahoo.comjavascript: wrote: You couldn't have searched very hard Google TI IDE you will see Code Composer Sent from Yahoo Mail on Androidhttp://overview.mail.yahoo.com/mobile/?.src=Android -- *From: *azzythehillbilly mir miras...@hotmail.com javascript:; *To: *beagl...@googlegroups.com javascript:; *Subject: *[beagleboard] learning ARM assy with BBB *Sent: *Mon, Oct 28, 2013 3:18:24 PM Hi Forum, I have a problem and I am hoping that I kind soul will direct me whereby I am able to help myself get on my feet. This is a bit embarrassing, but here it goes. I got myself a BBB because I want to switch from using MCS-51 processors and the like. I have no formal schooling in processors or electronics. I started working on processors around 1980 when I got hold of an Ohio scientific and later an AppleII+. Later moved to Z80/Z8000/8086/68030 and similar as I started to formally design HW and SW for embedded systems. Never had to bother even with C so have been hacking merrily away with Assembly only. Rarely adding ( with difficulty) bits of code for floating point when my own extended math routines simply would not do. This works for me as I have learned to cram as much functionality as possible into limited resources. I can get working code written and debugged faster than most C coders can. I know nearly zero about Linux//Ubuntu/Fedora. Unless someone has worked on the simple old controllers one might not understand how exciting ( mouth watering even! ) it is to contemplate the peripherals this Sitara 3359 processor provides. I just need to get a jump start. Here is the problem, I want to write code for the Sitara-3359 and learn the nuts and bolts of low level programming (assy). I need some kind of a simple IDE Where I can take control of the processor from reset onwards ( barring un-by passable initializing code prewritten into the processor?). I have been searching all over the net for just that but come up frustrated by the huge number of names/acronyms and all. There are just too many branches to investigate. I get lost every time I try. For the moment I want merely to exercise the Sitara and study its responses, no desire to write any commercial application (with the possible exception of a camera interface for my telescopes). Please kindly somebody point me in the right directions. Once I have the correct IDE set up I can take over and dive into the details. No problem there. Thanks in advance Azzythehillbilly -- 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...@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 a topic in the Google Groups
Re: [beagleboard] learning ARM assy with BBB
Did you look on the Wiki? http://www.elinux.org/Beagleboard:BeagleBoneBlack#TI_EZSDK Gerald On Mon, Feb 17, 2014 at 9:06 AM, ddlawre...@rocketmail.com wrote: I'm with you Azzy. What we want to do is very fundamental. So why don't these experts tell us how? I wrote an assembler (on another ARM platform), learned the instruction set, stacks, interrupts etc... for the first time, it took me 6 months. But baby, it rocks! Fast, stable bypass mountains of dry meaningless documentation. Now, if i can only crack the sitara. Like, what is wrong with these corporate engineers? Don't they want us to use their technology? All I want to do is boot up my binary. let me know if you get somewhere. thxdd On Saturday, November 2, 2013 8:21:26 AM UTC+2, azzythehillbilly mir wrote: Thanks Gerald. I have installed CCS . Now I am confronted with a gargantuan 1000+ GB IDE and don't know where to begin. There is tons of distractions. It boggles the mind. I might have to uninstall it. For the CCS targets serious program development. My needs are simpler and I don't want to waste time learning what can or should be postponed. Isn't there some simpler IDE for simple needs like mine? Some system where I can write mixed C and assy code? Please help! -- Date: Mon, 28 Oct 2013 11:48:10 -0500 Subject: Re: [beagleboard] learning ARM assy with BBB From: ger...@beagleboard.org To: beagl...@googlegroups.com http://beagleboard.org/Getting%20Started Gerald On Mon, Oct 28, 2013 at 11:43 AM, Mark Lazarewicz laza...@yahoo.comwrote: You couldn't have searched very hard Google TI IDE you will see Code Composer Sent from Yahoo Mail on Androidhttp://overview.mail.yahoo.com/mobile/?.src=Android -- *From: *azzythehillbilly mir miras...@hotmail.com; *To: *beagl...@googlegroups.com; *Subject: *[beagleboard] learning ARM assy with BBB *Sent: *Mon, Oct 28, 2013 3:18:24 PM Hi Forum, I have a problem and I am hoping that I kind soul will direct me whereby I am able to help myself get on my feet. This is a bit embarrassing, but here it goes. I got myself a BBB because I want to switch from using MCS-51 processors and the like. I have no formal schooling in processors or electronics. I started working on processors around 1980 when I got hold of an Ohio scientific and later an AppleII+. Later moved to Z80/Z8000/8086/68030 and similar as I started to formally design HW and SW for embedded systems. Never had to bother even with C so have been hacking merrily away with Assembly only. Rarely adding ( with difficulty) bits of code for floating point when my own extended math routines simply would not do. This works for me as I have learned to cram as much functionality as possible into limited resources. I can get working code written and debugged faster than most C coders can. I know nearly zero about Linux//Ubuntu/Fedora. Unless someone has worked on the simple old controllers one might not understand how exciting ( mouth watering even! ) it is to contemplate the peripherals this Sitara 3359 processor provides. I just need to get a jump start. Here is the problem, I want to write code for the Sitara-3359 and learn the nuts and bolts of low level programming (assy). I need some kind of a simple IDE Where I can take control of the processor from reset onwards ( barring un-by passable initializing code prewritten into the processor?). I have been searching all over the net for just that but come up frustrated by the huge number of names/acronyms and all. There are just too many branches to investigate. I get lost every time I try. For the moment I want merely to exercise the Sitara and study its responses, no desire to write any commercial application (with the possible exception of a camera interface for my telescopes). Please kindly somebody point me in the right directions. Once I have the correct IDE set up I can take over and dive into the details. No problem there. Thanks in advance Azzythehillbilly -- 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...@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] Re: QT Application weird problem on beagleboard
Thanks for your answer. I didn't try the tslib yet.. Thanks for your link, I'll have a look on it ^^ For the moment I tried to link X11 libs to an arm file system .. I installed the libs on this file system with chroot and qemu solutions.. Tell me if you want more information to do this.. I tried aslo to compile Qt entirely and directly in the arm file system, but I 've got an other issue.. I made a post about my try compiling Qt with X11: https://groups.google.com/forum/?fromgroups=#!category-topic/beagleboard/software/edorvudP128 I think it's a pity that there is no How to tutorial to make this ..I guess we are not the only ones trying to do this..? I 'll make too a tutorial if I manage to do it.. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Cross Compile Qt on BBB issue
To fix your calibration issue watch this video https://www.youtube.com/watch?v=kP7uvOu9hoQnoredirect=1 at the middle of the video, the guy explain how to fix the calibration issue with Qt programs using tslib-calibrate package. On Monday, February 17, 2014 2:41:16 PM UTC+1, Franck freedev wrote: Hello, I'm trying to cross compile Qt SDK for BBB (with Ubuntu or Debian). I managed to compile it well with -*embedded arm* option ... But with this option I have to execute my programs with -qws option.. And I have some issues with the mouse pointer, it doesn't clic where I want and it move my application windows .. I guess it's because I use a touch screen and the calibration needs X11 maybe...?? So I would like to cross compile Qt without the *-embedded arm *option to support and use X11 .. but I need X11 libs for ARM to do this.. so I tried a chroot on a minimal arm file system ubuntu on my PC desktop and link to this librairy in the qmake.conf and made this: ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -xplatform linux-arm-gnueabi-g++ But it doesn't work.. I've got this error message: Basic XLib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/franck/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++. and here is my qmake.conf: franck@VB:~/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++$ cat qmake.conf # # qmake configuration for building with arm-linux-gnueabi-g++ # MAKEFILE_GENERATOR = UNIX TARGET_PLATFORM = unix TEMPLATE= app CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index QT += core gui QMAKE_INCREMENTAL_STYLE = sublib include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/g++-unix.conf) QMAKE_INCDIR_X11 +=/home/franck/chroot-armhf/fs/usr/include/X11/ QMAKE_LIBDIR _X11 +=/home/franck/chroot-armhf/fs/usr/lib/arm-linux-gnueabihf/ # modifications to g++.conf QMAKE_CC= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc QMAKE_CXX = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK_SHLIB= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ # modifications to linux.conf QMAKE_AR= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ar cqs QMAKE_OBJCOPY = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-objcopy QMAKE_STRIP = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-strip load(qt_config) So I decided to compile Qt SDK directly in the arm file system chrooted: I made ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -no-qt3support -nomake demos -nomake examples Now I've got this error message: make[1]: *** [../../lib/libQtCore.so.4.8.5] Error 1 make[1]: Leaving directory `/home/ubuntu/qt-everywhere-opensource-src-4.8.5/src/corelib' make: *** [sub-corelib-make_default-ordered] Error 2 If someone has an idea.. ^^ -- 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: QT5.1.1 running on BeagleBoneBlack
Hello, since you guys seems to well know the BBB I would like to know if it is possible to compile Qt5.2 for angstrom distribution or do I have to install the TI SQK ? Thanks for your help. On Sunday, December 15, 2013 9:51:33 PM UTC+1, John Syne wrote: I finally managed to get QT5.1.1 running on BBB. I could not get the cross compile to work so I resorted to compiling QT natively on the BBB. My setup is as follows: I followed this guide: http://tigraphics.blogspot.in/2013/11/4q-2013-linux-graphics-sdk-release.html My BBB mounts the rootfs via NFS on my desktop using the folder targetNFS. Kernel: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git Branch: ti-linux-3.12.y Apply SGX-DT-node.patch Not sure why Robert Nelson’s kernel doesn’t work. Will investigate further. RootFS: omap-image-builder debian-7.2-machinekit-armhf Graphics SDK: Graphics_SDK_5_00_00_01_hardfp Update Make.rules Desktop #make BUILD=release OMAPES=8.x PM_RUNTIME=1 all Desktop #sudo make BUILD=release OMAPES=8.x PM_RUNTIME=1 install QT: git://gitorious.org/qt/qt5.git Branch: v5.1.1 BBB #./init-repository BBB #make Takes about 40 hours to build BBB #make install Takes about 2 hours to install TI SGX patches: https://github.com/prabindh/qt-configs.git Apply patches from qt5_1.0_Aug13, qt5_1_1_Sept13, ti_eglfs and webgl_5.1.1 BBB #./configure –prefix /home/userid/targetNFS/usr/local/qt5 –release –make libs –platform linux-arm-gnueabi-ti-g++ -opengl es2 -confirm–license –opensource –ice -no–xcb -no–pcb –make examples –verbose –I /home/userid/targetNFS/usr/include/OGLES2 –L /home/userid/targetNFS/lib/arm-linux-gnueabihf BBB #/etc/init.d/335x-demo Reboot BBB BBB #modprobe pvrsrvkm BBB #modprobe omaplfb BBB #/etc/init.d/rc.pvr start To run qt applications with –platform eglfs you need the following BBB #export QT_PLUGIN_PATH=/usr/local/qt5.1.1/plugins To enable keyboard input do the following: BBB #sudo chmod +r /dev/input/event0 To enable mouse input, do the following: BBB #sudo chmod +r /dev/input/event1 Performance looks very good. I hope this help. Regards, John -- 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: Cross Compile Qt on BBB issue
Thanks for the link ^^ Le lundi 17 février 2014 14:41:16 UTC+1, Franck freedev a écrit : Hello, I'm trying to cross compile Qt SDK for BBB (with Ubuntu or Debian). I managed to compile it well with -*embedded arm* option ... But with this option I have to execute my programs with -qws option.. And I have some issues with the mouse pointer, it doesn't clic where I want and it move my application windows .. I guess it's because I use a touch screen and the calibration needs X11 maybe...?? So I would like to cross compile Qt without the *-embedded arm *option to support and use X11 .. but I need X11 libs for ARM to do this.. so I tried a chroot on a minimal arm file system ubuntu on my PC desktop and link to this librairy in the qmake.conf and made this: ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -xplatform linux-arm-gnueabi-g++ But it doesn't work.. I've got this error message: Basic XLib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/franck/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++. and here is my qmake.conf: franck@VB:~/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++$ cat qmake.conf # # qmake configuration for building with arm-linux-gnueabi-g++ # MAKEFILE_GENERATOR = UNIX TARGET_PLATFORM = unix TEMPLATE= app CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index QT += core gui QMAKE_INCREMENTAL_STYLE = sublib include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/g++-unix.conf) QMAKE_INCDIR_X11 +=/home/franck/chroot-armhf/fs/usr/include/X11/ QMAKE_LIBDIR _X11 +=/home/franck/chroot-armhf/fs/usr/lib/arm-linux-gnueabihf/ # modifications to g++.conf QMAKE_CC= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc QMAKE_CXX = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK_SHLIB= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ # modifications to linux.conf QMAKE_AR= /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ar cqs QMAKE_OBJCOPY = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-objcopy QMAKE_STRIP = /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-strip load(qt_config) So I decided to compile Qt SDK directly in the arm file system chrooted: I made ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -no-qt3support -nomake demos -nomake examples Now I've got this error message: make[1]: *** [../../lib/libQtCore.so.4.8.5] Error 1 make[1]: Leaving directory `/home/ubuntu/qt-everywhere-opensource-src-4.8.5/src/corelib' make: *** [sub-corelib-make_default-ordered] Error 2 If someone has an idea.. ^^ -- 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: GPIO does not turn on LED
Matt, I have not a lot of device tree experience. Currently I design a FPGA-based cape for motion control. The cape must be supported by device tree. So I was forced to get an basic understanding of the dts mechanism. I took some simple and some complex dts sources from kernel tree and studied the description. Sometimes it is helpful to grep some description keywords in the kernel source or in the web to get an better understanding of the mechanism. There are a lot of device tree guides floating around. This one might be a good starting point http://www.circuidipity.com/bbb-dt.html and contains some more useful links. But be aware some descriptions get sometimes outdated and can not be taken 1:1. regards Ralf -- 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 do I deal with the missing omap_mux directory in /sys/kernel/debug?
I have the same problem, and i use the same version of angstrom. But no have the solution. El martes, 7 de enero de 2014 23:39:51 UTC-3, BeagleNoob escribió: So I was following another one of Derek Molloy's videos on using the BBB, this time on GPIO's: Beaglebone: GPIO Programming on ARM Embedded Linuxhttp://www.youtube.com/watch?v=SaIpz00lE84lc=JdlhUeEi_0kNlx7vRz8dghZ_nQ8L88nz0CacbSxxovw Around 8:00, he goes into a directory called omap_mux in the sys/kernel/debug directory, but I don't see it in my BBB. I've Googled around and found that a lot of people have this problem, but couldn't find a real solution. As far as I understand this directory is supposed to have all the pins for GPIO. Is that correct? How can I get around this to access GPIO? Thanks for any help with this! :-) FYI, when I run *uname -a* I get the following output: Linux beaglebone 3.8.13 #1 SMP Wed Sep 4 09:09:32 CEST 2013 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.
RE: [beagleboard] learning ARM assy with BBB
Hi DD, I know exactly what you mean when you say that your assembly software rocks. And I am with you when you talk about the , mountains of dry meaningless documentation Only someone who has written good assy knows what assy can do and what C can never hope to. Every one said that a 8051 running at 30 MHz could never transfer a bmp file from an SDHC card to an LCD at a reasonable speed. They are wrong. With just one 4 x 2 input nand gate I find a way to do just that using the built in SPI port on the 89C51AC3. The data is setup and goes directly from the memory to the LCD. The processor only controls the clock. The rest is assy. I will soon start a blog of my own where I promise to fleece C, Linux and all that trash. I have nearly given up on this whole business. Besides, I don't want to learn/code in C or any other higher lingo any more. And I am no fan of Linux either. I see no need for it. From the bits I know, and looking at C code, I can tell that it is an impossibly stupid language. I am sure that you are aware that it started as a joke. ( look for C started as a joke with Google.) I am reading the Cortex manuals and hope to be able to write good Assy for this processor. I have no need for the | packages Can one imagine a language where even the experts cannot agree as to what a particular combination of operators forming a statement means. And like marketing warriors they claim that the minimalism of C is a prized feature. In fact a deadly weakness Bah. I hold that Assembly is an undervalued stock. And C's much vaunted cross platform capability is oversold. A lingo where such basic elements as the very size of variables is suspect. Porting C code from one platform to another is a joke, albeit a cruel one. And it is not true that my work was some low grade S*4#$T. One of my proud creations lives at 20,00 feet and the other moves at 600MPH at under 500 feet. So I know my stuff. I have been probing at some of these heroes who talk incessantly on the forums about the latest software they have mastered. I suspect that they actually in fact understand zilch. Some of my pointy questions in a way that suggests this conclusion. And do you want to know why the experts don't tell us how? Because they don't know it themselves. Read up the Sitara manuals. They are long but easy to follow. I think I should with luck be able to handle the Sitara. I have given up on the Cubie though. Thanks for reading this harangue. And stay in touch. I will send you the link to my blog whan I have it up. The skunks have given permission Azzythehillbilly. Date: Mon, 17 Feb 2014 07:06:42 -0800 From: ddlawre...@rocketmail.com To: beagleboard@googlegroups.com Subject: Re: [beagleboard] learning ARM assy with BBB I'm with you Azzy. What we want to do is very fundamental. So why don't these experts tell us how? I wrote an assembler (on another ARM platform), learned the instruction set, stacks, interrupts etc... for the first time, it took me 6 months. But baby, it rocks! Fast, stable bypass mountains of dry meaningless documentation. Now, if i can only crack the sitara. Like, what is wrong with these corporate engineers? Don't they want us to use their technology? All I want to do is boot up my binary. let me know if you get somewhere. thxdd On Saturday, November 2, 2013 8:21:26 AM UTC+2, azzythehillbilly mir wrote: Thanks Gerald. I have installed CCS . Now I am confronted with a gargantuan 1000+ GB IDE and don't know where to begin. There is tons of distractions. It boggles the mind. I might have to uninstall it. For the CCS targets serious program development. My needs are simpler and I don't want to waste time learning what can or should be postponed. Isn't there some simpler IDE for simple needs like mine? Some system where I can write mixed C and assy code? Please help! Date: Mon, 28 Oct 2013 11:48:10 -0500 Subject: Re: [beagleboard] learning ARM assy with BBB From: ger...@beagleboard.org To: beagl...@googlegroups.com http://beagleboard.org/Getting%20Started Gerald On Mon, Oct 28, 2013 at 11:43 AM, Mark Lazarewicz laza...@yahoo.com wrote: You couldn't have searched very hard Google TI IDE you will see Code Composer Sent from Yahoo Mail on Android From: azzythehillbilly mir miras...@hotmail.com; To: beagl...@googlegroups.com; Subject: [beagleboard] learning ARM assy with BBB Sent: Mon, Oct 28, 2013 3:18:24 PM Hi Forum, I have a problem and I am hoping that I kind soul will direct me whereby I am able to help myself get on my feet. This is a bit embarrassing, but here it goes. I got myself a BBB because I want to switch from using MCS-51 processors and the like. I have no formal schooling in processors or electronics. I started working on processors around 1980 when I got hold of
[beagleboard] Re: GPIO does not turn on LED
Hi Ralf, First of all, thank you for sharing your project, it is very interesting. You do both FPGA design and RT Embedded programming as part of your job? BTW, I hear a lot the term 'cape', what exactly do you mean by that? Second of all, Thanks a lot for the Fragment@1 addition! It works great :) I read the article you attached, it explains the motivation but does not go into details, but it was still helpful to see the big picture. On Monday, February 17, 2014 5:54:22 PM UTC+2, Ralf Roesch wrote: Matt, I have not a lot of device tree experience. Currently I design a FPGA-based cape for motion control. The cape must be supported by device tree. So I was forced to get an basic understanding of the dts mechanism. I took some simple and some complex dts sources from kernel tree and studied the description. Sometimes it is helpful to grep some description keywords in the kernel source or in the web to get an better understanding of the mechanism. There are a lot of device tree guides floating around. This one might be a good starting point http://www.circuidipity.com/bbb-dt.html and contains some more useful links. But be aware some descriptions get sometimes outdated and can not be taken 1:1. regards Ralf -- 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] fried - replacement?
What sort of tolerances? Higher than what? Not knocking it, just looking for info. - Grant Beagleboard.org is working fine. Follow the process. http://beagleboard.org/Support/RMA The little guy seems to have magically healed himself! Is this sort of thing fairly common? Unfortunately it has crapped out again in the middle of operation. I'll submit the RMA form. Out of curiosity, is the Black designed with higher tolerances? - Grant My Beaglebone White seems to be fried. I have a spare so I popped the SD card into that one and it works fine. Can I send it in for replacement? - Grant You should use the RMA form on the on beagleboard.org site. I would post a link but beagleboard.org seems down right now and cant get the actual link without the long google search stuff added on. So just google beagleboard RMA and should be the first result. -- 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: Reference for Enabling GPIO Interrupt
Hi again, To be more focused, I learned that for setting an interrupt you need to simply set a priority if desired, and necessarily clear the desired *INTC_MIRn *bit. However, when the Interrupt is generated, how do I define the Interrupt Handler Routine where I'd write the desired interrupt processing - e.g. turn on a LED when an interrupt is generated? I mean, how do you know how to name the Interrupt Handler's function? Thank you. On Monday, February 17, 2014 10:32:05 AM UTC+2, matt wrote: Hi, I'm trying to work with Interrupts, firstly on GPIO. Is there a reference code for enabling and working with interrupts on the AM335X? (BBB) Thank you. -- 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] fried - replacement?
Well, I would love to answer you, but I am not sure what you are asking for. Gerald On Mon, Feb 17, 2014 at 11:34 AM, Grant emailgr...@gmail.com wrote: What sort of tolerances? Higher than what? Not knocking it, just looking for info. - Grant Beagleboard.org is working fine. Follow the process. http://beagleboard.org/Support/RMA The little guy seems to have magically healed himself! Is this sort of thing fairly common? Unfortunately it has crapped out again in the middle of operation. I'll submit the RMA form. Out of curiosity, is the Black designed with higher tolerances? - Grant My Beaglebone White seems to be fried. I have a spare so I popped the SD card into that one and it works fine. Can I send it in for replacement? - Grant You should use the RMA form on the on beagleboard.org site. I would post a link but beagleboard.org seems down right now and cant get the actual link without the long google search stuff added on. So just google beagleboard RMA and should be the first result. -- 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 beagle board is suitable for industrial purpose ?
which beagle board is suitable for industrial purpose and academic purpose.And in industrial purpose how can i get a support. -- 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: Is there a 'latest stable build' of Angstrom available, and changed regularly?
I imagine you have found this site http://beagleboard.org/latest-images, that is where the official images are. I know that they haven't been updated recently, but I hear that a Debian version is coming along nicely, should be out soon. The kernel in the most recent official image might be outdated, I would check out Robert Nelson's Github page, checkout the latest 3.8.x kernel, and put that onto the beaglebone. That should get you the most stable image to start working with. I would also keep an eye out for the next official image, I'm hoping it is out soon :). On Monday, February 17, 2014 5:36:38 AM UTC-5, c...@isbd.net wrote: I have just got my Beaglebone Black and (being a long time Linux user, from the early 1990s) was looking for a sensible list of Angstrom versions for the Beaglebone Black but I can't really find one. Is there a repository where one can find the 'current' version of Angstrom for the BBB? It happily tells you It is highly recommended that you always use the latest version of the Software. on elinux but there doesn't seem to *be* a latest version of the Software. The link it gives to Updating the software tells you how to do the update and how to see what version is installed but there's no clue as to how to find stable, new versions. Also, can one update/upgrade 'off the net' from the Angstrom command line or does one always have to go through the loading to SD card and flashing process? It would be much more user friendly to be able to do it from the BBB command line. -- 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.
Re: [beagleboard] Re: How do I deal with the missing omap_mux directory in /sys/kernel/debug?
From: emigudi...@gmail.com Reply-To: beagleboard@googlegroups.com Date: Monday, February 17, 2014 at 7:54 AM To: beagleboard@googlegroups.com Subject: [beagleboard] Re: How do I deal with the missing omap_mux directory in /sys/kernel/debug? I have the same problem, and i use the same version of angstrom. But no have the solution. El martes, 7 de enero de 2014 23:39:51 UTC-3, BeagleNoob escribió: So I was following another one of Derek Molloy's videos on using the BBB, this time on GPIO's: Beaglebone: GPIO Programming on ARM Embedded Linux http://www.youtube.com/watch?v=SaIpz00lE84lc=JdlhUeEi_0kNlx7vRz8dghZ_nQ8L88 nz0CacbSxxovw Around 8:00, he goes into a directory called omap_mux in the sys/kernel/debug directory, but I don't see it in my BBB. I've Googled around and found that a lot of people have this problem, but couldn't find a real solution. mount -t debugfs none /sys/kernel/debug Regards, John As far as I understand this directory is supposed to have all the pins for GPIO. Is that correct? How can I get around this to access GPIO? Thanks for any help with this! :-) FYI, when I run uname -a I get the following output: Linux beaglebone 3.8.13 #1 SMP Wed Sep 4 09:09:32 CEST 2013 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. -- 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: Attention if order LVDS-Board from chalk-elec!!!
Hello Mike, This question is not really related to me, because I'm trying to resolve situation with missed orders as a third-party person. Anyway, here is my point of view on technical support: 1. ChalkElec sells open-source products, you can get schematic and Gerbers from their website to better understand how to use it in your project. 2. They also offer a lot of How-To and test images that allow to check product functionality. 3. Every product has warranty and can be returned in case of any problem that can't be solved on customer side. 4. Also, I know that Ace do his best to answer technical questions that are mostly related not to hardware, but to specific software issues on customer side. I don't know what was the problem in your case, so please send email to me with description - I will try to help somehow. On Sunday, February 16, 2014 2:00:51 PM UTC+4, Mike Eitel wrote: asso.alwandi@... writes: I ordered the screen over a month ago and the money were sent the same day with paypal. After 3 emails they answerd me and said they will send it out within one week. 2 weeks later and I stil havent received the screen. Now a month later and no screen or money back or anything else. DO NOT RECOMEND ever buying anything from them.Den lördagen den 28:e januari 2012 kl. 09:59:00 UTC+1 skrev robo:attention if you like to order LVDS -Board on www.chalk-elec.com this company is very dubios !! details: I ordered on 28.December and payed via paypal I ordered with extra cost DHL EXPRESS in 2.week in january i received nothing. i wrote some mails , and always the answer: is sended, i ask for the tracking number . : today i received the mail with the tracking number bat : i called the DHL. 1. this is not a DHL - Package !! 2. It is a Number for a german Post -Package ! I called the German Post: 1.this Number can not be find in the System 2. this Number is not Express Number , Express-Number begin not with R , begin with E 3.normally at the End of the Number is source - Country: on this number is DE !!! (source Germany ) not MY(Malaysia) it is very dubios company ... I booked my mony back today, i develop it by self , i think it is faster regards robo Hi Yuri All that sounds good, but: If you do not give support for a product it must be either foolproof working or . I understand that you are interessted to fullfil delvery but you risk that in next step alll these guys will be on next stage of frustration. The status I'm in. No support. I bought from a ready to help big seller. But even he never got tge vpack running. So I'm still sitting here with a brick. Mike -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beagleboard] Re: Cross Compile Qt on BBB issue
Can you try this setup. http://www.cloud-rocket.com/2013/07/building-qt-for-beaglebone/ I used this one http://treyweaver.blogspot.com.ar /2010/10/setting-up-qt-development-environment.html but I needed some adaptations. 2014-02-17 16:49 GMT+01:00 Franck freedev franckfree...@gmail.com: Thanks for the link ^^ Le lundi 17 février 2014 14:41:16 UTC+1, Franck freedev a écrit : Hello, I'm trying to cross compile Qt SDK for BBB (with Ubuntu or Debian). I managed to compile it well with -*embedded arm* option ... But with this option I have to execute my programs with -qws option.. And I have some issues with the mouse pointer, it doesn't clic where I want and it move my application windows .. I guess it's because I use a touch screen and the calibration needs X11 maybe...?? So I would like to cross compile Qt without the *-embedded arm *option to support and use X11 .. but I need X11 libs for ARM to do this.. so I tried a chroot on a minimal arm file system ubuntu on my PC desktop and link to this librairy in the qmake.conf and made this: ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -xplatform linux-arm-gnueabi-g++ But it doesn't work.. I've got this error message: Basic XLib functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/franck/qt- everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++. and here is my qmake.conf: franck@VB:~/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++$ cat qmake.conf # # qmake configuration for building with arm-linux-gnueabi-g++ # MAKEFILE_GENERATOR = UNIX TARGET_PLATFORM = unix TEMPLATE= app CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index QT += core gui QMAKE_INCREMENTAL_STYLE = sublib include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/g++-unix.conf) QMAKE_INCDIR_X11 +=/home/franck/chroot-armhf/fs/usr/include/X11/ QMAKE_LIBDIR _X11 +=/home/franck/chroot-armhf/ fs/usr/lib/arm-linux-gnueabihf/ # modifications to g++.conf QMAKE_CC= /home/franck/gcc-linaro-arm- linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc QMAKE_CXX = /home/franck/gcc-linaro-arm- linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK = /home/franck/gcc-linaro-arm- linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ QMAKE_LINK_SHLIB= /home/franck/gcc-linaro-arm- linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ # modifications to linux.conf QMAKE_AR= /home/franck/gcc-linaro-arm- linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ar cqs QMAKE_OBJCOPY = /home/franck/gcc-linaro-arm- linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-objcopy QMAKE_STRIP = /home/franck/gcc-linaro-arm- linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-strip load(qt_config) So I decided to compile Qt SDK directly in the arm file system chrooted: I made ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm-X11 -no-qt3support -nomake demos -nomake examples Now I've got this error message: make[1]: *** [../../lib/libQtCore.so.4.8.5] Error 1 make[1]: Leaving directory `/home/ubuntu/qt-everywhere- opensource-src-4.8.5/src/corelib' make: *** [sub-corelib-make_default-ordered] Error 2 If someone has an idea.. ^^ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: GPIO does not turn on LED
Hi Ralf, It's great for you that you get to work in RD, in such great fields as Embedded Linux and HW design! You had ARM Experience before the BBB? Where did you start learning on Embedded OS (as Linux) and on ARMs? I come from the PIC world OS-less, and ARM with Linux (BBB) is so different to me! Yes, thanks to you the PINMUX works well. I'm now reading on how to configure GPIO Pins to generate interrupt. The hard part is setting the Interrupt Handler. Was it straight-forward for you to work with interrupts? On Monday, February 17, 2014 9:14:29 PM UTC+2, Ralf Roesch wrote: Hi Matt, yes, working on embedded Linux and developing hardware designs is may daily job. Capes can be seen as addons (shields, breakout boards, ...) for the beaglebone. They bring out built in hardware features from the bone or extend the bone with new hardware functions. Here you can find some capes: http://beagleboard.org/cape Nice to hear, that you successfully could complete your testing. regards Ralf -- 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] QT Application weird problem on beagleboard
It won't start, it says: QWSSocket::connectToLocalFile could not connect:: No such file or directory QWSSocket::connectToLocalFile could not connect:: No such file or directory QWSSocket::connectToLocalFile could not connect:: No such file or directory QWSSocket::connectToLocalFile could not connect:: No such file or directory QWSSocket::connectToLocalFile could not connect:: No such file or directory QWSSocket::connectToLocalFile could not connect:: No such file or directory No Qt for Embedded Linux server appears to be running. If you want to run this program as a server, add the -qws command-line option. -- 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: Is angstrom project still alive ?
Just so you know. Much of the Debian and Ubuntu documentation will work for both. Debian also has a ton of information / documentation out there. All you have to do is google. I like Debian because I have been using it for years and it is very solid. Debian on the BBB has also been very solid in my experience. However, this is not a desktop x86 OS so do not expect every single thing to work perfectly, or even to be included in the package manager(s). On Mon, Feb 17, 2014 at 12:10 PM, Ron Morgan ronto...@gmail.com wrote: Im just starting out with ARM and BBB.. but about 30 minutes into angstrom, with the website being down, lack of support, lack of community, lack of documentation I switched. I dont know which distro is the best for what you are doing but.. i think there are better options to angstrom. thats IMHO.. I have a few micro sd cards 8gigs or more and I have been flashing them to run headless distros of debian and ubuntu. at that level they are almost he same thing so. I like Debian because its what we used in school. I like ubuntu because of the support and documentation. I also thought I read a thread on here about a month ago that had to do with BB switching from shipping bbb with Angstrom.. donno tho as Im still new. On Monday, February 17, 2014 3:50:25 AM UTC-7, agambi...@gmail.com wrote: Hello, The web server http://www.angstrom-distribution.org/ has been down for a while, so I was wondering if the angstrom project is still active or If I should switch to another distrib ? Thanks Alex. -- 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] Re: Is there a 'latest stable build' of Angstrom available, and changed regularly?
On 2/17/14, 12:05 PM, c...@isbd.net c...@isbd.net wrote: John Syn john3...@gmail.com wrote: On 2/17/14, 2:36 AM, c...@isbd.net c...@isbd.net wrote: http://downloads.angstrom-distribution.org/demo/beaglebone/testing/ That's *exactly* the problem! No clue as to what's what. Then download the Angstrom repo and build what you want. If this is too complicated for you, then stay with Robert¹s Debian builds. Robert does an amazing job of keeping everything current and he is the best at responding to issues. Regards, John -- Chris Green · -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/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: GPIO does not turn on LED
From: matt engint...@gmail.com Reply-To: beagleboard@googlegroups.com Date: Monday, February 17, 2014 at 12:23 PM To: beagleboard@googlegroups.com Subject: [beagleboard] Re: GPIO does not turn on LED Hi Ralf, It's great for you that you get to work in RD, in such great fields as Embedded Linux and HW design! You had ARM Experience before the BBB? Where did you start learning on Embedded OS (as Linux) and on ARMs? I come from the PIC world OS-less, and ARM with Linux (BBB) is so different to me! Yes, thanks to you the PINMUX works well. I'm now reading on how to configure GPIO Pins to generate interrupt. The hard part is setting the Interrupt Handler. Was it straight-forward for you to work with interrupts? All the training you need is here: http://free-electrons.com/docs/ The training material is up to date and includes DeviceTree material. Another good reference are Linux books by Robert Love, namely Linux Kernel Development and Linux System Programming². I like selected these because they are much more current than Linux Device Drivers 3rd edition² but the updated version is due in July 2014. Regards, John On Monday, February 17, 2014 9:14:29 PM UTC+2, Ralf Roesch wrote: Hi Matt, yes, working on embedded Linux and developing hardware designs is may daily job. Capes can be seen as addons (shields, breakout boards, ...) for the beaglebone. They bring out built in hardware features from the bone or extend the bone with new hardware functions. Here you can find some capes: http://beagleboard.org/cape Nice to hear, that you successfully could complete your testing. regards Ralf -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Is there a 'latest stable build' of Angstrom available, and changed regularly?
John Syn john3...@gmail.com wrote: On 2/17/14, 12:05 PM, c...@isbd.net c...@isbd.net wrote: John Syn john3...@gmail.com wrote: On 2/17/14, 2:36 AM, c...@isbd.net c...@isbd.net wrote: http://downloads.angstrom-distribution.org/demo/beaglebone/testing/ That's *exactly* the problem! No clue as to what's what. Then download the Angstrom repo and build what you want. If this is too complicated for you, then stay with Robert¹s Debian builds. Robert does an amazing job of keeping everything current and he is the best at responding to issues. I'm quite happy to build stuff myself. That's not the issue. The problem is the lack of clarity about Angstrom releases, their stability. etc. -- 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: Is angstrom project still alive ?
Ron Morgan ronto...@gmail.com wrote: [-- text/plain, encoding 7bit, charset: UTF-8, 36 lines --] Im just starting out with ARM and BBB.. but about 30 minutes into angstrom, with the website being down, lack of support, lack of community, lack of documentation I switched. That's what I felt about Angstrom. -- 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.
Re: [beagleboard] BeagleBone Black Webcam
If you're using Roberts instructions for compiling the kernel, did you poke around in menuconfig to see if the cam needed a specific driver compiled in ? Also I would recommend if this is an option that you actually compile the driver module into the kernel ( * ) instead of as a module ( [M] ). Passed this, sorry I have no further advice to add. On Mon, Feb 17, 2014 at 6:50 AM, Robert Nelson robertcnel...@gmail.comwrote: On Sat, Feb 15, 2014 at 11:41 PM, mail.boze...@gmail.com wrote: Hello all, Sorry for the long message, but I want to include all the details I thought were necessary. I am extremely new to Linux, but I have recently purchased a Beaglebone Black, and I am trying to set up a webcam server on it. I have tried to follow several tutorials online, but none of them have worked, because I cannot get the webcam to work. I have a Logitech C525 HD webcam, which is on the list of supported webcams (http://www.ideasonboard.org/uvc/). I am running Debian 7 (wheezy) with Linux Kernel 3.8.13-bone37. I have installed LXDE so I have a desktop, and VLC to check the functionality of the webcam. I am booting off of a 16GB micro SD card. The Beaglebone is being powered by 5 volts via the barrel connector and a power supply. The webcam, keyboard, and mouse are connected to a powered USB hub. The *lsusb* command returns Bus 001 Device 003: ID 0460:0826 Logitech Inc whenever I have the webcam plugged in; so I know the camera is being recognized. However, when I run the *ls /dev/video** command, I get ls: cannot access /dev/video*: No such file or directory. This seems to be what VLC is looking for, so it doesn't see the webcam. When I run the *dmesg|tail* command, none of the entries mentioned anything about video or the UVC driver. I ran *sudo modprobe -v uvcvideo*, then I ran the *dmesg|tail* command again, and this time I got 2 additional lines 1) usbcore registered new interface driver uvcvideo 2) USB video class driver. I apparently have to enable the uvc driver after each restart, but I still don't get anything when from the *ls /dev/video** command. I should also mention that this is my current configuration, but I have also tried this with Ubuntu 12 and Ubuntu 13 (both installed with instructions from ( http://elinux.org/Beagleboard:Ubuntu_On_BeagleBone_Black). I get the same results no matter what I do. I have also tried several other webcams that were not on the list of supported webcams, with the same results. I know the webcams work with Linux because I have tried them on an old laptop that is running Mint 12, and they worked just fine. Since the webcams work in Mint, and many other people have been able to get them working on the Beaglebone, I am obviously missing something, but I don't know where to go from here. Any help would be greatly appreciated. There are known usb issues with the 3.8 kernel.. Please test with either Ubuntu/Debian base microSD: http://elinux.org/BeagleBoardUbuntu http://elinux.org/BeagleBoardDebian Then, cd /opt/scripts/ git pull ./tools/update_kernel.sh --beta-kernel (reboot) To pull in a v3.13.x based kernel.. 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] fried - replacement?
Well, I would love to answer you, but I am not sure what you are asking for. Just wondering if a Black is less likely to die than a White. - Grant What sort of tolerances? Higher than what? Not knocking it, just looking for info. - Grant Beagleboard.org is working fine. Follow the process. http://beagleboard.org/Support/RMA The little guy seems to have magically healed himself! Is this sort of thing fairly common? Unfortunately it has crapped out again in the middle of operation. I'll submit the RMA form. Out of curiosity, is the Black designed with higher tolerances? - Grant My Beaglebone White seems to be fried. I have a spare so I popped the SD card into that one and it works fine. Can I send it in for replacement? - Grant You should use the RMA form on the on beagleboard.org site. I would post a link but beagleboard.org seems down right now and cant get the actual link without the long google search stuff added on. So just google beagleboard RMA and should be the first result. -- 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: Is there a 'latest stable build' of Angstrom available, and changed regularly?
On 2/17/14, 12:35 PM, c...@isbd.net c...@isbd.net wrote: John Syn john3...@gmail.com wrote: On 2/17/14, 12:05 PM, c...@isbd.net c...@isbd.net wrote: John Syn john3...@gmail.com wrote: On 2/17/14, 2:36 AM, c...@isbd.net c...@isbd.net wrote: http://downloads.angstrom-distribution.org/demo/beaglebone/testing/ That's *exactly* the problem! No clue as to what's what. Then download the Angstrom repo and build what you want. If this is too complicated for you, then stay with Robert¹s Debian builds. Robert does an amazing job of keeping everything current and he is the best at responding to issues. I'm quite happy to build stuff myself. That's not the issue. The problem is the lack of clarity about Angstrom releases, their stability. etc. Angstrom is stable, but it isn't going anywhere. Given that the Beagle group are migrating to Debian, I like many others have made that migration also. Robert's Debian image can do everything Angstrom can do and more. Regards, John -- Chris Green · -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/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] fried - replacement?
Same basic design. Gerald On Mon, Feb 17, 2014 at 3:07 PM, Grant emailgr...@gmail.com wrote: Well, I would love to answer you, but I am not sure what you are asking for. Just wondering if a Black is less likely to die than a White. - Grant What sort of tolerances? Higher than what? Not knocking it, just looking for info. - Grant Beagleboard.org is working fine. Follow the process. http://beagleboard.org/Support/RMA The little guy seems to have magically healed himself! Is this sort of thing fairly common? Unfortunately it has crapped out again in the middle of operation. I'll submit the RMA form. Out of curiosity, is the Black designed with higher tolerances? - Grant My Beaglebone White seems to be fried. I have a spare so I popped the SD card into that one and it works fine. Can I send it in for replacement? - Grant You should use the RMA form on the on beagleboard.org site. I would post a link but beagleboard.org seems down right now and cant get the actual link without the long google search stuff added on. So just google beagleboard RMA and should be the first result. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Is there a 'latest stable build' of Angstrom available, and changed regularly?
On Monday, February 17, 2014 3:03:44 PM UTC-5, c...@isbd.net wrote: Kyle Koerth kylek...@gmail.com javascript: wrote: [-- text/plain, encoding quoted-printable, charset: UTF-8, 52 lines --] I imagine you have found this site http://beagleboard.org/latest-images, Well I hadn't because the floating menu on the top level site drives me completely crazy so I hadn't found it. 'Latest version' download links are normally immediately obvious and they're not here. that is where the official images are. I know that they haven't been updated recently, but I hear that a Debian version is coming along nicely, should be out soon. The kernel in the most recent official image might be outdated, I would check out Robert Nelson's Github page, checkout the latest 3.8.x kernel, and put that onto the beaglebone. That should get you the most stable image to start working with. Hmm, sounds like a way to get into 'dependency hell' in one easy lesson. -- Chris Green · Sorry, I don't really know what you mean with the highlighted comment above. I'm a linux noob, just getting started with the BBB :). The latest Debian test build I can find is here https://groups.google.com/forum/#!msg/beagleboard/D1ioNrzzXfQ/eUcJAPtEi0wJ. -- 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] QT Application weird problem on beagleboard
I used this setup for my QT applikation http://treyweaver.blogspot.com.ar/2010/10/setting-up-qt-development-environment.html Just needed to adapt for my compiler. I don't need the -qws option to run it in an X-Server. Are you running an X-Server? Is a Framebuffer device available? 2014-02-17 21:25 GMT+01:00 Allain allain.mag...@gmail.com: It won't start, it says: QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory No Qt for Embedded Linux server appears to be running. If you want to run this program as a server, add the -qws command-line option. -- 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] Browsing Beagle Bone Black in Google Chrome
Wondering if anyone would have any insight in connecting to the board. When I use http:/192.168.7.2,it opens and says It Works! but then says there is no content available... not sure what the next step would be? -- 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] QT Application weird problem on beagleboard
Sorry but what you mean with X-Server? I'm running gnome desktop with x11 (x window system). In the tutorial, the last command line he says to use -qws for gui application. Em segunda-feira, 17 de fevereiro de 2014 18h31min25s UTC-3, Tux Leonard escreveu: I used this setup for my QT applikation http://treyweaver.blogspot.com.ar/2010/10/setting-up-qt-development-environment.html Just needed to adapt for my compiler. I don't need the -qws option to run it in an X-Server. Are you running an X-Server? Is a Framebuffer device available? 2014-02-17 21:25 GMT+01:00 Allain allain...@gmail.com javascript:: It won't start, it says: QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory QWSSocket::connectToLocalFile could not connect:: No such file ordirectory No Qt for Embedded Linux server appears to be running. If you want to run this program as a server, add the -qws command-line option. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Build persinal device with owncloud preinstalled
Hi, I've been using BeagleBone Black combined with ownCloud for some time as my personal file storage. I am happy with the setup so I decided to share the instruction. I am doing this in top of Robert Nelson's Ubuntu 13.10 Flasher image (http://elinux.org/BeagleBoardUbuntu) I hope this is not against its license otherwise please let me know. We with my friend tried to make this as open as possible, so all the image building scripts are also available: https://github.com/syncloud (even site/instruction is open source! :)) If anyone is interested it is here syncloud.org 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] Browsing Beagle Bone Black in Google Chrome
I just checked my BBB again with Chrome: Works fine, always has. I guess you could try downloading the latest image to an SDA card and reprogram the internal flash. If that doesn’t work, then it’s time to ask your vendor about an exchange. From: Kelly Barker Sent: Monday, February 17, 2014 1:38 PM To: beagleboard@googlegroups.com Subject: [beagleboard] Browsing Beagle Bone Black in Google Chrome Wondering if anyone would have any insight in connecting to the board. When I use http:/192.168.7.2,it opens and says It Works! but then says there is no content available... not sure what the next step would be? -- 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] Re: Detecting a Beaglebone IP Addtress
On Mon, Feb 17, 2014 at 7:16 PM, Hor Meng Yoong yoon...@gmail.com wrote: Use port scanning software Morse code on usrX led's.. -- 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] Best way to connect 0.5 - 4.5 vdc output sensor?
Hi all - Trying to hook a pressure sensor that measures from 0 - 400 kPA up to my Beaglebone Black. What is the best way to do this since the GPIO can only accept 1.8vdc max? Are there any I2C sensors that measure a similar range? 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] Best way to connect 0.5 - 4.5 vdc output sensor?
Why don’t you just use a voltage divider to scale the output ?? http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of Jon Kensy Sent: Monday, February 17, 2014 9:22 PM To: beagleboard@googlegroups.com Subject: [beagleboard] Best way to connect 0.5 - 4.5 vdc output sensor? Hi all - Trying to hook a pressure sensor that measures from 0 - 400 kPA up to my Beaglebone Black. What is the best way to do this since the GPIO can only accept 1.8vdc max? Are there any I2C sensors that measure a similar range? 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. No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4335 / Virus Database: 3705/7100 - Release Date: 02/17/14 _ No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4335 / Virus Database: 3697/7086 - Release Date: 02/12/14 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[beagleboard] Re: Beaglebone USB serial issues
Hey, I've done a bit more digging at the problem seems to be that for some reason the TXPKTRDY bit in the HOST_CSR register never get's cleared by the MUSB controller. This is causing cppi41_dma_callback() to schedule work due to musb_is_tx_fifo_empty() stating there is still data in the outgoing FIFO. Consequently the callback schedules cppi_trans_done_work() which also uses musb_is_tx_fifo_empty() which then reschedules itself if there is still data. Thus the cppi41_trans_done() - musb_interrupt() - musb_host_tx() are never called so the USB controller never gets released. You can see this through the dmesg. Working: [ 11.042601] cp210x ttyUSB0: usb_serial_generic_write_start - length = 132, data = 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 20 54 45 53 54 49 4e 47 20 54 45 53 54 49 4e 47 24 [ 11.042636] musb-hdrc musb-hdrc.0.auto: ... next ep10 TX urb cc9cef00 [ 11.042658] musb-hdrc musb-hdrc.0.auto: qh ce3d6900 urb cc9cef00 dev2 ep1out-bulk, hw_ep 10, ce394b00/176 [ 11.042679] musb-hdrc musb-hdrc.0.auto: -- hw10 urb cc9cef00 spd2 dev2 ep1out h_addr00 h_port00 bytes 176 [ 11.042701] musb-hdrc musb-hdrc.0.auto: configure ep10/a4 packet_sz=256, mode=0, dma_addr=0x8e394b00, len=176 is_tx=1 [ 11.042718] musb-hdrc musb-hdrc.0.auto: Start TX10 dma [ 11.042808] musb-hdrc musb-hdrc.0.auto: DMA transfer done on hw_ep=10 bytes=176/176 [ 11.043165] musb-hdrc musb-hdrc.0.auto: OUT/TX10 end, csr 3500, dma [ 11.043210] musb-hdrc musb-hdrc.0.auto: complete cc9cef00 usb_serial_generic_write_bulk_callback+0x0/0xd4 [usbserial] (0), dev2 ep1out, 176/176 Failing: [ 11.043239] cp210x ttyUSB0: usb_serial_generic_write_start - length = 256, data = 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 20 54 45 53 54 49 4e 47 20 54 45 53 54 49 4e 47 24 [ 11.043279] musb-hdrc musb-hdrc.0.auto: ... next ep10 TX urb cc9ced00 [ 11.043301] musb-hdrc musb-hdrc.0.auto: qh ce3d6900 urb cc9ced00 dev2 ep1out-bulk, hw_ep 10, ce394a00/132 [ 11.043322] musb-hdrc musb-hdrc.0.auto: -- hw10 urb cc9ced00 spd2 dev2 ep1out h_addr00 h_port00 bytes 132 [ 11.043344] musb-hdrc musb-hdrc.0.auto: configure ep10/a4 packet_sz=256, mode=0, dma_addr=0x8e394a00, len=132 is_tx=1 [ 11.043361] musb-hdrc musb-hdrc.0.auto: Start TX10 dma [ 11.043389] musb-hdrc musb-hdrc.0.auto: DMA transfer done on hw_ep=10 bytes=132/132 FYI I've been using http://www.ti.com/lit/ug/sprufy9/sprufy9.pdf for the register descriptions as they're all missing from the am335x docs (as suggested here: http://e2e.ti.com/support/arm/sitara_arm/f/791/t/211653.aspx) Is this a known problem? Chris On Monday, 17 February 2014 16:44:59 UTC+13, Chris Kimber wrote: Hey All, I've just tried to move my BeagleBone from the TI provided BSP (Argo Linux 3.2 Release 04.06.00.11) to one of the newer community kernels from https://github.com/beagleboard/kernel. I'm not using any distro, just a busybox based rootfs. My motivations for moving to the later kernels are to gain Device Tree and a bunch of other drivers for some I2C devices as well as the TPS PMIC backlight (ultimately this will be used on a Beaglebone based custom design). I figured it would be easier to move forward that to reverse engineer these drivers into the old 3.2 kernel. Everything seems to work, except for one of the USB use cases I'm interested in. I'm able to mount a USB stick and copy a couple of gigs of data between the two without any issues. However, when I try to communicate with a CP2102 USB UART I very quickly seem to hang the driver. This worked fine in the old 3.2 kernel. It seems to send a bunch of data (but It doesn't seem to arrive on the other end of the UART) and then the TX buffer fills and causes my sending test app (https://gist.github.com/anonymous/55ab3051827aeb698f95) to hang. When I pull the USB cable, I get a kernel panic somewhere in the DMA driver waiting to clear the FIFO. I've tried this on 3.8, 3.12 and 3.13 all with similar results (3.13 panic = https://gist.github.com/anonymous/12ef2a1223f7a953f293) I'm using the stock am335x-bone.dts for each of the kernels. I've also removed the USB support from u-boot (2014.01) to make sure no contamination got through. I've also tried to disabling the USB DMA support in the kernel .config. I've found that I get the exact same symptoms if I use a different USB UART ftdio_sio, so I think the problem is somewhere under the hood within the musb core/platform bindings. I figured I’d see if anyone else has run into any problems like this, and was wondering if someone could answer a couple of questions I have: * What is the recommended kernel to be using now? Should I stick to 3.13? * How much verification/what verification has been done on the USB Host to define it as working as is declared in README.md Cheers for any help Chris -- For more options, visit http://beagleboard.org/discuss --- You received this message
Re: [beagleboard] Re: Detecting a Beaglebone IP Addtress
Thanks for all the ideas. This is the direction I plan on going now that I've made it work. As a side note, if you are trying this, make sure you have your VM in Bridges mode and not NAT mode. NAT will not work, but it works fine once you go into bridged mode. I just about strangled myself after I messed with it for a few hours thinking I had something really wrong with my hosts files only to change this and have it work. On Friday, February 14, 2014 10:34:22 AM UTC-6, RobertCNelson wrote: On Fri, Feb 14, 2014 at 10:22 AM, Walter Schilling schi...@msoe.edujavascript: wrote: Thanks for all of the responses. A couple of additional aspects to the problem: #1 I don't have access to the routers to adjust their setup, as that is controlled by our IT department that doesn't want to deal with configuration in that manner. #2 Students may work at home / dorms with a different network confiuration. I'm entrigued by the idea of writing the IP address to a file at boot. If I did that, then I probably could connect via usb and read that file back. I'll have to try that and see if I can get that working reliably. I've also thought about a program that blinked the lights on the board to display the ip, but I';m not sure that will be reliable either. (Hint: Maybe that would be a cool heartbeat to build into the onboard leds for this reason.) fyi: if you look closely at the debian testing images i've been pushing, the ip address is listed on the serial console above the login prompt.. However with systemd, it boots to fast, so eth0 is usually never updated (it's a race between getting ip and the init script that updates /etc/issue). Otherwise give each board a unique host name.. then user can just ssh root@unquie-hostname.local 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] After hotplug ging USB mass storage device system hang.
Hello, I am using a Beaglebone black board wuth ubuntu 12.04 (3.8.13-kernel). My board is working very good with eMMC as well as with with SD card. Problem is when I hotplug a USB mass storage device(pendrive) whole system getting hang. Then if I powered off and again powered ON with pendrive then its working properly and pendrive is also detecting. Problem is only during hotplug. Also I tried to debug through the serial debug port but I am newbie so I didn't get the issue. Serial debug port output is as follows. ubuntu-armhf login: tilcdc 4830e000.fb: timeout waiting for framedone usb 1-1.4: new high-speed USB device number 5 using musb-hdrc usb 1-1.4: New USB device found, idVendor=0781, idProduct=5567 usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.4: Product: Firebird USB Flash Drive usb 1-1.4: Manufacturer: SanDisk usb 1-1.4: SerialNumber: 4C5326071374 scsi0 : usb-storage 1-1.4:1.0 scsi 0:0:0:0: Direct-Access SanDisk Cruzer Blade 1.26 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 7821312 512-byte logical blocks: (4.00 GB/3.72 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA *BUG: spinlock bad magic on CPU#0, kworker/u:2/62* lock: 0xdf4cfee8, .magic: , .owner: none/-1, .owner_cpu: 0 [c0014660] (unwind_backtrace+0x0/0xe0) from [c02420e8] (do_raw_spin_lock+0x20/0x164) [c02420e8] (do_raw_spin_lock+0x20/0x164) from [c02c1278] (get_device_parent+0x84/0x18c) [c02c1278] (get_device_parent+0x84/0x18c) from [c02c1904] (device_add+0xcc/0x580) [c02c1904] (device_add+0xcc/0x580) from [c0226358] (add_disk+0x1a8/0x40c) [c0226358] (add_disk+0x1a8/0x40c) from [c02efaf8] (sd_probe_async+0xec/0x1a8) [c02efaf8] (sd_probe_async+0xec/0x1a8) from [c005f87c] (async_run_entry_fn+0xe8/0x204) [c005f87c] (async_run_entry_fn+0xe8/0x204) from [c0054b70] (process_one_work+0x240/0x3fc) [c0054b70] (process_one_work+0x240/0x3fc) from [c005514c] (worker_thread+0x258/0x370) [c005514c] (worker_thread+0x258/0x370) from [c0058d70] (kthread+0xa0/0xb0) [c0058d70] (kthread+0xa0/0xb0) from [c000d918] (ret_from_fork+0x14/0x3c) *Unable to handle kernel NULL pointer dereference at virtual address 0008* pgd = c0004000 [0008] *pgd= Internal error: Oops: 5 [#1] SMP ARM Modules linked in: binfmt_misc unix CPU: 0Tainted: GW (3.8.13-bone26 #272) PC is at get_device_parent+0x94/0x18c LR is at spin_bug+0x10/0x28 pc : [c02c1288]lr : [c04821a8]psr: 0013 sp : df3d3df8 ip : c000d918 fp : c08122dc r10: ddca98c8 r9 : c07d2408 r8 : df3d40b0 r7 : df51080c r6 : ddca98d0 r5 : df510868 r4 : df510868 r3 : df4cfee0 r2 : r1 : r0 : fffc Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c5387d Table: 9f5f4019 DAC: 0015 Process kworker/u:2 (pid: 62, stack limit = 0xdf3d2240) Stack: (0xdf3d3df8 to 0xdf3d4000) 3de0: ddc526c0 df510868 3e00: df510870 df51080c c02c1904 df510870 c02358ac 3e20: ddca98c8 df510800 dd8e0e40 df510800 dd8e0e40 df510868 df51080c df3d40b0 3e40: c07d2408 ddb04600 c08122dc c0226358 c0225360 df510800 df00 0080 3e60: 0004 c0c76e80 df4e1c00 df510800 df4e1c00 df510800 ddca9800 3e80: ddb04608 ddb04600 c02efaf8 df4e1c00 c02efa0c 0002 df39dbc0 3ea0: ddb04608 c0812200 df03f800 c005f87c c07d0da8 c07d0da8 c0812200 df3a9600 3ec0: c0812318 0001 df39dbc0 ddb04608 c0812200 df03f800 c0812318 3ee0: c0054b70 df061e8c 0001 0003 0001 df39dbc0 3f00: c0812318 df3d2000 c07ec6b8 c0812200 c0812318 df39dbd4 0089 c005514c 3f20: df39dbc0 df3d3f54 df3d3f38 df061e74 df39dbc0 c0054ef4 3f40: c0058d70 942dff37 f93fdf65 df39dbc0 3f60: dead4ead df3d3f74 df3d3f74 3f80: dead4ead df3d3f90 df3d3f90 df3d3fac df061e74 3fa0: c0058cd0 c000d918 3fc0: 3fe0: 0013 90fc7cef 3cd6dee1 [c02c1288] (get_device_parent+0x94/0x18c) from [c02c1904] (device_add+0xcc/0x580) [c02c1904] (device_add+0xcc/0x580) from [c0226358] (add_disk+0x1a8/0x40c) [c0226358] (add_disk+0x1a8/0x40c) from [c02efaf8] (sd_probe_async+0xec/0x1a8) [c02efaf8] (sd_probe_async+0xec/0x1a8) from [c005f87c] (async_run_entry_fn+0xe8/0x204) [c005f87c] (async_run_entry_fn+0xe8/0x204) from [c0054b70] (process_one_work+0x240/0x3fc) [c0054b70] (process_one_work+0x240/0x3fc) from [c005514c] (worker_thread+0x258/0x370) [c005514c] (worker_thread+0x258/0x370) from [c0058d70] (kthread+0xa0/0xb0) [c0058d70] (kthread+0xa0/0xb0) from [c000d918] (ret_from_fork+0x14/0x3c) Code: e5953198 e593303c e5b300e0