**** BEGIN LOGGING AT Wed Oct 16 02:59:58 2013 Oct 16 06:16:53 hmm reading from SPI always gives me ff :( Oct 16 06:17:34 is that code? Oct 16 06:18:43 well, status = ioctl(fd, SPI_IOC_MESSAGE(1), xfer); always returns 0xFF as the data read Oct 16 06:19:43 I have the same eeprom working from an arduino, just not the bbb. I might need to get a logic analyzer on loan to see what the wires are up to during all this Oct 16 06:19:51 tried SPI0 and SPI1 just in case. Oct 16 07:17:43 hi All , I need to read 8 specific GPIO pins value in binary way with a single command , is there a particular way to do this ?? thanks Oct 16 07:19:12 Depends on your definition of "single command" ;) Oct 16 07:19:28 if that means "single api call", sure, why not. Oct 16 07:21:36 i'm playing with simple shell scripts, is there something different from read each of them sequentially with CAT command ? Oct 16 07:22:24 basically use whatever you see fit to get something out of a file. Oct 16 07:22:46 grep! Oct 16 07:22:49 :-) Oct 16 07:22:52 and if its just the chain of reading commands that annoys you - hide it in a function or even library. done. Oct 16 07:23:08 if you want fancy, write a kernel module Oct 16 07:23:40 dm8tbr: nah, fancy would be doing it in haskell. Oct 16 07:24:03 why not in CML? Oct 16 07:24:08 or has that gone out of fashion? Oct 16 07:24:22 KotH: http://de.wikipedia.org/wiki/Chronische_myeloische_Leuk%C3%A4mie Oct 16 07:24:30 rotfl Oct 16 07:27:56 i'm playing with shell means I'm not as skilled in programming as your suggestion require.... ( KotH , don't tell me STUDY ! ;-))) Oct 16 07:28:17 how about reading google? Oct 16 07:29:07 it was just to NOT do : cat /sys/class/gpio/gpioxx/value....cat /sys/class/gpio/gpioxx/value....cat /sys/class/gpio/gpioxx/value Oct 16 07:29:20 Freddie: rotfl... Oct 16 07:29:27 hello, I am using meta-toolchain-qte, installed through the angstrom scripts and I have a problem building and installing the QtSerialPort addon for Qt Oct 16 07:29:40 Freddie: dont worry, i will not tell you to study. but i might throw some books after you ;-) Oct 16 07:30:47 when I do "sudo make install" on my Ubuntu host in the output i see: install -m 755 -p "libQtSerialPortE.so.1.0.0" "/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/lib/libQtSerialPortE.so.1.0.0" strip-unneeded "/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/lib/libQtSerialPortE.so.1.0.0" /bin/sh: strip-unneeded: command not found make[2]: [install_target] Error 127 (ignored) Oct 16 07:31:19 i was asking if easyly there was a single declaration on which pin to be read and then read them "in block" Oct 16 07:36:21 KotH : I asked for ready to use webpage to control GPIO , remember ? I studied and now I control Beaglebone external relays with PHP page.. !!! Oct 16 07:37:42 KotH: (but from this to work with kernel , api ecc.ecc. it's a very long way....) Oct 16 07:38:05 good! Oct 16 07:38:10 :-) Oct 16 07:38:14 yes, it's a very long way Oct 16 07:38:19 i know it, i've walked it Oct 16 07:38:29 but i can assure you, it's a very fun thing to do Oct 16 07:38:29 uphill, through the snow? Oct 16 07:39:10 if something isnt fun, you just switch to something else. and when you return some months/years later to it, it will suddenly become all simple and easy :) Oct 16 07:39:34 Fruit: as a swiss, walking uphill trough snow is something very normal ;) Oct 16 07:42:15 heh Oct 16 07:49:05 job calling.....thanks see you Oct 16 08:50:13 :q Oct 16 08:52:05 E37 Oct 16 08:52:42 Operator hasn't had his Tea yet Oct 16 09:09:14 Hi. I use Qnx bsp and Bone Black. qnx works on external flash(mmc1). How to copy it to internal flash(mmc0) ? Oct 16 09:18:26 Nozof: ask blackberry Oct 16 09:19:04 but essentially you'd probably just need to copy the raw sd-card to the emmc Oct 16 09:27:04 how i do it Oct 16 09:27:31 Nozof_: you will be better off asking your QNX provider Oct 16 09:27:54 I don't think anyone runs QNX on the BeagleBone Black in here Oct 16 09:31:45 hello all Oct 16 09:34:37 pls help me. i buy BeagleBoard Black, and I want to remove all the memory that is not used by the operating system, and simply use the scheme, such as pull legs microprocessor. and work on ARM embedded stuff iar Oct 16 09:36:21 so you don't want to run a linux kernel but your own code instead? Oct 16 09:36:37 I'm still digesting the sentence Oct 16 09:36:58 * dm8tbr gave up and this is why he's asking clarification questions Oct 16 09:37:48 I'm pretty sure he closed his browser already after 20 seconds of waiting and will timeout in about 5 mins or so Oct 16 09:38:33 but just in case that didn't happen, you kind of lost me at the "pull legs microprosessor" part Oct 16 09:39:14 he's pulling our legs Oct 16 09:39:29 says the fruit Oct 16 09:42:05 ok I see where dm8tbr is coming from.. pulling soc legs high/low via registers etc maybe and just running a custom image instead of linux Oct 16 09:42:40 because it's so much easier to use a ARM rather than a PIC Oct 16 09:43:24 well he could just u-boot something he cooked up Oct 16 09:43:31 What's not clear? I need to clear all the memory on the card and program it via jtag Oct 16 09:43:37 haha Oct 16 09:43:49 den2life: go read up on TI starterware. Oct 16 09:43:50 that did not clear things up Oct 16 09:47:58 I do not need Startware I need just "empty" without board opreatsionnoy system for low-level debugging. Oct 16 09:48:27 I do not need Startware I need just "empty" board without an operating system for low-level debugging. Oct 16 09:48:29 den2life_: then just connect your jtag and erase what ever you do not like. i don't see the problem. Oct 16 09:48:36 yea me neither Oct 16 09:48:51 if you don't put a linux on your sd card then you won't have an OS Oct 16 09:49:11 after all, it's jsut some nand. tell your jtag to clean it. Oct 16 09:49:16 а eMCC память? Oct 16 09:49:57 sorry, my russian class does not start until next week. Oct 16 09:50:06 and emcc memory? Oct 16 09:50:37 well if you want it clean, make your jtag clean it. Oct 16 09:50:42 talk to the vendor there. Oct 16 09:50:43 Is not it protected from erasure and write? Oct 16 09:50:47 boot from SD card and dd if=/dev/zero to it Oct 16 09:50:50 no Oct 16 09:50:55 dm8tbr: or that. Oct 16 09:51:19 emmc is just super-stupid nand with a kind-of defined interface in the end. Oct 16 09:51:26 but to boot custom code on the BBB, your best bet is to steal the MLO from TI Starterware or a linux distro Oct 16 09:51:58 Vaizki: I DO NOT WANT TO RUN CODE, I WANT TO CLEAN ALL CODES! Oct 16 09:52:03 :D Oct 16 09:52:05 one111eleven! ;) Oct 16 09:52:07 thanks! Oct 16 09:52:14 I forgot that already Oct 16 09:52:30 * Vaizki slaps himself silly for trying to make the BBB do something Oct 16 09:55:37 who needs MLO if they can just flip single bits over JTAG Oct 16 09:56:12 den2life_, I don't think you understand the amount of code required to get a modern ARM SoC go Oct 16 09:56:42 panto: no need to understand anything, its just about clearing! Oct 16 09:56:46 а есть ссылка прошивку встроенная в AM3359 или она не распространяется просто так? И на каком языке программирования она написана? Oct 16 09:56:55 sorry Oct 16 09:56:56 and there is a link embedded in the firmware AM3359 or she just does not cover it? And what programming language it is written? Oct 16 09:56:57 yes, and all it's peripherals Oct 16 09:56:57 we not ponimaju pa ruski Oct 16 09:57:03 den2life_: this channels operation language is english, pülease. Oct 16 09:57:32 if you think this is a PIC or an AVR you're in for a big culture shock Oct 16 09:57:32 den2life_: the rom code is not open. Oct 16 09:57:57 den2life_: whatever is IN the am335X, just view it as silicon. Oct 16 09:58:19 panto: clearing perioherals? Oct 16 09:58:37 I use a blowtorch Oct 16 09:59:09 good choice. Oct 16 10:00:03 den2life_, so in a nutshell you're going to have to educate yourself Oct 16 10:00:41 and maybe, just maybe, people on the internets will take a more kind approach on answering your questions Oct 16 10:00:51 or maybe a small nuclear blast next to it might clear the nand because of the electromagnetic discharge conveyed ? Oct 16 10:01:16 HOW DO I GET A NUKE ? Oct 16 10:01:37 panto the fact is that I have already programmed the PIC and AVR Oct 16 10:02:01 they are very weak Oct 16 10:02:06 den2life_, it shows Oct 16 10:02:18 this is not how to go about this class of processors Oct 16 10:02:33 just because the prices are similar doesn't mean you use the same methods Oct 16 10:03:08 well, of course you could, but it would take you a few years before doing anything like close to what you do with an AVR or a PIC Oct 16 10:03:25 and learn how to program the ARM that is not real? Oct 16 10:03:31 ... Oct 16 10:03:38 what is not real? Oct 16 10:03:42 you can program the ARM Oct 16 10:03:46 you don't 'bitbang' it over 'jtag' or anything like that Oct 16 10:03:50 but there are a lot of different levels Oct 16 10:04:07 there's kernel level programming Oct 16 10:04:11 user level programming Oct 16 10:04:13 sure you can do very close to hardware stuff, but it's a very different processor, just as panto said Oct 16 10:04:37 it's like "I know row boats, now give me oars, so I can steer this yacht!" Oct 16 10:04:37 everything is possible, just do not have himself "sink" in the complexities of programming Oct 16 10:04:40 if you stick with linux there are two very fast PIC like cores in there where you can program like you used to Oct 16 10:04:59 first steps first Oct 16 10:05:04 what do you know about linux? Oct 16 10:05:42 for 99% of what you want to do the bone is just a linux computer that run on an ARM core Oct 16 10:05:56 so you just compile your linux program for it Oct 16 10:06:07 thiit is an open operating system, open source. Oct 16 10:06:14 yes, of course Oct 16 10:06:21 all the sources are available Oct 16 10:06:35 but you don't seem to grasp the amount of them Oct 16 10:07:19 I'm not saying that I'm super smart or ... it does not matter. Oct 16 10:07:55 you don't have to be Oct 16 10:08:14 but you have to approach the subject like something new Oct 16 10:08:33 if you've done PIC or AVR programming you should understand the basics of embedded programming Oct 16 10:08:49 things will be easier if you tell us what you want to do Oct 16 10:10:25 I think you need to know one thing, it is a "foreign" code, which is written by man, and as it was written - it is his ability and creativity. Any programmer can write the same code, but in their own way. So even reading the Linux kernel written by anyone, we must not forget that writing is as much a programmer. Oct 16 10:11:02 very poetic, but doesn't answer the question Oct 16 10:11:13 what is it that you want to do with the beaglebone? Oct 16 10:11:25 just read it will be problematic. Oct 16 10:11:41 if you plan on reading all that code, yes Oct 16 10:11:53 we're talking perhaps about millions of lines of code Oct 16 10:12:02 I just want to know the AM3359 microprocessor Oct 16 10:12:51 learn all its periphery Oct 16 10:13:08 den2life_: http://www.ti.com/litv/pdf/spruh73i Oct 16 10:13:14 den2life_: enjoy :) Oct 16 10:13:36 namely using IAR and jtag Oct 16 10:14:30 den2life_, forget about IAR and jtag is just not needed for what you're trying to do Oct 16 10:14:51 I would start with a generic book about unix Oct 16 10:16:01 Just get Starterware, it's the fastest way to get close to the SoC Oct 16 10:16:10 Your native language is English and my Russian - to me it is very difficult. So I start from the bottom. Oct 16 10:16:10 any closer and you are in for a big truckload of work Oct 16 10:16:30 Hello friends. Is there any way to stop default serial over usb, ethernet and mass storage detection of beaglebone black usb cable and enable serial over usb only. Oct 16 10:17:41 prem_: yes, block loading of the g_mass_storage and g_ether mofdules Oct 16 10:19:15 but in beaglebone "lsmod" . it displays g_multi only. when i'm trying to modprobe it displays "FATAL: Module g_multi is in use." Oct 16 10:24:58 see my lsmod result http://pastebin.com/EnwEubhT Oct 16 10:25:44 and you have a usb cable connected and see the mass storage + ether on the other side? Oct 16 10:26:10 yup Oct 16 10:26:57 well it says that g_multi is used by 2 other modules .. ehm Oct 16 10:26:59 but i dont need network and mass storage option. need only uart over usb Oct 16 10:28:03 how to modprobe this g_multi? Oct 16 10:28:19 well I run Arch Linux ARM and at least there none of those load automatically Oct 16 10:28:28 you don't need to modprobe it, it's already loaded Oct 16 10:28:57 i mean remove. modporbe -r Oct 16 10:29:19 you mean rmmod Oct 16 10:30:15 when I do "modprobe g_serial", my kernel loads libcomposite and g_serial only... Oct 16 10:30:23 not g_multi Oct 16 10:31:26 ah. ok. g_multi includes RNDIS ethernet, CDC ACM serial and mass storage Oct 16 10:31:38 so you want to block loading of g_multi and load g_serial instead Oct 16 10:37:30 not sure if it's enough to just blacklist them under /etc/modprobe.d/ .. used to be but now we have initramfs etc so dunno. Oct 16 12:28:27 CareBear\: ping Oct 16 13:14:45 * WarheadsSE waves Oct 16 13:15:56 panto: that fixed most of the issues for DagoRed yesterday btw. Oct 16 13:16:01 Still issues in 3.12 though Oct 16 13:16:14 WarheadsSE, not surprised Oct 16 13:16:24 Yup. thanks for the pointer on that one. Oct 16 13:16:28 np Oct 16 13:16:38 we've spaend a -legacy package for the 3.8 support Oct 16 13:16:43 * spawned Oct 16 13:47:46 Hi all Oct 16 13:56:20 What distro has entire support for CAN (Controller Area Network) on beaglebone? Are there any tool to test it? How I see if CAN are working..? Oct 16 14:00:39 mh, does the BBB expose CAN? don't remember Oct 16 14:01:32 plm black or white Oct 16 14:02:06 WarheadsSE: Black Oct 16 14:02:19 I try not to assume Oct 16 14:03:06 WarheadsSE: uhh? sorry, I not understand... Oct 16 14:04:50 You didn't say which, there are two models Oct 16 14:04:59 I tried not to assume it was the black, or white, thus asked, Oct 16 14:06:02 Anyone know how to tests the CAN interfaces on BBB? Oct 16 14:07:22 not a clue Oct 16 14:10:37 I can't say i have ever tried it Oct 16 14:10:49 * DagoRed google Oct 16 14:10:56 WarheadsSE: ok. I trying to find documentation about that.. Oct 16 14:11:10 you'd need a dtbo defining the pinmux for it, and then normal CAN interface from the driver perspective should function Oct 16 14:11:12 DagoRed: yes, but very few docs about using CAN on BBB Oct 16 14:12:15 WarheadsSE: sorry, what is dtbo and pinmux? Oct 16 14:12:40 google and or wiki time Oct 16 14:40:40 * RandalSchwartz waves at the channel Oct 16 14:41:09 * KotH colapses RandalSchwartz's wave function Oct 16 14:41:16 Jason will be on http://live.twit.tv/ in about 45 minutes for an interview for FLOSS Weekly Oct 16 14:41:35 if you have anything you want to ask him, there's a chatroom there that I'll be watching Oct 16 14:43:54 "will there be free beer?" Oct 16 14:43:57 heh Oct 16 14:52:56 "will there be swiss chocolate"? Oct 16 14:53:11 "I was told there would be punch and pie!" Oct 16 14:53:33 that sounds good! Oct 16 14:53:51 but i've been already invited for dinner, so i cannot attend. sorry Oct 16 14:59:42 * WarheadsSE sitting in said channel Oct 16 14:59:47 im bored anyways Oct 16 15:00:49 what's up? Oct 16 15:07:46 the celing Oct 16 15:07:54 sometimes also the sky, but not always Oct 16 15:10:55 hi RandalSchwartz Oct 16 15:11:29 Hello Jason! Oct 16 15:12:05 thar he is Oct 16 15:13:19 have a good evening! Oct 16 15:33:14 I had a weird error when trying to remap some memory using ioremap() - Unhandled fault: external abort on non-linefetch Oct 16 15:33:40 Am I missing an option in the kernel or something _ i want to map a pin in as a memory location Oct 16 15:34:27 jkridner: remembered water, I hope Oct 16 15:35:44 exosyst: perhaps that the IP block is not powered and therefore fetching will give errors? Oct 16 15:37:20 keesj, I would expect it to all be powered - I'm mapping request_mem_region (AM33XX_GPIO1_BASE, 0x1000, DEVICE_NAME); where AM33XX_GPIO1_BASE is 0x4804c000 Oct 16 15:37:47 and then trying an ioremap() on the range Oct 16 15:42:58 for DM (on MINIX) I had to enable clocks I haven't tried GPIO1 on AMxxx Oct 16 15:43:12 jkridner: ty for not forgetting ALARM Oct 16 15:43:23 DM on MINIX? Oct 16 15:44:13 I'll enable anything to get this working haha Oct 16 15:44:13 DM37XX a.d. AM335X Oct 16 15:44:28 v.s. Oct 16 15:44:54 ah right - what clocks? Not a normal kernel config I'm guessing if you were on minix :-( Oct 16 15:45:19 http://git.minix3.org/?p=minix.git;a=blob;f=lib/libgpio/gpio_omap.c;h=b51e60b9acbf2f6c8410c955a26a5bf38ae2fb55;hb=master#l458 (something like that) but O linux I would first try to get it to work using the gpio stuff before mapping direclty Oct 16 15:46:52 Hello... Oct 16 15:46:53 I had the pin work via GPIO -> IRQ. I just can't seem to get joy via ioremap Oct 16 15:48:43 "unable to select pin group" means "something else is using these cape pins"? Oct 16 15:49:36 hello, anyone out here can help with a wifi issue?? Oct 16 15:50:26 What I found on google is that to use the CAN Interface on BBB I need a additional hardware, this http://circuitco.com/support/index.php?title=TT3201_CAN_Cape or this http://circuitco.com/support/index.php?title=BeagleBone_CANBus right? Oct 16 15:50:57 anyone? Oct 16 15:52:15 neagle_new: I don't know, you haven't told us what it is Oct 16 15:52:23 neagle_new: have you plugged it in? Oct 16 15:52:30 neagle_new: switched it on and off? Oct 16 15:52:30 glad u responded Oct 16 15:52:39 just set up my brand new BBB Oct 16 15:52:43 got the wifi working Oct 16 15:52:53 but it is very sloooow Oct 16 15:53:04 connecting through putty on my desktop Oct 16 15:53:13 neagle_new:have you tried a usb extension cable Oct 16 15:53:34 u mean the cable it came with? Oct 16 15:53:38 it works with that Oct 16 15:53:39 neagle_new: the rf emitted from the board sometimes interferes with cheap wireless dongles Oct 16 15:53:55 using a dlink dwa 121 Oct 16 15:54:12 it is on the suggested list Oct 16 15:54:17 neagle_new: using an extension cable gets the dongle away from the board and gives less interference Oct 16 15:54:24 ah ok Oct 16 15:54:30 will give it a shot Oct 16 15:54:45 but ur sure its no issue with the configuration Oct 16 15:54:49 of some sort Oct 16 15:54:50 ? Oct 16 15:54:59 neagle_new: I don't know, maybe but probably not Oct 16 15:55:20 just followd the instr on circuitco Oct 16 15:56:32 thank you Oct 16 15:56:46 will try and get back if the prob still persists Oct 16 16:04:03 I upgraded one of my beagleboardblacks a few months ago, to a kernel build on 18 June. The process was disappointing - the upgrade actually blew away the node.js scripts I had on the device. i swear the only thing that survived the upgrade was the root password. Oct 16 16:05:18 Yesterday, I downloaded an upgrade to a kernel built on 04 Sep. These are from Beagleboard.org, BTW, not some third site. Oct 16 16:05:25 The specific load was Angstrom-Cloud9-IDE-eglibc-ipk-v2012.12-beaglebone-2013.07.31.rootfs.tar.xz Oct 16 16:05:45 er, mistake: Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.09.05.img.xz Oct 16 16:06:17 oh, you ran the flasher? Oct 16 16:06:38 well it does exactly what it's supposed to, it reflashes your device, completely Oct 16 16:06:55 Just for clarify: I need some additional hardware to conversation (via CAN) between BBB and the pheriberal that support CAN? Oct 16 16:07:12 Extracted to an 8GB microSD on a host linux system using xzcat, that device then had two partitions, and I booted the device with that. There's NO usb0 - no usb ethernet device when it boots from there. Oct 16 16:07:34 that's correct Oct 16 16:08:53 dm8tbr: the first upgrade sure as fsck didn't _reflash_ -- it ran a bunch of scripts to extract things. If it reflashed, it should be doable on a 2GB flash device. Oct 16 16:09:23 since you could have a kernel and minimal tools, plus the .xz file that could be extracted to the MMC. Oct 16 16:12:28 anyone can help me to understand that? Becouse I see that need a additinoal hardware (know as capes) to communicate with pheriberal via CAN. That is right? Oct 16 16:13:28 http://live.twit.tv .. jkridner live Oct 16 16:14:39 plm: yes Oct 16 16:16:27 plm: http://www.tigal.com/product/2734 Oct 16 16:16:31 would be one example. Oct 16 16:16:59 that cape clearly has more than just a breakout to the DB9 connector. Oct 16 16:17:50 dm8tbr: ohh.. I was thinking that I dont need that capes to communicate between BBB and the pheriberal.. I was thinking that I can use directally that two CAN of BBB to the pheriberal.. Sorry for that mistake! Oct 16 16:18:32 you sort-of could, you'll need the right dtb-overlays Oct 16 16:18:40 but the cape route is simpler/safer Oct 16 16:19:04 splud: ^^ Oct 16 16:22:13 plm: what WarheadsSE said, also the cape has some additional parts. you could just do wire wrap and manual, but a cape would make it much safer Oct 16 16:25:28 Quick Q while on the topic of capes: any good link to a kicad cape layout (basically, all the I.O pins on the Beagle, at the correct spacing and offset)? Since they're directly across from one another, it's got to be a LOT simpler than say, Arduino, which has alignment skew. The bigger deal would be properly identifying each of the pin signals. Oct 16 16:28:53 dm8tbr: ohh so I really dont need the capes. I like that. Well, I will try that, without additional hardware. Look this http://www.aero-box.co.uk/beaglebone-black#TOC-Enable-CANbus-device Oct 16 16:32:11 plm: sure. I'd recommend to look at the cape schematics. you don't want to fry either the board or your CAN device Oct 16 16:40:41 dm8tbr: ok Oct 16 16:40:49 how do i set a timezone not present in the /usr/shr/zoneinfo Oct 16 16:40:52 ? Oct 16 16:42:24 anyone??? Oct 16 16:42:44 sounds like a generic linux/unix question Oct 16 16:43:10 a generic impatient linux/unix question Oct 16 16:43:34 have you tried perusing the internet search engine of your least distrust, yet? Oct 16 16:44:26 yea, I did peruse the internet.... I dint find the answer, dats y im here Oct 16 16:46:40 so why not just manually set it? (tzselect, probably) Oct 16 16:47:06 will chk out tzselect and n bak in a min Oct 16 16:47:07 tks Oct 16 16:47:31 osiris1309: proof you didn't google. Oct 16 16:47:45 http://derekmolloy.ie/automatically-setting-the-beaglebone-black-time-using-ntp/ Oct 16 16:47:49 specific to bbb Oct 16 16:47:50 osiris1309: and while you're at it, try to find some spell correction. Oct 16 16:47:53 thats wat i chkd Oct 16 16:48:15 lol!! u assholes Oct 16 16:48:21 ur not being helpful, ur being dicks Oct 16 16:48:28 if u don wanna help, jus say so Oct 16 16:48:48 kthxbb Oct 16 16:53:55 Hello BBB users, does anyone know what drivers for the SGX work in Debian for OpenGL to use the graphics chip instead of the CPU to run ? Oct 16 16:55:20 still getting backtraces - can I get some light on this http://pastebin.com/trKhacvy - it's erroring with Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa04c134 Oct 16 16:55:42 I'm trying to get P9.12/gpio1_28 to set as an output Oct 16 17:11:35 hey guys, i have a problem with ssh over ethernet to my beaglebone black. i just changed the pins P9_21-P9_24 and P8_07-P8_10 to mode7 inputs (0x27). but now i cannot connect from my windows pc via putty to the beaglebone. Oct 16 17:13:13 anybody thought about making one of these: http://villagetelco.org/ Oct 16 17:14:06 hansolo: hmmm... odd. google turn up anything similar? Oct 16 17:14:43 what is the initial value for these pins? might this be the reason for this? Oct 16 17:17:11 * jkridner checks http://beagleboard.org/support/bone101/#headers to make sure they aren't tied to any hardware causing shorts. Oct 16 17:17:15 i did not find anything in google search an checked up with wireshark, and it seems, the bone gets a request but then nothing happens Oct 16 17:19:10 it sends a ACK, but then nothing happens Oct 16 17:19:41 * jkridner uses https://gist.github.com/anonymous/c15348213eda63c2160b see default pin configs Oct 16 17:25:06 looks to me like all of those pins were configured as mux mode 7 to begin! Oct 16 17:25:24 what is the ssh error? Oct 16 17:25:33 key rejected or no socket? Oct 16 17:25:53 can you still access port 80? Oct 16 17:26:36 after about 5 minutes i get a connection timed out from putty.... Oct 16 17:27:37 hiho jkridner Oct 16 17:27:43 howdy! Oct 16 17:28:48 if i use a terminal from an external PC an type: "ssh root@2.0.0.2" nothing happens... big waiting..... it is strange because it used to work yesterday and the weeks before. Oct 16 17:29:26 jkridner: had not seen that Oct 16 17:29:55 2.0.0.2 official ip? Oct 16 17:31:26 it is Artnet range, that i use for my project. Oct 16 17:32:57 hansolo no ftdi cable for serial console? Oct 16 17:35:20 what does opening a browser to 2.0.0.2 do? Oct 16 17:36:26 i get to beaglebone 101 site... Oct 16 17:36:36 so, Ethernet isn't the issue. Oct 16 17:36:50 hurray :) Oct 16 17:37:00 either dropbear died or ... ? Oct 16 17:37:25 how can check that? Oct 16 17:37:32 there are hacks for running some shell script via the BoneScript server. Oct 16 17:37:39 serial port would be the easy way. Oct 16 17:37:48 hi Oct 16 17:37:52 anyone there Oct 16 17:38:05 what does http://beagleboard.org/support/bone101/dogtag/ tell you? Oct 16 17:40:08 DagoRed: https://gist.github.com/anonymous/c15348213eda63c2160b Oct 16 17:41:35 if i cat /etc/dogtag on the bone itself, it prints cloud9 GNOME Image 2013.05.08 Oct 16 17:42:24 how are you able to cat /etc/dogtag itself if you can't ssh? Oct 16 17:42:45 http://beagleboard.org/support/bone101/restartdropbear/ is an ugly hack I just made for you to restart dropbear... Oct 16 17:43:01 of course, you'll need to provide the 2.0.0.2 IP. Oct 16 17:43:33 i plugged in a monitor and a keyboard to the bone?! Oct 16 17:44:39 oh.... well, then ... try doing 'systemctl enable dropbear.socket; systemctl restart dropbear.socket' Oct 16 17:45:31 ok i'll try this Oct 16 17:47:10 wuhuuuuuu it worked!!! can you tell me what exactly the problem was? Oct 16 17:47:37 thank you so much!! Oct 16 17:50:17 dunno... dropbear crashed... would have to analyze why it crashed Oct 16 17:50:43 thank you anyway! bye! Oct 16 17:50:53 if the problem repeats, we should look into it. Oct 16 17:51:01 btw, you are using a rather old image. Oct 16 17:51:08 hm now he can make his berlin trip Oct 16 17:51:45 if he was the java fx co maintainer Oct 16 17:51:56 I am having troubles with UART4 on the BBB. As soon as I enable the pin, "echo BB-UART4 > /sys/devices/bone_capemrg.#/slots", I start getting lots of random data out of the port. I am not having this issue with any of the other UARTS. I have used fuser to try to find if anything has ahold of the file and nothing.... Anyone been able to enable UART4? Oct 16 17:53:02 hes gone now. Oct 16 18:11:14 what's up/ Oct 16 18:13:05 just pointing out the mux settings, in re prior conversation Oct 16 18:13:43 ahh Oct 16 18:14:58 Are you talking about the mux settings on UART4? Oct 16 18:15:33 WarheadsSE: still, weird mux setting in the dts file for the PWM's. I think it's a pull down resistor value issue or there is an issue with how we're using the embedded counters. Oct 16 18:18:15 maybe Oct 16 18:26:57 If someone has requested my memory region, is there a way to share it? Oct 16 18:27:23 cat /proc/iomem shows: 4804c000-4804cfff : 4804c000.gpio Oct 16 18:28:08 and I want to map it in so I can drive some gpio (this was what was causing my earlier errors) Oct 16 18:29:19 Would I have to remove gpio1 from the device tree? Oct 16 18:36:12 Trying to install Ubuntu Studio 12.04 on my BBB (bought last week from Amazon). Downloaded 32 bit tar, unpacked, burned .img to SD, inserted card into BBB, held boot button down and powered up - but nothing happens (waited 5 full minutes). Can I put US12.04 on BBB? If so, am I following wrong procedure? Oct 16 18:36:45 32bit tar? Oct 16 18:37:38 yes - tried both 32 bit iso and 32 bit tar with same result Oct 16 18:39:01 que what.. iso? Oct 16 18:39:22 dude, did you download x86 images of ubuntu and tried to boot them on the BBB? Oct 16 18:39:39 sry, bluesman but LOL Oct 16 18:40:14 bluesman, the BBB is of the ARM architecture not 32 bit Oct 16 18:40:28 to be fair, it's a 32bit arm :) Oct 16 18:40:47 yeah, just taught of that when pushing enter Oct 16 18:40:51 but its not x86 Oct 16 18:40:52 http://circuitco.com/support/index.php?title=Ubuntu_On_BeagleBone_Black Oct 16 18:41:01 that's a nice place to start Oct 16 18:42:26 Ubuntu Studio's only available as 32 bit and 64 bit iso and torrent - I assumed that referred to the machine on which it's being downloaded, unpacked and burned to SD. Oct 16 18:42:48 nope its reffers to the target machine Oct 16 18:43:39 bluesman: read, understand and follow to the letter the link I gave you :) Oct 16 18:43:50 if you really want to run ubuntu Oct 16 18:44:39 PERSONALLY, I would advise against go with a do-it-all bloated distro like Ubuntu when on a constrained embedded platform like the BBB but whatever floats your boat Oct 16 18:45:26 Thanks, Vaizki! But that's exactly what I did (I think). Oct 16 18:45:44 did you download one of the images linked from the page? Oct 16 18:45:58 i.e. one of these: http://www.armhf.com/index.php/download/ Oct 16 18:47:03 I like US's audio package. I'm trying to set up my BBB to replace a PC-based recording and playback machine I built several years ago. US offers what looks like a great player, along with recording software. It just may be too good to be true on a BBB. Oct 16 18:47:41 Yes - this one: ubuntu-precise-12.04.2-armhf-3.8.13-bone20.img.xz Oct 16 18:48:52 that image should work Oct 16 18:48:57 bluesman: you're making a DAW out of the BBB= Oct 16 18:49:24 I'm sure trying! Oct 16 19:05:39 Anyone have any idea why I am getting random data out of UART4 on BBB? It happens from right when I config the pin with the device tree and wont stop Oct 16 19:18:17 hrm, qemu supports beaglexm but not beaglebone it seems Oct 16 19:23:32 so yeah - I definitely can't poke at memory locations controlled by the gpio1 bank :( Oct 16 19:24:31 exosyst: why not just used the gpio subsytem driver? Oct 16 19:24:47 Instead of poking around at memory with tools like devmem Oct 16 19:25:15 Anyone have experience with using Debian on the BBB ? I have OpenGL installed on the BBB on Debain using the mesa libraries but I wanted to know how to get hardware acceleration turned on Oct 16 19:25:58 WarheadsSE, I wanted an example of controlling something using ioremap() and the GPIO were the best candidate. Oct 16 19:26:12 It worked on the 3.2 non-DT kernel on the BBW Oct 16 19:28:04 Suggestions for a good example of ioremap() on the BBB welcome gang Oct 16 19:29:40 exosyst, using direct memory access for gpio toggling is a bad idea Oct 16 19:29:42 don't do it Oct 16 19:29:58 there's a perfectly fine working gpio subsystem Oct 16 19:30:11 I appreciate that but I want to demo ioremap() to some students Oct 16 19:30:25 don't Oct 16 19:30:39 use it for a different use case Oct 16 19:30:48 cause they'll graduate thinking this is acceptable practice Oct 16 19:32:41 Is there an existing driver that uses ioremap nicely on the BBB already I can walk them through as most of the pins coming out of P8 and P9 aren't going to be grabbable from my understanding Oct 16 19:33:54 well, almost all drivers use ioremap to map their peripheral address space Oct 16 19:40:21 panto, So based on what's available on the bone - and without breaking anything - you're suggesting I don't use ioremap() for bashing pins around Oct 16 19:40:31 no Oct 16 19:40:41 instead - point at a few of the drivers using it already Oct 16 19:41:25 first of all, I want to make sure that we're talking about using ioremap in the kernel, and not in user space Oct 16 19:42:55 kernel space Oct 16 19:44:33 ok Oct 16 19:44:34 phew Oct 16 19:45:18 drivers/gpio/gpio-omap.c Oct 16 19:45:26 bank->base = devm_ioremap(dev, res->start, resource_size(res)); Oct 16 19:47:26 panto - thanks a bunch, I'll walk the guys through that code Oct 16 19:47:51 and it's the same gpio driver Oct 16 19:48:36 if you want to make it harder to them ask them to explain why using ioremap and toggling bits for gpio is bad Oct 16 19:49:29 Hmm - as the instructor that gives me pause - I only foresee things like read/modify/write being issues operations? Oct 16 20:17:58 unchecked idiocy = fried hardware, thats what Oct 16 22:56:39 can anyone tell me why { .compatible = "linux,spidev" }, is added on spidev.c here http://elinux.org/BeagleBone_Black_Enable_SPIDEV ? Oct 16 22:58:14 if that one was not added, what would not work? Oct 16 23:59:25 so I upgraded my bbb & can't see the info hosted at http://192.168.7.2 .. or ssh Oct 16 23:59:45 I upgraded to the latest angstrom by the way is that normal? Oct 17 00:24:49 happyGilmorian: 1 sc Oct 17 00:25:19 http://beagleboard.org/support/bone101/restartdropbear/ Oct 17 01:07:28 are there any premade gentoo image files i can burn to a fash for my shiney new xm? Oct 17 01:23:09 probably not mark4_. we don't tend to do premade images, but i'm sure there are instructions for making one Oct 17 01:25:34 there are for the beagle board. will that work for the xm? Oct 17 01:34:18 probably Oct 17 02:46:19 Has anyone been able to get debian to boot on a USB device? Basically, i would assume the boot sector would be on the SDcard, but everything else on a USB (SSD in my case)? My issue is getting the uboot portion to work… I have everything fdisk'd and i rsynced everything to the usb, but i don't know what to do with the uEnv.txt file ... Oct 17 02:46:23 Anyone have any tips? Oct 17 02:53:27 sure, it's easy if you just leave the, MLO/u-boot.img/zImage on the microSD.. Then you don't also have to worry about configuring u-boot to load the kernel froma usb device.. Oct 17 02:53:40 WarheadsSE, thanks :D Oct 17 02:55:17 rcn-ee: I play on keeping it on the microSD. My goal is to run everything else off my usb/ssd. If i don't change anything, i think it's still running on the microSD … how to i point it to run on the usb instead? Oct 17 02:55:42 do i change the fstab on the microsd or the usb rsync'd copy? Oct 17 02:56:20 just make sure in your uEnv.txt you point to /dev/sda1 (or whatever partition it is now) and update your fstab on your usb drive Oct 17 02:56:34 that's all i've ever done. Oct 17 02:57:19 as long as your usb bus is abuilt as a module (or you also load a initfs) it should discover the usb device and use it as root.. Oct 17 02:58:24 to be really lazy, just start again with my netinstall script, and at the partition stage select the usb drive, everything will be taken care of in the background.. Oct 17 02:58:42 your net install script rules.. thanks Oct 17 02:59:28 thanks, i need to update this week, we have a new "image" for debian 7.2 and saucy will be out (but only kms based targets seem to work, not sure how i'm going to warn on that one..) **** ENDING LOGGING AT Thu Oct 17 02:59:58 2013