**** BEGIN LOGGING AT Wed Mar 22 03:00:02 2017 Mar 22 08:32:33 gm Mar 22 08:38:18 anyone up? Mar 22 08:38:47 meh trying to turn a particular gpio on Mar 22 08:39:02 config pin gives me a cape_universala error, which makes me think its not on in pinmux Mar 22 08:39:12 it definitely doesn't have a /sys/glass/gpio file Mar 22 08:40:08 P9_25 Mar 22 08:40:15 aka GPIO_117 Mar 22 08:44:40 I wonder if I can just add something to the device tree fragments I have being loaded at boot Mar 22 08:46:19 i see a bunch of stuff about P9_25 in cape universala maybe i'll just try copying it into my fragment Mar 22 08:46:36 Hello Mar 22 08:48:56 sup Mar 22 09:05:21 am good Mar 22 09:05:27 are you there my friend Mar 22 09:06:14 * KotH hands Darlington a cup of hot chocolate Mar 22 09:06:22 Darlington: if you have a question, just ask Mar 22 09:06:45 no need to be polite here :) Mar 22 09:08:41 yethhh it works Mar 22 09:08:45 yethhh the powaaa Mar 22 09:09:25 u never gave me hot chocolate KotH Mar 22 09:10:33 I am a barrister Mar 22 09:11:31 I have something important to alert you only if you can communicate through email as am not free in release an issues here Mar 22 09:11:56 Here is my email: darlington.chuks@yahoo.com Mar 22 09:12:14 SEE WHAT HAPPENS kotH Mar 22 09:14:33 any one can write to me Mar 22 09:14:41 i have something to tell you Mar 22 09:14:48 Darlington: you sound like a spammer Mar 22 09:14:52 Darlington: we dont like spammers Mar 22 09:15:16 I am not spammers Mar 22 09:15:27 ayjay_t: no need to shout, i can hear you well enough Mar 22 09:15:37 Darlington: then you came to the wrong place Mar 22 09:15:49 Darlington: if you cannot discuss it openly, then this is not the place to be Mar 22 09:16:29 Do you like to buy Gold Mar 22 09:17:18 *conartists you mean Mar 22 09:17:29 whatever Mar 22 09:17:31 he's gone Mar 22 09:23:12 in good news it looks like my cape works Mar 22 09:23:42 i made a cape so that the beagle could program to arm-m0+s Mar 22 09:23:46 two* Mar 22 09:41:57 I Am Not Spammers Mar 22 09:42:03 No. Mar 22 09:42:15 I´m just someone that doesn´t talk her often lol Mar 22 09:47:12 * KotH thinks that pweh looks very suspicious Mar 22 09:49:15 * pweh noms KotH because he looks like a beagle Mar 22 09:49:32 im just here to look for culey Mar 22 09:52:37 you sure you aren't waiting for Godot? Mar 22 10:06:14 oh man, another barrister. can we not have a barrista, at least once? Mar 22 10:06:28 * thinkfat_ goes for a coffee Mar 22 10:25:42 zmatt: looks like I was wrong about the icecrusher registers being unreadable Mar 22 10:25:59 zmatt: can read them, but only the ones defined in your header Mar 22 10:26:06 zmatt: others give a jtag error Mar 22 10:46:11 zmatt: https://ghostbin.com/paste/ewcu9 Mar 22 11:02:09 zmatt: only relevant difference is debug_csr Mar 22 11:02:27 zmatt: but I think I cannot write to that register Mar 22 11:16:39 Complete newbie here who just got a BB blue, I put a debian image on an SD card and I'd like to boot it but it seems if I just power up the board it boots something that identifies itself as Debian Image 2017-02-19 but what I flashed should be -03-19. Is there a button to boot from SD? Mar 22 11:17:33 at least the other ones have such a button that you hold down Mar 22 11:17:39 while powering up the board Mar 22 11:17:56 hi, can I take the beaglebone for a spin in a docker container, just to check out the initial software and configuration? Mar 22 11:18:16 tbr, yeah I get the impression BB black has a "userboot" button. Mar 22 11:18:47 njbuch: how would you put *hardware* into a software container? Mar 22 11:23:42 lubricant and pressure ? Mar 22 11:23:42 tbr: I am mostly interested in the software configuration and whats on the board when you buy it... Mar 22 11:24:41 njbuch: it's just another computer running debian in that context. Everything else is hardware specific and impossible to "try in software" Mar 22 11:26:17 I found the "sd" button which is meant to do it. Although it is wedged with wifi, on, 75, g, r LEDs on now. Mar 22 11:28:22 tbr: Ok, so the image at https://beagleboard.org/latest-images would be possible to run in container? Mar 22 11:28:51 on a beaglebone, yes Mar 22 11:29:09 not sure that would be fun though ... given the bbb is a single core system Mar 22 11:29:15 in qemu-arm, unlikely Mar 22 11:29:58 well, you can surely boot the preinstalled debian, install docker on it and run the image in there ... Mar 22 11:30:06 or some such Mar 22 11:30:23 not sure what that gains you ... but technically thats possible Mar 22 11:30:40 ok seems to be odd route, what about a BB simulator, is there any such thing? Mar 22 11:30:53 running it on a PC will likely fail because you cant really emulate the BBB there as tbr said Mar 22 11:31:41 running not so arch specific armhf SW on a PC is surely possible though ... Mar 22 11:31:59 via qemu-user-static Mar 22 11:32:02 njbuch: it sounds suspiciously like you don't actually need a BBB, but something quite different Mar 22 11:33:07 I want to try the software before buying, as I am not sure ... :) Mar 22 11:33:38 I have seen interesting cloud9 IDE videos, BoneScript stuff etc... Mar 22 11:37:41 And I have not found any cool development environments with debugging yet Mar 22 11:59:27 Hmm, who knows, /ID.txt is 2017-02-19. Mar 22 12:03:42 Aww yeah, it seems I was booting from SD just fine. It was the date in the login message not matching the image I downloaded which threw me but this is what's mounted as / so I guess that's all swell. Mar 22 12:05:28 Another stroke of good fortune it looks like I have a 12V DC power supply so it is time to try to drive a servo with the BBblue. Mar 22 13:49:18 thinkfat: you can write, but you first need to claim stuff for the debugger: in multiple TI debug modules you find a "ownership claim control and status" register field, in ICECrusher's case even multiple (covering different parts of it): http://pastebin.com/raw/KNV659a3 Mar 22 13:54:03 zmatt: now that's something to try :-) Mar 22 14:02:08 zmatt: even when it's available I must claim it? Mar 22 14:11:40 I wanted to buy some gold ._. Mar 22 14:13:16 [03/21/17:17:33] tbr I thougt the cloud9 stuff was javascript Mar 22 14:15:50 tbr: Yeah I thought so at first too, but I could have sworn I got it to work with debugging a simple C module once... but now it seems to not spawn gdb at all. It spawns a gdbserver process but it appears that it's missing something to make it launch gdb (so you can step through in the browser) Mar 22 14:16:29 well, I'm somehow partial to ssh anyway... Mar 22 14:18:19 I have definitely cut my teeth on debugging via ssh and gdb (though I prefer cgdb), but this looked like an opportunity to keep all my work in one window Mar 22 14:18:36 oh well, I guess I'll give up on it for now Mar 22 14:18:41 Does the BBblue only power servos from the LiPo cell, or will DC power also work? Mar 22 14:26:27 Yep, DC power works. Sweet. Mar 22 14:29:30 thinkfat: yes Mar 22 14:29:38 thinkfat: and then enable Mar 22 14:33:15 zmatt: just tested that with dcon, works Mar 22 14:33:28 zmatt: It's now marked as "enabled by debugger" Mar 22 14:34:07 zmatt: but what do I need to claim&enable? Mar 22 14:34:19 zmatt: for example, trigger hasn't changed status when I c&e'd dcon Mar 22 14:34:38 zmatt: is "config" something I can claim? Mar 22 14:35:01 zmatt: and the debug_csr has no ownership Mar 22 14:35:44 zmatt: btw on am3359, many components are not implemented Mar 22 14:36:00 zmatt: hwbp, swbp, bmctr all report errors when reading Mar 22 14:36:19 zmatt: probably because that is covered by the core debug components Mar 22 14:37:18 zmatt: ah, cool. I can c&e "config" :-) Mar 22 15:00:10 zmatt: ok, so in order to keep the component, bit 31 must be set in every write Mar 22 15:16:01 Hooked up a servo to the IMU of the BBblue, that's enough for one evening. Happy. libroboticscape is awesome :D Mar 22 15:23:21 Hello There! I'm trying to use the PRU on the BBB. I'm using the pypruss to load the firmware. The program stops at pypruss.open(0) saying prussdrv_open open failed. Mar 22 15:23:47 lsmod shows that uio_pruss is loaded Mar 22 15:25:39 thinkfat_: note that the _-prefixed fields are "Note: ICECrusher-9 fields are left in, but with an underscore prefix" Mar 22 15:25:40 I updated the kernel to 4.8.17-bont-rt-r2 Mar 22 15:31:41 zmatt: ? Mar 22 15:34:01 zmatt: ah, yes, understood Mar 22 15:34:59 zmatt: so I really don't need to care for these Mar 22 15:35:10 zmatt: but it's still tough going. Mar 22 15:35:38 zmatt: writing to various registers so far didn't make any difference for the A8 Mar 22 15:35:50 zmatt: still stuck in that strange halted state Mar 22 15:37:58 hello, someone know default password for new debian jessie 8.7 for BBB? Mar 22 15:38:13 always it was without password Mar 22 15:45:11 hello, someone know default password for new debian jessie 8.7 for BBB? Mar 22 15:49:40 f8: what does it say in the welcome message? Mar 22 15:49:58 f8: on serial console, I mean Mar 22 15:50:25 f8: I have "default username:password is [debian:temppwd]" Mar 22 15:52:37 hey, I have the same Mar 22 15:54:25 I will try it in a min Mar 22 15:54:29 f8: so, why didn't you try that? Mar 22 15:54:48 f8: I mean, it practically jumps right in your face Mar 22 15:54:55 how to say that, black hole in mind Mar 22 15:55:31 ENOCOFFEEYET Mar 22 15:57:27 it works!!!!!!!!!!!!!!!!!!!!!! Mar 22 15:57:30 thx Mar 22 17:09:08 Hi, I have: Mar 22 17:09:28 1) A beaglebone green Mar 22 17:09:56 2) u-boot master at "d5abcf94c7 ti: boot: Register the MMC controllers in SPL in the same way as in u-boot" Mar 22 17:10:25 3) 0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch on top Mar 22 17:10:33 4) I boot from boot.scr Mar 22 17:10:43 5) I still had link up/down on ethernet Mar 22 17:11:09 6) I added smsc,disable-energy-detect; to the dtb and booted with a new dtb Mar 22 17:11:46 GNUtoo-laptop: I assume a pastebine of the bootlog is coming soon? Mar 22 17:11:58 Register 17 of the PHY has: 0002 Mar 22 17:11:59 boot.scr is a pain in the butt compared to uEnv.txt Mar 22 17:12:19 The boot environment is too complicated for me to understand Mar 22 17:12:37 boot.scr is for me, wayy easier Mar 22 17:12:42 anyway, I'll pastebin the boot log Mar 22 17:12:45 GNUtoo-laptop: fair enough... it is easier to understand if you just use mainline and avoid the crazy patch of ours. Mar 22 17:14:14 There is a known PHY reset issue in the hardware design. There is a kernel work-around. Not sure if there's the same for u-boot. That is, if the issue you are seeing is that Ethernet doesn't always come up. Mar 22 17:14:52 not only that Mar 22 17:15:12 It also sometimes comes up and stop working Mar 22 17:16:13 https://paste.debian.net/923372/ Mar 22 17:17:26 7) The boot.scr only set up bootargs, loads a kenrel, initramfs, dtb and boots. It doesn't touch the ethenret Mar 22 17:22:56 jkridner: Is the dtb property that I mentioned the kenrel workaround you are talking about? Mar 22 17:23:05 or is it something made earlier? Mar 22 17:23:31 I run the 4.10.3, is it recent enough? Mar 22 17:24:27 I still need to look it up. Mar 22 17:24:28 biab Mar 22 17:24:30 ok Mar 22 17:42:33 GNUtoo-laptop: not sure if this is the issue: https://github.com/beagleboard/linux/commit/71b351ef86233ef27c5fc12b45ebf2bdd4c21b0d Mar 22 17:42:51 sad it isn't an upstream quirk. :-/ Mar 22 17:45:09 ouch ok Mar 22 17:49:32 jkridner: this doesn't seem to be the main issue I have Mar 22 17:50:41 the main issue I have is that with all the devices I have around (2 laptops, 1 ISP "box", 1 OpenWRT/LEDE device) If I connect an ethernet cable between the beaglebone green and one of such device, the link isn't stable Mar 22 17:51:03 It even often works at boot, but after a while the ethernet connection stops working Mar 22 17:52:01 And when it stops I can see Link is Up / Link is Down appearing on the console, from the kenrel logs Mar 22 17:53:11 And it has been 100% of the time, after a while, it stops working (link up/down/up/down, etc) Mar 22 17:55:25 jkridner: I need to connect that beaglebone to the Inetenet, is there any other *reliable* way to do it? There is one USB host port, would an wifi or ethernet card work? in what conditions? Mar 22 17:56:59 like if I connect an USB cable to a phone charger, would the pmic be able to give enough current to that wifi/ethernet card? Mar 22 18:01:46 that's a pretty odd issue, by my understanding. Mar 22 18:02:23 what is on the other end of the ethernet cable? Mar 22 18:02:25 jkridner: could udev rules or things like that interfer with the hardware in some way? Mar 22 18:02:29 and is the cable known good? Mar 22 18:02:34 I tried 2 cables Mar 22 18:02:43 and they're good Mar 22 18:02:46 what is on the other end of the ethernet cable? Mar 22 18:02:56 Right now, a Freebox Mar 22 18:03:14 does the Freebox provide DHCP? Mar 22 18:03:25 yes Mar 22 18:03:50 can you get on the freebox and see if it is a L2 or L3 issue as seen by it? Mar 22 18:04:02 (not familiar with it, donno if it is managed or not) Mar 22 18:04:22 what's that? Mar 22 18:04:28 also, what does ifconfig eth0 say on the Bone end? Mar 22 18:04:34 (paste bin please) Mar 22 18:04:41 I can connect it on my laptop, it'd be easier Mar 22 18:04:49 I've a DHCP server and so on on it Mar 22 18:05:31 ACTION=="add", SUBSYSTEMS=="*", TEST=="power/control", ATTR{power/control}="auto" Mar 22 18:05:41 Would rules like that ^^^ create such issue? Mar 22 18:06:02 is it a L2 or L3 issue? Mar 22 18:06:52 you can get all sort so of wierd behavior but you need to sort it out methodically. one way is to walk the 7 layer burrito Mar 22 18:06:53 What is L2 and L3 (layer 2 and layer 3) ? Mar 22 18:07:33 ok Mar 22 18:07:40 yes, layer 2 and layer 3 Mar 22 18:07:41 As I understand it it's an issue with the PHY Mar 22 18:07:52 what basis you have to say that? Mar 22 18:08:44 before blaming that, verify your L1 parameters (duplex and speed) on both end. Mar 22 18:09:02 ok, I'll get some different cables first Mar 22 18:09:17 and remove the dts workaround Mar 22 18:10:34 duplex and speed can be set by SW Mar 22 18:11:13 unless you force 10, the cable should be cat-3 or better, preferablly cat-5 Mar 22 18:11:51 autoneg can be broken on many devices, hence the need to make sure they match Mar 22 18:14:56 White cable: cat 5 brand new Mar 22 18:15:39 are duplex and speed both matched on both ends? Mar 22 18:16:10 Black cable: cat5 too (in fact they are cat 5e, and I've no idea what the e means) Mar 22 18:16:16 *they are both Mar 22 18:16:25 I'll make sure they match Mar 22 18:29:56 ds2: ok, I reproduced it with a fixed link Mar 22 18:30:11 https://paste.debian.net/923391/ Mar 22 18:30:14 *fixed speed link Mar 22 18:31:22 I already saw similar stuff in the past, years ago, with the same PHY on other devices, if my memory is good Mar 22 18:33:04 is there a hub/switch in the middle? Mar 22 18:33:22 no Mar 22 18:33:49 Should I try without that udev rule: Mar 22 18:33:50 ACTION=="add", SUBSYSTEMS=="*", TEST=="power/control", ATTR{power/control}="auto" Mar 22 18:33:55 i suspect autoneg is broken on the other end. try fixing it to 100/full on both sides Mar 22 18:34:14 ok, I though I did that, let me re-look Mar 22 18:34:33 there is no good reason to negotiate to 100/half on a cross over cable (either real or auto mdx'ed) Mar 22 18:34:55 I assume both side has valid link lights? Mar 22 18:35:02 (btw, I need to step out in about 5) Mar 22 18:35:16 not anymore (link lights) Mar 22 18:35:33 wait Mar 22 18:35:55 I need a better test setup Mar 22 18:36:43 I'll go fetch a laptop where the cable can't be disconnected easily Mar 22 18:36:49 :D Mar 22 18:58:30 With good laptop + autoneg + big trafic (scp huge files to /dev/null) => link fails after a short while Mar 22 18:59:17 With same good laptop + fixed(by ethtool on both sides): 100M full duplex, no autoneg => didn't fail yet Mar 22 18:59:34 I'll wait a bit for the test to run longer Mar 22 19:06:22 ds2: still no failure with fixed link Mar 22 19:13:58 [ApteryxOz] If have BBB with Linux beaglebone 4.4.30-ti-r64 #1 SMP Fri Nov 4 21:23:33 UTC 2016 armv7l GNU/Linux Mar 22 19:14:29 [ApteryxOz] Can antbody tel me why even though IP is set to static it still uses DHCP Mar 22 19:16:50 gcl-bot: how did you set the IP to static? Mar 22 19:17:36 [ApteryxOz] Then if you use ifdown eth0 then ifup eth0 all is ok !!! Mar 22 19:19:03 How did you set the IP address to static? Mar 22 19:20:36 [ApteryxOz] auto eth0iface eth0 inet static hwaddress ether B0:D5:CC:F7:45:B1 address 192.168.1.200 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.254 Mar 22 19:20:54 [ApteryxOz] int /etc/network/interfaces Mar 22 19:20:57 did you verify if a DHCP client daemon was running? Mar 22 19:21:03 *was still running Mar 22 19:21:11 [ApteryxOz] how to do? Mar 22 19:21:34 I don't know the distro you use, but you can check if a program is running trough that command: Mar 22 19:21:52 ps aux | grep Mar 22 19:22:13 if you look for dhclient you can use: "ps aux | grep dhclient" Mar 22 19:22:31 If you see some output like that: Mar 22 19:22:32 root 12527 0.0 0.0 5084 860 pts/4 S+ 20:21 0:00 grep --color dhclient Mar 22 19:22:46 [ApteryxOz] I see /usr/sbin/udhcpd -S Mar 22 19:23:10 you should discard lines like the one I just pasted because it shows the grep from "ps aux | grep dhclient" Mar 22 19:23:22 ok, then it is still running Mar 22 19:23:39 [ApteryxOz] how to stop in the future boots Mar 22 19:24:17 ah wait Mar 22 19:24:28 [ApteryxOz] Am using Linux beaglebone 4.4.30-ti-r64 #1 SMP Fri Nov 4 21:23:33 UTC 2016 armv7l GNU/Linux Mar 22 19:24:41 what is udhcpd? is it a dhcp server or client daemon Mar 22 19:24:46 ? Mar 22 19:24:57 [ApteryxOz] looks like a daemon Mar 22 19:25:57 How do you know that your beaglebone still uses DHCP? Mar 22 19:26:13 [ApteryxOz] ..." Udhcpc is a very small DHCP client program geared towards embedded systems ..." I can figure out from Dr. Google :-) Mar 22 19:26:25 [ApteryxOz] Man thanks for the help Mar 22 19:26:54 you have udhcpd running not udhcpc Mar 22 19:27:16 [ApteryxOz] woops yes will research further Mar 22 19:27:26 hence the two questions: Mar 22 19:27:49 1) According to your research udhcpc is the client daemon and udhcpd is the server daemon, so udhcpd shound't interfer Mar 22 19:28:01 [ApteryxOz] ok Mar 22 19:28:05 2) How do you know that your beaglebone still uses dhcp? Mar 22 19:30:44 [ApteryxOz] Cause it "gets" an IP within the DHCP Pool rather than the one allocated by the interfaces file. The only way I have got it to work successfully is to tell the DHCP Server to serve the the same IP Address all the time to that HWAddress Mar 22 19:38:07 [ApteryxOz] Anyway, I'll continue with that workaround til I solve it Mar 22 19:39:17 ds2: If I only turn autonegociation off on the beagle it seem to work Mar 22 19:39:59 gcl-bot: you could also try to look if a dhcp daemon is laucnghed somehow, like if you have some GUI, network manager typically does that Mar 22 19:40:57 [ApteryxOz] it looks like udhcpd is a DHCP Server Mar 22 19:41:24 [ApteryxOz] https://udhcp.busybox.net/README.udhcpd Mar 22 19:41:55 [ApteryxOz] How did you turm autonegociation off? Mar 22 19:43:33 gcl-bot: I am having some connectivity issues my the beaglebone green, (Having had similar issues years ago at my former work, I guess it's related to some Ethernet PHY issues.), so I was asked here to test with autonegociation off, which I disabled like that: Mar 22 19:43:50 ethtool -s eth0 speed 100 duplex full autoneg off Mar 22 19:44:43 [ApteryxOz] no ethtool on my BBB Mar 22 19:45:11 I don't run the stock distro, I run parabola (An arch derivative) Mar 22 19:45:12 [ApteryxOz] udhcpd is used for the USB Network system Mar 22 19:45:28 oh ok, it makes sense Mar 22 19:46:02 [ApteryxOz] I use the Debian 8.7 2017-03-19 4GB SD LXQT image Mar 22 19:46:32 I don't even have a beaglebone black, instead I have a beaglebone green Mar 22 19:46:46 [ApteryxOz] I see Mar 22 19:48:18 [ApteryxOz] I migh drop back to a 3.8 image caise I need to use BBBCSIO library for mono C# which doesnt seem to work on later distros Mar 22 19:48:55 [ApteryxOz] Am wanting mono, mysql, C# and access to IO Mar 22 19:49:20 [ApteryxOz] have got everything working cept access to IO through c# Mar 22 19:49:43 ok, I didn't know there was some libraries for the IO Mar 22 19:50:36 [ApteryxOz] zmatt made one a while ago see: http://www.ofitselfso.com/BBBCSIO/BBBCSIO.php Mar 22 19:54:03 [ApteryxOz] anyway gotta go - cya again soon Mar 22 19:54:20 [ApteryxOz] thanks for the help Mar 22 19:54:28 np Mar 22 20:45:04 ds2: I can't find any workaround, would an USB ethernet card work, if so what are the (power) requirements? Mar 22 20:48:35 So apparently you just remove the gdbserver --once from the C GDB Debugger runner in Cloud 9 (make a custom runner) Mar 22 20:48:57 and it implicitly starts debugging on localhost Mar 22 20:49:06 So silly that that's the answer Mar 22 20:49:32 What happens when you take an implementation at face value as correct Mar 22 23:06:07 Hi! I have BeagleBone Blue. Where can I find some documentation? Everything included applies for BeagleBone Black, not Blue... Mar 23 01:50:09 [ApteryxOz] Have a target to get Mono/C#, MySql and associated remote development working on my BBB which, thanks to http://www.ofitselfso.com I have successfully working - yayyy! I now wish to be able to work with BBB IO in my code. Anybody got any hints where to go to get started? Mar 23 01:50:54 [ApteryxOz] Am now: Linux beaglebone 4.9.16-bone4 #1 Sun Mar 19 14:49:38 UTC 2017 armv7l GNU/Linux Mar 23 02:06:02 can't log in as root on the latest image, can anyone help? Mar 23 02:07:04 [ApteryxOz] which image? Is for BBB? Mar 23 02:07:53 [ApteryxOz] Oh sorry saw your previous BB Blue. Should have been root no password Mar 23 02:07:54 yes, for BBB, newest image Debian 8.7 2017-03-19 4GB SD LXQT Mar 23 02:09:28 [ApteryxOz] try "temppwd" for password if no password does not exist **** ENDING LOGGING AT Thu Mar 23 03:00:02 2017