/srv/irclogs.ubuntu.com/2011/06/16/#ubuntu-arm.txt

zumbipersia: someone wanted to do some omap4 cleanup on d-i00:00
persiaI think I mean "mx5".  I've heard folk say that the same code supports the i.MX51 and the i.MX53, and that someone was calling that mx5 while adding support in Debian.00:00
zumbidebian is likely enabling omap subarch00:00
zumbipersia: yes, that someone was me00:01
persiaWill Debian "omap" support omap3 and omap4?00:01
zumbimx51 and mx53 are not yet compatible00:01
persiaHeh.  Then you know what string I need more than I :)00:01
zumbiyes, omap in debian will be for omap3 and omap400:02
persiaThey aren't?  I thought linaro had a kernel that worked on both.00:02
zumbipersia: is not about what I need, I am trying not to break your stuff00:02
persiaIf "omap" in Debian is for both omap3 and omap4, then it makes sense for Ubuntu to carry "omap4" is a patch, for as long as it continues to be required.00:02
zumbias someone submitted a patch which removed omap4 from libdebian-installer00:02
persiaAs long as we know about it, it oughtn't be a disaster.00:03
zumbipersia: ok - but there are old trees with omap4 and documentation all over teh place00:03
persiaNCommander, Are you about?  Would you have time to review this with zumbi to figure out what makes sense as an Ubuntu patch?00:04
zumbipersia: this was the thread triggering this question.. http://lists.debian.org/debian-boot/2011/06/msg00184.html00:04
persiaAh, and now it all makes sense.00:06
persiaYeah, it's probably better to leave "omap4" and "imx51" in the reserved list for now, as this makes the Ubuntu patching easier (reassinging some boards,etc.).00:06
zumbiyes, that was what I thought00:07
zumbiwe'll see how we end up with mx51 and mx5300:07
persiaWhat's outstanding there?  A merged kernel, or something larger?00:09
zumbipersia: is it just an offset issue00:11
zumbiat boot time00:11
persiaHrm.  That confuses me.  I've been told that folks with both Efika smartbooks (mx51) and Quickstarts (mx53) are booting with the linaro kernel.00:13
persiaI thought that was the same kernel.00:13
zumbihttp://lists.debian.org/debian-arm/2011/04/msg00067.html00:14
persiaapachelogger, What's your `uname -a` output?00:14
zumbipersia: well, maybe it has been fixed00:15
zumbithat issue was raised back in april00:15
zumbiI have not tested mx53 stuff yet00:15
persiaUwe also seems to be talking about mainline, and I suspect Linaro's Freescale Landing Team has a number of patches in the pipeline.00:16
zumbipersia: yes, Uwe is mainline.. but certainly if that is in Linaro eventually it'll get into mainline00:18
persiaSometimes the patches need a fair bit of rewriting :)00:19
zumbiif it is not there yet... I need to update myself00:19
persia(but yeah, it's heaps better than the old abandoned vendor trees)00:19
zumbiwell, there is not much involved into have mx53 and mx51 in one kernel00:19
zumbiwe really hoping for unified kernel00:20
persiaI think there is one.  Unfortunately, jcrigby, who'd know for sure, seems to be away from IRC this week.00:21
persiaUnfortunately, my git-fu isn't up to finding shortlog difference between trees sufficiently to distinguish which patches may have been applied to achieve this.00:22
zumbiwell, that's upstream call I suspect00:26
persiaHeh, well.  Depends on your feeling towards distro-patches :)  I suspect that for Ubuntu we'll be telling base-installer to use the linaro kernels (since they regularly get uploaded into the archive).  I'm not convinced Debian wants N kernel source packages, which makes it much harder to do without upstream support.00:28
zumbipersia: debian kernel team sticks to upstream/mainline00:35
persiaSensibly :)00:35
zumbiand they have a policy of only backporting patches which have been accepted into mainline HEAD00:35
persiaUbuntu kernel team does the same (mostly), but there are something like 6 kernel source packages in Ubuntu, of which only one is managed by that team.00:35
zumbiunless it is a bugfix00:35
persiaFor Ubuntu, even bugfixes get asked if they are upstream (although I suspect some that aren't yet get applied)00:36
zumbiwell, it becomes insane if you do it other way, you need an upstream to distribute00:36
zumbiDebian distributes GNU00:36
zumbifree and open stuff00:36
zumbiUbuntu is more into commercial world, I want it to work even if it is not open/free00:37
zumbiI mean Ubuntu besides being driven by business, it also does not comply to Debian free and open source guidelines...00:39
persiaIt's not about free/non-free and it's not about money.00:39
zumbiin a sense Debian is freedom taliban00:39
zumbipersia: I was not trying to be annoying that was just my point of view00:39
persiaAll the extra kernels in the archive are GPLv2-only, and some of them are uploaded by people I know not to be receiving any compensation for doing so.00:39
persiaI agree that having a single upstream is *lots* easier to manage, and generally cleaner.00:40
zumbiwell, you really do not want to carry 6 different kernels for x8600:41
zumbithen dealing with bug reports is insane00:41
persiaThey have 6 different source packages.00:41
persia(but I think we only have 2 source packages for x86)00:41
persiaAnd different binary package names00:41
zumbiwhen talking about free/non-free, I was thinking on ti-sgx 3D drivers, nvidia stuff, etc...00:42
persiaI don't believe any of that is in Ubuntu.00:42
zumbiand surely there is community around Ubuntu00:42
persiaTI has a PPA in which they distribute some stuff.00:42
persiaI don't think nVidia has one.00:42
zumbiuhm.. I might be wrong00:43
zumbipersia: but then why fork Debian and not work with it?00:44
persiaI wasn't involved in that decision.00:45
persiaAt the time, I was following Debian mailing lists, and had the impression that there was a desire to do ~1000 NMUs, which were considered to be unfreindly at the time.00:45
persiaI believe the fork comes from the desire to be able to upload things *without* considering whether it's NMU, and the desire to release every six months (Ubuntu was announced around the time that sarge was looking like it would never release)00:47
persiaI think many Ubuntu Developers, especially most of those who have been around a while, do also work in Debian in one way or another.00:47
persiaI'm not sure it's fair to say "and not work with it"00:48
zumbipersia: yes, that's for sure00:48
zumbipersia: well in a way we use debian tweaked for our needs at work00:48
persiaNow, since 2005 NMUs in Debian have transitioned from being an injury to being a help to other maintainres, there's lots more team maintainership, the DAM lock that nobody understood is gone, etc.00:49
zumbiwe got some extra packages in internal repo00:49
persiaSo lots of the initial rationales for Ubuntu would probably be considered differently if considered today.00:49
persiaBut at this point, deciding to not have Ubuntu gets messy and complicated: too many people have too much invested in continued existence.00:50
persiaAs some of the first changes in Ubuntu were toolchain patches, which required rebuilding all the rdepends, I don't think "extra packages in a third-party repo" would ever have worked.00:51
persiaUbuntu continues to be a testing ground for new toolchains in Debian, which I think benefits Debian in terms of patches available for FTBFS at least as much as it benefits Ubuntu in terms of tighter optimisations.00:52
zumbipersia: I agree00:53
zumbisurely one is testbed of the other00:53
persiaMind you, there's been *lots* of argument about this, from lots of directions in the past.  There have been some periods where cooperation was weak.00:53
zumbiyes, lots of flames00:54
micahgsome of the toolchain diffs (hardening defaults) were brought up at UDS in the Debian health check session00:54
persiaBut I very much hope that more teams follow the example of the Mono/CLI team, where a common set of folk have upload rights to both distributions, tend to do most of their stuff in Debian (except where variation is required to comply with other variation), and everyone stays (mostly) happy.00:54
zumbipersia: some DD are annoyed to not be able to upload to ubuntu00:55
zumbiand find some packages are not in sync00:55
persiazumbi, Sure, but some DD *can* upload to Ubuntu.  There's more than a few that have requested (and been granted) upload rights for the stuff they maintain.00:55
zumbiDEX is great opportunity to improve cooperation00:56
zumbipersia: I did not know about that.. in any case I am not against any00:56
persiaThose DDs who are annoyed to not be able to upload should demonstrate they are watching LP bugs, and apply to get upload.00:56
persiaOn the other hand, some DD complain and say that Ubuntu should sync their latest upload all the time: in several cases this has broken chunks of the archive that go beyond that specific package late in the release cycle.00:57
persiaThis is especially common when Debian is just coming out of freeze while Ubuntu is entering freeze.00:57
persiaAnd some DDs don't bother to test whether their new uploads even build under Ubuntu (but still insist on sync)00:58
zumbiyes, slightly similar, but not same00:58
persiaLuckily, those are the extreme minority, but it's fear of that sort that leads to the process of requiring folk to apply and demonstrate they do care about Ubuntu (which has been described as overly bureaucratic by some)00:59
zumbiI think there is material to write a book00:59
persiaSeveral :)00:59
zumbiwell, I think the base system is well built but either debian and ubuntu developers01:00
zumbiI have lots of friends that are working or have worked for canonical01:00
persiaThere's lots of Ubuntu Developers that don't work for Canonical as well (although, to be honest, we've not been as good at recuiting new developers lately, and Canonical has hired a lot of folk, so I'm not sure whether Canonical employs a majority currently)01:06
zumbiIt is quite amazing how all that is structured01:09
zumbiit is hard to understand properly :)01:09
zumbiI am not sure I got contributions to ubuntu, but at least if I fix something in debian I ping the packages in ubuntu, so they can check01:09
zumbiand I have even signed the ubuntu code of conduct01:10
persiaWhat's your LP account?01:10
zumbibut not sure how can i help ubuntu, I try to keep debian alive at least on embedded arches which have been in my interest since the beginning01:10
zumbipersia: my nickname01:11
persiaYou've not been granted specific credit for any patches in Ubuntu (although I know you've been helping folk for a long time).01:12
zumbiI do not maintain much packages in debian, but fixed tslib driver for X.org in debian and pinged the bugreport in ubuntu01:12
zumbiwell, not helping, really is cooperation01:13
persiaSure: I tend to think of cooperation as "folk helping each other" :)01:13
persiaIf your patches are getting applied in Debian smoothly, and flowing to Ubuntu well enough that you're comfortable, I'd say you have nothing to worry about.01:14
persiaIf you want to deploy patches that aren't being accepted, or there are issues with getting stuff into Ubuntu that you want to fix, then it may make sense to prepare debdiffs for bugfixes and send them to Ubuntu bugs for application.01:15
persiaBut it all depends on your personal motivations, and whether you have any desire to identify as an "Ubuntu Developer".01:16
zumbiI see01:16
zumbiwell, I don't care.. I would like to close LP#1 :)01:16
zumbiI think that was that one bug Mark wrote time ago01:17
persiaThat's getting very close to closed, unfortunately not from our work (iOS, Android)01:17
zumbisadly, yes01:18
zumbibut still .. they are around01:19
persiaOh, indeed.  And lots of the Android work ends up being directly useful to us.01:19
zumbilater moves with Nokia were not good01:19
zumbiI am still waiting for the ubuntu-phone01:20
persiaI keep hearing good things from Nokia, although for stuff that isn't phones.  I'm not yet ready to have an opinion.01:20
persiaI believe Kubuntu Mobile has a working dialer and some baseband support.01:20
zumbipersia: no, you need to ship actual devices, not expect people to fit that into a mobile01:21
zumbipre-installed ubuntu phones01:21
persiaYeah, well.  All we can do is build it, and hope they come.01:22
zumbiwell, you need to contact manufacturers01:22
persiaSure, some of us, as individuals, can go talk to ODMs, etc., but at that point I'm not sure that it's still part of the wider "we".01:22
persiaI'm not convinced that it's yet possible to deliver a product with turnkey free software.01:23
zumbiHTC has recently open the bootloader01:23
zumbito make their devices more hackable01:23
persiaIf we can reach that point, where it just works, and can usefully be installed on nearly any phone, then it becomes a relatively safe option for someone to release a phone based on that stack (rather than requiring in-house development effort)01:23
zumbinot open as in source, but open as in access01:23
persiaGiven the number of tablets and handhelds released with Ubuntu Jaunty when the ARM port first became available, I would expect several devices to appear shortly after it was known to work.01:24
zumbiwe build a lightwriter for disabled people, not only helps them to speak up but it also works as a phone01:24
persia(mind you, most of this was not available outside the Chinese market, but that's the hot location for early adoption in consumer electronics: everywhere else folk are very conservative)01:25
zumbiyes, the Chinese just go for it..01:26
zumbiI know Anthony Fok and Paul Liu01:26
zumbigreat developers01:27
persiaRight.  There's lots of cool stuff to do.  I believe that we (being developers) need to focus on making sure that our software stack works, is easily adapted to a wide variety of hardware, and is widely available at no cost (free code is something we care about.  free beer is something the manufacturers care about)01:27
persiaWhereas we (being the free software community) need to encourage or develop entrepreneurs who will take these things to retail devices.01:28
zumbiYes, I have thought many times to develop some hardware and use free software to develop retail devices01:29
zumbibut all of it is complex01:29
persiaIt's no more complex than software :)  It's just different.  There are very few folk who can do both.01:29
zumbigetting parts sorted01:30
zumbiMOQs01:30
persiaOh yeah.01:31
persiaAnyway, getting late in the morning for me, and I must run.  Have a good evening.01:31
zumbihardware is .. don't know how to describe.. hardware to be ready for production is just tough01:31
=== Lopi|idle is now known as Lopi
zumbipersia: sure.. bye01:31
zumbipersia: just one more thing, linux is the testbed of new processors which tomorrow (years away) will be part of products, besides mobile world which it changes so fast01:32
persiaI wish it was that simple.01:33
persiaLots of the things that get tested (much of which goes mainline) ends up being PoC to drive design wins, which end up with derivations for production deployment.01:33
persiaEven with many of the SoC vendors collaborating within Linaro to help make BSPs be mostly upstream(able) code, I suspect there remain cultural barriers to having vendor devices mainline enabled.01:34
persia(with the exception of a few bright spots, where vendors are very cooperative)01:35
persiaIn many ways, I welcome Windows 8 to the game: it helps the conversations about having hardware be a base platform on which arbitrary software is delivered.01:36
zumbiyes, it'll bring all the fun on how broken it is01:36
persiaAt least with more things reaching mainline these days, the SoC vendors haven't dropped support for recent kernels before the devices ever reach retail.01:36
zumbiomap is keeping up with community very well01:37
persiaI don't care about the actual operation of Windows 8: the reasons I am unlikely to use it have nothing to do with what it does or who makes it.01:37
persiaI care more about how the presence of multiple operating system choices for a given platform provide incentives for board manufacturers to have known working generic solutions.01:38
persiaTI does good.  I like TI.  I'm not happy with how bootstrapping works: it still requires omap-specific code.01:38
zumbiit is already happening due to android, linux duality01:38
persiaFrom what I understand, this is a ROM issue with ROM inside the SoC, which can't be fixed until OMAP6 or OMAP7.01:38
persiaAndroid and Linux are almost identical code (ignoring userspace).01:39
persiaAs a result, the *same* set of enablement patches is likely to work for both.01:39
zumbiyes, omap has a ROM which calls x-loader, u-boot, etc...01:39
persiaThe nice thing about Windows 8 is that the Android/Linux patches *will not apply*, which means thinking about generics at a design level.01:40
persiaAnyway, I'm getting very late :)  It's always fun chatting with you, but ...01:40
zumbiomap ROM code loads x-winloader which loads winkernel01:40
zumbipersia: sure, later .. :)01:40
=== asac_ is now known as asac
ogra_zumbi, to answer yesterdays question, imx51 was just removed in ubuntu in favor of mx5, omap4 is one of our supported arches so needs to stay09:47
ogra_IMAGES !!!!09:48
ogra_http://cdimage.ubuntu.com/daily-preinstalled/20110616/09:49
ogra_yipiee09:49
ogra_hmm, nearly 1G09:49
zumbiogra_: what's the difference between omap and omap4?10:04
zumbiin the cdimage build10:05
ogra_omap4 has a special kernel package10:05
ogra_and special boot options10:05
ogra_for omap4 we also provide additional packages that make it easy to enable the TI10:05
ogra_PPA10:05
ogra_which holds the sgx drivers and HD video codecs etc10:06
zumbiI see.. thanks10:06
ogra_the prob is, while you can have a jiont kernel packqage for all omap arches, you still need a separate binary bootloaders and cmdline options atm10:07
ogra_-s10:07
zumbiogra_: part of that can probably be solved with boot scripts10:08
ogra_not really10:08
ogra_TI initializes half the HW in their bootloaders instead of the kernel ...10:09
ogra_if you would have x-loader and u-boot binaries that support all omap arches and only switch through boot scripts, you would end up with huge binaries10:10
ogra_and i even doubt a multiarch x-loader would be possible at all10:10
ogra_i fear until UEFI gets default for ARM we will have to live with SoC specific bootloader binaries here10:13
zumbiyes, x-loader upstream maintainer was a bit sick of all that10:13
zumbiWhy doesn't TI just boot directly into kernel and this one is responsible to do everything10:14
ogra_no idea10:14
zumbidon't really need u-boot, unless you rely on it to initialize everything10:15
ogra_for the build cluster we tried to use a raw kernel boot ... and initially ended up with no MMC and no USB10:15
ogra_getting that initialized needed a good bunch of first stage bootloader hacking10:15
ogra_sadly you need x-loader, there is not enough memory to carry u-boot10:16
ogra_so x-loader needs to init the ram first10:16
zumbinow, everything starts to make sense10:17
ogra_sadly it grew more heads over the years it seems10:17
ogra_as well as u-boot did10:17
GrueMasterThe processor only has 64K memory on boot, that's why x-loader is the way it is.  It initializes ram (and a bunch of other crap), then u-boot can load and do more.10:18
ogra_so even if you wanted to do something like booting a raw minimal kernel and then kexec into something full, you would still need x-loader and u-boot10:18
GrueMasterWell, x-loader at least.10:18
ogra_which makes kexec moot since it just adds boot time for no benefit10:18
GrueMasterYou can boot a kernel from xloader.10:18
ogra_well, you should be able to dd a binary header in front of uImage that replaces x-loader10:19
janimoogra, would an xloader/uboot that supports OMAP3 and 4 be that huge? Even if it were double the current size - which it probably would not be - it's not an issue10:19
ogra_at least with newer omaps10:19
GrueMasterCan't.  not enough memory to load both.10:20
ogra_janimo, for x-loader it is ... as GrueMaster said above, 64k is your limit10:20
janimonot having both binaries but one that handles both. Is the extra code/data so much different it would increase the size beyond what it fits?10:21
ogra_for u-boot it might be possible to be a big multisoc binary10:21
ogra_but surely for the cost of bootspeed10:21
zumbiis it true that TI had problems with memory controllers as those did not match, so omap was unable to use memory (as LPDDR)10:23
ogra_on XM, yes10:23
ogra_(beagle XM omap3)10:23
zumbiyes, I heard on 3530 early revs10:23
zumbiall this is just insane.. :)10:23
hrwXM used 36/37 iirc from start - or not?10:24
hrw34/35 was on normal beagleboard10:24
ogra_the wonderful world of ARM :)10:24
hrwI hope for cheap ARM board with 2MB of flash on board10:24
hrwso there will be space for bootloader so boot from usb/sd/sata/network will be easy10:25
ogra_i think you will see flash on board less and less10:25
ogra_eMMC costs only half of i t10:25
hrwogra_: flash/emmc/esomething/whatever10:25
hrwa way to just connect power and get board booted10:26
zumbihrw: sounds about right, xM using DM373010:26
hrwogra_: if you want to use sdio on panda you have to solder second sdmmc or use other computer to send bootloader over usbdevice10:27
zumbithere is "Automotive eMMC" much more reliable/tested than current eMMC10:27
hrwI miss real developer boards10:27
zumbiI need to play with TI Wilink module, I hope it performs as expected10:29
ogra_oh, there goes tomboy11:17
garagothGood morning11:17
garagothA little question, if I may. I cross compiled kernel for Beagle (that is, for arm). In parent directory (relative to kernel sources) I have now 5 .dev biles and a lot of .udeb files. What are .udeb files? Is it sufficient if I install linux-image-2.6.38-10-omap_2.6.38-10.44_armel.deb and linux-libc-dev_2.6.38-10.44_armel.deb? What are -versatile packages? (ok. Maybe not a little question, but I am tired as hell...)11:22
ogra_udeb files are packages used by debian-installer11:23
persiaudebs (micro-debs, but created with an assuption of weak unicode support) are only for the installer.11:23
ogra_you dont need them if you dont build an installer image based on d-i11:23
garagothOk, good.11:23
garagothSo only *.deb are of my interest then..11:23
ogra_you should really make your build command more explicit11:24
ogra_-versatile is another arm subarch11:24
garagothI just followed manual pointed by rsalveti ;-)11:24
garagothIt was not very... um, explanatory.11:24
persiaThat doesn't have instructions for only building some flavours of the kernel?11:24
ogra_fakeroot debian/rules binary-debs should just build the linux-image and headers packages11:25
garagothhttp://www.omappedia.org/wiki/Ubuntu_kernel_build_alternatives11:25
ogra_sigh11:25
persiaogra, That still builds all the flavours though11:25
ogra_why didnt you use any ubuntu documentation instead ?11:25
garagothin manual there is binary-arch11:25
garagothnot binary-debs11:25
ogra_persia, oh, right, its the main ubuntu soucretree11:25
* ogra_ forgot 11:26
garagothogra_: I used what rsalveti told me...11:26
persiagaragoth, You did the right thing.  We're unhappy with the docs, not with your execution.11:26
ogra_well, there are about three very detailed wikipages on the ubuntu wiki11:26
persiagaragoth, You did more than you needed, because the docs suck.11:26
persiaJust use the "omap" kernel .deb on your beagle.11:26
garagothOk. Many thanks.11:26
persiaogra, I thought the omappedia page was based on one of them11:27
* persia is looking11:27
garagothogra_: If you would be so king and provide a link to better tutorial...11:27
ogra_persia, well, as the omappedia pages are all based on something ... the prob is there was a snapshot taken but the updates dont move over11:27
persiaogra, https://wiki.ubuntu.com/Kernel/Action/BuildKernelPackage doesn't help much :(  The wiki hates me.11:28
persiaI agree that it's better to use the w.u.c source, but we have to know a good one, and I fear the messiness of w.u.c is biting us here.11:28
garagothpersia: heh, this is even shorter then omappedia...11:28
persiagaragoth, Sure, but it skips a lot, doesn't explain how to cross compile, and still results in what you got.11:29
garagoth:-)11:29
ogra_https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel is one11:30
persiahttps://wiki.ubuntu.com/Kernel/BuildYourOwnKernel is a bit nicer, but I thought there was a cross-compile one.11:30
ogra_there is amitk's blog11:30
ogra_but thats not up to date, i think hrw had a more up to date one11:30
amitkogra_: yes, go to hrw's blog post11:31
persiaNo, there's a wiki page about it.11:31
persiaIf that's not up-to-date, then we fail at docs.11:31
hrw http://marcin.juszkiewicz.com.pl/2010/10/19/how-to-cross-compile-arm-kernel-under-ubuntu-10-10/ one?11:32
* ogra_ likes https://wiki.ubuntu.com/SergeHallyn_ppakernels11:32
ogra_short and simple11:32
persiaDoesn't cover the use case though.11:32
ogra_no11:32
ogra_covers mine though :)11:33
hrwhttps://wiki.linaro.org/Resources/HowTo/PackageYourOwnKernel is more complicated11:33
persiaOnly because you're refusing to participate in Ubuntu these days.11:33
ogra_who uses cross compilers anyway :P11:33
garagoth... me?11:33
ogra_persia, huh ?11:33
ppisatime11:33
ppisati:)11:33
persiaogra, Pushing kernels to PPAs when they ought be in the archive.11:33
ogra_pfft, *REAL MEN* compile natively :)11:33
ppisatino way11:34
ppisatitwo hours to get a kernel11:34
ogra_persia, it cant be in the archive yet ...11:34
ppisatii would prefer to pull myself a tooth11:34
garagothI cross-compiled this kernel for few hours. I took looots of disk space.11:34
garagothNo way I would do this natively...11:34
persiaogra, Why not?11:34
hrwgaragoth: define looots11:34
ogra_ppisati, i just always have a tree around where i only remobuild changes11:34
ogra_*rebuild11:34
ogra_only if i know they work i roll a package11:35
ogra_persia, because i cant upload to natty :P11:35
ogra_(and even if i could i wouldnt gain any benefit from that)11:35
persiaThe rest of us are working on oneiric these days :p11:35
garagothhrw: looots == 7.9 GB11:35
hrwogra_: add kernel to oneiric and provide it also in ppa?11:35
* persia stops teasing ogra11:35
hrwgaragoth: 8GB for kernel tree?11:35
* ppisati tries to figure out what's the plan for oneiric/ti-omap411:36
ogra_hrw, if you donate me 24h every day :P11:36
garagoththis is what I have in kernel dir when cross-compile finished11:36
hrwgaragoth: huge11:36
garagothinclugind generated packages11:36
ogra_garagoth, you did it wrongly11:36
hrwgaragoth: good that my panda has still 153GB free on /home11:36
hrwops. 135GB11:36
ogra_you only wanted an omap3 beagle deb, but built *everything*11:36
garagothhrw: USB HDD ?11:36
persiaogra, Yeah, but that's our fault: the documentation sucks.11:37
hrwgaragoth: yes - 320GB sata11:37
garagothogra_: Now I know. I blame documentation :D11:37
ppisatiactually to cross compile i do:11:37
ppisatiexport $(dpkg-architecture -aarmel); export CROSS_COMPILE=arm-linux-gnueabi-11:37
garagothhrw: How you connected SATA to Panda?11:37
ppisatifakeroot debian/rules clean; fakeroot debian/rules binary-$flavour11:37
ogra_garagoth, ogra@isis:~/kernel/linux-ac100-2.6.37$ du -hcs11:37
ogra_501M.11:37
ogra_oh, wait, thats unbuilt11:38
garagoth:D11:38
ppisati[flag@newluxor ubuntu-natty]$ du -sk .11:38
ppisati3937700 .11:38
ogra_:P11:38
ppisati3.8G11:38
ogra_still to much if you only build the linux-image and -headers debs11:39
ppisatibinary-omap -> omap311:39
ppisatifakeroot debian/rules binary-omap11:39
ppisatinatty/master11:39
ppisatiif you have any recepie to cut it, i'm all ears :)11:39
ogra_doesnt that roll udebs and -docs and the like (and ddebs)11:39
ppisatiwhen i'm doing bisect/bug finding i use linus vanilla11:39
ppisaticopy .config from some ubuntu kernel11:40
ppisatiand then make uimage11:40
ppisatiit works and it takes much less time and space11:40
ppisatinope11:40
ogra_yeah11:40
ppisationlye kernel and header11:40
ogra_thats how i do it for the ac100 too11:40
persiaOh my.  The page on the wiki got removed as part of Kernel Wiki Gardening, and replaced with a link to amitk's old blog post.11:40
ogra_only for a release i actually roll a test package11:40
ppisatibtw, one day i want to find out what are the minimun required configs to make a vanilla kernel boot an ubuntu userland11:41
hrwgaragoth: usb->sata enclosure?11:41
persiagaragoth, Sorry.  For now, the omappedia page is the best one, but if you look at the Ubuntu pages, you can find ways to build fewer kernels to achieve your goals.11:41
garagothpersia: Linking to someones blog from wiki for official instructions... well, looks unprofessional :-)11:41
persiaEspecially when the author of the blog post recommends a different resource (see backscroll).11:41
garagothhrw: Mm. And what transfer rates you have? I wanted to replace my home server with a panda/beagle cluster11:42
persiaIn general, we don't do much with cross-compiling (except hrw).11:42
hrwgaragoth: poor - 20MB/s max11:42
persiahrw, You should take over some area of the wiki, and build the comprehensive cross-compilation resource, and make all the other wikis (e.g. omappedia) point there.11:42
hrwpersia: sounds like a plan11:43
persia\o/  Real Documentation!11:43
ogra_ppisati, didnt you have a spec for that ?11:47
* ogra_ thought he saw one11:47
ppisatiogra_: about what?11:48
ogra_<ppisati> btw, one day i want to find out what are the minimun required configs to make a vanilla kernel boot an ubuntu userland11:48
ppisatiogra_: nope, unfortuntaly no11:49
ogra_oh ?11:49
ogra_did it get dropped ?11:49
ppisatinever heard of a spec about it11:49
garagothYESSS!!!!! i2c bus 2 working !!!11:53
garagothBut for some reason there is no entry about expansion board in dmesg... hum...11:53
ogra_ppisati, yeah, i only saw the workitem on https://launchpad.net/ubuntu/+spec/other-kernel-o-config-review ... seems i mixed that up11:54
persiaogra, The minimums are tricky (but there is work to document them).  There's a number of cases where things work for *some* systems and break horribly for others, because of assumptions in userspace about kernel config that only are exposed in non-default environments.11:57
ogra_sure11:57
* ogra_ didnt say it was an easy task11:58
ogra_:)11:58
persiaHeh, yeah.  But seriously, I believe the kernel team has been collecting this data since ~karmic because of some regressions discovered at karmic release because the release config didn't match userspace expectations.12:01
persiaI doubt they have *all* the quirks documented yet, but there ought be a fair collection of information.  I forget where, but remember apw telling me that it was in git somewhere.12:02
persiaHrm.  The magic summon-the-man-who-remembers-stuff-about-the-kernel incantation didn't work :(12:03
apwpersia, collecting which data ?12:04
ogra_LOL12:04
ogra_it worked :)12:04
persiaapw, Which kernel options are required to match userspace expectations for Ubuntu.12:04
apwahh i see, we have been codifying the values of ones we have found to be required, in the enforcer file, but that doesn't cover everything which is required sadly12:05
persiaWhere is the enforcer file, so ogra can have a peak at the current knowledge?12:05
ogra_persia, i know where it is i think12:06
ogra_ogra@isis:~/kernel/linux-ac100-2.6.37$ ls debian.ac100/config/enforce12:07
ogra_debian.ac100/config/enforce12:07
ogra_here we go12:07
persiaapw, Thanks!12:07
persiaogra, Good luck.  If you find more required configs, please make sure they reach that file for all the kernels.12:08
ogra_i dont get why its in the flavour subdir though12:08
ogra_since it checks lots of general values ... that should just be in debian/12:08
persiaBecause debian.foo/ generates debian/ so anything in debian/ is subject to wiping.12:08
ogra_only parts of debian/12:09
persiaYeah, well.  debian.foo/ is where all the kernel team work happens.12:09
persiaThey like to leave debian/ alone if possible, considering it strange black magic (which it is)12:09
ogra_s/black magic/insane perl/12:10
ogra_:)12:10
* persia agrees with Arthur C. Clarke, and continues to call it "magic" in compliance with common duck-typing algorithms.12:11
ogra_heh12:11
ogra_magic always has something positive in it for me ...12:11
ogra_sick parl code somewhat misses that positivity :)12:12
ogra_*perl12:12
* persia uses "black" and "white" to indicate relative positions on that continuum12:12
persiaAnd "strange" relates to it's unrelation to anything else anywhere else12:12
ogra_well, even 'black' magic might make me sit in awe ... while some perl code just lets me sit in tears ;)12:13
garagoth;-)12:13
persiaRight.  That's the "strange" part.12:13
rsalvetimorning13:12
* rsalveti reading backlog13:12
persiaGood morning.13:13
rsalvetigaragoth: awesome, good you got it working13:31
rsalvetiyeah, next step is to build just the omap flavor :-)13:31
rsalvetithen it'll be even faster13:31
rsalvetipersia: problem is that there is no official cross-build documentation anywhere at wiki.ubuntu13:32
rsalvetithat's why I pointed the omap one13:32
rsalvetias it describes well how to do it13:32
persiarsalveti: hrw volunteered to create some, so that's a solved problem.13:32
rsalvetiwell, it's solved once it's done ;-)13:32
persiaNo criticism was implied to giving garagoth helpful advice: the critism was at *all of us* for not having the pages on the wiki.13:33
ogra_lool, i'm looking at debian bug 550584, i dont really understand the purpose of your highest-abi file ... cant we determine the highest abi from just listing /boot ?13:33
ubot2Debian bug 550584 in flash-kernel "flash-kernel not run when going to new upstream kernel version" [Important,Open] http://bugs.debian.org/55058413:33
persiarsalveti: The problem of "What are we goind to do about the lack of docs" is solved.  The problem "There are no good cross-compilation docs on the wiki" is pending :)13:34
rsalvetigaragoth: I believe if you run with binary-omap it should just build for omap flavor, but need to check13:34
ogra_yes13:35
persiaIndeed.13:35
garagothrsalveti: :-)13:36
garagothTook me to compile this 3-4 hours13:36
rsalvetigaragoth: that's because you compiled for both versatile and omap13:37
rsalvetiso just omap should be half13:37
rsalvetiand takes a while because there are tons of modules13:37
ogra_well, thats still quite long for cross building13:37
garagothrsalveti: I need to verify one more thing, as in dmesg there was no info that expansion board was detected. But i2c works fine!13:37
ogra_the ac100 package natively takes 2h here13:38
rsalvetiwell, that depends on the host ;-)13:38
garagothI have dual core 2Ghz13:38
persiaogra_: Right.  Two flavours ~ 3-4 hours.  One flavour ~ 2 hours.13:38
garagoth4255 bogomips per core13:38
ogra_persia, natively ...13:38
ogra_persia, vs 4 for two flavours cross13:38
persiaHeh, I know.  See prior point about ARM hardware being good these days :)13:38
ogra_heh13:38
rsalvetigaragoth: can you paste me the patch you used?13:39
persia(and cross-compilation not actually being an interesting problem anymore)13:39
ogra_yeah13:39
ogra_as i said, real men build native13:39
garagothuh. I used one that you pointed me to and tweaked it a little.13:39
* ogra_ wants a T-Shirt with that *g*13:39
* persia suspects this also applies to real women and real small green furry things from Alpha Centuri13:39
garagothone chunk was failing, so I added it manually... and irq_set_irq_type I corrected to set_irq_type13:40
ogra_not sure about the furry things ... but you could read men as "humans"13:40
rsalvetigaragoth: ok, that should be fine13:40
ogra_i doubt green furry things from alpha centauri use C ... they will likely use green furry C ...13:41
garagothI gen generate a patch for you13:41
garagothI still have original file13:41
garagothhttp://nevander.eu.org/patch_expansionboards_2.6.38.10.patch13:44
rsalvetigaragoth: your u-boot needs to set the buddy kernel argument13:47
rsalvetiI believe the extension support is enable at u-boot already13:47
rsalvetibut then you probably need something like buddy=${buddy} at your kernel cmd line13:47
rsalvetilet me check u-boot sources13:50
garagothaaah.13:50
garagothtrue!!!13:50
garagothLet me check :-)13:50
rsalvetigaragoth: see if you're u-boot is already saying that you have an expansion board13:51
loologra_: one way is to scan /boot, the other is to note down the versions when installing kernels; but note that the bug concludes we should copy the grub logic13:51
garagothYes, it is detecting it correctly13:51
loologra_: debbugs are a bit hard to read because they are threaded; I usually download the mbox and either read by thread or by date13:52
rsalvetigaragoth: so try adding buddy=${buddy} at your kernel cmd line arguments13:52
rsalvetigaragoth: edit /boot/boot.script and then run flash-kernel13:52
ogra_lool, yeah, i read that ... do you think the patch will make it into debian soon ? i would like to have it before A2 8we have massive upgrade probs due to that bug)13:53
ogra_if it doesnt make debian in time, i'll just addi it to ubuntu until i can sync it, but if avoidable i wouldnt like to waste time on having to carry it in ubuntu13:54
loologra_: the patch needs to be reworked to use the grub bits and heavily tested; I'm getting asked about f-k stuff in Debian frequently, but I have a hard time making progress on it13:55
loolshould improve in the next weeks hopefully13:55
ogra_well, oneiric can be your guinea pig13:56
garagothrsalveti: It works !!!14:22
rsalvetigaragoth: awesome14:27
garagothDefinitely. Fully working beagle now...14:27
uragano2hello, is ubuntu-omap4-extras still instable on natty?14:59
ogra_instable ?15:00
rsalvetiuragano2: should be, why?15:00
rsalvetitested yesterday with a fresh image and it worked fine15:00
* ogra_ still wonders if instable is a typoed installable or unstable :)15:01
uragano2because i installed it already one time and my system become unstable, so searching on google i found this https://bugs.launchpad.net/ubuntu/+source/jasper-initramfs/+bug/75981715:02
ubot2Ubuntu bug 759817 in jasper-initramfs "ubuntu-omap4-extras from the TI PPA is not installable in natty" [Medium,Fix released]15:02
ogra_thats long fixed15:03
ogra_your unstability surely doesnt have to do anything with ubuntu-omap4-extras itself15:03
ogra_probably with something this pulls in, but these are plenty of packages15:03
uragano2ok...i try to install it again hoping that this time it'll work fine :D15:04
ogra_we didnt chnage anything since release15:04
ogra_*change15:04
hrwchromium-browser build passed 310 minutes. just 2.5h to possible breakage15:16
=== zyga is now known as zyga-food
ogra_hrw, how long does it usually take ?15:20
hrwlast time it took 440 minutes to fail15:21
ogra_(and why is everyone building chromium today ?)15:21
hrwon panda15:21
hrwogra_: it ftbfs on armel15:21
ogra_ah15:21
ogra_well, someone in #ac100 compiles it too today15:21
hrwI have a patch for 440 minutes breakage applied15:21
* ogra_ crosses fingers15:22
hrwbug 791283 btw15:22
ubot2Launchpad bug 791283 in chromium-browser "chromium-browser version 11.0.696.71~r86024-0ubuntu1 failed to build on armel" [Undecided,Confirmed] https://launchpad.net/bugs/79128315:22
hrw12.something.x.y also fails15:22
ogra_yeah, i saw it on the fstbfs list since a while15:22
uragano2this time the installation finished successfully :D15:28
uragano2audio throws hdmi doesn't work...can u help me?15:44
uragano2*through15:44
jeremiahHi. The oneiric daily headless OMAP 4 doesn't want to boot the kernel16:45
ogra_heh, that can well be16:46
jeremiahIs there a place to file bugs or does one just report here?16:46
ogra_see the topic16:46
jeremiahAh, cool16:46
ogra_we just changed the build system completely, so its no surprise there are issues :)16:46
jeremiahOkay.16:46
jeremiahNo problem. Is there a more stable version that one might try?16:47
jeremiahLike a natty build?16:47
jeremiahOr what do people recommend for getting a debian based OS onto the Panda?16:47
ogra_ah16:47
ogra_https://wiki.ubuntu.com/ARM/OMAP16:48
persiajeremiah, There are working natty images.16:48
ogra_see that page16:48
jeremiahpersia: Oh really? Okay, I'm happy to try on of those. :)16:48
jeremiahI guess I'll use my google-fu :)16:49
persiaNo, check the page ogra gave you16:49
jeremiahAh, okay, will do.16:49
persiaHas direct links and everything.  Without sponsored links or ads or anything :(16:49
persias/(/)/16:49
jeremiahheh16:49
=== Amaranth_ is now known as Amaranth
jeremiahWell, I'll try the 11.04-preinstalled-headless-armel+omap4 and see what happens.16:52
persiaBeware that you have selected a *very* minimal install: you likely have to install bundles of things to make it do what you want.16:52
GrueMasterjeremiah: what rev board do you have?16:52
jeremiahpersia: I plan to do that, I'm going to try to spin up the Automotive respin16:53
jeremiahGrueMaster: Let me check . . .16:53
ogra_ah, for the automotive respin that image might actually still be a bit big :)16:53
GrueMasterShould be a label on the bottom of the board.16:53
jeremiahGrueMaster: Looks like the lable says REV A#16:54
jeremiahSorry, Rev A316:54
persiaogra, Isn't it just ubuntu-minimal?16:54
ogra_jeremiah, you might want to talk to Dr_Who i know he knows some tricks to make them even smaller16:54
ogra_persia, -standard iirc16:54
jeremiahogra_: Really? Okay. :)16:54
GrueMasterA3???  Didn't know they were available.16:54
persiajeremiah, Do you particularly want to do it as a remix (as it is called in our nomenclature)?16:54
jeremiahGrueMaster: I just got onw16:54
GrueMastercool.  let me know how it goes.16:55
ogra_persia, yes, it was defined at UDS16:55
jeremiahpersia: Well, I've been working with some Canonical folks to get this up and running.16:55
ogra_an IVI remix16:55
jeremiahI work the GENIVI consortium16:55
persiaogra, It's not tricks: it's a smaller seed collection (linaro nano)16:55
Dr_WhoHi jeremiah16:55
jeremiahAnd Canonical is planning on releasing the official GENIVI "respin"16:55
ogra_persia, its also omitting the installation of any docs etc16:55
jeremiahDr_Who: Hi!16:55
ogra_nano is surely so shrunk down for a proper ubuntu16:56
jeremiahDr_Who: I was hoping to do some testing of the Ubuntu / GENIVI respin for automotive16:56
Dr_Whoyeah and in the next incantation, replacing some of the core elements with their busybox counterparts16:56
ogra_but something between minimal and nano should be cleanly possible16:56
persiaAh.  I'd be in favour of having an automotive flavour from which Canonical derived, but that may require more coordination.16:56
jeremiahI have a list of packages and I'll add some of the GENIVI components16:56
* GrueMaster wanders off ins search of something called the "loo".16:56
Dr_Whojeremiah: sounds like fun!16:56
jeremiahDr_Who: It is! :)16:56
ogra_GrueMaster, two times right16:56
jeremiahAny time I get to fool around with Ubuntu its fun16:56
ogra_down the corridor16:57
Dr_Whojeremiah: you might be interested in https://wiki.linaro.org/LiveHelper/Hacking16:57
Dr_Whobasically how to roll your own images16:57
jeremiahpersia: Well, there has been a bit of co-ordination with Chris Kenyon, Ken Edwards, et. al. from Canonical.16:57
jeremiahDr_Who: Okay, I'll read that.16:57
jeremiahThanks16:57
Dr_WhoI can point you at the things we did for nano which may or may not be of interest to you16:58
=== easwar is now known as meindian523
jeremiahI think if I can get a kernel to boot on the OMAP I'd be happy. I'm willing to leave the userland pretty plain for a bit.16:58
Dr_Whojeremiah: o actually its in that wiki page16:58
jeremiahWe don't have an official OMAP release until October.16:58
Dr_Whoah .. plenty of time16:59
ogra_ah, well in that case the headless image is surely the least painful startin point16:59
jeremiah(Even though the official Canonical press release claiming compliance is out!) =)16:59
jeremiahogra_: Cool, I'll start there.16:59
jeremiahI already have the headless running on the OMAP 316:59
jeremiahReally nice.16:59
ogra_and then apply nano imporvements where possible16:59
jeremiahSo the steps would be to boot Natty on the panda then use Live Helper?17:01
GrueMasterimage is the same on omap4.17:01
persiaBooting Natty on the panda gives you a development environment.17:02
=== NCommand1r is now known as NCommander
persiaLive Helper lets you build images based on some archive (you might use natty).17:02
ogra_jeremiah, live helper is to actually produce rootfses17:02
jeremiahpersia: Ah, okay. Thanks.17:02
persiaRunning live-helper (or rather live-build) on the panda lets you build images for use on the panda.17:02
ogra_right, it was renamed17:02
jeremiahogra_: okay, now I get it. So it would allow me to create a custom root file system17:03
jeremiahThat is frickin' great.17:03
jeremiahJust what I'm looking for.17:03
persiaIf you're testing experience, you can run live-build on an arbitrary platform where you know you have support, and build images for that platform.17:03
persiaIf you're testing platform support, you want to run it natively (at least on the same architecture)17:03
jeremiahpersia: Hmm, interesting. I need to do some testing but don't really have a testing environment yet.17:03
persiaDo you need to test images, or just test software?17:04
jeremiahThe goal is to port some automotive software to the OMAP17:04
persiaIn that case, I'd recommend completely ignoring live-build for now.17:04
jeremiahSo mostly just testing apps17:04
jeremiahAh, okay. Fair enough.17:04
ogra_yeah, what persia said17:04
persiaJust install Natty on the panda.17:04
jeremiahI plan to do some building and then package the apps so others can test17:04
persiaThen install the application you want to test (package it for easy uninstall/upgrade/etc.)17:04
jeremiahLater we'll do the integration.17:04
jeremiahCool, sounds like a plan.17:05
persiaIf you're doing packaging, I'd strongly recommend either doing packaging on *some other* machine, and just build on the panda *OR* install the Netbook image on the panda and use that as a development environment.17:05
persia(depends how many Ubuntu boxes you have around)17:05
jeremiahI have a Tegra2 box17:05
persiaStarting from the headless image as a development environment will get annoying very quickly.17:05
jeremiahAnd a Intel Core 2 duo17:06
persiaAh, that works :)17:06
persiaEither is good for packaging.  For building, you want to build the package on the tegra or the panda.  If both are running Ubuntu, the results ought be identical.17:06
jeremiahI won't need an magic VFP flags for the tegra?17:06
persiaOnce you know the set of packages you want to deploy, then it's worth looking at seeds, live-build, etc. and attempting to make an image to distribute as the remix.17:07
persiaNo.17:07
jeremiahI thought that I might face some NEON issues. But the box I have, called the TrimSlice seems to be working pretty okay17:07
ogra_by default ubuntu doesnt use NEON at build time anywhere17:07
ogra_thats a requirement17:07
jeremiahAh okay, good to know17:07
persiaNo.17:07
persiaRather, Ubuntu doesn't default to NEON instructions anywhere, and only uses NEON where runtime detection is available.17:08
ogra_your Sw either needs runtime detection two binary packages17:08
persiaUbuntu *definitely* uses NEON at build time, or we wouldn't be able to support NEON runtime detection :p17:08
ogra_ubuntu doesnt support packages using neon at build time17:08
persiaThe buildds can't execute NEON?17:09
ogra_sure they can17:09
persiaSo, how isn't it supported?17:10
persiaBy policy, packages aren't allowed to depend on NEON being available at runtime.17:10
persiaBut I don't see how this affects build-time.17:10
ogra_it isnt supported to default to NEON and to hardcode that at build time17:10
persiaAnd, further, I suspect that test code run at build time *would* run NEON, as the runtime detection should notice it is available.17:10
persiaAh, yes, that's not supported :)17:11
ogra_phew17:11
ogra_finally i got the formulation of the sentence in a way that persia agrees17:11
GrueMasterAmazing.17:11
persiaP.S. It's easier to talk about not supporting NEON-by-default *at runtime* than fussing about build-time :p17:11
persiajeremiah, Anyway, my understanding is that the base VFP stuff is implemented the same for a range of SoCs, and we're mostly using that.  This does mean that we don't take advantage of some of the capabilities of TEGRA (but that would need runtime detection, etc. for all the same reasons it's required for NEON)17:13
jeremiahOkay, cool!17:34
uragano2somebody know why during the boot i see IP-Config: eth0 hardware address MAC-A mtu 1500 DHCP [ 2.775718] eth0: link up IP-Config: no response after 60 secs - giving up17:38
persiauragano2, Maybe there is software attempting to bring up a network link that you aren't using?17:40
uragano2i see this since the first time that i installed natty17:42
uragano2persia: no, sorry. the error was an other i confused! anyway i have installed only ubuntu-omap-extras and dropbear,17:44
shirgallAnyone know where I can get the stuff to enable the sound on my pandaboard on Oneiric?18:07
ogra_stuff ?18:07
shirgallogra_: not sure what I need to make it work18:07
shirgallogra_: So I punted and was non-specific. :)18:07
shirgallogra_: If I plug in a USB sound "card" that works fine.18:08
ogra_bug 74602318:08
ubot2Launchpad bug 746023 in alsa-utils "No sound on omap4" [High,In progress] https://launchpad.net/bugs/74602318:08
ogra_see the pre-last comment from tobin18:08
ogra_it is also in the release notes and on various wikipages18:08
shirgallAh, thanks, will look.18:08
uragano2i am experiencing many issues with natty!!! did u do too???18:39
hrwuragano2: natty is past...18:41
uragano2what do u mean?18:42
hrwI am experiencing issues with oneiric18:42
MrCuriousby any chance does a pandaboard compiling ubuntu kernel page exist?  Its been years since i built a kernel, and that was on familiar hardware.  I have no idea what to enable/disable for a pandaboard.18:47
persiaMrCurious, Grab the kernel from the archive, and look at the config as a base.18:50
MrCuriousyou mean apt-get install kernel?18:51
NCommanderMrCurious: the config files for an ubuntu kernel are installed to /boot/config-*-omap418:53
MrCuriousoh sweet18:53
MrCuriousnow the end of persia's sentence parses (in my head)18:53
persiaapt-get source, but that was the idea.18:53
MrCuriousjust to locate the kernel.  reading through a apt-cache search now18:53
persiaIt's "linux-to-omap4" for the panda, isn't it?18:55
persiaErr, "linux-ti-omap4"18:55
MrCuriousfrom looking at the uname compared to the avail kernel sources it seems there were some patches put against it?18:57
MrCuriousthe -1208-omap418:57
persiaThat's the name of the binary package.  GO ahead and grab that, and apt will do the right thing.  I'm not sure it does the right thing with the source name for kernel packages (I know it does the wrong thing for the main Ubuntu kernel, and filed a bug about it a few years ago)19:03
MrCuriousso grab the source on teh -1208-omap4 binary kernel?19:04
persiaRight.  That gets you the source, all the patches, and the configuration used.19:05
persiaYou can fiddle with that with relative confidence that you can undo what you did and get back to what was installed by default.19:05
MrCuriousoh sweet, the source tag is going to become my new best friend of the minute19:05
persiaapt-get source is a handy tool: it's part of what makes using an open source operating system fun :)19:05
uragano2_what means if i run arp -a form my pc and it returns "pandy.homenet.telecomitalia.it (192.168.1.217) at <incomplete> on wlan0"..why is it incomplete?20:07
MrCuriousto build the image for pandaboard, on pandaboard, its make uImage then make uinstall  (will that work right when the msdos partition is on SD, and the root partition is on a USB drive?20:40
MrCurioushere is to hoping that all the configuration options are auto set20:48
MrCuriouswell, make uImage fails 3 files in with no rule to make target20:53
MrCuriousit has been a long time.  make dep is now un-needed20:53
MrCuriousguessing i have to copy the config from /boot to defconfig in the kernel dir?20:57
persiaMrCurious, Build a kernel package, and then install it.  Let flash-kernel take care of the details.20:57
MrCurioushaving trouble getting the kernel build to take off20:58
MrCurioustrying to put in teh patch to usb that prpplague mentioned in teh pandaboard post from a few hours ago20:58
MrCurioustrying to work out how to get /boot/config-2.6.38-1208-omap4 to apply to the kernal-image-2.6.38-1208-omap4 sources i downloaded21:02
MrCuriousand get that image built21:02
MrCuriousubuntu/aufs/magic.mk no such file or directory21:03
MrCuriousthinking i am on teh wrong path21:04
MrCuriousmake clean doesnt work21:04
persiahttps://wiki.ubuntu.com/Kernel/BuildYourOwnKernel might help.  It'S written from the i386/amd64 perspective, but most things are basically the same.21:04
MrCuriousty21:05
=== meindian523 is now known as easwar
=== zyga-food is now known as zyga
MrCuriouspersia: when i get to the fakeroot debian/rules step i discover i lack a debian/rules22:30
MrCuriousany hings?22:30
MrCurioushints rather22:30
persiaHow did you get the source?22:30
MrCuriousapt-get source linux-image-$(uname -r)22:30
MrCuriouswhich gives me /usr/src/linux-headers-2.6.38-1208-omap422:31
MrCuriousi wonder if make clean nuked that22:31
persiaIt shouldn't.22:31
persiaIt should give you a .dsc file, a .gz file, and an unpacked directory "linux-omap" in the directory in which you ran apt-get source.22:32
MrCuriousit did make a src dir in the dir i ran that22:32
MrCuriousis that the kernel dir i should be messing with instead of the one in /usr/src?22:33
persiaYes.22:33
persiaI'm not sure how you got the one in /usr/src22:33
MrCuriousi grabbed the kernel in a variety of ways, i guess22:34
MrCuriousbuilding the kernel outside of /usr/src feels ODD22:35
persiaHeh.  We do offer several choices, so that people who want to do different things can.  Sometimes that seems like a good idea, and sometimes it makes it awkward (as many fok randomly search the internet for solutions, and find all sorts of recommendations out there)22:36
MrCuriousyup22:36
MrCuriousi am documenting my travels, so i can only ask once22:36
persiaAsk as much as you like.22:36
MrCuriousty22:37
persiaWe don't always agree on things, but if you ask, we're more likely to point you to reasonably heavily trod paths :)22:37
persiaIf you don't ask, you never know what you might find.22:37
MrCuriousthanks! oh, a bud pointed me to a rather simple way of getting ubuntu to bring up wireless on boot22:37
persiaWhich?  I have a suspicion I won't like it, but still ... :)22:38
MrCuriousi pm you it22:38
MrCuriousit may not be perfect, as i noticed the box lost networking after being on for a day or two22:39
MrCuriousmake: *** No rule to make target `binary-generic'.  Stop.22:39
MrCuriousthat sounds ominous22:39
MrCuriouswonder if i need binary-generic22:40
persiaIt's a rule in debian/rules.  Not something external you need.22:40
persiaYou shouldn't have to uninstall Network Manager to do that: Network Manager is supposed to check /etc/network/interfaces and ignore anything defined there.22:41
MrCurioushmmm22:41
MrCurioushmm debian/rules lacks a binary-generic22:41
MrCuriousroot@unwin-desktop:~/linux-ti-omap4-2.6.38# grep binary debian/rules22:42
MrCuriousbinary: binary-indep binary-arch22:42
MrCuriousinclude $(DROOT)/rules.d/2-binary-arch.mk22:42
MrCuriousinclude $(DROOT)/rules.d/3-binary-indep.mk22:42
MrCuriousperhaps the build mechanism has mutated since the howto page was last touched22:43
persiaOughtn't have been.22:44
persiaMaybe the ti-omap kernel is different somehow.22:44
persiaAnything in rules.d/* ?22:44
MrCuriouswell, i think i will just push on, and hope that dependency management catches any missed steps22:44
MrCurious3 different rules.d dirs (debian.ti-omap4, debian, and debian.master22:45
MrCuriousti-omap4 dir only has armel22:46
MrCurious.mk22:46
persiadebian/rules.d/*22:48
MrCurious0-common-vars.mk  1-maintainer.mk  2-binary-arch.mk  3-binary-indep.mk  4-checks.mk  5-udebs.mk22:48
persiadebian.ti-omap4 *should* have been used to populate debian/ when the source package was uploaded, so you oughtn't need to worry for making local packages.22:48
MrCuriousbinary-arch is the one we want22:48
MrCurious?22:48
persiaI don't remember what debian.master does.22:48
persiabinary-arch.mk probably includes the definition for binary-arch:22:49
persiamake sure debian/rules includes debian/rules.d/binary-arch.mk22:49
MrCuriousnope22:49
MrCuriouswell it does i think22:50
MrCuriousinclude $(DROOT)/rules.d/2-binary-arch.mk22:50
MrCuriousbinary-arch appears to be building stuff22:53
MrCuriousback in a bit. going to let it cook and see what it makes22:53
persiaOh, right.22:54
persia"binary-generic" is the expansion of "binary-${FLAVOUR}".22:54
persiaYou probably wanted "binary-ti-omap4"22:54
persiaOughtn't matter in practice: I believe this kernel source only has the one flavour.22:55
MrCuriousmake: *** No rule to make target `binary-ti-omap4'.  Stop.22:58
MrCurioushmmm22:58
MrCuriouswell binary-arch was making something think i will let that cook22:59
persiaWe'll see what it makes :)23:01

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