Re: [beagleboard] Re: Non OS application
Hi Charles, I did read the TRM. Chapter 26 named Initialization. It does have quite a good info which tells how system starts up how many time of booting is there. I thought this forum is to help people rather enhancing the sarcasm skills. I know about the different kind of booting, memory addresses of all exception vectors in RAM and ROM. My only question is what address I should place my application's entry point so that at startup my application gets executed. Thanks for your help anyway Charles. On Wednesday, 24 June 2015 02:01:26 UTC+1, Charles Steinkuehler wrote: On 6/23/2015 7:08 PM, Ravi wrote: For this board I have a u-boot working from which I can reverse engineer things. But what if u-boot was not available, then from where I would have started? Did you bother to open or glance at the AM335x TRM? There's an entire chapter on system initialization, covering the *MANY* ways you can boot the AM335x CPUs. What questions do you have that aren't covered in the manual? If you don't have (or can't find) the manual, start at the beginning: the product page for the AM3359 on the TI website. There's a tab labeled Technical documents. http://www.ti.com/product/AM3359/technicaldocuments -- Charles Steinkuehler cha...@steinkuehler.net javascript: -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: safe use of io pins
At reset, all GPIO pins are configured as inputs. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] 3.14 kernel with Android 4.4 fails with untracked pid xxx exited
Hi guys, I'm trying to get the 3.14 kernel with Android 4.4 running. I followed the instructions from http://android.serverbox.ch/?p=1278 The kernel boots. However, I get error messages regarding exiting an untracked PID: [4.132841] VFS: Mounted root (ext4 filesystem) on device 179:2. [4.141964] devtmpfs: mounted [4.145627] Freeing unused kernel memory: 456K (c0a38000 - c0aaa000) [5.880918] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead. [6.080660] init: cannot open '/initlogo.rle' [6.110169] EXT4-fs (mmcblk0p3): Ignoring removed nomblk_io_submit option [6.143925] EXT4-fs (mmcblk0p3): recovery complete [6.152891] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic [6.165416] EXT4-fs (mmcblk0p4): Ignoring removed nomblk_io_submit option [6.538227] EXT4-fs (mmcblk0p4): recovery complete [6.546819] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic [8.041834] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [8.084971] init: cannot find '/system/bin/rild', disabling 'ril-daemon' [8.098345] healthd: No charger supplies found [8.103034] healthd: BatteryStatusPath not found [8.123663] healthd: BatteryHealthPath not found [8.129798] healthd: BatteryPresentPath not found [8.137261] healthd: BatteryCapacityPath not found [8.142789] healthd: BatteryVoltagePath not found [8.148583] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery' [8.158142] healthd: BatteryTemperaturePath not found [8.169393] healthd: BatteryTechnologyPath not found [8.176491] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}' [8.187024] binder: 86:86 transaction failed 29189, size 0-0 [8.193674] init: powerctl: cannot expand '${sys.powerctl}' [8.200360] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}' [8.212474] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes' [8.224145] init: property 'sys.sysctl.tcp_def_init_rwnd' doesn't exist while expanding '${sys.sysctl.tcp_def_init_rwnd}' [8.236207] init: cannot expand '${sys.sysctl.tcp_def_init_rwnd}' while writing to '/proc/sys/net/ipv4/tcp_default_init_rwnd' shell@armv7-a-neon:/ $ [9.365233] random: nonblocking pool is initialized [9.483469] init: untracked pid 152 exited [ 14.020018] init: untracked pid 178 exited [ 18.571949] init: untracked pid 204 exited [ 24.740388] init: untracked pid 384 exited [ 24.747916] init: untracked pid 385 exited [ 29.279267] init: untracked pid 409 exited ... Does anyone know how debug this? What fails here? It seems something from init does not work properly. Thanks in advance Robert -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] i2c question (BBB)
I'm trying i2c bus on BBB slave module is OV7670 ( CMOS Camera ) OS is angstrom https://lh3.googleusercontent.com/-zT9VFvtWOmo/VYpkZj8P2MI/FDw/Abor6TYsMrg/s1600/dd.png when i connect ov7670 on BBB P9 Header (19,20) and command i2cdetect -r -y 1 look at the picture above you fine '21' is creating 0x21 is slave address but slave address of ov7670 is 0x42 in datasheet what means 0x21 ?? and am i better try i2c ??? My purpose is writing data to the ov7670 register. Advice please -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Non OS application
On 6/24/2015 1:31 AM, Ravi wrote: Hi Charles, I did read the TRM. Chapter 26 named Initialization. It does have quite a good info which tells how system starts up how many time of booting is there. I thought this forum is to help people rather enhancing the sarcasm skills. I know about the different kind of booting, memory addresses of all exception vectors in RAM and ROM. My only question is what address I should place my application's entry point so that at startup my application gets executed. Section 26.1.3.2 covers the Public RAM memory map. Section 26.1.9.2 describes the image format header, where you provide the destination address you would like your startup code to be shadowed. -- Charles Steinkuehler char...@steinkuehler.net -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
Yes, I just tried this. Updated /etc/apt/sources.list to make sure the Debian repositories were listed (had Ubuntu installed), but it still failed to locate the package. On Tuesday, June 23, 2015 at 10:33:47 PM UTC-7, Adam Weiss wrote: One last question. I can't seem to get Jessie. From my fresh Wheezy install, I did: sudo apt-get update and when that was done: sudo apt-get install linux-image-armmp But I get: E: Unable to locate package linux-image-armmp Two questions: 1. Any idea why it can't locate it? 2. Is there a way to get that image in an img file? On Wed, Jun 24, 2015 at 12:02 AM, Adam Weiss adama...@gmail.com javascript: wrote: I was able to restore from microSD...had to boot from microSD, mount the eMMC and edit /boot/uEnv.txt, then flash it. I did that with Wheezy. Now that I'm booting Wheezy, I should be able to update to Jessie. Thanks for the guidance...hopefully I've learned my lesson ;-) On Tue, Jun 23, 2015 at 11:08 PM, Adam Weiss adama...@gmail.com javascript: wrote: I think I'm in pretty bad shape now. After power cycling the BBB, I can't get it to boot at all. I've tried downloading an image to an SD card, but no luck. On Tue, Jun 23, 2015 at 9:41 PM, Robert Nelson robert...@gmail.com javascript: wrote: On Tue, Jun 23, 2015 at 9:22 PM, Adam Weiss adama...@gmail.com javascript: wrote: I guess I answered my own question with regard to the BBB version being Wheezy. However, is there anything special about the build for BBB? If I grab the official Debian Jessie armhf image, will it work properly on BBB hardware? Debian's official Jessie image should boot on the BBB just fine. Infact, that's an option with beagleboard.org's Debian Jessie image's.. http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_8:_jessie Debian 8: jessie sudo apt-get install linux-image-armmp sudo reboot Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/NnmoIoMTofM/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/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Pin multiplexing on BBB using ubuntu snappy(11-6-2015)
On Wed, Jun 24, 2015 at 8:02 AM, new.mohamm...@gmail.com wrote: Hello I could multiplex a pin in the past using Angstrom. Now I'm using Ubuntu snappy with different device overlay tree and the configurations are also different. I couldn't find a guide or tutorial to use all hardware resources :( I can blink the led, but I need much more configurations. Can you help me to drive a uart and send some strings or use AM3358 pwm? You might want to ask on #snappy (irc freenode) as i don't think the ubuntu snappy team monitors this list just yet.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
Thanks...I'm familiar with that page. However, the only links for Jessie img files are Testing Snapshots. Would these be the same as the official release (as far as libraries...I want to make sure I can cross compile openCV)? Is the image I'd get with sudo apt-get install linux-image-armmp the same as one of these snapshots, or is it an official release? If it's official, and if I updated with one of those img files, could I then install as above? And finally, is there a reason why I can't locate the image with sudo apt-get install linux-image-armmp ? On Wed, Jun 24, 2015 at 12:36 AM, evilwulfie evilwul...@gmail.com wrote: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Releases On 6/23/2015 10:33 PM, Adam Weiss wrote: One last question. I can't seem to get Jessie. From my fresh Wheezy install, I did: sudo apt-get update and when that was done: sudo apt-get install linux-image-armmp But I get: E: Unable to locate package linux-image-armmp Two questions: 1. Any idea why it can't locate it? 2. Is there a way to get that image in an img file? On Wed, Jun 24, 2015 at 12:02 AM, Adam Weiss adamawe...@gmail.com wrote: I was able to restore from microSD...had to boot from microSD, mount the eMMC and edit /boot/uEnv.txt, then flash it. I did that with Wheezy. Now that I'm booting Wheezy, I should be able to update to Jessie. Thanks for the guidance...hopefully I've learned my lesson ;-) On Tue, Jun 23, 2015 at 11:08 PM, Adam Weiss adamawe...@gmail.com wrote: I think I'm in pretty bad shape now. After power cycling the BBB, I can't get it to boot at all. I've tried downloading an image to an SD card, but no luck. On Tue, Jun 23, 2015 at 9:41 PM, Robert Nelson robertcnel...@gmail.com wrote: On Tue, Jun 23, 2015 at 9:22 PM, Adam Weiss adamawe...@gmail.com wrote: I guess I answered my own question with regard to the BBB version being Wheezy. However, is there anything special about the build for BBB? If I grab the official Debian Jessie armhf image, will it work properly on BBB hardware? Debian's official Jessie image should boot on the BBB just fine. Infact, that's an option with beagleboard.org's Debian Jessie image's.. http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_8:_jessie Debian 8: jessie sudo apt-get install linux-image-armmp sudo reboot Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/NnmoIoMTofM/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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/NnmoIoMTofM/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: How to automate making the dtb file needed
make sure you install the dependencies as build-essential. then run: #!/bin/sh set -x cd /tmp/ git clone https://github.com/RobertCNelson/dtb-rebuilder.git cd dtb-rebuilder cp /root/devicetree/P9-15-pull-up.dtsi src/arm/ #cp /root/devicetree/am335x-cape-rtc-ds1307.dtsi src/arm/ cp /root/devicetree/i2c-1.dtsi src/arm/ #git clone https://github.com/beagleboard/bb.org-overlays [ ! -f 'src/arm/am335x-boneblack.dts' ] echo 'Missing src/arm/am335x-boneblack.dts' exit 1 cat EOF 'src/arm/am335x-boneblack.dts' #include P9-15-pull-up.dtsi #include am335x-cape-rtc-ds1307.dtsi #include i2c-1.dtsi EOF ./dtc-overlay.sh make /bin/cp src/arm/am335x-boneblack.dtb /boot/dtbs/ in this code I use GPIO P9 pin 15 as pull-up as well as add overlays for i2c and rtc. all seems to work for me. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Rev B1 audio cape and am335x-boneblack-audio-revb.dtb ?
Running Debian 8.1 with a locally built (and now booting) am33x-v4.1. Audio cape is in physically place but not detected. Dmesg etc follows. There is nothing in /sys/devices/bone_capemgr* either. Aplay, not surprisingly, shows no audio devices available which (I presume) means HDMI audio has been disabled. What am I missing? TVMIA. ---snip- - debian@arm:~$ uname -a Linux arm 4.1.0-bone9 #1 Wed Jun 24 13:58:41 BST 2015 armv7l GNU/Linux ---snip- - [0.00] Kernel command line: console=tty0 console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT- HDMI root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc [4.093153] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT,0A5A,1813BBBK1668' [4.100759] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4 [4.162893] bone_capemgr bone_capemgr: slot #0: No cape found [4.222876] bone_capemgr bone_capemgr: slot #1: No cape found [4.282874] bone_capemgr bone_capemgr: slot #2: No cape found [4.342874] bone_capemgr bone_capemgr: slot #3: No cape found [4.348958] bone_capemgr bone_capemgr: initialized OK. ---snip- - debian@arm:~$ ls /boot/dtbs 4.1.0-bone9 debian@arm:~$ ls /boot/dtbs/4.1.0-bone9/ am335x-arduino-tre.dtbam335x-boneblack-universal.dtb am335x-base0033.dtb am335x-boneblack-wl1835mod.dtb am335x-bone-can0.dtb am335x-boneblack.dtb am335x-bone-cape-bone-argus.dtb am335x-bonegreen.dtb am335x-bone.dtb am335x-chiliboard.dtb am335x-boneblack-bbb-exp-c.dtbam335x-evm.dtb am335x-boneblack-bbb-exp-r.dtbam335x-evmsk.dtb am335x-boneblack-can0.dtb am335x-lxm.dtb am335x-boneblack-cape-bone-argus.dtb am335x-nano.dtb am335x-boneblack-overlay.dtb am335x-pepper.dtb am335x-boneblack-replicape.dtb -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Non OS application
On Wed, Jun 24, 2015 at 6:56 AM, Ravi ravi00e...@gmail.com wrote: Hey Charles, That's exactly what I was looking for. Thanks for pointing me in that direction. Now I think I can go ahead with the things. I appreciate yours and Robert's replies to direct me in right place. btw, (i always forget about this).. Take a look at TI's StartWare too, lots of none-os examples, although i believe they use u-boot as the application loader.. http://processors.wiki.ti.com/index.php/StarterWare Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
On Wed, Jun 24, 2015 at 8:26 AM, Adam Weiss adamawe...@gmail.com wrote: Thanks...I'm familiar with that page. However, the only links for Jessie img files are Testing Snapshots. They are only labled Testing as beagleboard.org has't moved them to the release directory on their server. ;) Would these be the same as the official release (as far as libraries...I want to make sure I can cross compile openCV)? Is the image I'd get with sudo apt-get install linux-image-armmp the same as one of these snapshots, or is it an official release? If it's official, and if I updated with one of those img files, could I then install as above? And finally, is there a reason why I can't locate the image with sudo apt-get install linux-image-armmp ? It's a jessie+ only kernel Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
Thanks everyone for the answers. One final question: What I'm ultimately trying to accomplish is developing a custom app w/ openCV in Eclipse on a PC. And cross-compiling for the BBB. From what I understand (from Derek Molloy), getting emdebian, cross-compiling, and openCV working on Wheezy is much more difficult than on Jessie. That's why I chose Jessie for my VM on my PC. However, there's no bone Jessie yet (if I understand everyone's help so far). So, are my only options: 1. Put a Wheezy VM on my PC and try to muddle through the setup? 2. Wait for a full bone Jessie? Any other advice would be greatly appreciated. On Wed, Jun 24, 2015 at 8:37 AM, Robert Nelson robertcnel...@gmail.com wrote: On Wed, Jun 24, 2015 at 8:26 AM, Adam Weiss adamawe...@gmail.com wrote: Thanks...I'm familiar with that page. However, the only links for Jessie img files are Testing Snapshots. They are only labled Testing as beagleboard.org has't moved them to the release directory on their server. ;) Would these be the same as the official release (as far as libraries...I want to make sure I can cross compile openCV)? Is the image I'd get with sudo apt-get install linux-image-armmp the same as one of these snapshots, or is it an official release? If it's official, and if I updated with one of those img files, could I then install as above? And finally, is there a reason why I can't locate the image with sudo apt-get install linux-image-armmp ? It's a jessie+ only kernel Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/NnmoIoMTofM/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: BBB - LCD3 Cape and UDA1380 on i2s
And did it work? BR. I haven't progress much yet. I am hoping that I can copy the audio cape dts files to get it hooked up, and then get the uda1380 into the kernel somehow. I have seen the code for the driver in the linux source. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
Sorry...can you tell I'm a Linux noob? I want to make sure all the armhf libraries are the exact same version, so that I don't get link issues. On Wed, Jun 24, 2015 at 10:55 AM, Robert Nelson robertcnel...@gmail.com wrote: On Wed, Jun 24, 2015 at 10:42 AM, Adam Weiss adamawe...@gmail.com wrote: Thanks everyone for the answers. One final question: What I'm ultimately trying to accomplish is developing a custom app w/ openCV in Eclipse on a PC. And cross-compiling for the BBB. From what I understand (from Derek Molloy), getting emdebian, cross-compiling, and openCV working on Wheezy is much more difficult than on Jessie. That's why I chose Jessie for my VM on my PC. However, there's no bone Jessie yet (if I understand everyone's help so far). So, are my only options: 1. Put a Wheezy VM on my PC and try to muddle through the setup? 2. Wait for a full bone Jessie? Umm, can you be a little more specific.. What exactly are you waiting for from Jessie image's? As they are 100% feature compatible.. Regards, -- Robert Nelson https://rcn-ee.com/ -- 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/NnmoIoMTofM/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] Re: BBB - LCD3 Cape and UDA1380 on i2s
A late follow-up. Interesting. From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of Justin Wright Sent: 23 April 2015 00:24 To: beagleboard@googlegroups.com Subject: [beagleboard] Re: BBB - LCD3 Cape and UDA1380 on i2s I am fairly sure I know how to connect it up. If I get it running I will try to post how I did it. And did it work? BR. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
On Wed, Jun 24, 2015 at 11:05 AM, Adam Weiss adamawe...@gmail.com wrote: Sorry...can you tell I'm a Linux noob? I want to make sure all the armhf libraries are the exact same version, so that I don't get link issues. If you have jessie on your development platform, install jessie on the bbb. On your x86, (with jessie) you can install *.armhf packages/libraries via; sudo dpkg --add-architecture armhf sudo apt-get update This will allow you to build against the exact same lib's on the bbb.. Then install cross-gcc-dv https://packages.debian.org/jessie/cross-gcc-dev Which will help you install a matching gcc arm cross compiler. (i haven't had a chance to do this personally) Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Rev B1 audio cape and am335x-boneblack-audio-revb.dtb ?
On Wed, Jun 24, 2015 at 11:02 AM, g...@novadsp.com wrote: Running Debian 8.1 with a locally built (and now booting) am33x-v4.1. Audio cape is in physically place but not detected. Dmesg etc follows. There is nothing in /sys/devices/bone_capemgr* either. Aplay, not surprisingly, shows no audio devices available which (I presume) means HDMI audio has been disabled. 3.8: /sys/devices/bone_capemgr 4.1: /sys/devices/platform/bone_capemgr The revb audio cape doesn't have an eeprom, feel free to fork and add a pull request supporting this cape here: https://github.com/beagleboard/bb.org-overlays (i haven't found my revb, i know i have it somewhere) Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
On Wed, Jun 24, 2015 at 10:42 AM, Adam Weiss adamawe...@gmail.com wrote: Thanks everyone for the answers. One final question: What I'm ultimately trying to accomplish is developing a custom app w/ openCV in Eclipse on a PC. And cross-compiling for the BBB. From what I understand (from Derek Molloy), getting emdebian, cross-compiling, and openCV working on Wheezy is much more difficult than on Jessie. That's why I chose Jessie for my VM on my PC. However, there's no bone Jessie yet (if I understand everyone's help so far). So, are my only options: 1. Put a Wheezy VM on my PC and try to muddle through the setup? 2. Wait for a full bone Jessie? Umm, can you be a little more specific.. What exactly are you waiting for from Jessie image's? As they are 100% feature compatible.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] ESP8266 linux driver
wondering about using the cheap esp8266 module with BeagleBone black, but I couldnt find anything about it in the web. I understand that this is a bit differebtly working device than the wifi usb dongles (i gues its more SoC), but havent anyone though of using it with bbb? The board uses only uart lines, that would be very efficient and cheap. What do you need to know? The device does look exactly like any old modem/terminal. Problem is they are slow. Whilst great for sending modest sized messages ('Hello World') they will not cut it for streaming video. Try hooking one up to a PC with a USB serial adapter - you'll get an idea of capabilities pretty quickly. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Xenomai for beginners
This sounds like an interesting study. Be sure to share your findings and your code. --Mark On Tuesday, June 23, 2015 at 10:54:04 AM UTC-4, chnyc wrote: Right, sorry for the vagueness. I'm basically trying to duplicate a range of RT tests across the same motor (basic, low cost stepper most likely) using PREEMPT_RT, Xenomai, PRU scenarios in order to better understand pros and cons of each. I didn't want to overcomplicate this thread, esp. since there's much related discussion around PRUs, so I was just focusing on the Xenomai part where there seemed to be less guidance. Thanks much. Charles On Tuesday, June 23, 2015 at 10:09:11 AM UTC-4, Charles Steinkuehler wrote: On 6/23/2015 12:04 AM, chnyc wrote: 2) *klatency* - runs with following error: $ xeno klatency open(/proc/xenomai/registry/native/pipes/klat_pipe): No such file or directory modprobe klat_mod or try the -P option? Is the reason I can't run the above due to kernel config issues? If so, it's not clear to me where/how to change the config settings since I didn't compile from source. Unknown, I'm not a Xenomai expert...I'd look into the docs at the Xenomai site. If you need to build from source, just clone: https://github.com/RobertCNelson/bb-kernel/tree/3.8.13-xenomai ...and run ./build-deb.sh. You'll get a compiled kernel, *.deb package, and a full source tree for experimenting. 3) *Motor test* - My intention is to run some motor tests with Xenomai and without and compare performance. Do you have any recommended Xenomai-specific tutorials using motors or for any actual use case of the kernel in action on the BBB? Although I recognize that much of your wonderful MachineKit work is about driving motors, I've found very little on the subject showing simple usage without capes or without MachineKit. Motor test is a bit vague. You can drive motors _many_ different ways, from sending packets via Ethernet or CAN to controlling hardware PWMs to interacting with the PRU to twiddling GPIO pins. What exactly are you trying to do? -- Charles Steinkuehler cha...@steinkuehler.net -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] Rev B1 audio cape and am335x-boneblack-audio-revb.dtb ?
The revb audio cape doesn't have an eeprom, feel free to fork and add a pull request supporting this cape here: https://github.com/beagleboard/bb.org-overlays Ah. Reminds me - the DTC in your Git repo advertises itself as 1.4 but it does not seem to support the -@ option? Whatever binary I apt-get'd onto the B3 does, although it claims the same version number. Where is the difference? And is the .dtb platform independent? http://elinux.org/Device_Tree does not really give any clues. Thanks again. - debian@arm:~$ dtc -v Version: DTC 1.4.0 debian@arm:~$ dtc -h Usage: dtc [options] input file Options: -[qI:O:o:V:d:R:S:p:fb:i:H:sW:E:hv@] -q, --quiet Quiet: -q suppress warnings, -qq errors, -qqq all -I, --in-format arg Input formats are: dts - device tree source text dtb - device tree blob fs - /proc/device-tree style directory -o, --out arg Output file -O, --out-format arg Output formats are: dts - device tree source text dtb - device tree blob asm - assembler source -V, --out-version arg Blob version to produce, defaults to %d (for dtb and asm output) -d, --out-dependency arg Output dependency file -R, --reserve arg tMake space for number reserve map entries (for dtb and asm output) -S, --space arg Make the blob at least bytes long (extra space) -p, --pad arg Add padding to the blob of bytes long (extra space) -b, --boot-cpu arg Set the physical boot cpu -f, --force Try to produce output even if the input tree has errors -i, --include arg Add a path to search for include files -s, --sort Sort nodes and properties before outputting (useful for comparing trees) -H, --phandle arg Valid phandle formats are: legacy - linux,phandle properties only epapr - phandle properties only both - Both linux,phandle and phandle properties -W, --warning arg Enable/disable warnings (prefix with no-) -E, --error arg Enable/disable errors (prefix with no-) -@, --symbols arg Symbols and Fixups support -h, --help Print this help and exit -v, --version Print version and exit -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] Rev B1 audio cape and am335x-boneblack-audio-revb.dtb ?
Hello Robert 3.8: /sys/devices/bone_capemgr 4.1: /sys/devices/platform/bone_capemgr Ah. The revb audio cape doesn't have an eeprom, feel free to fork and add a pull request supporting this cape here: Yep. https://github.com/beagleboard/bb.org-overlays (i haven't found my revb, i know i have it somewhere) Super. Thanks for the help. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: i2c question (BBB)
There is an 8 bit representation of an I2C address, where the bottom bit is actually the Read/Write bit and is, by convention, set to zero to describe the address. There is a 7-bit representation of an I2C address, where the address is shifted one bit to the right, so the read/write bit disappears and is not part of the address. Half the manufacturers do it one way, the other half the other way. Linux/Debian uses the 7 bit representation. 0x42 1 = 0x21 --- Graham == On Wednesday, June 24, 2015 at 3:13:48 AM UTC-5, 멘지 wrote: I'm trying i2c bus on BBB slave module is OV7670 ( CMOS Camera ) OS is angstrom https://lh3.googleusercontent.com/-zT9VFvtWOmo/VYpkZj8P2MI/FDw/Abor6TYsMrg/s1600/dd.png when i connect ov7670 on BBB P9 Header (19,20) and command i2cdetect -r -y 1 look at the picture above you fine '21' is creating 0x21 is slave address but slave address of ov7670 is 0x42 in datasheet what means 0x21 ?? and am i better try i2c ??? My purpose is writing data to the ov7670 register. Advice please -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Rev B1 audio cape and am335x-boneblack-audio-revb.dtb ?
On Wed, Jun 24, 2015 at 12:14 PM, g...@novadsp.com wrote: The revb audio cape doesn't have an eeprom, feel free to fork and add a pull request supporting this cape here: https://github.com/beagleboard/bb.org-overlays Ah. Reminds me - the DTC in your Git repo advertises itself as 1.4 but it does not seem to support the -@ option? Whatever binary I apt-get'd onto the B3 does, although it claims the same version number. Where is the difference? Use the dtc-overlay.sh to build a local verison if dtc, as the patches for overlay's haven't made it upstream yet.. (this script install's the latest verison of panto's overlay dtc patchset) Note, it's in-compatible with the version we used for 3.8. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Network Conflict problem ?
Hello list; I am having problems getting my wired interface eth0 and my wireless interface wlan0 to play nice together. I have a wireless adapter connected to a powered hub along with a USB camera. I have a network dome camera connected to the BBB ethernet port with a static IP of 192.168.4.2 The WiFi has a static IP of 192.168.4.1 The BBB has a static IP of 192.168.4.3 I have included some information. There appears to be a conflict between the /etc/network/interfaces file and hostapd.conf. hostapd.conf: ### Wireless network name ### interface=wlan0 ### Set your bridge name ### #bridge=br0 #driver driver=nl80211 country_code=US ## The name of your server## ssid=Gaucho Robot ## Channel to use channel=7 hw_mode=g #Security Starts Here # # Static WPA2 key configuration # #1=wpa1, 2=wpa2, 3=both # #wpa=2 ## wpa_passphrase=yourpassword ## Key management algorithms ## ## wpa_key_mgmt=WPA-PSK # ## Set cipher suites (encryption algorithms) ## ## TKIP = Temporal Key Integrity Protocol ## CCMP = AES in Counter mode with CBC-MAC wpa_pairwise=TKIP #rsn_pairwise=CCMP # ## Shared Key Authentication ## auth_algs=1 ## Accept all MAC address ### macaddr_acl=0 #enables/disables broadcasting the ssid ignore_broadcast_ssid=0 # Needed for Windows clients eapol_key_index_workaround=0 /etc/networks/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network interface #This works sometimes ! auto eth0 iface eth0 inet static address 192.168.10.127 - My 10/100 Network netmask 255.255.255.0 gateway 192.168.10.1 #WiFi Doesn't with this config auto eth0 iface eth0 inet static address 192.168.4.3 netmask 255.255.255.0 gateway 192.168.4.0 # WiFi Setup auto wlan0 iface wlan0 inet static wpa-ssid Multimedia Server - When wlan0 comes up it uses Gaucho Robot as the ssid #wpa-psk password - The ssid from hostapd.conf address 192.168.4.1 network 192.168.4.0 netmask 255.255.255.0 broadcast 192.168.4.255 # Ethernet/RNDIS gadget (g_ether) # ... or on host side, usbnet and random hwaddr # Note on some boards, usb0 is automaticly setup with an init script iface usb0 inet static address 192.168.7.2 netmask 255.255.255.0 network 192.168.7.0 gateway 192.168.7.1 = root@beaglebone:~# nmap -T4 -F 192.168.4.0-255 Starting Nmap 6.00 ( http://nmap.org ) at 2015-03-01 20:47 UTC Nmap scan report for 192.168.4.2 ---Can ping Dome Camera Host is up (0.00079s latency). All 100 scanned ports on 192.168.4.2 are closed MAC Address: 00:D7:15:01:04:D5 (Unknown) Nmap scan report for 192.168.4.3 ---from Beaglebone Host is up (0.00019s latency). Not shown: 93 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 139/tcp open netbios-ssn 445/tcp open microsoft-ds 3000/tcp open ppp 3389/tcp open ms-wbt-server 8080/tcp open http-proxy Nmap done: 256 IP addresses (2 hosts up) scanned in 39.75 seconds If that isn't bad enough, wlan0 is only configured properly sometimes L This is the result if it works: root@beaglebone:~# ifconfig eth0 Link encap:Ethernet HWaddr 1c:ba:8c:e1:85:5e inet addr:192.168.10.127 Bcast:192.168.10.255 Mask:255.255.255.0 inet6 addr: fe80::1eba:8cff:fee1:855e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:189 errors:0 dropped:0 overruns:0 frame:0 TX packets:297 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:29228 (28.5 KiB) TX bytes:28958 (28.2 KiB) Interrupt:40 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:5 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:319 (319.0 B) TX bytes:319 (319.0 B) mon.wlan0 Link encap:UNSPEC HWaddr E0-CB-4E-A6-58-EC-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1047 (1.0 KiB) TX bytes:0 (0.0 B) usb0 Link encap:Ethernet HWaddr 1a:92:a3:52:26:d4 inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252 UP BROADCAST MULTICAST MTU:1500 Metric:1
[beagleboard] ESP8266 linux driver
Hello there, I was looking around but couldnt find any info about the topc- I was wondering about using the cheap esp8266 module with BeagleBone black, but I couldnt find anything about it in the web. I understand that this is a bit differebtly working device than the wifi usb dongles (i gues its more SoC), but havent anyone though of using it with bbb? The board uses only uart lines, that would be very efficient and cheap. If anyone had any information about it I would aprieciate all help! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
On Wed, Jun 24, 2015 at 2:27 PM, WZ9V dfruehw...@gmail.com wrote: The last Jessie I tried (sometime in April I think) I couldn't get GPIO pins to respond with the sample code and went back to Wheezy. Which one would be best to upgrade to at this time? Jessie 6/15 or 6/17 flasher-4GB Doesn't matter.. If you want the exact same setup as 'wheezy' you downgrade the kernel sudo apt-get update sudo apt-get install linux-image-3.8.13-bone72 sudo reboot Or if you want the 3.14 branch from ti: sudo apt-get install linux-image-3.14.43-ti-r68 Or if you want the new overlay branch, (the one that's going to replace 3.8.) sudo apt-get install linux-image-4.1.0-bone9 This is all documented here: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Kernel_Options Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] ESP8266 linux driver
I see. I didnt know at what baudrates it can exacly operate. I got the point. The versions I tried ran at 9600 baud ... some claim 115200. YMMV :) -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] ESP8266 linux driver
I see. I didnt know at what baudrates it can exacly operate. I got the point. On June 24, 2015 8:45:10 PM g...@novadsp.com wrote: wondering about using the cheap esp8266 module with BeagleBone black, but I couldnt find anything about it in the web. I understand that this is a bit differebtly working device than the wifi usb dongles (i gues its more SoC), but havent anyone though of using it with bbb? The board uses only uart lines, that would be very efficient and cheap. What do you need to know? The device does look exactly like any old modem/terminal. Problem is they are slow. Whilst great for sending modest sized messages ('Hello World') they will not cut it for streaming video. Try hooking one up to a PC with a USB serial adapter - you'll get an idea of capabilities pretty quickly. -- 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/nOxX3eeWIZ0/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Oh No!!! Did I brick my board?
The last Jessie I tried (sometime in April I think) I couldn't get GPIO pins to respond with the sample code and went back to Wheezy. Which one would be best to upgrade to at this time? Jessie 6/15 or 6/17 flasher-4GB On Wednesday, June 24, 2015 at 11:56:03 AM UTC-4, RobertCNelson wrote: Umm, can you be a little more specific.. What exactly are you waiting for from Jessie image's? As they are 100% feature compatible.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.