/srv/irclogs.ubuntu.com/2010/04/20/#ubuntu-arm.txt

DanaGBummer.  Are there any Marvell ARM thingies that WILL run lucid?01:30
DanaGI'm still wanting an ARM with PCIe slot. =þ01:31
MartynDanaG : Dove01:36
Martynand an ARM with a PCIe slot -- is a tegra201:36
Martyntwo PCIe 1x slots in fact01:36
Martyn(Mini PCIe)01:36
DanaGHmm, but that already has a video card... a non-open one.01:36
DanaGInteresting adapter: http://www.hwtools.net/Adapter/PE4L.html01:37
persiaDoesn't mean you have to use it.01:37
Martynwell, pcie doesn't have a lot of bandwidth, when you're using just one lane01:37
MartynDanaG : But even if it's not open, that doesn't mean there aren't open source DRIVERS for it01:38
Martyn2D is well supported01:38
persiaWIth nouveau?01:38
Martynwhy would nouveau even work?01:38
Martynthe technology in use on the tegra2 has nothing in common with the nvidia GPU's01:38
Martynit's made by nVidia..01:39
Martynthat's about it01:39
persiaAh :)01:39
Martyn2D is supported by it being a bog-standard framebuffer01:39
persiaWhich drivers then?01:39
Martynfbcon01:39
persiaOh.  That make sense.01:39
Martynpersia : And I even disabled /that/01:39
Martynsince it steals memory that I want for appliations01:39
persiaheh.01:39
Martynservers don't need memory, so instead of having nearly a gig, I had barely more than 600meg01:40
Martynservers don't need VIDEO rather01:40
persiaRight.01:40
persiaI'm down 512MB on one of my servers for similar reasons, and thinking about fixing it (although with 4G, it's a little less painful)01:40
DanaGhmm, I can't find much about Marvell Dove.  No boards easily findable.01:42
MartynThey aren't easy to get, no.01:42
MartynDanaG : Frankly, if you're patient, there is a new OMAP44xx board coming out soon01:42
Martynand that is a DUAL CORE cortex a901:42
Martynmore than powerful enough01:42
Martynor you can spend $300 and get into the tegra2 program01:42
DanaGI'm not in any rush to buy anything... I'm just eyeing stuff and thinking "ooh, that looks interesting." =þ01:42
Martynwell, closer to $40001:43
Martynit's a great board though, and we have ubuntu working now01:43
DanaGHmm, is there info about that board, publicly available?01:43
DanaGheh, I can't find even a _picture_ of the Marvell Dove boards.01:45
DanaGhttp://swik.net/Gentoo/Planet+Gentoo/Ra%C3%BAl+Porcel:+ARMv7+SoCs:+Freescale+i.MX51+Babbage,+TI+OMAP3,+Marvell+Dove%2FArmada,+Qualcomm+Snapdragon%E2%80%A6/do9pt01:46
DanaGah01:46
DanaGI see... it's all very new stuff.01:48
MartynDanaG : There's even a public FORUM for development of tegra201:50
Martynhttp://developer.nvidia.com/tegra/forum01:50
MartynI am prevented from photographing it due to NDA, but it's neat01:51
DanaGCan you say if it's a mobile form, or a desktop-ish form?01:52
DanaGDesktop-is as in, openrd-base counts as that.01:52
Martynmobile, about 15cm on a side, square01:53
Martynembedded memory, two PCIe slots, three USB, one USB OTG (used to load firmware), etc..01:53
DanaGSpiffy.01:53
DanaGHmm, is there an expiration date on that NDA?  Or is the date itself... under NDA?01:53
persiaMartyn: Are you allowed to describe the embedded memory?  raw NOR, raw NAND, uses FTL, etc.?02:28
persia(and how much?)02:29
Martynpersia : There is 1GB of 667MHz DDR2 ram02:33
MartynI honestly don't know how much flash there is, but there is quite a bit02:33
Martynthere is no NOR that I'm aware of, but I have a SPI nor chip attached (8mbit) for my own use02:33
MartynI know they also have some kind of SPI EEPROM02:34
persiaThanks.  I'm mostly interested in flash, as I like the idea of / on NAND, but that can wait for retail :)02:35
* persia is mostly happy to wait for retail, but kinda wishes things would move a little faster sometimes02:36
Martynhttp://developer.nvidia.com/tegra/tegra-devkit-features02:36
MartynThey released a devkit picture and overview!02:36
MartynNo more NDA for me then02:36
Martyn512MB SLC nand02:36
persiaNifty!02:37
Martynit's a droolable board, and they are just now out of stock too02:37
Martynmore stock coming around May 102:37
persiaOh :(  512MB isn't quite enough.02:37
MartynIt's PLENTY for a boot/root filesystem02:37
Martynyou can put /usr on something else02:37
persiaYeah.02:37
Martynpersia : Consider for a moment, that ALL of android fits in 64MB02:37
Martyn128MB on th eoutside02:38
persiaMy preference is / on NAND, and /var, /home on rotary (as I churn that), but that's just me.02:38
persiaI only consider Ubuntu, which wants ~2GB for the base install.02:38
Martyndoens't need to be02:38
MartynI've gotten the base down to 384M02:38
persiaDepends on the install.  servers can be a lot less.02:38
Martynbase is -very small-02:39
Martyneverything else on top of it is big02:39
persiaRight.02:39
Martynbut my tarball of base is 276mb right now02:39
Martynuncompressed02:39
persiaMy armel buildd chroot is 304MB uncompressed.02:40
Martynthat's about right02:40
Martynand if you do tasksel server, it increases to ~38002:40
persia(base+build-essential+vim-tiny+less)02:40
Martynyeah, you need GCC in there02:40
persiaFor my buildd?  Yeah :)02:40
persiaBut it gets *lots* bigger when you install all the Desktop/Netbook stuff.02:41
Martyndepends what you install02:41
MartynI have basic browser, and support files, coming in at ~780m02:42
persiaOh, did you ever get a chance to dig into eucalyptus-nc and make it work for headless managed servers, rather than just KVM?02:42
Martynno02:42
Martynthat's our new blueprint for UDS-M02:42
Martynone of three that we've decided on02:42
persiaOh, cool.02:42
persiaWhat are the other two?02:42
Martyneucalyptus + LXC is one02:42
Martynarm-server image without kernel/initrd02:42
Martynso that more people can just download the .img and get working02:43
Martyn(because other than kernel/initrd .. all armv7 images are the same)02:43
persiaI'm philosophically opposed to that, because I think separating the kernel from the rest of it is poor design, but yeah, that's probably best until we can *fix* the issues with ARM kernels.02:43
Martynyep.02:43
persiaActually, do you have a working qemu target for your board?02:44
Martynbut the kernel --is-- separate .. there's no reason you shouldn't be able to get a .img of an ext4 filesystem02:44
Martynno.  We are not going to do QEMU of our board02:44
Martynwe're not in the business of building simulators02:44
Martynby not doing so, we'll get to hardware that much faster02:44
persiaFair.02:44
persiaMeans no chance of changing the qemu kernel target though :)02:45
Martynplus the performance of qemu of multicore architectures -sucks-02:45
Martynmuch less of quad core02:45
persiaYeah :)02:45
Martynmuch less one with 4GB of ram02:45
persiaBut I argume the kernel isn't separate: it inherently depends on the toolchain, and is interrelated.02:45
persiaThe initrd is even more not separate, since it's constructed based on the filesystem.02:46
persiaAnd the filesystem contains all the kernel modules, etc.02:46
Martynbut the initrd is mostly -not used- by ARM targets02:46
persiaBut that's all well-known, and it doesn't make the situation better for folks stuck in the embedded model.02:46
Martynin fact, Dustin and I use monolithic kernels02:46
Martynright02:47
Martynso, if you ignore it (and you can .. ) things get easier02:47
Martynplus you can build the initrd after completing the install with a monolithic kernel if needed02:47
persiaWell, I won't ignore it, but I'm willing to take a longer term view, and let folks work around it for now :)02:47
persiaFor some classes of install: the d-i installer is based inside the initrd, for example :)02:48
persiaWhich installer is the one used by the server installs.02:48
persiaBut I'll attend the session: some of this can be worked around.02:48
persiaAnd what can't can probably be scripted in some way.02:48
persiaSo, what's the third spec?02:49
Martynthat's private for now02:54
Martynbut just for a week or so while the guy working on it gets it completed02:54
Martynit's something around cluster control02:55
Martyn(aka cloud control)02:55
persiaOK.  From your first comment I worried that you'd forgotten that UDS is incredibly public (sessions are icecasted, specs are on the internet, etc.)02:55
MartynNo, I just don't want to say what I don't know :)02:56
persiaThat's as much detail as I sought.  Makes sense, given the vision from your webpages.02:56
* DanaG sticks with ubuntu. Angstrom is a pain. Ubuntu on my beagle matches my host system's development environment perfectly. =þ04:03
DanaGhmm, is the GPU on that a PCI device, or a "platform" device (a.k.a. not PCI)?04:05
DanaGAnd can it run compiz? =þ04:06
DanaGhmm, which of the two slots is "external" MMC/SD?04:07
persiaIt's times like this that one wishes vendor spec sheets came with dmesg output and lspci -vvn and lsusb -v :)04:09
DanaGyeah.  I'd hardly call that too much to ask.04:10
persiaI think we need generic booting kernels first.04:23
persiaMost of the other architectures have them, so now we just look silly.04:23
persiaMind you, powerpc seems to be moving in the multi-kernel direction, but I hope that's just a short-term thing.04:24
DanaG error: expected type-specifier before ‘boost’04:47
DanaGARGH04:47
DanaGer, wrong tab... off-topic for this channel.04:48
ericmwho can point me a cross compiling friendly debian package as an example?09:33
loolericm: You mean to cross debuild it?09:34
loolericm: You could try the x-loader or u-boot packages in lucid, I fixed them to be cross-buildable09:34
ericmlool, thanks - I'll take a look09:35
ericmlool, are they tracked with bzr?09:37
loolericm: All packages are nowadays  :)09:37
loolwell almost all09:37
loolericm: try bzr branch lp:ubuntu/x-loader09:38
ericmhttps://launchpad.net/ubuntu/lucid/+source/x-loader, I'm seeing it might be managed with git?09:38
loolericm: the git you see there is in the version because it's coming from git upstream09:38
loolSo the version mentions this is a git snapshot09:38
ericmlool, ok - so it's actually managed by git and synced on lp with bzr?09:39
loolericm: The way to retrieve exactly what's in the archive locally is "apt-get source", when you actually want to commit to the *packaging* vcs of some package, you can check whether the package has Vcs-* headers, or simply use "debcheckout" which will checkout the relevant Vcs (or just apt-get source if no Vcs was found)09:40
loolericm: *Upstream* uses git09:40
ericmlool, ah I see09:40
loolericm: For instance, I uploaded a snapshot of valgrind 3.6.0 from SVN and used:  Version: 1:3.6.0~svn20100212-0ubuntu409:40
loolJust to reflect that I took the snapshot on 2010021209:41
ericmlool, so the bzr only tracks the snapshots, not exactly sync'ed with upstream in full history?09:41
loolericm: We have automated imports of what reaches the archive into bzr09:42
loolericm: So the history is only that of the Ubuntu uploads09:42
ericmlool, btw - it looks to me x-loader/debian/rules is strange, no binary target?09:42
loolericm: we have another import for the debian upload, and these are done in a compatible way so that you can merge between them09:42
ericmand dh_auto_build seems to do the magic of cross compiling?09:42
loolericm: However if we were to track upstream history (which we do relatively rarely), we'd have to setup a git import in Launchpad first09:43
loolericm: That's the new style "dh" rules, it basically say "do the standard thing unless I write an override"09:43
loolericm: You could try cross-building zlib09:44
loolit's more standard-style09:45
ericmlool, ok let me take a look09:45
=== hrw|gone is now known as hrw
hrwhi09:49
loolhi09:49
ericmlool, well it looks like zlib doesn't specify --host in its configure, just with a CC assignment before ./configure, which will work in most cases?09:49
loolericm: zlib is not using autoconf IIRC09:49
loolericm: So its configure doesn't support --host and --build09:50
loolericm: Yes, the package should cross-build, I cross-built it recently09:50
ericmand CC="$(DEB_HOST_GNU_TYPE)-gcc" doesn't work with codesourcery toolchain and others09:50
loolericm: To cross-build it, try something like DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -B -us -uc -aarmel -d09:50
ericmmight need some way to specify the toolchain if it's not using the standard gcc naming convention09:51
loolericm: Yes, that's the first problem you'll encounter09:51
loolericm: then your package will also fail to build near dh_shlibdeps because codesourcery doesn't include debian specific shlibs information09:51
ericmlool, :-(09:51
loolericm: I'm afraid it's not possible to switch triplet, many many upstreams expect $triplet-gcc09:51
hrwlool: OE has patch to make zlib more autotools09:52
loolericm: What you need is debian/ubuntu cross-building training  :-)09:52
loolhrw: Wont help dh_shlibdeps I'm afraid09:52
ericmlool, yes - any references?09:52
ericmlool, I'm a slack09:52
loolericm: Let me email you the slides09:52
ericmlool, that will be nice09:52
hrwwe remove configure, makefile.in and place configure.ac + makefile.am + zlib.pc.in09:52
hrwlool: probably not09:52
loolericm: You're not going into safe and nicely working territory, this is pushing the limits of our current systems a bit  :-)09:52
nosse1lool: Would it be possible to gain a copy of those slides?09:52
nosse1lool: We are working with the same issues here.09:53
loolericm: sent09:53
ericmlool, thanks09:53
loolnosse1: It would, but I'd have to strip them slightly and double-check internally09:54
nosse1lool: Please do. I'd be grateful.09:54
loolnosse1: Sorry, what's your real name again?09:54
loolnosse1: will check09:55
nosse1lool: My name is Svein Seldal09:55
loolnosse1: People who I need to check with are sleeping still; I'll check later today, if I forget, please remind me09:56
ogralool, time for an #ubuntu-classroom session ;)09:56
nosse1lool: FYI I've finally installed Lucid on AM3517 eval kit from TI. And I'm using the CS toolchain to cross the kernel, qt and our application while running "mainstream" ubuntu on the rest09:56
loolericm: I'm afraid you'll miss the '[ DEMO ]' parts  :)09:56
loolericm: xbuild.txt has notes on what I'd actually be typing there09:56
loolnosse1: Nice09:57
ericmlool, I went roughly through the first several slides, and decided to native build in my chroot :-)09:57
loolericm: lol09:57
loolericm: I think you're doing the right thing09:57
loolericm: For people with very slow hardware, or generally resource-constrained hardware or no hardware I'd advocate trying qemu-user09:58
loolI think I should fix our cross-build tool to not care about build-dep loops when converting pre-built packages from the archive09:58
ericmlool, indeed09:59
nosse1Since it is possible to mix host and target binaries in a chroot environment I played with the idea to inject the CS cross compiler into the chroot env to use host native tools for building.09:59
loolIf I were to fix it, we'd have a single tool one step way of cross-building any package which can be cross-built *if* you have a dpkg-cross compatible toolchain09:59
nosse1I don't know if it's even possible or if it's just an crazy idea... :o09:59
loolnosse1: It's definitely possible, I cover this in my slides, well I mention the idea10:00
loolnosse1: it's possible in three ways10:00
loolnosse1: a) real hardware + icecc to move the actual compilation from your slow hardware to a remote intel host running a cross toolchain10:00
loolb) QEMU machine emulation (emulating hardware), just like a)10:01
nosse1Point is target native compilation, qemu/chroot is all very slow. That is the one reason you would want to use the CS cross compiler10:01
loolc) qemu-user emulation or sb/sb2 like emulation and actual intel binaries in your chroot; "croco" which suihkulokki maintains upstream on gitorious does this10:01
loolnosse1: the compilation isn't the only slow point though10:02
loolthat's typically the case for large C++ apps like Qt, but there are other issues10:02
nosse1lool: You asked about my name. Here's my lauchpad profile: https://launchpad.net/~sveinse10:03
ograwow, the netbook installer looks really nice10:04
loolnosse1: Yup found it googling your name10:05
persialool: Are you planning to drop clean croco support into maverick?10:05
loolpersia: drop?  you mean provide/upload?10:05
persiaYes.10:06
ogradrop into :)10:06
loolpersia: I'd love to10:06
nosse1lool: I need to go to a meeting. I'll remind you later if doesnt hear anything ;)  Thanks!10:06
persiaLovely.  Will this be something that has to be installed on both the chroot and the host, or just the chroot?10:06
loolpersia: Just the chroot10:07
loolpersia: it's qemu-user style emulation10:07
persiaSo how does it get to the non-chroot binaries, or does one have to install both architectures in the chroot?10:09
loolpersia: exactly10:09
persiaOh :)10:09
loolThere are various approaches to this kind of hack; in croco, you have a croco.map file which is used when intercepting exec() calls10:10
persiaI don't suppose there's some way we could adjust the binfmt-misc wrapper to catch some stuff and execute that natively without adding to the chroot, is there?10:10
loolnot really10:10
loolI mean, the kernel/binfmt will do the right thing and run the proper binaries10:11
loolThat is, it will see that's for intel and just run them without qemu-arm-static10:11
loolor see it's for arm and run them with it10:11
persiaRIght.  I was kinda hoping for a way to get croco acceleration out of a Souyz chroot, but I don't think that's feasible.10:11
loolWhat the kernel doesn't do is remap what you really want to run depending on the path10:11
persiaNeeds a special crocoised chroot.10:11
loolI personally think security tools might be a better fit for this, but I'm not technical enough to look into it yet10:12
loolpersia: Well you typically want your apps to run chroot-ed as to limit their view on files to the ones you have in your build env10:12
loolIf they run chrooted, then you need chrooted binaries and their libraries; you could run them from the outside and then chroot, but many of them fork() to run other apps10:13
loolsuch as gcc calling cc1 or so10:13
persiaOh, certainly.  I just wanted to reuse the same chroots for native and non-native.10:13
persiaBut I don't think that this will work with croco.10:13
loolpersia: That works10:13
ograbinfmt should catch that10:13
ograbut you will effectively end up with two full environments in one10:14
loolpersia: When you enter the chroot with croco turned on, it intercepts calls to e.g. /usr/bin/gcc, but if you enter it normally, it doesn't10:14
loologra: Not related to binfmt really10:14
persiaogra: Indeed, and it works well, so I can just `pull-soyuz-chroot lucid armel; sbuild -d lucid-armel-soyuz foo.dsc`, but that's not as fast as it could be.10:15
persialool: Right, but the chroot needs to be multi-arch for croco to work, which the soyuz chroots aren't (and shouldn't be).10:16
loolpersia: What do you mean multi-arch?10:16
persiahaving e.g. i386 *AND* armel binaries.10:16
loolpersia: What I mean is that once you've included croco in your chroot (currently in /croco) you can still use it as before10:16
persiaRight.10:16
persiaSo we can have a script that adds croco to a chroot, but we can't expect to install something on the host that automatically does croco-acceleration for all chroots.10:17
=== hrw is now known as hrw|gone
loolpersia: Well unless you make it part of your build tool, e.g. mount --bind /host/croco /build-chroot/croco10:22
persiaAnd all the native stuff would live under /croco ?10:23
loolYes10:23
persiaOh, suddenly that looks a lot nicer.10:24
persiaRight.  I think I have an idea how to do that, at least for schroots.  pbuilder will require more investigation.10:31
persia(or rather pbuilder-dist integration: pbuilder has hooks that make it easy for folks that know how to use pbuilder)10:31
ogra#define DEFAULT_DEVICE "/dev/fb"10:34
ogra /* FIXME: We don't really want to do it like this... */10:34
* ogra grumbles about the omapfb xserver 10:34
ograthey could at least have picked fb010:35
persiaSo, XorA suggested we could (temporarily) ship a udev rule in the xserver package that would add the symlink.10:36
persiaXorA also suggested that he expected to be directed to fix it in the near future.10:36
ograwell, given that we're in hard freeze it wont happen for lucid anyway10:37
ograand for maverick we should just fix it properly10:37
loolCan't we fix this omap specific package instead?10:50
loolHow does Debian do it?10:51
ogralool, thast what i was saying :)10:51
ografix it properly by adding a routine that detects the device instead of hardcoding it10:52
loologra: switching to fb0 would be good enough for lucid10:52
ograsure10:52
persiaIt's not terribly difficult to fix, but if XorA plans to fix it, I'm not sure of the value of trying to fix it before him.10:53
loolpersia: Having the package in lucid work?  :)10:53
persiaThat's trivially done by shipping a udev rule to create the node the software wants.10:54
* ogra checks the other omapfb package as well ... i bet it uses the same hack10:54
persiaCould add a s/fb/fb0/ patch, but I had the impression from the discussion this weekend there was some reason this was complex.10:54
lool.BI "Option \*qfbdev\*q \*q" string \*q10:55
loolThe framebuffer device to use. Default: /dev/fb0.10:55
loolFrom man/fbdev.man10:55
loolapparently this is a xorg default for options named "fbdev" -- couldn't find any actual default in xorg-fbdev10:57
ograpersia, given that we only support one board atm and in the light that fb0 is usually the default i think its safe to just take fb010:57
ografor maverick we should add some detection code though10:57
persiaXorA|gone: When you get back, please explain why this is a good/not good idea in some detail.10:58
loolfbdevHWInit(pScrn,NULL,xf86FindOptionValue(fPtr->pEnt->device->options,"fbdev"))10:58
persiaogra: My fear is that the hardcoding is more complex and deeper than you think.10:58
ograpersia, not really10:58
ograbut i'll test it as soon as this netbook install is done10:59
ogra(if that finishes before the volcano stops spitting ash :P )10:59
persiaOK.  All I can advise is to check the weekend backscroll.  If it trivially works, go ahead.  If it doesn't, let's work around it for lucid.10:59
loolpersia, ogra: So apparently, xorg-server/hw/xfree86/fbdevhw/fbdevhw.c does the default on fb011:01
loolIt can be overriden with FRAMEBUFFER in the env11:01
loolor in the config obviously11:02
ograyeah11:02
ograso omapfb should just do the same11:02
persialool: Indeed.  THis is an omapfb-specific bug.11:02
persia(and known to be a bug)11:02
loolfbdevHWInit() calls fbdev_open() which open()s the fbdev, and that's pretty much it; I think src/omapfb-driver.c could do the same11:03
loolUh plus it checks for fd > 0 ohw ugly11:03
persiaThere's some trickiness in omapfb because it makes assumptions that certain fbX devices have certain special features/functions.11:05
persiaAnd this needs massive cleanup (upstream), which is why I believe the lucid-timeframe answer is a udev rule.11:06
ograthese are in different source files11:06
ograxv has its separate source and uses fb111:06
ograroot@babbage2:/xf86-video-omapfb-0.1.1# grep -r /dev/fb *11:07
ograsrc/omapfb-driver.c:#define DEFAULT_DEVICE "/dev/fb"11:07
ograsrc/omapfb-xv.c:#define OMAP_FBDEV1_NAME "/dev/fb1"11:07
ograin that light src/omapfb-driver.c should just be hardcoded to fb011:07
cooloneyplars and GrueMaster, could you please guys to help look at bug #56715711:07
ograunless lool wants to add the proper fbdev_open() calls :)11:07
ubot4Launchpad bug 567157 in linux-fsl-imx51 (Ubuntu) "regulators enabled at boot and also print error messages at boot. (affects: 1) (heat: 6)" [High,In progress] https://launchpad.net/bugs/56715711:07
loologra: I'll do it in my CFT11:08
ograCFT ?11:08
* ogra wonders what C means11:08
loolcopious free time11:08
ograah11:08
eggonleahi, anybody knows about netbook-launcher-efl? Would the XV window get damage info again after it redraws application GUI (e.g. totem)? Now it seems destroys the colorkey background so video cannot be shown correctly.11:08
ograbah, crap flash-kernel fails in ubiquity11:10
looleggonlea: Sorry no idea11:17
loolWho's maintaining netbook-launcher-efl here?11:17
loolJamieBennett: is that you?11:17
JamieBennettlool: mterry11:18
persiaIsn't mterry upstream?11:19
JamieBennettpersia: he is now but not the original upstream11:19
looleggonlea: Try pinging mterry on #ubuntu-devel or so, he's upstream and is easter time11:19
lool*eastern11:19
JamieBennetthe is looking after n-l-efl11:19
eggonlealool: great, thanks!11:20
persiaYeah, well, teams have member turnover, but an upstream contact is an upstream contact :)11:21
JamieBennettpersia: :)11:21
=== ogra_ is now known as ogra
=== hrw|gone is now known as hrw
nosse1lool: I hope I wasn't rude or anything about requesting the presentation earlier on. I was kind of in a hurry, so I threw myself into the discussion12:55
loolnosse1: Oh not at all13:01
loolnosse1: I wouldn't have mentionned it here if there was no chance of publishing it13:01
=== nosse1 is now known as sveinse
* sveinse got his beloved old nick back. *nosse1* is now known as *sveinse*13:08
sveinseIs #ubuntu-arm logged anywhere?13:13
rcn-eesveinse, http://irclogs.ubuntu.com/ but usually an hour behind.. ;)13:14
ograirclogs.ubuntu.com13:14
sveinsercn-ee: np, I'm looking for something weeks old13:14
rcn-eeogra, so i was playing around with different methods...  The NetInstall really doesn't like it when i force nand to read only.. ;)13:15
ograindeed13:15
ografile a bug on flash-kernel so we can cancel the installation properly with a clean error message13:16
rcn-eei will, after some more testing..  its weird since early in the flash-kernel script it calls the one /etc/flash*.conf so it shoudl exit. (well it works on an already built image) but the NetInstall still runs it..13:17
ograwhile its sourced, the omap code doesnt use anything from it13:18
ograactually we only introduced it for imx51 since that has an awful setup13:18
rcn-eeyeah i saw that, awful bootloader mess you had to work thru...13:18
ograafter using it for three releases i really like redboot more than uboot13:19
ogra:)13:19
hrwogra: can you tell more about that 'awful setup'?13:19
rcn-eethe easy thing, would be a variable in that config to please leave the nand alone13:19
ograhrw, abusing your install media as "bootfloppy"13:19
hrwah13:20
ogratruncating it at the end of the install ...13:20
ograthe babbage board can only boot from SD13:20
ograbut you cant easily install to the installation media you run from13:20
ograso babbage requires you to install to USB and to keep the SD you installed from as boot media, carrying a special non-data partition that holds redboot, kernel, initramfs and the redboot config (simulating a flash)13:21
hrwough13:32
persiasveinse: Did you find what you needed in the logs?  They are (up to) an hour out of date, but they should go back to within a couple weeks of when I opened the channel.13:34
sveinsepersia: yes, thank you13:37
sveinseAnyone here with openocd and kernel debug experience?13:45
hrwI use openocd only to reboot sheevaplug13:46
NCommanderogra: when you use a non-hacked up u-boot, your opinion will likely change13:47
ograNCommander, nope13:47
ograi like fast boots ...13:47
NCommanderogra: ouch.13:47
ograuboot cant achieve that13:47
ograby design13:48
NCommanderogra: u-boot can do raw reads just like redboot.13:48
NCommanderI just like having a filesystem for my files13:48
NCommanderBut thats just me.13:48
hrwogra: what you use for that 'fast boot'?13:48
hrwnand read?13:49
loolNCommander: redboot supports filesystems as well13:49
NCommanderlool: upstream does, but no vendor fork of Redboot I've seen has it :-/13:50
loolIt's not really a problem with redboot though, but with the vendors   :-/13:51
NCommanderlool: indeed. If we had a modern redboot, I suspect my ability to complain about imx51 booting would be severaly reduced13:52
ograindeed i like its flexibility13:52
ograit still needs to convert from uImage to raw, no ?13:52
ograand copy it around in ram13:52
NCommanderogra: u-boot can do XIP13:53
sveinseDo you know if there a host graphical debugger (ddd or insight) which can debug arm code for target? (Probably it's a generic host for the GUI part and gdb-arm for the target)13:54
NCommandersveinse: ddd should be able to use a cross-debugger, but its been awhile since I tried it13:54
* NCommander just got used to using gdb directly; less painful13:54
* sveinse is about to embark on some kernel driver development, and need eyes into the running kernel...13:54
ograhrw, redboot ... fast boot paid with zero flexibility13:55
sveinseI'm going to use JTAG tool + OpenOCD, but I need a GUI frontend for gdb on host13:55
ogra******* reminder ubuntu mobile meeting in 5 min in #ubuntu-meeting *******13:55
slapinhi, all!13:57
slapinI try to rebuild gtk+2.0 on my SheevaPlug, and it uses -mfpu=vfp for it, is it ok? I could'nt find that Sheeva supports any floating point unit...13:59
loolslapin: We require vfp nowdays13:59
loolin Ubuntu that is13:59
slapinwhere could I change that globally in my build environment?14:00
loolslapin: You'd need to rebuild all of Ubuntu14:01
loolslapin: This is encoded in the toolchain defaults14:01
slapinlool: is there some automated way to build all ubuntu (at least base system plus some packages)?14:02
slapinlool: I mean cross-compile14:02
loolslapin: Cross-compile, not really14:03
loolthere are various tools available to rebuild Ubuntu as a whole, but they are not too clever, so you might have to do that multiple times14:03
slapinlool: what device is used to build lots of packages reasonably fast for ARM architecture?14:04
slapinlool: I think it is ok with me, I just want to know which tool is mainstream one14:05
slapinlool: and what setup is needed.14:05
loolslapin: We currently build continously14:06
loolslapin: using real ARM hardware14:06
ograusing launchpad/soyuz as builder system on top14:07
loolWe tried using both dove and imx51 boards, but I think our build system is mostly imx51 atm14:07
slapinis it possible to build locally?14:08
loolslapin: Yes14:09
loolslapin: In theory you can setup launchpad, albeit that's heavy, or you can use the Debian tools such as wanna-build and dak, but these are a bit hard to setup as well; finally there are some ad hoc rebiuld tools like rebuildd14:10
slapinlool: 'heavy' is fine with me, is there any docs on how to set up launchpad?14:11
persiaslapin: There's some (limited) docs as a side effect of https://dev.launchpad.net/Getting14:13
slapinthanks a lot!14:19
=== hrw is now known as hrw|gone
=== JaMa is now known as JaMa|Opera
plarsogra: omap image didn't build last night, I assume because of RC (which it is not really included in at the moment).  Any way to force just that one to rebuild?15:05
ograplars, we need the livecd-rootfs fix anyway, so i prefer to wait15:06
plarsogra: ok15:07
ograassuming you refer to netbook15:07
plarsogra: yes15:07
sveinselool: Thanks! If you are interested, I can keep you posted on how we solve cross compilation into Ubuntu. Currently it seems that apps built in the cross compiler works directly on target, but I think that's a coincidence that both libc and libstc++ has the same version on the cross and on the native system.15:40
loolsveinse: Correct; I don't expect too many incompatibilities there, because we try hard to have working binaries, but it's bad for other reasons (you actually want to know aganst what piece everything is built, and wihch features it uses -- toolchain flags and such)15:44
=== TheWhiteGhost_ is now known as TheWhiteGhost
sveinselool: Where is the default compile flags (for the native compiler defined)? In the spec file?15:58
loolThe toolchain default to what you compiled it with16:00
sveinseAh right, so it adopts its CFLAGS automatically16:01
dmartNCommander: does OOo build at the moment?  I've been trying to get a build tree for a few days, but I've hit problems16:28
ogradmart, it should16:28
looldmart: Yes I think so16:28
looldmart: Well it's *building* I think16:29
ograand it did as well before that minor change upload16:29
NCommanderdmart: in theory.16:29
ograafter NCommander fixed it16:29
ograthere was one finished build afaik16:29
NCommanderogra: you mean blundened it16:29
loolIt's definitely building ATM16:29
ograyeah, there was a recent upload16:30
NCommanderdmart: we forced it to -marm. Not a real fix, but works for now16:30
dmarthttp://pastebin.ubuntu.com/419326/16:31
dmartI always get this, whether the -marm workaround is present or not.16:31
dmartMy filesystem should be up to date16:31
lool../unxlngr.pro/bin/makedepend: symbol lookup error: ../unxlngr.pro/bin/makedepend: undefined symbol: cppsetup16:31
loolhmm16:31
ogradmart, how far into the build was that ?16:31
ograhttps://edge.launchpad.net/ubuntu/+source/openoffice.org/1:3.2.0-7ubuntu3/+build/1698510 says its running since 19th16:32
dmartPretty early - no more than 1h in16:32
dmartIncorrect build-deps (or my filesystem in a mess)16:32
dmart?16:32
dmartThis is a lucid chroot running on top of Jaunty in babbage116:32
ograheh16:33
ograthats a pretty unpredictable env16:33
ograour buildfarm is completely bbg3 on lucid now16:34
persiaI've encountered a number of odd failures running pbuilder in jaunty to build lucid: I've had significantly better success with using qemu-user mode (although that's not a good basis for this specific issue)16:34
ograsurely not for OO.o, no :)16:34
dmartOK, maybe I ought to be careful about this16:34
persiaI've been presuming it's due to missing thumb2 support int he jaunty kernel, although I have no basis for this presumption.16:34
dmartI have loads of babbage1 doing not much :/16:34
persiadmart: Can you get a 2.6.32 kernel running on them?16:35
dmartpersia: the jaunty kernel should support Thumb-2, but there might be some unfixed issues16:35
persiaif so, you have the basis of a lovely build farm :)16:35
ograpersia, bbg1 was pre-production HW16:35
dmartI can maybe run the build on babbage3 and use the babbage1s as distcc slaves16:35
ograthere can be plenty of silicon issues16:35
dmarta pretty dumb board can run distccd16:36
ograyeah, for distcc that might work16:36
ograor icecc16:36
dmarticecc?16:36
ogranext gen distcc :)16:36
* dmart googles16:37
dmartoh, right :)16:37
ograNCommander had a setup for his OO.o tests16:37
dmartFor massive C++ compiles distcc can provide quite a boost16:37
NCommanderogra: dmart: icecc doesn't help much, since then it tries to parallize the things that icecc doesn't do, and the then it goes bad16:38
ogra??16:38
ograwhich of the icecc should be distcc now ?16:38
NCommanderogra: basically, theres no way to tell OOo you only want to parallize the building only the C/C++ builds16:38
NCommanderso it works great for C/C++ modules16:38
NCommanderit gets really bad when it gets to running javac16:38
* ogra still doesnt get what things icecc does that icecc doesnt do 16:39
ograthat sentence made no sense16:39
NCommanderogra: oh, I fail16:40
NCommanderogra: basically, the OOo build system is stupid, and can't properly parallize the build so only the C bits are build in parallel16:40
suihkulokkiofcourse, distcc/icecc don't parallilze javac. just c/c++16:40
ograright16:40
ograi got *that* part16:41
ograthe initial sentence was just very confusing16:42
prpplagueogra: ping18:07
XorA|gonehey guys is UDS still going ahead as planned considering the chances of airflight being allowed by then seem to be minimal?18:13
loolXorA|gone: minimal?  according to whom?18:14
XorA|gonelool: the volcano doesnt seem to be emitting any less ash18:14
loolActually it does18:15
XorA|gonelool: not according to news this afternoon when scotland closed again18:15
loolI heard at lunch that ashes emissions went significantly down18:15
prpplagueXorA|gone: hey bud18:15
persiaXorA|gone: So, isn't that why the chunnel was dug?18:15
prpplagueXorA|gone: ugh, saw the new dr.who last saturday :(18:16
prpplagueXorA|gone: very disappointed18:16
XorA|gonepersia: yeah thats easy enough for me, I just dont want to be the only guy there :-)18:16
persiaThose of us from far away can fly to somewhere within train distance one way or another18:16
XorA|gonepersia: just checking people are still planning to attend and not move to somewhere more reliable like spain18:17
XorA|goneas Ill need to book tickets ASAP18:17
loolit's definitely still planned  :-)18:17
persiaWe did spain too recently to repeat18:17
XorA|goneBBC news if quite defineate on increasing volcano ash again today18:17
persia(and actually, twice: once andalucia and once catalunya)18:18
* XorA|gone thinks we need an Edinburgh to Holland tunnel18:19
sveinseThe airspace here in Norway has been reopened today. And according to the news, the volcano has gone over to a lava-production phase where the ash production is significantly reduced18:31
Martynsveinse: Thank goodness18:34
Martynsveinse: But unfortunately the second volcano is starting to swell .. so we're likely going to see a second blast18:34
NCommandereggonlea: you around?19:14
hrw|goneXorA|gone: going for UDS?19:27
hrw|goneXorA|gone: would be great to see at least one known face ;D19:28
ogra_cmpchrw|gone, we're not *that* ugly, don't be scared :)19:31
ogra_cmpcprpplague, hey19:31
ogra_cmpc(just here for a few mins)19:31
hrw|goneogra_cmpc: I did not said that.19:31
ogra_cmpcthough all the hugging might scare you probably *g*19:32
hrw|goneogra_cmpc: but when I will arrive at ~21:00 on sunday it would be easier to just call xora and go for a beer then catch someone on irc and then wonder which of guys in lobby was that one19:33
* ogra_cmpc doesnt actually knoe when he arrives (driving by car) but i'm surely up for a beer then :)19:34
hrw|goneogra_cmpc: during uds I will meet some familiar faces but connecting faces to irc nicks etc takes time19:34
ogra_cmpcindeed19:34
* ogra_cmpc knows what you mean19:34
ogra_cmpcand XorA|gone is easy to memorize :)19:34
hrw|goneguadec 2007 was great for me - I finally met OpenedHand people after working with them for nearly half year19:35
ogra_cmpcyou will meet some again at UDS19:35
hrw|goneogra_cmpc: I first met him in 2006 iirc19:35
* ogra_cmpc met him about a month ago in nice19:35
hrw|goneogra_cmpc: so far I do not see ex-OH people on list19:36
hrw|gonebut there is still time - I am not on a list yet too19:36
hrw|gonewaiting for some mails first19:36
ogra_cmpcnot sure they did their paperwork yet ...19:37
hrw|gonebts got my papers yesterday19:37
ogra_cmpcbut i'm sure neil is coming19:37
prpplagueogra_cmpc: hey bud19:40
NCommanderasac: so libgphoto2 successed in public devirtualized PPA19:56
NCommanderasac: care to sponsor?19:56
crimsunI can if you pass me the dsc url19:56
NCommanderasac: crimsun: https://bugs.edge.launchpad.net/ubuntu/+source/libgphoto2/+bug/56742219:59
ubot4Launchpad bug 567422 in libgphoto2 (Ubuntu) "ARM FTBFS fix for libgphoto2 on lucid (affects: 1)" [Undecided,New]19:59
asacNCommander: could you check with -release ... i guess this wont be before RC?20:03
NCommanderasac: already did check with release yesterday on fixing this problem this way20:04
NCommanderasac: not sure on uploading it now though20:04
NCommanderasac: we're in pre-release freeze now though, so you can upload now, and if its problematic, it will just sit in the queue until after RC20:09
asacNCommander: ok. let me test build at least ;)20:16
Sayag_Samuelhello21:30
Sayag_SamuelI'm trying to set an USB camera on the beagle board and I have some problems21:30
=== JaMa|Opera is now known as JaMa|Zzzz

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