**** BEGIN LOGGING AT Sun Apr 13 02:59:59 2014 Apr 13 03:03:06 Hi Apr 13 03:04:39 I am using beagle bone white.. While running the code I am getting invalid source Apr 13 03:05:01 I am new to arm Apr 13 03:05:12 hey everyone, I am trying to get the sgx drivers running on 3.12.13 and I have the sgx_ tests running fun but any of the 3d demos spit out an error saying failed to create surface Apr 13 03:05:33 Riyas: what code are you running? Apr 13 03:05:47 i compiled using the 5_01_00 with robert nelsons kernel Apr 13 03:07:21 this is my output of /proc/pvr/version - Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /mnt/kdev/kdev/GFX_Linux_KM System Version String: SGX revision = 125 Apr 13 03:07:48 I am trying to create a i2c slave device..when I am writing Herzegovina i2c reg, I am getting this error Apr 13 03:08:01 Other registers I am able to write Apr 13 03:08:22 whats the address Apr 13 03:08:24 Sorry for my bad English Apr 13 03:08:52 so you can write to the slave device at other registers fine, just one register causing you issues? Apr 13 03:09:04 0x4802ab0 Apr 13 03:09:32 No all the i2c registers are Apr 13 03:10:12 0x4802a0b0 correction Apr 13 03:11:03 When I read using memory window also, I am not able to read the registers Apr 13 03:12:10 Do anybody have a SPI slave code, I didn't find anything on internet, all are SPI master code Apr 13 03:13:40 Hello everyone Apr 13 03:13:49 I need some help Apr 13 03:13:59 How to build kernel 3.14 onto BBB ? Apr 13 03:14:33 Anybody online now please? Apr 13 03:14:34 Hi Apr 13 03:14:45 Is anybody know e Apr 13 03:15:00 Does anybody has the experience in building kernel 3.14 onto BBB? Apr 13 03:15:02 Where I can get i2c slave sample code Apr 13 03:15:29 to talk to a slave or function as a slave? Apr 13 03:16:17 Functions as a slave Apr 13 03:16:51 sorry, no code for tha Apr 13 03:18:02 Do you have any idea why I got the error? Apr 13 03:18:39 What is the exact error you're getting? Apr 13 03:21:45 Invalid source at some location Apr 13 03:22:07 That is happening when I write i2c registers Apr 13 10:03:49 well, got my gem published Apr 13 10:03:57 suns coming up though, time to sleep Apr 13 10:04:01 guess I document it proper tomorrow Apr 13 10:26:57 nyt-: you know you might not wake up tomorrow Apr 13 10:28:17 happens Apr 13 10:28:59 * nyt- & Apr 13 10:29:47 * shawn\ | Apr 13 10:31:07 some good weed too Apr 13 14:02:34 hello beagles Apr 13 14:03:50 anyone using the 18xx wifi cape? Apr 13 14:44:38 Hi, I have a bmp180 connected to my beaglebone black. I am running the Adafruit_BBIO library and have the Adafruit-Raspberry-Pi-Python-Code installed. When I run i2cdetect -y -r 0 or i2cdetect -y -r 1 I only get UUs. Apr 13 14:44:59 Is my device not connected properly? Apr 13 14:45:18 or do I have to enable something else possibly? Apr 13 14:46:40 this is my i2cdetect response, Apr 13 14:47:23 0 1 2 3 4 5 6 7 8 9 a b c d e f Apr 13 14:47:24 pinmux set correctly? Apr 13 14:47:29 correct DT loaded? Apr 13 14:49:32 I am using pins P9_19 and P9_20 for SCL and SDA respectively. I was under the impression that they were set up to work automatically with the Adafruit_BBIO library installed Apr 13 14:50:18 how can I check if the pinmux is set correctly? Apr 13 15:00:54 i have a logic signal coming out of the pressure sensor into the set i2c pins so I assume it is related to how the BBB is reading the inputs. Apr 13 15:37:31 hey Apr 13 15:38:06 I'm using BBB for power electronics project Apr 13 15:50:54 hey. Apr 13 16:34:30 Can anyone answer a question for me about usb speeds on BBB Apr 13 16:36:16 Jay_: Only works with High-speed for me. Although it enumerates in Full-speed, the mass storage isn't accessible for me. not sure of MB/s bandwidth Apr 13 17:44:21 anyone knows how much AC input signal can be given to beaglebone Apr 13 17:44:34 ? Apr 13 17:44:37 ? Apr 13 17:46:20 to which port? rail? Apr 13 17:46:59 what are you trying to do? Apr 13 17:47:24 actually I want to sense AC signal Apr 13 17:47:50 can you explain a bit more? Apr 13 17:49:46 I'm doing power electronics project...in the project, we have to sense the harmonics in the current ...so for this we have to feed AC analog signal to BBB and I'm not sure whether BBB takes AC analog signal Apr 13 17:50:04 or not Apr 13 17:50:39 you'd need to check the TRM _and_ the SRM Apr 13 17:51:24 your issues are going to be around if the ADC can do negative voltage, or if you need to translate that and with what frequency you can sample the pins Apr 13 17:51:48 to be honest I have the feeling that this might not be what you're looking for, but with the few things you said it's impossible to know. Apr 13 17:53:01 I will explain in detail about the issue Apr 13 17:53:42 well it's your engineering project, not mine. Apr 13 17:54:01 so you'll have to look at the TRM and the SRM regarding the ADC capabilities Apr 13 17:54:11 ok Apr 13 17:55:46 you know any other micro controller board which can take full AC signal Apr 13 17:56:25 ? Apr 13 17:57:55 What's full? Apr 13 17:58:00 Full is relative. Apr 13 17:59:17 If I recall, the BBB's ADC is 1.8V. Apr 13 17:59:36 but ADC can take negative value? Apr 13 18:00:23 I assume not, but I'm not sure. Apr 13 18:00:33 do we have an error in the latest openssh-server package? it complains about "locale: Cannot set LC_CTYPE to default locale: No such file or directory" Apr 13 18:00:33 sunny_: if u set middle value as 0? Apr 13 18:00:40 Besides the full manuals, also see this: http://www.elinux.org/Beagleboard:BeagleBoneBlack#Tips_and_Pointers Apr 13 18:01:13 Mentioned there: do not feed the ADCs when the board isn't powered. Apr 13 18:01:59 ok Apr 13 18:03:23 So ADC will not take negative values Apr 13 18:03:32 If that's what the docs say. Apr 13 18:03:39 You can bias/scale it if needed. Apr 13 18:03:44 Or use an external ADC. Apr 13 18:06:09 I think external ADC will be a good idea Apr 13 18:06:21 than feed data into BBB Apr 13 18:06:42 ZiNC: i do not see any info on my ssh issue on that page, was that meant for me? Apr 13 18:07:28 ruben: It was to sunny. Apr 13 18:07:56 ow. could anyone help me with my problem? Apr 13 18:08:15 Can't say I know about that... Apr 13 18:08:36 ruben-ikmaak, locale isn't properly defined on your system Apr 13 18:08:39 i just download the bbb.o image, and update it Apr 13 18:08:49 then this happens Apr 13 18:08:50 Zinc you know any ADC device which can take input of 120 V Apr 13 18:09:26 Can't say I do. Apr 13 18:09:32 i tried "dpkg-reconfigure locales" but it doesnt solve it Apr 13 18:11:50 try update-locales Apr 13 18:12:25 ZiNC you know any ADC device which can take input of 120 V Apr 13 18:13:26 120V DC? Apr 13 18:14:11 speaking of ADCs, what's the most accurate way to read BBB ADCs today.. I remember there was an IIO helper that converted ADC values to mV but that seemed like a crude hack Apr 13 18:14:25 can I get the 12 bit values out directly? Apr 13 18:15:07 Can BBB take AC input signal? Apr 13 18:16:12 abc: as we told your friend sunny, look at the TRM and SRM. the rest is electrical engineering Apr 13 18:16:16 ok dude, just tell us what you want to do and we'll all get there faster Apr 13 18:16:19 ok, i did run update-locale, the locale info is gone, now i get: "Failed to get D-Bus connection: Failed to authenticate in time." only. Before that happened also, but i hoped it was the locale. Apr 13 18:18:16 restart of SSH also fails because of this, so reboot/logout would shut me out unil Apr 13 18:18:29 until i re-dd the card Apr 13 18:22:51 have you tried restarting dbus yet? Apr 13 18:25:18 trying now, takes long time. Apr 13 18:28:42 Just in case someone didn't see it yet and is interested in it, the campaign is still running for 37h: http://beagleboard.org/blog/2014-04-07-project_spotlight_shield_io/ Apr 13 18:34:47 no, restarting dbus failed as well. Apr 13 18:53:18 morning Apr 13 19:17:54 i have no idea on how to proceed, wiil just re-dd the image, and make sure not to upgrade the sotware... Apr 13 19:45:31 Hi is there a 100% white beagleboard case available to buy Apr 13 20:08:38 Possibly. Apr 13 20:09:02 eBay's probably the place to look. Apr 13 20:37:07 where the description of beaglebone SRM andTRM available Apr 13 20:39:32 ? Apr 13 20:43:41 http://elinux.org/Beagleboard:BeagleBoneBlack#LATEST_PRODUCTION_FILES_.28B.29 Apr 13 20:46:22 veremit you know how we can feed input AC signal to BBB Apr 13 20:46:35 to do what? Apr 13 20:47:13 Actually we want to sense AC signal harmonics Apr 13 20:47:45 no. You should perhaps look into how to use the PRU to do ADC conversions. Apr 13 20:48:38 What is PRU? Apr 13 20:48:58 Programmable Realtime Unit Apr 13 20:49:59 I'm completely new to BBB .....PRU is available on BBB Apr 13 20:50:53 http://elinux.org/BeagleBone_PRU_Notes Apr 13 20:51:22 http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/05/22/bbb--working-with-the-pru-icssprussv2 Apr 13 20:57:53 veremit what is the voltage and current limit for PRU pins? Apr 13 20:58:28 same as any other IO pin? i'm not aware there are special "PRU pins" Apr 13 20:58:44 you need to configure your pin muxes appropriately Apr 13 20:59:14 hi, how do i configure spi0? Apr 13 20:59:35 ls -la /dev/spi* does not show spi port Apr 13 21:02:13 what os are you using Apr 13 21:02:46 echo BB-SPIDEV0 > /sys/devices/bone_capemgr.*/slots Apr 13 21:11:58 nyt-: official debian Apr 13 21:12:06 see command above Apr 13 21:15:37 veremit I think first problem is that how to sense analog data ...If I use ADC I cannot sense negative cycle of AC signal...PRU is used after the ADC Apr 13 21:16:19 Guest37958 depends entirely on your biasing Apr 13 21:18:58 It is possible to sense 5V or lower AC voltage through ADC pins because ADC pins will take maximum 1.8 V Apr 13 21:19:09 ? Apr 13 21:19:44 you will need some interfacing electronics Apr 13 21:23:11 nyt-: will that overwrite slots file? Apr 13 21:23:22 its not a normal file Apr 13 21:23:29 thats how you load device tree files Apr 13 21:23:54 you can cat the file and see whats currently loading Apr 13 21:23:59 after runnin gthe command i gave you, you should see Apr 13 21:24:00 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPIDEV0 Apr 13 21:24:04 or similar Apr 13 21:24:20 nyt-: is it possible to backup? Apr 13 21:24:32 everything i said was just lost on you Apr 13 21:24:36 its a sysfs file, its not a file Apr 13 21:24:39 its an interface to the kernel Apr 13 21:25:07 how do i unload BB-SPIDEV0? Apr 13 21:25:10 you reboot Apr 13 21:25:15 otherwise you get to deal with a kernel crash Apr 13 21:25:18 O.O Apr 13 21:25:22 but the command would be Apr 13 21:25:31 echo -XX > /sys/devices/bone_capemgr.*/slots Apr 13 21:25:42 where XX is the number at the start of the line for the spidev Apr 13 21:25:57 except current kernels do not unload device trees properly without crashing Apr 13 21:26:08 except maybe the single pin pwm trees Apr 13 21:26:11 those unload ok Apr 13 21:27:46 i did sudo ~ and it throws error with 'permission denied' Apr 13 21:28:09 didn't load Apr 13 21:28:13 you need to run as root so youre probably doing something wrong Apr 13 21:28:24 sudo echo BB-SPIDEV0 > /sys/devices/bone_capemgr.*/slots Apr 13 21:28:35 or just sudo -s Apr 13 21:28:38 you can't sudo echo .. you need to sudo su :p Apr 13 21:28:39 then run it once youre in the root shell Apr 13 21:30:03 lol; override board name, 00A0, override manuf, BB-SPIDEV0 Apr 13 21:30:16 board name and manuf??? Apr 13 21:33:34 ok, so this enables spi0, but how to interact with spi0 port? Apr 13 21:33:48 then the /dev/spi node is created :p Apr 13 21:34:15 you'll have /dev/spidev0.0 and 0.1 Apr 13 21:34:16 i see it. Apr 13 21:34:18 you'll want to use 0.0 Apr 13 21:34:26 as there is no cs hookup in that tree for 0.1 Apr 13 21:34:33 ok Apr 13 21:35:05 is there api? Apr 13 21:35:24 in the linux kernel there are docs on how to interact with spi Apr 13 21:35:36 you interface through ioctl Apr 13 21:36:12 https://www.kernel.org/doc/Documentation/spi/spidev Apr 13 21:36:38 if you can use ruby I just wrote a gem to make it fairly easy Apr 13 21:36:55 https://www.kernel.org/doc/Documentation/spi/spi-summary Apr 13 21:37:10 http://pastebin.com/93FDDcas Apr 13 21:37:16 seriously need a google bot in here ... Apr 13 21:37:19 haha yeah Apr 13 21:37:36 ezmode spi communication w/ ruby gem there Apr 13 21:38:16 * nyt- gets back to actually documenting it Apr 13 21:40:33 nyt-: i'm not familiar with ruby Apr 13 21:40:45 kernel docs pasted have example in C Apr 13 21:40:51 all the info you need is in there Apr 13 21:41:57 nyt-: c is better. I need maximum spi-io speed out of bbb Apr 13 21:42:29 through the kernel interface in C i was getting around 16k msgs a second Apr 13 21:42:32 how many did you need? Apr 13 21:42:57 as much as i can Apr 13 21:43:05 what are you working on? Apr 13 21:43:37 two ov7725+fifo Apr 13 21:44:10 well data xfer rates will basically be the same whichever language you use Apr 13 21:44:25 just spi msgs per second will be limited by using the kernel interface to about 20k/s Apr 13 21:44:34 well, less Apr 13 21:46:15 qvga 120fps Apr 13 21:47:23 trying to use opencv c++ Apr 13 21:51:42 qvga(240x320 pixels) * fps(120 1/s) * #camera(2) = 18432000 pixels/s Apr 13 21:51:59 you're not making an spi call for each pixel Apr 13 21:52:09 xfer a frame at a time Apr 13 21:55:23 hm. Apr 13 21:55:30 how do i enable parallel port? Apr 13 21:55:36 lolwut Apr 13 21:56:03 ill just use parallel port Apr 13 21:56:10 good luck Apr 13 21:56:16 lol Apr 13 21:59:37 Hi guys Apr 13 21:59:46 sub? Apr 13 21:59:47 I m new to BeagleBoard family Apr 13 21:59:56 cool Apr 13 22:00:06 Trying to make uboot ethernet working Apr 13 22:00:30 I tried as per groups suggestions Apr 13 22:00:42 I m able to ping my host from beagle board Apr 13 22:00:50 But other way not working Apr 13 22:01:05 Not able to ping from my host machine to beagle board Apr 13 22:01:30 PLease provide me some suggestions Apr 13 22:01:41 how is your beagleboard connected physically Apr 13 22:01:46 and what addresses are you trying to ping Apr 13 22:01:51 load os Apr 13 22:01:51 Through LAN cable Apr 13 22:02:07 I m able to do tftpboot also Apr 13 22:02:19 I can load any file from host wia tftpboot Apr 13 22:02:45 so what exactly is your issue? Apr 13 22:02:59 My main goal is to have working bootloader with ethernet connectivity so that i can connect beagle with QNX IDE Apr 13 22:03:18 I m not able to ping beagleboard from host machine Apr 13 22:03:31 due to that QNX iDE is not detecting my board Apr 13 22:04:11 My board is BeagleBoard xM Rev C Apr 13 22:04:26 ALso confused with ethernet over usb Apr 13 22:04:45 This board has seprate ethernet port and 4 usb HOST port Apr 13 22:05:18 BBB has pwm comparator? Apr 13 22:05:21 I have connected my board with LAN cable and using static ip's Apr 13 22:05:34 Not sure Apr 13 22:06:36 Guest22366: bascially you are wanting the impossible Apr 13 22:06:40 I went through google groups and took xloader and uboot from seperate tags Apr 13 22:06:59 Copiled xloader and uboot myself and works fine Apr 13 22:07:03 Through BBB hysteresis current control can be done? Apr 13 22:07:44 Not sure abt that also Apr 13 22:08:00 bascially you are wanting the impossible ? Apr 13 22:08:39 When i m loading linux kernal using Angstrom dist i can ping beagle from host machine Apr 13 22:08:42 expecting u-boot to have full multitasking tcp/ip stack Apr 13 22:09:11 At a time i m just pinging from onside Apr 13 22:09:19 Either board or host Apr 13 22:09:27 XorA: UEFI might help there Apr 13 22:09:57 What is UEFI? Apr 13 22:10:21 I had used uboot with mini2440 board and i was able to ping from host and board Apr 13 22:10:28 it had DM9000 Apr 13 22:14:25 Please help me out with issue Apr 13 22:14:46 I m not sure whether my understanding is correct or not Apr 13 22:42:54 I don't know what's up with my BBB, apparently the eMMC is corrupted and it won't boot. then I've netbooted debian on it but if I try to dd from the emmc the BBB goes dark Apr 13 22:43:10 need more details Apr 13 22:45:30 well hmm I take that back Apr 13 22:45:41 if I dd to /dev/null it keeps working Apr 13 22:46:02 if I try to dd and pipe over ssh to another host the BBB dies instantly Apr 13 22:46:08 commands? Apr 13 22:46:38 root@arm:~# dd if=/dev/mmcblk0 | ssh 10.77.1.5 "dd of=/ebbb-p1.img" Apr 13 22:47:06 same with mmcblk0p1 but I guess this is a network issue Apr 13 22:47:21 even the lights go out from the ethernet port Apr 13 22:47:23 the heartbeat led locks up? Apr 13 22:47:27 yea it's dark Apr 13 22:47:37 the heartbleed led? Apr 13 22:47:42 hearbeat Apr 13 22:47:44 oh behave... Apr 13 22:47:59 all leds are dark Apr 13 22:48:02 and same error with mmcblk0p1 eh Apr 13 22:48:11 have you monitored the serial console during this? Apr 13 22:48:17 -rw-r--r-- 1 root root 1359872 Apr 14 01:45 ebbb-p1.img Apr 13 22:48:23 that appeared on the other end Apr 13 22:48:25 honestly: :) Apr 13 22:48:36 nyt, I am on the serial console doing ths Apr 13 22:48:44 I netbooted from uboot to get this shell Apr 13 22:48:54 hm Apr 13 22:49:11 do you have anything plugged into the emmc pins? Apr 13 22:49:32 nothing plugged into the board except power, ethernet and serial cable Apr 13 22:49:50 but it seems I can dd all I want to /dev/null Apr 13 22:49:59 odd Apr 13 22:50:03 so maybe it's another problem Apr 13 22:50:17 for shits and giggles, try it with a dif blocksize? Apr 13 22:50:31 or using netcat instead of ssh Apr 13 22:52:10 I'm swapping power supplies first.. Apr 13 22:55:18 eh ok it seems to work with the new power supply :O Apr 13 22:55:31 cool Apr 13 22:55:43 what were you using Apr 13 22:56:08 well a normal 5V 2A ps Apr 13 22:56:20 came with a La Fonera wifi box :) Apr 13 22:56:22 lol Apr 13 22:56:23 and what now? Apr 13 22:56:42 another 5V 2A ps I don't know where this came from Apr 13 22:56:54 barrel jack anyway Apr 13 22:57:02 rofl i'm curious what your first one was putting out Apr 13 22:58:28 I don't have time to 'scope it now Apr 13 22:59:02 Best source for good cheap AC/DC bricks: old brand name routers. Apr 13 22:59:16 i just bought the wrt1900ac Apr 13 22:59:26 beefcake Apr 13 22:59:30 Did it come with a good AC/DC brick? :) Apr 13 22:59:34 prob ;) Apr 13 22:59:39 i've been maintaining some openwrt builds for wdr4300 Apr 13 22:59:44 this thing so much more powerful Apr 13 23:00:38 My only realistically opensource capable router doesn't have support. :-/ Apr 13 23:01:14 wdr4300 from tplink, real nice hardware for super cheap Apr 13 23:01:18 deals run on it for like $40-50 Apr 13 23:02:06 root@OpenWrt:~# uptime Apr 13 23:02:06 18:56:03 up 324 days, 59 min, load average: 0.09, 0.04, 0.04 Apr 13 23:02:07 hah Apr 13 23:02:11 WR1043 is better value. Apr 13 23:02:11 almost a year Apr 13 23:02:47 i disagree Apr 13 23:03:05 Depends on what specs you're looking for, I guess? Apr 13 23:03:41 For me it's just gigabit ports, N, and opensource firmware. Apr 13 23:03:56 2.4ghz only, not as much flash, slower proc, and about same price Apr 13 23:04:29 i got my wdr4300 for $40 during a sale, every few weeks they're on sale lol Apr 13 23:05:33 I'm not in the US. Apr 13 23:05:42 ah Apr 13 23:10:36 hm Apr 13 23:10:52 heat stone quota exceeded Apr 13 23:10:54 * nyt- & Apr 13 23:25:44 The minnowboard max also looks somewhat interesting for that sort of stuff Apr 13 23:25:51 GE/SATA Apr 13 23:46:07 newbie questions ok here? Apr 13 23:46:23 i'm newbie, too Apr 13 23:46:27 ;-) Apr 13 23:46:54 Can't ssh over USB... ssh_exchange_identification: Connection closed by remote host Apr 13 23:55:21 what user are you trying to ssh as? Apr 13 23:56:44 oops... he didn't wait for a respomnse Apr 14 00:17:06 man Apr 14 00:17:06 loading pwm device tree Apr 14 00:17:06 puts pwm in an ugly state lol Apr 14 00:17:06 period=500000 duty=0 Apr 14 00:17:07 you'd think it would come up with run at 0 or something Apr 14 00:24:24 https://github.com/notnyt/beaglebone/tree/master/examples Apr 14 00:24:26 weee examples live Apr 14 00:24:30 now just need to write the rdoc Apr 14 00:24:41 someone coming to pick up some old speaker enclosures though -- unfortunate delay Apr 14 00:45:31 i have installed debian on my sd card on the BBB, but the eMMC still has the stock firmware, so i have to hold the boot button down when I power on to get it to boot from the sd card. how do i make it always boot from the sd card? Apr 14 01:03:29 k-man: think i only held the boot button the first time i booted mine from the sd? then it booted from then on from sd Apr 14 01:03:38 ive debian on both the sd and emmc Apr 14 01:04:55 Dan1, if you remove power completely it will boot from emmc next time, unless you wrote debian to the emmc Apr 14 01:06:11 i have debian on both yea, but it always boots from the one on the sd Apr 14 01:06:20 even after power cycle Apr 14 01:06:53 maybe debian on the emmc changes the boot order? I don't know Apr 14 01:08:16 yea ive no clue sorry, just hoped what mine does might help ya Apr 14 01:09:20 ok thanks Dan1 Apr 14 02:33:40 brute force would be to blank the internal Apr 14 02:51:18 nyt- how do i use gpio? **** ENDING LOGGING AT Mon Apr 14 03:00:00 2014