/srv/irclogs.ubuntu.com/2011/09/14/#ubuntu-arm.txt

=== Jack87|Away is now known as Jack87
twb20:31 <lilstevie> twb, did you get that?04:00
twblilstevie: I did now :-)04:00
twb19:32 <twb`> What does "ld: no machine record defined" mean?04:00
twblilstevie: any idea about that one?04:00
lilstevienone04:01
twbDammit04:01
lilstevienever seen ld trip on that before04:01
twbI suspect it's something hf-related04:01
lilsteviemaybe04:01
travalasHello, I'm having trouble getting anything on the USB bus to show up with ubuntu on a beagle board.  I've tried two different versions of the prebuilt ubuntu and neither of them work.  It seems to be fine under angstrom.  Thoughts?04:47
tmztit's an error from the linxu kernel source04:48
tmztnot ld04:48
tmztit's intentional, means you haven't enabled a machine04:48
tmztso it cant' find a certain section in the image04:49
travalassomebody mentioned that it might be a problem with USB_POWER_EN05:01
travalasanybody have any pointers?05:01
=== MrCurious_ is now known as MrCurious
=== MrCurious is now known as 15SABCKTE
twb`tmzt: please explain, or tell me what docs I should be reading; "enable machine" is too vague for me to work out what to do05:07
twb`Googling for either that or the error isn't helping, and the .S that refers to the error just says "if you get this, your binutils is too old" -- which I doubt05:08
twb`GNU ld (GNU Binutils for Debian) 2.21.53.2011091005:08
lilstevietwb`: MACH_whatever isn't enabled05:11
twb`I don't know what that means.05:12
twb`You mean like MACH_TEGRA ?05:13
twb`Would it be getting the "whatever" part from .config, or what?05:13
lilstevieyeah05:14
lilstevielike MACH_VENTANA05:14
twb`http://paste.debian.net/129908/05:15
lilsteviewhere is MACH_PICASSO05:16
twb`I turned it off because it didn't make sense to me :P05:17
twb`TF101 isn't an AC50005:17
lilsteviebut I told you they were mutually exclusive05:17
twb`How do you mean mutually exclusive?05:18
lilsteviemuromec should have put depends=CONFIG_MACH_PICASSO on MACH_TF10105:18
lilstevieboard-picasso contains what is needed for the tf10105:18
twb`OK, so it's just me being stupid, I will try turning PICASSO on again05:18
lilstevieyou really shouldn't turn turn off things in the config without making sure :)05:19
lilsteviearm is a lot different to x86 :p some things that don't make sense are enabled for unknown reasons :)05:19
lilsteviewell appear to be unknown05:19
lilstevieuntil you dig05:19
twb`I was mislead by the Kconfig help string05:20
twb`OK, now it passed the spot where it stopped before.  Yay.05:31
=== 15SABCKTE is now known as MrCurious_
twb`lilstevie: so what is the process to get u-boot onto the tf?  I guess step #1 is to git clone u-boot?05:43
twb`Hmm, apt-get install u-boot u-boot-tools05:43
lilsteviecorrect flash config, build u-boot, correct flash config05:54
lilstevieinstalling u-boot like that wouldn't work :p05:54
lilstevieu-boot is not generic05:54
twb`Well, obviously once I apt-get install the tools I need to use them to generate an image and nvflash it onto the device or something05:55
twb`lilstevie: does turning VFP on mean that hard-float is off?05:56
twb`Oh V is for vector not virtual05:57
lilstevieVFP is central to hardfloat :p05:59
lilstevieas for the tools, they are more for making the right images for initrd and kernel image06:00
lilsteviebut the kernel image is already one06:00
lilsteviedone06:00
lilstevieif you make with 'make uImage'06:00
twb`But if I do "make uImage", how does the initrd get into the image06:01
twb`Or can u-boot just find the kernel and ramdisk in /boot like an x86 bootloader06:01
lilsteviewhen using uboot you dont put the initrd in the image06:01
lilstevieyou have a uImage and a uInitrd06:01
twb`Aha, on amd64 "apt-get install u-boot" gives you a useless empty package, but on armhf I can see it providing stuff for other arm systems (efika, omap3, etc)06:03
tmztanybody know a fast way to byte swap values in c?06:04
tmztuse the networking functions to do it?06:04
tmztI'm trying to dump a uimage file as it's parts (it's a multi uncompressed)06:04
twb`Poking around in the u-boot git tree, I can see "make harmony_config" and "make seaboard_config" but nothing else pointing at include/config/tegra2-common.h06:23
twb`And I see now that "make uImage" in linux will run u-boot-tools' "mkimage" internally.06:24
lilsteviemake ventana CROSS_COMPILE=cross-compiler-arm DEV_SRC_TREE="tegra-tf101"06:25
twb`In the u-boot source?06:25
lilstevieyes06:26
twb`make: *** No rule to make target `ventana'.  Stop.06:26
lilsteviehmbleh06:29
lilsteviei dont remember look on the xda board06:29
lilsteviesomewhere in general muromecs thread has the info06:29
twb`I never got the hang of web forums, but I'll try06:29
twb`Looks like xda-developers has a robots.txt or something that gives preferential treatment to google over duckduckgo :-/06:32
twb`http://forum.xda-developers.com/showthread.php?t=1202541 suggests ventana_config, /me tries06:33
lilsteviethats it06:33
twb`And it looks like he has a fork of u-boot so maybe I need to use that instead of mainline u-boot06:34
lilstevieI didn't do the port so I don't remember06:34
lilstevieoh yeah it isn't in mainline06:34
twb`Waah06:39
twb`/usr/src/u-boot/lib/sha1.c:228:1: internal compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:84506:40
=== popey_ is now known as popey
=== doko_ is now known as doko
=== Jack87 is now known as Jack87|Away
=== lool- is now known as lool
=== chrisccoulson_ is now known as chrisccoulson
=== travalas_ is now known as travalas
=== fisuk1 is now known as fisuk
ogra_janimo, so we should check what files we actually have for mx509:53
ogra_i suspect its just the publishing/html generating code that has a hiccup09:53
ogra_and that the image is actually fine09:53
janimoogra_, we should only have the .gz I guess. The first test runs did not produce iso, just the sep 14 run09:53
janimowhich was not manual so likely the setup needs to be changed a bit09:54
ogra_it is still an img.gz, the code generating the suffix actually uses file on the unzipped file09:54
janimobut it is 1.5G09:54
janimois there a build of mx5 with the uboot file being found?09:55
ogra_bah, i'm blind09:55
ogra_we have both !09:55
janimoright, when I meant we have iso I meant in addition, not instead, should have worded better :)09:55
* ogra_ only saw the img.gz and img.gz.zsync files09:55
ogra_well, i could have looked better :)09:55
ogra_so get a dvd reader then ...09:56
ogra_Calling uboot-mkimage on kernel and initrd09:57
ogra_mkimage: Can't open /srv/cdimage.ubuntu.com/scratch/ubuntu/daily-preinstalled/preinstalled/armel+mx5.kernel-mx5: No such file or directory09:57
ogra_make: *** [bin-preinstalled_images] Error 109:57
ogra_so why do we have that .iso file there09:57
ogra_ARGH !!!!!!!09:57
ogra_Calling uboot-mkimage on kernel and initrd09:57
ogra_mkimage: Can't open /srv/cdimage.ubuntu.com/scratch/ubuntu/daily-preinstalled/preinstalled/armel+mx5.kernel-mx5: No such file or directory09:57
ogra_make: *** [bin-preinstalled_images] Error 109:57
ogra_err09:57
ogra_wrong paste09:57
ogra_Publishing armel+mx5 ...09:57
ogra_WARNING: Unknown file type 'Linux rev 1.0 ext3 filesystem data, UUID=2e4ade6f-20c2-4670-9475-51fe999a8d0e'; assuming .iso09:57
ogra_Making armel+mx5 zsync metafile ...09:57
ogra_grnbl09:58
ogra_gah09:59
ogra_so the live builder produces: livecd.ubuntu-mx5.kernel-linaro-lt-mx510:00
ogra_http://annonaceae.buildd/~buildd/LiveCD/oneiric/ubuntu-mx5/current/livecd.ubuntu-mx5.kernel-mx5:10:01
ogra_2011-09-14 04:45:47 ERROR 404: Not Found.10:01
ogra_hmpf10:01
ogra_more hacks ahead10:01
ogra_janimo, i assume we dont want to rename mx5 to linaro-lt-mx5 all over the place ?10:04
janimono, mx5 should be fine and much less confusing10:05
janimolt-linaro is just the designation of the kernel origin10:05
ogra_right, live-build cant handle cases where the subarch name isnt identical to the kernel name suffix10:06
ogra_though that it assumes iso for ext3 is really weird10:07
ogra_ah, k, the iso is a fallout of the missing kernel10:09
ogra_hmm, i really fail to find the code in live-build that actually creates livecd.ubuntu-mx5.kernel-mx510:24
ogra_janimo, i fear we need infinity ... i can stare at the code for another two hours to find out where to put a proper hack, but i guess he will be faster ...10:41
janimoindeed10:41
ogra_and i dont really feel comfortable to mangle the LB_LINUX_FLAVOURS variable during the build since all arches use it10:42
ogra_and i guess thats the wrong approach anyway10:42
* ogra_ wonders if he could instead do a hack on the cdimage side 10:43
ogra_janimo, i got a testbuild running with a hack in cdimage, lets see10:56
twblilstevie: I'm going home now, but I have typed up what I've learnt up to about last sunday: http://cyber.com.au/~twb/doc/tf101.txt (source) tf101.html (rendered)11:11
twbComments, fixes, etc. welcome.11:11
lilstevietwb: well I can tell you why the bootloader needs to be uploaded :)11:13
twbNo honest, I'm going home.  Email me or something.  /me runs11:14
lilstevieheh11:14
lilsteviesure you are11:14
lilsteviethere are some fixes I will write later11:15
lilstevieI kinda have a 1500 word essay due tomorrow which I only just started11:15
travalasi'm trying to get ubuntu working on my beagle board xM rev c, but nothing on the USB bus seems to be working.  Somebody mentioned looking at USB_POWER_EN.  But I haven't been able to track down much on that issue.  Does anybody have any pointers?11:19
* ogra_ runs another mx5 build 11:20
ogra_and another one11:39
lilstevielol11:42
ogra_oho !11:42
ogra_that one looks good11:43
ogra_janimo, i think i have something for you in a minute11:46
ogra_it created partitions etc, now it is compressing11:46
ogra_hmm, though it again uses a 1.5G file ... where does that come from11:46
janimoogra_, that is the standard new DVD iso size for Ubuntu right?11:47
ogra_might be11:48
ogra_hmm, but thats not a debian-cd issue11:49
ogra_the live builder actually generated an 1.5G ext311:49
lilsteviean installer for arm that can be put on an sdcard or usb stick would be awesome11:52
ogra_lilstevie, thats how all our images work11:52
lilstevieI could make a blob for the start of the mmc that would solve the need to use nvflash :p11:53
ogra_what bothers me is that it is still convinced it builds a CD11:53
ogra_even though it isnt doing that11:53
lilstevieah heh11:53
* ogra_ will wait for infinity ... that is all odd 12:28
=== zyga is now known as zyga-food
ppisatiNCommander: weren't you preparing a kernel patch for nic/usb?13:40
=== zyga-food is now known as zyga
ogra_hmm, oss4 has a weird build failure14:42
ogra_complaining about an unused variable (which triggers Werror) but the variable is actually used14:42
ogra_hmm14:43
* ogra_ doesnt get it 14:43
ogra_ossmixd.c: In function 'update_values':14:44
ogra_ossmixd.c:165:7: error: variable 'prev_value' set but not used [-Werror=unused-but-set-variable]14:44
ogra_cc1: all warnings being treated as errors14:44
ogra_...14:44
ogra_but ...14:44
ogra_  int value, prev_value;14:44
ogra_....14:44
ogra_     prev_value = mixc_get_value (mixernum, i);14:44
ogra_...14:44
ogra_i dont get why that would spill a warning at all14:45
GrueMasterogra_: The netinstall for omap is no longer pulling x-loader.  We will need it as it is still a separate package from u-boot.14:48
ogra_hmm, i didnt change it14:49
ogra_i think14:49
ogra_didnt NCommander upload a d-i change for that recently ?14:49
* ogra_ checks14:49
GrueMasterDidn't we take it out of the seed?  Or is this a netinstall issue only?14:49
GrueMasterHe updated flash-kernel for omap.14:49
ogra_i didnt touch any omap code at all14:50
ogra_only omap414:50
GrueMasterOk, so it is the flash-kernel for d-i that needs fixing?14:51
ogra_and i have no idea how michael pulls x-loader, that should happen by flash-kernel-installer usually14:51
GrueMasterI'll pounce on him when he gets up.14:52
GrueMasterHe may have thought that with the x-loader being pulled in for panda that it was that way for all omap.14:52
ogra_yeah, he was on vac. when it happened14:53
diwicogra_, why do you try to compile oss4?14:53
GrueMasterHe just updated it Monday.14:53
ogra_diwic, i try to make it not ftbfs :)14:53
ogra_diwic, it looks like it is right that 'prev_value' isnt used further, but it is definitely getting a value assigned once14:54
ogra_i wonder if i could just drop that var14:54
diwicogra_, I guess you could, but is oss4 really relevant for arm? Better just mark it as "don't even try"?14:55
ogra_diwic, not an option :)14:56
ogra_(see cjwatsons mail to -devel)14:56
ogra_what makes me really wonder is why it doesnt ftbfs on all arches with that error14:56
diwicogra_, ok will look later (will have to go to meeting now)14:56
ogra_no hurry14:57
ogra_(i didnt even mean to summon you :), but if you want to take it ... )14:57
MMloshHi! I am having issues with "vdr"  multimedia server..  it locks up my dvbt tuner on pandaboard.. on x86 it behaves fine (natty)15:20
MMloshAny hints what to try?  It locks up some time after I stop recording/streaming15:20
MMloshhttp://fpaste.org/4E4X/ is the dmesg.. I repluggged the tuner ~2 times and restarted vdr during the logged time15:21
ogra_looks like a driver issue ...15:31
ogra_file a bug i'd say :)15:31
ogra_GrueMaster, so looking at NCommander's f-k changes, he doesnt seem to touch x-loader stuff at all15:35
GrueMasterThe x-loader package isn't installed at all.  The f-k part fails when making the system bootable due to missing MLO.15:36
GrueMasterThat is why I thought it might be a seed issue.15:36
ogra_right, but i see no code changes touchcing anything x-loader related15:37
ogra_might15:37
ogra_iirc we seed it in the installer seed15:37
ogra_ogra@osiris:~/Devel/seeds/platform.oneiric$ grep x-loader *15:38
ogra_supported-hardware-common: * x-loader-omap3-beagle [armel]                  # omap3 first stage bootloader15:38
ogra_supported-hardware-common: * x-loader-omap4-panda [armel]                 # omap4 first stage bootloader15:38
ogra_yup, we do15:38
ogra_but i think thats only for main, that seed isnt used anywhere else15:39
GrueMasterWell, not sure what to look for.  The x-loader wasn't installed on this system after running netinstall.  I had to go in and manually add it.15:39
ogra_right, i'm still digging15:40
ogra_are you sure it was ever installed in these images ?15:40
GrueMasterit had to be.  We had working netinstall on Maverick (although unofficially).15:41
ogra_i'm talking about this cycle :)15:41
ogra_NCommander completely rewriote what i did in lucid/maverick15:42
GrueMasterThis cycle it hasn't worked for other reasons.15:42
ogra_right, so we dont know if the new code ever worked15:43
GrueMasterI'll ping NCommanderwhen he gets up.15:44
ogra_yeah, to me it looks like that never worked15:45
ogra_at least there were no recent changes that could break it15:46
utlemmingIs there a kind soul who might be able to help me with the Beagle board under QEMU emulation? I keep getting "qemu: fatal: Trying to execute code outside RAM or ROM at 0x40304350" when attempting to load the Oneiric OMAP4 kernel16:02
MMloshogra_, sry.. I was away..  file bug agains what?  everything is OK when I use mplayer.. everything is OK when using VDR on x8616:03
ogra_well, thses are definitely kernel messages16:04
ogra_if a userspace app triggers such things you should file a bug against the kernel16:04
MMloshoh..  thinking that way around.. that makes sense.. ok16:04
MMloshogra_, on launchpad I guess?16:04
ogra_yep16:05
MMlosh(cause kernel bugzilla is down anyway)16:05
ogra_or just call ubuntu-bug on the panda16:05
ogra_it shoudl wlak you through16:05
ogra_*walk16:05
MMloshthat will need launchpad account anyway.. right?16:05
ogra_yes16:05
MMloshit would be easier from here..  thanks for help.. I hope it's something easier to fix..16:06
MMloshogra_, do you think booting vanilla kernel 3.0.0. and testing with that would help?16:06
ogra_MMlosh, where would you get such a kernel ?16:08
ogra_do you have one for omap4 around ?16:08
MMloshogra_, yes.. I have that ready to go16:09
ogra_well, try it, then you can tell in the bug that its working in vanilla oamp416:09
MMloshnot completely vanilla.. it has some minimal patches according to the wiki..16:09
MMloshah.. crap..  I think it lacks dvb support16:09
ogra_funny though, i wouldnt think that works without all the TI patches16:09
GrueMasterutlemming: The omap4 kernel is not the beagleboard kernel.  That is for the pandaboard.  You want an omap kernel.16:11
MMloshogra_, yes.. but I started with the omap4 defconfig from the wiki16:11
MMloshGrueMaster, this is on panda16:11
GrueMasterMMlosh: I was referring to utlemming's post on using the omap4 kernel in quemu emulating a beagleboard (before your post).16:12
ogra_MMlosh, well, our kernel carries like 1700 patches from TI to make panda work in all aspects16:12
utlemmingGrueMaster: I just double-checked, I'm install linux-image-omap16:12
MMloshI used the 3.0.0 image to get the AP support... it worked fine16:13
MMloshogra_, I'll get most up to date kernel then and compile.. I hope I get the config right, so the tuner works.. but first the basic report.. and finding out my launchpad password16:15
ogra_which kernel are you currently running btw ?16:15
ogra_we have a 3.0 omap4 kernel in oneirirc16:15
MMloshogra_, the default one in natty16:18
MMlosh2.6.38-1208-omap416:18
MMloshhmm.. that's sure worth trying..16:19
utlemmingthe Oneiric linux-image-omap is for OMAP3 devices16:19
ogra_utlemming, yes16:19
utlemmingogra_: that is the one that I am using that is failing in qemu16:19
ogra_utlemming, with what bootloader setup do you use it ?16:20
utlemmingu-boot and MLO from the Natty Netbook images16:21
ogra_and you have a vfat you point qemu to16:21
ogra_?16:21
ogra_carrying all these bits16:21
utlemmingyeah, on a vfat16:21
ogra_weird, that should work16:22
MMloshogra_, he has a point - can I keep mlo and uboot from natty, or I have to upgrade for that 3.0 kernel?16:22
ogra_should work16:22
MMloshok16:23
utlemmingOh...wait a minute...I'm using the OMAP4 MLO and uboot16:24
utlemmingI'll try the OMAP3 ones16:24
* utlemming feels like an idiot for using the wrong MLO and u-boot16:29
=== davidm` is now known as davidm
=== davidm is now known as Guest56598
=== NekoXP is now known as Neko
MMloshoh.. the bluish color of the boot messages is gone.. it's pure gray with 3.0.0..  the dvb tuner works.. let's see if it locks up when I stop using it17:31
MMloshand the minor issue with fluxbox is gone (it used to paint default "Workspace 1" instead of my configured name at the beginning)17:35
MMloshtaking my preference for 3.0 back..  Xv does not work..  maybe I need X11 update17:42
NCommanderogra_: GrueMaster: I'm alive. I didn't touch the x-loader code in F-K, the onmly thing I did was make sure the proper packages get instlaled in f-k-i on omap317:52
GrueMasterWell, missed one.  :P17:52
NCommander?17:52
GrueMasterx-loader is not installed.17:53
ogra_there is no x-loader on omap17:53
NCommandergreat17:53
ogra_(it only moved into u-boot on panda)17:53
NCommanderam I just installing the wrong package?17:53
NCommanderogra_: *facepalm*17:53
ogra_no, we arent ending up with any MLO17:53
ogra_omap3 still needs the old way17:54
NCommanderlovely17:54
NCommanderI'll smack it with a stick today17:54
ogra_well, up to now the omap netinst wasnt usable anyway ... and nobody complained17:55
* ogra_ wouldnt cry if it wouldnt get ready to be honest17:55
NCommanderogra_: english parse fail17:56
ogra_really ?17:57
NCommanderthat sentence didn't make sense to me17:57
ogra_hmm, my grammar is a bit weird today, agreed17:57
NCommanderogra_: anyway, I'm going to resolve my nictine fix so I'll bbiab17:58
ogra_NCommander, we havent had any working netinst omap3 images yet and nobody complained ... so it doesnt seem like anyone misses it ... and i wouldnt miss it too if you wouldnt manage17:58
ogra_s/too/either/17:58
* ogra_ hopes thats more understandable :)17:58
MMloshogra_, the -omap4 kernel from oneiric works so far... the tuner's "channel lock" LED sometimes gets off for a second, but always comes back on, meaning the tuner is working18:13
MMloshtoo bad DPMS and Xv do not work...  maybe I need to update X11 from oneiric too18:14
MMloshIs the issue still worth filling on launchpad?  I guess that noone will bother fixing that for a <30 days until replacement release18:17
=== Jack87|Away is now known as Jack87
kblinhi folks20:13
kblinI'm a bit puzzled. I was under the impression that armel was a supported platform for natty. however, it seems there's binary packages that are only available for x86 platforms20:14
utlemmingI'm having a bit of trouble getting text within QEMU....I'm using as my u-boot boot.scr parameters "setenv bootargs vram=1M mem=511M console=ttyS2,115200n8 serialtty=ttyS2 root=LABEL=cloudimg-rootfs fixrtc ro". All I see is "Starting kernel ...". Does anyone have any idea what I'm doing wrong here?20:14
utlemmingMMlosh: increasing it 2M seems to make things a bit happier, but not much20:24
=== Jack87 is now known as Jack87|Away
bnofreakhi  ..  i have some problems installing the prebuilt ubuntu binaries on my Pandaboard (revision A2)  board  .. i believe that i have followed the instructions  in the "Getting Started"  guide , and im trying to install  Natty ..  but i can't boot .. the boot sequence does not get longer than "Uncompressing Linux... done, booting the kernel."  ..21:25
bnofreak <bnofreak> After that, the two leds next to the sd slot are flashing for some minutes ..   and then nothing further happens21:25
bnofreakthe image that i've copied to the sd card is  ' ubuntu-11.04-preinstalled-netbook-armel+omap4.img '21:25
bnofreak:) please help21:26
=== Jack87|Away is now known as Jack87
=== Jack87 is now known as Jack87|Away

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