**** BEGIN LOGGING AT Mon Dec 19 03:00:00 2016 Dec 19 03:00:28 wowww Dec 19 06:23:35 ayjay_t: ok, that's already a much clearer question Dec 19 06:51:36 ayjay_t: I typically use the gcc builds provided by debian but at times I've also used the linaro gcc Dec 19 06:54:02 they might have different defaults for some flags, it's a good idea to set those explicitly to ensure consistency Dec 19 07:01:41 ayjay_t: here's some example "common.mk" I use... although the specific flags tend to morph slightly over time Dec 19 07:01:44 http://hastebin.com/omudunosuc.mk Dec 19 07:02:58 ok, hastebin's syntax highlighting sucks... Dec 19 07:03:04 http://pastebin.com/39ivFsYc there, looks better :P Dec 19 07:03:47 on baremetal project I use really a lot more flags Dec 19 07:04:41 at times I may also use -fno-exceptions -fno-rtti for non-C++-ish C++ code Dec 19 07:08:44 (I tend to use the compile-time features of C++ more than its runtime features) Dec 19 07:10:31 you can find a somewhat different and older version of it here https://github.com/mvduin/arm-signal-unwind/blob/master/common.mk Dec 19 07:18:13 ok it seems I remember wrong and actually don't use that much more flags on baremetal Dec 19 07:18:57 I do also sometimes use -ffunction-sections -fdata-sections together with the -Wl,--gc-sections linker flag Dec 19 07:19:38 that removes any unused function/variable from the final linker output Dec 19 09:00:53 zmatt: are you there ?? Dec 19 09:07:26 anybody knows how to add unused pins mode change to "&am33xx_pinmux" section of am335x-bone-common.dtsi ?? Dec 19 09:44:52 ? you can literally put the section I gave in your dts file Dec 19 09:45:58 note that it's normally not needed to mux unused pins, I just recommend it for P9.15 to resolve its pull-conflict Dec 19 09:47:14 note that you shouldn't modify the existing dts/dtsi files (unless it's a bugfix you intend to send upstream) Dec 19 13:04:58 zmatt : still there ? Dec 19 13:06:32 half. just ask your question Dec 19 13:07:04 (that holds in general, just ask your question instead of asking whether I'm here) Dec 19 13:08:27 Are you so kind to pass me again those data ?? (I've saved into a shutted pc @home....) :-(( Dec 19 13:09:24 what data? Dec 19 13:09:55 you're online 24/24.... just to know if you are at console... (different time-zone perhaps ?) Dec 19 13:10:34 the gpio-of-helper paragraph Dec 19 13:10:46 yes but if you don't ask your question I can't answer it when I look at irc for a moment later Dec 19 13:10:59 you're right.... Dec 19 13:13:22 and sure, hold on Dec 19 13:15:44 zmatt: still there? Dec 19 13:16:06 http://mer.bfst.de/logs/%23beagle/%23beagle.2016-12-17.log.html#t2016-12-17T17:31:11 Dec 19 13:16:22 pfft it was harder than I thought to find working irclogs online Dec 19 13:17:22 * KotH knows why he keeps his own irc logs Dec 19 13:17:48 thanks ! Dec 19 13:19:48 you said main dtsi file shouldn't be modified, so which file should I insert that section to ?? Dec 19 13:20:12 your own Dec 19 13:21:03 and how to tell beaglebone to start with that modification ? Dec 19 13:21:05 make a copy of whatever .dts file is closest to what you want Dec 19 13:21:10 compile it to a dtb Dec 19 13:21:38 put the file in /boot/dtbs/ and put dtb=FILENAME.dtb in /boot/uEnv.txt Dec 19 13:21:55 (surely I haven't yet understood how the whole device tree mechanism works...) Dec 19 13:22:18 ok Dec 19 13:23:07 heh, my irclogs get used Dec 19 13:23:28 (the URL above points to my server) Dec 19 13:23:36 beaglebone white starts with default of dtb=am335x-bone.dtb Dec 19 13:24:20 If I declare a different (my own) dtb I loose the default settings, isn't it ?? Dec 19 13:24:56 I'm ok with dtb=am335x-bone.dtb just need to change pinmux mode of some pins.... Dec 19 13:25:50 so somewhere I read suggestion to modify am335x-bone-common.dtsi (recalled by am335x-bone.dtb) Dec 19 13:26:14 so make a copy of am335x-bone.dtb and add your own declarations, or even just #include am335x-bone.dts into your own dts Dec 19 13:26:19 dts sorry, not dtb Dec 19 13:26:44 ah, good Dec 19 13:26:48 am335x-bone-common.dtsi is the wrong place for your changes, it's where definitions go that belong to all beaglebones in the world Dec 19 13:27:25 however you can augment or override any of it in your own dts Dec 19 13:29:01 Isn't simpler to #include myowndts.dts into am335x-bone.dts ?? Dec 19 13:29:19 why would you do that? Dec 19 13:29:50 Just asking... Dec 19 13:30:17 fred_tv: It's easier to declare your own dts and include the bone one. Dec 19 13:30:29 OK clear Dec 19 13:31:09 or just copy am335x-bone.dts, it is tiny anyway Dec 19 13:31:17 Mmm Dec 19 13:31:23 nearly all definitions are in the -common.dtsi Dec 19 13:32:15 so summarizing : make my own .dts, add #include am335x-bone.dts , compile into a new dtb and declare it in uEnv.txt , right ? Dec 19 13:32:46 yep. cp am335x-bone.dts myown.dts; mod, compile, uEnv Dec 19 13:34:15 but I have to be sure my new gpios mode must not conflict anywhere into am335x-bone-common.dtsi Dec 19 13:35:01 how could they conflict? -common doesn't setup pinmux for any expansion header pins Dec 19 13:36:08 ah, it sets up capemgr, that's ugly, but easy to override Dec 19 13:36:43 (also there's -common-no-capemgr.dtsi ) Dec 19 13:38:27 all other pinmux it sets up is stuff you can't use for any other purpose anyway Dec 19 13:38:38 like ethernet, microSD, serial console Dec 19 13:39:12 leds Dec 19 13:39:37 yes Dec 19 13:41:08 finally, what's the right syntax for compiling ? dtc -O dtb -o myowndtb.dtb -b 0 -@ myowndts.dts ?? Dec 19 13:41:34 no. isn't there a makefile there so you can just do make myowndtb.dtb ? Dec 19 13:42:42 you mean into /opt/source/dtb-4.4-ti ?? Dec 19 13:44:22 I don't know, I've never really looked at what rcn includes in his filesystem images. there's definitely a makefile included with dtb-rebuilder though Dec 19 13:45:41 ( https://github.com/RobertCNelson/dtb-rebuilder ) Dec 19 13:46:42 the proper invocation is a bit clumsy because it needs to be run through the C preprocessor first Dec 19 13:51:27 there should be a makefile in that directory though Dec 19 13:51:55 in fact it looks like that directory might be a checkout of dtb-rebuilder Dec 19 14:06:56 not able to compile new dts file... :-((( Dec 19 14:09:58 oops Dec 19 14:10:12 silly syntax error Dec 19 14:19:18 it WORKS !! Dec 19 14:21:05 It is since pre 3.8 kernel I haven't modified a pin MODE (what a shame...) Dec 19 15:54:01 simple linux question: why can't I "export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins" inside rc.local at boot while I'm able from CLI ? Dec 19 16:00:45 it works just fine: it sets that environment variable for that shell process until it ends Dec 19 16:13:48 then, can I export a system-wide variable ?' Dec 19 16:15:46 why do you need it system-wide? if you just want it available in your shell then putting it in ~/.bash_profile suffices Dec 19 16:34:06 yeah....right Dec 19 16:34:29 a little bit rusted ..eh ?? Dec 19 18:13:58 hi all, my BBGW's LED flashing in pairs (D2 D4 then D3 D5), and wouldn't run example blink code on Cloud9 (ocp:P9_14_pinmux was not found under /sys/devices/platform/ocp), can anyone help? Dec 19 18:24:29 someone could have, yes Dec 19 18:32:01 lol Dec 19 19:56:32 Hi, y'all. I've got a LWP-5150 "Iris Smart Hub" from my local Lowes home improvement store. It is a basically the BeagleBone Black/TI reference design plopped onto a board with BLE, ZigBee and Z-Wave radios added. Dec 19 19:58:05 It's running Poky (Yocto) distribution. I want to pull the existing image from the eMMC. Have instructions for doing that for BBB, but the smart hub doesn't have an SD card (perhaps I can add that?) Dec 19 19:59:36 Failing to break into the existing image, I suppose I can try flashing something else via USB. But I really do want to poke around on what they've got in there to talk to the radios Dec 19 20:00:17 BTW, the smart hub is actually manufactured by CentraLite. Dec 19 20:00:41 It's for "home automation" Dec 19 20:01:41 according to CentraLite and Lowes Dec 19 20:05:38 rathomas: I backup and flash images via usb, with bbb as device Dec 19 20:06:07 http://pastebin.com/x5QzB18E here's a write-up (although my current setup has improved on this by now) Dec 19 20:07:46 it makes the bbb appear as mass storage device, like a usb stick, so you can just copy the entire eMMC Dec 19 20:12:26 Thanks, zmatt. These guys left pads for a 4 position DIP switch for sysboot pins (which I've soldered in), at least bit 2 (MMC1/SPI0 select). Dec 19 20:12:59 reading your stuff now... Dec 19 20:24:46 zmatt, the ROM referenced is the Am335x ROM and should behave the same on this device? Dec 19 20:25:35 yes Dec 19 20:27:01 ROM just loads the first u-boot stage, after that u-boot takes care of the rest Dec 19 20:27:08 got it. Dec 19 20:27:38 hopefully the board doesn't need a customize bootloader (though if it does then they're GPL-required to share it) Dec 19 20:29:26 doubt it. I added the serial header and had a boot console and login prompt up yesterday. Took a pic of the screen but didn't bother to save the text to pastebin :( Dec 19 20:35:30 Hey... Dec 19 20:35:49 quick Q Dec 19 20:36:29 would like to build my own X15 board Dec 19 20:37:45 apparently, this Q is very slow... 2 minutes and it has not even shown itself Dec 19 20:38:18 which AM572x should i use? Dec 19 20:38:28 the one that fits your needs Dec 19 20:38:43 http://www.ti.com/product/AM5728/samplebuy Dec 19 20:39:38 would like to use exactly the layout of the X15 eval board Dec 19 20:40:02 the BOM says XAM5728AABCXE Dec 19 20:40:21 but it is obsolete... Dec 19 20:41:57 why do you want to use the exactly same layout? Dec 19 20:42:50 dont want to respin and start the layout from scratch Dec 19 20:43:30 how many do you want to build? Dec 19 20:43:33 1? Dec 19 20:43:35 10? Dec 19 20:43:38 100? Dec 19 20:43:43 10000000000? Dec 19 20:44:35 would like to change minor thing on the board, so need to get ownership of the board Dec 19 20:46:03 so, you only need a couple? Dec 19 20:46:13 are you sure you want to spin your own board? Dec 19 20:47:05 pretty much... Dec 19 20:47:44 you are aware that a low volume production multiplies the cost per board by at least a factor 2-3 if not 4? Dec 19 20:48:17 yes, aware. nevertheless Dec 19 20:48:54 then contact your friendly Ti sales person and ask how many 5728's they still have on stock Dec 19 20:50:00 KotH, do you know if they will be compatible? Dec 19 20:50:30 didnt you say they were listed as the part in the bom? Dec 19 20:51:32 the part in the bom is apparntly obsolete Dec 19 20:51:38 so? Dec 19 20:52:17 you dont need millions Dec 19 20:52:20 you just need a couple Dec 19 20:54:35 i will need eventually to ramp up to my production Dec 19 21:11:18 HW_: so what's your question? What processor? Get a pin-compatible one that's not obsolete. ...BABCXE is active. Costs more too. Extended temperature rating. Dec 19 21:12:15 Probably extended (sales) lifetime because of target audience (not consumer) Dec 19 22:01:57 zmatt: silly question, I've got USB A (standard) connector on my board, think the BBB does too. Does my USB to PC cable need to be special? Cross D+ and D- ? Dec 19 22:05:59 Ugh. I think I see. BBB has a miniUSB, when miniUSB to USB A cable is used, D+/- are crossed. Will have to cut up some cables here... Dec 19 22:23:27 D+/- are never crossed Dec 19 22:23:43 but does your board's USB A connector go to usb0 or usb1? Dec 19 22:24:37 the bbb has a device port (mini-B) on usb0 and a host port (A) on usb1 Dec 19 22:24:51 only usb0 is bootable Dec 19 22:26:13 It has two USB A, P3 and P4. Best I can tell, P3 goes to usb0 on the AM335x Dec 19 22:31:21 right. So no crossover, A to A should work? Dec 19 22:32:06 I've never used one of these before, so please excuse me if I commit a foolish misstep. Dec 19 22:32:50 I'm trying to figure out how to make my new BBBWiFi ping 8.8.8.8. I'd like to tell it that Dec 19 22:33:26 its gateway is 192.168.1.1, but its address is 192.168.0.1 and it won't connect to the Dec 19 22:33:33 gateway. Dec 19 22:34:14 So, how do I tell the BBBWiFi that its IP address is, say, 192.168.1.129? Dec 19 22:34:42 And how can I do that automagically every time it restarts? Dec 19 22:37:24 Where'd it get the 192.168.0.1 address in the first place? I can't find it anywhere. Dec 20 00:11:07 hi, i was just able to scp a file to root@mybeagleboardip:/home/debian/ and it succeeded without prompting me for a password. this is one from adafruit with debian pre-installed Dec 20 00:12:24 whats up with that Dec 20 00:14:06 http://pastebin.com/ZNFUFavH Dec 20 00:16:30 it printed that login message in the paste but didn't actually wait for me to type in any password, just wrote the file as root Dec 20 00:27:52 hi guys i noticed that there is package for the robotics cape. when will it be released. its like 2 years late now Dec 20 00:28:19 as well i noticed that i do not have the command config-pin after flashing the latest debian jessie to the emmc Dec 20 00:33:02 jkridner, do you know when the robotics cape will be available? Dec 20 01:55:30 mistawright: hung up in licensing issues with E14, but I'd estimate January. **** ENDING LOGGING AT Tue Dec 20 03:00:01 2016