[00:00] Xofrats: were you able to compile with the same native compiler before? [00:00] at least with the same version? [00:00] if you're using ubuntu you can just use the ubuntu cross compiler [00:01] like the package gcc-4.5-arm-linux-gnueabi [00:01] Daviey: thanks [00:01] This is the ubuntu cross-compiler [00:01] starfox@ubuntu:~/module/mods$ arm-linux-gnueabi-gcc --version [00:01] arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.5.2-8ubuntu3) 4.5.2 [00:02] The native one I used was gcc-4.4.5-8 (Debian) [00:02] Because Ubuntu no longer runs on armv6 [00:03] you can try to cross compile with gcc-4.4-arm-linux-gnueabi if you're running natty [00:03] not the same but at least same major gcc version [00:03] Okay, I'm game for that. What would I need to install that? [00:18] I guess I kinda figured out, apt-get remove gcc-arm-linux-gnueabi, apt-get install gcc-4.4-arm-linux-gnueabi [00:18] Thanks for the pointer [00:19] heya rsalveti [00:20] rsalveti, do you know where i can find documentation about porting an application to arm? === asac_ is now known as asac === prpplague^2 is now known as prpplague [02:32] Hello, Where I find the usbserial module to ARM? [02:32] arm6 [02:46] arcaico: usbserial is an option in the linux kernel [02:47] arcaico: either turn it on it your kernel configuration and compile it in, or compile it as a module [03:02] prpplague thanks [03:02] Can you indicate some link to study? [03:03] there is no file in: /lib/modules/kernel [03:03] http://marcin.juszkiewicz.com.pl/2010/10/19/how-to-cross-compile-arm-kernel-under-ubuntu-10-10/ === mayday_jay-away is now known as mayday_jay === mayday_jay is now known as mayday_jay-away === mayday_jay-away is now known as mayday_jay === Amaranthus is now known as Amaranth [08:23] hi [08:23] jcrigby: is there an updated u-boot about yet with pxe fixes? [08:23] I've installed the official pre-installed 11.04 headless image for beagleboard-xm [08:23] and changed the kernel like it says in the website [08:24] everything seems to work fine but the ethernet [08:24] I've tried insmod g_ether.ko, but it's not working [08:24] any idea? [08:26] headless is super minimal rather for developers that need a basic system to build on top [08:26] it might miss bits and pieces in userspace [08:26] do you see the NIC with "cat /proc/net/dev" ? [08:27] um, I'm going to boot it up now and see [08:27] I know headless is minimal, but I need a minimal system [08:27] It's going to act as an on board computer [08:27] alternatively you could use the oneiric server image, that should also not require fiddling with the kernel [08:28] I won't need a screen [08:28] I need the ethernet for connecting to it and develop [08:28] sure [08:28] and the spi and i2c in the expansion slots [08:32] It's not there, only the loopback interface [08:34] that looks like a kernel bug [08:35] yep [08:35] but I'm suprised that I couldn't find it anywhere [08:36] in the forums or google [08:36] seems like noone tries those headless images [08:36] well, i would recommend to at least test the server image (it is what was headless in natty but has additionally installable packages available [08:36] we didnt really promote them much [08:37] but our QA tests them heavily (thats how we i.e. find out that you need another kernel tarball for certain boards etc) [08:38] the server image of oneirc you mean? [08:38] yes [08:38] oneiric* [08:38] server is headless+a package pool of server packages you can install from [08:38] but uses a 3.0 kernel that should definitely support your board [08:39] but still lets me select the packages, right? [08:39] sure [08:39] at least in categories like the natty headless [08:39] the user experience is the same ... just the image is b igger [08:39] because it shops a pool of deb's [08:39] is it going to fit in a 2GB SD? [08:39] *ships [08:39] yes [08:39] should fit i think [08:39] ok, thanks :) [09:29] ogra_: uhmmm... didn't the early 3.0 omap3 kernels have broken usb? [09:30] ogra_: perhaps that's why he doesn't see the ethernet [09:30] he is on natty still [09:31] ah ok [09:32] and he has a board that came out fater natty released [09:32] *after [09:32] its likely that 3.0 will at least be fine with that part ... USb has to be checked indeed, but i think it should work again [09:34] but ethernet in the beagle works over a usb interface i think [09:34] yes [09:34] well anyway I'm installing oneiric, so I'll try [09:34] right :) [10:00] ogra_, it says the same during the installation as the natty version [10:00] "No network interfaces detected ? [10:00] ? ? [10:00] ? No network interfaces were found. The installation system was unable to ? [10:00] ? find a network device. " [10:00] ops, sorry for the crappy copy-paste [10:01] "You may need to load a specific module for your network card" [10:01] hmm, first file a bug :) [10:01] do you have other USB devices you can see ... i.e. with lsusb ? [10:01] i don't have any other usb device connected [10:02] i can try I mouse or something to see if it shows up, when i finish the installation [10:03] just run lsusb, it should at least show you hubs etc [10:21] well, something is working [10:21] lsusb [10:21] Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [10:21] Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [10:25] oh, nice [10:25] ogra_, it doesn't work out of the box, the ethernet [10:25] but the usbs work [10:25] with modprobe g_ether, now the usb0 interface is up [10:25] weird [10:25] yeah, gadget wont indeed work by default [10:25] but i don't know why insmod g_ether.ko doesn't work [10:26] but a general network connection should [10:31] um.. [10:31] the interface usb0 for the ethernet gadget is up [10:32] but dhclient can't find a dhcp server [10:32] yes, but we dont load any gadget modules by default afaik [10:32] and the leds in the ethernet aren't on either [10:32] leds on the ethernet ? [10:32] why would you have any leds lit up ? [10:32] the physical connector has 2 leds [10:32] you use gadget ethernet [10:33] not the NIC [10:33] the one that comes with the board [10:33] you know what g_ether is, right ? [10:34] yes, but if i'm not mistaken, the ethernet connector in the board [10:34] (hint, itr has nothing to do with the network card at all) [10:34] works that way [10:34] no [10:34] it's wired through an usb [10:34] it initializes a usb ethernet connection on the mini USB port [10:35] oh, then I was mistaken.. [10:35] in all the info I've read everyone was using usb0/usb1 devices for ethernet [10:36] ogra@panda:~$ ifconfig |grep HWaddr [10:36] eth0 Link encap:Ethernet HWaddr 2e:40:70:f0:12:06 [10:36] ogra@panda:~$ uname -a [10:36] Linux panda 2.6.38-1309-omap4 #14tiomap4v201107060935 SMP PREEMPT Wed Jul 6 08:35:55 UTC 2011 armv7l armv7l armv7l GNU/Linux [10:37] (thats oneiric though, but the kernel should still be the same as natty's on this install) [10:37] but that's a different board [10:38] ?? [10:38] that's a pandaboard, right? [10:38] oh, wait, you said beagle [10:38] yes [10:39] a beagleboard-xm revC [10:39] yeah, that might be usb0 ... but its definitely not g_ether :) [10:39] ogra_, yes it's usb0 [10:39] though i thoght we fixed it for both boards [10:39] u guess dhclient usb0 will work [10:40] *i [10:40] right [10:40] it's not g_ether the module then? [10:40] right, just ignore g_ether [10:40] with g_ether the usb0 is up, but dhclient not working [10:40] unless you want to actually use g_ether indeed :) [10:41] then what would be the right module to load? [10:41] I'm reading that it's treated indeed as an usb gadget [10:42] it shouldnt [10:42] its a fully fledged USB NIC [10:43] just weirdly named [10:43] uh, strange [10:44] http://groups.google.com/group/beagleboard/browse_thread/thread/356f0edcd90a6320 [10:44] did you ifconfig usb0 up before running dhclient btw ? [10:44] yes [10:44] it shows in ifconfig -a [10:44] and what did the installer actually offer you ? [10:44] nothing [10:45] it should tell you name and description of the device before trying to configure it [10:45] it says that it couldn't detect any network interface [10:45] ah [10:45] then i just tried modprobe g_ether [10:45] and usb0 appeared [10:45] you are sure it wasnt there before ? [10:46] yes [10:47] hmm, weird [10:48] y can reboot and try again [10:54] yep, no network interface when i reboot [10:54] only lo [10:54] very weird [10:54] and thats natty ? [10:55] no, oneiric [10:55] ah, no, wait [10:55] yeah [10:55] natty didn't even work loading g_ether [10:55] * ogra_ is active in too many channels today [10:55] modprobe g_ether with natty gave an error [10:55] well, it definitely sounds like a kernel bug you should file [10:56] afaik we only have revA XMs in the team so its hard to test such issues [10:57] do you see any oopses or some such in dmesg ? [10:57] ogra_, I think revA also having the same issue [10:57] siji, well, then we would have seen it during release testing [10:57] ok [10:57] that's strange, should've noticed it [10:57] natty definitely has a working NIC on the XM revA [10:58] out of the box? [10:58] yes [10:58] ogra_, yes it's working but every boot i have to establisht he command dhclient usb0 [10:58] (dont knw whether it's a bug or not) [10:58] that would have blocked the release if such an issue would have shown up during final release testing [10:59] though check the known issues page, it might be that there were issues with the non netbook images the netbook images dont have [10:59] ogra_, ok [11:01] any way i simply made a init script and executing it while booting which solved my prblm :) [11:01] dhclient usb0 doesn't work for me i'm afraid [11:02] well, you dont see the NIC at all [11:02] thats different [11:02] since you dont even have usb0 [11:02] but with modprobe g_ether it shows up [11:02] thats a totally different device, ignore gadget stuff [11:02] siji, does g_ether shows up in your lsmod? [11:03] ok then [11:03] Johansson, checking .. [11:03] sadly they are both named usb* [11:03] Johansson, no [11:03] then the problem is that I need to load the right module, which I don't know [11:03] no [11:03] the omap kernel should have all bits the beagle needs compiled in [11:04] can you pastebin /var/log/dmesg soemwhere ... after a boot without touchuing g_ether [11:05] ogra_, me ? [11:05] no, me probabl [11:05] siji, no [11:05] :) [11:05] ok [11:05] :) [11:06] gotta go now, we'll back in about half an hour and will check [11:06] btw, thanks for the help [11:09] welcome === Jack87|Away is now known as Jack87 === Jack87|Away is now known as Jack87 === Jack87|Away is now known as Jack87 [12:00] ogra_, the full dmesg: http://pastebin.com/CZq8WfXJ [12:02] well, looks like it doesnt have any NIC there, thats definitely a kernel issue [12:03] will it be fixed compiling a new kernel? [12:04] well, first of all make sure to file a bug, then hassle ppisati about it enough to make him fix it ;) [12:05] (you can alsdo try to bribe him with beer or so, that might even get faster results) [12:05] hehe, ok [12:05] rsalveti, ^^^ have you heard of XM revC board NIC issues ? [12:06] but my question was if the problem is with this image [12:06] or if there is no support at all for this nic in the kernel [12:06] well, thats what the bug is supposed to tell us :) [12:07] afauik it should just be the same smsc adapter the panda uses [12:08] and i think it should be even compiled in statically ... though that might have changed since i touched omap3 kernel stuff last [12:09] ogra_: it seems that there's an issue with usb x revc [12:10] aha ! [12:10] still didn't check the details yet, but I remember the patches to fix it were applied [12:10] well, that would explain everything then :) [12:10] so could be a new bug against 3.0 [12:10] even with linaro kernels [12:10] well, he sees it on natty too [12:10] i was about to suggest to try a linaro .deb [12:11] but if thats the same it wont be worth the effort [12:12] hm, weird, I remember we fixed this at natty [12:12] [ 0.079040] OMAP3 Beagle Rev: xM C [12:12] it's properly identified === Jack87|Away is now known as Jack87 === mayday_jay is now known as mayday_jay-away [12:37] bah, crap ... the ac100 installer cant work the way it is designed [12:37] sigh [12:39] infinity, i fear i need to go back to the overlay initrd and to using abootimg on antimony [12:40] infinity, the tarball is renamed n times i will never have the right filename in the initrd === mayday_jay-away is now known as mayday_jay [12:53] ogra_: in theory http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=commitdiff;h=ee67d920c47e8a804560eed1e3b8f3157df50fe2;hp=bbe1f061a9bcc183c60921a70c98c08668bb9984 fixed the revc support for natty [12:53] at least this was tested by some folks that had revc and it worked fine [12:54] but this is not at the released kernel [12:54] aha [12:54] guess we have that documented at the wiki page [12:55] well, the wuestion is if it is in the revC kernel that tobin offers as tarball :) [12:55] you cant use the release kernel anyway with that board === Lopi is now known as Lopi|work [14:23] howdy guys [14:23] yo [14:23] I was wondering what mirror to use to install arm (i.e. archive.ubuntu.com)? [14:24] ports.ubuntu.com/ubuntu-ports [14:24] whats your installation taget device [14:25] ogra_: cool [14:25] thanks [14:25] using a pandaboard [14:26] what image ? they should all be properly pre-configured to DTRT [14:26] (i.e. the mirror should be pre-selected) [14:27] if not, thats a bug that should be filed [14:36] * ogra_ could really need some brilliant idea for the tarball naming problem [14:36] * ogra_ looks at infinity trying to find out if thats a snore coming from there or not [15:20] ogra_: Hrm? How does the filename matter? [15:20] infinity, it i ued to find the file :) [15:20] *used [15:20] Well, find-live-filesystem is going to give you a consistent filename on antimony. [15:20] ele i would have to iterate over all posible tarballs and check all md5's (as you noticed before) [15:20] *else [15:21] Of course, it might change again when you publish. [15:21] if i create the md5sum file before find-live-filesystem, the filename is differebt [15:21] right, and publishing chnges it again [15:21] So? [15:22] with my way of doing the post processing on antimony i know the final filename [15:22] The md5sum file shouldn't matter. It could just be stdin, for all one cares. [15:22] so that wasnt a problem before [15:22] And actually, no. You still don't know the final filename with doing it all on antimony. [15:23] Since we rename dailies to ubuntu-$version-whatever when we publish milestones and final releases. [15:23] hmm, right, thats in cdimage [15:23] btw [15:23] http://paste.ubuntu.com/668356/ [15:23] a review would be appreciated before i merge that [15:26] Your script just needs to know all the possible names it could be looking for, I suppose. Or a pattern. [15:26] Why didn't you use the live-build helpers to mount/umount your special filesystems? Would have avoided that case statement, since it already knows the right thing. [15:27] either that or i could pre-filter against the filesize [15:27] hmm [15:28] you mean lb_chroot_sysfs and friends ? [15:28] *nod* [15:28] how do i call them, are they in PATH ? [15:28] also do they mount in the right chroot :) [15:28] given i seem to have two [15:28] You call them as "lb chroot_sysfs $args" [15:29] And yeah, they operate on chroot/ not on binary/foo/blah. [15:29] The one in binary is just a copy of the other. [15:29] hmm, so i should change my code to point to chroot/ then [15:30] Possibly. [15:39] infinity, bah, that now looks boring http://paste.ubuntu.com/668365/ [15:40] any obvious typos ? [15:41] hmm, i could drop rootpath as well i guess [15:41] Nope, but you want to pass "$@" as the second argument to all your lb calls. [15:41] In the case of those three, it probably doesn't matter that it gets all the arguments, but one never knows what some crazy person might do later. :) [15:41] And yeah, the rootpath thing is pointless. [15:42] * ogra_ adds, though the code only chcks for install|remove anyway [15:43] Yeah, I know. It's just lb best practice, since all the tools are meant to potentially care about environment. [15:43] (And they really should have a better way of doing that than passing the CLI on to everything) [15:43] But whatever. [15:44] heh, yeah [15:44] ok, merging and uploading ... i'm curious if it will work :) [15:46] Is 9:45am too early to hit the gin? [15:46] depends on the amount of tonic [15:47] Ahh, that's how it works? Good to know. [15:47] My best friend's grandpa died last night, and I did the only sane and manly thing -- kept him up all night drinking. [15:47] And now I'm trying to sort out how to operate on 3 hours' sleep with a splitting headache. :P [15:48] alka selzer ftw [15:49] and yes, after a 3h night gin at 9:45 is a sanr thing [15:49] *sane [15:49] (if you drank the night before) === mayday_jay is now known as mayday_jay-away [20:46] using an ubuntu core (oneiric) base, i've gone through and installed ubuntu-desktop, and I'm getting a few issues, one being locale can't seem to set the default locale (is this because I'm in a chroot without a kernel yet?) or am I missing something else, I do recall it asking me for the locale(s) to use, and I set it to US/US/UTF-8, the other is that dpkg seems to die because of modemmanager, ar [20:46] e these known issues already? === plars_ is now known as plars === mayday_jay-away is now known as mayday_jay === Lopi|work is now known as Lopi