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

steev_so, running into an... interesting issue with ubuntu-core, on an efika, i am installing, and really not doing much special, but, i'm doing it in a chroot, so i have the policy-rc.d file, but, upon reboot, once going through oem-config, when you login as the user created, it throws up 2 system errors, and it seems to be man-db and ubuntu-extras-keyring need to be re-installed.  is there a way to do00:45
steev_ that before oem-config is run?00:45
infinitysteev_: I don't see how having a policy-rc.d in place would prevent man-db and ubuntu-extras-keyring from installing correctly.02:43
infinitysteev_: What are the actual errors?02:44
steev_infinity: one sec, i'm about to reboot on a new install again02:45
steev_infinity: ugh, for some reason it only happens *after* oem-config is run.  and i'm trying to get all the different packages i want in order, before i set it to run oem-config.  i'll do more research, but i definitely remember it complaining about man-db and ubuntu-extras-keyring, but when i told it to report the issue, it complained about some log being empty.  Next time I will pay more attention02:50
steev_(i haven't slept since friday night)02:50
infinityYour man-db issue could just be that you need to manually run /etc/cron.daily/man-db (or wait for the cronjob to trigger later), but without seeing the error you're talking about, I don't know.02:51
infinityIf you mean that either of them is complaining about actually not being installed correctly period, that's a packaging bug, and not something you should be working around in installers.02:52
infinityBut, yeah.  Seeing the errors would be helpful.  Filing bugs, too.02:52
steev_like i said, i hit the button to report issue, it complained about some log file being empty, next time i see it, i'll take a screenshot just to be safe02:52
steev_for the moment though, i'm going to say this one is cooked, and prep it so i can mass install ;)02:53
micahgjanimo`: I'll be uploading chromium in a couple hours, it would be nice to enable armhf properly :)07:31
janimo`micahg, well I do not have a proper patch, just handedited the files in question08:18
micahgjanimo`: can you diff them for me against what's in precise?08:18
janimo`micahg, ok. I was not sure if a sed call in rules would be ok or a more elegant way that intriduces new variables in gyp08:19
micahgjanimo`: we usually just patch the files ;)08:19
janimo`micahg, I am not sure if it was chromium (maybe thunderbird) that made me not want to work with it much. IIRC it did not work with edit-patch but some custom quilt paths and runes that were not documented08:20
micahgjanimo`: yes, you need to be in build-tree/src for chromium08:21
* micahg would love to switch to straight source format 3 and dh7, but that would require time :)08:22
janimo`micahg, that would be awesome. It would be time gained in the long run08:25
janimo`micahg, what rule does only the unpacking for chromium?08:32
* janimo` tries to come up with a cleanish patch08:32
micahgjanimo`: debian/rules patch I think08:33
janimo`Laney, around?08:35
micahgoh, did you fix ghc?08:35
janimo`micahg, yes08:36
janimo`but just like chromium. Fixed the build, have no idea what the 'proper' upstream patch should be08:36
janimo`could be a sed in debian/rules if armhf, of some haskell code + config stuff in another unusual build system08:36
janimo`s/of/or/08:37
janimo`I think it needs a normal patch though, upstream assumes softpf and has no config for armhf at all08:37
Laneyjanimo`: nice work! Can you show me the patch? I'll show the ghcarm people what was needed and they should be able to take it from there08:43
janimo`Laney, just filed a bug in ghc trac. A moment08:43
Laneyoh ok, nice08:43
janimo`http://hackage.haskell.org/trac/ghc/ticket/591408:43
Laneyare you uploading to ubuntu?08:44
* janimo` praises his habit of using a simple identical password almost everuwhere, so wehn visiting sites every couple years he does not have to scratch his head.08:44
* janimo` oopses08:44
janimo`Laney, no, it is a hack, I;ll leave the proper patch to people who know how to integrate with the ghc build system and make it conditional08:45
janimo`Laney, I could not figure out from a few minutes of using the code whether all options need to be hardcoded in haskell or can be driven exclusively from some human readable file, like settings in the root dir08:46
janimo`as this option only needs passinf fo armhf08:46
Laneythere is mk/build.mk but I am not sure exactly which options it takes08:46
janimo`Laney, another approach would be making llvm/llc default to hard float when invoked on a hard-float system, like gcc does .Not sure if that is ok with llvm people whough08:47
janimo`Laney, so if you could point this to arm/ghc people they may fix it properly08:48
Laneyok, thanks for the work!08:48
janimo`Laney, you're welcome08:48
janimo`micahg, can you help me with the patching of chromium. Finally untarred a sample package. cd build-tree/src08:57
micahgquilt push -a08:57
janimo`ok08:58
micahgquilt new fix-armhf-gyp.patch08:58
janimo`ok08:59
janimo`micahg, will attach the patch shortly09:05
micahgjanimo`: thanks09:05
janimo`micahg, https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/943281 fingers crossed. With restarted package builds and not knowing how and what exactly the build system regenenerates and which bits of config drive what this is a best effor tpatch :)09:08
ubot2`Launchpad bug 943281 in chromium-browser "armhf FTBFS in precise" [High,In progress]09:08
micahgjanimo`: thanks09:08
micahgwill look at it in a few minutes09:09
=== doko_ is now known as doko
janimo`micahg, thanks09:09
janimo`at least the gyp bits i am fairly confident should work. The v8 one, may or may not09:09
janimo`I hope the TODO item - 'migrate to external v8 lib ' is not too unrealistic :)09:10
micahgwe won't do that as chromium will move too fast in the stable release09:10
janimo`TODO: remove v8 entry from TODO file :)09:12
micahgjanimo`: heh, anyways, patch looks sane and won't break armel builds, I'll upload shortly09:15
micahgjanimo`: maybe that's why it works in Debian, they use the system v809:45
micahgjanimo`: well, we should find out in ~1hr if it worked or not, I'm about to upload09:48
sveinseHi. I'm having some troubles with a custom natty armel installation (on custom HW). One particular device isn't booting properly, while others are. I'm debugging upstart and it seems it locks up in mountall, i.e. it doesn't emit the correct signals for upstart to continue into runlevel/rc-sysv modes.10:23
sveinseMountall --verbose show that is indeed stops in mountall, but no errors on the console. How can I debug this? Any ideas?10:24
ogra_sounds like a kernel issue to me10:28
micahgjanimo`: armhf seems happy, it's building10:34
sveinseogra_: The device had an old HW clock setting. So from what I can see mountall (not fsck) halt if the HW clock is older than the superblock of the fs. If I set the hwclock to newer, it works. Is this expected or a bug?10:48
ogra_well, if you use an ubuntu initramfs you can easily work around this by using the ficrtc cmdline option10:48
ogra_it will force the RTC to the past mount time of the disk10:49
sveinsea kernel parameter?10:49
janimo`micahg, I still suspect it may fail later on when it tries to link v8 against it all. So in case it does not figure out what the eabi should be another bit in debian/rules may be in order10:49
sveinsefixrtc I suppose10:50
ogra_yeah10:51
ogra_(to both)10:51
janimo`micahg, amended the bug with a comment in case it fails because of V8 being built without HF10:53
micahgjanimo`: well, the v8 parts compiled, we'll see if it links later10:53
janimo`ok.10:54
sveinseogra_: It works. Thank you very much!10:54
janimo`ah qtwebkit-source keeps being ftbfs. But that looks nastier as if it was a kernel/glibc/toolchain issue10:55
Laneyjanimo`: "VFPv3D16" does not imply armhf?11:51
janimo`Laney, not necessarily afaik. We had that for armel as well11:51
janimo`it means use a certain set of VFP registers11:51
janimo`but even in softfp you could use those as long as they do not cross proc call boundaries11:52
janimo`so not part of the ABI11:52
janimo`so we only want to use registers D0-D15 and not D16-D31 as found on some chips.11:52
janimo`so generate code for that VFP config for both armel and amrhf. For armhf use said regs also for passing arguments and return values between calls11:53
janimo`Laney, we've been passing -mfpu=vfp3-d16 for a while in Ubuntu for armel11:55
Laneyokey dokey, just thinking how ghc could tell if armhf or not11:56
janimo`Laney, if it has the equivalent of autogen, it may discover it by seeing gnueabihf in the triplet instead of plain gnueabi11:57
janimo`if not, it may be good enough to just pass a config option from debian/rules11:57
janimo`would be nice to be able to drive some options outside haskell code. I see settings.in but am not sure it has sections for passing options to LLVM, as it has for gcc12:00
xranbyLaney:   you can use  #ifdef __ARM_PCS_VFP12:01
xranbyto check for hard-float calling convention12:01
janimo`xranby, not in haskell code I assume12:09
xranbymaybe.. depends on if you pass the haskell code through the gcc preprocessor or not12:10
janimo`xranby, there is a preproc step, not sure if it is gcc's12:10
Laneyyou can ask it to AFAIK12:14
xranbysome parts of GHC are written in c.. if the arch version detection are done in c code then you can use it12:14
micahgjanimo`: yep, you called it, linking with v8 broke :)12:44
janimo`micahg, ok, so the snippet I appended to the bug should help12:46
janimo`or maybe not , this build system is crazy. I know I got it working by setting that variable to 1 in the sconscript12:46
janimo`if you know that debian/rules can actually pass that v8_armeabi var reliably to SConscript it would be helpful12:47
micahgjanimo`: that I don't know Scons is pretty greek to me12:47
micahgbut, if there's a gyp flag, that's likely to work12:48
janimo`the script itself is legible, but wherever it is hooked in with gyp and the rest is a mistery to me12:49
micahgjanimo`: so, I'll drop your scons change and use the gyp flag, how does that sound?12:50
janimo`sure12:50
micahgjanimo`: is this worth doing now, or should I wait for the next stable update?12:51
janimo`although that SCons thing looks suspicious. Why there's no EABI setting like in the other cases simialr in that file - all come in threes soft/softpf/hard in 2 places, buit this one where only soft is specified12:51
janimo`micahg, next stable12:51
micahgok, thanks12:51
janimo`progress has been made with this release too :)12:51
micahgyes, indeed :)12:52
janimo`is next stable in 6 weeks? Or do you have intermediate uploads too sometimes?12:52
janimo`either way, next upload, wherever it is12:52
micahgyeah, there are intermediate uploads whenever chromium feels like releasing it's cache of CVE fixes12:52
janimo`I'll actually do a test run these days, let it build to have a tested fix12:52
micahgs/it's/its12:52
janimo`soon, until I do not forget how to quilt patch the tree12:52
* micahg will start using the word attempt with fixing armhf FTBFS :)12:53
janimo`exaclty - I have been cautious enough to use attempt in many changelogs and bug comments so far :)12:53
janimo`or the more optimistic - making the build progress12:54
sveinse /etc/init/ttyS*.conf is set to start on stopped rc, which is rather late in the boot process, which can prevent login if booting fails. Would there be any problems starting getty very early, like on startup (upstart event)?14:18
sveinseI did this for debugging, and it seems ok. Of cource you are warned of ro rootfs, but that's fine as long as you get a login. Now I'm wondering if we should ship this config permanently14:19
sveinseWhere does the logs from e2fsck run by mountall end up on a natty system?14:26
int_uaIs it possible to install deb package for armel that depends on other armel packages on armhf system?14:53
int_uaI tried dpkg -i --foreign-architecture armel but it still complains about missing package despite it's installed14:53
=== yofel_ is now known as yofel
=== cmagina_ is now known as cmagina
RiddellGrueMaster, ogra_: oneiric armel images boot fine on my panda board, precise armhf images do not15:00
ogra_oh ? intresting15:00
ogra_whats the error ?15:00
Riddellis that something in the pandaboard hardware that can't do armhf, or is it my low power I've giving the board?15:00
Riddellogra_: green LED is the error15:01
ogra_i mean on your serial console :)15:01
RiddellI don't have a serial console15:01
ogra_for development it really helps to have one15:02
Riddellogra_: what do I need to buy?15:02
ogra_an usb to serial adapter, try to get one you can attch directly to the pandas serial connector (female i think)15:03
smplmanis their any way to CC entire deb packages then transfer the binaries to the host machine?15:15
smplmantarget, sry15:19
infinitysmplman: Define "cc entire deb packages".15:23
infinitysmplman: If you mean "attempt to reconstruct it based on what's currently on the filesystem", you want dpkg-repack.  But there's no guarantee that's going to give you a sane package.15:24
infinitysmplman: Usually, you just want to install the same deb everywhere, and then customise your configs accordingly.15:24
smplmansay i want to install the nano.dpkg on my arm system, but i want to cross compile if first on my x86 system so its faster15:25
smplmanthen transfer the binary over15:25
smplmani realize packages are usually platform independent, but i think its probably faster to cc my packages then transfer them over15:26
smplmanif this is crazy talk just let me know15:26
smplmani know how to CC normal source, then transfer the binary15:26
smplmanim more concerned with ubuntu packaged now15:27
smplmani meant *.deb earlier not *.dpkg15:27
smplmaninfinity: if that makes sense15:29
infinitysmplman: I'm still lost by what you mean by "CC the package".15:30
infinityUnless you mean compile?15:30
infinityAnd packages are most certainly not platform independant.15:30
smplmancross compile the package on my x86 machine then transfer it to my arm machine15:35
infinityYeah, it's sometimes doable.  But not often.  And we're still working on making it work better.15:35
smplmanAnything documented yet?15:36
infinityYou're really just better off building the package natively, unless you're ready to do a lot of reading on dpkg-cross and the like (and prepared to curse a lot when your use-case fails).15:36
infinityWell, all the dpkg-cross stuff is documented.  But also in the process of being deprecated for better and shinier methods.15:36
smplmanits for personal dev so not that big a deal15:36
infinityI really do just recommend building natively for most people.15:37
smplmani have 11.10 running on both my xoom and beagleboard xm15:37
infinityThe special case to that rule being people who build a lot of kernels, since that's all set up to "just work" with a cross-compiler installed.15:37
smplmanyea im good with building kernels15:37
smplmanit just takes forever to install packages on my xm15:37
infinityFor most other packages, the odds of it working, and the odds of you wanting to throw things are high enough that building natively is just easier.15:38
smplmanor just build from source vs using the .deb?15:38
infinityI don't see how that changes anything...15:39
infinityWait.  Are you talking specifically about dpkg itself taking a long time?15:39
infinityThere's zero ways around that.15:39
infinityI thought you meant building the deb on another system, then copying it over and installing it.15:39
infinityThere's no sane way to avoid the part where you invoke dpkg.15:40
int_uaogra_: You've mentioned ficrtc boot option earlier today. But I can't find docs about it. Was it some typo?15:58
GrueMasterint_ua: It is fixrtc, a simple shell script that is part of initramfs-tools.16:01
int_uaGrueMaster: Thanks16:03
brendandare the sudden switch offs i'm seeing on the pandaboard with this weekends daily expected?16:19
tvossHi all, is it possible to run the 12.04 omap4 image under qemu?16:23
ogra_no16:23
tvossogra_, is there any image that I can run under qemu?16:24
ogra_the omap3 image might run in the beagle emu16:24
ogra_qemu simply has no emu for omap4 at all16:24
tvossthanks ... are imx images supposed to be running in qemu then?16:27
ogra_no16:27
ogra_there is no qemu emulation for any of the images we have apart from omap316:27
brendandtvoss, qemu is not a platform as such16:27
=== Ursinha is now known as Ursinha-lunch
ogra_you can roll something yourself based on the vexpress kernel and a self rolled rootfs (or ubuntu-core)16:28
GrueMasterppisati: ping - not sure if you noticed, but I figured out why I didn't have sound & networking on the beaglexm.16:29
ppisatiGrueMaster: network works here16:30
ppisatiGrueMaster: dunno about audio16:30
ppisatiGrueMaster: on the othert hand, while updating this morning i noticed latest kernel hangs before mounting root16:30
ppisatiGrueMaster: did you try it?16:30
ppisati3.2.0-18.2816:30
GrueMasterI have had spotty network at best.  I usually have to unplug, plug in the network cable several times to get it working.16:31
ppisatiGrueMaster: works immediately here16:31
ppisatirev c and rev a16:31
GrueMasterI am just waking up.  Haven't even really started anything yet.16:31
ppisatik16:31
ppisatiGrueMaster: when you are caffeinated enought, tell me which kerbnel version were you running16:31
GrueMasterI have a rev b beaglexm.  It has had these issues for 2 cycles now.16:31
ppisati3.2?16:32
GrueMasterI documented everything in bug 925094 and bug 838200.16:32
ubot2`Launchpad bug 925094 in linux "No audio on omap (beagleXM) system" [Medium,Confirmed] https://launchpad.net/bugs/92509416:32
ubot2`Launchpad bug 838200 in u-boot-linaro "No network support on Beagle XM" [High,Confirmed] https://launchpad.net/bugs/83820016:32
GrueMaster3.2.0.18 iirc.  I pulled from git.16:32
ppisatilatest one is 3.2.0-18.2816:33
ppisatibut it seems it's broken16:33
ppisatiprevious one -17.27 should be ok16:33
GrueMasterWell, it worked in my build of it.  Must be a patch since Friday?16:39
ppisatiGrueMaster: i'm booting off the sd FWIW16:45
GrueMasterSame here.  I just added my kernel to the Beta 1 image.16:45
smplmanGrueMaster: im running 3.2.9 from https://github.com/RobertCNelson/stable-kernel , good results16:46
smplmanon my xm rev b ATM16:46
GrueMastersmplman: We are using the mainline kernel, not a hacked up version.  We really want to be as close to main as possible.  Eventually, the omap4 kernel will also be done this way.16:47
ogra_you wish :)16:48
GrueMasterI am well aware of other working kernels.  The test image that ships with the XM works perfectly, but not all of it is upstream.16:48
GrueMasterogra_: well, I did say eventually.16:48
smplmanGrueMaster: I understand, just trying to help16:48
ogra_yeah, it will take years until the DSS code goes upstream16:48
hrwjanimo, ogra: can you endorse me on my motu application? https://wiki.ubuntu.com/MarcinJuszkiewicz/DeveloperApplication-MOTU16:48
Riddellogra_, GrueMaster: ok here is loading with oneiric successfully and with precise unsuccessfully http://starsky.19inch.net/~jr/tmp/arm/16:58
Riddellthere's not much in the diff16:58
Riddellcould it be just not showing on the monitor in precise?16:59
RiddellI have a full power supply now16:59
ogra_looks like the bootloader runs fine17:00
smplmanRiddell: omapfb missing maby?17:00
Riddellsmplman: I have no idea what that is17:00
ogra_smplman, thats compiled in17:01
=== Ursinha-lunch is now known as Ursinha
ogra_Riddell, it would help to get the kernel bootmessages (which we supress by default)17:01
Riddellogra_: how can I do that?17:01
ogra_Riddell, open the boot.scr from the first partition of the SD card in vi17:02
ogra_delete the garbage (u-boot header) in the beginning17:02
ogra_then edit the cmdline in that file and save it as boot.script17:02
smplmanRiddell: what image are you using?17:02
Riddellsmplman: ubuntu desktop precise beta 117:03
Riddellomap417:03
GrueMasterppisati: I am uploading my kernel .deb to http://people.canonical.com:~tobin/linux-image-3.2.0-18-omap_3.2.0-18.28_armhf.deb for you to try.  Should be available in ~12 minutes.17:03
ogra_Riddell, you will then need to install u-boot-tools to get the mkimage command17:03
smplmanis omap4 backwards compatible with omap3?17:04
GrueMasterActually, save it back as Env.txt and reboot.  Newer u-boot should be able to take it from there.17:04
GrueMasterogra_: Riddell ^^^17:04
ogra_oh, i didnt know we got that bit from zupstream working nowadays17:05
ogra_smplman, no17:05
ogra_different arches17:05
Riddellogra_: the whole of the first line is garbage?17:05
smplmani know the xm is omap317:06
ogra_well, the stuff vim doesnt show properly :)17:06
RiddellGrueMaster: so don't save it as boot.scr but as Env.txt ?17:06
ogra_Riddell, right17:06
ogra_and put it on the first partiton of the SD17:06
Riddellogra_: and what do I need to do with mkimage?17:07
ogra_not sure, you might need to remove boot.scr from that partition17:07
ogra_Riddell, if Env.txt works you dont need it at all17:07
GrueMasterYes.  Strip the u-boot header (garbage at the beginning), then remove the quiet & splash lines on the bootargs and add "console=ttyO2,115200 console=tty0".17:07
ogra_else you would need it to add the header back to the file17:07
Riddell"[    5.272796] panic occurred, switching back to text console"  ouch17:08
ogra_hrw, done btw17:08
Riddellhow can I get minicom to save to a file?17:09
ogra_ctrl-a+h17:09
Riddellogra_: that saves it?17:09
ogra_that should give you the list of commands ... there is some way to use a logfile17:09
Riddellthat hangs up17:10
ogra_i never used logging, i just scoll back in my terminal in screen and copy/paste that17:10
Riddellthis is giving me a bit too much output to do that17:11
GrueMasterRiddell: Use "screen /dev/ttyUSB0 (or shat ever the serial port on your pc is), then use screen's logging capabilities.17:11
ogra_yeah17:12
Riddellaah17:12
GrueMasterppisati: My kernel is up if you want to test it.17:18
RiddellGrueMaster, ogra_ http://starsky.19inch.net/~jr/tmp/arm/ubuntu-precisebeta1-armhf-noquiet17:19
Riddell[    4.463867] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)  ?17:20
GrueMasterodd indeed.17:20
infinityDid we misplace ext4 support somewhere? :P17:21
infinityI'm assuming 240 is an ext4 feature flag.17:21
* infinity looks.17:21
ogra_it just loops over the ext filesystems usually17:21
ogra_thats a red herring17:21
infinityYeah, 240 is an ext4 feature.17:21
GrueMasterSomething doesn't sound right with his image.  I tested all (and I do mean ALL) images for beta 1 on multiple systems.17:22
ogra_it should be trying ext4 next ... not sure why it doesnt17:22
infinityRiddell: Is that a fresh precise install, or something hacked up and/or upgraded?17:22
Riddellinfinity: installed like this  sudo sh -c 'zcat ./ubuntu-12.04-beta1-preinstalled-desktop-armhf+omap4.img.gz |dd bs=4M of=/dev/mmcblk0 ; sync'17:23
Riddellwhich works fine for oneiric17:23
ogra_did you let it finish the resize on first boot ?17:23
Riddellogra_: I don't know, I had no output17:23
ogra_if it was interrupted it indeed might corrupt your fs17:23
infinityYou have no monitor connected?17:23
Riddellinfinity: I do have a monitor connected.  it does not show anything with precise17:24
infinityWrong port?17:24
infinityIs it HDMI or DVI?17:24
infinity(Yes, people mess this up all the time)17:24
infinityThe HDMI port is the one next to the ethernet.17:24
GrueMasterDo you have the monitor on the HDMI port (closest to the USB ports).17:24
infinityie: Not the one on the outside of the board.17:24
RiddellI have a DVI monitor plugged into the DVI port which worked fine with oneiric17:24
ogra_might have changed with the new kernel version17:25
ogra_try HDMI :)17:25
infinityAhh, kay.  Something may have broken DVI.  I only ever test with HDMI (cause it's all I have the cabling for)17:25
RiddellI have no HDMI monitor17:25
infinityHDMI TV?17:25
ogra_just plug the DVI into the HDMI port17:25
RiddellI have no TV17:25
ogra_should work fine17:25
infinityogra_: That really shouldn't work.17:25
infinityogra_: But I'd be curious to see if it does.17:25
ogra_or was it the orther way round ?17:26
ogra_it wont do any harm either way though17:26
infinityTrue.17:26
GrueMasterinfinity: Yes, it should.  hdmi is the same signal as DVI-D.17:26
infinityRiddell: Also, despite all protests to the contrary, you can just zcat foo.img.gz > /dev/whatever17:27
infinityRiddell: The dd is entirely pointless.17:27
ogra_right, i thought so17:27
infinityGrueMaster: Yes, HDMI is a superset of DVI-D, but it also intentionally leaves out (in many implementations) lots of the possible resolutions.17:27
ogra_infinity, using a 4M blocksize speeds up the writing17:27
infinityGrueMaster: If that's the case on the omap4 kernel (or at the hardware level), I have no idea.17:28
GrueMasterI don't know if the dvi port on panda will work w/o the TI drivers (not in FB w/o kernel parameters).17:28
ogra_i know i used the HDMI port of my monitor with a HDMI cable plugged into the DVI port in the past ...17:28
GrueMasterBut signal wise, an HDMI port can connect to a DVI monitor just fine.17:29
ogra_but i dont think i ever tried the other way round17:29
infinityThe other way around really shouldn't work.17:29
infinityBut HDMI->DVI will work, if it supports the resolutions you need.17:29
GrueMasterThe only thing that will be missing is HDMI audio.17:29
infinityThe audio channels just go off into la-la land.17:29
GrueMasterAnd DVI->HDMI works the same way.17:30
infinityAnyhow.17:30
infinityRiddell: Using the HDMI port may well make things happy.17:30
RiddellI gathered :)17:30
Riddellremaking the image on the SD card17:30
infinityOr, we could discuss it more. :P17:30
GrueMasterAs long as it is all digital.  DVI also supports analog (but that is a different discussion and irrelevant to this discussion).17:30
ogra_infinity, awesome idea !17:31
GrueMasterRiddell: I relooked at your kernel output (above).  Why is "rootfstype=ext3" in the kernel cmdline?17:36
GrueMasterThat isn't normal in our images.17:36
damian0815hey ubuntu-arm, ld is complaining that 'main.o uses VFP registers, a.out does not'17:39
damian0815i'm compiling main.cpp with -mfpu=vfp + other args. how can i convince ld that a.out should use VFP registers also?17:40
RiddellGrueMaster: I have no idea17:47
RiddellI just used a normal image with the edited boot command edited to remove quiet17:47
GrueMasterWell, since we use ext4 images, that line would have given you issues.17:48
GrueMasterRiddell: Was this the Ubuntu beta 1 or Kubuntu Beta 1?18:02
RiddellGrueMaster: Ubuntu Desktop Beta 118:05
GrueMasterOk.  Checking here, I see no indications of where "rootfstype=ext3" could have come from, unless it is in u-boot and you didn't use the boot.scr.18:06
GrueMasterYour console log above was started after u-boot had booted.18:06
RiddellGrueMaster: I didn't use the boot.scr after I saved it to Env.txt18:07
GrueMasterDid it load the Env.txt?18:07
Riddelldunno reformatting the SD card and trying again18:08
GrueMasterOh, wait.  I think I see what is happening.  u-boot only looks for the uImage & uInitrd lines in Env.txt.  I was told it works the same as boot.scr.18:08
GrueMasterSo nix the Env.txt idea.18:10
GrueMasterAt any rate, you should have video on hdmi.18:11
infinitydamian0815: That sounds like you're using -mfloat-abi=hard on an armel system.18:16
infinitydamian0815: Which will only work if you link with gcc as well (or pass the right bits to ld), since ld won't magically do what you think it should.18:16
infinitydamian0815: Alternately, run armhf if you want armhf. ;)18:16
damian0815infinity: thanks for the reply18:17
damian0815infinity: i am in fact linking by calling gcc18:17
damian0815infinity: i guess gcc isn't telling ld to do the right thing?18:17
infinitydamian0815: On which release is this?18:17
damian0815infinity: 10.1018:17
infinityOh, yeah.18:17
infinityThat's almost certain to just plain not work.18:18
damian0815rightoh18:18
steev_what is this install RELEASE shortcut that's started showing up on my shortcut bar (and how do i get rid of it?)18:18
steev_clicking on it just gives me a crash in ubiquity18:18
damian0815i'm installing 11.10 as we speak. was avoiding before due to lack of omap-extras-graphics.18:18
infinityBesides, even if you compiled your application as hardfloat, if it links to anything else, it won't work.18:18
steev_(it's still rotating circle on collecting info)18:18
infinitydamian0815: Install precise/armhf if you want hard-float.18:18
infinitydamian0815: You'll like it better than oneiric anyway.18:19
GrueMasterRiddell: The ubuntu beta 1 image works for me on a non-hdmi DVI monitor here, so you "should" have no issues.  If you still do, we can figure it out.18:19
RiddellGrueMaster: http://starsky.19inch.net/~jr/tmp/arm/ubuntu-precisebeta1-armhf-using-hdmi18:19
Riddellthat's ubuntu beta 1 with a dvi monitor plugged into the HDMI port18:19
RiddellI'm awaiting instructions :)18:19
damian0815infinity: what's the status of SGX drivers in precise?18:19
steev_er, this is interesting.  so ubiquity is crashing with IOError in main() Errno 2, No such file or directory: '/proc/2058/oom_score_adj'18:20
steev_why would ubiquity crash because oom_score_adj doesn't exist?18:20
GrueMasterRiddell: This is normal so far.  You see nothing on screen?18:21
RiddellGrueMaster: nothing18:21
infinitydamian0815: As I understand it, it's all working in the tiomap-dev/trunk PPA.18:21
GrueMaster(not serial console, but on the monitor).18:21
GrueMasterAnd you have a proper power supply now?18:21
RiddellGrueMaster: I do18:21
infinitydamian0815: But depends on installing the 3.1 kernel from the oneiric PPA.18:21
infinitydamian0815: (That will be resolved soon)18:21
damian0815infinity: super. i'll see how i go with oneiric. i'm trying to build a straightforward enduser experience for openFrameworks (C++ art+code toolkit)18:22
GrueMasterMonitor is using an HDMI->DVI cable and no other conversions?18:22
infinitydamian0815: Sure.  oneiric should work fine.  But just stop trying to pass whacky float options to the compiler.  Stick with the defaults and your life won't be pain. ;)18:22
infinitydamian0815: (But, like I said, precise/armhf will treat you better than oneiric/armel, except for the bit where it's not quite done yet)18:23
damian0815infinity: heh. thx.18:23
GrueMasterRiddell: Monitor is using an HDMI->DVI cable and no other conversions?18:23
infinitysteev_: Is /proc mounted at all?18:24
RiddellGrueMaster: HDMI-DVI adaptor and DBI cable to monitor18:24
GrueMasterOk.  Wanted to make sure there were no DVI->VGA adapters in the mix.18:25
GrueMasterDo you have another device with HDMI out that you know works?18:25
GrueMasterIt is also possible that your cable only handles DVI-A (VGA), although those are rare.18:27
RiddellGrueMaster: I have no HDMI devices no18:27
GrueMasterNo PS3 or XBox?18:27
Riddellno18:27
RiddellGrueMaster: this setup works fine for oneiric18:27
GrueMasterThe oneiric image works?  Now that is odd.18:28
Riddellyes18:29
GrueMasterOut of curiosity, what rev board is this?18:30
RiddellGrueMaster: how do I find out?18:32
GrueMasterSticker on the bottom?18:33
RiddellGrueMaster: Rev A118:34
GrueMasterPanda or PandaES?18:35
GrueMasterI'll look at my stacks and see which is an A1 so I can try to reproduce it here.18:36
RiddellGrueMaster: Model: PandaBoard Rev A118:37
GrueMasterOk.  I have one (I have one of each and then some).  I'll try it here.  Works fine on PandaES and Panda A3 so far.18:38
shadeslayerinfinity: ping18:38
shadeslayerinfinity: https://bugs.launchpad.net/ubuntu/+source/qtwebkit-source/+bug/945393 << Any ideas how to fix? (/usr/bin/ld: final link failed: Memory exhausted)18:39
ubot2`Launchpad bug 945393 in qtwebkit-source "qtwebkit-source version 2.2.1-1ubuntu2 failed to build on armhf" [High,Confirmed]18:39
* micahg wonders if it's worth filing a toolchain bug for https://launchpadlibrarian.net/95446439/buildlog_ubuntu-oneiric-armel.chromium-browser_17.0.963.65~r124586-0ubuntu0.11.10.1_FAILEDTOBUILD.txt.gz18:44
GrueMasterRiddell: I can't seem to reproduce your issue here at all.  Give me a minute and I will send you a replacement boot.scr for debugging.18:48
RiddellGrueMaster: thanks18:49
GrueMasterDid it get through the first boot ok?  Easiest way to check is to look at the sd card in your desktop and see if the second partition fills the SD.18:51
RiddellGrueMaster: I think it did but I've since reformatted it ready for your new boot.scr18:52
GrueMasterOk.  One sec then.18:53
GrueMasterI have to flash it fresh to an SD then modify it.  Takes the same time as uncompressing/loop mounting.18:55
infinityshadeslayer: It's on my TODO, but no, I don't have any immediate ideas right now.  I have a few things on the go.19:00
=== damian0815_ is now known as damian0815
infinitymicahg: I wouldn't bother, personally.19:01
GrueMasterRiddell: http://people.canonical.com:~tobin/boot.scr19:02
GrueMasterDownload it and copy directly to partition 1 (fat partition) overwriting existing boot.scr.19:02
micahginfinity: ok, well, if there isn't a way to work around it then, Chromium on arm in the stable releases looks slim19:02
GrueMasterAnd make sure screen is set to log before powering on the panda.19:03
GrueMasterI need food, will return shortly.  Pastebin the console log (or save it somewhere).19:03
infinitymicahg: I'm much more interested in the LTS anyway, but if we have a spare moment, we can look at the oneiric FTBFS.19:03
micahgwell, we're 2 hours (build time) closer to havign armhf work, armel already works in precise19:04
RiddellGrueMaster: what changed?19:04
RiddellGrueMaster: when I run screen /dev/ttyUSB1 I just get junk output and it causes minicom to get junk output to19:08
GrueMasterWorks fine here.19:11
Riddellogra_: not at cebit are you?19:12
ppisatiGrueMaster: which u-boot/x-loader version do you have with beaglexm? and which cmdline do you use?19:13
ogra_Riddell, nope, 150km south of it19:14
Riddellogra_: you couldn't ship yourself and your office to hannover or Bielefeld for tue/wed/thu could you, just to help me? :)19:14
ogra_Riddell, hmm not really, what are you doing at CeBIT ?19:16
Riddellsee cebit19:17
Riddellseeing cebit19:17
RiddellI've never seen it before19:17
ogra_ah19:17
ogra_i have been to each since i was 1619:17
ogra_but not since i work for canonical19:18
ogra_<- grew up in hannover19:18
Riddelltoo many travelling days for UDS et al? :)19:18
ogra_nah, just no interest, i moved south a few years before starting ubuntu stuff, havent been back often19:19
ogra_if i go, i just do it to visitn my parents, but thats not more than a few hours (though i love hannover, but all friends i had there moved to berlin or elsewhere)19:19
* ogra_ is off for the evening 19:22
RiddellGrueMaster: http://starsky.19inch.net/~jr/tmp/arm/ubuntu-precisebeta1-armhf-using-tobiins-boot.scr19:31
RiddellGrueMaster: now I'm getting a very jumbled login prompt http://starsky.19inch.net/~jr/tmp/arm/ubuntu-precisebeta1-armhf-using-tobiins-boot.scr-login19:35
Riddellfrom the serial19:35
Riddellnothing on monitor19:35
davidhayesbigtoehello19:36
davidhayesbigtoecan anyone direct me to any ubuntu ARM's that might be able to run on the new rasberrypi's?19:37
rcn-eethe rasberrypi is an arm11 "armv6" core, ubuntu's current minimal arch for supported dist is "armv7-a"....19:40
Riddell"use debian"19:40
davidhayesbigtoercn-ee damn..19:41
davidhayesbigtoei guess i would've found that out had i read more on the man for the pi. i haven't bought one yet as they first B boards haven't even shipped yet.. but i heard about it 3 days ago and i'm excited and would like to get my hands on one. so i'm trying to plan my assault on the thing the moment it arrives..19:42
davidhayesbigtoeRiddell i was hoping for ubuntu or slax... but i digress...19:42
davidhayesbigtoei know there is bt ARMS for android phones.. but obviously an HTC incredible is much more powerful than a pi and i think it uses v11? idk..19:44
rcn-eethe htc incredible is a QSD8650, armv7-a core..19:46
davidhayesbigtoeyea..19:47
davidhayesbigtoeARM cortex-A15 cpu19:47
davidhayesbigtoefor my specific phone.. using the armv7 arch.. anyhow. i know my phone HAS the capability to handle 720p/1080p but is not enabled by default?19:48
rcn-eeah, no.. currently no "cortex-A15" cores are shipping yet.. But shorty.. ;)19:48
davidhayesbigtoei need to root and crack this baby open19:48
rcn-eeusually. 720p/1080p video is handled by a video coprocessor..19:48
shadeslayerdavidhayesbigtoe: you can boot debian tho19:49
rcn-ee(the rasperby pi's core has the same feature, that's why they can show it doing video..)19:49
davidhayesbigtoeblah.. i'm dumb.. the successor to the current scorpion chip i have.. the S4 SoC has the cortex cores19:49
shadeslayeralso, I'm waiting for my RasPi as well19:49
davidhayesbigtoercn-ee yea, i know that's why i want a pi19:49
davidhayesbigtoelol19:49
davidhayesbigtoebut i also wanna fully crack open my dINC1 now that my contract is up and i'm do for a new phone19:49
* shadeslayer has a voucher code, but no way to redeem the voucher19:50
davidhayesbigtoei wanna integrate the pi and the droid together.. maybe use it for touch screen display on the pi19:50
davidhayesbigtoehah19:50
shadeslayerhttp://lists.qt-project.org/pipermail/qtonpi/2012-March/000215.html ... :(19:52
* davidhayesbigtoe :-(19:54
davidhayesbigtoei didn't even order19:54
davidhayesbigtoei put myself on the mailinglist and sent an inquiry19:54
danboidHow do I install 12.04 (nightly or beta) on my pandaboard?20:07
danboidI've booted a recent nightly and modified it to show a serial console but I dunno how to log in to it- username/password?20:08
danboidI've tried ubuntu with no password or ubuntu as password too with no luck20:08
danboidThere don't seem to be any headless OMAP4 builds of Precise yet, which is what I'd use if I could get some20:11
infinitydanboid: s/headless/server/20:13
infinityhttp://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/current/20:13
danboidinfinity, Aha! Thanks v much!20:15
pbuckleyKernel /boot/vmlinuz-3.2.1 does not match your subarchitecture21:24
pbuckleyomap4, therefore not writing it to flash.21:24
pbuckleygot this on this morning's apt-get dist-upgrade21:24
infinitypbuckley: And where did that kernel come from?21:26
infinitypbuckley: It's not a distro kernel.21:26
pbuckleyhrmm it might have picked it up from ti's repo21:26
pbuckleyill let you know once it finishes21:26
infinitydpkg -S /boot/vmlinuz-3.2.121:27
infinityAnd it wouldn't be from TI's PPA, they're building 3.121:28
pbuckleynm.. i must have built it21:28
pbuckleyits not showing up in dpkg21:28
infinityYeah, I suspected as much.21:29
infinityIf you want flash-kernel to play nicely with local kernel builds, just tack an -omap4 extraver on the end of them.21:29
infinityCause we do machine type to subarch mapping to make sure Bad Things don't happen if someone installed a kernel package for another subarch.21:29
CodeWarhttps://wiki.ubuntu.com/ARM/RootfsFromScratch23:33
CodeWarWhat in God's name are you guys using to build that kernel,  if I replace it with my own kernel it says rootfs not found. Is there a driver MMC perhaps you guys bake in there?23:34
CodeWar:-)23:34
pbuckleyi just use the ubuntu tools for building a kernel23:44
pbuckleylet me get you a link23:44
pbuckleyhttps://help.ubuntu.com/community/Kernel/Compile23:44
CodeWarpbuckley, thanks let me read that wiki, if there is a .config file you have somewhere that would be very useful too23:47
GrueMasterCodeWar: What platform are you building a kernel for?23:51
CodeWarGrueMaster, vexpress-a9 running on QEMU23:51
CodeWarI can build zImage and load run and have fun with NFS boot all I want but booting off qemu img never worked for me. It appears to work for you guys so diffing whats different :-)23:52
GrueMasterI know nothing about the vexpress build or running on qemu, but I believe we have a vexpress kernel in the pool.23:54
CodeWarcan you point me to the .config file for whatever kernel works successfully on QEMU?23:55
CodeWarthats all I m looking for anyways :-)23:55
GrueMasterNot easily.  Either pull the deb package or use the kernel git tree from the link pbuckley pasted.  I think the omap kernel is what is used for qemu.23:57
mythoshmm... not versatile? :o23:59

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