/srv/irclogs.ubuntu.com/2012/03/03/#ubuntu-arm.txt

axisyshttp://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.deb00:04
axisysbut that does not exist00:05
GrueMasteraxisys: That seems like a question for the debian channels.00:16
axisysGrueMaster: was replying to twb's comment from yesterday.. i guess he left00:17
axisysGrueMaster: trying to find out how to cross compile a kernel module for armv7l.. host is ubuntu on x8600:17
GrueMasterOh, I'm actually doing the same.  Here is the instructions:  https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel00:18
axisysGrueMaster: :-)00:18
axisyshow do I know if it is armel or armhf ? dont know the difference00:19
Nekoaxisys, http://www.emdebian.org/debian/pool/main/g/glibc/00:20
Nekothey moved it. the debian wiki is out of date, feel free to update.00:20
axisysNeko: i dont use debian00:20
Nekoyou're on ubuntu?00:21
axisysNeko: my laptop is ubuntu 11.10 x86 64bit00:21
axisystwb suggested to read that.. hence my query00:21
GrueMasteraxisys: What are you trying to build?00:21
Nekooh.. ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-00:21
Nekoto make. it'll work.00:21
Nekoyou really don't need much else than those two00:21
axisysi want to build a rtl8150.ko for android tablet00:22
axisysusb ethernet driver00:22
Nekojust the driver on it's own?00:22
axisysNeko: i need to get the cross compiler00:22
Nekoit's part of the kernel since forever so you're better off building the whole kernel from scratch00:22
axisysNeko: kernel module .. yes00:22
axisysNeko: right00:22
axisysNeko: but never done it00:23
axisysNeko: cyanogenmod's wiki is not working for me00:23
Nekonever compiled a kernel or never cross compiled a kernel?00:23
axisysneither00:23
axisyswell did a little bit today with a cross compiler from codesourcery.com ?00:23
axisysi think that is the url.. forgot00:23
axisysin the past did build an alpha kernel.. but still very limited experience..00:24
Nekothem's the guys, but you should be able to use the arm cross compilers in the standard ubuntu repos00:24
axisyshave been using unix for 10+ yrs.. but now like to dive into lower layer00:24
Nekojust apt-get install gcc-arm-linux-gnueabi binutils-multiarch00:24
Nekodon't kick me if that doesn't install anything, I'm remembering those from last time I had to install them :D00:25
Nekoyou'll probably also need u-boot-tools or u-boot-mkimage or whatever they call it now00:25
axisysNeko: was looking at GrueMaster's url00:25
Nekoyou're not building an ubuntu kernel though00:25
axisysNeko: no00:25
Nekoso half of that doesn't make any sense for you00:26
axisysi think i need a good cross compiler.. i got all the CM kernel00:26
axisysbut now need to build the kernel and then push the driver over00:26
axisyshere is my android00:27
axisysLinux localhost 2.6.36.3-00020-g3d351b6 #1 SMP PREEMPT Wed Oct 19 10:52:26 JST 2011 armv7l GNU/Linux00:27
Nekookay 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
Nekohit / and then type rtl8150 and find the menu it's in, go there, enable it as a module, et voila00:28
axisysi got the kernel00:28
Nekomake ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage00:28
GrueMasterYou 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
Nekothat's assuming it boots off a uImage00:28
axisysok so first thing first.. what do I run to get the arm cross compiler?00:29
Nekoyou said you already have it00:29
axisysi have the kernel00:29
NekoI'm gonna leave you to it, I have a ton of work to do00:29
Nekoyou said you got a compiler from codesourcery.com00:29
Nekoso you're set up and ready to go00:30
axisysthe cross compiler i used was from there ^ .. but did not build any module00:30
Neko.. did you make modules?00:30
Nekoand use the original config and update it?00:30
Nekono wait I said I was gonna leave you to it. sorry, bye :D00:30
axisyshttp://paste.ubuntu.com/865728/ <- this is what I ran so far00:31
GrueMasteraxisys: 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
axisyswell.. do I need to run make modules after make ?00:35
GrueMasterThere is a way to just make the one module you need.  let me look.00:35
GrueMasterhttp://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
axisysGrueMaster: thanks00:37
GrueMasterHere's a google search that helps.  "kernel module build android".00:38
GrueMasterTons of returns.00:38
axisys:-) .. wow you did not give me the lmgtfy .. lol00:38
axisysGrueMaster: thank you for your help00:39
GrueMasterThis one in particular might be more helpful.  http://omappedia.org/wiki/Building_Android_Kernel00:39
GrueMasterThant's not how I roll.  :P00:39
axisysGrueMaster: i was using the first link from that search.. let me bug those guys more00:40
axisysi think i am very close00:40
GrueMasterLet me know if it works for you.00:40
axisysGrueMaster: sure00:40
GrueMasterHA!  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/92509403:07
ubot2`Launchpad bug 838200 in u-boot-linaro "No network support on Beagle XM" [High,Confirmed] https://launchpad.net/bugs/83820003: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_KLhello , 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
junohello19:21
junoI have been an ubuntu user for ages and now have some spare time and would like to contribute, specially interested in ARM issues19:22
junohave 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 launchpad22:26
infinitysteev_: http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20120201-precise.html22:36
infinitysteev_: http://qa.ubuntuwire.org/ftbfs/22:36
steev_oh spiffy, i like wgrant, he's good people22:36
infinitysteev_: Between those two pages, there should be enough FTBFS and bug references to keep anyone busy.22:36
infinitysteev_: 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
junosteev_: 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.html22:51
wgrantjuno: 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
junowgrant: agree with steev_, it allows to focus on the arch23:22
junoby the way, I read a lot in this channel about setting up a pandaboard with usb disk, but not so much about NFS23:27
junois there any reason why I should not use a root-NFS mount setup? I love the control this gives me to try different rootfs easily23:28
mythosi use it all the time23:35
mythosso... no, there is not really a reason not to do it23:35
mythosin fact, i love it to restore the root with a simple tar xzf -C23:36

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!