**** BEGIN LOGGING AT Sat Jun 22 02:59:58 2013 Jun 22 08:06:05 av500: ping Jun 22 08:19:51 hmm interesting, Ethernet over USB. Jun 22 08:20:04 Also, is it the case that the beaglebone black lacks serial over usb? Jun 22 12:09:06 jj2baile: for the serial port on the BBB, you just need an 3.3V FTDI cable http://www.digikey.ca/scripts/dksearch/dksus.dll?vendor=0&keywords=768-1015-ND Jun 22 12:16:47 anybody here? Jun 22 12:16:57 I need a working uImage for 3.8.13 for the beaglebone black Jun 22 12:17:10 unfortunately. google isnt helping :s Jun 22 12:17:21 I managed to F my bbb so soon :p Jun 22 12:17:37 trying to boot a uImage via tftp.. Jun 22 12:22:44 Any kernel i try via tftp gives the following? :s Jun 22 12:22:44 Error: unrecognized/unsupported machine ID (r1 = 0x00000e05). Jun 22 12:22:44 Available machine support: Jun 22 12:22:45 ID (hex) NAME Jun 22 12:22:45 ffffffff Generic OMAP4 (Flattened Device Tree) Jun 22 12:22:46 ffffffff Generic AM33XX (Flattened Device Tree) Jun 22 12:22:46 ffffffff Generic OMAP3-GP (Flattened Device Tree) Jun 22 12:22:47 ffffffff Generic OMAP3 (Flattened Device Tree) Jun 22 12:22:47 0000060a OMAP3 Beagle Board Jun 22 12:22:48 00000a9d IGEP OMAP3 module Jun 22 12:22:48 00000928 IGEP v2 board Jun 22 12:22:49 00000ae7 OMAP4 Panda board Jun 22 12:22:50 Please check your kernel config and/or bootloader. Jun 22 12:22:51 I tried the one OE generated as well.. Jun 22 12:59:05 koen: there? Jun 22 12:59:07 gregkh: there? Jun 22 12:59:13 messed my bbb kernel. 13:52:34 Jun 22 12:59:15 trying to tftp another one but it gives this 13:52:45 Jun 22 12:59:17 Error: unrecognized/unsupported machine ID (r1 = 0x00000e05). Jun 22 12:59:21 Available machine support: Jun 22 12:59:25 ID (hex) NAME Jun 22 12:59:27 ffffffff Generic OMAP4 (Flattened Device Tree) Jun 22 12:59:29 ffffffff Generic AM33XX (Flattened Device Tree) Jun 22 12:59:31 ffffffff Generic OMAP3-GP (Flattened Device Tree) Jun 22 12:59:33 ffffffff Generic OMAP3 (Flattened Device Tree) Jun 22 12:59:35 0000060a OMAP3 Beagle Board Jun 22 12:59:38 00000a9d IGEP OMAP3 module Jun 22 12:59:39 00000928 IGEP v2 board Jun 22 12:59:42 00000ae7 OMAP4 Panda board Jun 22 12:59:45 Please check your kernel config and/or bootloader. 13:52:47 Jun 22 12:59:47 don't have an sd card readily available.. Jun 22 13:20:32 is my timezone that wierd :s Jun 22 13:20:32 nobody here Jun 22 13:27:08 ZubairLK did you try this? http://beagleboard.org/linux i tried it a while back and it works Jun 22 13:28:26 can you email me a working uimage? Jun 22 13:28:34 the one that is shipped with the bbb Jun 22 13:28:39 3.8.13 Jun 22 13:28:59 hatguy_: Jun 22 13:30:45 ZubairLK.. the one in the emmc? yeah ok.. email? Jun 22 13:31:01 yes. uImage-3-8-13 Jun 22 13:31:03 thanks Jun 22 13:31:07 zubair.lutfullah@gmail.com Jun 22 13:33:07 hatguy_: Jun 22 13:35:58 sent Jun 22 13:36:39 the uImage file. not the uboot file.. Jun 22 13:36:52 the one inside the beagle in the /boot directory.. Jun 22 13:38:06 wait Jun 22 13:41:55 sent Jun 22 13:42:46 hatguy_: Thanks! Jun 22 13:42:50 :) Jun 22 13:43:01 np :) Jun 22 13:43:29 ZubairLK: yeah had same problem with my u-boot. build a brand new image and same thingie said. dunno why but i did not do anymore research in that area Jun 22 13:43:57 problem is with uboot or with uImage? Jun 22 13:44:04 because I only messed with uImage.. Jun 22 13:44:21 i build them both from scratch Jun 22 13:44:37 I dont have an sd card atm. I'll go get one.. Jun 22 13:44:47 i guess i'll need it anyways. Jun 22 13:50:01 ZubairLK: curious thing is that u try the kernel from the angstrom image, dwlded from their website same error as you pointed above Jun 22 13:50:50 voices over there told me that there might be an issue with the device tree, u-boot not recognising the device tree well *just saying, don`t take my word serious* Jun 22 13:52:40 there's always that one specific combination of things that work Jun 22 13:53:03 I guess i'll go get an sd card and flash the whole thing Jun 22 13:53:10 useless waste of a day! Jun 22 13:54:38 +1, here the weather is so hot...can`t even work normal Jun 22 14:04:55 ZubairLK: received the google package ? Jun 22 14:05:02 nope Jun 22 14:05:40 vvu: any idea which uboot should i build? Jun 22 14:05:46 version Jun 22 14:06:03 go mainline from git and do make am335x_defconfig i think Jun 22 14:06:09 i needed a special usb boot one Jun 22 14:06:27 last one works perfect Jun 22 14:06:42 i think there are some patches to apply for it *not sure here, read somewhere* Jun 22 14:07:04 ZubairLK: look here http://www.eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-U-BootConfigureandBuild: Jun 22 14:07:41 lol Jun 22 14:07:50 has full guide how to get kernel build and everything Jun 22 14:07:53 yea. i saw Jun 22 14:21:19 <_av500_> I think it was a toolchain isse Jun 22 14:21:21 <_av500_> issue Jun 22 14:21:26 <_av500_> use the toolchain that vvu uses Jun 22 14:24:21 i got the sourcecode toolchain Jun 22 14:24:30 ZubairLK: in 10 mins gonna give you the link Jun 22 14:25:31 Sourcery CodeBench Lite Edition for ARM GNU/Linux (2013.05-24 version) Jun 22 14:41:56 I'm using the toolchain generated by OE.. Jun 22 14:42:05 I'll use this one then Jun 22 15:30:47 keesj: I got netbooting working. I'm using the tftp server built into dnsmasq and I'm not getting the delays loading modules that you mentioned (mine transfers all modules in 7 seconds). I'll document the setup on my blog and the Minix wiki; then I'll look at the zmodem stuff. Jun 22 15:33:52 tcort: what are you using zmodem for? Jun 22 15:36:57 hatguy: for transfering files from my development machine to the BeagleBone Black. Minix doesn't have a network driver yet for the BBB and swaping the uSD everytime I want a new file is a pain. There also isn't a native toolchain for Minix/arm yet (it will be soon I think), so I can't do my development there. Jun 22 15:39:55 tcort: ah..ok... we might be using zmodem too for transferring the binaries to the BBB. i'm sorry i'm not aware of your configuration... which os will be running on the BBB? Jun 22 15:40:20 Minix Jun 22 15:40:54 tcort: is console available over serial? Jun 22 15:41:06 yes Jun 22 15:41:21 ahh... ok.. Jun 22 16:20:59 tcort: yes after starting to use mainline u-boot it got faster Jun 22 16:21:34 also try http://gerrit-minix.few.vu.nl/#/c/662/ it might save a few second booting (usb start fails) Jun 22 16:22:26 I have mainly been using BBW for development it has GOD mode (JTAG + USB Serial ammo) Jun 22 16:23:30 I use tftpd with xinted (found that dnsmask did not always worked) Jun 22 16:23:59 'usb start' did fail for me. I'll try that patch a little later. Jun 22 16:24:56 also if it start failing ... I like to know. Jun 22 16:25:27 (the BBW does networking over USB) so something *is* working Jun 22 16:37:15 keesj: haha, god mode (jtag+usb serial), brilliant Jun 22 16:39:18 * keesj watched doom on MINIX/ARM again today. Jun 22 16:46:28 keesj: ARM devices are little endian or big endian, i`m very noob in this area. i have a galaxy nexus*omap4460* and a nexus7*Nvidia Tegra 3 T30L* and curious about how to write my code based on LE or BE ? Jun 22 19:17:05 it's all little Jun 22 19:17:42 (usually) ARM does support both but I have never head/seen it happen for real Jun 22 20:36:56 keesj: thx! Jun 22 20:38:18 <_av500_> vvu: not sure about your tries to get a java struct aligned Jun 22 20:38:31 <_av500_> why not just make a byteArray and write the data inside? Jun 22 20:38:44 this is what i wanted to tell i did Jun 22 20:38:46 :) Jun 22 20:38:51 <_av500_> :) Jun 22 20:39:01 makeByteArray method and concat all stuff to byte[] Jun 22 20:39:12 <_av500_> ok Jun 22 20:39:21 did not commit, want to have some more serious work done here. Jun 22 20:39:36 i need to buy myself a Y cable to charge phone and connect BBB at the same time Jun 22 20:40:04 i always forget to keep my phone charged when try to work with the BBB and it runs out of power very fast Jun 22 20:42:50 _av500_: received my beagle package, dunno what the guys sent me but i received 4 beagles http://www.flickr.com/photos/97853035@N04/9111503448/ *personal stash* :) Jun 22 20:46:44 byte Array or ByteArrayOutputStream Jun 22 20:47:26 ByteBuffer result = ByteBuffer.wrap(buffer); Jun 22 20:48:01 result has method .putShort(), .putInt() and then result.array() and it gives me byte[] Jun 22 20:48:10 now needs to be tested to see Jun 22 20:52:55 <_av500_> vvu: how is that y cable supposed to work=? Jun 22 20:53:02 <_av500_> normally usb host supplies power Jun 22 20:53:20 <_av500_> that would be non-.standard Jun 22 20:53:57 mhmh kinda right Jun 22 20:54:56 <_av500_> http://www.amazon.com/Micro-Cable-Power-Samsung-AtomicMarket/dp/B009YPYORM Jun 22 20:55:06 <_av500_> this one allows to charge the BBB Jun 22 20:55:11 <_av500_> which is also ok Jun 22 20:55:35 yeah, just to spare some phone battery BBB drains my galaxy nexus so fast Jun 22 22:16:26 I'm trying to reflash my bbb following http://www.crashcourse.ca/wiki/index.php/BBB_software_update_process Jun 22 22:16:46 but when I plug in my sd card, it just boots angstrom from the sd card. no flashing.. Jun 22 22:16:58 and yes. I do hold the boot button :p Jun 22 22:17:04 while powering on the bbb Jun 22 22:17:11 any idea what can be going wrong? Jun 22 22:28:47 do you have a serial console? Jun 22 22:39:37 keesj: removing 'usb start' saves a lot of time. Thanks for the tip. I got zmodem working too; that should save a lot of time since I usually just need to update one file, the i2c driver binary. Jun 22 22:41:25 yup Jun 22 22:41:59 Russ: I do have serial console. I changed the kernel and the emmc boot stopped working. Tried tftp. didnt work Jun 22 22:42:10 then went out and got an sd card.. Jun 22 22:42:25 reflashing isnt working. but the angstrom from the sd card just boots.. Jun 22 22:42:57 I'm trying a different img file now. Jun 22 22:50:12 nope. same thing. press user button. nothing happens.. Jun 22 22:50:59 I used sudo dd if=/home/zubairlk/Downloads/BBB-eMMC-flasher-2013.06.20.img of=/dev/sdb bs=1M Jun 22 22:51:16 unmounted the sd card Jun 22 22:51:19 popped it in the bbb Jun 22 22:51:42 pressing boot button din do anything. just booted into angstrom Jun 22 22:51:58 one thing. I didn't see alll the kernel messages. Just the initial kernel ones. and then angstrom.. Jun 22 22:52:20 ohoo now u need to wait like 50 mins Jun 22 22:52:23 to flash that stuff Jun 22 22:52:29 it is an angstrom Jun 22 22:52:30 after the boot? Jun 22 22:52:36 that underneath flashsed the emmc Jun 22 22:52:41 flashes Jun 22 22:52:43 yes, after boot Jun 22 22:52:46 so i just leave it! Jun 22 22:52:49 lolll Jun 22 22:52:53 when flash is complete all 4 leds will be lit Jun 22 22:52:54 i thought it wouldnt do anything.. Jun 22 22:52:56 and no changes Jun 22 22:53:00 hahahhaahhahahah! Jun 22 22:53:08 no no, same trap was for me at the start :) Jun 22 22:53:18 i'd just see the serial console and thought Jun 22 22:53:21 that isnt right! Jun 22 22:53:24 lol!! Jun 22 22:53:29 seriously. wasted half a dayyyyyy! Jun 22 22:53:54 when in doubt just ask Jun 22 22:53:58 so thats why all the lights are flashing.. Jun 22 22:54:17 seriously. i should reduce the mulling and googling time to just ask here.. Jun 22 22:54:17 yep, the emmc led flashes like crazy when the image is running Jun 22 22:54:31 i've rebooted it once already Jun 22 22:54:40 will that affect the script in any way? Jun 22 22:54:46 takes like 50 mins i think Jun 22 22:54:47 or will it just restart and do it all again Jun 22 22:54:50 flashing start from 0 Jun 22 22:54:58 its ok. as long as it does it.. Jun 22 22:55:05 u are in UK ? Jun 22 22:55:40 yes Jun 22 22:55:53 so night is still young there, i`m GMT+2 Romania Jun 22 22:56:08 I see Jun 22 22:56:22 written some code 2day but i`m so lazy to test now...need to connect all wires here phone bbb debug :( Jun 22 22:56:24 nights are pretty short these days. Jun 22 22:56:41 i need to get something better setup to test kernels again and again.. Jun 22 22:56:51 do you have any idea about tftp? Jun 22 22:57:00 i've done it. but i need to enter stuff every time i boot.. Jun 22 22:57:19 i wanted to script it. so that the bbb just downloads a kernel from the lan and loads stuff. Jun 22 22:57:21 u-boot script ? Jun 22 22:57:29 tried using uEnv. Jun 22 22:57:35 wasnt making much headway Jun 22 22:57:46 mind was focused on this mess.. Jun 22 22:57:50 you can keep the rootfs on the MMC Jun 22 22:57:54 and just tftp the kernel Jun 22 22:58:22 you can set up bootp server + tftp server Jun 22 22:58:28 tftp server is all done Jun 22 22:58:37 and can build a custom u-boot, with boot command Jun 22 22:58:40 i've actually done a few boots via tftp Jun 22 22:58:45 boot command to boot over usb Jun 22 22:58:54 with tftp stuff Jun 22 22:59:17 anything is possible.. Jun 22 22:59:27 in u-boot the boot command like this Jun 22 22:59:41 setenv ethact usb Jun 22 22:59:51 setenv serverip x.x.x.x Jun 22 22:59:57 setenv ipaddr 192.168.0.250; Jun 22 22:59:59 setenv serverip 192.168.0.251; Jun 22 23:00:00 yep Jun 22 23:00:02 setenv uenvcmd run loaduimage run loadfdt run mmcargs bootz 0x802800000 - 0x80F80000; Jun 22 23:00:04 setenv bootargs console=ttyO0,115200n8 quiet root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait; Jun 22 23:00:06 tftpboot 0x80200000 uImage; Jun 22 23:00:07 bootm 0x80200000 Jun 22 23:00:08 perfect Jun 22 23:00:10 I use this Jun 22 23:00:17 but i add each line in uboot via serial console Jun 22 23:00:26 i was trying to add it to uEnv.txt.. Jun 22 23:00:34 easy way is to build u-boot from src Jun 22 23:00:47 and modify include/configs/am335x_evm.h i think Jun 22 23:00:52 with your custom bootcommand Jun 22 23:00:57 i see Jun 22 23:01:05 not sure about the path of the .h file Jun 22 23:01:07 but easy to find Jun 22 23:01:10 do you know which version of uboot wont cause problems for bbb with 3.8 kernel Jun 22 23:01:25 atm. i built a 2013.v4 i think. with a patch from somewhere.. Jun 22 23:01:33 from the link i gave u earlier ? Jun 22 23:01:37 from eelinux ? Jun 22 23:01:48 eewiki* Jun 22 23:02:21 if that one works just modify the boot command there Jun 22 23:02:32 yup Jun 22 23:02:47 i used that. replaced the uboot.img and the sd card stopped booting all of a sudden as well Jun 22 23:03:00 replaced the uboot.img back with the original and kernel boot started Jun 22 23:03:31 mhmh i used mainline without patch without anything but had the hardware id problem Jun 22 23:03:55 and then i started the java port, C code took me enough to figure problems here Jun 22 23:04:00 these things are too linked now Jun 22 23:04:11 atm because of the transition to DT and 3.8 kernel Jun 22 23:04:17 yep u-boot causes that hardware id problem Jun 22 23:04:24 u-boot/kernel/uEnv have to be perfectly aligned to work Jun 22 23:04:42 i think koen can give you the perfect versions to make it work Jun 22 23:05:36 i guess Jun 22 23:05:47 lemme fix my bbb before i approach him :$ Jun 22 23:07:20 which kernel were you trying with the latest uboot that gave the HW id problem? Jun 22 23:08:10 3.8 with the whole set of patches Jun 22 23:08:51 i did not look much into it, i just wanted to make the framework to send things over usb to the board Jun 22 23:10:59 did you make it all work out then? Jun 22 23:11:17 cross compiled uboot and kernel from sources Jun 22 23:11:24 yep to build yes Jun 22 23:11:29 but then failed at the hardware id Jun 22 23:11:46 i see.. Jun 22 23:17:16 ZubairLK: any idea if we have account on ACM we have free Micro$hit products ? Jun 22 23:17:35 do ping me if we do! Jun 22 23:17:38 :) Jun 22 23:17:48 trying now to see Jun 22 23:18:19 * tcort opted out of ACM. Never used it in prior years and got spammed by them too many times. Jun 22 23:18:52 acm sends a lot of mails indeed.. Jun 22 23:19:06 vvu: no office :( Jun 22 23:19:09 http://www.acm.org/membership/student/msdnaa-faq Jun 22 23:19:17 i'll go for it for visio :p Jun 22 23:19:19 i just want some visual Jun 22 23:19:22 c/c# Jun 22 23:19:30 i think that is there. Jun 22 23:19:51 tcort: Do you know about booting kernel via tftp? Jun 22 23:20:04 I can get it done Jun 22 23:20:12 using Jun 22 23:20:15 setenv ipaddr 192.168.0.250; Jun 22 23:20:18 setenv serverip 192.168.0.251; Jun 22 23:20:19 setenv uenvcmd run loaduimage run loadfdt run mmcargs bootz 0x802800000 - 0x80F80000; Jun 22 23:20:21 setenv bootargs console=ttyO0,115200n8 quiet root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait; Jun 22 23:20:23 tftpboot 0x80200000 uImage; Jun 22 23:20:26 bootm 0x80200000 Jun 22 23:20:27 but i wanted to script it somehow.. Jun 22 23:21:39 ZubairLK: not Linux, only Minix. Here's my uEnv.txt and cmdline.txt anyway... http://pastebin.ca/2405291 and http://pastebin.ca/2405292 Jun 22 23:22:28 wow Jun 22 23:22:31 I wrote the Minix SD card iamge to an SD card with those files. The BBB netboots automatically and uses the SD card for root file system Jun 22 23:22:39 thats something Jun 22 23:22:49 i see Jun 22 23:22:57 I'm looking more on the kernel side of things Jun 22 23:23:06 although, i have a feeling. i'm going about it the wrong way Jun 22 23:23:10 Minix has a lot of microkernel servers that need to be loaded, so the netbootcmd line is really long. Jun 22 23:23:21 and i just need to dynamically load/unload the kernel module. And not the entire thing. Jun 22 23:23:31 i see Jun 22 23:23:47 thanks Jun 22 23:31:26 things got a lot interesting right now with my galaxy nexus kernel... Jun 23 00:02:05 ds2: ping Jun 23 00:07:29 vvu|Mobile: thanks a million Jun 23 00:07:34 emmc image is working! Jun 23 00:07:38 anytime Jun 23 00:07:39 all i had to do was wait lol.. Jun 23 00:07:47 damn! Jun 23 00:07:47 :) Jun 23 00:07:48 :) Jun 23 00:09:08 do you have any experience with android kernel? Jun 23 00:10:21 nope Jun 23 00:10:25 sorry. Jun 23 00:10:48 android development has been on the todo list for way too long. but some other thing would just come up :) Jun 23 00:11:06 havent really touched the devel side of android. Jun 23 00:11:09 i don`t think that otg support can be removed for my galaxy nexus without breaking up usb support at all Jun 23 00:11:09 except for rooting.. Jun 23 00:11:33 brb, switching back to mac **** ENDING LOGGING AT Sun Jun 23 02:59:58 2013