axisys | http://wiki.debian.org/QemuUserEmulation <-- it points to http://www.emdebian.org/debian/pool/cross-unstable/g/glibc/libc6-dev-arm-cross_2.3.6.ds1-6_all.deb | 00:04 |
---|---|---|
axisys | but that does not exist | 00:05 |
GrueMaster | axisys: That seems like a question for the debian channels. | 00:16 |
axisys | GrueMaster: was replying to twb's comment from yesterday.. i guess he left | 00:17 |
axisys | GrueMaster: trying to find out how to cross compile a kernel module for armv7l.. host is ubuntu on x86 | 00:17 |
GrueMaster | Oh, I'm actually doing the same. Here is the instructions: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel | 00:18 |
axisys | GrueMaster: :-) | 00:18 |
axisys | how do I know if it is armel or armhf ? dont know the difference | 00:19 |
Neko | axisys, http://www.emdebian.org/debian/pool/main/g/glibc/ | 00:20 |
Neko | they moved it. the debian wiki is out of date, feel free to update. | 00:20 |
axisys | Neko: i dont use debian | 00:20 |
Neko | you're on ubuntu? | 00:21 |
axisys | Neko: my laptop is ubuntu 11.10 x86 64bit | 00:21 |
axisys | twb suggested to read that.. hence my query | 00:21 |
GrueMaster | axisys: What are you trying to build? | 00:21 |
Neko | oh.. ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- | 00:21 |
Neko | to make. it'll work. | 00:21 |
Neko | you really don't need much else than those two | 00:21 |
axisys | i want to build a rtl8150.ko for android tablet | 00:22 |
axisys | usb ethernet driver | 00:22 |
Neko | just the driver on it's own? | 00:22 |
axisys | Neko: i need to get the cross compiler | 00:22 |
Neko | it's part of the kernel since forever so you're better off building the whole kernel from scratch | 00:22 |
axisys | Neko: kernel module .. yes | 00:22 |
axisys | Neko: right | 00:22 |
axisys | Neko: but never done it | 00:23 |
axisys | Neko: cyanogenmod's wiki is not working for me | 00:23 |
Neko | never compiled a kernel or never cross compiled a kernel? | 00:23 |
axisys | neither | 00:23 |
axisys | well did a little bit today with a cross compiler from codesourcery.com ? | 00:23 |
axisys | i think that is the url.. forgot | 00:23 |
axisys | in the past did build an alpha kernel.. but still very limited experience.. | 00:24 |
Neko | them's the guys, but you should be able to use the arm cross compilers in the standard ubuntu repos | 00:24 |
axisys | have been using unix for 10+ yrs.. but now like to dive into lower layer | 00:24 |
Neko | just apt-get install gcc-arm-linux-gnueabi binutils-multiarch | 00:24 |
Neko | don't kick me if that doesn't install anything, I'm remembering those from last time I had to install them :D | 00:25 |
Neko | you'll probably also need u-boot-tools or u-boot-mkimage or whatever they call it now | 00:25 |
axisys | Neko: was looking at GrueMaster's url | 00:25 |
Neko | you're not building an ubuntu kernel though | 00:25 |
axisys | Neko: no | 00:25 |
Neko | so half of that doesn't make any sense for you | 00:26 |
axisys | i think i need a good cross compiler.. i got all the CM kernel | 00:26 |
axisys | but now need to build the kernel and then push the driver over | 00:26 |
axisys | here is my android | 00:27 |
axisys | Linux localhost 2.6.36.3-00020-g3d351b6 #1 SMP PREEMPT Wed Oct 19 10:52:26 JST 2011 armv7l GNU/Linux | 00:27 |
Neko | okay you probably best to get the config from the kernel on the android device, I dunno how you're going to get that off though, find the exact source used to build it, and then just cp myandroidconfig /my/linux/source/.config and then "make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig" | 00:28 |
Neko | hit / and then type rtl8150 and find the menu it's in, go there, enable it as a module, et voila | 00:28 |
axisys | i got the kernel | 00:28 |
Neko | make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage | 00:28 |
GrueMaster | You should be able to make the module out of tree. Just add "export CROSS_COMPILE=arm-linux-gnueabi-" to the process of making an out-of-tree module. | 00:28 |
Neko | that's assuming it boots off a uImage | 00:28 |
axisys | ok so first thing first.. what do I run to get the arm cross compiler? | 00:29 |
Neko | you said you already have it | 00:29 |
axisys | i have the kernel | 00:29 |
Neko | I'm gonna leave you to it, I have a ton of work to do | 00:29 |
Neko | you said you got a compiler from codesourcery.com | 00:29 |
Neko | so you're set up and ready to go | 00:30 |
axisys | the cross compiler i used was from there ^ .. but did not build any module | 00:30 |
Neko | .. did you make modules? | 00:30 |
Neko | and use the original config and update it? | 00:30 |
Neko | no wait I said I was gonna leave you to it. sorry, bye :D | 00:30 |
axisys | http://paste.ubuntu.com/865728/ <- this is what I ran so far | 00:31 |
GrueMaster | axisys: I personally don't want to sound like an ass, but I really don't know how to help on this. This is more of an android question than an ubuntu-arm question. | 00:34 |
axisys | well.. do I need to run make modules after make ? | 00:35 |
GrueMaster | There is a way to just make the one module you need. let me look. | 00:35 |
GrueMaster | http://hex.ro/wp/blog/compile-an-android-kernel-module-outside-the-kernel-source-tree/ will give you some ideas. But you should be able to build that module by itsself. | 00:36 |
axisys | GrueMaster: thanks | 00:37 |
GrueMaster | Here's a google search that helps. "kernel module build android". | 00:38 |
GrueMaster | Tons of returns. | 00:38 |
axisys | :-) .. wow you did not give me the lmgtfy .. lol | 00:38 |
axisys | GrueMaster: thank you for your help | 00:39 |
GrueMaster | This one in particular might be more helpful. http://omappedia.org/wiki/Building_Android_Kernel | 00:39 |
GrueMaster | Thant's not how I roll. :P | 00:39 |
axisys | GrueMaster: i was using the first link from that search.. let me bug those guys more | 00:40 |
axisys | i think i am very close | 00:40 |
GrueMaster | Let me know if it works for you. | 00:40 |
axisys | GrueMaster: sure | 00:40 |
GrueMaster | HA! Fixed my audio (bug 925094) and my network (bug 838200) on my beaglexm. Now to get the kernel team to accept them. | 03:07 |
ubot2` | Launchpad bug 925094 in linux "No audio on omap (beagleXM) system" [Medium,Confirmed] https://launchpad.net/bugs/925094 | 03:07 |
ubot2` | Launchpad bug 838200 in u-boot-linaro "No network support on Beagle XM" [High,Confirmed] https://launchpad.net/bugs/838200 | 03:07 |
=== calculu5 is now known as calculus | ||
=== jkridner_ is now known as jkridner | ||
=== Dioxin_ is now known as Dioxin | ||
=== Dioxin_ is now known as Dioxin | ||
James_KL | hello , installing ubuntu on arm , gives that error x86_64 : http://bitsy.me/img4dy - WTF? | 10:24 |
=== yofel_ is now known as yofel | ||
=== calculu5 is now known as calculus | ||
=== axisys is now known as axisys_ | ||
=== axisys_ is now known as axisys | ||
=== jsm_ is now known as juno | ||
juno | hello | 19:21 |
juno | I have been an ubuntu user for ages and now have some spare time and would like to contribute, specially interested in ARM issues | 19:22 |
juno | have been cherry picking ftbfs bugs on armhf, any ideas about how to contribute best to the upcoming release? | 19:25 |
steev_ | juno: silly question, but how do you go about finding the ftbfs bugs on armhf? i suck at launchpad | 22:26 |
infinity | steev_: http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20120201-precise.html | 22:36 |
infinity | steev_: http://qa.ubuntuwire.org/ftbfs/ | 22:36 |
steev_ | oh spiffy, i like wgrant, he's good people | 22:36 |
infinity | steev_: Between those two pages, there should be enough FTBFS and bug references to keep anyone busy. | 22:36 |
infinity | steev_: The first is a summary of the last rebuild test, the second is the state of the current archive. | 22:36 |
steev_ | yeah i've been playing with precise armhf on my efika for a while now, it's decent enough (there are some minor issues with opengl es that i haven't tracked down) | 22:38 |
juno | steev_: I have been using this page, which is a subset of the page mentioned by infinity, only showing armel and armhf FTBFS: http://qa.ubuntuwire.org/ftbfs/primary-precise-armhf.html | 22:51 |
wgrant | juno: Hm, I actually meant to delete that one when I added armhf to the main one. But if it's still useful, I'll keep it :) | 23:12 |
steev_ | wgrant: i like it, i can focus on the arch i care about ;) | 23:13 |
juno | wgrant: agree with steev_, it allows to focus on the arch | 23:22 |
juno | by the way, I read a lot in this channel about setting up a pandaboard with usb disk, but not so much about NFS | 23:27 |
juno | is there any reason why I should not use a root-NFS mount setup? I love the control this gives me to try different rootfs easily | 23:28 |
mythos | i use it all the time | 23:35 |
mythos | so... no, there is not really a reason not to do it | 23:35 |
mythos | in fact, i love it to restore the root with a simple tar xzf -C | 23:36 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!