**** BEGIN LOGGING AT Thu Oct 05 03:00:01 2017 Oct 05 07:32:57 Hey, have been considering a beaglebone for a while, I'm curious what PRU pins are easily available on the pocket beagle. Oct 05 07:33:47 considering developing something for the PRUs that needs at least 8 data pins + clk. Oct 05 07:40:24 hmm Oct 05 07:42:13 Kitlith: https://raw.githubusercontent.com/wiki/beagleboard/pocketbeagle/images/PocketBeagle_pinout.png Oct 05 07:42:22 linked here https://github.com/beagleboard/pocketbeagle/wiki/FAQ Oct 05 07:43:08 PRU0 has 9 or 10 pins by the looks of it Oct 05 07:45:51 heh, fair enough. Saw that, wanted to see of anyone had already worked with it. Oct 05 07:46:26 speaking of which, there isn't any direct comparison between the pocket beagle and the other boards out yet, is there? Oct 05 09:15:15 probably not Oct 05 09:27:27 I wrote a blog about getting an initramfs to work with my BBB in case anyone is interested: https://www.frostsnow.net/blog/2017-10-05.html Oct 05 09:30:53 Are there any BeagleBone projects to provide the foundation for an IoT device? (Create a wifi hotspot, let the user connect and configure wifi, allow a certain button combination or similar to drop back into configuration mode) Oct 05 09:34:13 Jck_true: the "IoT" image is basically a good start. It is the regular image minus all the UI. I haven't heard of anything beyond that. Oct 05 09:34:56 Writing the whole configratuon interface just seems like a lot of work that other people might have already done :) Oct 05 09:36:33 probably, in that sense it's just another debian install though, so you don't need to restrict yourself to looking for "beaglebone" specific things Oct 05 09:40:13 Thanks :) Yeah I can see the IoT image provides the first half.... There is just no way for the user to drop back into configuration mode. Oct 05 11:52:42 "configuration mode" ? Oct 05 11:54:22 frostsnow: I was about to say "an initramfs is used by default (but unnecessary)" but I see now you mean you're working on an encrypted rootfs Oct 05 11:55:05 frostsnow: the "before" isn't quite right though unless you were using a really ancient image, u-boot hasn't lived in a boot partition for quite a while (although it's probably still supported) Oct 05 11:57:59 frostsnow: an interesting alternative might be to use the eMMC's built-in ability to be locked down with a key (leaving only the two "boot" partitions accessible), but unfortunately that would require a bootloader on SD or e.g. an external SPI flash since the AM335x ROM can't boot from the eMMC boot partitions Oct 05 11:58:25 (benefit would be zero performance loss) Oct 05 17:56:45 what's a good xml parsing library for beaglebone black? (i.e. lightweight-ish) Oct 05 18:23:30 libxml2? Oct 05 18:27:18 tbr: is that fopr c or c++? Oct 05 18:27:34 hoping for both c and c++ Oct 05 18:28:59 should be yes. It's *the* library for xml Oct 05 18:29:12 guess it doesn't matter, xerces is not working so i have to switch any way Oct 05 18:29:47 tbr: ok cool, xerces has been a headache to use, docs waay out of date Oct 05 18:30:19 ew, xml Oct 05 18:44:38 zarzar: any lib for c is also a lib for c++ :P Oct 05 18:47:20 (almost any lib anyway, libsystemd/sd-bus.h had a minor issue that resulted in g++ rejecting it. was easy enough to fix though) Oct 05 18:47:59 ok Oct 05 19:15:58 i'm getting a version mismatch when installing libxml2-utils-dbg Oct 05 19:16:22 pastebin what you've tried and the error you got? Oct 05 19:17:36 https://pastebin.com/sapsHfQv Oct 05 19:18:20 sounds like you should upgrade your packages to a coherent state Oct 05 19:18:59 also make sure the repositories are all for the same distribution Oct 05 19:19:11 hmm, apt-get install should simply have implicitly upgraded libxml2-utils in this case Oct 05 19:19:31 might be case of inconsistent package list for whatever reason, try apt-get update and then try the install again Oct 05 19:19:45 it was all done by apt-get so seems like there is a mismatch in versioning Oct 05 19:20:14 if it still doesn't, pastebin the output of: apt-cache policy libxml2-utils libxml2-utils-dbg Oct 05 19:20:52 actually, I'm getting N: Unable to locate package libxml2-utils-dbg Oct 05 19:21:30 odd Oct 05 19:22:16 because dbg is usually a separate repository IIRC Oct 05 19:22:26 ah, might be because I'm running sid Oct 05 19:24:03 sudo apt-cache policy libxml2-utils libxml2-utils-dbg https://pastebin.com/jRTVnfyq Oct 05 19:24:32 why on earth do you have a mix of jessie and unstable ? Oct 05 19:25:03 no idea Oct 05 19:25:04 especially since jessie is oldstable Oct 05 19:25:20 i think i had to allow an unstable a few weeks ago Oct 05 19:25:22 so there are two releases between jessie and unstable currently Oct 05 19:25:23 not sure Oct 05 19:25:33 so this will get you a really weird mix of packages Oct 05 19:25:36 too many variables in the open source chaos Oct 05 19:25:57 and lots and lots of opportunities for an inpenetrable package dependency mess Oct 05 19:26:04 uncontrollable and unmanageable and will be our doom i'm sure Oct 05 19:27:15 at the very least use /etc/apt/preferences to make sure packages from unstable are not preferred Oct 05 19:27:46 oh ok, not sure how to do that Oct 05 19:28:34 https://pastebin.com/G6n3fws4 should do it I think Oct 05 19:28:48 i don't see how people ever accomplish anything when cross developing for linux embedded, so much overhead and version mismatching Oct 05 19:28:57 after that check apt-cache policy libxml2-utils again Oct 05 19:29:08 I have no idea what you mean by that Oct 05 19:29:54 and you may need to explicitly downgrade libxml2-utils after that, since you already installed the version from unstable Oct 05 19:30:02 i've spent the vast majority of time dealing with the version matching between BBB and ubuntu dev machine Oct 05 19:30:16 -.- Oct 05 19:30:22 so don't use an ubuntu dev machine? :P Oct 05 19:30:27 exactly Oct 05 19:30:40 which one is in step with bbb? Oct 05 19:30:50 debian? Oct 05 19:30:51 I use debian stretch both on our build server and on our beaglebones Oct 05 19:30:53 bbb is hardware Oct 05 19:30:58 indeed Oct 05 19:31:06 dang, should have used debian stretch i guess Oct 05 19:31:21 there is no "step equivalency" between debian and ubuntu. those are separate distros. full. stop. Oct 05 19:31:36 yea, i guess i need a debian machine Oct 05 19:31:51 and you could in principle still stay with jessie, but jessie is getting really old Oct 05 19:31:59 or at the very least a debian VM, if you can't work on the BBB exclusively Oct 05 19:33:30 in fact I already use a few packages from stretch-backports or even buster Oct 05 19:33:34 i'll set up a debian vm tomorrow Oct 05 19:33:41 thanks for the advice Oct 05 19:33:54 i still need to fix the preferences on bbb Oct 05 19:33:57 since stretch is now stable, it'll start showing its age more and more Oct 05 19:34:05 the paste is that the entire file? Oct 05 19:34:13 yes Oct 05 19:35:11 having said that, depending on how many packages you've installed/upgraded since you added unstable as repository, you may already have a difficult mess on your hands Oct 05 19:35:29 there is no /etc/apt/preferences file Oct 05 19:35:33 there isn't by default Oct 05 19:35:35 do i add it? Oct 05 19:35:38 oh ok Oct 05 19:37:53 default rules are: existing packages on the system are priority 100. packages from repositories are 500 except experimental is 1 and backports are 100 Oct 05 19:38:01 seems like there is still a problem: https://pastebin.com/7QmJPRjb Oct 05 19:38:24 21:29 < zmatt> and you may need to explicitly downgrade libxml2-utils after that, since you already installed the version from unstable Oct 05 19:38:51 i did? Oct 05 19:39:04 i thought it was saying it was trying to install an unstable? Oct 05 19:39:31 nope, your paste shows the version from unstable is currently installed. try apt-get install -t jessie libxml2-utils libxml2-utils-dbg Oct 05 19:39:36 maybe that will override it Oct 05 19:40:08 i may have just screwed up Oct 05 19:40:23 apt-get remove libxml2* Oct 05 19:40:34 removing and reinstalling should work too Oct 05 19:40:43 bbl, gotto do some shopping Oct 05 19:40:45 removing soo much Oct 05 19:40:49 oh right Oct 05 19:40:52 stuff depends on it Oct 05 19:40:57 then downgrade Oct 05 19:41:09 can't stop it now Oct 05 19:41:25 uhh, then maybe look at what it's going to do before saying yes? Oct 05 19:42:10 it didn't ask Oct 05 19:42:24 really? that's odd Oct 05 19:42:27 :( Oct 05 19:42:29 but really gotto run, bbl Oct 05 19:53:38 are the IoT images debian based? Oct 05 19:59:54 yes Oct 05 20:02:54 ok someone on #debian was claiming they couldn't be, must not know Oct 05 20:03:37 well, there's a difference between based on Debian, and from Debian Oct 05 20:07:42 none of the beagleboard.org images are official debian. I guess the debian installer could be made to run on a BBB though. Don't know their current state. Oct 05 20:08:34 oh ok Oct 05 20:09:08 the debian installer does run on debian Oct 05 20:09:13 er, bbb Oct 05 20:09:19 hehe Oct 05 20:09:22 nice one there Oct 05 20:10:05 debian-installer has had some support for BBB since debian jessie, if i'm remembering correctly Oct 05 20:18:54 do most just dev on bbb instead of cross dev? Oct 05 20:21:18 I do a mix of cross-dev and dev on bbb with the actual compilation offloaded to our build server (via distcc) Oct 05 20:22:30 zarzar: the various images for bbb (including iot) are debian systems with various software preinstalled Oct 05 20:23:07 zmatt: ok Oct 05 20:23:33 zmatt: the preferences file seemed to resolve the issue Oct 05 20:23:47 thanks again, yet agin Oct 05 20:24:35 np Oct 05 20:25:06 if want to cross dev using libxml2 do i need libxml also? Oct 05 20:30:18 ? Oct 05 20:30:50 nvrmd, found the answer\ Oct 05 20:31:01 libxml for backwards compat only Oct 05 21:14:37 zmatt: "configuration mode" IDK what else to call it, and it seems close enough. I thought the SPL part of U-Boot lived in the space between partitions then the rest of the bootloader lived in the boot partition? Huh, I didn't know the eMMC had a built-in lockdown. ty for the feedback. Oct 05 21:15:45 no, either both MLO and u-boot.img are on a FAT boot partition, or both live in the space between the partition table and the first partition Oct 05 21:15:57 still no idea what you mean by configuration mode Oct 05 21:17:01 and if you're interested, you can download the eMMC spec from JEDEC after free registration. It's a horrible mess of a document though. Oct 05 21:17:15 Ah okay, my other ARM board works that way. "configuration mode" is when you get the U-Boot CLI Oct 05 21:17:22 Guess I could just call it the U-Boot CLI Oct 05 21:17:35 It's like when you hit 'F2' and get to BIOS Setup Oct 05 21:17:43 Except you hit 'Space' and get a command prompt Oct 05 21:18:00 ah Oct 05 21:18:15 I'll keep it in mind, but my ECE skills are weak so the document would be rather over my head Oct 05 21:18:56 also, depending on the age of the beaglebone not all features in the current spec may apply. the eMMC version varies from 4.41 on older BBBs to 5.x Oct 05 21:19:10 ECE ? Oct 05 21:19:23 Electrical & Computer Engineering Oct 05 21:19:27 ah Oct 05 21:20:34 well the electrical side isn't really relevant here of course Oct 06 00:14:50 Hi I need to run 4 3A motors - thinking about using the beaglebone and some sort of cape with motor drivers on it Oct 06 00:14:53 any recomendations? Oct 06 01:40:55 Are there any people in this irc channel using the BBB, THT Grove Development boards, and XBee? Oct 06 01:40:56 ... Oct 06 01:41:54 I am using eclipse at times, I tried that NetBeans "Thang," and I just might need support. Help a brother? Oct 06 01:42:35 I got the PuTTY talking from base PC to BBB for my XBee modules. Oct 06 01:43:47 Oh, I know. IDE for writing Java/.jar files would be nice on Linux. Eclipse is having difficulty knowing .jar files and producing results. Oct 06 01:43:52 ... Oct 06 02:35:37 it is most likely an issue with Eclipse. Off to another forum. Sorry for the issue. Oct 06 02:35:44 ... **** ENDING LOGGING AT Fri Oct 06 03:00:01 2017