/srv/irclogs.ubuntu.com/2012/01/12/#ubuntu-arm.txt

NotJimCarreyanyone know what "for thumb inter-working we require an architecture which supports blx" means when i try building node.js in an ARM environment?03:18
twbblx is probably an instruction03:20
twbhttp://infocenter.arm.com/help/topic/com.arm.doc.kui0100a/armasm_cihfddaf.htm03:20
twbIIUC it's how you tell the CPU to swap from arm instructions to thumb instructions03:21
twbSounds like you're on an M profile ARMv7 core and you simply can't have that.03:22
NotJimCarreyknow how to add it?03:22
twbGet a different CPU03:22
NotJimCarreylol03:22
NotJimCarreyok, know a way around it?03:23
twbOr it may be you're compiling for a lowest-common-denominator that doesn't include that, although your actual target hardware does03:23
twbIt may also be that BLX is only needed because that's what node.js source knows how to use, and you can either HTFS or node.js, or compile it to thumb-less ARM03:23
NotJimCarreyum, huh03:24
NotJimCarreyall i know is i have a Texas Instruments OMAP3530 system-on-chip with ARM Cortex-A803:27
twbFWIW on oneiric, apt-get source nodejs; ./configure --without-ssl worked for me03:28
lilsteviethat would seem odd03:28
lilsteviethumb is part of armv703:28
lilstevieand there is no other way to switch between thumb and arm other than BLX03:29
NotJimCarreytrying --without-ssl03:31
NotJimCarreysame error03:31
twblilstevie: I suspect he's doing -march armv4 or something, implicitly.03:34
NotJimCarreyi tried make CFLAGS=-march=armv5t earlier, but no go03:35
twblilstevie: ARMv7-M apparently lacks BLX03:36
twbRef. previous link03:36
NotJimCarreyshould it be "make CFLAGS=-march=armv5t" or "make CFLAGS='-march=armv5t'"?03:38
lilstevie-march is going to fail03:42
lilstevie:p03:42
lilsteviewell not going to fail03:42
lilsteviebut is fail03:42
lilstevieif you are targetting ubuntu-arm you should be targetting armv703:43
lilstevieso -march=armv703:43
NotJimCarreythought armv7 didn't support blx?03:43
lilstevieall armv7 except armv7-m do03:43
NotJimCarreyah03:43
NotJimCarreyok, do i add CFLAGS=-march=armv7 to make or configure?03:44
NotJimCarreynm, obvioulsy not configure since that didn't work03:45
twbCFLAGS may not be being passed the way you expect03:47
NotJimCarreyhrmm, "make CFLAGS=-march=armv7" returns "target CPU does not support ARM mode"03:47
lilstevie0.o03:51
NotJimCarreyok, looking through macro-assembler-arm.cc, i found the error message with "If you know what CPU you are compiling for you can use -march=armv7 or similar", but how am i suppose to use it03:53
twbYou probably need to pass it to waf in some manner like ./waf --extra-ccflags03:53
twbNote also nodejs v8 code appears to be C++ not C, so CXXFLAGS not CFLAGS03:53
NotJimCarreyah03:54
twbOr both, or whatever03:54
twbUsually when dealing with this kind of thing you end up having to debug / rewrite upstream's idiotic makefile / configure.ac / wscript / whatever03:54
NotJimCarreylol03:54
NotJimCarreywell, "make CXXFLAGS=-march=armv7" gave me the no arm support error, bot "make CXXFLAGS=-march=armv5t" is still going04:00
NotJimCarreyyay, still going04:19
NotJimCarreydammit, now getting: pure virtual method called. terminate called withough an active exception04:34
twbWhy are you compiling nodejs anyway04:34
NotJimCarreyfor koush04:35
NotJimCarreyoops04:35
NotJimCarreyfor koush's tether app, so it can run on arm systems (specifically, openpandora)04:35
twbNotJimCarrey: I mean, why don't you just apt-get install it04:35
NotJimCarreytried using it, but got errors04:36
twbDid you investigate them?04:36
NotJimCarreythink koush modified it for tap/tun support04:36
calculushow can I get audio over hdmi (ubuntu 11.10 on pandaboard)?04:38
NotJimCarreyif i run the script with the node.js from the angstrom repo, i get "unable to open tun/tap device"04:38
twbThat's more likely to be either a permissions issue or you don't have a tun or tap device yet04:38
NotJimCarreywell, running it sudo because it uses adb04:39
twbblergh04:39
twbWell, whatever.04:39
=== Jack87|Away is now known as Jack87
=== Quintasan_ is now known as Quintasan
ogra_infinity, Bug 89026110:30
ubot2`Launchpad bug 890261 in ubiquity "can not execute oem-config in a chrooted environment" [Medium,New] https://launchpad.net/bugs/89026110:30
infinityogra_: Danke.10:30
janimoogra_, http://kernel.ubuntu.com/git?p=jani/ubuntu-ac100.git;a=shortlog;h=refs/heads/packaging-chromeos-ac100-3.011:24
janimoUBUNTU SAUCE commit, seventh from top11:25
janimothat should be the quietening patch11:25
janimobut it doesnot seem to have effect on mine either11:25
ogra_weird weird11:29
ogra_probably the bits we actually see are not using the proper kernel interface11:29
ogra_(the logging functions i mean)11:31
ogra_it all seems to come from non std drivers11:32
ogra_i.e. the < ... > i see seem to come from tegrapart11:32
ogra_janimo, http://git.chromium.org/gitweb/?p=chromiumos/third_party/kernel.git;a=commitdiff;h=7abaad6c574bbdc0dd66820eaf006857dac6c4e711:39
ogra_sight11:39
ogra_(commit from tonight)11:40
ogra_*sigh even11:40
janimoogra_, yeah, I hopemarvin24 picks those up too and takes out the unneeded options from defconfig. I'll NFS and the other important ones so we keep the config delta minimal11:49
ogra_janimo, well, i'm not really thrilled about losing power management completely11:50
janimoogra_, well if it seems that is does not affect ac100 we can leave it on11:51
ogra_right11:51
janimothe latest kernel (3.0.8 from stable) is stable so far11:51
ogra_seems a bit broad to just disable it for all tegra11:51
mythoshello there12:29
mythosi have a little question. i see, there are kernel-flavours for different arm-based devices. but they use the same repository, i guess. am i right?12:30
=== mythos_ is now known as mythos
mythossorry, but where do i find an arm-rootfs for a qemu-chroot environment?12:53
mythosor is debootstrap the way to go?12:55
OlivierN1mythos: kernel can be easily cross-compiled. For other components, there are various solutions but generally native ARM build is the safest (tough often slowest)13:02
OlivierN1*though13:02
mythosthank you, OlivierN113:03
mythosbut i'm not so far that i can go on a real hardware13:03
marvin24janimo: if the kernel turns out to be stable, you may activate the frontswap option in the next cycle13:04
mythosso i would be happy, if i got a running chroot environment with qemu-static-arm, so i can start to mess around13:04
marvin24so people don't need to mess around with zram/swap stuff anymore13:04
janimomarvin24, 3.0.13 you mean?13:05
marvin24janimo: no, it is there in 3.0.8 already13:06
marvin24just not on by default13:06
OlivierN1mythos: other people here can help on the qemu front. Personally I use native build.13:06
janimook, 3.0.8 is stable using your stable tree13:06
janimobeen running since yesterday without lockup13:06
marvin24nice!13:06
janimoany news on 3.0.13? Is that the latest version that chromeos works on?13:07
marvin24still haven't found the bug in 3.0.13 <- not so nice13:07
mythosOlivierN1, no problem. i found a good tutorial for debian using multiarch. i'm going to try and hope for the best =)13:07
mythoshmm.... where do i find the arm-debs for eg maverick? ^^"13:17
mythosah, found it: ports.ubuntu.com13:23
janimolilstevie, do you know if anyone is working on a 3.x based transformer kernel?14:21
kerutei'd like to know that too :)14:22
lilsteviejanimo: at present no14:46
lilsteviejanimo: working towards it though14:47
janimolilstevie, ok, thanks :)14:47
janimoanything in common with the ac100/chromeos tree?14:47
janimoIt'd be nice if we could share the same package in ubuntu for as many tegra based hw as possible14:47
lilsteviejanimo: more in common with ventana14:47
lilsteviejanimo: that is possible14:48
lilsteviejanimo: ac100 bl reports harmony while tf101 reports ventana, so no messy hacks would be required either14:48
mythosOlivierN1, for a native built-environment, do you use a nfs-rootfs for the arm-device?15:11
OlivierN1mythos: brb15:12
OlivierN1mythos: you may use NFS, SD card, eMMC, USB stick, etc. But the fastest by far (at least on Panda board) is a USB hard drive, especially for native build.16:20
mythosOlivierN1, thanks for the advice =)16:20
mythosi was able to get a chroot environment, so i'm quite happy =D16:29
=== zyga is now known as zyga-afk
Sagehow is one supposed to create .config for http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=commit;h=f0fb3e7b7b2f8c791802e136293e8aadaac14119 ?16:47
Sagenot using debian or ubuntu16:47
ogra_then why do you ask in an ubuntu channel ?16:48
Sagebecause it is ubuntu kernel and I just want to get the configs out of it to see them as whole16:49
Sageso wondering what command does the kernel config for omap4 there16:49
ogra_they are in the debian dir split in multiple chunks usually16:49
ogra_and merged at build time16:49
Sageso omap4_defconfig doesn't do it as I assumed.16:50
ogra_omap4_defconfig will work if yuo just use make (its an upstream config after all) but not get you the same as an ubuntu package16:51
Sagewell, I want to have the same as in ubuntu thus asking16:52
ogra_if you want the ubuntu config you will have to use dpkg-builpackage or call debian/rules which triggers the various scripts before rolling the package16:52
Sagehmmp16:52
Sageok, where are the .deb files for that kernel there is config in those :)16:53
ogra_but you are probably better off to download the binary package from the archive, unpack it and pull /boot/config-$kernelversion out of the package16:53
ogra_either on launchpad or in the pool on prots.ubuntu.com16:53
ogra_*ports.16:53
OlivierN1Sage: this page may help: http://omappedia.com/wiki/Ubuntu_kernel_for_OMAP4  (section 4.1)16:55
SageOlivierN1: well on fedora it is not so straight forwardhttp://pastie.org/317322316:56
Sageerr http://pastie.org/317322316:57
Sageti-ubuntu-3.0-1281.7 <- this is what I'm looking for atm. but can find only these https://launchpad.net/ubuntu/+source/linux-ti-omap416:58
infinityWhy live in the past?16:58
Sageif you mean that 3.2 thing those are not in http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=summary16:59
infinityhttp://loki.0c3.net/~adconrad/config-3.2.0-1403-omap4 <-- The current config16:59
Sageok, thx. And any knowledge if that works on blaze as well (screen, touch etc)?17:00
infinityMaybe?  Not sure, don't have a blaze.17:01
OlivierN1Sage: at least ti-ubuntu-3.0-1281.7 works on Blaze (LCD and touch screen are  OK, sound record/playback is upcoming)17:01
SageOlivierN1: ok, where to get the tarball and .deb for that?17:02
* Sage really don't know where to find those in launchpad17:03
OlivierN1Sage: TI public PPA is here: https://launchpad.net/~tiomap-dev/+archive/release17:03
OlivierN1(but it does not contain 3.x kernel for now)17:03
ogra_https://launchpad.net/ubuntu/+source/linux-ti-omap4 has all debs that were ever built in ubuntu17:04
SageOlivierN1: exactly :)17:04
SageOlivierN1: you don't happen to have .deb for that ti-ubuntu-3.0-1281.7 or even just the config from /boot/?17:05
OlivierN1Sage: basically TI PPAs is always a little behind TI trees. For now we do not consider ti-ubuntu-3.0-1281.7 as stable enough to upgrade PPA17:06
SageOlivierN1: yes, well. You said ti-ubuntu-3.0-1281.7 works on blaze so you have compiled it and have config somewhere?17:07
OlivierN1sure17:08
SageI'm really looking just kernel that has been tested on blaze and works, don't care so much if it is stable or not, just want to boot the damn thing and see and then think stability :)17:08
SageOlivierN1: want to share the config? :)17:12
=== zyga-afk is now known as zyga
OlivierN1Sage: config-3.0.0-1281: http://pastebin.com/2HKn0wvS17:40
SageOlivierN1: thx18:35
=== Jack87 is now known as Jack87|Away
=== zyga is now known as zyga-afk
Jef91Where can I find the source archives/.debs for Ubuntu ARMEL debs?20:12
mythosports.ubuntu.com?20:16

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