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