**** BEGIN LOGGING AT Fri Apr 28 03:00:02 2017 Apr 28 03:41:22 Hi Apr 28 03:48:51 Is anybody alive in here? Apr 28 04:26:31 no, we prefer to populate the channel with corpses Apr 28 04:35:21 smells better that way. Apr 28 05:01:28 Hi there, has anyone had any issues booting the BBBlue with just a LiPo plugged in? I've plugged in a charged battery and all I get is the Green, Red, and Power On LED flashing. Boots if USB or 12V is plugged in. Apr 28 05:27:47 I tried to buy a beagleboard x15 and get it exported to Sweden but was denied (bought from mouser) anyone have a guess to why? is it not open design? Apr 28 05:58:40 Quick question, can the BBBlue be powered from just a LiPo? Apr 28 07:12:16 hi i need a short script to copy the contents of a BBB, anyone who can help me? Apr 28 07:12:54 I mean clone the BBB to tranfer it to microsd memory Apr 28 07:14:18 dd if=/dev/mmc? of=/dev/sda? bs=64k Apr 28 07:14:24 or something like it Apr 28 07:14:41 dd if=/dev/mmc? of=/dev/sda? bs=64k &&sync Apr 28 07:14:52 dd if=/dev/mmc? of=/dev/sda? bs=64k && sync Apr 28 07:15:23 will this clone all? Apr 28 07:18:49 join #beagle Apr 28 07:19:02 join #beagle Apr 28 08:37:35 hka: the design is open, you can download the schematics. as for why mouser refused to ship it to you, ask mouser Apr 28 08:44:28 they said it had export restriction, is it available produced outside of USA? Apr 28 08:46:34 huh? Apr 28 08:46:37 that sounds weird Apr 28 08:47:03 This item is restricted by US export law, which means that it cannot by exported outside the US. Apr 28 08:47:07 I thought the main problem was unavailability due to difficulty in getting the parts Apr 28 08:47:09 is all they say Apr 28 08:47:16 they're being silly beans Apr 28 08:47:32 http://uk.rs-online.com/web/p/processor-microcontroller-development-kits/8874764/ Apr 28 08:47:50 hka: this sounds more like mouser being unwilling to check whether the board acutually has export restrictions Apr 28 08:47:59 hka: so they just label it as such Apr 28 08:48:53 jkridner: you might want to step on mousers toes... see above Apr 28 08:49:43 hka: wait a sec... hasn't the swedish army embarassed the us navy a couple of times in the past? Apr 28 08:49:53 lol Apr 28 08:49:54 hka: that might be the reason why they dont want to sell to you ;-) Apr 28 08:50:23 KotH, I see, annoying, I will try to order it from rs instead, thanks for link zmatt Apr 28 08:50:48 note that they're all on back-order Apr 28 08:50:49 hehe yeah that is true, trying to find our submarines with their super sonar and failing Apr 28 08:50:53 noone has boards right now afaik Apr 28 08:51:37 yeah, mouser listed it saying they would have in stock in a week, but I am not in a hurry:) Apr 28 08:52:01 that sounds unlikely, unless there's been status updates I missed Apr 28 08:54:10 hka: https://groups.google.com/d/msg/beagleboard-x15/c1zpR4Dh4cg/TYXepxSGDQAJ Apr 28 08:57:25 heh I see, but Mouser still list that they are going to get 433 units 05.06.2017 so in a month or in a week depending on how they write their dates:p Apr 28 08:58:49 hka: see the post immediately above it Apr 28 08:59:17 apparently mouser has a flexible notion of "ship date" Apr 28 09:01:53 I'll go back to ordering stuff from farnell I think^^ Apr 28 09:03:17 hehehe Apr 28 09:04:05 see also http://elinux.org/Beagleboard:BeagleBoard-X15#BeagleBoard-X15_Production_Status_and_Distributors Apr 28 09:07:50 by the way, is there any other board available with dsp? I am looking at the x15 because I looled at TIs opencv implementation. Does for example beaglebone black have acceleration for image processing? Apr 28 09:08:56 the cortex-a8 has fairly okay neon support but that's about it Apr 28 09:09:25 number crunching is not the strongest point of the AM335x Apr 28 11:11:57 hka: and there are of course other boards, but expensive Apr 28 11:21:08 zmatt yeah, price point for the evaluation kit from TI for the chip in x15 was about twice I think Apr 28 11:22:34 if you mostly care about the c66 dsp then the k2g SoC would also be an option, but its evm is $699 ... Apr 28 11:22:59 I will wait and see:) I just thought it so strange that there was export restrictions on it. but as it from usa I guess there could be this terrible encryption stuff on it;) Apr 28 11:23:27 ugh that is a bit steep for a hobby project Apr 28 11:25:47 yeah... the k2g itself is pretty cheap for a keystone 2 processor though Apr 28 11:29:42 yeah, but bga, havent gotten that far in my pcb designing and soldering yet:p Apr 28 11:32:05 looked at 66ak2h evm as well but that one is $10000 Apr 28 11:34:37 hehe Apr 28 11:36:38 looks like you got one zero too many there though Apr 28 11:37:58 it's listed at $997 Apr 28 11:38:25 which is pretty cheap considering the processor itself is $661 (@ 1k units) Apr 28 11:41:40 ah yeah sorry, $1 is about 10 SEK, but yeah, looked at the chip price so it is not so expensive considering what you get. Much more performance than am5728, but at a price Apr 28 11:42:16 iirc it doesn't have much "normal" I/O though Apr 28 11:44:54 that is what the 3 i2c interfaces are for, expanders Apr 28 11:45:13 and spi Apr 28 11:55:12 should maybe get a jetson tk1 instead, similar price as beagleboard x15 but possible to buy:p a shame it is not as open though Apr 28 12:07:00 "not as open" is an understatement Apr 28 12:07:47 if you want to get any docs from nvidia you first need to click "agree" on something that grants nvidia rights to your soul and firstborn child Apr 28 12:14:53 hehe yeah:( Apr 28 12:21:01 hi Apr 28 12:26:45 Hey guys, i have a BB blue and am looking for the names of all the board pins similar to the BB black cape P9 and P8 headers which you can call in code like "P9_3" etc. I can't seem to find a pin summary anywhere, any ideas? Apr 28 14:13:23 zmatt: hi! do you remember some months ago we were discussing dts to dtb compilation for a own gpio pinmux settings ?? (probably not....) Apr 28 14:36:16 HI, looking for any information on *which* disk image is written to new Element14 beaglebones. Thanks! Apr 28 14:43:23 does it matter? just reflash it to whichever you want Apr 28 14:49:26 bb-kernel/tools/rebuild_deb.sh rebuilds the whole kernel every time instead of only changed files, is this expected ? Apr 28 14:50:48 I use multiple of the element14 beaglebone industrial - I'd like to be consistent, rather than having n-number of dists out there Apr 28 14:55:10 MJW: I can find out for you. can you post the question to http://beagleboard.org/discuss ? Apr 28 14:59:23 MJW: seems the E14 team doing the flashing are out until 5/2, FYI. Apr 28 15:00:21 jkridner, just posted that question. and I can wait until 5/2, thanks. Apr 28 15:07:28 thanks chicas Apr 28 15:14:33 qq Apr 28 15:21:01 kha_hem: unfortunately yes, dpkg-buildpackage cleans before building by default Apr 28 15:21:21 kha_hem: rcn uses ccache though so it's relatively fast Apr 28 15:22:07 ok, I'll try using ccache too then, thanks Apr 28 15:33:34 Hello everyone, I want to rename the hostname for my beaglebone without making it restart. I tried several approaches to do so but for all of them I have to restart the beaglebone. I want to write a script that will change the hostname and ping to it to make sure hostname is changed Apr 28 15:38:48 i would appreciate if someone can help me on this Apr 28 15:41:27 "hostnamectl set-hostname thename" ? Apr 28 15:41:47 maybe add a "exec bash" if you have your hostname displayed by bash Apr 28 15:46:46 I tried both approaches it does change the hostname but I am not able to ping to changed hostname. Instead ping command works for previous hostname Apr 28 15:49:04 by dhclient eth0 I am able to reflect the hostname change on routers webpage as well, but for some reason it still doesn't ping to that hostname. Apr 28 15:50:03 have you tried the -r option of dhclient ? Apr 28 15:52:12 yes dhclient -r Apr 28 15:52:44 ''ping: unknown host'' i still get this error. Apr 28 16:04:10 I don't understand why "dtc -O dtb -o myfile.dtb -b 0 -@ myfile.dts" now gives me a syntax error Apr 28 16:05:24 myfile.dtb is into /opt/source/dtb-4.4-ti/src/arm/ and I have always modified it this way to produce a .dtb to be inserted into /boot/dtbs and specified in uEnv.txt Apr 28 16:07:00 myfile.dts is a modified am335x-bone.dts as I'm working with an old white beaglebone Apr 28 16:09:06 tried also with rcn dtb-rebuilder but it produces a non-working .dtb (beaglebone hangs at boot) Apr 28 16:10:58 for now I just decompiled old working .dtb to .dts, modified and recompiled to .dtb , this way it works but I'm still disappointed by old way issue.... Apr 28 16:45:17 trying to identify a beaglebone black revision .. it appears to be rev C as it has a 4gb memorychip but pcb is marked rev B6.. cpu is cpu is AM3358BZCZ100... is it a C or B ? Apr 28 16:51:11 ghostD0g: check the sticker on the P8/P9 header Apr 28 16:51:22 the PCB rev is not the same as the board rev :D Apr 28 16:51:45 em-400524 xa9007949 Apr 28 16:52:07 qc passed xr lxm Apr 28 16:52:18 not helpful sticker Apr 28 16:53:03 hrm Apr 28 16:53:03 if it has a 4gb chip i am assuming its a rev C .. Apr 28 16:53:18 element 14 board Apr 28 16:53:18 anyone else finding elinux.org down? Apr 28 16:53:28 I was gonna point at the wiki . but .. Apr 28 16:53:49 its up form me Apr 28 16:53:52 for me Apr 28 16:54:46 ah its not responding on https .. jkridner can you update the link on the beagle.org page ;) or poke the elinux webmasters :P Apr 28 16:55:34 ghostD0g: http://elinux.org/Beagleboard:BeagleBoneBlack#Board_Revisions_and_Changes Apr 28 16:56:00 Revision B Apr 28 16:56:01 This version moves to the AM3358BZCZ100 processor as we are no longer able to get the limited production version of the AM3359AZCZ100. Apr 28 16:56:01 No changes in features or operation of the board resulted from this change. Apr 28 16:56:17 and rev c says it gets a 4gb mem chip Apr 28 16:56:19 so revC looks like the only one with 4Gb eMMC Apr 28 16:56:27 so little confusiing Apr 28 16:56:38 yeah the cpu threw me off Apr 28 16:56:54 brain fart Apr 28 16:56:57 :) Apr 28 16:56:59 thank you Apr 28 16:57:07 most of the production ones are now C's .. you'd have to find an old one with only 2gb ;P Apr 28 16:57:17 np Apr 28 16:57:43 this one might have been .. it was given to me Apr 28 16:57:48 aha :) Apr 28 16:58:16 i also discovered that chalking the chips makees them easier to read with old eyes Apr 28 16:58:32 heh yea Apr 28 17:25:48 so reading the manual for the BBB .. aparently it can boot from a usb stick .. and serial .. but "Software to support USB and serial boot modes is not provided by beagleboard.org. Please contact TI for support of this feature." .... so do I send an email to TI is i want this feature ? or does it boot from a usb stick as is ? Apr 28 17:27:49 never mind found documentation here http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide Apr 28 17:51:20 rlos, un fijo Apr 28 18:10:25 ghostD0g: "usb boot" doesn't mean boot from an usb stick Apr 28 18:11:59 ghostD0g: if you connect the BBB as device to a computer and power it on while eMMC and uSD boot fail (power on with S2 button held down to remove eMMC from boot order, then an absence of bootable uSD card suffices), it will appears as an RNDIS network interface Apr 28 18:12:18 when you bring that interface up, the BBB will try to use it to netboot Apr 28 18:13:27 note that you could build an u-boot that can boot linux from usb stick, but the AM335x ROM will not be able to load u-boot from usb stick Apr 28 18:15:50 ahh ok Apr 28 18:17:59 as for serial boot... if you ensure that all aforementioned boot options fail (make sure it's not enumerated as usb device), then you'll see "CCC" appearing via the serial console. that's the AM335x ROM trying to start an XMODEM transfer Apr 28 18:18:16 that particular boot method is for masochists :P Apr 28 18:19:13 well i ended up imagagins a 64gb micro sd .. now i need to figure out where /boot/uEnv.txt is so i can make the image a flasher.. can this be done from window or do i need a linux box Apr 28 18:19:22 .. http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Flashing_eMMC Apr 28 18:19:33 just download a flasher image Apr 28 18:21:06 there are "standalone" and "flasher" images. as the wiki page says, editing /boot/uEnv.txt (which indeed needs linux) is only needed to turn a standalone image into a flasher image Apr 28 18:21:46 ahh k Apr 28 18:22:06 looking for a flasher image now Apr 28 18:22:09 thank you Apr 28 18:22:40 just search for "flasher" on that page Apr 28 18:24:05 there are lxqt (with gui) and iot (without gui) images, and you can choose between debian jessie, jessie with u-boot overlays, and debian stretch Apr 28 18:24:31 (well, there are more images than those, but these have flashers listed at the moment) Apr 28 18:24:43 thank you Apr 28 18:25:29 i am not even sure this BBB is working .. it was given to me free by someone wh says it was borked Apr 28 18:25:50 there are many flavors of "borked" Apr 28 18:26:04 so i am trying to flash it to a stock image and see if it lives Apr 28 18:26:12 so far it seems to be ok Apr 28 18:26:15 unless you get a power led blip of doom, then it's pretty borked Apr 28 18:27:06 i think they may have just corrupted it and it just needs a reflash Apr 28 18:27:25 yeah, that's the best kind of borked :) Apr 28 18:27:32 i dont have much experiance with SB computers Apr 28 18:27:47 it's a computer, just smaller Apr 28 18:27:49 ;) Apr 28 18:27:58 i was gonna get a Pi .. but got the bbb free Apr 28 18:28:17 i have arduinos not the same thing i know Apr 28 18:28:27 well, in some sense they are Apr 28 18:29:14 quite a bit of the I/O and peripherals is stuff one would traditionally more expect to find on microcontrollers Apr 28 18:29:15 technically true Apr 28 18:29:36 yeah Apr 28 18:29:48 and writing code to run on it directly is somewhat harder, but quite doable Apr 28 18:29:59 I once made this example -> https://github.com/mvduin/bbb-asm-demo Apr 28 18:30:13 written in asm because someone asked for that specifically, otherwise there's really no good reason for it :) Apr 28 18:30:25 I should make a C version of it some day Apr 28 18:32:20 hehe Apr 28 18:35:12 i have a cople of old computers with serial ports ... can i make up a cable to talk/read the serial header on the bbb or do i need to buy a cable ? Apr 28 18:35:23 *couple Apr 28 18:36:25 you can't use a real RS232 port, those use crazy voltages Apr 28 18:36:31 like -7 to 12V Apr 28 18:37:16 you need a 3.3V serial cable Apr 28 18:38:01 5V serial may work: the console port of the BBB is (unlike all other I/O) 5V-tolerant, but it will still only output 3.3V which may not be understood by a 5V serial port Apr 28 18:38:32 rs232 is simetric... it can have +3 to +18 (for the logic zero) and -3 to -18 (for the logic one). Apr 28 18:38:50 the "prohibited zone" si from -3 to +3 Apr 28 18:38:55 *is Apr 28 18:39:11 like I said, crazy voltages ;) Apr 28 18:39:36 ghostD0g as zmatt says if you want to connect to it with a pc, you must use a hard logic translator Apr 28 18:39:56 zmatt not crazy... some attempt to make it inmune to noise Apr 28 18:40:18 the same happens with rs485.. and its sone "ethernet" :) Apr 28 18:40:22 ok so buy the cable Apr 28 18:40:24 its son Apr 28 18:40:35 maunix: note the ;-) I understand that there are reasons Apr 28 18:40:59 zmatt I missed the ;) Apr 28 18:56:21 ghostD0g: btw if you want to try the little asm application, you can just download the zip and write the .img file to sd card :) -> https://github.com/mvduin/bbb-asm-demo/releases/download/v1/bbb-asm-demo.zip Apr 28 18:57:06 i am following you now .. an plan to do just that Apr 28 18:57:20 soon as i get this thing flashed Apr 28 18:57:39 got lost down a rabit hole Apr 28 18:57:43 heh Apr 28 18:58:26 it's funny how very much instantly this runs after power-on... in contrast to u-boot Apr 28 18:58:35 looking to see if i can use my arduino micro as a uart to usb go between .. i am cheap and dont want to buy a cable lol Apr 28 18:58:53 yeah asm is alway fast Apr 28 18:58:58 always Apr 28 18:59:09 my baremetal C++ code is the same Apr 28 18:59:48 well once c/c++ is compiled it is machine code so i would imagine Apr 28 19:00:14 well, yes, but that's true for all compiled code Apr 28 19:00:30 and javascript code running in nodejs also gets turned into compiled code Apr 28 19:00:34 even c# and VB :P Apr 28 19:00:42 that doesn't mean it isn't horribly slow compiled code Apr 28 19:01:16 true ,, i guess i just thin of C and c++ as low level code Apr 28 19:01:25 *think Apr 28 19:01:30 u-boot is written in C :P Apr 28 19:01:37 it's still bloated and inefficient Apr 28 19:01:37 well Apr 28 19:01:42 yeah Apr 28 19:02:20 bloated is the main issue I think, the reason why there's very noticable delay between power-on and the first sign of activity Apr 28 19:03:30 like, they have to use 2-stage loading since they can't meet the size limit (100-something KB) for being loaded directly by the ROM bootloader Apr 28 19:03:58 the first stage ("SPL") sets up the DDR3 memory and then loads the full u-boot there Apr 28 19:04:37 i think memory is so cheap these days folks stopped worring about writing tight code.. now its alot of kitchene sink code .. lots of uneeded features and BS Apr 28 19:09:20 maybe memory is cheap (I think ayjay_t disagrees), but that doesn't make slow startup okay Apr 28 19:09:32 we could have devices that simply work when you turn them on :) Apr 28 19:10:12 I managed to get it down to 10 seconds from power-on, and I think that's still a long time Apr 28 19:10:16 some languages are *interpreted* not compiled Apr 28 19:10:42 that's not necessarily a problem Apr 28 19:10:44 maunix : true Apr 28 19:11:27 so i now think i flashed it Apr 28 19:11:33 all leds solid-on ? Apr 28 19:11:49 they all went off Apr 28 19:12:05 that doesn't sound good Apr 28 19:12:36 hmm Apr 28 19:12:36 how soon after it started did this happen? Apr 28 19:12:54 wasnt paying that close attention tbh Apr 28 19:13:02 gonna try again Apr 28 19:13:03 lol Apr 28 19:13:33 yep it shows as a drive Apr 28 19:13:39 on my computer Apr 28 19:13:46 and the sd card is out Apr 28 19:14:09 kay Apr 28 19:14:13 odd Apr 28 19:14:33 and shows in my network devices Apr 28 19:16:01 bridging and goint to try to putty Apr 28 19:16:07 going Apr 28 19:22:03 i should be able to browse http://192.168.7.2 Apr 28 19:22:36 ahh bridging was wrong Apr 28 19:23:07 bridging is wrong for the default config yes Apr 28 19:23:49 though you can hook it up to ethernet and then just connect to whatever ip it gets there (or hopefully to its name, if you have Bonjour installed) Apr 28 19:24:21 well its alive :) Apr 28 19:25:36 \o/ Apr 28 19:30:37 kk thank you for you help :) i will be back Apr 28 20:16:13 hi all, is there a way to make `rtcwake -d /dev/rtc0 -m mem -s 30` on the BBB work? Apr 28 20:17:42 sudden6: tip: ask what you want to accomplish, instead of expecting people to guess or look up what that command does Apr 28 20:18:24 zmatt: thanks, I want to put the BBB in sleep mode an wake it up later with the rtc Apr 28 20:18:33 yes, it supports that Apr 28 20:18:54 can you link me to some docs? Apr 28 20:20:13 I don't have any links handy... try https://www.google.nl/search?q=am335x+suspend+site:processors.wiki.ti.com Apr 28 20:20:22 though beware of information that may be outdated Apr 28 20:20:45 *google.com Apr 28 20:21:35 "standby" may be a better search term than "suspend" Apr 28 20:23:33 zmatt: thanks a lot, I'll come back here when I've read the material Apr 28 21:42:10 hi again, I read the wiki and some other stuff, but I didn't find anything relevant :/ Apr 28 21:42:19 all the stuff seems outdated Apr 28 21:42:46 are there any images where standby is known to work? Apr 28 21:44:02 afaik any image should work if a 4.4-ti series kernel is installed, which is the default Apr 28 21:44:22 maybe it's working in 4.9-ti series now too, haven't checked that recently Apr 28 21:44:46 hmm, I'm running the 4.4-ti series kernel Apr 28 21:45:15 can I install the 4.9-ti kernel via apt-get? Apr 28 21:45:32 note: 4.9-ti *maybe* works. 4.4-ti *definitely* works Apr 28 21:45:53 and yes you can Apr 28 21:46:28 how can I wake up the BBB once it's in standby? Apr 28 21:47:18 depends on which wakeup sources are enabled, iirc activity on the serial console worked, and perhaps toggling some gpio0 pin (that might need some setup though) Apr 28 21:48:10 will the pwr button work? Apr 28 21:48:24 nope Apr 28 21:48:30 or actually Apr 28 21:48:30 maybe Apr 28 21:48:42 hmm, maybe that's the issue Apr 28 21:49:37 from a hw point of view any irq can wake up the system from standby, if appropriately configured (which basically just means: irq enabled while in standby) Apr 28 21:49:49 wakeup sources are more restricted in deepsleep states Apr 28 21:50:57 ok, what would be the easiest thing to test? Sadly all the documentation seems very outdated on this matter :/ Apr 28 21:52:04 when I tested it, activity on serial console worked for me Apr 28 21:52:18 I also recall it got wakeup from gpio0 working, but I don't remember if I had to do any config for it Apr 28 21:52:24 *I got Apr 28 21:53:57 if necessary I can check when I get home Apr 28 21:56:54 that would very kind Apr 28 21:57:15 (which should be in about an hour or so) Apr 28 21:57:22 activity on serial console doesn't do the trick for me Apr 28 21:59:02 maybe my serial adapter is bad? it's a cheap PL-2303 based one? Apr 28 22:00:00 it shouldn't be hard to tell if the serial console works or not Apr 28 22:00:23 it works on receive side, although I get a lot of stray \@ chars Apr 28 22:00:51 whose receive side? Apr 28 22:00:56 pc Apr 28 22:01:06 but it doesn't respond if you type anything? Apr 28 22:01:26 stray \@ sounds like it might expect 5v signalling and isn't entirely happy about the 3.3v signalling? Apr 28 22:01:40 it's also possible wakeup from uart0 does actually need config too Apr 28 22:01:45 but, gotto run, catch bus, bbl Apr 28 22:02:15 it works with other 3.3V targets, so I don't think that's the problem Apr 28 22:08:11 hi can a beagleboard connect to watch tv from the imac - i guess ssh into the mac? Apr 28 23:04:00 zmatt: I have to go to bed now, but I'll contact you again here Apr 28 23:04:53 ok Apr 28 23:04:57 (just got home) **** BEGIN LOGGING AT Sat Apr 29 00:04:54 2017 **** ENDING LOGGING AT Sat Apr 29 03:00:01 2017