**** BEGIN LOGGING AT Tue Jul 06 02:59:58 2010 **** BEGIN LOGGING AT Tue Jul 06 08:26:14 2010 Jul 06 11:24:34 could i download somewhere (gar.gz, git, something else) the source for the 2.6.32 kernel used by shr-u? Jul 06 11:34:32 Fox_Muldr: http://build.shr-project.org/sources/git_git.openmoko.org.git.kernel.git_a9254be10ac2294ea20165a87c09ea6afcf66d94.tar.gz Jul 06 11:36:22 tnx. could i also synchronize via git directly? would make it easier if the kernel gets some updates :) Jul 06 11:42:08 with latest andy-tracking is used "git clone git://git.openmoko.org/git/kernel.git linux-2.6.29-openmoko" but what is the new url for the 2.6.32 kernel from shr-u with all patches applied? Jul 06 11:43:50 i thin it is on branch remotes/origin/om-gta02-2.6.32 Jul 06 11:44:05 ok i will try it, tnx Jul 06 11:44:31 s/thin/think/ Jul 06 11:44:32 jluis meant: i think it is on branch remotes/origin/om-gta02-2.6.32 Jul 06 11:45:01 maybe i could list all the branches but i'm not very familiar with git Jul 06 11:46:23 Fox_Muldr: to list the branches git branch -a (git branch only lists the locan ones) Jul 06 11:50:25 git clone git://git.openmoko.org/git/kernel.git om-gta02-2.6.32 seems to work :) Jul 06 11:51:49 and what is the config from which the shr-u kernel is compiled? Jul 06 11:52:03 i want to start with this config and change a few things for me Jul 06 11:53:18 I've just read the OE recipe and some pathches are aplied to the kernel Jul 06 11:54:11 does this branch already have all patches applied so i could use it without modifications for shr-u? Jul 06 11:55:23 pathches http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-openmoko-2.6.32 Jul 06 11:56:23 recipe http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-openmoko-2.6.32_git.bb Jul 06 11:57:12 hmm seems not so easy like it was with andy-tracking. with andy-tracking i just had to clone the repo and after that had to switch to andy-trackng branch to have all patches Jul 06 11:59:26 so the om-gta02-2.6.32 branch is just a vanilla 2.6.32 kernel and all openmoko patches resides at openembedded? Jul 06 12:01:08 I've just checked the recipe for it and now it has two patches one for ignring a irq for ts and other to enable UBIfs ;) Jul 06 12:02:44 no the branch isn't a vanilla 2.6.32 Jul 06 12:03:11 i'M a bit confused now :) Jul 06 12:05:05 so at git://git.openmoko.org/git/kernel.git with branch om-gta02-2.6.32 is a kernel with patches already applied. and at http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-openmoko-2.6.32 are only the patches but no kernel. is that right? Jul 06 12:07:55 now i think i got it. it is the same as it was with andy-tracking only the branch has changed to origin/om-gta02-2.6.32 :) Jul 06 12:08:10 and the patches are already applied in this branch Jul 06 12:10:39 now the only question is what the defaultconfig is that shr-u uses. with andy-tracking i used arch/arm/configs/gta02_moredrivers_defconfig Jul 06 12:14:19 i see there is no gta02_moredrivers_defconfig anymore Jul 06 12:17:36 and also the build script which was in the andy-tracking branch and helped making kernel/modules packaging easier does not exist Jul 06 12:21:20 I'm sorry I cannot help more I myself confussed now Jul 06 12:22:14 thanks anyway. i think now i only have to find out how i could compile the kernel without the helper script and package the modules for copying to the freerunner Jul 06 12:32:33 jluis: could you use make menuconfig to config the kernel? because when i do this the config is changed to x86 architecture after saving changes :/ Jul 06 12:33:02 Fox_Muldr: ARCH=arm Jul 06 12:34:15 do i have to set this as a global VAR? Jul 06 12:35:23 Fox_Muldr: you can use "make menuconfig ARCH=arm" too Jul 06 12:35:32 ah thanks :) Jul 06 12:35:33 Fox_Muldr: also fyi the recipe is using gta02_drm_defconfig Jul 06 12:35:47 i thought so and copied this to start with Jul 06 12:40:41 when i use ARCH=arm it looks way better now. but after just saving the config again without changing anything four options got deleted from the config as if they doesn't exist (CONFIG_INPUT_LIS302DL=y, CONFIG_MFD_GLAMO_DRM=y, CONFIG_DRM=y, CONFIG_DRM_KMS_HELPER=y) Jul 06 12:41:20 Fox_Muldr: i guess that's because you lack the patches mentioned in the recipe. Jul 06 12:42:12 hmm is there no branch which already includes these patches? Jul 06 12:42:38 Fox_Muldr: i'm not sure why the folks did it that way, probably there're different branches involved... Jul 06 12:45:27 PaulFertser: so when i'm using branch origin/om-gta02-2.6.32 i additionaly have to download some patches (which exactly?) and apply them for drm support? Jul 06 12:47:14 Fox_Muldr: yes, all the patches mentioned in the recipe. Jul 06 12:50:50 hi, ich habe vor kurzem opera 10.60 installiert und seither zwei probleme Jul 06 12:51:06 zum einen stürzt das prog immre ab enn ich es schliesse und will dann nen bugreport senden Jul 06 12:51:13 was mich noch nichtmal so sehr stört Jul 06 12:51:30 PaulFertser: you mean from http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-openmoko-2.6.32? how do i apply these patches? Jul 06 12:51:31 viel schlimmer finde ich, dass die schriften in den menüs einfach mal viel zu gross sind Jul 06 12:51:42 oh sry falscher channel Jul 06 12:52:01 UnknownArtists: es wäre besser in englisch hier zu reden ;) Jul 06 12:52:23 Fox_Muldr, ja wollte auch in gentoo-anfaenger schreiben Jul 06 12:52:24 Fox_Muldr: just download and patch -p1 Jul 06 12:52:34 aber nach dem xchat neustart kam der tab hier zuletzt hoch Jul 06 12:52:39 und da war ich im falschen chann ;) Jul 06 12:52:59 ah ok, i know patch -p1 but i thought maybe git could also automate this for me :) Jul 06 12:53:24 UnknownArtists: passiert Jul 06 12:53:48 Fox_Muldr: "git am" will work as you need if those patches are in git format. Jul 06 14:03:17 PaulFertser: i have all patches applied. i run the script /usr/local/openmoko/arm/setup-env and now when i want to compile the kernel/modules should i just do "make" like when compiling my pc kernel? or do i have to do "make ARCH=arm"? Jul 06 14:04:17 Fox_Muldr: the second, and also CROSS_COMPILE=/path/to/your/cc/toolchain Jul 06 14:04:46 Fox_Muldr: e.g. CROSS_COMPILE=arm-linux-gnueabi- Jul 06 14:05:10 hm i thought that the setup-env script sets all these vars but CROSS_COMPILE isn't set at all Jul 06 14:05:25 Fox_Muldr: probably it does, i've no idea Jul 06 14:06:56 PaulFertser: so "set CROSS_COMPILE=arm-linux-gnueabi-" is ok without path? Jul 06 14:07:18 Fox_Muldr: if it's in your PATH, yes Jul 06 14:08:16 PaulFertser: the setup-env script adds it to my path Jul 06 14:08:28 Fox_Muldr: ok, nice Jul 06 14:09:25 maybe it is a good idea to update the kernel-compile how-to in the om wiki. it seems that it is more complex than it was with andy-tracking now ;) Jul 06 14:10:55 Fox_Muldr: heh, it's supposed kernel hackers know their ways :) Jul 06 14:11:09 Fox_Muldr: but yeah, keeping the wiki up-to-date is nice regardless. Jul 06 14:11:35 PaulFertser: but not everyone is a kernel hacker but also want to compile his own kernel :) Jul 06 14:12:09 PaulFertser: and kernel compiling for pc is much easier than for openmoko ;) Jul 06 14:12:32 Fox_Muldr: i agree :) Jul 06 14:15:50 PaulFertser: i see that i have to change arm-linux-gnueabi- to arm-angstrom-linux-gnueabi- for the toolchain Jul 06 14:18:31 PaulFertser: when everything compiles ok could i just do a "make modules_install" and copy the modules from /lib/modules/2.6.32 to the freerunner or is there a better way to package the modules? Jul 06 14:24:30 Fox_Muldr: yes Jul 06 14:24:49 Fox_Muldr: you should specify directory to where it installs modules Jul 06 14:25:17 Fox_Muldr: INSTALL_MOD_PATH=somewhere Jul 06 14:25:24 Fox_Muldr: or else it'll install modules to your /lib Jul 06 14:28:14 PaulFertser: ah ok, tnx Jul 06 14:29:58 PaulFertser: ok, kernel compiled without warnings and modules install worked with different dir. :) Jul 06 14:30:06 Yo Jul 06 14:31:51 PaulFertser: now on to the first try if the freerunner likes the new kernel :) Jul 06 14:55:12 hmm shr-u worked a few minutes than freezed. maybe i try the kernel changes step by step :) Jul 06 17:27:26 why is it that gta02-core lists is an untrusted site? Jul 06 17:27:52 what happened to gta02-core anyways? Jul 06 17:27:59 nothing? Jul 06 17:30:02 It died. Jul 06 17:30:10 AIUI Jul 06 17:31:54 i thought it was "replaced" by the beagle hybrid Jul 06 17:32:01 but don't know :) Jul 06 17:35:53 i have a little problem with my selfcompiled 2.6.32 kernels for latest shr-u. everytime i try to boot i got "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". could it be that it tries to access the sd-card to fast and it is not available so early? because when i go through the qi-bootmenu i can boot my kernels without problems Jul 06 17:36:30 Fox_Muldr: yes, it can Jul 06 17:36:39 Fox_Muldr: some folks need even rootdelay=30 or so Jul 06 17:37:33 where do i set the delay? in the kernel while compiling? Jul 06 17:37:43 Fox_Muldr: no, kernel command line is ok Jul 06 17:38:23 PaulFertser: and where do i set kernel command line when using qi? sorry to ask, but never had to use this before Jul 06 17:38:39 Fox_Muldr: /boot/append-GTA02 iirc Jul 06 17:39:34 isn't this strange to add a boot delay parameter in a file placed on the sd-card which should prevent early access to the sd-card? ok i take a look:) Jul 06 17:39:58 Fox_Muldr: oooh Jul 06 17:40:09 Fox_Muldr: it's not that strange Jul 06 17:40:27 Fox_Muldr: because Qi has its own uSD driver and is able to fetch the kernel and that file from there. Jul 06 17:40:44 PaulFertser: ah ok, that explains it :) Jul 06 17:41:28 PaulFertser: but this means that the sd-card is already accessable from the hardware side by qi and only the kernel needs more time to do domething special? Jul 06 17:41:59 bad typos from me... Jul 06 17:42:09 Fox_Muldr: yeah Jul 06 17:46:50 PaulFertser: do you know if there is a document which describes changes made to the sysfs paths? it seems some of them have changed between .29 and .32 Jul 06 17:47:26 Fox_Muldr: no, there's no document like that to the best of my knowledge Jul 06 17:48:13 PaulFertser: ok than i have to search :) Jul 06 18:11:50 i see that resume_reason is no more a text file but instead it encodes the resume source in a hex number. where could i resolve the number to it's source? Jul 06 19:01:54 in the messages log i found maaaaaany "Alignment trap" lines for almost every program i run. what does this mean and how do i fix this? Jul 06 19:10:10 Fox_Muldr: with current shr-u that's "normal", just wait for the toolchain update by the SHR team. Jul 06 19:10:41 PaulFertser: ok so i don't have to worry. good to know :) Jul 06 19:11:14 PaulFertser: but it is a bit annoying in the log because they are spamed with this message Jul 06 19:11:19 Sure thing Jul 06 19:58:50 i updated the kernel building info in the wiki for the new 2.6.32 because the old andy-tracking infos are partly not working anymore. please feel free to correct or optimize my description. :) http://wiki.openmoko.org/wiki/Kernel#Building_the_2.6.32_branch Jul 06 19:59:12 Fox_Muldr: thanks man! Jul 06 20:01:16 PaulFertser: no problem. most of these information came from you ;) Jul 06 20:02:11 Fox_Muldr: should this command end with ".config": cp arch/arm/configs/gta02_drm_defconfig . Jul 06 20:02:52 PaulFertser: ups sure Jul 06 20:03:08 PaulFertser: forgot that the default anem was not .config ;) Jul 06 20:03:40 Fox_Muldr: cross-compiler suggestion: in debian/ubuntu one can use the emdebian toolchain, on gentoo one can use crossdev to get the toolchain (it's easier and better distro-wise to have a packaged toolchain) Jul 06 20:04:50 PaulFertser: i refered to the toolchain wiki page which suggests that the settings are for this. if people uses other toolchains then they have to do the settings for their environment Jul 06 20:05:14 Fox_Muldr: not really, it's only the prefix of the cc executable that might differ Jul 06 20:05:35 PaulFertser: i could explicit state that the meantioned commands are only for the om toolchain, better? Jul 06 20:06:26 Fox_Muldr: also one can use "git am patches/*" i guess (after making sure all patches are proper git patches) Jul 06 20:07:00 PaulFertser: they are all except for two why i included the extra description how to make them compatible :) Jul 06 20:07:21 Fox_Muldr: well, i'd prefer something like: "you should have cross-compiler installed. You may grab the "om toolchain" for that. Alternatively, feel free to use emdebian toolchain for the deb based systems, or crossdev on gentoo." Jul 06 20:07:50 PaulFertser: ok, i will remove any om toolchain specific and just state that a toolchain is needed Jul 06 20:08:52 Fox_Muldr: i'm ok with anything, as it's already really cool you added some working instructions :) Jul 06 20:10:14 Fox_Muldr: some wget magic can help downloading patches as well. Jul 06 20:10:59 PaulFertser: i know but i can only describe what i have tested today and i dl them by hand for my first try ;) Jul 06 20:12:02 PaulFertser_ also the "git am patches/*" could work but i haven't tested it so it would be there as is without any working guaranty Jul 06 20:14:12 Fox_Muldr: ok, i see. wget magic is not easy enough, i just tried it. Jul 06 20:15:37 PaulFertser: i fixed the typo with .config and changed the toolchain part a bit Jul 06 20:15:47 Cool :) Jul 06 20:16:39 Fox_Muldr: fyi only those two variables are actually needed to compile a kernel, even with OM toolchain i guess :) Jul 06 20:18:01 sure? because the setup-env was the only thing needed to compile andy tracking with the "build" script which was included in the branch and there were no ARCH and no CROSS_COMPILE env set Jul 06 20:18:39 Fox_Muldr: i never used setup-env, i always used the build script Jul 06 20:18:56 PaulFertser: maybe both ways work Jul 06 20:19:16 PaulFertser: so you mean i should only meantion arch and cross_compile? Jul 06 20:19:27 Fox_Muldr: you can't fool kernel's Makefile :) ./build had ARCH inside Jul 06 20:19:46 Fox_Muldr: i'd say yes, those are enough Jul 06 20:19:57 PaulFertser: good to know. i never took a look inside the script Jul 06 20:25:37 PaulFertser: i edited the toolchain part and added your git am patches/* comment as untested Jul 06 20:25:59 Fox_Muldr: :) Jul 06 20:31:38 PaulFertser: but i still think it's strange that the om-gta02-2.6.32 branch is a patched 2.6.32 kernel (no vanilla) and i also have to apply more patches from openembedded. i think it would be easier if there were a branch which had all patches applied to experiment with like andy-tracking had Jul 06 20:32:27 Fox_Muldr: that happened mostly because there's no full collaboration between the current kernel devs and the distro devs. :( Jul 06 20:34:44 PaulFertser: that's sad Jul 06 20:37:36 Fox_Muldr: i guess if there were more capable openmoko users, all the story would be much better. Alas freedom is important for too few people. Only 15k devices sold, and the most of them are not used because the users appeared to be totally incapable. Jul 06 20:39:57 PaulFertser: one problem was that most people who bought a gta02 thought that it would be an end user device even that it was stated as a developer device. most of them got disappointed and telled everyone how bad that "phone" was. Jul 06 20:40:57 Fox_Muldr: if a user can't read man pages it's bad user, i do not care about those Jul 06 20:42:42 I mean if a person refuses to learn, then who cares, let him buy some dumb nokia cell phone. Jul 06 20:42:59 Anyway, gtg, time to sleep for me. Jul 06 20:43:07 Good night. Jul 06 20:43:15 PaulFertser: yeah, but that also correlates to the problem of endusers who mostly doesn't know how to read man pages. they thought of switching the phone on and use it as is. nothing more nothing less. but even that was no easy task for these people with an openmoko phone ;) Jul 06 20:43:56 PaulFertser: enough done for today. now is movietime and after that bedtime. and tomorrow i'm out for a three day babysitting trip for some bikers (www.tour-ginkto.de). n8 Jul 06 20:44:39 www.tour-ginkgo.de Jul 06 20:44:48 *advertisement* :) Jul 06 20:46:06 Fox_Muldr: wow, i love bicycles Jul 06 20:46:40 And i've got a road racing one too :) Jul 06 20:47:31 PaulFertser: i love motorcycles. therefor i ride a motorcycle and help the bikers to block streets for their free passing Jul 06 20:47:45 Fox_Muldr: corking, yeah :D Jul 06 20:48:10 I like motorcycles too. Not really used one, but i have a driving license :) Jul 06 20:48:23 PaulFertser: hehe better than nothing ;) Jul 06 20:48:53 Fox_Muldr: i have a bike too, but it's stored disassembled in my flat. Jul 06 20:49:23 Fox_Muldr: it's this model: http://usedauto.com.ua/photos/real/09/06/dnipro_mt_10_36_29392.jpg Jul 06 20:49:34 (not my photo, just the same model) Jul 06 20:49:53 PaulFertser: i sit more on my motorcycle than on my bicycle even that i know that bicycling whould be better for my body ;) Jul 06 20:51:10 PaulFertser: nice old machine Jul 06 20:51:58 Fox_Muldr: damn heavy though, it's considerably hard for me to pull it. Jul 06 20:53:01 PaulFertser: this is my machine https://quakeman.homelinux.net/files/CBR900RR.jpg Jul 06 20:53:07 I think you're supposed to fill the tank with a combustible substance, that's burned in the onboard engine, not pull it. Jul 06 20:56:09 SpeedEvil: one needs to pull it hard to put it on its center stand (and it has no sidestand) :) Jul 06 20:56:19 :) Jul 06 20:56:39 SpeedEvil: also soviet motorbikes are not always really reliable, you know :) Jul 06 20:57:02 Fox_Muldr: oooh, nice. I'd be scared to ride one though. Jul 06 20:57:56 * SpeedEvil also has a broken vehicle. Jul 06 20:58:01 It's 100% reliable ATM though. Jul 06 20:58:07 (broken) Jul 06 20:59:57 SpeedEvil: what part broke? Jul 06 21:00:05 the ECU Jul 06 21:00:22 I have a replacement - megasquirt - but I need to solder it up. Jul 06 21:00:32 And in practice, it's probably died of being idle. Jul 06 21:02:28 now it's time for a late night movie, n8 :) Jul 06 21:02:38 * PaulFertser was going to say "hey, my old car is better, it has no electronics to brake" but then he realised the combustion unit was changed to an electonic system 10 years ago. And it had an electronic voltage stabiliser right from the birth as well. Jul 06 21:03:49 At least i've still got an old trusty carbeurator ;) Jul 06 21:05:44 In principle, open-source ECU can work well Jul 06 21:06:27 SpeedEvil: i'm reading about megasquirt for the first time, interesting info, thanks. Jul 06 21:19:47 np **** ENDING LOGGING AT Wed Jul 07 02:59:56 2010