**** BEGIN LOGGING AT Wed Nov 13 02:59:58 2013 Nov 13 05:30:27 Why are *all* the firmware cape overlays compiled in to the kernel with CONFIG_FIRMWARE_IN_KERNEL on angstrom? Nov 13 06:21:54 i compiled media-ctl under ubuntu. when I try to run the media-ctl. it says that "-sh: ./media-ctl" Nov 13 06:22:22 anyone can help me Nov 13 06:22:53 router: strace it Nov 13 06:24:42 dm8btbr how? Nov 13 06:25:04 nvm Nov 13 06:25:09 "strace ./media-ctl" Nov 13 06:25:11 thx you. i am looking up on strae Nov 13 06:26:39 dm8btr: it says "execve("./media-ctl", ["./media-ctl"], [/* 15 vars */]) = -1 ENOENT (No such file or directory)" Nov 13 06:27:18 the file is there., I can "mv media-ctl m" Nov 13 06:27:23 but why says no such file Nov 13 06:28:15 probably wrong libc Nov 13 06:28:25 yup. Nov 13 06:28:59 how do I link to correct libc? Nov 13 06:30:31 by using the toolchain that matches your target Nov 13 06:30:43 dm8tbr:i am using arm-none-linux-gnueabi Nov 13 06:31:28 dm8tbr: this is my compile command "ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- ./configure --with-kernel-headers=/usr/arm --build=arm --host=i486 " Nov 13 06:34:30 dm8tbr:thx. I will check out. Nov 13 07:38:43 hi all does anyone compile an c++11 project with the cross compiler to angstrom linux ? Nov 13 08:31:16 moin woglinde Nov 13 09:08:11 hello Nov 13 09:08:40 is there a way to remove a file from bootsector of beaglebone microSD card Nov 13 09:53:10 Hi, on BBB there are 4 GPIO(1_28,1_18,1_16,1_19) activate of default. How I can to activate other GPIO? for example 1_17 ? Nov 13 09:53:17 with a Device Tree? Nov 13 09:56:47 google is your friend Nov 13 09:56:51 and the bbb wiki Nov 13 09:58:43 woglinde: i dont find this if no i dont write here Nov 13 09:58:45 :) Nov 13 09:59:25 okay you will not ask any questions here this day when I show you where in the wiki the link is Nov 13 09:59:42 deal? Nov 13 10:01:42 gm das Nov 13 10:03:14 no :) Nov 13 10:06:24 I want to swap the colors of LCD4 cape (red and blue). I am unable to find which driver I need to edit. Can anyone help me, which video driver is used by LCD4 cape ?? I am using ubuntu12.04LTS (3.8 kernel) with Beagle bone black board. Thank you. Thank you. Nov 13 10:11:58 finally got media-ctl working Nov 13 10:13:03 kd_ first you should find out which kernel you are using Nov 13 10:13:42 2nd choose the right branch from here https://github.com/beagleboard/kernel Nov 13 10:15:26 @woglinde I told in my question that I am using 3.8 kernel Nov 13 10:16:52 router: for the sake of public IRC logs, what was the solution? Nov 13 10:17:17 (someone else will for sure run into this and might find it through a search engine) Nov 13 10:20:57 dm8tbr: my kernel was build with "ti-sdk-beagleboard-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf" Nov 13 10:21:25 the kernel should have nothing to do with that Nov 13 10:21:36 and I build with arm-linux-gnueabi. Nov 13 10:21:43 but if your USERSPACE was built ARM-hf, then yes Nov 13 10:21:49 and i build media player with arm-linux-gnueabi Nov 13 10:22:24 woglinde I know which kernel I am using, I am also have kernel source, my quetion is which framebuffer or video driver used by LCD4 ?? so I can swap colors editing that driver. Nov 13 10:22:24 it is kernel 3.3.7 Nov 13 10:22:52 then i build with arm-linux-gnueabihf and it was Nov 13 10:22:54 work Nov 13 10:22:55 works Nov 13 10:24:45 video driver is for cams normaly Nov 13 10:24:54 it should be framebuffer Nov 13 10:26:19 woglinde , yes, I want to know which framebuffer driver for LCD4 cape Nov 13 10:35:04 hi, i have a problem with my BBB. i cant connect y pc to Board with SSH connection Nov 13 10:35:31 yesterday was all ok... today is impossible open a terminal on BBB Nov 13 10:37:23 any help for me? Nov 13 10:37:44 Can you ping the ip? Do you have a serial debug cable? Nov 13 10:38:13 Do the lights act normal? Nov 13 10:38:19 yes Nov 13 10:39:05 i can ping 192.168.7.2 from my pc Nov 13 10:39:20 i have a usb cable Nov 13 10:40:20 do you have the serial cable? Nov 13 10:40:21 Connecting to SSH2 server 192.168.7.2:22. Nov 13 10:40:21 11:39:47.339 Connection failed. Connect() failed: Windows error 10061: Impossibile stabilire la connessione. Rifiuto persistente del computer di destinazione. Nov 13 10:40:33 no i havent Nov 13 10:42:01 best to order that, I think I had the same issue and had to remove the rsa key in /etc/dropbear/ Nov 13 10:45:13 on pc? Nov 13 10:45:16 with the FTDI cable, you would be able to go back in and check what's going on Nov 13 10:45:16 or on BBB Nov 13 10:45:17 Quinto: try ssh -vvv Nov 13 10:45:20 no on the BBB Nov 13 10:45:45 i'm trying it from windows Nov 13 10:45:52 i must open VM Nov 13 10:46:44 frv_: OpenSSH_5.3p1 Debian-3ubuntu3, OpenSSL 0.9.8k 25 Mar 2009 Nov 13 10:46:44 debug1: Reading configuration data /etc/ssh/ssh_config Nov 13 10:46:44 debug1: Applying options for * Nov 13 10:46:44 debug2: ssh_connect: needpriv 0 Nov 13 10:46:44 debug1: Connecting to 192.168.7.2 [192.168.7.2] port 22. Nov 13 10:46:45 debug1: connect to address 192.168.7.2 port 22: Connection refused Nov 13 10:46:45 ssh: connect to host 192.168.7.2 port 22: Connection refused Nov 13 10:47:03 seems it's not running at all Nov 13 10:47:49 i have serial cape.. is possible use Uart2 for debug? Nov 13 10:48:11 anyone to help..???????//// Nov 13 10:48:34 i can modify uEnv.txt on Beagle! Nov 13 10:48:52 is possible? Nov 13 10:50:40 Biodragon: ? Nov 13 10:52:58 yes it's possible Nov 13 10:53:05 Biodragon: how? Nov 13 10:53:14 what i must insert on my uEnv.txt? Nov 13 10:53:15 plz Nov 13 10:54:07 Quinto: nmap Nov 13 10:55:02 frv_: on my pc? Nov 13 10:55:15 yes Nov 13 10:57:21 what must you insert in uEnv.txt to achieve what? Nov 13 10:57:40 at the moment, you are unable to access the BBB and don't have a serial FTDI cable Nov 13 11:00:26 Biodragon: i have BBB disk Nov 13 11:00:34 i view BBB disk Nov 13 11:00:42 with Env Nov 13 11:05:46 frv_: i have some problem with nmap Nov 13 11:08:49 Quinto: what kind of pb ? Nov 13 11:12:53 frv_: is impossible connect VM to internet Nov 13 11:27:11 frv_: ok:lucid@ubuntu:~$ nmap 192.168.7.2 Nov 13 11:27:11 Nov 13 11:27:11 Starting Nmap 5.00 ( http://nmap.org ) at 2013-11-13 03:26 PST Nov 13 11:27:11 Interesting ports on 192.168.7.2: Nov 13 11:27:11 Not shown: 998 closed ports Nov 13 11:27:12 PORT STATE SERVICE Nov 13 11:27:12 80/tcp open http Nov 13 11:27:13 3000/tcp open ppp Nov 13 11:27:13 Nov 13 11:27:14 Nmap done: 1 IP address (1 host up) scanned in 0.18 seconds Nov 13 11:32:07 frv_: Nov 13 11:32:32 ok so dropbear is down Nov 13 11:33:31 then i have connected bbb on my pc with serial Nov 13 11:33:38 on UART2 Nov 13 11:33:44 with this console=ttyO2,115200n8 on uEnv.txt Nov 13 11:33:53 and now i view console with serial port! Nov 13 11:34:33 nice Nov 13 11:34:46 but at login Nov 13 11:34:52 i view incorrect password! Nov 13 11:35:11 Cannot make/remove an entry for the specified session Nov 13 11:35:18 what is? Nov 13 11:35:34 never seen that before, what did you do on your BBB previously ? Nov 13 11:36:05 if you boot from internal emmc, you could put a system image on a microsd to boot from it and see what's going on Nov 13 11:36:44 frv_: i dont undstand! Nov 13 11:38:11 how boot from it? Nov 13 11:38:43 Just put it in the slot and power on while pushing user button Nov 13 11:40:00 I thing your original system is winky, something like cannot allocate pts, erhaps root fs mounted ro or so. Once booted from external sd you can investigate the internal mmc fs Nov 13 11:40:21 if i hold push button at start Nov 13 11:40:26 i update system Nov 13 11:40:33 and i lose all eMMC file Nov 13 11:40:52 ????????? Nov 13 11:40:57 if you hold push button, it will boot from microSD Nov 13 11:41:14 i must only push or hold! Nov 13 11:41:19 if you have a eMMC flasher on microSD, yes it will flash the eMMC Nov 13 11:41:26 if you have a regular OS, it will just boot it Nov 13 11:41:37 push and hold for a few seconds while you power it up Nov 13 11:42:11 so now Nov 13 11:42:30 i put SD Nov 13 11:42:36 and push user boot Nov 13 11:43:23 insert SD Nov 13 11:43:30 hold push button Nov 13 11:43:33 and powe it Nov 13 11:43:34 ? Nov 13 11:43:40 sure Nov 13 11:44:35 ok Nov 13 11:44:41 it dont start Nov 13 11:45:02 what's on the console ? Nov 13 11:45:03 stop push button Nov 13 11:45:13 yes stop push button Nov 13 11:45:26 on console nothing Nov 13 11:45:32 with hold push it reflash eMMC Nov 13 11:46:13 what kind of image do you use on microSD ? Nov 13 11:46:29 LOL Nov 13 11:46:46 BBB-eMMC-flasher-v2013.06-2013.10.20.img Nov 13 11:46:47 :D Nov 13 11:47:02 ok that's a flasher image, it will erase eMMC and install that image Nov 13 11:47:17 my error :( Nov 13 11:47:21 but no problem! Nov 13 11:47:23 i have all Nov 13 11:47:27 on my pc Nov 13 11:47:56 any question for you Nov 13 11:48:16 this said you should now have a clean system ;-) Nov 13 11:48:27 hehe Nov 13 11:48:34 In default there are 4 gpio enable Nov 13 11:48:40 but if I want an other gpio? Nov 13 11:48:44 for example 1_17? Nov 13 11:48:47 mode 7 Nov 13 11:48:53 i must do an overlay? Nov 13 11:48:57 Device tree Nov 13 11:49:11 or i must modified Kernel and recompile it ? Nov 13 11:50:38 http://www.armhf.com/index.php/using-beaglebone-black-gpios/ Nov 13 11:52:08 yes but this 4 gpio are enable of default Nov 13 11:52:14 1_17 no Nov 13 11:52:24 i think that i must do a Device tree Nov 13 12:07:13 frv_: ? Nov 13 12:07:16 Biodragon: ? Nov 13 12:08:29 no no no Nov 13 12:09:06 do your honework Nov 13 12:09:10 homework Nov 13 12:09:44 ah ok Nov 13 12:09:51 then with echo ecc.... Nov 13 12:09:53 no? Nov 13 12:16:11 it work :) Nov 13 12:16:19 use devicetree overlay Nov 13 12:16:31 yes Nov 13 12:17:33 good Nov 13 12:17:34 do it Nov 13 12:17:39 yes Nov 13 12:17:45 i've already doing Nov 13 12:18:20 on serial debug, is there no pwr pin? only rx/tx and gnd? Nov 13 12:29:31 hi all Nov 13 12:29:45 is there a way to get my BBB to boot off sd card without holding the usr button? Nov 13 12:38:38 korra: nuke MLO on the eMMC Nov 13 12:44:10 @dm8tbr thanks. Also any idea why it doesn't boot emmc correctly when sd card is present but usr is not pressed? I get 3 solid leds, no ssh, no cron jobs starting Nov 13 12:46:56 yes, there's something that messes up certain uboot versions if a card is inserted. I think this was fixed though? Nov 13 12:47:13 there is also a workaround by editing the uenv.txt IIRC Nov 13 12:50:57 workaournd? Nov 13 12:51:03 dm8tbr: what you mean^ Nov 13 12:51:35 It was discussed on IRC and on the mailing list. Nov 13 12:51:55 np, I'll know what to look for now thanks Nov 13 12:52:08 and first of all check if it still happens after flashing latest image Nov 13 12:53:40 ah ok Nov 13 12:54:57 I wonder opkg update&&upgrade still going to break everything on the latest image like it did on what the BBB came with Nov 13 12:55:20 korra because angstroem repository seems to be not maintained lately Nov 13 12:55:46 are you guys using ubuntu then? Nov 13 12:58:34 http://26-26-54.hardwarebug.org/223 Nov 13 12:58:58 hah Nov 13 12:59:07 oh I know pain Nov 13 13:03:09 the more important question is: do you enjoy it? Nov 13 13:04:43 Hey, whats the cheapest 4" screen thats compatible (has drivers) for beaglebone? apart from the 'official' one i am aware of ? Nov 13 13:06:40 i'm doing an overlay function for enable GPIO 1_17 mode 4 Nov 13 13:07:33 in pinctrl-single,pins = < ???? 0x4 what i must type for pintrl-single ? Nov 13 13:11:41 hi koth Nov 13 13:11:58 Anyone have any new info on when the angstrom site might be back up? Nov 13 13:15:53 woglinde: you can help me? Nov 13 13:16:57 heyo woglinde Nov 13 13:22:12 is there a way to wipe the emmc completly? Nov 13 13:23:43 in pinctrl-single,pins = < ???? 0x4 what i must type for pintrl-single ? Nov 13 13:23:46 i'm doing an overlay function for enable GPIO 1_17 mode 4 Nov 13 13:23:48 <_SY_> I am having big trouble with node.js and socket.io on the BBB... Nov 13 13:25:00 <_SY_> I have written a HTTP server in node that works fine and it also listens to port 80 for socket.io, this works on my PC, but not on BBB....the HTTP part of it works find, but the socket.io doesn't. I've disabled bonescript chaning it to port 8081...scratching head on how to fault find. Nov 13 13:26:10 where i view The two arguments that go in pinctrl-single, pins is the address in memory for the pin and the mux mode. ? Nov 13 13:26:54 Quinto: in the documentation Nov 13 13:27:00 where? Nov 13 13:27:02 i dont find it! Nov 13 13:29:51 i finally made a kernel panic again :/ Nov 13 13:31:07 no need to wipe emmc Nov 13 13:31:20 0-bits weigh as much a 1-bits Nov 13 13:31:35 gm av500 Nov 13 13:32:08 <_SY_> Can anyone help me to debug why a socket.io on the BBB doesn't work? Nov 13 13:33:47 KotH:where i can find this documentation? Nov 13 13:34:32 Documentation/ Nov 13 13:34:35 as always Nov 13 13:34:51 on BBB? Nov 13 13:35:06 i dont know where you have your kernel tree Nov 13 13:35:43 av500: debian telle me that /dev/mmblk0p1 is busy and stops installing Nov 13 13:35:57 so? Nov 13 13:36:06 how is wiping going to help? Nov 13 13:36:09 KotH: i have a demo image Nov 13 13:36:10 just start the install again Nov 13 13:36:13 <_SY_> My socket handler never gets called....the node app responds and delivers files via http, but I never get any requests to the socket handler, but the same code running on a PC with node works fine. Nov 13 13:36:17 i dont have kernel source Nov 13 13:36:19 i'm not able to install Nov 13 13:36:29 av500: did that 2 or 3 times Nov 13 13:36:41 then something is wrong with that install image Nov 13 13:37:22 av500: md5 is ok Nov 13 13:37:53 well Nov 13 13:37:55 yes Nov 13 13:38:16 I did not suggest the download failed Nov 13 13:38:36 if an install image fails to install, it is by definition *not* an install imge Nov 13 13:42:31 <_SY_> ? Nov 13 13:42:58 it fails to install Nov 13 13:43:01 thus its bad Nov 13 13:43:10 what else is there to say? Nov 13 13:43:26 i dont know Nov 13 13:44:46 you should file a bug at the respective bugtracker for this installer Nov 13 13:45:23 i will try something elese first Nov 13 13:46:14 KotH: in kernel source? Nov 13 13:46:50 Quinto: yes Nov 13 13:46:56 ahh ok Nov 13 13:47:12 <_SY_> how do you upgrade / update node.js on a BBB ? Nov 13 13:47:38 <_SY_> the version on my PC is v0.10.22 which is current, on the BBB its v0..8.22 Nov 13 13:50:45 jkridner: ^^^ Nov 13 13:50:59 <_SY_> whats the difference between nodejs and nodejs4 ? There are two different versions and it doesn't appear that a later version is available for the Angstrom distribution. Nov 13 13:51:18 *sigh* Nov 13 13:51:59 _SY_: you'd need to move to distro that has a newer nodejs, update the nodejs recipes or compile it natively Nov 13 13:52:13 _SY_: several people have written blog posts about it if you Google search Nov 13 13:52:30 nodejs4 is 0.4.x.... Nov 13 13:52:32 <_SY_> I've tried this before, and found that of all the distributions available that Angstrom is the better. Nov 13 13:53:02 we've been using an older install of cloud9 IDE that requires an older nodejs Nov 13 13:53:19 KotH: thanks, and for example: "pwm_mosfet_ext1_pins: pinmux_pwm_mosfet_ext1_pins{" where i find this header? Nov 13 13:53:21 <_SY_> Also I have a lot of stuff already done and working on this distrubtion. I've disabled cloud9 Nov 13 13:53:22 Staying on 0.8.22 is probably the best thing for you which is what I was trying to tell you yesterday. Nov 13 13:53:55 _SY_: getting socket.io to work with 0.8.22 is easy and I pointed out that BoneScript is already using it so you have an example. Nov 13 13:54:10 KotH: Hi, i tried to reach you yesterday night Nov 13 13:54:11 you didn't give enough of your code (please don't past into the discussion!) Nov 13 13:54:11 <_SY_> I'm trying to determine why the socket isn't getting any requests to connect, at the moment I'm blind....is there any tools or anything I can do to help? Nov 13 13:54:36 KotH: you mentioned that you could share with me your "eduroam" configuration using wicd Nov 13 13:54:38 lots of things to figure out why the socket isn't responding. Nov 13 13:54:40 <_SY_> I'll create a paste bin entry now. Nov 13 13:55:23 I'm a big fan of starting with some small successes and building upon them. Nov 13 13:55:49 _SY_: github is really nice to share entire directories Nov 13 13:55:55 vmayoral: heyo... sorry, went to bed early Nov 13 13:56:07 vmayoral: yes. i have it on my laptop, but that is at home Nov 13 13:56:35 KotH: no problem, i can try it tonight again or if you prefer i can send you an email with the request Nov 13 13:56:50 try this evening again Nov 13 13:56:57 <_SY_> I don't want to post the entire project....but hopefully here is enough to show what I'm doing...as I said this works on PC. http://pastebin.com/ixZmu2xi Nov 13 13:56:58 where i view in an overlay for example: "pwm_mosfet_ext1_pins: pinmux_pwm_mosfet_ext1_pins{" where i find this header in kernel source Nov 13 13:57:02 KotH: i will do. Thanks! Nov 13 13:58:06 is there a soft float version of ubuntu precise image anywhere in the wild? Nov 13 13:58:45 _SY_: guess you disabled bonescript that is taking up port 80 already? 'systemctl disable bonescript.socket'? Nov 13 13:59:08 _SY_: guess you confirmed somehow in your code that you are getting control over the port? Nov 13 13:59:12 <_SY_> Yep, I did that I even edited the bonescript.socket and changed the port from 80 to 8081. Nov 13 13:59:24 and restarted? Nov 13 13:59:35 <_SY_> I did restart, yes. Nov 13 14:00:05 socket.io was installed using 'npm install -g socket.io'? Nov 13 14:00:24 <_SY_> When I didn't disable bonescript, my script would terminate immediately, with binescript modified, it now runs, but doesn't respond to socket.io requests. Nov 13 14:00:43 <_SY_> I don't think I did -g, what does that do? Nov 13 14:01:35 _SY_: FYI, http://pastebin.com/SXJtv87N is the list of versions of modules I have installed currently in /usr/lib/node_modules Nov 13 14:02:15 <_SY_> ty, I will do the same Nov 13 14:04:01 <_SY_> http://pastebin.com/1NZgQM5z Not sure why but there are a bunch of odd characters. Nov 13 14:05:40 korra, no Nov 13 14:06:06 just compile your own Nov 13 14:07:49 _SY_: -g puts it into /usr/lib/node_modules rather than $PWD/node_modules Nov 13 14:08:52 so what are my options for ubuntu + mono? It looks like armhf support is still nonexistent Nov 13 14:09:13 <_SY_> In /usr/lib/node_modules I have: http://pastebin.com/TqG2LUA9 Nov 13 14:09:23 korra: dont use ubuntu then Nov 13 14:09:28 where i view in an overlay for example: "pwm_mosfet_ext1_pins: pinmux_pwm_mosfet_ext1_pins{" where i find this header in kernel source? Nov 13 14:13:05 _SY_: echo $NODE_PATH should say /usr/lib/node_modules Nov 13 14:13:14 <_SY_> it is Nov 13 14:13:44 _SY_: just remember that node will load (app dir)/node_modules before $NODE_PATH Nov 13 14:13:47 <_SY_> I'm wondering if its the listen call thats the problem, I am using app.listen(80); Nov 13 14:14:30 you get the listening on port message, right? Nov 13 14:14:42 and the app sits there waiting, right? Nov 13 14:15:05 <_SY_> It doesn't display anything except my diagnostic messages. Nov 13 14:15:32 nothing from info.msg? Nov 13 14:15:40 might help to put in a console.log there. Nov 13 14:16:24 have you tried more of a "hello world" for socket.io? Nov 13 14:16:34 <_SY_> I have plenty of console messages in the code...before I listen I display something, then it waits and I get nothing, I display a console message in my socket handler, but it never gets called. Nov 13 14:16:53 <_SY_> My call to set-up my app is: var app = http.createServer(httpServer.defaultHandler), Nov 13 14:17:06 <_SY_> then io.sockets.on("connection", socketHandler); Nov 13 14:17:29 korra, use debian armel then or donate to http://www.indiegogo.com/projects/a-raspberry-pi-build-cluster-for-ubuntu Nov 13 14:17:41 lol Nov 13 14:17:43 <_SY_> app.listen(intSocketPort); intSocketPort is 80 Nov 13 14:17:48 I was about to suggest he orders some rpis Nov 13 14:18:06 ogra_: but thens its armv6 only Nov 13 14:18:24 well, still better than debian armel Nov 13 14:18:31 which is v5t or so Nov 13 14:18:57 ogra_: building on a rpi? seriously? Nov 13 14:19:10 KotH, ask alan bell :) Nov 13 14:19:23 ogra_: http://26-26-54.hardwarebug.org/167 Nov 13 14:19:25 but well, traditionally all debian and ubuntu builds are native Nov 13 14:19:33 Where i download the last kernel for beaglebone black? Nov 13 14:19:36 whats wrong with debian armhf? Nov 13 14:19:40 I'm trying to find a debian armel image, the wiki seems to only have armhf? Nov 13 14:20:04 jonpry, it uses the same mono as ubuntu armhf ... Nov 13 14:20:14 ogra_: yes, and because we always did it that way, we should do it the same way in 1000 years too Nov 13 14:20:18 lol @KotH, so relevant after 4+ hours of compiling mono Nov 13 14:20:41 Quinto: source is at http://github.com/beagleboard/kernel as patches and that eventually makes it to http://github.com/beagleboard/linux as a patched tree Nov 13 14:20:59 thanks Nov 13 14:21:54 KotH, no, there is work on making multiarch better ... but that goes on since several years ... its not about cross building but about getting the depejndency chain of the package mgmt right when doing that Nov 13 14:22:10 my beaglebone has had about a week of uninterrupted uptime since I got it but today it repeatedly browned out while trying to compile mono, had to get a better power supply just for that Nov 13 14:22:33 ogra_: and that's so complicated! Nov 13 14:22:48 ogra_: like they dont have to do that already Nov 13 14:22:53 Quinto: be sure to look at the 3.12 branch for the very latest. 3.8 for shipping kernels. Nov 13 14:23:07 KotH, not my area of expertise, but it seems pretty complicated, yeah Nov 13 14:23:22 jkridner|work: i want 3.8.13 kernl Nov 13 14:23:26 of beaglebone black Nov 13 14:23:32 i need view pinmux Nov 13 14:23:43 k. 3.8 branch Nov 13 14:24:18 jkridner|work: how download it with git on my pc? Nov 13 14:24:21 KotH, it works fine on x86 vs amd64 already though ... where the target isnt CPU compatible to the host it gets trickier apparently Nov 13 14:24:32 github has git tutorials. Nov 13 14:24:50 ogra_: the tricky part is that a lot of upstream do not support cross compilation Nov 13 14:24:58 that too, yeah Nov 13 14:25:04 ogra_: but thats something all of the embedded distros have already solved Nov 13 14:25:32 KotH, well, as ubuntu dev i have no issues with native builds ... the tons of calxeda nodes ubuntu has in the datacenter make that relatively painless Nov 13 14:26:16 and you *can* recompile in an armhf chroot on x86, not that hard either ... Nov 13 14:27:19 the part where you just tell your source "hey buiold me an armhf binary" without having to jump through any hoops is trickier though Nov 13 14:27:52 (that is what multiarch is actually after) Nov 13 14:29:48 ok I give up, is there an armel debian image out there that I'm not finding? Nov 13 14:30:12 just bootstrap one ... Nov 13 14:30:33 you can use the kernel from the existing armhf image and bootstrap your own rootfs Nov 13 14:31:08 I dunno how to say this but I'm kind of a windows peasant mostly so anything beyond a prebaked image is over my head Nov 13 14:31:23 google for debootstrap ... Nov 13 14:31:30 alright Nov 13 14:32:03 you can run it on your armhf install to create a chroot, make a tarball of that and unpack it to a new, properly set up SD Nov 13 14:32:42 <_SY_> I've changed the log level to debug and enabled logging, now I'm seeing "info - socket.io started", and eventually a "debug - served static content /socket.io.js" but thats it...still the sockethandler never gets called. Nov 13 14:36:35 @ogra_ is it going to look something like debootstrap --verbose --arch armel --foreign lenny /armel-chroot http://ftp.de.debian.org/debian ? Nov 13 14:36:56 no need for --foreign if you run it on the bone Nov 13 14:37:30 yeah but that's the general idea yes? I'll give it a shot tomorrow Nov 13 14:37:39 korra, https://wiki.ubuntu.com/Core also has tarballs iirc ... they need you to do soem set up though Nov 13 14:38:12 _SY_: just to do the simple hello world on http://socket.io: http://pastebin.com/TeKRe9uy Nov 13 14:40:29 _SY_: I suggest starting with something small like that to work up your confidence about socket.io.... as far as your app, you should be able to tell from both sides when a socket is opened and what is moved across it. Nov 13 14:41:06 Quinto: again, I don't provide answers to support questions in private messages. don't ask again. Nov 13 14:41:50 * jkridner|work is happy with any time that can be provided providing support on #beagle Nov 13 14:45:51 <_SY_> Just tried that...doesn't work either. Nov 13 14:48:36 <_SY_> OMG, so sorry for wasting your time, I am a complete idiot! Nov 13 14:49:50 <_SY_> Completely overlooked the client side connection that worked on my PC...because DOH!!!! I was connecting to locahost on my PC which was also running node.js, I am now trying to remotely connect to BBB from my PC...but BBB is also sending out a client connection to localhost, so it would never work. Nov 13 14:50:07 <_SY_> Having addressed this issue, it now works perfectly. Nov 13 14:56:16 _SY_: :-) Nov 13 14:57:39 <_SY_> Always the simple things that proove the most difficult to find. Nov 13 16:37:11 Hello #beagle, I have a question! If I am writing a custom image (i.e. the standard angstrom image with packages installed, tweaks etc nothing major) to a uSD card using win32 disk imager (it's a .img file) should the image seemingly install itsself on the uSD card or stay as a .img file? What I mean by this is that I get the standard "Getting Started" partition when i view the uSD card in windows explorer. Nov 13 16:43:11 jjc: yes, there is a FAT32 partition Nov 13 16:43:30 what it won't show you is that there is this large linux partition Nov 13 16:44:18 dm8tbr: thank you, just wanted to make sure something wasn't going wrong Nov 13 16:59:21 hi Nov 13 16:59:39 is it possible to flash ubuntu to beaglebone black without having a microsd card, through a host computer? Nov 13 17:02:59 probably Nov 13 17:03:20 but you most probably would have to write the software to do that yourself Nov 13 17:04:01 you could also print it out on punchcards and use a USB punchcard reader Nov 13 17:08:04 ogra_: can't say i've seen one of those recently... Nov 13 17:08:24 details :) Nov 13 17:09:11 i wonder if it would fill more than a garage if you printed it out though Nov 13 17:13:28 Hi all, whats the fastest rate that the beaglebone can toggle an IO pin? Nov 13 17:13:38 from kernel space. Nov 13 17:19:16 D4v33: from the cpu? theoretically: once per IO clock cycle Nov 13 17:19:21 D4v33: practically, it's less Nov 13 17:20:46 D4v33: if you need fast access to io pins and need to toggle them at a fixed rate, have a look at the PRU Nov 13 17:21:01 D4v33: that can do 200Mt/s guaranteed Nov 13 17:21:08 D4v33: on 16 pins Nov 13 18:00:25 anyone had any issues with connecting arch linux (wicd as my network manager) with the beaglbone black ? Nov 13 18:00:29 KotH: I200Mt/s? Nov 13 18:01:40 Hi Guys. I have a kernel driver patch file to roll into my BBB kernel. Where in the structure do I place it? Does the patch.sh command automatically pull it if it's in the patches directory? Thanks Nov 13 18:02:23 Based on instructions at: http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_Building_Kernel and http://elinux.org/Building_BBB_Kernel Nov 13 18:04:04 I'm on a freescale i.mx6 running at 1GHz which seems to be really slow toggling a pin, High Low High the low takes 300ns, I having little support from freescale so the nearest active project device is the beagle bone. My linux kernel is quite old 2.6.35 but I would expected faster access times. Nov 13 18:05:35 KotH: ahh million transfer per second :) Nov 13 18:06:19 Does Robert Nelson work for BeagleBoard? Nov 13 18:18:11 hi buddy Nov 13 18:19:21 any body in Nov 13 18:22:48 did you read the topic? Nov 13 18:26:02 reading the topic is overrated Nov 13 18:33:59 s/the topic// Nov 13 18:43:53 Anyone have any info on when the angstrom site might be back up? Nov 13 19:15:07 well i found my bug but of course there are more Nov 13 19:15:29 and yea it was very simple and yea if gdb had not be a complete bitch i would have found it in 5 minutes not 3 or 4 days Nov 13 19:16:11 koth whers my chocolate! Nov 13 19:45:10 mark4: could you explain me again why forth is a great language? Nov 13 19:45:45 mark4: i know a dozen programming languages, half of them claim the same as you did with forth, the other half claims to be better than the others at that Nov 13 19:50:12 koth forth is more space efficient than pure assembler for any non trivial language. development time in forth (again assuming non trivial) is orders of magnitued faster than "almost?" any other language Nov 13 19:50:38 i wrote a complete replaement for libncurses after 8 hours of man 5 terminfo, it took me 3 hours to write it Nov 13 19:50:49 it was at that time 4k compiled. its about 6k ish now Nov 13 19:50:54 as far as I know they're mostly turing complete, so it comes down to deficiencies over power of a language Nov 13 19:51:16 forth is not a programming language in the traditional sense Nov 13 19:51:29 with forth YOU define the syntax, YOU define the language Nov 13 19:51:35 you define them to fit your given problem Nov 13 19:52:28 forth encourages you to THINK in more logical ways to resolve a problem Nov 13 19:52:39 it encourages you to factor your code down to the minutest detail Nov 13 19:52:55 if you see yourself doing blah blah 1 + blah blah blah in enoughn places Nov 13 19:53:02 you define : 1+ 1 + ; Nov 13 19:53:21 though usually 1+ is defined, that was just an example of the sort of thing forth encourages you to do Nov 13 19:53:59 its very difficult for a forth coder to explain EXACTLY why forth is so good to someone who does not know forth Nov 13 19:54:26 because most people hear these types of claims and either dismiss them outright or say "yea but language zzzzz says the same thing" Nov 13 19:54:37 they may say it but they cant compete with how well forth does it Nov 13 19:54:41 not by a long shot Nov 13 19:54:57 chuck moore who invented forth says that forth is THE software engineering solution Nov 13 19:55:38 so do most language creators.. nothing new there Nov 13 19:55:39 i.e. if you have a problem that you need to code a solution for, the solution would be better solved with forth Nov 13 19:55:42 ok. i dismiss the claim with assembler, because for obvious reasons it cannot be true Nov 13 19:55:52 the rest are claims that i've heard for every other language Nov 13 19:55:54 that forth is more space efficient than assembler? Nov 13 19:56:06 they are general, vague and not backed up Nov 13 19:56:13 for any non trivial application forth will be about half the size of the equiv assembler Nov 13 19:56:28 LOC or binary? Nov 13 19:56:28 and about 100 times smaller than the equiv c Nov 13 19:56:32 i had a look at the syntax of forth yesterday and what i found was a language that is very simply strucutred and has good extensibility Nov 13 19:56:33 binary Nov 13 19:56:43 but nothing too fancy to get exited with Nov 13 19:56:46 I call BS on smaller than assmeler Nov 13 19:56:59 it is totally extensible, thats what it was designed for Nov 13 19:57:08 unless the author is an idiot Nov 13 19:57:08 thurgood, most non forthers do Nov 13 19:57:33 forth is THE single best choice for any embedded application where space is limited Nov 13 19:57:35 period Nov 13 19:57:52 I think mark4 and I finally found something we agree on. Nov 13 19:58:03 agmlego, you code forth? Nov 13 19:58:06 mark4: ok, explain me one little thing: how can any language be more space efficient than simple opcodes? because in the end of the day, the language has to be turned into opcodes Nov 13 19:58:12 Starting to, yes. Nov 13 19:58:30 i have a forth coder friend who says "Developing embedded applications in C is like opening a can... With a ROCK" Nov 13 19:58:36 KotH: Because the program does not need to be opcodes. Nov 13 19:59:01 And the interpreter never changes size. Nov 13 19:59:12 yes, but you can do the same in asm Nov 13 19:59:18 actually byte encoded java can also be WAY smaller than the eqiv assembler Nov 13 19:59:29 a minimal embedded java is VERY space efficient Nov 13 19:59:38 look ma, my compression routine is also a language! Nov 13 19:59:51 i've written a couple of IDL's myself, i know that you can do quite compact code with that. but you still can do that in any other language too Nov 13 19:59:51 myself: Pretty much, actually. Nov 13 20:00:07 koth my forth kernel IS written in assembler Nov 13 20:00:27 its what you can do with the ENTIRE api that it provides Nov 13 20:00:50 it gives YOU the ability to define syntax. to define an entirely NEW language to solve the specific problem at hand Nov 13 20:00:59 as for the extensibility, i think scheme or erlang beat what forth can do by quite a lot Nov 13 20:01:01 forth is a language that lest you redefine what IT is to fit what YOU need Nov 13 20:01:16 koth do you program scheme or erlang? Nov 13 20:01:22 as for style, pascal beats forth easily, python or erlang isn't bad either Nov 13 20:01:30 mark4: did Nov 13 20:01:38 mark4: as i said, i know a couple of languages Nov 13 20:01:55 koth when you can also code forth to the same extend you can code them THEN and ONLY THEN come back and repeat that they do it better than forth :) Nov 13 20:02:20 of course... in that regard i am also cheating Nov 13 20:02:40 but ill wager if you learned forth to the same extent i know it then you would agree Nov 13 20:03:10 the thing is, it takes quite some time to learn a language. if it doesnt have any interesting features that i want to try out and see how they apply in real world scenarios, then i dont tend to invest that time Nov 13 20:03:20 and so far forth failed at that Nov 13 20:03:36 not forth. you can learn the basics in a very short time. there is an initial learning curve which is really just a mental block Nov 13 20:03:45 it actually looks like a langauge i might have designed in higschool if i would have used a HP calculator ;) Nov 13 20:03:46 because forth does things VASTLY different to almost everything else Nov 13 20:04:13 actually i thnk HP calcs might have forth internally. i wouldnt quote me on that, im not 100% sure Nov 13 20:04:20 scheme's langauge defnition fits onto an A4 sheet Nov 13 20:04:29 including explenations Nov 13 20:04:44 a minimalist forth kernel has only about 12 or 13 primitives Nov 13 20:05:09 i know that hp uses forth internal (or at least used to until some time) and quite a bit of their programmable calculators were forth interpreters Nov 13 20:05:11 im not sure exactly how many, i never do fully minimalist forths :) Nov 13 20:05:21 i just dont do bloatificated crap like gforth Nov 13 20:05:24 which isnt even forth Nov 13 20:07:21 open firmware is a ANS forth (i hate ans forth) Nov 13 20:08:07 erm i know bongo from somewhere Nov 13 20:08:12 #c maybe Nov 13 20:08:55 koth www.isforth.com <-- download my sources Nov 13 20:09:03 i looked at them Nov 13 20:09:09 if they barf when you try to run them i know the fix Nov 13 20:09:14 i saw too much x86 asm for my taste ;) Nov 13 20:09:14 that only happens on debian based distros Nov 13 20:09:19 lol Nov 13 20:09:23 weener Nov 13 20:09:28 cant handle x86 asm :P Nov 13 20:09:38 i would love to learn x64 and convert that code Nov 13 20:09:47 oh, i did a lot of x86 asm in the past, when i was young and needed the money Nov 13 20:10:00 you dont need money? Nov 13 20:10:01 ! Nov 13 20:10:06 share!!! Nov 13 20:10:42 what kind of operating system must be installed on my beagleboard to communication with Matlab/Simulink? Nov 13 20:10:56 oh.. i'm making money with more fun things than writing x86 asm Nov 13 20:11:12 bongo: that has nothing to do with the OS Nov 13 20:13:02 it can be ubuntu? or what? Nov 13 20:13:52 it can be windows or os/2 if it needs to be Nov 13 20:14:14 communication with matlab is not a feature of an os but of the application running on top of the OS Nov 13 20:14:46 mark4: any good reading material of forth? the web seems to be devoid of anything Nov 13 20:14:53 mark4: and i dont feel like buying books Nov 13 20:15:11 there is pretty much nothing that i would recommend :/ Nov 13 20:15:19 :-\ Nov 13 20:15:27 though Nov 13 20:15:40 there is "starting forth" which covers the VERY basics Nov 13 20:15:45 and is funny as hell Nov 13 20:15:48 i've read that yesterday Nov 13 20:15:58 now look for thinking forth Nov 13 20:16:07 both by leo brodie Nov 13 20:17:31 and which is most popular installed on beagleboeard to communication with simulink? Nov 13 20:21:30 i dont think many people are running anything on the beagles that has anything to do with simulink Nov 13 20:21:47 beside, what are you doing with simulink that would require communication with a second computer? Nov 13 20:23:56 forth is a great language because there are rom monitors that can run it! Nov 13 20:25:38 good evening Nov 13 20:27:04 KotH: i need to run communication between simulink on my computer and beaglebeard Nov 13 20:27:10 mark4: that looks like a half decent book on general programming techniques :) Nov 13 20:27:12 i've compiled a custom kernel on my host PC and I want to install it on my beaglebone. is it possible to replace just the kernel instead of flashing a whole new image? Nov 13 20:27:20 koth tada Nov 13 20:27:25 gui_: yes Nov 13 20:27:49 mark4: unfortunately, not much of forth yet Nov 13 20:28:29 thinking forth is more about how to THINK in forth than how to code it Nov 13 20:29:33 at least the book looks good enough to warant a second screening ;) Nov 13 20:29:44 bongo: you already said that, you didnt say why Nov 13 20:29:45 mark4: isn't forth thinking same as postscript thinking? Nov 13 20:29:57 postscript was based on forth Nov 13 20:30:12 bongo: i'm asking because i think you are looking for a solution of the wrong problem Nov 13 20:30:21 mark4: eh what? Nov 13 20:30:50 okay Nov 13 20:31:01 KotH: because it will by my project on school Nov 13 20:31:04 so is hp48 also based on forth? :D Nov 13 20:31:07 loosely but it was based on it Nov 13 20:31:37 eh.. really.. wiki lists forth as one of the anchestors of postscript Nov 13 20:31:37 so did forth introduce the concept of a stack? :D Nov 13 20:31:46 ds2: nope Nov 13 20:31:58 ds2: stack based languages were around since the early 60s Nov 13 20:32:15 ds2: actually, that was one of the first, if not the first programming model Nov 13 20:32:15 c is a stack based language Nov 13 20:32:22 stacks predate computers as we know them Nov 13 20:32:28 mark4: nack, c is not a stack based language Nov 13 20:32:29 tho it has a very inefficient way of using the stack Nov 13 20:32:35 koth yes it is Nov 13 20:32:40 parameters are passed on the stack Nov 13 20:32:46 mark4: c does not deal with memory allocation in its syntax Nov 13 20:32:53 function calls... Nov 13 20:33:06 mark4: nope. c does not define where parameters have to be passed Nov 13 20:33:21 mark4: it just says, the have to be passed in a certain order Nov 13 20:34:35 thurgood: actually, c doesnt deal with a stack even in it's function calls. it only defines that returning from a function means to return to the execution point prior to calling the function Nov 13 20:34:57 thurgood: the easiest way to implement that behaviour is of course a stack, but it does not need to be done that way Nov 13 20:35:20 C is not explicitly a stack based lang Nov 13 20:35:22 thurgood: and actually, some RISC based ABIs handle function calling without a stack Nov 13 20:35:35 thurgood: at least to some extend ;) Nov 13 20:36:53 modern C compilers can do calls w/o stacks if a few requirements are met Nov 13 20:37:14 * mdp scrolls back to see today's show Nov 13 20:37:23 MSC did that back in the early 90's Nov 13 20:39:15 ds2: a lot of compilers do that for a long time now Nov 13 20:39:39 ds2: but it was only for static functions Nov 13 20:39:53 ds2: all others had to adhere to the ABI Nov 13 20:40:03 ds2: and calling conventions Nov 13 20:40:26 [kernel] clacey09 opened pull request #72: ASoC: davinci: McASP: Make code generic remove hardcode (3.8...3.8) http://git.io/mYUXsQ Nov 13 20:40:26 static or inline? Nov 13 20:40:35 static Nov 13 20:40:39 inline is a different beast Nov 13 20:43:02 * bradfa brought popcorn, where's the show? Nov 13 20:43:50 I heard about a ashow Nov 13 20:45:30 it would seem that any stack based language would suffer immensely on modern CPUs as it would not take proper advantage of registers Nov 13 20:45:36 [kernel] RobertCNelson pushed 2 new commits to 3.8: http://git.io/EbVdEw Nov 13 20:45:36 kernel/3.8 a442d12 Cody Lacey: ASoC: davinci: McASP: Make code generic remove hardcode... Nov 13 20:45:36 kernel/3.8 03f7ef4 Robert Nelson: Merge pull request #72 from clacey09/3.8... Nov 13 20:45:42 unless your compiler somehow did something magic Nov 13 20:46:30 Russ: well, you can asign a couple of registers for the top most stack positions and only push if you really have to Nov 13 20:46:55 Russ: given the fact that most operations take only one or two parameters from stack which have been just pushed, that should help Nov 13 20:47:01 but yes, the other dozen registers are lost Nov 13 20:47:28 which reminds me, i wanted to read up on how dalvik works internally... Nov 13 20:49:54 conversely of courses its pretty easy to make a processor that can execute a stacked based language Nov 13 20:50:48 yes, but it would be slow by todays standards Nov 13 20:51:21 the only application I can imagine is if you need a complex state machine in fpga fabric Nov 13 20:51:36 yea. which is why my forth compiler compiles code about 3000 times faster than gcc Nov 13 20:51:44 lol Nov 13 20:52:09 * KotH pats mark4 on the head Nov 13 20:52:17 ty Nov 13 20:52:18 mark4: read again what i wrote Nov 13 20:52:22 hey all, I just tried to update angstrom with the eMMC flasher image but it keeps installing the 12/2012 version ... any ideas? Nov 13 20:53:17 * Ropesfish is set as away : Reason(life requires attention.) Nov 13 20:53:24 Russ: actually, if i would need a complex state machine, i would either code it in an intermediate language and use some magic to convert it to vhdl or use a processor (one of the pic16, avr or 8051) and do it there Nov 13 20:53:34 fastfourier: download a more recent flasher? Nov 13 20:53:51 I'm trying to install the 2013/06/20 image Nov 13 20:54:01 it's weird Nov 13 20:54:20 well what makes you think it's a 2012/12 image? Nov 13 20:54:24 the update goes smoothly but cat /etc/angstrom-version still shows 2012/12 Nov 13 20:54:35 what's the date on uname -a Nov 13 20:55:12 Linux beaglebone 3.8.13 #1 SMP Tue Jun 18 02:11:09 EDT 2013 armv7l GNU/Linux Nov 13 20:55:18 hmm Nov 13 20:55:41 so, like I thought. you misunderstood the distro base release for the image version Nov 13 20:56:15 so 2012/12 is the base version and uname -a shows the revision date? Nov 13 20:56:28 i mean, image version Nov 13 20:57:30 no it just shows when the kernel was built Nov 13 20:58:25 got it. Thanks dm8tbr! Nov 13 20:58:52 there might be another file in /etc/ telling you when the image was built, no idea Nov 13 21:07:23 quick one.. if I go from 3.8 kernel to 3.12, will something break besides pwm apparently? Nov 13 21:14:17 how unusual is to compile ubuntu kernel in less then 15 minutes? (really building, not rebuilding) Nov 13 21:16:17 probably not that unusual Nov 13 21:16:50 because the last time I tried, it took 4 hours Nov 13 21:17:04 What CPU? Nov 13 21:17:13 Using an SSD? Nov 13 21:17:29 the 15 min run on a macbook retine 15" Nov 13 21:17:31 yes ssd Nov 13 21:17:59 if you kept the last built objects and made minimal changes it will compile in a couple of minutes Nov 13 21:18:48 I build with -j24 on my core i7 980 and pretty damn quick Nov 13 21:19:00 maxes out all 12 CPU threads Nov 13 21:19:37 no, I was building from scratch Nov 13 21:20:09 i think the ubuntu kernel team builds it in under 3min Nov 13 21:20:36 but i guess they might have pretty decent hardware Nov 13 21:20:46 i'm running ubuntu on a VM Nov 13 21:20:48 pretty, yeah Nov 13 21:21:12 I was afraid something went wrong and I didn't notice Nov 13 21:26:43 yeah, kernel biuld isn't bad on decent hardware Nov 13 21:32:43 has anyone tried to use eQEP? (https://github.com/Teknoman117/beaglebot) Nov 13 21:50:17 MSC can do stackless calls for nonstatics Nov 13 21:50:55 exit Nov 13 21:50:58 wow Nov 13 21:56:17 [kernel] mrybczyn opened pull request #73: 3.12: updated bootlog and installation status (3.12...3.12) http://git.io/JTGzMg Nov 13 22:01:32 [kernel] RobertCNelson pushed 3 new commits to 3.12: http://git.io/pocGBA Nov 13 22:01:32 kernel/3.12 b230238 Marta Rybczynska: README: update bootlog for 3.12 on BeagleBone Black... Nov 13 22:01:32 kernel/3.12 00e27d2 Marta Rybczynska: README: Update installation instructions... Nov 13 22:01:32 kernel/3.12 903d40f Robert Nelson: Merge pull request #73 from mrybczyn/3.12... Nov 13 22:07:31 how much power can the beagle bone take through it's DC power jack? Nov 13 22:08:03 JonnyZ, read the datasheet maybe? Nov 13 22:08:20 where's dat? Nov 13 22:09:02 as much power as specified on the manual and no more. Nov 13 22:10:21 JonnyZ, http://bit.ly/1aF8TAF Nov 13 22:11:23 JonnyZ, reading datasheets and googling before asking are all useful skills. Nov 13 22:11:54 It will help you and will make people more patient with you when you have more complex questions to ask. Nov 13 22:12:06 seems like peak is 460mA at 5v Nov 13 22:13:05 it says peak is at boot and my brownouts while compiling mono make me think it can peak higher than that Nov 13 22:17:56 <|PiP|> my beagleboard black has a broken SD card holder. i don't want to send it back because itll cost me. I want to use my beagleboard as a FreePBX machine. Is it possible to flash the internal flash via a USB Key? Nov 13 22:19:50 I'm getting PHP errors trying to load http://circuitco.com/support/index.php5?title=BeagleBoneBlack Nov 13 22:19:51 |PiP|, no but you can flash via the USB port Nov 13 22:20:06 look at the GSoC 2013 list for a project that does that Nov 13 22:21:16 <|PiP|> ds2: i'm confused by what you mean. what are you saying no to? Nov 13 22:21:28 <|PiP|> i can flash via usb? or can't Nov 13 22:21:37 I am saying, you cannot flash with just a USB flash drive. But you can flash via USB Nov 13 22:21:46 the USB host port and the USB device port are the point of confusion here, I think Nov 13 22:21:47 you need to connect it to a PC Nov 13 22:22:04 hang the BBB off a PC as a USB device, and you can flash it, right? Nov 13 22:22:10 <|PiP|> ahh okay Nov 13 22:22:13 sort of Nov 13 22:22:24 if it is running, you can just use that to update Nov 13 22:22:34 if it is not, you need the stuff from the GSoC project Nov 13 22:22:39 it will boot the board and flash it Nov 13 22:22:40 <|PiP|> i searched for that but couldn't find Nov 13 22:22:52 <|PiP|> the bbb boots up and is using the default angstrom Nov 13 22:54:34 anyone with a bbxm awake? Nov 13 22:56:12 my bbxm is already in bed Nov 13 22:56:38 want to wake it up and do a easy test for me Nov 13 22:56:39 ? Nov 13 22:56:42 well, I don't actually even have one Nov 13 22:56:46 doh Nov 13 22:57:38 <|PiP|> ds2: so how do i flash the beagleboard from my computer? Nov 13 23:27:48 PiP: ping vvu, he's the author Nov 13 23:34:30 hi Nov 13 23:35:29 someone has used BBB like access point for connect devices with point-point connection? Nov 13 23:55:58 printed via bbb parallel port -> http://imgur.com/nFVI7Ik Nov 13 23:58:13 hello there Nov 13 23:58:41 i screwd the linux inside my BBB and I need to re-flash it Nov 13 23:58:50 but I only have a USB drive, not a uSD card Nov 13 23:59:18 i can still load uboot from eMMC. how can I load ubuntu from the USB? Nov 14 00:05:02 gui_: as i know you cannot from an usb stick. u need a uSD card to do so or connect it to a Linux pc and flash from there the eMMC Nov 14 00:05:03 afaik, you can't Nov 14 00:05:39 a have a ubuntu VM, does it help? Nov 14 00:05:42 usb booting is supported by the BBB but not from usb stick, instead it's a way for a PC to provide the kernel over a usb stream Nov 14 00:06:19 I have never tried it, sounds a bit involved and needs special TI software on the PC I guess Nov 14 00:06:38 but you can network boot the BBB if you are really stuck Nov 14 00:07:04 how? Nov 14 00:07:24 is it that tftp thing i've read somewhere? Nov 14 00:07:28 Vaizki: https://github.com/ungureanuvladvictor/BBBlfs this is for flashing BBB from PC Nov 14 00:08:08 vvu|Log: hmmmm interesting! Nov 14 00:08:20 did it over the summer during GSoC Nov 14 00:09:24 excellent Nov 14 00:10:59 so how does it work really.. pushes spl over usb to BBB which then loads uboot over usb which creates a usb network device and then netboots a flasher? Nov 14 00:11:03 vvu|Log, the image i need to use, is it the zImage? Nov 14 00:11:24 you meed to suply the .img Nov 14 00:11:35 the rest is contained on github Nov 14 00:11:48 follow the instructions on how to build there in the readme, think they are really good Nov 14 00:13:00 so how does it work? :) Nov 14 00:13:13 or do I read the source... Nov 14 00:13:19 1st the software supplies MLO to the BBB in ROM USB Boot mode Nov 14 00:13:28 MLO tries to do bootp over USB Nov 14 00:13:31 gets u-boot Nov 14 00:13:32 cannot locate device :( Nov 14 00:13:45 right Nov 14 00:13:51 u-boot does same thingie but gets a FIT (flatten image tree) from the PC with kernel+ramdisk+dtb Nov 14 00:13:59 cannot open* device Nov 14 00:14:06 that ramdisk when it starts it emulates a g_serial device Nov 14 00:14:34 then the software pushes the .img that needs to be flashed to it, then on the BBB the image is xz-ed and dumped to /dev/mmcblkx Nov 14 00:14:41 this is the flow of operations Nov 14 00:14:47 right Nov 14 00:14:48 gui_: sudo it Nov 14 00:15:06 so no netboot, just serial transfer.. but other than that I kinda guessed Nov 14 00:15:09 also the initial project was to do this on an Android Phone with USB host capabilities Nov 14 00:15:15 yea I saw the link Nov 14 00:15:17 and it works :D Nov 14 00:15:34 even though android kernel complains about the BBB when you connect Nov 14 00:15:48 the AM335x in usb boot mode advertises that it can do OTG but it is not implemented Nov 14 00:16:11 i tried to to gadgetfs instead of g_serial but did not work, do not remember the issues Nov 14 00:16:16 right.. Nov 14 00:16:56 ayway i'm out, have fun people here Nov 14 00:18:35 sleep for me as well Nov 14 00:19:05 still can't open device :/ Nov 14 00:22:11 I found a 1GB uSD card Nov 14 00:22:28 should be more than enough to install u-boot Nov 14 00:31:09 Hello Everyone, I am trying to recompile the Linux kernel for the BBB by following the instructions here - http://elinux.org/Building_BBB_Kernel - Trouble is, after following the guide perfectly I get a kernel panic stating that it cannot open root device "(null)". Does anyone have a clue what I could be doing wrong? Nov 14 00:34:47 dcj123, loook at the kernel command liner Nov 14 00:36:38 um how? I already tried defining the U-boot bootargs with setenv Nov 14 00:49:45 Q. anyone see issues with a BBB not getting a dhcp address at boot sometimes. It seems to be random and running udhcpc from the local console fixes it every time. Feels like a race condition. I dont know much about connman. Still looking for how to get the failure to log an event. Nothing shows up on the journal as a fail that I can see. Nov 14 00:50:38 I end up getting a 169.254 address Nov 14 01:01:00 hey guys Nov 14 01:01:13 is there a way to give internet to my board from usb? Nov 14 01:01:42 I have it connected to a macbook air via usb, and I have internet from wifi on macbook air Nov 14 01:02:43 Yes and no, I have had little luck with it but there are a few links explaining how to do it. Give me minute and I'll find them for you. Nov 14 01:02:54 tnx Nov 14 01:03:03 What OS are you using? Nov 14 01:03:14 On the Macbook Air? Nov 14 01:03:15 the default one Nov 14 01:03:17 aah Nov 14 01:03:46 not the new one Nov 14 01:03:52 10.8.5 Nov 14 01:04:04 http://www.angstrom-distribution.org/ is down Nov 14 01:05:05 frege: You'll want to use the gadget driver (usb device) for usb ethernet emulation. Nov 14 01:05:10 on the beagle side you'll need to insert the g_ether kernel module for starters Nov 14 01:05:40 alan_o: I think I'm using HoRNDIS right now Nov 14 01:05:42 frege: Add this on the command line ip=192.168.2.124 g_ether.host_addr=36:97:13:EC:31:BD Nov 14 01:05:56 rndis isn't going to work on a mac. Nov 14 01:06:01 There is this but its for a Linux computer not a Mac - http://robotic-controls.com/learn/beaglebone/beaglebone-internet-over-usb-only Nov 14 01:06:10 I have ssh alan_o Nov 14 01:06:24 greetings all Nov 14 01:06:27 alan_o: where do I add that? Nov 14 01:06:33 frege: you're ssh-ing to your beaglebone? Nov 14 01:06:35 over the usb Nov 14 01:06:35 ? Nov 14 01:06:38 alan_o: I have network access yeah Nov 14 01:06:40 over usb Nov 14 01:06:45 ok, then you've done the hard part Nov 14 01:06:50 HoRNDIS is a mac thing? Nov 14 01:06:50 oh cool Nov 14 01:06:58 yeah it's working on mac Nov 14 01:07:04 it's for tethering from android Nov 14 01:07:09 but it works for this board too Nov 14 01:07:20 bbb setup has that link though! Nov 14 01:07:25 * Tenkawa tries getting usb working on 3.12 on his bbb Nov 14 01:07:30 so how do I share internet? Nov 14 01:07:42 frege: you'll have to do that on the mac side Nov 14 01:07:47 set up your mac as a gateway Nov 14 01:07:57 then do what's in the link that dcj123 provided Nov 14 01:08:07 alan_o: he'll need to use nat forwarding right? Nov 14 01:08:13 but of course make sure the IPs are compatible Nov 14 01:08:24 Tenkawa: yeah, whatever that's called in the Mac configuration Nov 14 01:08:29 connection sharing, something like that Nov 14 01:08:30 inernet sharing is easy to set up on the mac Nov 14 01:08:32 ah yes Nov 14 01:08:34 basically NAT, but renamed :) Nov 14 01:08:37 it's under sharing Nov 14 01:08:38 yeah Nov 14 01:08:44 thurgood: would you guide me through this? Nov 14 01:09:17 i tried the icculus android build on my bbb today.. not bad Nov 14 01:09:31 I don't have a bbb, I've only done it on the classic and xM using an ubuntu VM Nov 14 01:09:48 would be better if i could use my edimax wifi with it Nov 14 01:09:51 I think it worked Nov 14 01:10:01 thurgood: do I need to restart bbb? Nov 14 01:10:11 my ssh it cutoff now Nov 14 01:10:15 shouldnt need to, no Nov 14 01:10:16 frege: you shouldnt need tp Nov 14 01:10:18 er to Nov 14 01:10:25 weird Nov 14 01:10:32 b/c now I can't ping that ipp Nov 14 01:10:40 hmm Nov 14 01:10:50 I think it needs to be restarted Nov 14 01:10:51 you might need to check the firewall settings in os z Nov 14 01:10:53 you can't ssh through the usb and share internet on it at the same time as far as I know Nov 14 01:10:54 er os x Nov 14 01:11:34 * Tenkawa still remembers the old dual bonded ppp days Nov 14 01:11:58 like win-trumpet? Nov 14 01:12:18 thurgood: yeah that, livingston stuff, and slirp Nov 14 01:12:38 eql something Nov 14 01:13:01 that was the mid 90's though Nov 14 01:13:39 now i just need to figure out why my new 3.12 bbb kernel gives my libusb errors Nov 14 01:13:46 ok I shared it from mac side Nov 14 01:13:55 do I need to do anything else on bbb part? Nov 14 01:14:03 I think I need to change the ip right? Nov 14 01:15:09 connect: Network is unreachable Nov 14 01:16:04 the bbb usb doesnt need a firmware bin by itself does it? Nov 14 01:16:13 you might need to bring up the interface manually Nov 14 01:16:20 i dont remember seeing one in 3.8 Nov 14 01:16:28 it's up Nov 14 01:16:34 thurgood: you mean usb0 or eth0? Nov 14 01:16:38 on the beagle side? Nov 14 01:16:50 yeah it's up Nov 14 01:17:22 do you have any connection to the beagle other than ssh, ie keyboard and monitor? Nov 14 01:17:37 no I don't Nov 14 01:18:00 ah that's tricky then Nov 14 01:18:01 ouch Nov 14 01:18:04 indeed Nov 14 01:18:18 yeah Nov 14 01:18:31 mine thend to get the ip address 192.168.2.2 when I share from the mac side Nov 14 01:18:49 mine gets :192.168.7.2 Nov 14 01:19:05 * Tenkawa is just glad to be using a router connected uplink Nov 14 01:19:29 that's not the dynamic ip that the mac hands out Nov 14 01:20:07 frege: can you currently ssh to the bbb? Nov 14 01:20:52 yeah Tenkawa Nov 14 01:20:52 if so run a netstat -rn and see what the default gateway is set to. Nov 14 01:21:02 once logged in Nov 14 01:21:20 one to 192.168.43.0 for eth0 Nov 14 01:21:27 192.168.7.0 for usb0 Nov 14 01:21:31 .0? Nov 14 01:21:39 means range Nov 14 01:21:44 0 to 255 Nov 14 01:21:55 does the gateway address seem right though Nov 14 01:22:01 yeah Nov 14 01:22:04 you know what Nov 14 01:22:18 I'm gonna change en2 ip on mac side Nov 14 01:22:26 make it in the range of my wireless Nov 14 01:22:36 i need with urgency an image less than 1GB Nov 14 01:22:41 where can I find it? :S Nov 14 01:22:43 then connect it to bbb, hoping that dhcp will give it the same ip Nov 14 01:23:26 frege: which distrib you running on the bbb btw? Nov 14 01:23:37 Tenkawa: the default one :( Nov 14 01:23:40 ah Nov 14 01:24:10 * Tenkawa has all of his arm boxes (rpi,bbb,freescale) running slackware Nov 14 01:24:21 do yo uhave a regular ethernet port that you can use on a router? Nov 14 01:24:56 that's generally the easiest method Nov 14 01:26:07 slackware is awesome! Nov 14 01:26:24 i like it.. mind you i started using it in 1993 Nov 14 01:26:26 I learned linux with slackware in terminal Nov 14 01:26:28 have you tried pining 192.168.2.2 yet, btw? Nov 14 01:27:13 I think I fucked it up Nov 14 01:27:15 changed the ip Nov 14 01:27:32 actually alan_o gave you a command to to use 192.168.2.124 Nov 14 01:27:59 frege: dont fret Nov 14 01:28:10 you should be able to restart if you can't get to it Nov 14 01:28:32 thurgood: he could find it with a tcpdump and broadcast ping Nov 14 01:28:47 arp? Nov 14 01:28:54 frege: indeed Nov 14 01:29:06 or just Nov 14 01:29:11 reboot :P Nov 14 01:32:10 I have to install python dev package on it Nov 14 01:32:23 that's why I need internet, I can scp it too but it will be a pain Nov 14 01:32:59 frege: if you traceroute -n to a remote ip from the bbb how far does it get? Nov 14 01:33:20 let me see Nov 14 01:33:24 right now I don't have ssh Nov 14 01:33:45 switch that ip range you changed back Nov 14 01:34:20 Tenkawa: how do I reboot it? Nov 14 01:34:31 you should be able to default route via interface to the mac, then its connection sharing "should" take care of the rest Nov 14 01:34:37 reboot which ? Nov 14 01:34:47 oh got it nm Nov 14 01:34:54 ok cool Nov 14 01:35:09 root@beaglebone:~# traceroute -n 4.2.2.4 Nov 14 01:35:10 traceroute to 4.2.2.4 (4.2.2.4), 30 hops max, 38 byte packets 1traceroute: sendto: Network is unreachable Nov 14 01:35:15 ahhh Nov 14 01:35:38 I can ping the gateway though Nov 14 01:35:42 I mean my laptop Nov 14 01:35:51 does that netstat i gave you have a "default" entry? Nov 14 01:36:01 errr Nov 14 01:36:06 0.0.0.0 Nov 14 01:36:19 for dest Nov 14 01:36:35 what was the command? Nov 14 01:36:40 netstat -n? Nov 14 01:36:43 netstat -rn or -r Nov 14 01:36:53 Destination Gateway Genmask Flags MSS Window irtt Iface Nov 14 01:36:54 192.168.7.0 * 255.255.255.252 U 0 0 0 usb0 Nov 14 01:37:02 thats a Nov 14 01:37:05 ll? Nov 14 01:37:12 that's netstat-r Nov 14 01:37:20 there we go Nov 14 01:37:25 you need... Nov 14 01:37:28 ? Nov 14 01:37:44 route add default ip_address_of_gateway Nov 14 01:37:48 ifconfig add gateway ? Nov 14 01:37:49 try that Nov 14 01:38:13 no such a device Nov 14 01:38:24 let me look up my syntax Nov 14 01:38:27 just a sec Nov 14 01:38:50 doh Nov 14 01:38:58 route add default gw ip_address_of_gateway Nov 14 01:39:01 route add default gw 192.168.1.254 eth0 Nov 14 01:39:02 yeah Nov 14 01:39:04 gotcha Nov 14 01:39:19 to usb0 Nov 14 01:39:19 ? Nov 14 01:39:21 or eth0? Nov 14 01:39:25 no decice Nov 14 01:39:27 er device Nov 14 01:39:41 oh shit Nov 14 01:39:48 now it's getting somewhere Nov 14 01:39:48 good or bad? Nov 14 01:39:56 ping is waiting Nov 14 01:39:58 hahaha weird Nov 14 01:40:04 ping got stuck Nov 14 01:40:09 that might happen with ics Nov 14 01:40:12 and nat Nov 14 01:40:12 root@beaglebone:~# ping 4.2.2.4 Nov 14 01:40:13 PING 4.2.2.4 (4.2.2.4) 56(84) bytes of data. Nov 14 01:40:23 try nslookup something Nov 14 01:40:36 root@beaglebone:~# netstat -r Nov 14 01:40:36 Kernel IP routing table Nov 14 01:40:36 Destination Gateway Genmask Flags MSS Window irtt Iface Nov 14 01:40:36 default 192.168.7.1 0.0.0.0 UG 0 0 0 usb0 Nov 14 01:40:37 192.168.7.0 * 255.255.255.252 U 0 0 0 usb0 Nov 14 01:40:42 sorry guys for the paste Nov 14 01:40:46 make sure you have a nameserver entry in /etc/resolv.conf Nov 14 01:41:06 Tenkawa: right now it's /etc/resolv.conf Nov 14 01:41:14 is 7.1 the connection sharing ip? Nov 14 01:41:31 nameserver 127.0.0.1 Nov 14 01:41:43 yeah 192.168.7.1 is my laptop Nov 14 01:42:24 frege: nameserver 127... wont get you anywhere Nov 14 01:42:42 use whatever the os x one uses Nov 14 01:42:44 I changed it to Nov 14 01:42:50 beagleboard 192.168.7.2 Nov 14 01:42:52 right? Nov 14 01:42:57 no Nov 14 01:42:58 ahhh! Nov 14 01:43:14 and see if a nslookup works Nov 14 01:43:22 this is osx nameserver 192.168.43.1 Nov 14 01:43:28 are you sure? Nov 14 01:43:38 that will indicate if the connection is good Nov 14 01:43:50 is that a router on your net? Nov 14 01:43:59 which one? Nov 14 01:44:04 43.1 Nov 14 01:44:06 yeah that's my cellphone Nov 14 01:44:12 I'm tethering from my cellphone Nov 14 01:44:20 yeah try using that one Nov 14 01:44:48 so on beagleboard:/etc/resolv.conf , you are saying that I should have nameserver 192.168.43.1 Nov 14 01:44:49 then just do a nslookup www.google.com Nov 14 01:44:51 right? Nov 14 01:44:53 yes Nov 14 01:45:13 does it need a network service restart? Nov 14 01:45:18 nope Nov 14 01:45:32 don't have ping yet Nov 14 01:45:51 dont ping Nov 14 01:45:54 nslookup Nov 14 01:46:01 root@beaglebone:~# nslookup google.com Nov 14 01:46:01 Server: 192.168.43.1 Nov 14 01:46:01 Address 1: 192.168.43.1 Nov 14 01:46:12 icmp can be tricky through nat Nov 14 01:46:21 just hanging? Nov 14 01:46:27 yeah Nov 14 01:46:28 aah Nov 14 01:46:33 nslookup: can't resolve 'google.com' Nov 14 01:46:44 is your connection share to the os x box through usb or eth? Nov 14 01:46:50 usb Nov 14 01:46:54 hmmm Nov 14 01:47:14 its getting to the mac it seems Nov 14 01:47:23 with the route added Nov 14 01:47:57 i know theres some connection sharing logs Nov 14 01:48:03 I'm playing with sharing on mac Nov 14 01:48:09 not sure where they are hiding though Nov 14 01:48:23 my os x box is routed direct Nov 14 01:49:21 I renabled sharing on mac , it disconnected me from bbb Nov 14 01:49:28 hello everyone Nov 14 01:50:12 can someone advise me please, for a nice tutorial on how to connect to the beaglebone throught the ethernet cable Nov 14 01:50:22 frege: i feel like it is close to working... just not sure Nov 14 01:50:28 my operating system is on the sd card not the hard drive Nov 14 01:50:31 jenia: elaborate please Nov 14 01:50:54 i need to ssh to the operating system (ubuntu) that on my sd card Nov 14 01:51:03 the beagle bone boots from the sd card Nov 14 01:51:10 jenia: is it up and running? Nov 14 01:51:28 at this moment no Nov 14 01:51:41 you can configure it to just use dhcp Nov 14 01:51:42 but normally yes, the operating system is loading and all Nov 14 01:51:53 whats the difficulty? Nov 14 01:52:20 i dont know how to do it Nov 14 01:52:30 so you're saying hhcp and beaglebone Nov 14 01:52:34 ill just google that Nov 14 01:52:38 frege: after you restarted it did it let you reconnect again? Nov 14 01:52:46 jenia: make suree you look up ubuntu Nov 14 01:52:55 not yet Nov 14 01:53:05 and me im running debian on my own computer Nov 14 01:53:22 jenia: you should be able to add iface eth0 inet dhcp to /etc/network/interfaces i think Nov 14 01:53:30 frege: hmmm Nov 14 01:53:50 frege: from the mac can you ping the usb int on the bbb? Nov 14 01:53:56 thanksa lot tenkawa Nov 14 01:54:09 jenia: sure no problem Nov 14 01:54:12 I changed the ip again on the mac side to see if it fixes it Nov 14 01:54:14 good luck Nov 14 01:54:18 but now I can't see bbbb Nov 14 01:54:32 frege: if you do that you must change the bbb too Nov 14 01:54:47 frege: do not change anything on the osx side Nov 14 01:54:50 Tenkawa: I thought bbb is set to get it from DHCP Nov 14 01:55:13 frege: you have to renew the lease though Nov 14 01:55:24 cant do that if you cant connect Nov 14 01:56:04 yeah true Nov 14 01:56:07 if the dhcp scope changes while a lease is still active the dhcp client really doesnt care if i remember correctly Nov 14 01:56:09 now I'mback Nov 14 01:56:29 ok Nov 14 01:56:36 oh shit when I restart it, it flushes all the configs? Nov 14 01:56:37 lets set up a test Nov 14 01:56:40 the route is gone Nov 14 01:56:40 yes Nov 14 01:56:51 you have to add that to configs Nov 14 01:56:52 didn't know that Nov 14 01:56:59 when we get it all working Nov 14 01:57:06 ok Nov 14 01:57:29 so.. Nov 14 01:57:31 first off Nov 14 01:57:36 get the int up Nov 14 01:57:45 route add the usb gateway again Nov 14 01:58:43 route added Nov 14 01:58:45 why does the eth device on the bbb even have an ip? Nov 14 01:58:55 I gave it Nov 14 01:58:59 you arent using it right? Nov 14 01:59:03 removecit Nov 14 01:59:05 no I'm not Nov 14 01:59:07 er remove it Nov 14 01:59:13 ifconfig eth0 down? Nov 14 01:59:16 ifconfig eth0 down Nov 14 01:59:17 yep Nov 14 01:59:21 done Nov 14 01:59:24 ok Nov 14 01:59:32 now do edit /etc/resolv.conf Nov 14 01:59:33 ? Nov 14 01:59:36 yep Nov 14 01:59:52 match it up with your os x boc's Nov 14 01:59:54 er box Nov 14 02:00:01 done Nov 14 02:00:05 ok Nov 14 02:00:13 see if nslookup works now Nov 14 02:00:41 root@beaglebone:~# nslookup google.com Nov 14 02:01:13 well darn Nov 14 02:01:34 what do you think? Nov 14 02:01:40 doesn't seem to be working Nov 14 02:01:45 nslookup: can't resolve 'google.com' Nov 14 02:01:49 does this do anything? Nov 14 02:01:57 telnet 173.194.46.112 80 Nov 14 02:02:14 if not run a traceroute -n 173.194.46.112 Nov 14 02:02:25 nah Nov 14 02:02:38 I don't see anything out of my laptop Nov 14 02:02:44 can't even reach my cellphone Nov 14 02:02:47 if it hits the gateway the os x box is stopping you Nov 14 02:03:28 no it doesn't hitt the gateway Nov 14 02:03:36 oh it didnt? Nov 14 02:03:41 root@beaglebone:~# traceroute -n 173.194.46.112 Nov 14 02:03:42 traceroute to 173.194.46.112 (173.194.46.112), 30 hops max, 38 byte packets 1 * * * 2 * * * 3 * * * 4 Nov 14 02:03:51 can it ping the gw? Nov 14 02:04:09 root@beaglebone:~# ping 192.168.7.1 Nov 14 02:04:09 PING 192.168.7.1 (192.168.7.1) 56(84) bytes of data. Nov 14 02:04:09 64 bytes from 192.168.7.1: icmp_req=1 ttl=64 time=0.485 m Nov 14 02:04:11 yes Nov 14 02:04:18 but my internet is in a different range Nov 14 02:04:23 yes Nov 14 02:04:24 it's on 192.168.43.1 Nov 14 02:04:41 that means theres no forwarding between 7.0 and 43.0 Nov 14 02:04:45 right Nov 14 02:04:49 iptables ? Nov 14 02:04:51 which isnt surprisimg Nov 14 02:05:01 no.. this is on the mac Nov 14 02:05:13 the mac is whats stopping it now Nov 14 02:05:19 my theory anyaay Nov 14 02:05:19 yeah on mac Nov 14 02:05:25 my theory anyway Nov 14 02:05:33 I'm saying should we forward 7.0 to 43.0 Nov 14 02:05:41 ur right it's on mac Nov 14 02:05:45 yeah Nov 14 02:06:13 what if we add a route on mac, say route everything from and to 7.0 43.0 Nov 14 02:07:33 tethering on android doesn't let me set ip Nov 14 02:09:12 I'm gonna install a tethering app that lets me choose the ip Nov 14 02:10:13 you probably need network address translation stuff on the mac Nov 14 02:11:29 nat on os x is tricky Nov 14 02:12:05 * Tenkawa reapplies patches to his bbb kernel source Nov 14 02:12:34 too bad my compile cluster is offline tonight Nov 14 02:12:49 guess i'll set this compile to run all night Nov 14 02:12:50 hehen Nov 14 02:13:29 frege: i think that doublenatting is causing the problem Nov 14 02:13:41 since its natting to the phone already Nov 14 02:15:17 too bad its not just a hotspot device Nov 14 02:16:49 mystery solved. WHen plugged into our cisco switch directly it wont dhcp at boot unless I run udhcpc. Does connmand have a built in dhcpc client? Nov 14 02:19:10 frege: out of ideas for now.. good luck though.. you might still try that manual fowarding though Nov 14 02:23:11 cheers all, time for me to finish up for the night Nov 14 02:23:18 jenia: any luck? Nov 14 02:24:45 yes i found this: Nov 14 02:24:54 one second Nov 14 02:24:59 sure Nov 14 02:25:19 http://elinux.org/BeagleBoardDebian#eMMC:_BeagleBone_Black%29 Nov 14 02:25:25 then in Debian Configuration Nov 14 02:25:39 To start a login console on ttyO2 (the serial header next to P9), edit /etc/inittab and add: Nov 14 02:25:39 T0:23:respawn:/sbin/getty -L ttyO2 115200 vt102 Nov 14 02:25:45 i think thats what i need Nov 14 02:25:51 though i didnt try it yet Nov 14 02:25:54 thats a serial console Nov 14 02:26:02 not networking Nov 14 02:26:43 is it through the usb? Nov 14 02:26:52 no Nov 14 02:26:54 or the ethernet card Nov 14 02:26:57 ethernet? Nov 14 02:27:10 that line above? neither Nov 14 02:27:24 you need to edit /etc/network/interfaces Nov 14 02:27:38 if its debian/ubuntu based Nov 14 02:28:06 thanks ill search for that now Nov 14 02:28:15 thanks man Nov 14 02:28:24 np... there should be a default file there Nov 14 02:28:39 man 5 interfaces i think too Nov 14 02:28:51 that should be the right man chapter Nov 14 02:28:59 dont quote me pthough Nov 14 02:29:13 ok.. good luck all.. be back tomorrow Nov 14 02:32:41 jeeez Nov 14 02:33:04 I hate this kinda networking issues Nov 14 02:35:30 ok I think my board is fucked Nov 14 02:35:38 three leds on usb stay on Nov 14 02:35:45 and I can't connect to the board Nov 14 02:37:19 networking is ok but networking with Apple is crap Nov 14 02:37:54 they have the crappy BSD stack for networking and you are screwed with it Nov 14 02:38:52 yeah Nov 14 02:38:59 linux is straight forward Nov 14 02:39:14 ok back to the beginning Nov 14 02:39:52 i`m trying to port my project to osx and the kernel does not let me inject packets directly into the ethernet card :( Nov 14 02:41:59 vvu|Log: what's the command for iptables on macs? Nov 14 02:43:22 frege: ipfw i think Nov 14 02:43:31 just google, have no clue in this area with macs Nov 14 02:43:41 i just did some low level networking here with libpcap Nov 14 02:43:44 this is really boring Nov 14 02:44:41 what are you trying to do? the conversation above is too long tl;dr Nov 14 02:45:11 vvu|Log: trying to share internet from mac with bbb using usb tethering Nov 14 02:45:28 ahhh mac RNDIS Nov 14 02:45:46 yup Nov 14 02:45:59 i can just say good luck with that! Nov 14 02:46:14 do you know a way to block the RNDIS kernel kext on mac ? Nov 14 02:46:44 no Nov 14 02:46:53 vvu|Log: then how do you guys share internet? Nov 14 02:47:00 do you even have internet on bbb? Nov 14 02:47:13 i just connect it directly to my router Nov 14 02:47:22 aah cool Nov 14 02:47:41 did not do much with linux on BBB, i just got into u-boot stuff and booting it from USB Nov 14 02:47:49 when linux started my job there was done Nov 14 02:48:02 I need to install bunch of python packages Nov 14 02:48:22 and this crappy linux distro doesn't have a package mgmt apparently Nov 14 02:48:25 their website is down Nov 14 02:48:28 why just don't plug in to the router directly ? Nov 14 02:48:36 you are running angstrom ? Nov 14 02:49:07 yeah angstrom Nov 14 02:49:16 vvu|Log: I don't have a router, I tether from my cellphone Nov 14 02:49:22 that's my only connection Nov 14 02:49:44 ahh then things are out of my scope here, can't really help Nov 14 02:50:01 if you have serial link to the BBB why not tether directly into the BBB Nov 14 02:50:09 suppose usb cable tether to mac too, right ? Nov 14 02:50:11 or wi-fi ? Nov 14 02:50:58 wifi Nov 14 02:51:15 ah..no idea if so Nov 14 02:51:16 I will download packages and then scp and install manually Nov 14 02:51:20 fuck it :) Nov 14 02:51:33 :)) **** ENDING LOGGING AT Thu Nov 14 02:59:59 2013