**** BEGIN LOGGING AT Wed Apr 08 02:59:59 2015 Apr 08 03:24:07 hello I am getting spl_load_image_fat_os: error reading image args, err - -1 on my serial console Apr 08 03:24:11 what does that mean? Apr 08 03:28:33 ? Apr 08 03:41:36 hello Apr 08 06:32:55 after power-on BBB stopped working Apr 08 06:33:14 the center two leds stay on, what does this mean Apr 08 06:33:15 ? Apr 08 06:37:41 hello I got "spl_load_image_fat_os: error reading image args, err - -1" Apr 08 06:38:00 can anyone explain about that? Apr 08 06:43:09 pastebin the whole log Apr 08 08:21:29 ok, this is my first time I have a faulty BBB Apr 08 08:22:02 it starts with the two middle leds on Apr 08 08:22:18 where can I read what it means? Apr 08 08:22:42 is it like the bios beeping three times, meaning the memory is faulty? Apr 08 08:22:55 or maybe its the eMMC Apr 08 08:24:36 nivw: get an sd card with a non flashing image Apr 08 08:24:42 and boot from SD Apr 08 08:24:50 ok, thanks av500 Apr 08 08:25:11 I didn't want to advance before getting some feedback Apr 08 08:25:25 its really hard to kill a BBB Apr 08 08:25:29 unless you use 12V Apr 08 08:25:47 one can short pins.... Apr 08 08:25:56 that will surly kill it Apr 08 08:26:35 second issue: small wifi usb dungles Apr 08 08:28:05 I have the Edimax EW-7811UN, this can't run a combination of virtual wireles devices Apr 08 08:29:29 TP-Link TL-WN722N can run an access point device and a wireless clent at the same time Apr 08 08:29:38 but it is too big Apr 08 08:30:02 is anyone here using a similar device and can report the iw list for it? Apr 08 08:51:49 where can I find the changelog of kernel versions? Apr 08 09:11:12 hi guys, I have a urgent question: is it possible on BBB to use the usb-client connector as usb host? Apr 08 09:12:11 I am running debian 3.8.13 on my BBB Apr 08 09:12:28 why woldnt you use one of the host connector ? Apr 08 09:12:48 BennyB_: yes and no Apr 08 09:13:15 some soldering might be needed Apr 08 09:13:34 its on google somewhere IIRC Apr 08 09:14:37 because I cannot plug in something because the connector is blocked Apr 08 09:15:28 soldering is not possible for me. we need this for series production Apr 08 09:16:28 I found this: will it work? or is it a useless try? Apr 08 09:16:29 https://groups.google.com/forum/#!topic/beagleboard/Mbaa5tsdfOk Apr 08 09:16:30 well, "production" implies something being produced Apr 08 09:16:44 so it might inlcude soldering Apr 08 09:17:21 it says the 'am33xx.dtsi' file needs to be modified Apr 08 09:18:02 hm, what soldering do you mean? is it complicated? Apr 08 09:18:53 https://pansenti.wordpress.com/2013/05/27/beaglebone-black-with-two-usb-host-ports-it-can-be-done-but-its-not-easy/ Apr 08 09:18:59 its all in the link you posted Apr 08 09:19:24 av500: link is brök3n Apr 08 09:19:26 yes but the site is dead Apr 08 09:19:47 if something doesn't fit the host connector it would probably be less trouble to get a short USB-A extension Apr 08 09:19:52 https://web.archive.org/web/20140218193412/http://pansenti.wordpress.com/2013/05/27/beaglebone-black-with-two-usb-host-ports-it-can-be-done-but-its-not-easy Apr 08 09:19:53 hah, wayback machine got it Apr 08 09:19:57 its not broken Apr 08 09:19:59 just resting :) Apr 08 09:20:11 yes.. i*ll read this Apr 08 09:20:41 so for it to be host, it needs 5V Apr 08 09:20:47 of course you could supply the 5V externally Apr 08 09:20:51 with a Y cable or so Apr 08 09:20:58 then you need to ground the ID pin Apr 08 09:21:10 not sure that is really needed, it might be possible to override that in SW only Apr 08 09:21:24 and you said "blocked" which i completely misinterpreted, it's late/early Apr 08 09:22:34 the port is blocked through some external sensor which is mounted in our "enclosure" in the way Apr 08 09:23:14 i figured that out eventually :D Apr 08 09:23:45 then it means you can just solder another usb-A connector in parallel Apr 08 09:23:54 instead of the OTG port Apr 08 09:24:56 as there does not seem to be a pure SW solution... Apr 08 09:27:51 ok, i will try to solder the solution from the wordporess blog mentioned above Apr 08 10:25:51 hm it says that a microsd card is shipped with beaglebone black Apr 08 10:25:54 but I can't see it Apr 08 10:28:00 Ad0: no card is shipped Apr 08 10:28:04 where does it say that? Apr 08 10:30:55 quick start av500 Apr 08 10:31:58 "Use the provided microSD card to SD adapter or a USB adapter to connect the SD card to your computer. Apr 08 10:36:49 BUT the onboard flash is 4 GB Apr 08 10:37:04 so what should i do ? Apr 08 10:37:50 Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l Apr 08 10:38:55 Description: Debian GNU/Linux 7.4 (wheezy) Apr 08 10:39:36 seems like it has everything I need though Apr 08 11:05:39 hi Apr 08 11:06:18 anybody in the this space ship Apr 08 11:10:46 kiamesdavies: nope, ship has been abandoned due to xenomorphs aboard. Apr 08 11:12:56 Ad0: they mean the "microsd card to sd adapter" provided with your microsd card Apr 08 11:14:39 ok Apr 08 11:15:02 how does the onboard flash work vs microsd, how should stuff be arranged? Apr 08 11:15:13 I guess the flash is most durable and that stuff should be on there mostly right Apr 08 11:23:41 like what is the right way to get going on the bb ? is it creating an own user? or operating as root? Apr 08 11:56:11 please do anybody know if i can actually use BBB to play a video of 720p on 1280 * 1024 screen resolution Apr 08 11:57:06 "depends" Apr 08 11:57:39 @LetoThe2nd depends on what please Apr 08 11:57:56 fullscreening the flash video on a youtube page wont work, for example Apr 08 11:58:42 am actually planning on using the media player on JavaFX Apr 08 11:59:02 sounds even worse. Apr 08 11:59:26 seriously ? Apr 08 11:59:34 why is that please ? Apr 08 11:59:38 but i'm no java(fx) or browser guy, so thats only my biased opinion Apr 08 12:00:12 well the bbb is a) not a media player b) browser engine + java + codec sounds like an awful lot of overhead Apr 08 12:00:53 rule of thumb could be: if it works performantly enough on a PIII/500MHz generation pc, then it probably will also on the BBB Apr 08 12:01:47 I doubt that many PIII had 1GB RAM Apr 08 12:02:54 Humpelstilzchen: but the raw processing power is about the same order of magnitude (IMHO, no guarantees, people who know better please step up) Apr 08 12:03:18 and browser + java + codec just screams "please CPU save me" Apr 08 12:04:05 It will be easier for me getting an Antimatter than a PIII system right now Apr 08 12:04:39 * LetoThe2nd will happily trade antimatter for a PIII, if the antimatter is safely contained. Apr 08 12:13:06 haha Apr 08 13:34:08 hi, what causes the networking over usb module to load? Apr 08 13:34:15 I don't see it in dev rules Apr 08 13:34:32 * KotH has a deja vu Apr 08 13:36:49 koth hm yesterday he asked if it is in udev Apr 08 13:37:45 * KotH tries not to burden his feeble brain with all the details of questions asked in #beagle Apr 08 13:38:05 sorry, Apr 08 13:38:44 my problem is that I have debian 8.0 on one BBB and when I connect a usb to the laptop, I have no connection to the board Apr 08 13:39:10 have you connected a serial cable and looked at what the BBB does? Apr 08 13:39:13 on another board I see the networking to the board works fine Apr 08 13:39:25 have you connected a serial cable and looked at what the BBB does? Apr 08 13:39:31 no, I will soon buy this cable Apr 08 13:39:39 ok, come back after you have done that Apr 08 13:39:58 I noticed the g_multi module is loaded in lsmod Apr 08 13:39:58 we will not able to answer your question before that Apr 08 13:40:38 KotH well, I asked here because someone in in charge of the image Apr 08 13:40:51 and she should know how this is loaded Apr 08 13:41:51 well, i dont know who is in charge of that image and whether that person is even here Apr 08 13:41:52 I do see a related file in /etc/init/failsafe.conf Apr 08 13:42:11 my guess would be that no person is really in charge and even if there would be someone, he/she is not here Apr 08 13:43:18 Hello Apr 08 13:43:45 selam Apr 08 13:44:51 what's the compatible board with "BeagleBone Weather" ? Apr 08 13:51:58 I changed the eth0 to a fixed IP but I can't bloody ping it Apr 08 13:52:40 damn I guess I forgot "auto" Apr 08 13:57:22 is it supposed to take like 10 seconds to bring up the eth0 Apr 08 13:58:39 * KotH has no idea Apr 08 13:58:42 probably not Apr 08 13:59:07 but then, you never know what a modern, systemd based linux system is actually doing Apr 08 13:59:20 it could be working on establishing skynet and we wouldnt notice Apr 08 14:01:17 hm still doesnt work Apr 08 14:13:54 hi rcn-ee: Apr 08 14:14:12 how is g_multi loaded? Apr 08 14:14:25 I see no udev rule Apr 08 14:14:35 is there a service that loads it on boot? Apr 08 14:14:52 nivw, it's called by the "generic" init script... Apr 08 14:14:54 I am reffering to networking over the mini usb port Apr 08 14:15:10 the script that enables g_multi is under /opt/script/boot/am335x*.sh Apr 08 14:15:22 I installed your debian 8.0 image and this functionality is missing, so I wanted to repair it myself Apr 08 14:15:34 thanks Apr 08 14:15:50 how is this script called by the bbb? on boot? Apr 08 14:16:30 correct, i have a generic init script for all boards, it detects what board is running then runs a board specfic script.. Apr 08 14:16:30 hello? Apr 08 14:17:00 thank you very much Apr 08 14:17:24 can someone help me, i tried to directly connect my BB to my laptop using cross cable, but it has no IP and cant be accessed.. Apr 08 14:17:54 did you connect using ethernet ? Apr 08 14:18:02 yes.. Apr 08 14:18:29 are you running a dhcp server on your latop on the ethernet port? Apr 08 14:18:42 s/latop/laptop/ Apr 08 14:18:56 not sure how do I check? Apr 08 14:19:20 most likely you don't have it Apr 08 14:19:47 guess so.. so what do i do? i'm running windows Apr 08 14:19:55 please google on how to run a dhcp server on the laptop ehthernet port Apr 08 14:20:10 o Apr 08 14:20:37 I have last used windows 10 years ago, good luck serving dhcp on windows Apr 08 14:20:38 ok will try that Apr 08 14:20:59 another option on linux laptops, is using avahi Apr 08 14:21:16 assume you have avahi installed on both computers Apr 08 14:21:30 wait i have linux on my laptop if it is easier i will just use linux Apr 08 14:21:43 and assume your BBB is called arm, you should be able to ping arm.local from the laptop Apr 08 14:22:31 avahi, will assign an IP address, if it doesn't get any address, and this way both sides will be able to estalish communacation Apr 08 14:26:18 hello nivw i managed to turn on dhcp server on my laptop following this tutorial Apr 08 14:26:20 http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/make-windows-7-act-as-a-dhcp-server/8ff345f2-99b5-4670-bb6f-32d7bb63de3c Apr 08 14:26:45 but now when I connect through ssh it says connection refused (using putty ssh client) Apr 08 14:27:14 very good! Apr 08 14:27:31 now you need to sort out your user and password Apr 08 14:28:13 sounds good, how do I do that? Apr 08 14:28:29 does debian/temppwd work? Apr 08 14:29:30 i got no password form.. Apr 08 14:30:02 after you connect, enter your password Apr 08 14:31:10 there is nothing, it simply said connection refused, but I'm able to ping it that means i'm connected right Apr 08 14:31:30 yep Apr 08 14:32:01 hold on gonna try openssh Apr 08 14:42:26 got "ssh: connect to host 192.168.137.1 port 22: Connection refused" on openssh, maybe i should remove and reinstall ssh server on my BB.. Apr 08 14:43:11 but connecting through ethernet-over-usb works fine.. Apr 08 14:43:30 are you sure you are not sshing your own laptop? Apr 08 14:43:37 what is your laptop IP addresss? Apr 08 14:49:05 no its the IP address on ethernet connection which is my BB, my laptop LAN address is 169.254.123.171 Apr 08 14:58:53 rcn-ee: where is generic-startup.sh called from? Apr 08 14:59:07 its not in uEnv.txt and not in /etc/rc.local Apr 08 15:00:45 nivw, what version? cat /etc/dogtag ? (originaly it was under /etc/init.d/ but i moved it to a systemd startup service..) Apr 08 15:01:11 BeagleBoard.org Debian Image 2015-03-08 Apr 08 15:02:22 /etc/init.d/generic-boot-script.sh Apr 08 15:02:54 thanks Apr 08 15:03:31 just to make a note here Apr 08 15:04:04 I intend to build a small package to solve the end user setting up a ssid and password for a new BBB Apr 08 15:04:23 assume I want to use a BB with no keyboard and screen Apr 08 15:04:54 I want to run a web app on it and control it that way as an end user , like in open sprinkler Apr 08 15:05:41 my program will be installed on the BBB, then it uses the wifi usb to setup an access point and serve a web page Apr 08 15:05:53 nivw, jason had a dream for a web based gui to setup wifi ssid/password/etc.. hostap is usually installed by default.. Apr 08 15:06:16 in that web page the end user will enter the wireless network name and password Apr 08 15:06:30 it will then connect to that network Apr 08 15:07:00 in case the ath9k_htc is used we will have two virtual interfaces working at the same time Apr 08 15:07:14 correct.. So if you assume hostap/node.js is already installed, it's just putting a web page/script together. ;) Apr 08 15:07:23 one will now be connected, but the other will still serve an access point Apr 08 15:07:33 to chnage the network config Apr 08 15:07:58 right, and this is very useful IMHO Apr 08 15:07:59 well, i was thinking, it would be a one shot deal.. (unless it failes to connect), enable hostap, you connect to it, it disables hostap and tries to connect to ap.. Apr 08 15:08:27 I am asking as I assumed someone already solved this, bt don't know how to search for it in googl Apr 08 15:08:35 so I will write it Apr 08 15:08:42 I intend to use connman Apr 08 15:08:59 well, in jessie, connman is default for bb.org. ;) Apr 08 15:09:07 right Apr 08 15:10:09 only issue I found is the usb wifi stick with an ath9k_htc is big Apr 08 15:10:35 ok, must to go home Apr 08 15:10:41 yeah, you won't find any mini "ath9k"'s... but unlike those "other" smaller usb's ... they actually work... Apr 08 15:10:59 I agree Apr 08 15:11:31 ok, have a good one. Apr 08 15:11:35 take care Apr 08 15:26:06 hi, I only wanted to mention that my modification works. Apr 08 15:26:57 the soldering and the kernel modification which is needed to make the mini-usb act as host does work. Apr 08 15:29:56 good Apr 08 15:30:02 now write a new blog post :) Apr 08 15:52:40 where is the naming of pins ? Apr 08 15:52:44 in the bonescript Apr 08 15:53:28 P8_X?? Apr 08 16:47:04 has anyone been able to get a current qt gui running on bbb debian? currently i'm getting errors running due to outdated glibc on wheezy (i think). it's asking for 2.17 Apr 08 16:50:49 yes finally blinking diode Apr 08 17:40:48 I am using the last debian 8.0 image and used the 3.14 ti kernel and now the 4.0 rc7 Apr 08 17:41:03 when I run iw list , a get noting Apr 08 17:41:10 no error, just nothing Apr 08 17:41:17 yet I have a wlan0: Apr 08 17:41:37 Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. Apr 08 17:41:50 iw version is 3.17 Apr 08 17:42:14 on my laptop running 3.14 - iw lists the wifi device option Apr 08 17:42:22 firmware installed? Apr 08 17:42:57 firmware-realtek, i think you'll want Apr 08 17:43:19 cityLights, uname -r? CONFIG_RTL8187=m is enabled.. Apr 08 17:44:19 err, that's CONFIG_R8188EU=m Apr 08 17:46:39 lsmod shows it is loaded Apr 08 17:51:05 the wlan0 interface will show up when it's loaded but doesn't have the firmware ... Apr 08 17:51:13 when the module is loaded Apr 08 17:56:14 yep makes sense Apr 08 18:05:08 firmware-realtek was already installed Apr 08 18:05:22 hrm. Apr 08 18:05:32 dmesg | grep firmware Apr 08 18:05:44 nothing Apr 08 18:05:52 * vagrantc shrugs Apr 08 18:07:27 usbcore: registered new interface driver r8188eu Apr 08 18:11:58 ok, when I plugged the rtl8192cu iw list works Apr 08 18:12:43 a different adapter, or different module? Apr 08 18:13:13 a different adapter Apr 08 19:00:55 can I remotely code on node.js with autocompletion ? Apr 08 19:13:35 Ad0: if you have an IDE that supports javascript Apr 08 19:35:19 thurgood_: how are people typically developing using bonescript? Apr 08 19:35:54 not sure, to be honest I mostly program in c/c++ Apr 08 19:38:33 bonescript offers an easier path for beginning coders Apr 08 19:52:58 hello Apr 08 19:53:02 KotH: hi Apr 08 19:53:42 thurgood_: cool what dev tools do you use ? Apr 08 19:55:49 do you work locally or do you work remotely via SSH? Apr 08 20:12:35 do you recommend Debian for eMMC flash ? Apr 09 00:20:36 hey Apr 09 00:21:07 I'm trying to memory map my gpio ports on the BBB and i'm having trouble finding the /dev/mem location... Apr 09 00:21:14 its just... not showing up Apr 09 00:21:19 can anyone help? Apr 09 00:55:50 i'm having trouble loading new os (arch) from sd card. I tried two slightly different procedures (one directly from the arch arm site, the other a pre-made script). i either get all leds on or all off, nothing more. does either situation mean anything other than there's something wrong? Apr 09 00:57:10 serial would tell you more, but best guess is you're skipping a step somewhere. Apr 09 00:58:05 i'd avoid the arch install scripts floating around, they're usually outdated by the time you see them Apr 09 00:59:37 only thing i can think is that the "official" doc makes the second partition take up the entire sd card. my sd card is 4g, while both my bbb's are 2g models Apr 09 01:00:13 doesn't matter, you're just untarring a filesystem Apr 09 01:00:18 hi guys to power the beaglebone black through the pins i would need to apply 5v to the sys5v rail? what happens if 5v is applied to vdd? Apr 09 01:05:54 Isn't Vdd supposed to be 3.3V on the BBB? Apr 09 01:07:18 endrift, http://www.digikey.com/en/articles/techzone/2013/sep/~/media/Images/Article%20Library/TechZone%20Articles/2013/September/BeagleBone%20Black%20Brings%20Arduino-Style%20Connectivity%20Simplicity%20to%20Embedded%20Linux/article-2013september-beaglebone-black-brings-arduino-fig3.jpg depends on the vdd pin Apr 09 01:07:56 I thought the Vdd 5V pins were just the USB power pins, but that's SYS_5V in this picture, hm Apr 09 01:10:19 is anyone able to shed some light on why I cannot acces the /dev/mem folder on my BBB when trying to memory map the gpio ports? Apr 09 01:11:18 whats the full filepath to get there? I'm wondering if i'm trying the wrong path to get to it? Apr 09 01:13:02 /dev/mem is a device, not a directory Apr 09 01:16:53 Bunny_: GPIO is in /sys/class/gpio/ Apr 09 01:17:57 i'm looking at some code that uses the c command open("/dev/mem") Apr 09 01:18:06 and its not working... Apr 09 01:18:18 it fails to open and then gives an error "segmentation fault" Apr 09 01:18:43 sounds like that c code is nowhere close to right Apr 09 01:19:08 uh... it works on every piece of code listed online to enable memory mapping... Apr 09 01:19:48 in that case how can I access /dev/mem to memory map the damn thing? Apr 09 01:20:30 it also compiles fine Apr 09 01:20:43 when running on the BBB is when it gives the error Apr 09 01:21:09 compilation is not a good measure of whether or not code works Apr 09 01:21:19 well fair enough Apr 09 01:21:36 how can i access it to memory map my ports then? Apr 09 01:21:51 dunno if it makes a difference by I'm using a Debian image on the board Apr 09 01:22:33 I'm not too familiar with how to do memory mapped GPIO, so you might want to wait for someone else who knows better than I Apr 09 01:23:33 Bunny_: are you running your program as root? non-root users cannot access /dev/mem Apr 09 01:23:49 checking that now Apr 09 01:23:51 thanks Apr 09 01:24:26 is there a difference between running it as root and running it with the sudo command? Apr 09 01:25:48 I wouldn't think so Apr 09 01:25:59 hm... Apr 09 01:26:50 well running it with sudo made my segmentation error go away but it still fails the if statement Apr 09 01:26:51 int mem_fd; if ((mem_fd = open("/dev/mem", O_RDWR|O_SYNC) ) < 0) { printf("can't open /dev/mem \n"); } Apr 09 01:29:13 try sticking a perror(); before the printf, or print the value of mem_fd and work out what error number it is Apr 09 01:33:20 I put the perror() in and its no longer failing the if statement O.o Apr 09 01:34:19 odd Apr 09 01:36:25 looks like its just flat out refusing to enter the if statement now... Apr 09 01:52:59 thanks smurray for the help - i think i have that part working now at least :P **** ENDING LOGGING AT Thu Apr 09 02:59:58 2015