**** BEGIN LOGGING AT Sun Jan 04 02:59:58 2015 Jan 04 03:00:00 im not sure tat theres any wear leveling for those Jan 04 03:00:02 by any chance, are you using a grsec patch on your kernel? Jan 04 03:00:56 no im not Jan 04 03:01:20 how unfortunate :) Jan 04 03:01:24 y Jan 04 03:01:35 i see little point in running a hardened system Jan 04 03:01:48 well ideally i'd love to have grsec but it's definitely not a requirement Jan 04 03:01:49 all it will do is stop me developing my forth systems anyway Jan 04 03:02:04 perhaps i should worry about getting a vanilla kernel working before even thinking about hardening it ;) Jan 04 03:02:15 i wrote an arm32 forth for my bbxm, im porting it to thumb2 right now Jan 04 03:02:35 a lot of debug and for most of it im flying blind because the gnu development tools are crap Jan 04 03:02:40 which cross compiler did you use to build your kernel? Jan 04 03:02:48 i didnt build my kernel Jan 04 03:03:10 tbh i have never gotten any kernel to work except the one that came on the flash card that came with my board Jan 04 03:03:37 i copied it to a new card then edited the uEnv file to make /dev/sda2 the / partiton Jan 04 03:03:55 that makes me feel uneasy... Jan 04 03:04:00 why Jan 04 03:04:17 you boot off the /mmcblk0p1 Jan 04 03:04:24 and point it to /dev/sdaN Jan 04 03:04:29 my a1 is swap Jan 04 03:04:30 a2 is / Jan 04 03:04:55 and i have crossdev compiled on my laptop and desktop so i can distcc emerges Jan 04 03:10:05 btw thers also #gentoo-embedded Jan 04 03:10:14 and #gentoo-arm Jan 04 03:11:38 thanks :) Jan 04 06:11:18 hello Jan 04 06:12:05 how accurate/smooth are 8-bit pwm pins for controlling servo motors? Jan 04 06:12:39 or am i thinking about this the wrong way, do those things always need some other sensor for feedback? Jan 04 07:24:42 does this mean I can control only 4 servos? or 8. http://beagleboard.org/static/images/cape-headers-pwm.png Jan 04 07:33:32 shay_shay: I don't know much about servos, but you can build your own waveforms using the PRUs on basically any GPIO Jan 04 07:34:02 I don't know if they will be good enough for what you are doing, but they work well for other applications such as driving LED strips, which also use PWM Jan 04 07:34:29 take a look at LEDscape Jan 04 07:34:52 they'll drive a wave form with a period of ~1us Jan 04 07:34:59 and I think they can go lower Jan 04 07:35:04 what are the timers for? Jan 04 07:35:25 timers? Jan 04 07:35:41 see the url I posted? Jan 04 07:35:52 "8 PWMs and 4 timers" Jan 04 07:36:09 oh, I don't know Jan 04 07:39:07 the other pins say "enhanced high resolution pulse width modutator (e.g. EHRPWM1A)" Jan 04 07:39:48 no need to fake it with GPIO when the SoC has these dedicated functions built in Jan 04 07:40:22 but Jan 04 07:40:40 Oh, I just mentioned the PRUs since I thought you wanted to do more... Jan 04 07:41:39 it says there are 8 PWM's but I count 12 which are labeled EHRPWM Jan 04 07:42:40 cwshep: I just want to know how many it can do, I have been googling it for a good couple of hours and frankly my reading comprehension is not good enough on these things, or the information out there is very vague Jan 04 09:38:34 I am using epoll to callback my function when a GPIO edge is sensed, is anyone else familiar with this here? Jan 04 11:02:06 I am using epoll to callback my function when a GPIO edge is sensed, is anyone else familiar with this here? Jan 04 13:03:22 so many ppl come on board, so I will try this one more time Jan 04 13:04:35 did anyone here used connected a GPIO to and IRQ and used poll to trigger a callback when the GPIO changes Jan 04 13:04:36 ? Jan 04 14:18:27 cityoflights2: yes Jan 04 14:18:37 oh, great Jan 04 14:18:59 open the sysfs file and use poll() Jan 04 14:19:03 my problem is that I see a nice squre wave in gpio48, between 0-3.3V Jan 04 14:19:28 and my python code, used to work, but now, I only see one trigger Jan 04 14:20:01 what exactly is your setup and your goal? i fear i missed something Jan 04 14:20:21 I started to see if I was wrong to use fseek() and tried with lseek() after the first trigger Jan 04 14:20:50 I connected a flow sensor directly to gpio48 Jan 04 14:21:31 here is the sensor: Jan 04 14:21:34 http://www.seeedstudio.com/wiki/G3/4_Water_Flow_sensor Jan 04 14:21:59 I supply Vcc=+5V GND and the middle is open collector Jan 04 14:22:20 I wire this open collctor to gpio48, and use the device tree to pull it up Jan 04 14:23:02 my goal is to measure how many liters passed Jan 04 14:23:11 5.5 pulses = 1L Jan 04 14:23:38 after working fine for two months, this stopped working Jan 04 14:24:05 I still see a nice square wave from the sensor when water is flowing Jan 04 14:24:15 each pulse is about 50 ms Jan 04 14:25:28 and your application has the fd open and does poll()? Jan 04 14:26:44 here is the code used Jan 04 14:27:10 just answer my question... Jan 04 14:27:29 yes, I use epoll Jan 04 14:27:55 and what exactly does not work? Jan 04 14:28:59 I run the code, then open the water flow. the program triggers only once Jan 04 14:29:20 I expect it to trigger again as the water flows, and pulses are emitted Jan 04 14:29:27 from the sensor Jan 04 14:30:00 so, epoll() detects it only once as readable? Jan 04 14:30:06 but it worked before? Jan 04 14:30:30 correct, sir Jan 04 14:30:46 and what did you change between the working and broken state? Jan 04 14:31:07 don't dare to say "nothing" :P Jan 04 14:31:12 noting, I think Jan 04 14:31:37 well, I am sure I didn;t change the events, and poll() code Jan 04 14:31:53 but you changed something Jan 04 14:32:02 I may have the changed to logic after I sense a trigger Jan 04 14:32:12 yep, Jan 04 14:32:36 now you know where to search the bug Jan 04 14:32:52 sometimes it doesn't even trigger onc Jan 04 14:32:54 once Jan 04 14:34:38 was there any bug in pol() and gpio in 3.8.13 bone62 ? Jan 04 14:35:43 you changed the logic of your code and now it does not work again. why the hell don't you fix your program? :D Jan 04 14:36:14 I am trying but even with the old git commit , that worked for two months it fails Jan 04 14:36:31 did you change the kernel since then? Jan 04 14:36:34 Now I did run a lot of apt-get upgrade Jan 04 14:36:40 I should have Jan 04 14:44:53 I am wating for rcn-ee 3.19 rc3 to test this on a current kernel Jan 04 14:45:25 I have reason to believe its a driver issue, not my code Jan 04 23:58:31 can i ask a question which might sound dumb? Jan 05 00:00:34 How would I install php on BBB over wifi? The wifi connection is on my laptop, but my BBB has no wifi capability..I know I need to use ssh, but SSH from the beaglebone or into it from my laptop? I don't have the default ANgstrom distro, so there won't be any helpful pop-up when I plug it in. Jan 05 00:00:51 I hope someone here knows what I am talking about Jan 05 00:04:59 Otherwise I'm stuck in a seemingly never-ending round of trying to install dependencies for the basic php5 armhf package Jan 05 00:06:19 hello? anyone at their keyboard? Jan 05 00:06:24 should i just use django instead? Jan 05 01:38:54 greetings all Jan 05 01:39:52 is there a handy script/doc out there to clone the emmc from one bbb to clone it to the emmc on several other units? Jan 05 01:40:06 I want to build this image up first then copy it Jan 05 01:41:12 I dont mind using the microsd for interim staging however when its done I want to be unit only Jan 05 01:47:37 and happy new year all Jan 05 01:52:39 as opposed to just using dd? Jan 05 01:54:24 beest: I guess I could boot up from prepared sd and dd it straight in using external usb drive Jan 05 01:54:33 that would be simple enough true Jan 05 01:55:20 I'm overthinking this late at night Jan 05 01:55:22 heheheh Jan 05 01:57:27 why would you even need to use a usb drive, just use an SD large enough to fit a bootable environment plus the disk image file Jan 05 01:57:44 doh good point... Jan 05 01:58:01 or you can avoid the sd card and just boot from a usb disk, either way Jan 05 01:58:09 like I said.... too sleepy I think Jan 05 01:58:21 thanks though Jan 05 01:58:46 it's fine, i thought i was underthinking your use case for a second :P Jan 05 01:59:31 well I think it "is" time to sleep now... Jan 05 01:59:33 cheers all Jan 05 02:09:50 does debian use a dhcp client to manage dhcp requests? Jan 05 02:10:49 i'm trying to learn how i can find out the network parameters (address, gateway, dns, etc.) that are assigned by dhcp using C/C++ **** ENDING LOGGING AT Mon Jan 05 02:59:58 2015