**** BEGIN LOGGING AT Sun Nov 08 02:59:58 2015 Nov 08 03:23:47 Hello... Nov 08 03:24:32 I was working out of the Make: Getting Started with Beaglebone book. Nov 08 03:24:40 I came to...scratch that. Nov 08 03:24:56 I am working out of a book, "Beaglebone Robotic Projects." Nov 08 03:25:08 It is published from packtpub.com. Nov 08 03:25:49 I am on a section. I need to set up my mic and speaker. Nov 08 03:26:12 I cannot get this mic or speaker to understand that it is attached. I tried multiple times. Nov 08 03:26:25 Besides that...Geaux Beaglebone Black. Nov 08 03:28:13 p. 72 on "Beaglebone Robotic Projects" describes what to do. I have followed instruction. Nov 08 03:29:05 So...I kept trying. I kept up the "good effort." I am using nano to produce scripts for now. I have a model with Angstrom and a model with Debian. Nov 08 03:29:33 I am updating the package of Angstrom to Debian now, i.e. I will have two with Debian. Nov 08 03:29:48 Okay...so! Does anyone follow this book? Nov 08 03:32:54 The book is about a Robot with the BBB brain/MCU. Does anyone follow or use, "Beaglebone Robotic Projects?" Nov 08 03:39:15 Oh and I forgot. I had to use the Debian BBB to work on this book. My Angstrom BBB does not do it for this book. Nov 08 03:48:03 Set_ .. the software is evolving quite quickly .. what are you having problems with? Nov 08 03:48:12 I use "alsamixer" to command via "aplay" in the command line. I have not been able to play a .wav file. Nov 08 03:49:05 I have to play the .wav file to move on. The played .wav file gives me an idea on what will be the output when I give it commands. Nov 08 03:50:17 I am going to command this robot with talk and it will give me an ouput to let me know what it will do. Nov 08 03:50:37 what error message if any are you getting? or just no sound? Nov 08 03:50:47 Just no sound. Nov 08 03:51:14 I can hear feedback but no sound. Nov 08 03:51:22 feedback?! Nov 08 03:51:40 Yea...the feedback is when I put my hands too close to the device/speaker. Nov 08 03:52:28 I have a chipset device that I can plug into my bone via USB. The device has output/speaker and input/mic. Nov 08 03:52:28 interesting Nov 08 03:52:54 Yep. Nov 08 03:53:41 So...I get to alsamixer and configure it. I then click aplay and the .wav file to play it. Nov 08 03:53:47 what do you get from "aplay -l" and "aplay -L" Nov 08 03:53:58 do you see the right card selected as 'sysdefault' ? Nov 08 03:54:15 Um...dang it. Nov 08 03:54:29 alsa requires a fair bit of manual configuration .. and I would suspect it wants to send sound down the HDMI ( as for some reason, everything does...) Nov 08 03:54:33 I am using my Angstrom to get it updated to Debian now. Nov 08 03:54:56 I can see what happens later and get back on here. Nov 08 03:55:07 But...what was supposed to happen did happen. Nov 08 03:55:21 I have the exact same thing for output that is described. Nov 08 03:55:48 The page in the book has a picture. My output from the terminal and command line are the same. Nov 08 03:56:02 eg. for my desktop I have "aplay -l" gives .. http://pastebin.com/2B9zicbc Nov 08 03:56:12 just apt-get alsaplayer on my beagle .. hold on .. Nov 08 03:56:29 Okay...hold on. I am going to connect my other bone real quick. Nov 08 03:56:52 bugger .. wrong package set .. Nov 08 03:56:54 lol Nov 08 03:57:21 fyi .. aplay is part of 'alsa-utils' package :D Nov 08 03:57:38 Yep...I have been trying to upgrade my Angstrom too. It has not worked in the last three tries. Nov 08 03:57:53 Unless you really want to persevere with Angstrom, I'd ditch it. Nov 08 03:58:03 As in, opkg upgrade? Nov 08 03:58:07 I wouldn't recommend it Nov 08 03:58:10 I am...I am ditching it as we speak. Nov 08 03:58:36 Depending on the device rev, it takes forever and you usually run out of space on eMMC Nov 08 03:58:44 I'd recommend downloading a fresh image from http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-11-03 .. write a uSD card, update the flash to latest debian Nov 08 03:58:48 Okay...I signed into my Debian image BBB with PuTTY. now. Nov 08 03:58:49 Haven't used Angstrom on a Rev C Nov 08 03:59:01 Nope. Nov 08 03:59:02 not forgetting to hold the BOOT button whilst applying power to boot the new image :D Nov 08 03:59:10 I remembered. Nov 08 03:59:14 [ 3:58am] root@beagleblack ~ # aplay -l Nov 08 03:59:15 aplay: device_list:252: no soundcards found... Nov 08 03:59:19 well .. that's really helpful Nov 08 03:59:33 Okay...I will go to aplay -l Nov 08 03:59:35 but then mine is a bare console image lol Nov 08 03:59:39 I will let you know what I find. Nov 08 04:00:12 card 0: Black [TI BeagleBone Black], device 0: HDMI nxp-hdmi-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 Nov 08 04:00:41 That is with nothing plugged in. Let plug in what I need and play alsamixer real quick. Nov 08 04:02:39 card 0: Black [TI BeagleBone Black], device 0: HDMI nxp-hdmi-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 Nov 08 04:03:03 ...that is with the device plugged in and the alsamixer updated and configured. Nov 08 04:04:05 ok .. alsamixer won't set your default alsa device Nov 08 04:04:23 now .. it depends whether the usb is going to override the on-board hdmi that you can see .. or not. Nov 08 04:04:35 Oh. Nov 08 04:04:49 The power LED shows on the USB device. Nov 08 04:04:59 otherwise, you will get the problem as you seee .. no audio from the usb .. and you'll probably find its out on the hdmi if you have it :) Nov 08 04:05:31 Dang it. So...I should get a micro-HDMI dongle? Nov 08 04:05:44 Well...micro-HDMI to USB? Nov 08 04:06:06 From the alsa docs .. http://alsa.opensrc.org/Hotplugging_USB_audio_devices_%28Howto%29 Nov 08 04:06:12 but that looks moderately horrible Nov 08 04:06:21 Awesome... Nov 08 04:06:29 I am going to go to the site later. Nov 08 04:06:34 I will read up. Nov 08 04:08:09 Hey...how did you know of the alsa.oprnsrc.org site? Nov 08 04:09:07 Anyway...let me undock this BBB. I will be back at Set_ later. Nov 08 04:09:29 google is a powerful tool :) Nov 08 04:09:40 this page is quite good .. but a bit complicated and lengthy .. https://hifiduino.wordpress.com/2014/03/27/beaglebone-black-navigating-the-audio-maze/ Nov 08 04:09:57 I have to see if the reason for it not downloading the Debian image is the chat I am in. Nov 08 04:10:03 Okay...I will be right back. Nov 08 04:10:06 k Nov 08 04:25:10 morning Nov 08 04:25:14 an, audio Nov 08 04:25:58 I recently added McASP's IOsets to my pins spreadsheet... they're really weird Nov 08 04:32:41 yo zmatt... got audio in your io thingy? Nov 08 04:32:51 not the sheet .. the other driver doo-dah Nov 08 05:22:32 sorry, briefly fell asleep again Nov 08 05:22:37 other driver doo-dah? Nov 08 05:42:34 * zmatt pokes veremit Nov 08 05:42:51 that io thingy driver .. damnt I need cofee .. Nov 08 05:43:06 interface code Nov 08 05:43:18 gawd I'm bein thick today Nov 08 05:45:08 * zmatt gropes around in the space of meaning Nov 08 05:45:22 you mean whether I have a header file for McASP ? Nov 08 05:46:48 * zmatt uses a straw to blow some caffeine powder into veremit's nose Nov 08 05:46:49 :P Nov 08 05:47:14 intravenous drip would be good right now I think Nov 08 05:49:03 caffeine is well-enough absorbed by the more usual routes Nov 08 05:50:08 (it has the benefit of actually being absorbed in the stomach already instead of having to wait till the upper intestine as most amines do) Nov 08 05:50:49 lol ok ok Nov 08 05:50:58 just workin on a boost threading headache :( Nov 08 05:51:17 boost... threading.... Nov 08 05:51:19 somehow there is a gotcha in a simple function called 'sleep' :( Nov 08 05:51:37 I don't think any amount of caffeine is going to help you with that Nov 08 05:51:41 but they were obviously in a transition period when this code was written .. into the Chronos lib Nov 08 05:51:49 * veremit grumbles Nov 08 05:52:19 but I'm truely no good at classes in c++ Nov 08 05:52:35 I'm not even sure if sleep() is thread-safe, portably Nov 08 05:52:45 hence I suspect no amount of caffeine will help me Nov 08 05:52:54 well .. I think this was the objective .. Nov 08 05:53:14 clearly there were some changes going on in v1.52 Nov 08 05:53:36 oh wait, you mean boost has a sleep function? (rather than the POSIX sleep function) Nov 08 05:53:45 well .. 1.5->1.52 .. I think it was all fixed by 1.53 .. but this build is mostly broken for upgrading Nov 08 05:53:47 zmatt.. yes Nov 08 05:53:56 then I don't know Nov 08 05:54:00 threads are evil anyway Nov 08 05:54:44 but you still haven't clarified the meaning of your mcasp-related inquiry... you left my last guess without confirmation Nov 08 05:55:09 http://www.boost.org/doc/libs/1_52_0/doc/html/thread/thread_management.html#thread.thread_management.thread.sleep Nov 08 05:55:14 yeah threading is a nightmare Nov 08 05:55:25 oh .. scratch that .. it wasn't important anyway lol Nov 08 05:56:12 its a linker error that's floored me .. just cannot figure out why Nov 08 05:56:19 the makefile -looks- right Nov 08 05:56:22 since yes I do have one, but it's covered in a layer of dust since I last used it on the C674x DSP present on the DM8148 Nov 08 05:57:15 does contain nice comments like Nov 08 05:57:20 // ... don't look at me like that, I didn't make this shit up ↑ Nov 08 05:58:53 bugger .. who's inadvertently triggering my ignores today :/ Nov 08 05:59:54 when? (and how do you know?) Nov 08 06:00:25 the two of us are the only ones who have spoken here since your conversaion with Set_ Nov 08 06:00:43 oh good :p Nov 08 06:02:49 also you can't just say "scratch that" ... making an unclear inquiry and then revoking it leaves unresolved tension Nov 08 06:02:53 :P Nov 08 06:03:18 the linker errors are probably due to the universe punishing you for that Nov 08 06:04:21 the universe is a cruel place .. and I Just Did [scratch that] :p Nov 08 06:05:22 to return to that topic, then ... we were talking about an interface you'd created to am335x peripherals that linked the DT and not /dev/mem .. mapping registers if I recall Nov 08 06:05:48 my brain will not recall the missing chunks :( Nov 08 06:05:56 /dev/mem corruption I say Nov 08 06:05:57 well I created two things Nov 08 06:06:15 which you may be confusing, and in fact need to be merged (but this hasn't been done yet) Nov 08 06:07:56 I made libsubarctic that lets me use baremetal headers in userspace by using /dev/mem to mmap() the peripherals used in the application during early initialization before main is called, thus allowing exactly the same code to work on baremetal and in userspace linux (as long as no irqs are involved) Nov 08 06:09:21 and I use uio to make peripherals show up as shiny /dev/uio/* devices that avoid the need for /dev/mem (hence root perms) and also let you receive irqs in userspace Nov 08 06:10:11 yes, the uio .. it has a 'u' in it damnit Nov 08 06:10:22 (also makes the kernel automagically enable the module clock for you when you open the device etc) Nov 08 06:10:39 the libsubarctic I didn't know .. and sounds cool too Nov 08 06:11:51 uhoh .. is it a limit on my gcc .. noo.. can't be. Nov 08 06:12:13 libsubarctic is used in https://github.com/dutchanddutch/jbang Nov 08 06:12:24 though with a limited set of headers Nov 08 06:12:47 ok not gcc .. c++11 was gcc-4.7 Nov 08 06:13:37 (jbang needs at least 4.9, or possibly I may already depends on 5 ... I never test with 4.9 anymore, don't have it installed even) Nov 08 06:13:51 *it may already depend Nov 08 06:15:02 for c++ you generally don't want to use an old gcc version, c++ has been on the move pretty fast and a lot of stuff introduced that's actually _useful_ Nov 08 06:16:39 especially metaprogramming has been made a lot saner with 'constexpr' letting you write stuff to be evaluated at compile-time in plain c++ instead of having to abuse the template engine as some sort of half-baked dialect of prolog as was previously done :P Nov 08 06:18:39 gcc 4.7 did not have full c++11 support Nov 08 06:19:26 you need 4.8.1 for that Nov 08 06:24:00 especially a lot of concurrency-related c++11 stuff is still missing in 4.7 Nov 08 06:24:32 didn't your problems involve threading? :P Nov 08 06:30:19 * zmatt pokes veremit Nov 08 06:30:56 just don't use ancient compilers.... I think 4.7 was released shortly after God said Let There Be Light or something Nov 08 06:31:39 4.7 seemed new and spiffy to me at one time <__< Nov 08 06:31:40 >______> Nov 08 06:32:00 hehe Nov 08 06:32:02 But it was frustrating because you'd see some shiny C++11 feature somewhere and it wouldn't work Nov 08 06:32:15 yeah same with c++14 and 4.9 Nov 08 06:32:19 GRRr wrong bloody makefile :( Nov 08 06:32:47 4.8.4 is going here Nov 08 06:32:50 gcc that is Nov 08 06:33:05 If c++ continues to evolve well maybe someday we won't ever need a Boost library Nov 08 06:33:23 j/k Nov 08 06:33:46 It completely exists to push the limits of sane things you should do with C++ :( Nov 08 06:34:16 c++ is still a depraved... vile... language, and I really wish for a better alternative Nov 08 06:34:28 I have a bit of dislike for Boost, but mainly because I think their documentation has a lot of breadth but very little depth. Nov 08 06:34:30 but for now it seems I'm stuck with it Nov 08 06:35:17 I was trying to figure out how to use the Spirit parsing library, among other things. Their tutorials explain pretty well how to use it if you have the *exact same use cases that they thought of in the tutorial* Nov 08 06:35:22 I only once briefly looked at boost to avoid writing my own invasive containers, but the lib was too verbose and messy and it ended up being simpler just implementing what I actually needed Nov 08 06:35:24 Otherwise it seemed to me like you were out of luck Nov 08 06:35:57 And I wasn't about to wade through the miles of template code to figure out what I was doing wrong in my use cases Nov 08 06:37:01 And I didn't just give up in an afternoon. It took 3 or 4 weeks for me to say the hell with it. Nov 08 06:37:35 And... rolled my own like you did XD Nov 08 06:37:55 with metaprogramming moving more from templates to plain c++, perhaps some day we'll actually be able interact with the compiler as a service at compile-time Nov 08 06:38:06 that would be nice Nov 08 06:38:19 Totally, yeah Nov 08 06:38:24 Or even run time, in some cases Nov 08 06:38:34 that pulls in some heavy dependencies though Nov 08 06:38:40 (with the understanding that you'd take a hefty performance hit) Nov 08 06:39:03 Hello... Nov 08 06:39:30 How are people...heh? Nov 08 06:39:32 HELL YEAH Nov 08 06:39:37 Top level makefile fail .. Nov 08 06:39:43 feckin qt apps Nov 08 06:40:08 I got nowhere so far. Nov 08 06:40:14 GrumpeiYokoi: it will help a lot of you don't have to parse at runtime, but e.g. hand over a lambda and get it to constant-fold the captured values and reoptimize Nov 08 06:40:41 GrumpeiYokoi: but you're still looking at pulling in a BIG library Nov 08 06:40:46 I did research the idea. I got the idea that USB is not liked in alsamixer. Nov 08 06:40:51 Certainly Nov 08 06:41:00 Set_: should work Nov 08 06:41:02 You wouldn't want to do something like willy nilly Nov 08 06:41:14 GrumpeiYokoi: C++ parser is horror though Nov 08 06:41:41 zmatt .. we had a problem with getting alsa to default to a usb sound device Nov 08 06:41:42 Yeah, probably better off embedding Python I guess Nov 08 06:42:12 Um...is upgrading to Debian while online frowned upon or can I upgrade to Debian while plugged in via USB? Nov 08 06:42:15 GrumpeiYokoi: well then you're in a different application domain than C++ though Nov 08 06:42:37 Set_ .. define "upgrading to debian" Nov 08 06:42:53 I am just flashing via MicroSD to my BBB. Nov 08 06:43:31 It is like my eighth write and deploy. That damn system does not like my BBB. Nov 08 06:43:52 GrumpeiYokoi: like, my baremetal tests are often just a few KB of compiled code Nov 08 06:44:05 The write is successful. I follow the "hold down the boot" button instruction. Nov 08 06:44:09 Okay then Lua XD Nov 08 06:44:12 Yes...Boo! Nov 08 06:44:18 That certainly compiles down much smaller than Python Nov 08 06:44:22 GrumpeiYokoi: and my baremetal codebase currently does not define any heap (any direct or indirect calls to malloc() or operator new would result in a link error) Nov 08 06:44:54 you clearly have a much different set of requirements than what I normally program under Nov 08 06:44:56 not sure flashing emmc whilst on usb power is optimal .. Nov 08 06:45:04 You have a kernel in there right zmatt? Nov 08 06:45:24 Yep...I know now. I got it powered via 5V now. Nov 08 06:45:40 veremit: its max consumption is ~100 mA Nov 08 06:45:41 *there, right, ... Nov 08 06:45:41 I have to wait about 45 minutes again (again, again, again). Yikes. Nov 08 06:46:00 45 minutes? to flash a system? o.O Nov 08 06:46:10 no... Nov 08 06:46:16 I got the oldest, maybe the second one. Nov 08 06:46:29 It says the number two on it. Nov 08 06:46:30 2gb version Nov 08 06:46:31 should be fine Nov 08 06:46:43 I guess. Nov 08 06:46:44 I think some of the old docs said it took 45 minutes Nov 08 06:46:45 GrumpeiYokoi: nothing worthy of that name Nov 08 06:46:46 which revision?? should be on a sticker on the side ... Nov 08 06:47:00 zmatt: hardcore Nov 08 06:47:01 GrumpeiYokoi: just irq dispatching Nov 08 06:47:04 It is the oldest. Nov 08 06:47:13 I think it was A. Nov 08 06:47:21 Show me how you do that sometime Nov 08 06:47:42 I've flashed emmc numerous times and I don't think it ever really took that long Nov 08 06:47:42 Oh...I tried to get an e-mail server running. Nov 08 06:47:46 Maybe 10 to 20 minutes Nov 08 06:47:57 On the BBB. Nov 08 06:48:14 I got that script and a bunch of seconds later...nothing. Nov 08 06:48:17 No e-mail. Boo! Nov 08 06:48:18 Don't quote me on that. Usually I'd put a flasher image in, go get some coffee, do some emails, then check back on it at some point later Nov 08 06:48:25 Sometimes the system would crash though Nov 08 06:48:35 Yikes. Nov 08 06:48:36 So maybe factoring in the crashes when writing it's 45 minutes? Nov 08 06:48:41 if I reflash I do so using BBBlfs Nov 08 06:49:48 My flash is still running. Nov 08 06:49:57 It has been about 20 minutes. Nov 08 06:50:01 also excellent for recovery, especially since I discovered you can easily "enter" the system using systemd-nspawn (or even just chroot though you'll want to mount /proc and such) Nov 08 06:50:45 just need to install qemu-user-static and copy /usr/bin/qemu-arm-static to usr/bin of the target fs Nov 08 06:51:04 binfmt will do the rest for you Nov 08 06:52:08 Um...I can just flash the eMMC with a new image without updating past images right? Nov 08 06:52:30 Like...I can skip Angstrom.xxx to go to Debian, right? Nov 08 06:52:35 It compltely overwrites the eMMC Nov 08 06:52:39 afaik Nov 08 06:52:45 Yep. Nov 08 06:52:52 That is the idea. Nov 08 06:52:57 So it would be irrelevant Nov 08 06:52:59 So yes Nov 08 06:53:04 It has not worked. Nov 08 06:53:19 Those lights are still blinking. Nov 08 06:53:27 In what fashion are they blinking? Nov 08 06:53:44 Heart rate pulses or something like that. Nov 08 06:53:56 do you have a serial debug cable? Nov 08 06:54:01 Yep. Nov 08 06:54:02 The most recent flasher image I used when it was running scrolled the LEDs side to side Nov 08 06:54:11 Hmmm. Nov 08 06:54:12 the flashing process will complete once all are on/off or ... That... Nov 08 06:54:21 like, 1, 2, 3, 4, 3, 2, 1 (repeat) Nov 08 06:54:32 That seemed different from the previous ones, but I'm not sure Nov 08 06:54:37 I like flashing over bbblfs :D Nov 08 06:54:40 And all the lights were off after it was complete Nov 08 06:54:49 I think they are supposedly supposed to all be on. Nov 08 06:54:54 Dang it. Nov 08 06:54:59 I will just wai.t Nov 08 06:55:00 GrumpeiYokoi: btw, I once made a really really trivial irq-driven example in pure assembly -> https://e2e.ti.com/support/arm/sitara_arm/f/791/p/360758/1655101#1655101 Nov 08 06:55:03 I think the old images did that Set_ Nov 08 06:55:13 oh. Nov 08 06:55:51 Dang it man. I am freekin' out over this new image. Nov 08 06:56:01 Can you e-mail yourself with your BBB? Nov 08 06:56:15 in nano? Nov 08 06:56:18 I'm just telling you what the July 2015 debian flasher image did when i was using it recently Nov 08 06:56:18 Hhaahah. Nov 08 06:56:21 GrumpeiYokoi: if you use the old makefile that's still included (mv old/* .) it will also build an MLO you can put on an sd card to boot from Nov 08 06:56:26 Okay. Nov 08 06:56:55 zmatt: As an SNES enthusiast, I've been meaning to look at that BeagleSNES project Nov 08 06:57:03 I am a new person in the Linux era, i.e. I know you know. Nov 08 06:57:06 Cool. Nov 08 06:57:21 I was going to look at whether it was a custom baremetal-ish OS Nov 08 06:57:30 But mainly I work with BBBs at work Nov 08 06:57:42 I have a few of the older ones they just let me have for home though Nov 08 06:58:08 Cool...they are nice when trying out new software and making things stop and start. Nov 08 06:58:10 GrumpeiYokoi: the demo.bin generated (by either old or simplified new Makefile) is for peripheral booting: I normally have ROM netboot the image Nov 08 06:58:11 I *LOVE* how the official BBB updating guide is from 2013 .. angstrom .. and completely irrelevant Nov 08 06:58:18 Set_: I would say if you're seeing the double heart beat signature then it is likely not flashing the eMMC Nov 08 06:58:25 http://elinux.org/Beagleboard:Updating_The_Software .. its a classic Nov 08 06:58:41 Yea...you are probably right. Nov 08 06:58:59 Which usually indicates you didn't hold the boot button down properly Nov 08 06:59:14 I wonder though...what did I do wrong. The .img file was written correctly. Nov 08 06:59:16 I've found that it is sometimes a finnicky button and you have to try a few times to get it to notice you were holding it down Nov 08 06:59:26 Oh, i thought you said it wasn't written correctly Nov 08 06:59:26 from http://beagleboard.org/latest-images .. as edited last by jkdridner March 2015 .. he REALLY needs to fix that shit Nov 08 06:59:29 if so, disregard my ramblings Nov 08 06:59:32 Okay... Nov 08 06:59:35 I will try that. Nov 08 06:59:42 No...it was. Nov 08 07:00:00 you can also a resistor between P8.43 and ground Nov 08 07:00:03 *also put Nov 08 07:00:13 equivalent to holding the boot button Nov 08 07:00:28 Augh... Nov 08 07:00:35 I'd rather have a gun I could just shoot at the beaglebone that brainwashes it Nov 08 07:00:43 GrumpeiYokoi +1 Nov 08 07:00:50 I should have more control over it. Nov 08 07:00:57 emmc 'gun' I like it Nov 08 07:01:03 that Zaps it Nov 08 07:01:04 :D Nov 08 07:01:09 Though I guess if it netboots that would be feasible with a local wifi network 'gun' Nov 08 07:01:17 *shrug* Nov 08 07:01:21 you could make a reflashing station Nov 08 07:01:34 You would be rich. Nov 08 07:01:34 zmatt .. with bbvlfs :D Nov 08 07:01:39 Yep. Nov 08 07:01:44 veremit: no, its expansion headers Nov 08 07:02:02 how would it ... oh I suppose sdio Nov 08 07:02:02 Now I have to look up BBBlfs b/c I'm clearly behind the ball Nov 08 07:02:10 power the BBB via P9.5 + P9.6, keep nRESET tied low Nov 08 07:02:25 reprogram eMMC directly via the pins on P8 Nov 08 07:02:35 emmc pins are on p8 .. eww eww Nov 08 07:02:47 well .. erm .. I suppose so .. since they can be disabled. Nov 08 07:02:49 Just wondering, does any one know what happened to all the install-me.sh scripts on RCN's site? Nov 08 07:03:07 GrumpeiYokoi .. probably hiding there still Nov 08 07:03:15 I looked extensively and couldn't find any of them for any kernel version Nov 08 07:03:18 10 more minutes. Nov 08 07:03:25 Then...I pull the plug. Nov 08 07:03:38 possibly deprecated by 'apt-get install linux-image-blah' Nov 08 07:03:39 The scripts in /opt are borked because of it Nov 08 07:03:48 veremit: Yeah, ain't complaining Nov 08 07:03:58 They're just conspicuously missing Nov 08 07:04:07 veremit: you didn't realize the emmc pins are available via P8 ? Nov 08 07:04:13 zmatt.. no. Nov 08 07:04:13 From the starting point of when I was trying to learn how to migrate kernel versions they were still visible Nov 08 07:04:30 GrumpeiYokoi .. ask RN himself monday if he's here .. Nov 08 07:04:32 zmatt: I did, I bricked a BBB that way on accident Nov 08 07:04:54 zmatt.. GrumpeiYokoi .. I would have imagined not for this precise reason :D Nov 08 07:04:54 That is why I am being so careful. Nov 08 07:05:03 but .. afaik .. its not unrecoverable Nov 08 07:05:18 Well, I meant to say temp-bricked Nov 08 07:05:34 I am not desoldering anything. Nov 08 07:05:44 you never need to desolder anything Nov 08 07:05:47 But it clearly messed up the image at the time. Nov 08 07:05:48 Oh. Nov 08 07:05:49 zmatt.. what method would you store the new image then? and to use to program the emmc if not through the am335x ? Nov 08 07:06:13 If you brick it, why is it not forever bricked? Nov 08 07:06:21 Heh? Nov 08 07:06:31 By bricked I meant that the emmc image was corrupted Nov 08 07:06:31 Set_ .. you can only brick it by frying the processor or PMIC Nov 08 07:06:33 that's all Nov 08 07:06:37 Set_: you can't hard-brick the BBB other than by destroying a hardware component Nov 08 07:06:48 We have permanently killed one, but that was another adventure Nov 08 07:06:55 like .. magic smoke destroy Nov 08 07:07:01 Yep. I figured if one thing went Poof, the whole thing stopped. Nov 08 07:07:11 yeah we have one with the deaded Power LED Blip of Doom Nov 08 07:07:22 *dreaded Nov 08 07:07:32 Two minutes! Nov 08 07:07:37 Hhahaha. Nov 08 07:08:01 Those books I have been reading on Python are difficult. Nov 08 07:08:03 Well on this one all the LEDs were all dead no matter what I did Nov 08 07:08:12 Luckily, BBB accepts it and likes it. Nov 08 07:08:41 Four spaces here and this goes in that...sheesh. Nov 08 07:08:58 I wonder if I would have found Python hard as a first language Nov 08 07:09:07 What did you learn first? Nov 08 07:09:10 It took me forever to grasp pointers with C/C++ Nov 08 07:09:14 Augh. Nov 08 07:09:16 C/C++ Nov 08 07:09:35 I think the explanations sucked though in the books I read though Nov 08 07:09:36 Yep. I got it. I like Python because it is "easier." Nov 08 07:09:49 Sometimes concrete experience trumps abstract explanations Nov 08 07:10:10 When i started learning assembly pointers suddenly clicked a lot more Nov 08 07:10:11 veremit: one idea would be a CAPE-like board with a usb-to-SD/MMC chip... and something to affix is well to your desk so you can easily pull the BBB off again Nov 08 07:10:12 Same here. I have had a very difficult time finding books on hardware and Python that are lengthy. Nov 08 07:10:52 They give a short recommendation on ideas. Nov 08 07:11:35 I would like to test out hardware with my notions. I am finding where to start as a difficulty. Nov 08 07:11:59 zmatt .. with a convenient lever to prise it off ;) Nov 08 07:12:00 veremit: or alternatively have it "mate" two BBBs... one to be reflashed and the other to reflash it (mmc 2 is still available via the cape headers with full 8-bit data) Nov 08 07:12:21 Should I fire a rocket that has GPS or just sit and cry with Python? Nov 08 07:12:24 zmatt .. NOT with back-to-back headers ;) lol Nov 08 07:12:30 no, lol Nov 08 07:12:47 you'd need a PCB .. but I s'pose thats feasible Nov 08 07:12:54 Set_: The Python modules are almost certainly wrapped C code, so I'd blame whoever wrote the C code Nov 08 07:12:59 though you could make it look like that if you can find surface-mount versions of those big headers, but dunno how long before they'd break odd Nov 08 07:13:02 *off Nov 08 07:13:13 zmatt .. pretty good if they'r properly soldered Nov 08 07:13:25 back-to-back to avoid ethernet port nuisance Nov 08 07:13:27 I found Adafruit's Python IO library for the BBB to be pretty decent Nov 08 07:13:43 Might not be best for all use cases, but certainly was fun to dick around with Nov 08 07:13:52 Yea...I tried it with my Debian image. I got nowhere. Nov 08 07:14:12 I was goofing with it and could not get my e-mail to send. Nov 08 07:14:23 I checked my code and nothing. Nov 08 07:15:02 it was something like "python email_this.py" Nov 08 07:15:03 I don't know much of anything about coding email servers / clients, so good luck with that :0 Nov 08 07:15:16 I am just learning. Nov 08 07:15:26 python email takes an AGE to send Nov 08 07:15:30 It seems fun. I am not good at it. Nov 08 07:15:35 I could get it last year. Nov 08 07:15:36 ha. Nov 08 07:15:50 like .. nearly a minutes Nov 08 07:15:54 veremit: well then you could make them line up, but the problem is the ethernet connectors would end up snogging each other Nov 08 07:15:55 My date is off. It will not send it. Nov 08 07:15:55 minute* Nov 08 07:15:58 D: Nov 08 07:16:06 ntpdate Nov 08 07:16:16 systemd-timesyncd Nov 08 07:16:20 I tried. my ntpdate will not work correctly. Nov 08 07:16:22 antispam measures are good .. keeps the eejuts out/off Nov 08 07:16:29 you need network though Nov 08 07:16:33 The debian images seem to be good about setting time Nov 08 07:16:39 ah yeah .. usb net should be fine Nov 08 07:16:49 However, they don't set timezone Nov 08 07:16:55 you'll have to set that yourself Nov 08 07:17:00 duh Nov 08 07:17:24 no need .. UTC :P lol Nov 08 07:17:39 I got that Adafruit_BBIO package and wrote the script. I followed instruction and learned. Nov 08 07:17:55 Don't know why the date be off unless it was off by one day Nov 08 07:17:55 Then...I remembered. Date! Nov 08 07:18:07 My states it is 2014. Nov 08 07:18:08 (due to timezone) Nov 08 07:18:09 veremit: anyhow, I marked the eMMC pins with eye-penetrating purple on the P8 tab of my pins spreadsheet ( https://goo.gl/Jkcg0w ) for tha reason Nov 08 07:18:14 *that Nov 08 07:18:19 Huh... well that's new on me Nov 08 07:18:36 The Angstrom images would always read like 1999 or 2000, I can't remember which Nov 08 07:18:38 Yep...I am working on it. Nov 08 07:18:40 zmatt: lol Nov 08 07:18:42 Yep. Nov 08 07:18:56 '99 Nov 08 07:19:04 no rtc on the BBB Nov 08 07:19:06 nor the Pi Nov 08 07:19:08 veremit: look at the insane IOSets for McASP btw o.O (IOSets tab) Nov 08 07:19:09 bloody shite Nov 08 07:19:15 well, there's an RTC Nov 08 07:19:21 there's only 2 mcasp's I thought? Nov 08 07:19:25 there are Nov 08 07:19:38 mcasp 0 and 1 Nov 08 07:19:45 Okay...I am done for now. I will check back later. I need to test out to see if my image "done wroted." Nov 08 07:19:45 and how many processor pins? so many choices! :P lol Nov 08 07:19:57 Later for now. Nov 08 07:20:04 Set_.. reset if (via switch) and see if the web page omes up Nov 08 07:20:06 simple Nov 08 07:20:08 Lata Nov 08 07:20:32 veremit: based on a quick glance at the table it seems up to 4 mux options per pin Nov 08 07:20:34 you can do 98% whilst connected over usb Nov 08 07:20:49 100 if you bypass the uSD step :D Nov 08 07:21:01 veremit: but you're officially only allowed to use them in specific combinations... that's what the IOSets are Nov 08 07:21:17 zmatt .. of course Nov 08 07:21:23 although I've already caught the IOSets containing pure bullshit, so... Nov 08 07:21:29 lol Nov 08 07:22:02 like, they defined IOSets for UARTs... I actually started typing those in before I realized all those pins are asynchronous and their relative timing is absolutely irrelevant Nov 08 07:22:54 so bodging them around won't matter .. and Will Work?! Nov 08 07:23:11 iosets have absolutely no meaning for a uart Nov 08 07:23:22 it depends I gues whether RTS/CTS timing is sufficiently in-margin Nov 08 07:24:49 iirc the uart can take several characters to react to CTS anyhow Nov 08 07:25:16 you set your thresholds appropriately Nov 08 07:25:47 violating an ioset gets you misalignment of signals on the order of nanoseconds at most afaik Nov 08 07:27:00 fair enuf Nov 08 07:27:54 given that they didn't document them (my spreadsheet is the first public documentation) they're probably violated all the time by people :P Nov 08 07:28:06 (you're expected to use their lovely pinmux tool) Nov 08 07:28:30 ah that thaing Nov 08 07:28:41 doens't run on liniux does it? Nov 08 07:28:53 no, though there's now also a cloud-based version Nov 08 07:29:34 so you either need windows or setup a TI account Nov 08 07:31:33 or look at my spreadsheet, though I haven't entered all ioset data yet Nov 08 07:32:57 of course you should also look at the application and ask whether it matters... e.g. the iosets for pwm outputs only matter if the A/B outputs need to be phase-synchronized at high frequency Nov 08 07:33:28 which is relevant for a few applications, but not in general Nov 08 07:34:15 more annoyingly they don't define any iosets that span multiple pwmss instances, even though they're designed to allow running them in sync Nov 08 07:37:04 and I still don't know what the "micro-edge positioning" step size is for the pwm outputs... it's ~200 ps on the omap-L13x, but those are produced on 65nm process; it may very well be less than that on the 45nm am335x Nov 08 07:39:45 "micro edge-positioning" I mean Nov 08 07:41:23 GrumpeiYokoi: note btw that the baremetal example I linked to is really bare... my main codebase does include things like MMU/cache setup and such of course Nov 08 07:42:25 I still need to convince employer to let me release an example based on it Nov 08 07:42:43 there's really a lack of decent baremetal examples for am335x Nov 08 07:43:18 Yeah, I've really had to gloss over the low level stuff for lack of easily consumable information Nov 08 07:43:34 even though it's not that hard and not much code, but unless you know the right things to do it's hard to have any idea where to even begin Nov 08 07:43:49 There is a huge manual for the BBB and the aam35x, but it is freaking.... huge Nov 08 07:44:14 and it doesn't include the info you need for initialization Nov 08 07:44:21 No? That's a shame Nov 08 07:44:44 you also need the ARM Architecture v7 Reference Manual Nov 08 07:44:46 Like, even the svg file in the topic is more than I knew yesterday Nov 08 07:44:49 and the Cortex-A8 TRM Nov 08 07:45:02 the svg file in the topic? Nov 08 07:45:13 http://ahsoftware.de/Beaglebone_Black_Boot_explained.svg Nov 08 07:45:34 I had vague, wobbly notions of what was going on, but it demystified them Nov 08 07:45:46 GrumpeiYokoi: it's not quite right though Nov 08 07:46:01 How so? Nov 08 07:47:02 The only experience I've had that would seem to contradict this was when we had a customer that wanted to use the armhf Angstrom builds Nov 08 07:47:07 1. MLO is the name given to a memory boot image, which on GP am335x devices is just a naked code image with a two-word header prepended Nov 08 07:47:27 USB and UART are peripheral booting and don't use MLO but a naked image Nov 08 07:47:30 I found that if the non-armhf (soft float abi or whatever) were present on eMMC, and I tried to boot of the SD Card, I would almost always crash Nov 08 07:47:47 never fully understood why, but I just renamed the MLO on the eMMC to something else and it seemed to work Nov 08 07:47:53 2. it completely skips over raw MMC booting Nov 08 07:48:05 which is used by all current eMMC images Nov 08 07:48:21 there's no boot partition anymore, no MLO file Nov 08 07:48:42 Since debian, you mean? Nov 08 07:48:50 dunno since when exactly Nov 08 07:49:00 I think debian may have used a boot partition for a while also Nov 08 07:49:16 I had a notion that the the two partitions were one, but again it was a fuzzy feeling Nov 08 07:50:20 for eMMC (not SD) ROM looks for a specific header at offset i*0x20000 for i=0..3 Nov 08 07:50:59 only if not found it'll proceed to look for a FAT partition same as on SD Nov 08 07:51:31 however if the special header is present, then it expects the MLO to be located at the next sector and loads it from there Nov 08 07:52:05 This is more complicated than my relationship status Nov 08 07:52:12 in case of the MLO being the u-boot SPL, it'll proceed to load the full u-boot.img from a fixed offset from eMMC Nov 08 07:52:19 all this is outside the partition table Nov 08 07:53:00 dd if=/dev/mmcblk0 skip=$(( 0x20000 / 512 )) count=1 | hexdump -C Nov 08 07:53:56 if you see something involving CHSETTINGS, that's the magic header Nov 08 07:55:33 GrumpeiYokoi: I also think the diagram make it look more complicated than it is Nov 08 07:56:10 the notion of trying a list of boot devices in order isn't exactly unusual, every PC does that too Nov 08 07:56:17 hmm not on mine .. just a bunch of zeros here .. Nov 08 07:56:24 Yeah, I was confused by it at first, had the same reaction Nov 08 07:57:14 GrumpeiYokoi: on the am335x the list of boot devices is determined by strapping inputs sampled at power-on-reset Nov 08 07:57:37 you can actually see the row of resistors for that on the PCB Nov 08 07:58:14 16 resistors on a row, some of them not-placed, and on the other side of the PCB is a complementary row of resistors (i.e. if placed on one side it's not-placed on the other side) Nov 08 07:58:31 pull-up vs pull-down Nov 08 07:58:39 zmatt .. http://pastebin.com/0XVSfgDu Nov 08 07:58:42 Hey... Nov 08 07:58:47 That damn thing. Nov 08 07:58:50 No go. Nov 08 07:59:05 That's vague Nov 08 07:59:17 I just tried to clone Angstrom's new version and it will not allow me. Nov 08 07:59:25 Set_... you're not doing some part of the process right Nov 08 07:59:26 It says and I quote, "Fatal." Nov 08 07:59:34 I know. Nov 08 07:59:37 I quit. Nov 08 07:59:40 or worse still .. several parts :P Nov 08 07:59:42 Dang it...I hate to say it. Nov 08 07:59:44 veremit: then you still have a FAT boot partition Nov 08 07:59:50 just use the debian image? Nov 08 07:59:59 unless you want to build angstrom from scratch Nov 08 08:00:00 zmat .. Nov 08 08:00:00 I did over and over. Nov 08 08:00:07 then get the new thing for it Nov 08 08:00:10 mmcblk0 Nov 08 08:00:10 ├─mmcblk0p1 vfat boot /boot/uboot Nov 08 08:00:10 └─mmcblk0p2 ext4 rootfs / Nov 08 08:00:11 I want to build Angstrom from scratch. Nov 08 08:00:14 so I do ! Nov 08 08:00:20 ok, sec, let me find the tool Nov 08 08:00:37 ... Angstrom has a new version out? Nov 08 08:00:37 Cool. Nov 08 08:00:39 veremit: i.e. your filesystem is ancient (or based on something ancient and repeatedly upgraded) Nov 08 08:00:43 Yea...this year. Nov 08 08:00:52 zmatt .. probably a year or two old now Nov 08 08:01:05 veremit: which is the world of BBB qualifies as ancient Nov 08 08:01:07 [ 7:59am] root@beagleblack ~ # cat /etc/dogtag Nov 08 08:01:07 cat: /etc/dogtag: No such file or directory Nov 08 08:01:10 yeah that Nov 08 08:01:25 it was, ofc a manual build from RN's web pages Nov 08 08:01:30 none of this 'official' bullshit :D Nov 08 08:01:35 I checked mine. It says some date in 2014. Nov 08 08:01:37 its a 3.12 kernel or 3.13 iirc .. Nov 08 08:01:50 [ 8:01am] root@beagleblack ~ # uname -a Nov 08 08:01:50 Linux beagleblack 3.13.6-bone7.2 #1 SMP Fri Mar 21 03:59:54 GMT 2014 armv7l GNU/Linux Nov 08 08:01:55 there ye go :D Nov 08 08:01:57 Set_: try with this https://github.com/Angstrom-distribution/angstrom-manifest/tree/angstrom-v2015.06-yocto1.8 Nov 08 08:02:02 a customer provided me with an armhf version sometime in 2014, but it was busted Nov 08 08:02:07 I got A5C for my BBB. Nov 08 08:02:09 Okay. Nov 08 08:02:13 veremit: ... why? Nov 08 08:02:14 opkg couldn't locate anything, it as missing cloud9 and all the webserver stuff Nov 08 08:02:21 So I assume they had built it themselves Nov 08 08:02:25 I only noticed that they were Yocto 1.7 comp. Nov 08 08:02:30 zmatt .. cos I wasn't f*ng around with angstrom at the time lol Nov 08 08:02:53 veremit: but why on earth haven't you upgraded since then? :P Nov 08 08:02:54 tbr...thank you. Nov 08 08:03:06 zmatt .. cos its running Essential Servics .. Nov 08 08:03:12 I bought another to 'play' with ;P Nov 08 08:03:37 oh well Nov 08 08:03:41 it has a testing lxqt on it Nov 08 08:03:53 but I need a uHDMI to see it .. then I'll play :) Nov 08 08:04:03 why did you run my command, as root, on a BBB running "essential services" instead of your play-BBB ? Nov 08 08:04:04 stupid bloody connector Nov 08 08:04:15 cos I got open ssh on this one :D Nov 08 08:04:18 lol Nov 08 08:04:32 for ''maintenance'' lol Nov 08 08:04:34 and for poking Nov 08 08:05:03 I actually configured our BBBs (and servers) with timeouts on idle root shells Nov 08 08:05:17 yeah I got another debian box running wheez I need to migrate to jessie Nov 08 08:05:29 sensible plan tbh Nov 08 08:05:32 do I need to clone it, "git clone git://" and then proceed with the address? Nov 08 08:05:48 * zmatt uses stretch on production hardware and sid on personal hardware Nov 08 08:06:14 Set_: the readme on that page provides #exactsteps Nov 08 08:06:24 Okay...I will go to it again. Nov 08 08:06:35 zmatt .. would never use debian for any production system lol Nov 08 08:06:37 I do not know how you found that. I looked at git and found a 2014 version. Nov 08 08:06:46 GrumpeiYokoi: why Vague ? Nov 08 08:07:00 veremit: habit, I'm used to it, know where to find shit Nov 08 08:07:07 veremit: I don't actually *like* it Nov 08 08:07:16 zmatt .. its reasonably simple .. its the same reason I use it on arm Nov 08 08:07:27 Set_: I was pointed at it by one of the Ångström maintainers, when I asked nicely Nov 08 08:07:32 zmatt: Anytime someone says "It didn't work" or "It's broken". That isn't vague to you? Nov 08 08:07:35 Cool! Nov 08 08:07:43 I'll live with it bein out-of-date until I get gentoo cross-compiling nailed properly Nov 08 08:07:46 also there were g+ posts and such on the topic Nov 08 08:07:50 GrumpeiYokoi: ah I thought it was a reply to the boot stuff, sorry Nov 08 08:08:00 ah Nov 08 08:08:13 Oh....Grump. You are right. The boot did not work. Nov 08 08:08:17 ctng ftw .. just gotta roll a couple of toolchains Nov 08 08:08:21 I am in Angstrom still. Nov 08 08:08:30 GrumpeiYokoi: the sysboot pins are also known as lcd_data0-15 btw Nov 08 08:08:39 GrumpeiYokoi: so you can change the boot mode using resistors on P8 Nov 08 08:08:45 Is that in the TRM? Nov 08 08:08:46 zmatt .. I always loved that .. :) Nov 08 08:08:52 @ zmatt Nov 08 08:08:54 that's how I select netbooting for my baremetal stuff Nov 08 08:09:03 it is, but my spreadsheet is probably clearer Nov 08 08:09:07 Here goes nothing. See you all soon (again and again)... Nov 08 08:09:30 zmatt: Do you baremetal netboot over wifi? Nov 08 08:09:32 *shot* Nov 08 08:09:37 ethernet :P Nov 08 08:09:42 actually, yes over wifi Nov 08 08:09:47 my laptop that is Nov 08 08:09:51 We've had very spotty luck working with wifi on BBB Nov 08 08:09:53 eww wifi netboot :/ Nov 08 08:10:12 Maybe the newer kernels will be the bomb diggity Nov 08 08:10:31 brb Nov 08 08:10:33 GrumpeiYokoi: no wifi on the BBB, note that I'm talking about having *rom* netboot a baremetal image Nov 08 08:10:39 no linux kernel involved at any point Nov 08 08:10:46 first I got fatal: "git" does not exist. Nov 08 08:10:49 But I guess it's kind of a linux problem than a BBB problem Nov 08 08:10:54 Dang it. Nov 08 08:10:58 This one is bunk. Nov 08 08:11:01 GrumpeiYokoi: the BBB doesn't have wifi Nov 08 08:11:02 *more than a BBB problem Nov 08 08:11:02 Set_ DON'T git on your BBB . Nov 08 08:11:08 Okay. Nov 08 08:11:14 veremit: I git all the time on my BBB Nov 08 08:11:15 :P Nov 08 08:11:24 A lot of the same wifi dongles that failed on the BBB also failed on desktop Ubuntu Nov 08 08:11:34 GrumpeiYokoi: you're talking about usb wifi dongles Nov 08 08:11:38 I svn on my BBB <__< Nov 08 08:11:40 Does that count Nov 08 08:11:45 if you want to build Ångström from scratch you have to do it on a rather beefy machine Nov 08 08:11:45 go wash your mouth Nov 08 08:11:46 zmatt: Of course, what did you think i meant? Nov 08 08:11:48 with lots of storage Nov 08 08:11:54 GrumpeiYokoi: it wasn't a question Nov 08 08:12:03 GrumpeiYokoi: it was more to put emphasis on the usb part Nov 08 08:12:13 Noooooo! Nov 08 08:12:15 usb sucks donkey balls, both in general and moreso on the am335x Nov 08 08:12:30 Donkey! Nov 08 08:12:50 I need something with "beef." Nov 08 08:12:51 zmatt: [03:09] GrumpeiYokoi *shot* Nov 08 08:13:08 I was being silly Nov 08 08:13:11 Like...an old Dell? Nov 08 08:13:12 ok :) Nov 08 08:13:43 GrumpeiYokoi: anyhow, the Boot tab of my pins spreadsheet shows the meaning of the 16 sysboot pins Nov 08 08:14:05 do avoid any "nand" boot device, and especially avoid any "xip" boot device Nov 08 08:14:22 (I don't know anymore why, but I'm pretty sure that's why I marked them yellow and red respectively in my spreadsheet) Nov 08 08:14:25 Set_: dell made about a brezillion different machines. you need to be a bit more specific about its technical details. Nov 08 08:14:50 Okay...has anyone used, please forget the Dell for now, Wyliodrin? Nov 08 08:15:28 I was thinking since they are a part to the Yocto Project, I could use them to get a new system. Nov 08 08:15:45 Dell...Inspiron. Nov 08 08:15:54 Desktop. Nov 08 08:16:00 5xx Nov 08 08:16:20 circa '04 Nov 08 08:16:40 how much storage? Nov 08 08:17:03 building on that type of machine would probably take a day or two Nov 08 08:17:04 512 Nov 08 08:17:14 um, no Nov 08 08:17:19 4 Nov 08 08:17:31 you might want to try narcissus instead, if that has a BBB target Nov 08 08:17:32 GrumpeiYokoi: anyhow, the complexity of the boot process does not really affect the complexity of a baremetal application of course... in fact since ROM already sets up the PLLs to sane defaults it saves you from having to do clock configuration if you're okay with running at sub-optimal performance (500 MHz) Nov 08 08:17:56 Okay. Nov 08 08:18:05 zmatt: Is this 'ROM' you and the docs keep mentioning truly a ROM? Nov 08 08:18:37 zmatt: As in, cannot be modified? Lives somewhere onboard? Nov 08 08:19:25 GrumpeiYokoi: if I compile a "hello world", but with all init/support code (MMU, caches, irq dispatching, fault handling, basic console driver) the result is about 7 KB Nov 08 08:19:32 yes Nov 08 08:19:36 baked into the am335x Nov 08 08:19:44 k, just wanted confirmation on that Nov 08 08:19:51 Thanks Nov 08 08:20:12 It was a bit confusing b/c I'd heard some people talk about the MLO and other boot images similarly Nov 08 08:20:15 7 KB of code means imho the support code isn't that complicated Nov 08 08:20:34 7 KB of support code sounds like a lot for hello world :) Nov 08 08:21:14 But yeah I know there's a lot more to it than just the hello world code itself Nov 08 08:21:27 What are you hello worlding to? Nov 08 08:21:33 uart Nov 08 08:21:35 console Nov 08 08:21:37 Okay...I am going to try some guy from Romania at wyliodrin.com. Nov 08 08:21:39 kk Nov 08 08:21:41 GrumpeiYokoi: ROM-BL is mentioned vaguely in the TRM IIRC Nov 08 08:21:46 New image boy! Nov 08 08:22:00 tbr: ROM bootloader is documented quite decently in the TRM Nov 08 08:22:03 tbr: Vaguely? My favorite! -___- Nov 08 08:22:21 zmatt: the public one? I thought it was only in the sekrit one Nov 08 08:22:38 admittedly I haven't looked at the am335x trm in a while Nov 08 08:22:39 zmatt: You mentioned you'd need the arm v7 reference manual so by that I take it you mean you're probably not getting away without writing some assembler Nov 08 08:22:42 Set_ .. I suggest that the image is not your problem . . more the process you're using to get it on-board Nov 08 08:22:45 *assembly language Nov 08 08:23:04 GrumpeiYokoi .. it will all compile to byte-code Nov 08 08:23:10 tbr: pubROM is documented (chapter 26) Nov 08 08:23:15 ok Nov 08 08:23:22 * GrumpeiYokoi squints Nov 08 08:23:27 byte code? Nov 08 08:23:47 one step up from Machine Code lol .. or same thing, depending on definition :) Nov 08 08:23:54 I know what it is Nov 08 08:23:56 tbr: secrom isn't, but it doesn't do much beyond pointlessly reserving some resources it doesn't need before irreversibly switching to public mode Nov 08 08:24:01 I'm just... Nov 08 08:24:14 tired? Nov 08 08:24:14 tbr: on GP devices that is Nov 08 08:24:24 GrumpeiYokoi: some asm, not not much Nov 08 08:24:26 *but not Nov 08 08:24:29 Too many dramatic twists in understanding for one night Nov 08 08:24:29 yeah, HS is a whole different story Nov 08 08:25:11 tbr: I discovered that on HS DM814x devices you can make a secure monitor call that pushes a stack frame but fails to pop it before return XD Nov 08 08:25:35 "oops" Nov 08 08:26:33 tbr: nothing fun you could do with that though, other than triggering a stack overflow in secmon which results in the ever-grumpy SSM resetting the system due to "MPU security violation" Nov 08 08:27:17 (note that I don't have a HS devices to play with, but they failed to make secrom unreadable on the DM814x so I've been nosing around) Nov 08 08:27:27 well, in security you need to be paranoid and if anything goes wrong nuking from orbit is a valid solution Nov 08 08:27:42 it's amazing how crap the rom code is Nov 08 08:28:11 I don't understand what they were thinking putting so much supremely-privileged garbage in ROM where you can't apply bugfixes anymore Nov 08 08:28:30 feature creep ftw Nov 08 08:28:40 yeah, especially in security -.- Nov 08 08:28:55 yeah, it doesn't make sense from a _sane_ perspective Nov 08 08:29:08 but who said anything about damagement having to be sane Nov 08 08:29:38 secrom should have been a tiny amount of code, the absolute minimum to setup a dynamic root of trust, with the assembly code published and well-commented to the point its correctness is self-evident Nov 08 08:29:42 I have to go. Have fun. I will keep the updates and schtuff up to snuff. Nov 08 08:31:27 GrumpeiYokoi: oh wait this isn't just hello world, it still included some LCDC test code Nov 08 08:31:55 and pll configuration dump Nov 08 08:32:21 zmatt: I could write hello world on my SNES and it would be about 256 bytes or less Nov 08 08:32:45 zmatt: But actually I was doing some math in my head wrong, and 7K sounded like a lot more than it actually is Nov 08 08:32:54 So nevermind anyway. Just being a stinker Nov 08 08:32:59 ah, now it's down to 3356 bytes Nov 08 08:33:06 that's better Nov 08 08:33:13 Yee haw Nov 08 08:33:52 The hello world in question would be writing to the controller port serial output, so it's kind of cheating Nov 08 08:34:11 But graphical hello world wouldn't take much either Nov 08 08:34:19 how is that cheating? Nov 08 08:34:21 :P Nov 08 08:34:30 B/c you'd need custom hardware to see it? Nov 08 08:34:40 Or at least, to wire something up to see it Nov 08 08:35:18 you need a cable to connect it to another device which decodes the signal thrown at it and visualizes it for you Nov 08 08:35:26 this differs from HDMI.. how exactly? Nov 08 08:35:46 also I don't actually use HDMI normally either Nov 08 08:35:47 clock rate Nov 08 08:36:53 Other than that, probably not much Nov 08 08:36:56 the 7 KB code did include setup of the LCDC btw, so it could have done your "hello world" if an lcd cape is attached Nov 08 08:37:04 clock rate doesn't matter much, that's handled by the peripheral Nov 08 08:37:21 uart is actually kinda more involved than lcdc Nov 08 08:37:50 Well, in the SNES case it would be tied to the master clock of the system, which is ~22 mhz. But yeah. Nov 08 08:37:56 its setup procedure is more complicated, and you need to monitor its status when you want to output data Nov 08 08:38:20 while lcdc is an initiator, you just hand it a pointer to your framebuffer Nov 08 08:38:20 I need to get me one of them fancy LCD capes Nov 08 08:38:46 getting hdmi going would be more work since you'd need to poke the hdmi framer Nov 08 08:38:54 But I know the main thing I'd use it for is to display the device's IP address Nov 08 08:39:04 Which is kind of silly Nov 08 08:39:27 optimizing for size and enabling LTO reduces size to 2344 bytes btw ;) Nov 08 08:39:53 that still includes MMU setup code and such Nov 08 08:40:10 Still not good enough. I won't be impressed until it all fits into 4 bits Nov 08 08:40:18 ;) Nov 08 08:40:19 * zmatt slaps GrumpeiYokoi with a trout Nov 08 08:40:26 * GrumpeiYokoi was hungry anyway Nov 08 08:40:41 * GrumpeiYokoi grabs some old bay Nov 08 08:43:56 GrumpeiYokoi: as far as asm goes... I have only one assembly source file, which is 143 lines (nearly half of them blank or comment) Nov 08 08:44:19 mostly boilerplate for the fault handlers Nov 08 08:44:40 9 instructions of init code before I call main Nov 08 08:44:55 or 10 I guess Nov 08 08:46:12 the rest is C++ with some isolated lines of inline asm here and there Nov 08 08:47:43 if main returns it goes into an infinite wfi-loop, so irq-driven apps can just do initialization in main and then return Nov 08 08:51:42 Hello :) Nov 08 08:53:47 Beaglebone Black, Jessie, wifi not working ( I have an SD card with Wheezy which runs fine on exactly the same hardware ) Nov 08 09:01:25 Beaglebone Black, Jessie, wifi not working ( I have an SD card with Wheezy which runs fine on exactly the same hardware ) Nov 08 09:08:14 ag_melbourne: not working as in does not show up in iwconfig? Nov 08 09:11:48 kernel version .. lsusb ? Nov 08 09:13:37 hi defiant :) it seems as though I have to run wpa_supplicant manually ( systemctl status wpa_supplicant -> Active: inactive (dead) after reboot ) and I still do not achieve connection when I run systemctl start wpa_supplicant Nov 08 09:14:56 iwconfig gives command not found Nov 08 09:18:34 latest drivers downloaded, lsusb shows device, kernel 4.1.10-ti-r24 Nov 08 09:18:50 I have no idea about systemd.. can you pastebin dmesg? Nov 08 09:20:29 Does anyone have a working wifi under jessie ? Nov 08 09:21:42 paste.debian.net/328107 Nov 08 09:22:32 looks like you have working wifi Nov 08 09:24:12 hi defiant, except for two things, the lamp on the dongle does not flicker, and ipscan.exe an windows IP scanner cannot see the device Nov 08 09:25:49 ...its nearly there, but not quite, hence I am asking for help :) Nov 08 09:27:30 ag_melbourne: it has associated with your ap Nov 08 09:27:52 ag_melbourne: ifconfig wlan0 Nov 08 09:30:23 or ifconfig -a Nov 08 09:30:32 paste.debian.net/328118, yes it all looks good, I am talking to it now by USB, would you agree that I could Putty in on 192.168.1.64 when I disconnect the USB? Nov 08 09:30:55 yes Nov 08 09:31:00 paste.debian.net/328118 Nov 08 09:32:26 ok USB disconnected...192.168.1.64 on Putty time out Nov 08 09:35:26 you may need to restart ssh sometimes .. as it doesn't always bind to everything .. Nov 08 09:35:40 veremit? Never had this problem Nov 08 09:35:59 ag_melbourne: ssh to it over usb and try to ping 8.8.8.8 Nov 08 09:35:59 I've seen it happen .. it shouldn't .. Nov 08 09:36:10 with opensshd? Nov 08 09:36:50 opensshd 6.6 or thereabouts Nov 08 09:37:18 Defiant, ag_melbourne .. can also try to ping your pc over the wifi subnet .. Nov 08 09:37:28 over the usb ssh session :) Nov 08 09:37:44 veremit: unless his pc is a windows Nov 08 09:38:00 do they block pings too?! f*** *** Nov 08 09:38:17 ...hmmm 192.168.7.2 ssh not connecting, shall I reboot? Nov 08 09:38:26 pretty sure most things replied to pings Nov 08 09:38:38 unless you actively block them Nov 08 09:38:49 someone told ms that icmp is something only evil hacker use Nov 08 09:39:20 well of. . its useFUL therefore M$ have to Break it. Nov 08 09:39:45 * veremit grumbles Nov 08 09:40:24 ooo...BBB has crashed Nov 08 09:40:50 reboot button pressed Nov 08 09:42:49 root@beaglebone:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.1.42 icmp_seq=1 Destination Host Unreachable Nov 08 09:43:43 route -n or try to ping your ap Nov 08 09:44:42 paste.debian.net/328119 Nov 08 09:45:05 uuhm Nov 08 09:45:13 unplug your ethernet Nov 08 09:45:49 lol Nov 08 09:46:07 ifconfig -a .. shows up everything :) Nov 08 09:46:19 more info, only USB cable to BBB, no ethernet Nov 08 09:46:38 stale config?! Nov 08 09:47:36 ifconfig -a --> paste.debian.net/328121 Nov 08 09:48:08 do you have a static ip on eth0 Nov 08 09:48:31 ./etc/network/interfaces ? Nov 08 09:48:51 yes 192.168.1.42, no ethernet cable connected Nov 08 09:49:13 same subnet as wifi?! Nov 08 09:49:45 yyyessssss... Nov 08 09:50:28 it won't know which interface to use :) Nov 08 09:50:43 ifdown eth0 for now Nov 08 09:52:19 Hello, I cannot see echo of my messages on screen Nov 08 09:52:25 this is where dhcp does have its advantages ... Nov 08 09:52:54 /etc/network/interfaces -> paste.debian.net/328123 Nov 08 09:53:24 right, ag_melbourne put # before "auto etho" Nov 08 09:53:36 try 'ifdown eth0' and try to reconnect over the wifi Nov 08 09:54:02 Defiant .. could also use 'allow hotplug eth0' too Nov 08 09:54:31 right Nov 08 09:54:41 hmm Nov 08 09:55:05 veremit: wasn't that allow-hotplug if the hw is available? Nov 08 09:55:14 #auto eth0 done, reboot? ( USB only wired connection ) Nov 08 09:55:22 Defiant .. yes, that's how I've used it Nov 08 09:55:32 no wait Nov 08 09:55:44 only if the cable is connected for wired Nov 08 09:55:54 ie. the interface is 'UP' Nov 08 09:56:00 or .. Nov 08 09:56:02 is it .. Nov 08 09:56:04 *lokos* Nov 08 09:56:24 ah yes "CARRIER" for ethernet usually Nov 08 09:56:25 andrew looks confused :) Nov 08 09:56:35 ag_melbourne: yeah reboot Nov 08 09:56:41 veremit: sounds driver dependent Nov 08 09:57:04 rebooting now Nov 08 09:57:11 Defiant .. yes, it probably is Nov 08 09:58:38 Defiant .. http://unix.stackexchange.com/questions/128439/good-detailed-explanation-of-etc-network-interfaces-syntax/128662#128662 Nov 08 09:59:20 no lamp on wifi dongle, scanning IPs using windows program, no 192.168.1.64, only USB cable connected Nov 08 10:00:28 ag_melbourne .. does it have a light for 'link' and another for 'activity .. or one for both Nov 08 10:00:42 I have copied your suggestion to my detailed notes Nov 08 10:00:51 ag_melbourne: ifconfig -a and route -n Nov 08 10:06:27 It is a NETGEAR WNA1000M, fine under Wheezy. lsusb, ifconfig -a, route -n -> paste.debian.net/328126 Nov 08 10:08:56 wifi is currently not up Nov 08 10:09:05 wifi dongle has one lamp, under wheezy it blinks for activity, under Jessie it remains on...but not as I write this Nov 08 10:09:10 try ifup wlan0 Nov 08 10:09:12 wifi not up Nov 08 10:09:29 wifi not loaded according to ifconfig .. but it could be associating Nov 08 10:09:55 Failed to bring up wlan0. Nov 08 10:10:23 crikey lol ! Nov 08 10:10:26 what does dmesg say? Nov 08 10:10:40 anything about missing firmware or such? Nov 08 10:10:56 tbr.. I suspect its a dodgy rtl81xx driver :/ Nov 08 10:11:08 there used to be all sorts of issues with that family .. Nov 08 10:11:12 yup Nov 08 10:11:27 paste.debian.net/328127 Nov 08 10:11:56 hm 8192 driver .. Nov 08 10:11:59 drivers have been updated to those currently available Nov 08 10:12:12 there used to be a few variants of that that I tried once Nov 08 10:12:22 ag_melbourne .. uname -a ? Nov 08 10:12:45 Linux beaglebone 4.1.10-ti-r24 #1 SMP PREEMPT Thu Oct 22 06:51:21 UTC 2015 armv7l GNU/Linux Nov 08 10:13:14 hmm thought they would have fixed it by 4.x Nov 08 10:13:21 variants? really? Nov 08 10:13:34 ag_melbourne .. yes I had a rtl8188 driver once Nov 08 10:14:10 so... what do I do? Nov 08 10:14:33 ok .. https://wiki.debian.org/rtl819x .. that says 8192cu should be fine for that chipset Nov 08 10:16:55 yes, its why I am here, I've searched extensively to help myself, I think there is a bug with Jessie--drivers Nov 08 10:19:04 ag_melbourne .. have you done the firmware blobs from .. https://wiki.debian.org/rtl819x#Debian_8_.22Jessie.22 Nov 08 10:20:35 unfortunately these mini cards can be a right royal pita .. I had to do a lot of googling after buying one model Completely unsupported by linux ! Nov 08 10:20:45 in a prior irc session I was recommended 4.1.10-ti-r24, so not yet, it is such a painful process to change images Nov 08 10:21:21 the dongle I have listed is fine under wheezy Nov 08 10:21:40 yes, I suspect a more tolerant driver .. Nov 08 10:21:56 and/or fluke :) Nov 08 10:22:38 what do you get from 'dmesg|grep firmware' ? Nov 08 10:23:31 sall I follow you link above? Nov 08 10:23:34 oo just noticed I didn't fix my work desktop .. lol .. enp1s0: unable to load firmware patch rtl_nic/rtl8168e-3.fw (-2) Nov 08 10:23:47 ag_melbourne .. yes, that doesn't depend on the kernel Nov 08 10:24:19 ok.. il''l be a couple of minutes... Nov 08 10:24:27 np :) tyt Nov 08 10:32:44 ooo proper broke it lol Nov 08 10:42:59 I'm back, did https://wiki.debian.org/rtl819x#Debian_8_.22Jessie.22, no USB, no ethernet, WIFI CONNECTS :) Nov 08 10:43:55 However dongle lamp does not flicker at all, steady on Nov 08 10:45:03 possibly different driver/firmware version and thus different behaviour? Nov 08 10:46:26 tbr, yes but not helpful...it is helpful to show alive ( lamp on ) and even more helpful to show activity; flickering Nov 08 10:49:24 andrew thinks he is a bit happier...it would be good to have a central repository Nov 08 10:52:21 Thank you for your assistance veremit, defiant :) Nov 08 10:52:41 np Nov 08 10:53:43 How does feedback ( in this case centraizing the driver and flickering ) get to where it's needed? Nov 08 10:55:48 probably a mailing-list somewhere .. Nov 08 10:56:19 ...everything is somewhere :/ Nov 08 10:58:03 ag_melbourne .. starting point .. https://wireless.wiki.kernel.org/en/developers Nov 08 10:59:18 thanks, I will try Nov 08 11:08:52 cool, I zapped a mosquito with an electric swatter and it got stuck in it but with wing-motors still enabled... by itself that's not remarkable, but then I noticed its wing frequency lined up Nov 08 11:09:02 just right with the pwm of my lcd backlight Nov 08 11:09:54 allowing the motion of wings to be viewed in slow-motion in the "strobe" light of my monitor Nov 08 11:23:47 zmatt.. its the little things ;) heh Nov 08 11:24:06 and .. err .. you have a Monitor that strobes, still?! Nov 08 11:24:55 veremit: eh, most backlights do unless they're at 100% Nov 08 11:25:11 noticeably?! Nov 08 11:25:54 normally? no. if you use their light to view a fast-moving object? yes. Nov 08 11:28:20 apparently the mosquito was flapping its wings at nearly an integer multiple of the pwm frequency Nov 08 11:28:48 but the 'beating' effect shows up the beating .. haha Nov 08 11:28:56 [of the wings] Nov 08 11:31:13 Good night from Melbourne :) Nov 08 11:31:44 nn Nov 08 12:47:19 <_cpo__> hi Nov 08 12:47:26 <_cpo__> i need help.:-) Nov 08 12:48:30 go see a doctor :D Nov 08 12:49:05 <_cpo__> i'm using the freedombox image for the beaglebone (dd if=freedombox-unstable-free_2015-10-18_beaglebone-armhf.img | pv | dd of=/dev/mmcblk0), but the freedombox does not start. the sd-card is from sandisk. without the sd-card the box starts without problems, with the sd-card the box doesn't boot. Nov 08 12:49:20 <_cpo__> veremit: :-) beaglebone doc? Nov 08 12:50:27 _cpo__: do you hold down the button S2 while powering up the board? Nov 08 12:50:33 hmm 1) whynot 'dd if= of=/dev/mmcblk0' ... 2) you did unplug, hold Boot switch, Apply power. Nov 08 12:50:55 veremit: pv gives progress indication Nov 08 12:51:06 ah .. I use dcfldd :D Nov 08 12:51:35 but a useful note nontheless :) Nov 08 12:52:13 <_cpo__> btr: no, i've pluged only the power supply into the bbone. Nov 08 12:53:04 <_cpo__> ok, it try it. Nov 08 12:53:14 _cpo__ .. in order for the SD boot to work .. you have to power off, THEN hold button, THEN power up .. Nov 08 12:53:35 whether usb or DC barrel Nov 08 12:53:49 the s2 button is only 'read' when powering up Nov 08 12:55:41 <_cpo__> is the boot button the button named with power? Nov 08 12:56:20 no, it says "S2" next to it Nov 08 12:56:32 it's close to the µSD and HDMI Nov 08 12:57:05 we call it the 'Boot' button, its opposite end of the board from 'power' and 'reset' Nov 08 12:59:07 <_cpo__> sry, for this stupid questions, how long ? until it boots or short Nov 08 12:59:08 <_cpo__> ? Nov 08 13:01:34 <_cpo__> i'm pressed the button, but it doesn't boot. shoul i press the button until it boots? Nov 08 13:02:29 do you haev a serial debug cable? Nov 08 13:03:09 <_cpo__> veremit: no. Nov 08 13:03:41 I highly recommend investing in one, especially to troubleshoot boot problems :) Nov 08 13:07:00 <_cpo__> veremit: yes, i will do, but it's sunday, the markets here a closed. the only which give a light is the power led. but if a remove the sd-card the box make life signs:-) Nov 08 13:08:01 hmm .. well if the image is good .. and the sd card is good .. you should see at least a heartbeat pattern on the 4th led in addition to power. Nov 08 13:08:30 but without a serial cable .. you can;t tell whether the sd card is not being read .. or there's a filesystem problem or what :/ Nov 08 13:08:43 have you tried with another uSD card and/or another image file? Nov 08 13:08:52 [process of elimination] Nov 08 13:09:42 <_cpo__> veremit: hm, ok, yes i've tried several uSD cards, but only the freedombox image. a serial cable, is it a microhdmi? Nov 08 13:10:49 the uHDMI is for video/audio Nov 08 13:10:51 _cpo__: did you decompress the image before DDing it? Nov 08 13:11:06 <_cpo__> tbr: yes. Nov 08 13:11:07 tbr .. looks like it to me .. Nov 08 13:11:24 only other thing to do is loop-mount it .. Nov 08 13:11:29 is there a checksum for it ? Nov 08 13:11:33 either zipped or not? Nov 08 13:11:46 I've downloaded corrupt images before Nov 08 13:11:54 or just plug it into a linux machine and see if partitions are in order Nov 08 13:13:15 that too ^^ Nov 08 13:13:57 <_cpo__> hmm, ok, it seems not to be a beagleboneboard- problem, more a freedombox- problem Nov 08 13:15:18 <_cpo__> i thout the freedombox is the best security distro for beagleboneboard, there are alternatives? Nov 08 13:18:05 <_cpo__> tbr: yes, the partitions are in the right order, i think. Nov 08 13:18:10 _cpo__ .. have you followed instructions at http://freedombone.uk.to/installation.html ? Nov 08 13:20:03 the ordinary beaglebone and black boards are very different :) Nov 08 13:20:14 <_cpo__> veremit: no from https://wiki.debian.org/FreedomBox/Download Nov 08 13:20:27 <_cpo__> veremit: oh, sry, it is a beaglebone black Nov 08 13:21:40 ah my bad ye s I see .. https://wiki.debian.org/FreedomBox/Download Nov 08 13:24:24 <_cpo__> veremit: and i decompress and dded it on the sd-card Nov 08 13:25:12 the alternative is to do it within debian .. via https://wiki.debian.org/FreedomBox/Hardware/Debian Nov 08 13:26:00 if you have a stock debian there .. or can flash one from the main site Nov 08 13:26:43 recommended url for base images .. http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-11-03 Nov 08 13:30:05 <_cpo__> veremit: flash means, to copy the image from freedombox to the beagle bone internal memory? Nov 08 13:31:33 yes Nov 08 13:31:45 ie. write the emmc Nov 08 13:33:49 <_cpo__> veremit: hm, till now, i've tried to boot it from the sd-card, ... is it better? or is it senseless to use the sd-card. hm Nov 08 13:35:06 well you've got a chunk of onboard storage .. Nov 08 13:35:14 its a choice really Nov 08 13:43:14 <_cpo__> veremit: ok, i understand. i'm downloading the image from freedombox, maybe it's corrupt, and repeat it with dd. Nov 08 13:43:26 <_cpo__> veremit: but dd is ok? Nov 08 13:44:34 dd should be fine, yes Nov 08 13:44:46 there are some gpg commands there to check it Nov 08 13:48:25 <_cpo__> veremit: with root is fine, too? Nov 08 13:49:52 yeah Nov 08 13:59:15 <_cpo_> re Nov 08 14:01:52 lol, ARM mailing fail Nov 08 14:02:03 "was viewed 145 email.digest.times and commented on by 0 email.digest.people" Nov 08 14:17:18 hello... Nov 08 14:17:43 Man...I am stuck again. My Angstrom BBB is too full of updates. I finally updated the packages. Nov 08 14:17:59 Besides that mess...I cannot set the time on my Debian BBB. Nov 08 14:18:08 How can I set the time and date on my Debian BBB? Nov 08 14:19:06 type after me: man date Nov 08 14:19:13 man date Nov 08 14:19:23 good Nov 08 14:19:31 now do that in a console window Nov 08 14:19:35 Okay. Nov 08 14:19:37 Please hold. Nov 08 14:20:22 Okay... Nov 08 14:20:26 Now what? Nov 08 14:20:36 read it Nov 08 14:20:39 understand it Nov 08 14:20:41 learn Nov 08 14:20:45 Okay...please hold. Nov 08 14:22:08 -R Nov 08 14:22:09 ? Nov 08 14:22:32 well...-R "Today's date"? Nov 08 14:22:39 http://26-26-54.hardwarebug.org/30 Nov 08 14:22:43 Yikes...I know. Nov 08 14:23:16 I have been reading on dates and time at debian.org but I got nothing. Nov 08 14:23:24 I followed this book but the book if for Angstrom. Nov 08 14:24:19 you should try a linux basics book Nov 08 14:24:33 I have many. Nov 08 14:24:43 I still have problems starting out with Debian. Nov 08 14:24:49 Every time! Nov 08 14:26:55 but you understand that debian is just a linux distribution? Nov 08 14:26:56 I tried the -R method. I got nothing. Nov 08 14:27:00 Yep. Nov 08 14:27:24 I understand. Nov 08 14:27:38 have you read the manpage and understood what -R does? Nov 08 14:27:45 Yes. Nov 08 14:27:51 and what does it do? Nov 08 14:28:14 At least...I figured I could understand. It states the day, date, and month. Nov 08 14:28:27 Set_ .. is your bbb connected to the internet? Nov 08 14:28:37 Yes. Nov 08 14:28:46 Not with Ethernet, though. Nov 08 14:28:54 can you ping google/ etc Nov 08 14:29:00 I am online via this site and PuTTY. Nov 08 14:29:01 if so, you can use ntp Nov 08 14:29:32 I tried ntp and there were three options (0., 1., and 2.). Nov 08 14:29:46 I typed in ntp.pool.org Nov 08 14:30:04 in the quotation marks. Nov 08 14:30:17 you should be able to "ntpdate ntp.pool.org" Nov 08 14:30:27 I had to restart to reconfigure it. Nov 08 14:30:33 I can and I can change it in nano. Nov 08 14:30:56 But when I call the date, the system does not understand ntpdate-sync. Nov 08 14:30:58 if you have ntpd running .. you have to do something slightly different Nov 08 14:31:08 Oh. Nov 08 14:31:11 oh balls .. its system0shitty0d Nov 08 14:31:18 yeah I'm baling on that one Nov 08 14:32:05 normally, I'd say /etc/init.d/ntpd stop then ntpd -g -q then /etc/init.d/ntp start Nov 08 14:32:10 but 90% sure that won't work lol Nov 08 14:32:35 only 90 though .. so worth a try :D Nov 08 14:32:39 it is okay. I will keep trying. I am sorry to bother people again. Nov 08 14:36:00 systemd-timesyncd Nov 08 16:49:39 Hello... Nov 08 16:49:50 .gpg issues here. Nov 08 16:50:25 I followed what BBB let loose in 2014 for builds via Debian for BBB Wikipage. Nov 08 16:51:02 So...how do I get around the error codes ".gpg" files? Nov 08 16:51:14 I listened to what the Wiki said but that is bunk. Nov 08 16:51:29 The Wiki was updated in 2015, too. Nov 08 16:53:18 Okay...I know. Things are duplicating fast. I will just wait for updates. Nov 08 16:53:22 Until then! Nov 08 16:57:19 <_cpo_> veremit: re, thanks a lot for your great support *hugs from me, and smile from my wife*.the problem with the beaglebone baord and freedombox was that dd writes a corruprt fs on the sd-card. i used gnome-disks and it works great. Nov 08 16:58:35 oh weird Nov 08 16:59:10 gratz on gettin it workin Nov 08 16:59:36 <_cpo_> veremit: :-) Nov 08 17:00:36 wish this ebuild nonsense was more .. sense. Nov 08 17:01:01 time for a rest methinks .. python will strangle me else Nov 08 17:01:25 <_cpo_> veremit: yeah, it was great, i try it in the next time. bye, we go to the pub. :-) Nov 08 17:01:33 cheers ^^ Nov 08 17:01:46 <_cpo_> veremit: cheers :-) Nov 08 18:48:58 Hmm seems no gentoo BBB images.. here I was hoping too be lazy. Nov 08 20:06:34 GenTooMan: the gentoo wiki has build instructions though Nov 08 20:14:53 hmmm Ok Nov 08 20:58:06 can i use a begal board as a arduno alterno Nov 08 20:58:41 alternative Nov 08 21:02:13 dgmurdockiii: i wouldn't Nov 08 21:02:51 for driving LEDs Nov 08 21:02:57 what the best options Nov 08 21:03:59 if it's just leds and nothing else, any microcontroller Nov 08 21:07:17 perhaps a bit more detail you can do that with $10 eval boards from TI. If you give some more information that might help. Nov 08 21:35:56 ok Nov 08 22:05:46 :D Nov 09 00:08:49 * mezydlop slaps contempt around a bit with a large fishbot Nov 09 01:08:57 Hello, i wonder if i have killed my BBB after plugging it in a 9V instead of a 5V power supply, only the PWR led shines, is there anything that i can do? Nov 09 01:28:39 I am uncertain I would have to hunt down the schematics and lurk at it. Nov 09 01:32:44 I'm still trying to see if its still alive, i'll report back! Nov 09 01:33:27 Use USB Nov 09 01:35:50 I'm currently using it, 3.0 one to be exact. Nov 09 01:39:29 I doubt the # will do a thing it just needs 200-400ma according to the specs. Nov 09 01:40:16 You should be able to ping some IP address I can't remember 192.168.7.1 I think it creates when it boots for the default Nov 09 01:42:54 Thanks GenTooMan, but i gotta go now, i'll get back here soon and report back! Nov 09 01:42:57 From the host you can ping the BBB at 192.168.7.2 Nov 09 01:43:14 The host registers as 192.168.7.1 Nov 09 01:52:04 if only the power led shines it's not booting Nov 09 01:52:17 but not broken either Nov 09 01:52:23 the pmic has overvoltage protection Nov 09 02:06:21 hello Nov 09 02:11:17 I have an LED array in P8_13 and my only options seems to be boolean (On/Off) Nov 09 02:11:32 However I want to fade this LED array. Nov 09 02:12:11 Is it a different pin I need to put it in? Nov 09 02:12:15 * alairock nooob Nov 09 02:57:08 Hello... Nov 09 02:57:14 Dudes...guess what? Nov 09 02:57:34 I got the dang Debian image (new) booted finally. Nov 09 02:57:37 But... Nov 09 02:58:00 There is one small problem. I have another SD card in my slot. Oops. Nov 09 02:58:13 I keep making these mistakes. Nov 09 02:58:36 I booted via SD card a Wyliodrin.com BBB image. Dang it! Nov 09 02:58:42 I will just have to see what happens. Nov 09 02:59:05 Who knows node.js? Nov 09 02:59:39 alairock: it's a pwm-capable pin, but may need to be explicitly configured as such **** ENDING LOGGING AT Mon Nov 09 02:59:59 2015