**** BEGIN LOGGING AT Tue Jul 11 03:00:05 2017 Jul 11 03:43:03 hello. i am trying to find some tutorial links for debian IOT for beaglebone black rev c Jul 11 03:44:05 there is no GUI interface. i am not afraid of the command line. just need some tips for getting started Jul 11 03:44:35 i was surprise, man is not installed by default Jul 11 03:50:50 really, what? Jul 11 03:53:17 i typed in help, it provide list commands. i tried using man with couple of commands. example, man declare then got the message: No manual entry for declare Jul 11 03:54:19 if i do help declare then it displays the help information Jul 11 03:54:34 ok so man was in fact installed Jul 11 03:54:52 declare is a shell built-in Jul 11 03:55:21 it is documented in the manpage of the shell (i.e. "man bash") Jul 11 03:55:35 yes that worked Jul 11 03:55:58 and, as you noticed, in the shell's builtin help (although this doesn't have all details) Jul 11 04:01:50 been googling this evening and youtube, all the stuff is out dated. even did an advance google search to one year, it got better but i am not finding tutorials for debian IOT, nothing complicate simple LED, install and configure usb wifi, and a web server Jul 11 04:03:44 webserver should already be installed and running Jul 11 04:03:57 but yeah there's a lot of outdated info out there Jul 11 05:52:20 Is anyone working here with a BeagleBoard Rev C2? Jul 11 05:52:39 If so, I would like to know how you got your debian/linux system set up, if you did. Jul 11 05:54:04 oh, the really old one? heh, I think I still have one somewhere Jul 11 05:54:35 good old omap3 with broken thumb(s) Jul 11 05:56:40 I don't know if this is old but, I've only ever worked with Arduinos and RPis. Jul 11 05:56:42 :)) Jul 11 05:56:57 But uh yeah, I guess this is old, considering I can't find any good resources online. Jul 11 05:57:41 should be from 2010 or so Jul 11 05:58:47 I've been trying to get it started with a debian system. Maybe I'm just inexperienced but all the images (the ones you flash onto the SD card) have not worked. Jul 11 05:59:38 theres acouple of possibilities, like getting the flashing wrong, or also having just broken hardware Jul 11 05:59:56 Without the sd card, it loads in, I check via putty. Jul 11 05:59:58 btw. Jul 11 06:01:13 then its maybe getting the sd card flashing wrong. Jul 11 06:06:03 plus, all i can see on elinux at the moment explicitly targets c4 or c5 Jul 11 06:12:09 might want to nuke NAND to eliminate possible issues? Jul 11 06:13:52 i guess that the c4/c5 releases just target different RAM, and hence fail to boot. Jul 11 06:15:01 hello! :) We have a couple of BB black rev C Jul 11 06:15:11 which stops running after a while Jul 11 06:15:26 I found out that free rom could be the issue here Jul 11 06:15:44 In /var/log there are lot of files which are sometimes 500MB Jul 11 06:15:58 syslog and deamon log Jul 11 06:16:10 Can we somehow disable this big logfiles? Jul 11 06:17:36 LetoThe2nd and tbr how to nuke NAND? Jul 11 06:17:46 I don't have much knowledge on handling this thing. Jul 11 06:17:51 Would really like to make it work. Jul 11 06:17:52 JohnPIA: apt-get purge rsyslog Jul 11 06:17:54 JohnPIA: you mean like https://stackoverflow.com/questions/30757602/processes-started-with-systemd-are-logging-to-var-log-syslog-and-var-log-daemo Jul 11 06:18:06 Nitro525_: i doubt its the NAND. Jul 11 06:18:26 Nitro525_: i'd say, spare yourself the effort and find yourself some hardware that is still supported. Jul 11 06:18:31 it's just one factor to get rid of. Back then it was a source of confusion. Jul 11 06:18:48 Argh. Okay. Well here's the board without an SD card LetoThe2nd Jul 11 06:18:49 the proces whe made (service) has a lot of uart info. When running as a service, it seems al terminal info get saved Jul 11 06:18:50 https://usercontent.irccloud-cdn.com/file/Ta6hl6gU/image.png Jul 11 06:19:07 JohnPIA: you can configure the max size of journal in /etc/systemd/journald.conf Jul 11 06:19:33 you can also make systemd keep journal in ram instead of on eMMC by removing /var/log/journal and rebooting Jul 11 06:19:48 or you could probably exclude that service from getting logged Jul 11 06:19:55 that too Jul 11 06:20:17 or just not dump lots of info if you're not actually about to ever look at it. Jul 11 06:21:55 if you're on a not-super-fast system, yanking out loads of data to stdout/stderr into systemd will slow you down, even if it is actually never ever getting logged Jul 11 06:22:12 so why take that performance penalty? Jul 11 06:24:39 @zmatt so when only editing journald.conf, I get smaller deamon.log, but also smaller syslog? Jul 11 06:24:59 no, journald.conf affects journal Jul 11 06:25:26 dealing with those old redundant logfiles is done with 08:17 < zmatt> JohnPIA: apt-get purge rsyslog Jul 11 07:42:10 On 4.4, I could disable the eMMC and HDMI while leaving the 24MHz oscillator enabled by adding these two lines to uEnv.txt: Jul 11 07:42:12 # eMMC and HDMI disabled but HDMI oscialltor enabled Jul 11 07:42:13 dtb=am335x-boneblack-audio.dtb Jul 11 07:42:20 How do I do this on 4.9? Jul 11 07:47:09 Also how do I load a cape overlay on 4.9? I don’t see a “slots” entry for the cape manager. Jul 11 08:12:54 hi Jul 11 12:11:53 anyone have any notes on how to do something like this: http://wiki.osdev.org/ARM_Beagleboard on a BeagleBone Black? I'm getting a "bad magic" error from U-Boot when trying to do something similar. Jul 11 12:14:38 samrat: is this of any help? -> https://github.com/mvduin/bbb-asm-demo Jul 11 12:15:30 I don't think I ever tried booting a baremetal application from u-boot though Jul 11 12:16:36 zmatt: I'll try that out. I did find similar projects but couldn't get them working. Jul 11 12:17:55 maybe I should add a makefile rule that directly builds a bootable image you can flash onto sd card :) Jul 11 12:18:31 technically I should be able to strip down Xinu(https://github.com/real-xinu/xinu-bbb) to get a minimal kernel but for some reason a fresh attempt is not working with U-Boot Jul 11 12:19:18 never heard of xinu before Jul 11 12:25:50 zmatt: tried creating a uboot image from your project's .bin and I get the same error("bad magic") Jul 11 12:26:34 that sounds like it is expecting some particular image format rather than a raw binary Jul 11 12:27:32 like I said, I've never tried loading it via u-boot. it works fine when directly loaded by bootrom Jul 11 12:29:17 zmatt, yes, it does expect a specific format. U-boot has a tool that takes a binary and creates an image. That's what I used. Jul 11 12:29:56 hi all, i want to use timers in BBB to generate pulse (i know it is possible with PWM or PRU...) is it possible ? or the HW timers are occupied by the linux OS? Jul 11 12:30:19 Thanks anyway. I guess I'll try directly flashing the SD card if this doesn't work. I've already spent a day trying to figure this out. Jul 11 13:00:12 zmatt: can i use BBB DMTimer with linux ? or it is occupied by the OS? Jul 11 13:03:38 cyberguy: How do you run multiple operating systems on the BBB? Jul 11 14:22:34 hi all, how can (if at all) i can use DMTimers in BBB ? Jul 11 14:48:09 how can i check what is muxed-out into BBB pin? Jul 11 15:09:13 cyberguy: look in /sys/kernel/debug/pinctrl/44e10800.pinmux/ Jul 11 15:13:55 mag: thanks, i see this pin 69 (PIN69): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default Jul 11 15:14:11 what is 4a100000 ? how can i tell that i configure this pin to be RGMII Jul 11 15:32:10 Hello People Jul 11 15:48:54 hello Jul 11 15:49:10 I'm facing an issue with Beaglebone Black PRU Jul 11 15:49:37 I have successfully compiled a C program for PRU0 Jul 11 15:50:22 and copied it to /lib/firmware with name am335x-pru0-fw Jul 11 15:50:54 but when i type sudo rmmod pru_rproc and then sudo modprobe pru_rproc Jul 11 15:51:34 I see only that both PRUs have been probed successfully, but there is no sign of firmware being loaded Jul 11 15:51:51 and my program doesn't work at all so it seems it hasn't been loaded Jul 11 15:51:58 I have no idea why that could be Jul 11 15:52:41 my kernel is 4.9.36 ti rt Jul 12 00:02:03 Hello! I just received BBB Rev C. Is there a start here or crash course I could start with? (preferably step by step) Jul 12 00:17:48 hi there Jul 12 00:26:44 I am trying to get startred with BBB, driver install failed on Windows 10, what can I do? Jul 12 00:29:56 the BBB has a bunch of potential features that are kind of finicky and ultimately not that great, if you want to do the driver way you can by disabling the requirement for signed driver Jul 12 00:30:05 it's 10X easier just to plug the BBB ethernet into your router Jul 12 00:30:41 buying a serial cable for the 5 male pins on the BBB is also a good choice, and of course, you can use the proper hdmi (mini or micro, not sure which) Jul 12 00:31:32 Can I debug when using the ethernet connection? Jul 12 00:31:45 Is there an advantage to using the usb? Jul 12 00:34:59 um i don't think the USB has an advantage Jul 12 00:35:21 I think an FTDI USB-->Serial is the lowest level right before JTAG Jul 12 00:35:40 are you trying to debug regular programs or the operating system? Jul 12 00:35:50 because ethernet will work great for regular programs Jul 12 00:36:24 the USB cable way they supply was a good idea, but kinda gimmicky, and it didn't keep up with the evolution of windows Jul 12 00:37:07 you're 100% better off using ethernet and somethingl ike this http://www.alliedelec.com/ftdi-ttl-232r-5v/70069400/?mkwid=syCqgdu9J&pcrid=30980760979&gclid=CKa-0ZvAgtUCFY-Eswod_dULtw Jul 12 00:37:48 Why is it that everytime I try to start working with something Linux related there are a million probelms??? Jul 12 00:38:42 Should I use a Linux VM? Jul 12 00:39:25 I want to work with OS and programs, preferably no limts Jul 12 00:40:07 Oh you just want to play with linux? Jul 12 00:40:23 Or you want to make like, stuff with a SBC? Jul 12 00:40:50 I want to learn about embedded linux, including OS kernel if possible Jul 12 00:40:59 ah well, i've got bad news for you Jul 12 00:41:07 the BBB is great for that Jul 12 00:41:13 I'm an embedded engineer, but I've never used linux embedded Jul 12 00:41:28 hahaha, well, i think everyone here is an embedded engineer... Jul 12 00:41:40 do you use linux generally? Jul 12 00:41:42 FreeRTOS, ThreadX, others... Jul 12 00:41:52 I use Linux VM Jul 12 00:41:55 16 LTS Jul 12 00:42:05 Ubuntu Jul 12 00:42:12 okay so i mean, forget about the kernel for a moment because userspace has plenty of more fun stuff for you to explore Jul 12 00:42:34 OK, but I do need to get into kernel debugging eventually Jul 12 00:42:55 so there's ways to debug the kernel depending on how you build the kernel Jul 12 00:43:07 but the reason i asked is because there is a JTAG pinout on the bottom of the BBB Jul 12 00:43:18 I mean, there are a lot of jobs I am not considered for simply because I have never debugged at kernel level Jul 12 00:44:01 okay well, the guy who maintains the kernel for the BBB and the debian distro is robert. c nelson Jul 12 00:44:08 you can find his github where he has tons of build scripts and stuff Jul 12 00:44:20 Right, JTAG connection would be nice, I will add eventually, but for now USB sounds like it is close enough Jul 12 00:44:21 sometimes he's in here as rcn but i don't think he is right now Jul 12 00:44:38 i think you should buy the USB-SERIAL ftdi port Jul 12 00:44:47 because the USB they supply is 100% more for hobbiests Jul 12 00:44:57 More buy stuff? I'm broke Jul 12 00:44:58 the USB-SERIAL ftdi cable is better for professionals Jul 12 00:45:24 it's up to you, but you'll get a lower-level of access and a better understanding of whats going on behind the scenes Jul 12 00:45:52 Do you have a link for it? Jul 12 00:46:11 i sent you one a little bit up above Jul 12 00:46:23 you cna google "usb serial ftdi BBB cable" Jul 12 00:46:27 That's a tangent anyway, the main issue is that the drivers won't install on windows 10 Jul 12 00:46:35 yeahhh so there are tutorials for it Jul 12 00:46:47 like i said before, it's kind of gimmicky- it enables ethernet over USB Jul 12 00:46:59 its' not a good way for professionals to explore the BBB, it's better for the hobbiest workflow Jul 12 00:47:55 but there are tutorials to get it working- i did it in one try Jul 12 00:47:59 but it was earlier this year so i foget how Jul 12 00:48:14 I don't follow, "it enables ethernet over USB" Jul 12 00:48:29 yeah it provides an emulated ethernet layer over USB Jul 12 00:48:46 so you'll end up with an IP address from the USB cable Jul 12 00:48:54 I always seem to pick the wrong tutorial, and end down a dead end path with a million new issues Jul 12 00:49:19 i really have to go though, i'll be on later. remember that this is an open source community, so the help is all volunteer Jul 12 00:49:47 "IP address from the USB cable", OK, this would still be better for my dev Jul 12 00:50:02 I know, volunteer Jul 12 00:50:07 https://groups.google.com/forum/#!topic/beagleboard/d3X9-_6np80 Jul 12 00:50:16 theres some talk there about the issue Jul 12 00:50:19 see ya Jul 12 00:52:05 ok i'll check Jul 12 02:08:14 Disabling signature requirement for driver in Windows 10 allows the drivers to work (may be old news) Jul 12 02:37:46 yeah i knew that i just didn't know how to do it Jul 12 02:38:13 hexchat is a good windows program for IRC **** ENDING LOGGING AT Wed Jul 12 03:00:03 2017