**** BEGIN LOGGING AT Wed Oct 26 03:00:00 2016 Oct 26 03:00:02 eh... Oct 26 03:00:12 ;( Oct 26 03:00:39 and seriously, having a 200 MHz 32-bit _unpipelined_ processor is a pretty amazing achievement Oct 26 03:00:44 cortex-m3 is 3-stage pipelined Oct 26 03:00:50 even an avr is 2-stage Oct 26 03:01:17 and pru can do lots of crazy stuff an m3 can't even dream of Oct 26 03:01:56 like saving or restoring r0-r28 in a single cycle Oct 26 03:02:34 ugh I keep getting a seg fault Oct 26 03:02:35 or doing an indexed access into the register file Oct 26 03:02:46 it wont let me read/access the memory since its protected Oct 26 03:03:10 BeagleNoob: can you put the code somewhere, e.g. pastebin? Oct 26 03:03:14 sure Oct 26 03:03:44 zmatt: then it's too bad there wasn't enough investment in tooling for it. Oct 26 03:03:51 fishey1: pasm2 Oct 26 03:04:20 ? Oct 26 03:05:38 oh it's just called pasm, for some reason I thought it was 2 Oct 26 03:07:11 http://pastebin.com/QVLwuxTq Oct 26 03:07:13 ( https://github.com/beagleboard/am335x_pru_package/tree/master/pru_sw/utils/pasm_source ) Oct 26 03:07:57 BeagleNoob: ehh what the f Oct 26 03:08:08 this is a mix of PRU and linux code Oct 26 03:08:24 (ensuring it will run on neither) Oct 26 03:08:26 no its purely pru Oct 26 03:08:32 oh ok Oct 26 03:08:47 when I asked for code I meant of course whatever was segfaulting Oct 26 03:08:53 i.e. what you run on linux Oct 26 03:09:22 sorry im confused what I run? Oct 26 03:09:34 you said you got a segfault Oct 26 03:09:45 yea when I tried to run the pru code Oct 26 03:09:56 a seg fault is an error that happens on the linux side Oct 26 03:10:16 I ran my linux code Oct 26 03:10:18 no errors Oct 26 03:11:13 you ran something, it gave a segfault. that's still an error happening in a linux program, on linux Oct 26 03:11:22 zmatt: ok, so there is one simple open source assembler. I'm not seeing how this is a real counter argument to "wasn't enough investment in tooling". Oct 26 03:11:50 sure, it's probably possible to use that for most things. Oct 26 03:11:52 fishey1: well it's not "one simple open source assembler" .. it's *the* assembler Oct 26 03:12:02 which was later open sourced Oct 26 03:12:14 right. point stands. Oct 26 03:12:53 okay so I first compiled my loader program for the PRU gave no errors Oct 26 03:12:55 gcc -o loader loader.c -lprussdrv Oct 26 03:13:14 and yes you can use it for most things, TI's Keystone communications processors have dozens of these cores, with firmware written using pasm :P Oct 26 03:13:31 note it's not your average assembler Oct 26 03:14:06 then using the test.out that CCS gave me from my pru code I use hexpru bin.cmd test.out to get the bin files Oct 26 03:14:17 no errors also Oct 26 03:14:28 Translating to Binary format... "test.out" .text:_c_int00* ==> .text:_c_int00* "test.out" .text ==> .text Oct 26 03:14:34 If an assembler was considered comlete tooling, there wouldn't be a proprietary C compiler. Oct 26 03:14:37 now I run my code Oct 26 03:14:50 zmatt: what does "not your average assembler" mean here? Oct 26 03:15:07 fishey1: well as I mentioned, I don't really understand the existence of the C compiler Oct 26 03:15:15 but I guess People wanted it Oct 26 03:15:25 (it's much newer than pasm) Oct 26 03:15:37 ./loader text.bin data.bin Oct 26 03:15:41 then I get the segfault Oct 26 03:15:47 BeagleNoob: then debug the loader Oct 26 03:15:57 im assuming it has to do with reading the memory address Oct 26 03:16:13 because I just tested the pru out and it worked with just toggling the led Oct 26 03:16:48 fishey1: how many assemblers support structs? Oct 26 03:18:05 zmatt: I'd imagine most use macros to provide some support there, rather than supporting them directly. Oct 26 03:24:34 https://git.ti.com/keystone-rtos/pa-lld/blobs/master/fw/v1/pdsp_pa.h Oct 26 03:24:38 just a random example Oct 26 03:26:38 zmatt: "Command sizes. The assembler can't do all the SIZE(x)+SIZE(y)+... because of line size limitations" Oct 26 03:26:47 https://git.ti.com/keystone-rtos/pa-lld/blobs/master/fw/v1/parsescope.h Oct 26 03:26:50 this is interesting too Oct 26 03:28:30 I am now really considering asm Oct 26 03:28:38 this is just a huge headache Oct 26 03:28:38 you can declare scopes which declare variables of a certain type being bound to some register(s) Oct 26 03:28:53 and then enter/leave such scopes in your asm code Oct 26 03:31:44 fishey1: but yeah, the "could use better toolage" applies to lots of things :) Oct 26 03:36:01 im going to try doing this in asm Oct 26 03:36:02 brb Oct 26 03:36:57 I do hope pasm and not the "PRU assembly language tools" assembler :) Oct 26 03:40:53 what do you mean? Oct 26 03:40:58 whats the difference Oct 26 03:41:01 I use PASM Oct 26 03:41:26 well besides that i believe pru assembly language tools is older Oct 26 03:41:42 pasm is made for people, the "PRU assembly language tools" assembler just assembles the output of the C compiler Oct 26 03:41:59 no it's newer Oct 26 03:42:02 pasm is older Oct 26 03:42:04 afaik Oct 26 03:42:37 initially there was no C compiler for pru Oct 26 03:44:31 so then whats the benifits of using pasm if its older Oct 26 03:44:50 newer is not better Oct 26 03:46:22 anyway, good luck with your... thing Oct 26 03:46:48 XD ty Oct 26 03:46:49 and reminder: a segfault means something went wrong in linux, not on the pru core Oct 26 03:46:51 for all your help Oct 26 03:47:04 much appreciated Oct 26 08:23:17 hi Oct 26 08:23:44 can anybody help me to find a solution for real time streaming broadcasting with this board? Oct 26 08:34:28 fui86: that depends completely on what you exactly want to achieve and on which particular board Oct 26 08:47:57 tbr: he wants to achive real time streaming broadcasting Oct 26 08:48:55 rah: and I want a steak sandwich. "real time streaming broadcasting" is still so diffuse that it's impossible to point out anything Oct 26 08:49:12 tbr: I disagree Oct 26 08:49:32 http://icecast.org/ Oct 26 08:49:32 ah, so you are a "real time streaming broadcasting" expert? Oct 26 08:49:52 rah: I happen to be the *maintainer* of Icecast, so thank you for mentioning my project. Oct 26 08:50:29 still it's possible that Icecast wouldn't be "real time enough", or it might be. That depends on the objective. Oct 26 08:51:13 also he didn't specify what he wants to stream. Audio? Video? Audio/Video? Characters aka Text? Oct 26 08:51:22 neither the hardware Oct 26 08:51:36 well, I was just going to say that if I were a real time streaming broadcasting expert, it would probably make it much more difficult for me to answer because having so much in-depth knowledge would make it harder to gloss over differences and relate easily to someone who wasn't an expert Oct 26 08:51:38 nor did he say if he wants to run the server on that hardware or just generate the stream on it Oct 26 08:52:18 and then you, who couldn't answer the question, said you were the icecast maintainer Oct 26 08:52:21 lolz :-) Oct 26 08:53:03 in such situation it really helps to ask about the goals and target, preferably in non-technical terms. Oct 26 08:53:23 it helps you, yes :-) Oct 26 08:53:45 I've seen it very often where people ask "How do I do Y?", but in reality they want to do X and Y is not how you do it. Oct 26 08:54:40 in this case it was more of an unspecific question though Oct 26 08:55:11 * KotH hands tbr a hot steaming cup of soma's dark side of the mug Oct 26 08:56:10 \o/ Oct 26 08:56:12 *slurp* Oct 26 08:57:20 tbr: i recently gave some to a few people here... i dont think they appreciated it ^^' Oct 26 08:57:32 :-C Oct 26 08:57:39 * KotH shrugs Oct 26 08:57:48 come to the dark side, we have hot chocolate! Oct 26 08:57:59 :) Oct 26 08:58:21 not everyone knows what good is... here in germany much less than in switzerland, where people are already savages Oct 26 08:59:01 i think the only guy here who really got what kind of chocolate i have, was a viennese Oct 26 08:59:27 * KotH should see that he gets his next position in vienna... or tokyo Oct 26 08:59:47 follow the chocolate, luke! Oct 26 08:59:58 that would lead me back to .ch :) Oct 26 09:22:19 * thinkfat tunes in to SomaFM "Groove Salad" Oct 26 09:22:22 old times... Oct 26 09:29:10 * puzz-mobile loves SomaFM Groove Salad Oct 26 12:51:16 Hi Folks, yesterday I was facing a problem of automatic IP change (despite assigning static IP to Beaglebone Black in /etc/network/interfaces), DHCP takes over and tries assigning nearest IP possible. I was given a suggestion of purging the connman, but I don't have connman installed, what could be the problem then ? Oct 26 12:52:36 ?? Oct 26 12:55:16 tejas: what interface(s) .. Oct 26 12:56:29 its a file Oct 26 12:56:59 tejas: I mean .. USB gadget ethernet , physical ethernet ... ? Oct 26 12:57:02 wireless?! Oct 26 12:57:11 Ethernet Oct 26 12:57:47 Physical Ethernet eth0 Oct 26 12:58:16 hrm .. can you pastebin your /etc/network/interfaces .. masking out any personal details if applicable. Oct 26 12:59:33 Sure Oct 26 13:02:43 I thought connman was default .. but it might well have migrated to systemd-crap -ahem- Oct 26 13:02:45 Its a simple file http://pastebin.com/5nacJWs5 Oct 26 13:02:48 doeverythingd Oct 26 13:03:03 It's the windows way. Oct 26 13:03:45 @Rognorok : Yesterday you told about connman, I didn't have it installed, problem persists Oct 26 13:03:57 Hurm. Got me then. Sorry. Oct 26 13:04:13 Ragnorok: it very much is :( Oct 26 13:04:15 is Network Manager running? Oct 26 13:04:33 how can I check that ? Oct 26 13:06:18 I mean how can check whether Network Manager is running ? Oct 26 13:06:32 ps aux|grep -i network Oct 26 13:07:49 Not really root@beaglebone:~# ps aux|grep -i network Oct 26 13:07:50 root 9004 0.0 0.1 1608 576 pts/0 S+ 02:26 0:00 grep -i network Oct 26 13:07:50 root@beaglebone:~# ps aux|grep -i network Oct 26 13:07:50 root 9048 0.0 0.1 1608 576 pts/0 S+ 02:26 0:00 grep -i network Oct 26 13:07:50 root@beaglebone:~# Oct 26 13:09:31 tejas: have a look-see at .. https://wiki.archlinux.org/index.php/Systemd-networkd .. I've just pulled it up .. but see if that helps Oct 26 13:09:42 obviously its biased towards Arch .. but if that's the way its gone .. Oct 26 13:10:08 I bet its something stupid and horrific like that .. *pukes at systemd* Oct 26 13:10:15 sorry, may be alittle biased here :D Oct 26 13:13:31 I was at systemd IRC the other day, I had problem about CPU usage. Reason was I was polling stdin (wrote a unit file to start the program that polls ). executing the program manually gives tty and systemd gave /dev/null, it was a horrific problem Oct 26 13:13:48 I can understand how come the bias is :D Oct 26 13:19:46 its like cancer .. nuff said haha. Oct 26 13:20:08 And, to sum up .. "if it ain't broke, don't fix it" Oct 26 13:21:51 my Beaglebone Black is booting at rc2 runlevel, I have following services those are used Oct 26 13:22:07 root@beaglebone:/etc/systemd/system/multi-user.target.wants# ls Oct 26 13:22:07 acpid.service bonescript-autorun.service remote-fs.target rsyslog.service sudo.service zigbeeHAgw.service Oct 26 13:22:07 avahi-daemon.service javaserver.service rsync.service start_application.service wpa_supplicant.service Oct 26 13:22:38 I doubt there could be some issue due to networkd Oct 26 13:23:18 Any thoughts ? what else could be the issue ? Oct 26 13:25:38 network.target file is empty too in /lib/systemd/system Oct 26 13:29:25 oh systemd sprinkles its config files liberally .. Oct 26 13:29:31 but .. you may be lucky ;D Oct 26 13:31:52 If I boot the Beaglebone Black in the morning (shows static IP x.x.x.80) and I end up in the evening by observing the same is changed to (x.x.x.3) going on since past 3 days Oct 26 13:38:24 hmm .. I got weird goings-on with my dhcp .. but I think thats because I've created a network bridge for my qemu/kvm vm Oct 26 13:38:35 not entirely unexpected :) Oct 26 15:07:49 Since the problem of IP changing automatically despite assigning a assigning a static one persists, I am trying to remove dhcp-client Oct 26 15:08:15 It responds with "Virtual packages like 'dhcp-client' can't be removed" Oct 26 15:09:33 virtual packages do not exist really right ? So why isn't it allowing me to disable the dhcp-client on beaglebone black (debian wheezy, kernel 3.8.13) Oct 26 15:09:34 yeah you need to find what depends on that .. and go up the chain Oct 26 15:09:47 its probably 'dhclient' Oct 26 15:10:28 says, "E: Unable to locate package dhclient" Oct 26 15:11:39 I'm not sure how to persuade aptitude to do dependencies .. I'm too gentoo-centric .. but there must be a way Oct 26 15:11:49 @veremit - newbie here, how can I locate dependancies and try going "up the chain" ? Oct 26 15:14:51 tried with "dhcp3-client" as well :D no luck Oct 26 15:24:21 how can I check if dhcp client is running ? Oct 26 15:24:38 did ps auxf | less Oct 26 15:25:02 couldn't locate, may be missed, any other specific command ? Oct 26 15:32:45 veremit: runlevels as such don't really exist anymore btw Oct 26 15:33:44 eh, tejas I mean. and I'd guess dhcp client probably isn't running all the time but invoked by the network manager (connman by default) when needed Oct 26 15:34:14 oh wait ancient wheezy image.. I have no idea there Oct 26 15:34:24 I don't have connman installed, who is invoking the client then ? Oct 26 15:34:41 ifupdown I guess? Oct 26 15:34:53 maybe even some horrible shell script Oct 26 15:36:31 check what's in /etc/network/interfaces Oct 26 15:38:25 I have assigned static IP to both eth0 and usb0 properly in /etc/network/interfaces Oct 26 15:39:53 there is nothing much I have edited there http://pastebin.com/qwXnHVgr Oct 26 15:39:54 dpkg --get-selections | grep dhcp Oct 26 15:40:46 root@beaglebone:~# dpkg --get-selections | grep dhcp Oct 26 15:40:46 isc-dhcp-client install Oct 26 15:40:46 isc-dhcp-common install Oct 26 15:40:46 udhcpd Oct 26 15:41:09 sorry Oct 26 15:41:10 apt-get purge isc-dhcp-client isc-dhcp-common udhcpd Oct 26 15:41:47 and then hope whatever is invoking it doesn't break the system in a serious way :P Oct 26 15:43:00 my bet would be it's some custom shell script, but I don't really know much about the ancient wheezy images, I'm not that deeply into archeology Oct 26 15:43:57 why does it need to be online do purge ? (the command you suggested above) Oct 26 15:44:30 oh you can do remove instead, but that will leave config files behind Oct 26 15:45:07 I am taking Beaglebone Black online now :D just hoping it doesn't break a lot of stuff after purge... Oct 26 15:52:54 @zmatt : there was this line "Stopping very small Busybox based DHCP server: Stopped /usr/sbin/udhcpd (pid 1262)" Oct 26 15:55:14 oh wait maybe you did want that... I kinda assumed you were for some reason religiously getting rid of dhcp and replacing it by static ip configuration Oct 26 15:57:22 are there chances that a USB stick is going to get affected by dhcp purge ? Oct 26 15:57:29 I mean its working Oct 26 15:57:44 uh, no? Oct 26 15:58:25 USB stick is running some important network zigbee firmware, I have s/w servers to manage the zigbee betwork on Beaglebone black Oct 26 15:58:38 Its working. Oct 26 15:59:00 despite purging dhcp Oct 26 15:59:58 that's not what udhcp was for Oct 26 16:00:15 what is it for exactly ? Oct 26 16:00:18 it's for the usb device port (usb0) Oct 26 16:00:51 then why is USB stick working fine ? Oct 26 16:01:12 because that has nothing to do with the usb device port? Oct 26 16:01:45 (the usb device port is the mini-B connector via which you can connect the beaglebone to a PC) Oct 26 16:02:51 I never really use it personally, I use ethernet instead Oct 26 16:03:28 Hello, is anyone there? Oct 26 16:03:29 I was talking about USB host (regular connector #not the mini usb) Oct 26 16:03:46 yes, which is why I said it isn't related Oct 26 16:04:38 I was having a problem installing the FTDI serial driver on macOS Sierra, the installer says "... no software found to install" Oct 26 16:04:47 so udhcp was responsible for carrying data from mini-usb to PC and cice versa solely ?? Oct 26 16:04:48 I see that other people have had this problem before Oct 26 16:05:04 Would anyone have a solution for this? Oct 26 16:05:19 tejas: not carrying data, providing the PC with an IP address on the 192.168.7.* network Oct 26 16:05:51 yeah, sorry. its _dhcp Oct 26 16:07:13 zpta: http://www.ftdichip.com/Drivers/VCP.htm ... except you already left so too bad Oct 26 16:07:36 seriously some people need to learn a bit of patience Oct 26 16:27:28 I'll put it on test if anything happens, IP change as well as to check if anything is broken :) Oct 26 16:35:42 zmatt: even openrc doesn't use runlevels .. besides 'boot' and 'default' anyways Oct 26 16:41:15 with systemd you can make your own runlevels, sort of... just create some .target with AllowIsolate enabled with dependencies on whatever stuff you want in that "runlevel" Oct 26 16:46:41 didnt all init systems provide some form of custom runlevels? i'm pretty sure you can do that even with masochistic init systems like bsd init Oct 26 16:47:04 no idea, I've never felt the need for one Oct 26 16:47:19 but named targets are certainly more inviting to it then preassigned numeric runlevels Oct 26 16:47:39 well... how many people still know the difference between runlevel 2 and 3? or even that there was a difference Oct 26 16:48:19 4 has been unused for longer than i have been using linux Oct 26 16:48:46 this also illustrates another downside of fixed numeric levels Oct 26 16:49:09 which is? Oct 26 16:50:17 weird gaps belonging to runlevels that fell into disuse Oct 26 16:50:49 (which is better than renumbering, but using names is superior still imo) Oct 26 16:50:52 * KotH shrugs Oct 26 16:50:58 lol Oct 26 16:51:02 that would have been even weirder Oct 26 16:51:22 2 would have been "multiuser_without_x" Oct 26 16:51:39 but 2 is nowadays the runlevel all systems go to, starting everything Oct 26 16:51:42 including x Oct 26 16:52:22 systemd most definitely does distinguish multi-user.target and graphical.target Oct 26 16:52:49 (one of which is typically what default.target symlinks to) Oct 26 16:53:29 i'm pretty sure most distros work by the motto "if it's installed, the user wants to run it at startup" Oct 26 16:53:39 which is probably fine Oct 26 16:53:42 yeah Oct 26 16:54:26 not always necessarily true, but usually yes Oct 26 17:10:01 Still should default to 5 or some level where one in the know would expect more cruft. Oct 26 17:11:10 systemd by default maps sysv-compat runlevel 5 to graphical.target and runlevels 2-4 to multi-user.target (but you can change this if desired) Oct 26 17:13:38 I haven't learned systemd targets. I'm sure they're simple, but rc.n was probably even simpler, based on what I've seen so far. This strikes me as a change for change's sake, which I abhor, but it is where things are now. One day I'll take the time. Oct 26 17:15:09 a target is basically just an empty unit, serving merely to group a bunch of services to be pulled in at the same time, or as synchronization point for ordering stuff Oct 26 17:16:46 having more infrastructure related to ordering is a side-effect of parallel service startup Oct 26 17:17:12 (but I for one greatly appreciate any reduction in boot time I can get, especially on embedded systems) Oct 26 17:18:42 I can see that. One day I may know enough to address it. (grin) Oct 26 17:19:08 lsb init scripts had a similar thing with "virtual facilities" Oct 26 17:19:37 $remote_fs $syslog $network etc Oct 26 17:20:10 I think it's similar anyhow, I don't know much about lsb init scripts or sysv-init Oct 26 17:21:28 except I think a facility can't group multiple services? Oct 26 17:23:08 I don't know much about facilities, or if I do, I don't know I know. I just know what to edit where for rc.* and init.d to change boot behaviour. Oct 26 17:23:44 oh nice, on non-linux (including actual sysv), runlevel 5 halts the system Oct 26 17:25:37 versus 0 which powers off... except on solaris those two are swapped Oct 26 17:26:16 (and of course since solaris 10 they're only for backward compat anyhow, since they use SMF... which is kinda like systemd, but then with lots and lots of XML) Oct 26 17:26:19 I vaguely remember 0 powering off. Been a decade or so since I used non-Linux. Oct 26 17:26:26 Sounds like a job for symbolic identifiers :0 Oct 26 17:26:32 MathOnNapkins: that's what I said :) Oct 26 17:27:21 hence systemd replaces them with named targets (and SMF with named "milestones") Oct 26 17:27:30 Never liked "slowlaris". I'm sure as CPU speeds have increased it's better, but the first version after SunOs was truly tragic. Oct 26 17:27:56 I've only used smartos Oct 26 17:27:57 They had some Solaris machines when I was in school but they only let the comp sci students use them Oct 26 17:28:05 I guess that worked out in the end? Oct 26 17:28:18 (I was more of a pure math guy) Oct 26 17:28:34 On napkins, even. Oct 26 17:28:47 I usually wouldn't go that rugged Oct 26 17:28:50 math++ Oct 26 17:28:59 Cafeteria placemats were far easier to write on Oct 26 17:29:53 I always had what I call "green dog paper". Good for math, engineering drawings, schematics, code, whatever. Oct 26 17:30:50 I use whatever I have available, but I prefer horizontal lined paper. Blank line-less paper feels too free and graph paper feels too busy usually Oct 26 17:31:18 unless the lines are really subtle Oct 26 17:31:48 I still administer a smartos server (and by administer I mean neglect unless something specifically needs attention). it takes some getting used to, but some stuff I really do like Oct 26 17:32:23 Green dog paper has very faint grids, enough to see when you want, and ignore when you don't. I think it may also be called "engineering paper". Oct 26 17:36:14 Never heard of smartos. Interesting idea. Oct 26 17:38:40 a more traditional distro on the same kernel would be e.g. openindiana hipster, but I've never tried it myself Oct 26 17:41:19 Ugh. I hate videos. Why do I want to watch some git nattering on at least common denominator speed when I could just *read* it? Oct 26 17:41:57 agreed Oct 26 17:49:48 I am using Debian, booting from a SD card, using the Ethernet port. I thought I had configured the BBB to have a static IP address but it is not being recognized. Could there be two interface files? The one on the SD card does not seem to be working. Oct 26 17:50:31 Is there a way to force the BBB to use the one on the SD card? Oct 26 17:50:58 if it booted from sd card it will not use any config files from emmc Oct 26 17:52:00 I used to use a router and it found the BBB just fine. Switched to a "switch" and now it is not recognized. Oct 26 17:52:16 zmatt: did we establish WHERE networking is now configured, if NOT the /etc/network/interfaces file!? Oct 26 17:52:24 in what config file did you ... Oct 26 17:52:26 that Oct 26 17:52:46 yes the /etc/networks/interfaces file Oct 26 17:52:50 veremit: this is how much I know about connman: "" Oct 26 17:53:13 zmatt: I know this much .. ' ' Oct 26 17:53:23 that's an entire space more than I do Oct 26 17:53:26 but I know ... about systemd Oct 26 17:53:43 Lidia_: what config file did you modify? Oct 26 17:53:48 and its doeverythingdwithconfigfilessprinkledabouteverywhere .. >,< Oct 26 17:54:03 that be the 'traditional' debian one .. Oct 26 17:54:22 uh no systemd isn't involved here, and doesn't really have that many places for config files Oct 26 17:55:00 I configured the /etc/network/interfaces Oct 26 17:55:28 Lidia_: yeah, that's probably ignored Oct 26 17:55:46 Can it be forced to use it? Oct 26 17:56:02 Or is there another way to configure the static IP address? Oct 26 17:56:32 connman will undoubtedly support static IP configuration, but I don't know how connman works Oct 26 17:56:36 Remove connman worked for me. YMMV. Oct 26 17:57:07 or you could remove connman and install ifupdown (if not installed) or any other network manager you might prefer Oct 26 17:57:13 I don't know anything about connman. Is it a device manager? I guess I'll be reading up on it. Oct 26 17:57:13 Days of scouring the 'net did not reveal how connman works well enough for me to do static. I ripped it out. Oct 26 17:57:18 Lidia_: a network manager Oct 26 17:58:09 Is connman currently there and I need to remove it first? I am a real newbie Oct 26 17:58:28 ifupdown kinda sucks because if you configure an interface to be brought up automatically using dhcp, it will stall boot a long time if it can't obtain a dhcp lease. that's one of the reasons they switched to connman Oct 26 17:58:41 (/etc/network/interfaces is the config file of ifupdown) Oct 26 17:59:40 there is a way of setting up connman .. I -think- its just /etc/connman.conf or /etc/connman/*.conf .. lets have a quick google .. Oct 26 17:59:57 iirc there are also commandline utils for it Oct 26 18:00:06 and gui ones ... Oct 26 18:00:26 aha yes connmanctl .. Oct 26 18:00:36 I had to set up a wifi connection with authentication once Oct 26 18:02:00 Sorry, what would I need to do? Go int /etc/connman/ . . . . Oct 26 18:02:20 Lidia_: sorry, I'm just correcting myself :/ Oct 26 18:03:03 Lidia_: try .. http://derekmolloy.ie/set-ip-address-to-be-static-on-the-beaglebone-black/#Using_Connman Oct 26 18:03:50 Oh, that is wonderful. I'll give that a try . . .Thanks! Oct 26 18:04:56 hopefully *crossed-fingers* that is sufficiently relevant still Oct 26 18:05:09 given the rapid pace of change :/ Oct 26 18:05:36 why configure a static ip anyway? Oct 26 18:05:45 It is something to try, if not, I will be back to ask some more questions . . . lol Thanks! Oct 26 18:06:07 I am setting up the BBB to talk to a drone and I need static IPs Oct 26 18:07:24 ok, I'm not really used to anything needing static IPs anymore since all relevant OSes perform IPv6 autoconfiguration Oct 26 18:07:35 what? ipv6 .. what is that?! :P Oct 26 18:07:53 * veremit don't have an ipv5 isp .. or even ipv6 :D Oct 26 18:08:02 ipv5 is a thing? Oct 26 18:08:07 MathOnNapkins: no Oct 26 18:08:12 lo nope .. it was a typo Oct 26 18:08:13 didn't think so Oct 26 18:08:20 but it was fruedian Oct 26 18:08:21 veremit: note that I'm assuming the situation is a routerless network Oct 26 18:08:23 and fruedian too Oct 26 18:08:30 holy poop wtf. I Can't trype Oct 26 18:08:50 must be too froidian outside Oct 26 18:09:06 affecting typing skillz Oct 26 18:14:49 I used a router which found the BBB no problem. It is when I replaced it with a switch that it does not see it Oct 26 18:15:23 "it does not see it" ? "it" being what? and how is it looking? Oct 26 18:15:58 it doesn't even know it is there Oct 26 18:16:07 I cannot see it on the network Oct 26 18:16:14 "it" being what? and how is it looking? Oct 26 18:17:42 I am using a wireless waverelay as the router. My router sees the BBB fine, because I am guessing it is dynamically identifying it. Oct 26 18:18:04 The waverelay doesn't even see it. I can't even ping it from the command line Oct 26 18:19:28 try ping HOSTNAME.local from another linux system on the network, where HOSTNAME is the beaglebone's hostname Oct 26 18:19:36 ping6 sorry Oct 26 18:20:09 hm or not Oct 26 18:20:33 What will that give me? The ip of the host? Oct 26 18:21:37 assuming both systems have avahi installed (which is usually the case on linux systems), you can find any local device by its hostname in the .local domain Oct 26 18:21:55 if no dhcp server is available, then at least link-local ipv6 should still work Oct 26 18:22:22 hi Oct 26 18:22:36 hence the ping6 instead of ping (weirdly there are separate ping utils for ipv4 and ipv6) Oct 26 18:22:59 how to do factory reset on the beaglebone. Oct 26 18:23:29 anhletuan: just reflash it with whatever firmware image you prefer Oct 26 18:24:42 I just tried ping6 HOSTNAME.local on the BBB and it said unknown host Oct 26 18:25:28 Lidia_: I'll admit though that avahi + link-local ipv6 isn't always issue-free for some reason... but who knows, maybe somewhere in the next decade we'll finally have networking as easy to use as it was on Macs in 1986 Oct 26 18:25:54 Lidia_: uhh, did you replace HOSTNAME by the beaglebone's hostname? also it's not much of a test to have it ping itself Oct 26 18:27:04 and try ping in addition to ping6... if it still thinks it has an ipv4 address it seems to give out that instead of (rather than in addition to) its ipv6 address for some reason Oct 26 18:27:22 anhletuan: don't send unsolicited private messages Oct 26 18:28:05 Ok, I am going to go try the connman procedure. I'll be back later. Thanks agian Oct 26 18:28:19 I can't spell either . . . thanks again! Oct 26 18:28:24 anhletuan: don't send unsolicited private messages Oct 26 18:29:03 Sorry for sending private messages. Oct 26 18:29:17 I got problem when trying to reflash eMMc. Oct 26 18:29:36 I hold the button for a while but the Leds did not flash. Oct 26 18:32:12 the S2 button doesn't need to be held down long, it suffices to hold it until 0.1 second after the power led turns on (probably less even) Oct 26 18:32:21 no led activity at all? (other than the power led) Oct 26 18:33:36 If I turn the device on the leds flashing. Oct 26 18:34:09 But i can not connect to the device via usb. Oct 26 18:34:30 I try debug via serial port. Oct 26 18:34:41 #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 uname_r=4.1.12-ti-r29 #uuid= #dtb= ##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..) ##BeagleBone Black: HDMI (Audio/Video) disabled: #dtb=am335x-boneblack-emmc-overlay.dtb ##BeagleBone Black: eMMC disabled: #dtb=am335x-boneblack-hdmi-overlay.dtb ##BeagleBone Black: HDMI Audio/eMMC disabled: #dtb=am335x-boneblack-nhdmi-overlay.dtb ##B Oct 26 18:34:52 please don't paste stuff here Oct 26 18:35:03 use e.g. pastebin.com Oct 26 18:35:58 and I'm getting increasingly confused here... do you mean you're debugging your current system, or the attempt to reflash it? and that looks like the contents of the /boot/uEnv.txt file, why are you pasting that? Oct 26 18:37:00 http://pastebin.com/s54fas8h Oct 26 18:37:12 here is the log from the console Oct 26 18:37:34 what the hell Oct 26 18:37:53 are you sure that serial cable is working right? Oct 26 18:38:19 I think the cable is working right. Oct 26 18:38:30 no lemme rephrase: that serial cable doesn't seem to be working right Oct 26 18:38:31 But I am wondering something happen with the os Oct 26 18:38:33 whole chunks of output are missing Oct 26 18:38:38 even from u-boot Oct 26 18:39:32 I will try with another cable Oct 26 18:39:45 is the serial cable 3.3v compatible? Oct 26 18:40:41 (unlike the rest of its I/O, the beaglebone's serial console port is 5v tolerant, but 5v serial cables may not properly receive the 3.3v output from the beaglebone) Oct 26 18:46:09 zmatt: I don't have connman in my BBB. Should I install it? Oct 26 18:46:14 huh Oct 26 18:46:41 delekmollo says to go to /var/lib/connman Oct 26 18:46:42 no, that was just the assumption since it is installed by default, at least in not-too-ancient images Oct 26 18:47:03 and since it would explain why configuration in /etc/network/interfaces isn't working Oct 26 18:47:27 one of the suggestions was actually to remove connman Oct 26 18:47:47 if you don't have it installed then we're back to being puzzled Oct 26 18:54:29 hi zmatt, you were right. The cable was broken. I can access via other serial cable. Oct 26 18:55:17 great, my puzzler is puzzling Oct 26 18:55:47 Lidia_: that suggests you're probably running some ancient system though? Oct 26 18:56:01 However the connection with pc via usb still is not established. Oct 26 18:56:14 What should I take a look. Oct 26 18:56:36 anyway, I kinda gotto go, good luck Oct 26 18:58:48 That's ok, thanks for your help Oct 26 19:38:31 Hello can anyone help me decipher some PRU code? Oct 27 00:56:30 join **** ENDING LOGGING AT Thu Oct 27 02:59:59 2016