**** BEGIN LOGGING AT Tue Oct 10 03:00:01 2017 Oct 10 03:01:33 * vagrantc really wishes the /dev/mmcblk*boot* could be used for u-boot.img Oct 10 03:01:48 yeah Oct 10 03:01:58 iirc the x15 does support it Oct 10 03:03:10 well, actually, u-boot.img can be located there I think Oct 10 03:03:12 just not SPL Oct 10 03:03:22 (on the am335x I mean) Oct 10 03:06:04 hrm. can't read the partition table of the eMMC ... version of u-boot on the eMMC reads it just fine Oct 10 03:06:39 sounds odd Oct 10 03:06:56 that's the same version that hung on boot when installed to eMMC Oct 10 03:07:32 the power-cycling vs. reset was the key to the microSD boot button mystery ... gotten a lot of practice at that now Oct 10 03:08:36 yeah, the sysboot pins are latched right after power-on-reset is released, and the sysboot register is reset to the latched pin values at warm reset Oct 10 03:09:05 at any reset I mean Oct 10 03:09:13 i put a 4 mb unused partition at the beginning of the device, due to am335x_evm being just large enough to overwrite the first partition Oct 10 03:09:39 i know on recent images RCN leaves the first 4MB unpartitioned Oct 10 03:09:39 it's a good idea to use 4MB alignment for partitions on eMMC anyway Oct 10 03:10:04 and typical debian tools leave the first 1MB unpartitioned Oct 10 03:10:18 4MB is the allocation group size of the eMMC Oct 10 03:10:33 (i.e. erase block) Oct 10 03:11:11 ah, so maybe i should have only created a 3MB partition... Oct 10 03:12:00 maybe that's somehow confused am335x_evm ... and somehow am335x_boneblack of the same upstream version can handle it fine? Oct 10 03:12:26 do you mean you're using a FAT boot partition? Oct 10 03:12:42 (since rcn's images haven't used one for ages) Oct 10 03:13:28 no, i just left an unpartitioned partition instead of trying to nudge the first partition to 4MB Oct 10 03:14:05 * vagrantc reads u-boot/board/ti/am335x/README to see if there's anything useful in there Oct 10 03:14:47 trying to cover the u-boot area with a partition sounds like a bad idea to me Oct 10 03:15:16 a partition is generally understood to imply a filesystem resides there Oct 10 03:15:47 i wonder if u-boot.img is clobbering where it expects to find u-boot env Oct 10 03:16:12 zmatt: deleting the partition didn't help ... but maybe there's now no partition 1 Oct 10 03:16:17 checking the offsets that are configured into u-boot would certainly be a good idea Oct 10 03:16:28 yeah it'll also throw off partition numbering Oct 10 03:19:03 though why the beaglebone black version handles it fine ... is beyond me Oct 10 03:19:55 basically, i was exploring adding the am335x_evm target to the debian u-boot packages, to get support for additional boards ... at which point it's probably not worth also maintaining am335x_boneblack Oct 10 03:21:28 since it appears to support CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2" Oct 10 03:22:02 although only the bonegreen is the one i've heard others actually using Oct 10 03:22:36 * vagrantc should also figure out overlays from u-boot at some point Oct 10 03:22:46 to enable this LCD7 cape Oct 10 03:27:04 * zmatt just avoids overlays Oct 10 03:27:44 I mean, I understand them for the "plug & play" capes feature, but that's something I don't actually care about Oct 10 03:31:28 hmmm.. from u-boot, looks fairly simple Oct 10 04:47:24 well, after all that, i think i fried the poor thing by plugging it into the lcd7 cape upside down Oct 10 04:47:55 now there's a little blue light that briefly flashes when power is applied Oct 10 04:59:55 * vagrantc sighs and moves one Oct 10 08:24:38 rip Oct 10 13:26:48 I'm looking for a link to the PocketBeagle datasheet. Arrow has it on their PocketBeagle page (https://www.arrow.com/en/products/pocketbeagle/beagleboardorg) but I don't see a link to this datasheet from BeagleBoard.org. Anyone know the link to this datasheet? Oct 10 14:32:17 jpw: there's an "Arrow" watermark in the document, suggesting that they may have made it and not beagleboard.org Oct 10 14:32:26 it looks mostly like a printout of the FAQ ( https://github.com/beagleboard/pocketbeagle/wiki/FAQ ) Oct 10 14:33:45 Found the spec sheet in the PocketBeagle GitHub repo: https://github.com/beagleboard/pocketbeagle/blob/master/docs/PocketBeagle_Short_Spec.pdf?raw=true Oct 10 14:35:38 I don't think there's a proper SRM for the pocketbbb yet Oct 10 14:46:20 Hello I would like to know if I can make my beaglebone transmit internet since it already has 3G internet and I need to route via RJ45's own port Any solution? Oct 10 15:00:52 if i installed libxml2 on my bbb and want to cross dev for it can i just copy the libs and headers to my ubuntu machine and use as includes and libraries in eclipse makefile project? Oct 10 16:21:57 Are people having trouble with pip install on the BBB? Oct 10 16:39:08 i am remote debugging with gdbserver on beaglebone black, my application cannot write files when debugging it but can when running from command line, what am i doing wrong? Oct 10 16:40:11 Forget my question...I just cannot use pip install pusher for some reason. pip works! Oct 10 17:17:07 zarzar1: running it with different privileges in those two cases I guess? Oct 10 17:17:30 that's really the only obvious explanation Oct 10 17:17:42 zmatt: command line is debian user, remote dugging is with sudo priv Oct 10 17:18:04 uhh, why? Oct 10 17:18:10 tried with and without sudo when remote debugging, neither worked Oct 10 17:18:24 just trying things... Oct 10 17:18:54 if you normally run without root privileges there's no reason to suddenly start using them for remote debugging Oct 10 17:19:36 sure, i was just trying thingd Oct 10 17:19:53 thought it maybe had an affect Oct 10 17:20:21 well, with root privileges you can obviously write files basically anywhere, but that's generally not a good thing Oct 10 17:20:34 true Oct 10 17:26:27 https://pastebin.com/6kLTsGgN you can use something like this to verify as which user you're running and what the current directory is Oct 10 17:26:54 that might help with debugging Oct 10 17:31:09 zmatt thanks, the debugging directory is wrong (or different than i thoguth it would be) Oct 10 17:31:46 /home/debian/ instead of where the executable is ssh'ed to Oct 10 17:32:22 the location of the executable is unrelated to the current working directoru Oct 10 17:32:49 i see Oct 10 17:32:53 most executables live in /usr/bin, but it would be rather useless if that means that /usr/bin would be the cwd when running one :) Oct 10 17:33:56 typing "ls" would then always show the contents of /usr/bin ;) Oct 10 17:34:32 ... Oct 10 17:34:51 oh ok, for remote debug i use a folder on Desktop, i need to change cwd now to that directory when debugging, either by an eclipse/gdbserver setting or in the code Oct 10 17:35:13 you can use chdir() Oct 10 17:35:40 probably there's also a gdbserver setting but I don't know much about it Oct 10 17:35:57 ok, would be nice to handle it via an eclipse debug config Oct 10 17:36:14 I know even less about eclipse Oct 10 17:36:19 ok cool, io'll check, thanks again zmatt Oct 10 21:10:28 Hi, can I have BLE enabled during suspend to RAM in a BeagleBone Green? Oct 11 00:28:36 You know building the image for the BBB is kind of slow I've got 3 rev B boards (mutter) Oct 11 00:34:16 GenTooMan: Hello! Oct 11 00:34:20 Geaux BBB! Oct 11 00:34:45 I am trying to fix my Flask app with Python, the BBB, and HTML. Boy! Oct 11 00:34:58 Now, if I could only get this pin to work. Oct 11 00:35:06 Dang sofware. Oct 11 00:36:26 https://pastebin.com/kFUtYSXT is the software for my app. Oct 11 00:38:22 This is it, i.e. the error. Oct 11 00:38:28 :ValueError: Invalid PWM key or name. Oct 11 00:41:56 Forget it...I figured out my silly issue. Oct 11 00:42:04 ...aw! Oct 11 00:42:15 The PWM pin was not where I thought it was located. Oct 11 00:44:39 I was using P8_13 for pwm. Silly, old set_. Always ready to make a mistake with the bone (BBB). Oct 11 00:56:30 ... Oct 11 00:56:39 Too many errors, too little time. Oct 11 01:02:39 Isn't that too much? Oct 11 01:05:07 Oh too too many times. Oct 11 01:05:36 My CPU load AHHH. Ahem compiling can suck CPU power. Oct 11 01:14:19 set_: IMU https://www.tindie.com/products/onehorse/ultimate-sensor-fusion-solution/ Oct 11 01:14:48 Ha! I know now! Oct 11 01:15:05 You get credit somehow. I just was typing what I read from this book. Oct 11 01:15:14 Power constraints! Oct 11 01:15:22 I will try 5v soon! Oct 11 01:17:05 ... Oct 11 01:17:41 I took a photo of this book and tried to e-mail myself in a text message. I get failure and now I cannot post the damn photo to gitHub.com. Oct 11 01:17:45 Damn Internet! Oct 11 01:21:26 Well I use to email HP and it would print stuff I emailed to my printer at home. Worked fine. However you need to be careful about attachements because many systems filter attachments. Oct 11 01:22:12 Yep. Now, I know. Oct 11 01:22:50 I e-mailed a picture of the BBB to myself for a photo of a specific set-up. That worked. The book text = no worky! Oct 11 01:23:30 There was this fellow on GitHub. He was dealing with similar issues. Oct 11 01:23:51 The BBB would not power mutliple devices outside of 3.3v. Oct 11 01:24:11 We kept harassing this fellow about BBIO from Adafruit. Oct 11 01:24:41 I feel bad. I just remembered that I cannot simplify at times but then I read the text again. Oct 11 01:24:42 ... Oct 11 01:24:56 power! I need more power! Oct 11 01:25:06 I told everyone. They got notified. Oct 11 01:25:18 * GenTooMan disconnects set_ from the grid. Oct 11 01:25:41 No! Oct 11 01:26:42 Well anyhow you should be careful about power and the BBB it's 5V supply commonly chosen is just enough for it. Oct 11 01:27:05 So, now. I must figure out what it takes to power a tiny LED with the external battery source. Oct 11 01:27:22 I guess 3.3v coin cell and a resistor? Oct 11 01:28:04 Ummm you don't know much about LED's do you? Oct 11 01:28:13 Damn...I am going to wire up some awesome stuff now. I kept thinking I was ill. I was just ill-informed. Oct 11 01:28:15 Nope! Oct 11 01:28:30 I have a red one! Oct 11 01:28:46 <<<< memory issues Oct 11 01:29:44 Ok LED's are a DIODE in order to have a consistent brightness you must use a constant current, it's forward voltage varies. So you have to use a CC sink usually. Otherwise your light won't be consistent. They make all sorts of nifty LED drivers for this reason. Oct 11 01:30:21 Cause using a resistor is just cheap but looks to fecal excrement. Oct 11 01:30:32 to == like Oct 11 01:31:23 You might get it too look right once, and that would be it kind of thing :D Oct 11 01:32:11 Go look at TI's LED drivers on Microchip. They make single LED drivers. Some you can program the brightness. Oct 11 01:32:39 Yea boy! Oct 11 01:33:18 Anyhow I suggest hitting DK and look at parts then look at the manufacturers site for information. Oct 11 01:33:32 I will check it out. Oh and I just typed, "Yea boy," to get across coolness at the helm. Thank you. Oct 11 01:33:49 I will check into things soon. Oct 11 01:34:12 Try writing it down if your memory is as good as you say. Oct 11 01:34:21 Hahhahaha. Oct 11 01:34:23 okay. Oct 11 01:35:01 Jotted it down. Oct 11 01:35:41 Now, to upgrade back to the 4.9.x kernel. Oct 11 01:36:18 finally done building the kernel now if I can find my sd card reader. Sounds like you are doing the same thing I am. I'm doing the bone and the panda board. Oct 11 01:36:42 I have the BBBW. Oct 11 01:36:59 Use this: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Kernel_Upgrade Oct 11 01:37:31 *yawn* Oct 11 01:39:18 Oh. Sorry. You like hardware too? Oct 11 01:40:27 ds2: Forget it. I thought you were GenTooMan. Oct 11 01:40:33 Back to the BBB! Oct 11 01:58:07 GenTooMan: I looked at MicroChip and found notta in the way of TI LED Driver. Oct 11 01:58:11 I think they are out? Oct 11 01:59:23 Anyway...I bet I can get one from TI's store. Oct 11 01:59:47 I saw Adafruit had a couple of those CC battery things. Oct 11 02:04:22 Oh and whatever happened to those people at Newark? Oct 11 02:04:35 They ripped me off one day and I never heard back from them. Boo! Oct 11 02:04:44 Anyway...I might order from them. Oct 11 02:16:10 ... Oct 11 02:29:51 I got one found! Oct 11 02:31:45 Newark became element 14 Oct 11 02:33:19 Or more acurately was bought by element 14. Oct 11 02:34:12 Well the WS2811 is a nifty LED if you can control it for example (LED with CC drivers built in). Oct 11 02:38:31 Oh. Okay. I have been searching for coin cell things just for power. Oct 11 02:38:43 I have come across some but they are limited in form. Oct 11 02:39:09 I could probably rip one out of the watch I have. Oct 11 02:39:45 ... Oct 11 02:50:41 What are you looking for CR2450 CR2032 ? Oct 11 02:50:54 Neither now. Oct 11 02:51:08 I am going to just make a makeshift one. Oct 11 02:51:38 I have a battery and a battery holder in my watch. Oct 11 02:51:53 I am going to try things, I guess. Oct 11 02:52:12 Generally that doesn't work well that would likely be a CR2016 Oct 11 02:52:27 I found some CR2032 holders like my watch has... Oct 11 02:52:31 Oh. Oct 11 02:52:40 I will have to check again. Oct 11 02:52:54 The 2032 is 3.2mm thick and the 2016 is 1.6mm thick. Oct 11 02:53:23 Oh. Yea. I have some extra 2032s around. I figured this was because of the watch. Oct 11 02:53:30 The 32 is 200ma and the 16 is 100ma. The 2450 is 500ma and the CR123A is 1.5A Oct 11 02:53:46 Oh. Oct 11 02:54:10 Commonly used in keyfobs (the 2032) buy those from Digikey they are MUCH cheaper than the store prices. Oct 11 02:54:22 Hey GenTooMan: I just tried to update my kernel. It did not work for some reason. Oct 11 02:54:23 Okay. Oct 11 02:54:47 I have 4.4.x and tried to update to 4.9.x. Oct 11 02:55:02 Definately want to use a resistor with any LiMnO4 battery. Oct 11 02:55:08 At least I should say. Oct 11 02:55:24 Okay. Oct 11 02:55:29 I designed stuff that has to last 5 years off of those things. Oct 11 02:55:49 Miserable work let me tell you. Oct 11 02:56:21 Oh? Oct 11 02:56:31 Damn. What can last five years off of the coin cell? Oct 11 02:56:49 i.e. a window sensor? Oct 11 02:57:13 Something far more complicated. Oct 11 02:57:43 GenTooMan: seriously? I thought coin cells die off quickly. You must have put a charger in there too. Oct 11 02:58:01 No .. you just have to very carefully draw power from it. Oct 11 02:59:00 Also your device pretty much sleeps the whole time. Oct 11 02:59:19 I do not understand all that yet. So, there is a way to draw power on specified times. That is cool. Oct 11 02:59:44 Did you need a RTC for that? **** ENDING LOGGING AT Wed Oct 11 03:00:02 2017