00:05.21 | *** join/#htc-linux Kevin2 (n=Kevin@207-237-52-122.c3-0.avec-ubr12.nyr-avec.ny.cable.rcn.com) |
00:33.08 | infernix | dcordes: ping? :) |
00:42.56 | dcordes | dzo: is there a way to find that out from looking at the desired initrd? |
00:43.05 | dcordes | infernix: pong! |
00:43.13 | infernix | hai:) |
00:43.20 | infernix | i noticed the progress |
00:43.25 | infernix | building the zImage |
00:43.35 | infernix | you had problems with init in angstrom initrd? |
00:43.45 | infernix | did you try and boot the initrd with "init=/bin/sh"? |
00:43.46 | dcordes | yea right |
00:44.14 | dcordes | infernix: as a haret option? |
00:44.16 | infernix | drop the 'quiet' and add that instead in default.txt |
00:44.22 | infernix | yeah |
00:44.22 | dcordes | ok |
00:44.27 | dcordes | will try that |
00:44.31 | infernix | initrd is nothing but an initial root fs |
00:44.46 | infernix | kernel mounts it in ram and after the kernel finishes, it fires /sbin/init |
00:44.57 | infernix | if init is the culprit, this should prevent the hang |
00:45.54 | infernix | there is a typo in the android-msm git btw |
00:46.02 | infernix | drivers/usb/Kconfig:142:warning: multi-line strings not supported |
00:46.06 | infernix | missing quote at the end |
00:46.48 | dcordes | those imperfect google kernel hackers -_- |
00:47.51 | infernix | kernel built |
00:47.52 | infernix | lets try |
00:48.29 | infernix | can you send me your angstrom initrd? |
00:48.35 | infernix | saves me a lot of time bootstrapping it |
00:49.12 | dcordes | infernix: http://www.angstrom-distribution.org/releases/2007.12/images/a780/ |
00:49.39 | infernix | oh |
00:49.43 | infernix | i thought you were building it |
00:50.07 | dcordes | noes. I should build one vor armv6 though. |
00:50.28 | infernix | shouldn't be hard, should it |
00:51.31 | dcordes | infernix: does it matter if there are any modules inside the initrd? |
00:53.05 | infernix | no |
00:53.20 | infernix | bah. |
00:53.25 | infernix | my kernel hangs again after key input |
00:53.44 | dcordes | does git-branch inside kernel rootdir output android-msm? |
00:53.59 | infernix | GPIO Keypad Driver: Start keypad matrix for kaiser_keypad in interrupt mode |
00:54.05 | infernix | yeah, i patched and built android-mdm |
00:54.06 | infernix | *msm |
00:55.23 | infernix | i don't get why kernels I build myself don't work while marbalons provided kernels do |
00:55.27 | infernix | same toolchain and all |
00:55.42 | dcordes | hm works here |
00:56.05 | dcordes | I made a pastebin yesterday for Raven_coda of what I did to get the working zImage |
00:56.13 | infernix | yeah i read |
00:56.49 | dcordes | I had the same problem with his first patch. now it works just fine |
00:57.14 | dcordes | I will also set a rootdelay=10. seen that on tv. |
00:57.47 | infernix | but didnt you switch toolchain |
00:57.51 | infernix | to armstrong |
00:58.06 | infernix | i think i saw you say that |
00:58.11 | dcordes | yes I use the toolchain provided by openembedded for build with armv6 |
00:58.16 | dcordes | you like? |
00:58.31 | infernix | i wonder if that helped w.r.t. the keyboard hang |
00:58.38 | dcordes | I doubt it |
01:00.55 | dcordes | infernix: same thing with init=/bin/sh in cmdline. I can clearly see now it hangs when it jumps to initrd: I set a rootdelay=10 now the cursors stops blinking after 10 seconds after all drivers are initialized. |
01:01.40 | infernix | how did you build the initrd? |
01:01.48 | infernix | find ./ | cpio -H newc -o | gzip > ../initrd-blah? |
01:02.51 | dcordes | I downloaded this http://www.angstrom-distribution.org/releases/2007.12/images/a780/Angstrom-console-image-glibc-ipk-2007.12-a780.rootfs.tar.gz extracted it to somedir and let the script from dzo convert it to an initrd |
01:03.29 | infernix | script from dzo? |
01:04.09 | dcordes | check logs from yesterday |
01:04.26 | dcordes | don't have access now. brb neeed to fire up OE buildmachine |
01:05.21 | infernix | <Raven_coda> I have a script here, I'll send it to you |
01:05.26 | infernix | <Raven_coda> sent, check your email |
01:07.39 | *** join/#htc-linux dcordes (n=lukas@f049188114.adsl.alicedsl.de) |
01:10.56 | infernix | dcordes: can you try http://dx.infernix.net/initrd-angstrom-console |
01:11.03 | infernix | im cloning git again |
01:12.14 | dcordes | in an instance. fiddling with OE |
01:14.59 | dcordes | infernix: what's kaiser's flash size again? |
01:15.25 | infernix | flash size? |
01:15.30 | dcordes | yes nand |
01:15.59 | infernix | not sure |
01:16.08 | dcordes | doesn't matter anyway now |
01:18.03 | infernix | kernel i build myself is 18kb smaller than marbalons |
01:18.05 | infernix | same config |
01:18.39 | infernix | dcordes: initrd is started |
01:18.43 | infernix | im in angstrom :) |
01:18.47 | infernix | with marbalons kernel, that is |
01:18.49 | dcordes | no shit? |
01:18.57 | infernix | boots nicely |
01:19.01 | dcordes | how did you do the initrd? |
01:19.04 | infernix | need to log in now |
01:19.09 | dcordes | root |
01:19.10 | dcordes | blank |
01:19.13 | infernix | http://dx.infernix.net/initrd-angstrom-console |
01:19.18 | dcordes | yes downloading |
01:19.19 | infernix | and im in |
01:19.41 | infernix | this kernel shit's messing with my head but userspace is a no-brainer |
01:19.44 | infernix | :) |
01:20.21 | dcordes | did you try building from that snaphot.gz marbalon posted or clone manually? |
01:20.31 | infernix | heres what you need to do |
01:20.37 | infernix | as root(!!!), extract the tar.gz |
01:20.52 | infernix | ln -s sbin/init init |
01:21.14 | infernix | remove the tar.gz if its in your current dir (e.g. same dir as the initrd) |
01:21.17 | infernix | then: |
01:21.44 | infernix | <PROTECTED> |
01:22.25 | dcordes | so basically I missed symlinking init |
01:22.33 | dcordes | getting a 404 on your image but I will try it myself |
01:22.56 | infernix | oh |
01:23.05 | infernix | http://dx.infernix.net/kaiser/ sorrt |
01:23.10 | infernix | *sorry |
01:23.27 | infernix | now X would be really interesting to boot |
01:23.48 | dcordes | doing that |
01:24.24 | infernix | you're trying x11-image? or openmoko-image? |
01:24.32 | dcordes | om |
01:24.39 | infernix | ill go with x11 |
01:24.41 | dcordes | kk |
01:26.47 | infernix | there's a mouse0 device so maybe touchpad works out of the box |
01:27.45 | dcordes | you will even get a calibration before logging in if so |
01:27.54 | infernix | i wonder where x11's config is for angstrom |
01:28.14 | dcordes | it's a bit different |
01:28.32 | dcordes | uses kdrive I think |
01:29.05 | infernix | gpe-dm |
01:29.16 | infernix | uses framebuffer already |
01:29.17 | infernix | goodie |
01:30.15 | infernix | interesting |
01:30.22 | infernix | rebooting the kernel fails :) |
01:30.29 | dcordes | hm? |
01:30.37 | dcordes | shutdown -r? |
01:30.50 | infernix | i seem to be getting part of an earlier framebuffer |
01:31.13 | infernix | no matter, soft resetting |
01:37.34 | infernix | 18MB seems too large |
01:37.48 | infernix | MMU setup: mmu=A0300000/10600000 |
01:37.51 | infernix | then nothing |
01:40.16 | dcordes | infernix: look at initrd-android- thats over 30 |
01:41.17 | infernix | hm, strange hiccup then |
01:41.28 | infernix | getting Go Go Go now but not booting |
01:42.18 | dcordes | I need new sd eqipment. |
01:42.21 | infernix | booting is still unstable at best |
01:42.26 | dcordes | my cardreader wears of. |
01:42.39 | infernix | sd works already? |
01:42.48 | dcordes | no on my host computer |
01:42.51 | infernix | oh:) |
01:43.35 | dcordes | ok will try and boot full moko image now 63M lol |
01:44.45 | dcordes | infernix: did you notice coyping stuff from sd to nand ist damn slow? |
01:44.49 | dcordes | in wince |
01:45.30 | infernix | Angstrom-openmoko-image-glibc-ipk-2007.12-a780.rootfs.tar.gz is only 32mb, but still no go on the 18mb x11 initrd |
01:45.36 | infernix | and uh, im not noticing |
01:45.50 | infernix | i copy straight from samba to nand with resco file explorer |
01:46.12 | dcordes | useful I'm using sd all the time |
01:46.19 | dcordes | does that resco stuff require synce? |
01:46.23 | infernix | nah |
01:46.30 | infernix | it supports smb |
01:46.35 | infernix | just turn on wifi and mount a share |
01:46.55 | dcordes | I din't know wince has smb |
01:47.03 | dcordes | that's pretty nice |
01:47.05 | infernix | it doesnt |
01:47.08 | infernix | resco file explorer does |
01:47.15 | dcordes | ah now I got it.. |
01:47.29 | dcordes | only have total commander |
01:47.36 | infernix | its payware |
01:47.44 | dcordes | yuck |
01:49.21 | dcordes | haret complains about too large image when I try and boot 60mb |
01:49.47 | infernix | try the 32mb |
01:49.51 | infernix | http://www.angstrom-distribution.org/releases/2007.12/images/a780/Angstrom-openmoko-image-glibc-ipk-2007.12-a780.rootfs.tar.gz |
01:50.03 | infernix | cant get the 18mb x11 booted |
01:50.11 | infernix | kernel refuses to load with this initrd |
01:50.16 | infernix | confusing, really |
01:50.29 | dcordes | kaiser could use SD |
01:50.56 | infernix | sure could |
01:50.57 | infernix | :) |
01:52.00 | infernix | but more importantly is to figure out why this booting issue is popping up randomly |
01:52.15 | infernix | s/tly/t/ |
01:53.46 | dcordes | is there a free piece of software which provides smb for wince? |
01:54.01 | infernix | dcordes: btw, alternatively to the 'ln -s sbin/init init' thing, you could just add 'init=/sbin/init' to the kernel boot parameter list |
01:54.09 | dcordes | infernix: I don't think booting huge ramdisks is too impotant once we have SD working. |
01:54.14 | infernix | its more elegant this way |
01:54.26 | dcordes | ok. |
01:54.30 | infernix | dcordes: true |
01:55.17 | infernix | all the kernel does with an initrd image is find the value for init and execute it; by default its /init but can be overridden |
01:55.39 | infernix | without an initrd, same deal, but then you need to specify the root filesystem, and i think it defaults to /sbin/init in those cases |
01:56.13 | dcordes | ah ok so the /init path is only on the ramdisk |
01:58.42 | infernix | yeah, initrd is usually just a really small ram filesystem that contains all modules, but I never use initrds when I compile kernels for linux machines |
01:59.08 | infernix | i just compile all required drivers statically and boot to rootfs |
01:59.32 | dcordes | http://www.resco.net/ppc/downloads/rescoexplorer_p.ARM.CAB is that a testversion? |
01:59.47 | infernix | copying over samba does about 550kb/sec |
02:00.42 | infernix | dcordes: probably, might work. not sure if there's a trial version |
02:04.02 | dcordes | infernix: can you pm me your email? |
02:04.31 | infernix | sure |
02:05.08 | infernix | currently stripping the openmoko so it fits in 25165824 bytes |
02:05.22 | infernix | need to strip 2 more MBs |
02:05.39 | infernix | i might just lose all the ipkg data for now |
02:05.48 | infernix | no point in keeping package info just et |
02:05.51 | infernix | *yet |
02:07.28 | dcordes | you can remove the browser+depends if present. all the webkit stuff is heavy |
02:07.36 | dcordes | but I doubt it's in the small moko image |
02:07.39 | infernix | does the console image boot for you? |
02:07.46 | dcordes | sent you an email |
02:07.59 | dcordes | I can't try my card doesn't work anymore |
02:09.41 | *** join/#htc-linux pigeon (n=pigeon@60-241-137-179.static.tpgi.com.au) |
02:10.07 | infernix | you've got mail |
02:11.23 | infernix | i might just strip away the audio libs instead |
02:11.29 | infernix | no sound yet anyway |
02:13.00 | dcordes | that's damn nice seeing the angstrom psplash on kaiser :) |
02:13.23 | infernix | :) |
02:13.28 | infernix | i lack a decent cam |
02:13.41 | infernix | but take a pic and post it up on xda if you can :) |
02:13.56 | dcordes | PROOF ANGSTROM ON kaiser lol |
02:14.13 | infernix | 1.2mb less for openmoko to fit |
02:14.40 | dcordes | I don't see the problem. why can you boot the 34mb dzo android initrd but not that? |
02:15.06 | infernix | i can't |
02:15.15 | infernix | no free ram for that |
02:15.39 | dcordes | tried freeing up wm ram before haretting? |
02:16.07 | infernix | Image too large (937312+33232780) - largest size is 25165824 |
02:16.12 | infernix | how? |
02:16.25 | dcordes | killall * |
02:16.26 | ltxda | Please vote... http://forum.xda-developers.com/showthread.php?t=387654 , let me know who wants to be involved. |
02:17.07 | dcordes | ltxda: what is AP 4.0? |
02:17.33 | infernix | -rw-r--r-- 1 root root 26336879 Apr 24 04:15 ../initrd-angstrom-openmoko |
02:17.35 | infernix | pretty close |
02:18.01 | dcordes | infernix: look at settings system memory. there should be an application showing running processes somewhere |
02:18.09 | infernix | i cant really clean my phone much more than i already have tho |
02:18.09 | dcordes | people said they can kill voice command background stuff. |
02:18.19 | infernix | yeah but i don't have much running |
02:18.29 | dcordes | same here I had a hardreset and run on stock vodafone-de rom |
02:18.31 | ltxda | dcordes, it's been released. is that what you mean bro? |
02:18.32 | infernix | i can try killing cprog, the phone |
02:18.44 | dcordes | ltxda: no I mean what is it. |
02:18.51 | infernix | let me try some |
02:19.00 | dcordes | just use comm manager |
02:19.09 | ltxda | dcordes, custom ROM for HTC Athena/x7500/x7501 phones. |
02:20.01 | dcordes | oh |
02:20.06 | ltxda | WM6.1.19202 |
02:20.22 | ltxda | also adds auto screen orientation like iphone :D |
02:20.23 | dcordes | I couldn't care less if my wm was 1.0 |
02:20.57 | ltxda | lol |
02:21.27 | dcordes | infernix: still no mail ;( |
02:21.35 | infernix | i see that |
02:21.36 | infernix | hold on |
02:25.37 | dcordes | I have no active sync |
02:26.27 | infernix | 1 sec |
02:27.23 | infernix | F5, try the cab |
02:27.35 | infernix | Image too large (937312+33232780) - largest size is 25165824 |
02:27.43 | infernix | same size, no matter how much ram I free |
02:27.44 | dcordes | ok |
02:27.52 | dcordes | I would do a hardreset |
02:27.57 | infernix | i cant :) |
02:28.02 | infernix | i use the damn thing :p |
02:28.11 | dcordes | do backup |
02:28.22 | infernix | no time for reinstalling and reconfiguring it |
02:28.26 | infernix | 04:28 AM :) |
02:29.01 | dcordes | 29 |
02:29.50 | infernix | 9 libWebKitGtk.so.1.0.0 |
02:29.50 | infernix | 10 libicudata.so.36.0 |
02:30.06 | infernix | i know little about openmoko, but if I can lose either one of these I'm there |
02:30.09 | dcordes | as I say webkit.. |
02:30.30 | dcordes | huge stuff |
02:30.53 | infernix | -rw-r--r-- 1 root root 23610729 Apr 24 04:30 ../initrd-angstrom-openmoko |
02:30.54 | infernix | fits! |
02:31.13 | dcordes | booting moko minimal |
02:32.13 | dcordes | freezes after splash |
02:32.57 | infernix | the bigger initrds refuse to boot here |
02:33.02 | dcordes | theres no big difference between the moko and angstrom images. I think xorg vs kdrive eg |
02:33.04 | infernix | lets retry console |
02:33.05 | dcordes | but the base is the same |
02:33.18 | infernix | does the x11 one boot for you? |
02:33.26 | dcordes | will make one now |
02:34.09 | dcordes | that was angstrom-minimal-moko from unstable |
02:34.19 | dcordes | http://www.angstrom-distribution.org/unstable/autobuild/a780/ |
02:35.01 | infernix | ah |
02:35.08 | dcordes | is building angstrom console-image and angstrom openmoko-image with armv6 optimizations |
02:35.10 | infernix | well nothing much to strip from the x11 one |
02:39.51 | dcordes | infernix: did you look at the windows mobile task manager thing in order to free ram? |
02:40.00 | infernix | x11 is only 18mb |
02:40.02 | infernix | doesnt boot |
02:41.37 | infernix | bah, nothing boots |
02:42.05 | dcordes | soft reset? |
02:42.18 | infernix | doing that all the time |
02:43.59 | dcordes | infernix: do you know howto rotate the fb from kernel? |
02:44.12 | dcordes | for showing off purposes with the console image :D |
02:45.00 | dcordes | x11 image looks bad here too |
02:46.14 | dcordes | hmmno worko |
02:46.21 | infernix | it should be fbcon=rotate:1 as kernel parameter |
02:46.22 | infernix | or |
02:47.02 | infernix | echo 1 1 > /sys/class/graphics/fbcon |
02:47.08 | infernix | or perhaps |
02:47.12 | infernix | echo 1 > /sys/class/graphics/fbcon/rotate_all |
02:47.20 | infernix | not sure. |
02:47.26 | infernix | console boots again though |
02:47.37 | infernix | it boots when i turn off wifi and close the keyboard |
02:47.43 | infernix | not sure if either are related |
02:47.46 | infernix | or if its just random |
02:49.41 | infernix | kernel parameter doesn't work |
02:49.54 | dcordes | hm I always close the keyboard |
02:50.10 | dcordes | wifi on/off seems to be no problem. I always have 70M free though. |
02:50.21 | dcordes | and yes I think it is random. |
02:50.56 | infernix | doh, i cant type > on the keyboard |
02:51.11 | infernix | hacks the initrd |
02:51.43 | infernix | doh |
02:51.46 | infernix | its not compiled in the kernel |
02:51.55 | dcordes | what? |
02:52.06 | infernix | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION |
02:52.06 | dcordes | <PROTECTED> |
02:52.16 | infernix | yeah those arent on the keyboard |
02:52.22 | dcordes | does that rotate or give an option for rotation? |
02:52.47 | infernix | that compiles support into the kernel |
02:52.52 | infernix | marbalons kernel doesnt have it |
02:53.15 | dcordes | I can make one with that option real quick |
02:54.51 | dcordes | Note that the rotation is done at the console level only |
02:54.52 | dcordes | such that other users of the framebuffer will remain normally |
02:54.52 | infernix | it could very well be real slow btw, its done in software |
02:54.53 | dcordes | oriented. |
02:55.01 | dcordes | yea |
02:58.01 | dcordes | I wonder why it builds so long. last time I changed just a small option it was way faster |
02:58.15 | dcordes | or does make zImage always rebuild everything? |
02:58.58 | infernix | hah |
02:59.00 | infernix | it works here :D |
02:59.04 | infernix | my own kernel boots |
02:59.07 | infernix | but man it looks like shit |
02:59.12 | dcordes | why? |
02:59.16 | infernix | it needs a different font |
02:59.23 | dcordes | what why? |
02:59.29 | infernix | oh and it needs :3 |
02:59.31 | infernix | not :1 |
02:59.49 | dcordes | 270° eh |
02:59.56 | dcordes | why does it look like shite? |
03:00.10 | dcordes | is the font dorky or just too big? |
03:00.10 | infernix | i get consistent booting with keyboard closed now |
03:00.12 | infernix | weird |
03:00.22 | infernix | font gets stretched it seems |
03:00.35 | infernix | ugh |
03:00.36 | dcordes | yes weirdness. hope booting from rom will end this |
03:00.40 | infernix | hangs at first keystroke >.< |
03:00.47 | dcordes | rhrhr |
03:00.53 | infernix | or no it doesnt |
03:01.22 | infernix | wait i think its so slow that theres no cpu power left |
03:01.47 | dcordes | I guess we have to change the resolution from 240x320 to 320x240 in order to get rid of the strecthed picture? |
03:02.05 | infernix | yeah. but something is weird |
03:02.17 | infernix | either my kernel is still broken, or rotated fb eats all cpu |
03:02.28 | dcordes | in case your cursor froze, that's the normal keyboard-patch-does-not-work thing |
03:02.37 | infernix | i entered an 'o' |
03:02.42 | infernix | and a space |
03:02.44 | dcordes | oh |
03:02.50 | dcordes | you seen the o? |
03:02.52 | infernix | nothing more tho |
03:02.56 | infernix | yeah |
03:03.03 | infernix | other keys don't seem to do a thing |
03:03.10 | dcordes | hm then it's not the normal keyboard-patch-does-not-work thing |
03:03.33 | dcordes | did you set the rotaiton in the cmd_line now? |
03:03.37 | infernix | yup |
03:03.43 | dcordes | ok what about the stretching? |
03:03.52 | infernix | set cmdline "rw fbcon=rotate:3" |
03:05.43 | dcordes | lol no boot |
03:06.48 | infernix | same here for the x11 |
03:07.09 | infernix | cant get that to boot in any way |
03:07.33 | infernix | i think it just needs a different font when rotated, thats all |
03:09.36 | dcordes | [*] Mac console 6x11 font (not supported by all drivers) |
03:09.45 | dcordes | that's the currently selected one |
03:10.17 | infernix | ok correct rotation now |
03:10.43 | infernix | i think something goes wrong when i open the keyboard |
03:10.59 | infernix | hangs now |
03:11.27 | infernix | fonts seemed good |
03:11.36 | infernix | the font was bigger before |
03:11.50 | infernix | maybe its choosing the console (4x6) one |
03:12.05 | dcordes | it hanged when you openned? |
03:12.12 | infernix | yeah |
03:12.17 | dcordes | inside the running system? |
03:12.28 | infernix | it was already in userspace |
03:12.42 | dcordes | something obviously handles open/close gpio then. maybe marbalon did something with it |
03:13.19 | dcordes | ok I'm in rotato kernel now |
03:13.21 | infernix | trying with open keyboard |
03:13.30 | infernix | not booting |
03:13.31 | dcordes | can I set the fb rotation while in userspace? |
03:13.37 | infernix | not without entering a > |
03:13.43 | dcordes | ah right... |
03:13.44 | infernix | you can add scripts to the initrd |
03:13.56 | dcordes | my 325th soft reset |
03:14.01 | infernix | rotit |
03:14.08 | infernix | #!/bin/sh |
03:14.16 | infernix | echo 3 > /sys/class/graphics/fbcon/rotate_all |
03:14.42 | infernix | so again no boot in haret with keyboard opened |
03:14.50 | dcordes | I will do it the cmdline way |
03:16.58 | dcordes | which one shall we try? |
03:17.10 | dcordes | sorry I had scrolled up |
03:18.10 | infernix | ok great |
03:18.14 | infernix | i have proper rotation |
03:18.18 | infernix | good size font |
03:18.20 | infernix | (real small) |
03:18.23 | infernix | but i can't enter anything |
03:18.32 | infernix | sometimes characters work |
03:18.35 | dcordes | Mini 4x6 font? |
03:18.41 | infernix | but most of the time the cursor lags |
03:18.42 | infernix | yep |
03:18.52 | dcordes | that's the smallest readable on qvga I think |
03:19.03 | dcordes | seemed that way when I tried it |
03:19.09 | infernix | it looks great really |
03:19.15 | infernix | but i cant enter a thing >.< |
03:19.25 | infernix | can you ask marbalon to recompile his kernel with rotation support and all the fonts? |
03:19.39 | infernix | when you talk to him that is :) |
03:19.52 | dcordes | infernix: how do you select the fonts when you have all compiled in? |
03:20.10 | infernix | you have a linux box with a proper kernel source? |
03:20.16 | dcordes | I mean when you have only one, that is the default one. |
03:20.33 | infernix | cd armstrong-kernel-src |
03:20.33 | dcordes | infernix: no. only win32 here. |
03:20.36 | infernix | less Documentation/fb/fbcon.txt |
03:21.26 | infernix | keyboard is still broken im afraid |
03:21.49 | dcordes | no it works for me and Raven_coda with the latest diff |
03:22.46 | infernix | why not here then |
03:22.52 | infernix | i am clueless |
03:23.21 | dcordes | did you see the pastebin I handed to Raven_coda while we talked about the issue? |
03:23.31 | dcordes | "#look man try this" |
03:23.33 | infernix | did that exactly |
03:23.36 | dcordes | ok |
03:23.40 | dcordes | out of clue then sorry |
03:23.58 | dcordes | could only send you my toolchain. but you said you were using the same on like marbalon.. |
03:24.02 | infernix | do you edit .config or do you use menuconfig to change options? |
03:24.06 | infernix | yes thats what he said |
03:24.38 | dcordes | right now I did xconfig when I added up rotation |
03:24.46 | dcordes | and menuconfig to chose all fonts |
03:25.34 | infernix | does raven use the same toolchain as you are using? |
03:26.40 | dcordes | how can I look up the "name" of the font? |
03:26.50 | dcordes | infernix: no raven usees something else. |
03:27.01 | dcordes | only uses quality OE toolchains |
03:27.34 | infernix | is your kernel size equal to marbalons? or is yours smaller? |
03:27.38 | infernix | mine's always smaller |
03:27.49 | dcordes | no idea |
03:28.14 | dcordes | 944 arch/arm/boot/zImage |
03:28.29 | infernix | bigger |
03:29.43 | dcordes | is it "mini4x6"? |
03:30.11 | dcordes | ah lol docu mentions that -_- |
03:31.52 | dcordes | zImage w/ nothing added is 921K (in windows mobile ^^) |
03:32.41 | infernix | do I need monotone for the OE toolchain? |
03:33.34 | dcordes | yep OE uses mtn. |
03:34.01 | dcordes | http://www.angstrom-distribution.org/building-angstrom have a look |
03:34.20 | infernix | yeah but do I need that just to build the kernel? |
03:34.20 | dcordes | just use .dev instead of stable |
03:34.42 | dcordes | hm what you mean? you wanna build android-msm from OE? |
03:35.12 | infernix | i want to build the kernel with a different toolchain |
03:35.13 | dcordes | I don't do that. I build the kernel manually if that's what you're after |
03:35.16 | infernix | different compiler |
03:35.32 | infernix | with /arm-2007q3/bin/arm-none-linux-gnueabi-* ? |
03:35.47 | dcordes | no with the toolchain OE plops out |
03:36.25 | dcordes | make ARCH=arm CROSS_COMPILE=~/OE/org.openembedded.dev/tmp/cross/bin/arm-angstrom-linux-gnueabi- zImage |
03:37.19 | infernix | k |
03:37.23 | infernix | grabs a snapshot |
03:37.25 | dcordes | how to pass multiple fbcon parameters into cmdline? |
03:37.44 | infernix | probably fbcon=variable:value,variable2:value,flag |
03:39.18 | dcordes | hmno I don't wanna save as .doc |
03:39.52 | dcordes | great works. |
03:40.00 | dcordes | can you receive mail? |
03:40.40 | dcordes | brb |
03:43.08 | infernix | yeah i can |
03:43.29 | infernix | would be great if you can mail the kernel :) |
04:01.58 | dcordes | infernix: You got mail! |
04:02.08 | dcordes | not |
04:02.13 | infernix | Download GCC 2.95.3 toolchain - http://handhelds.org/download/projects/toolchain/archive/cross-2.95.3.tar.bz2. |
04:02.19 | infernix | is that the toolchain you're using? |
04:02.39 | infernix | gives all sorts of errors here |
04:03.54 | infernix | mail's here, thanks |
04:03.55 | infernix | trying |
04:06.52 | infernix | i will just have to roll a debian sid VM to build all this |
04:06.56 | infernix | saves me lots of headaches |
04:08.22 | infernix | dcordes: working, thanks! |
04:08.28 | dcordes | perfect |
04:08.51 | dcordes | I'm uploading a zip including my haret dir to xda forum |
04:12.27 | infernix | cool |
04:13.26 | infernix | hmm theres a newer toolchain release |
04:13.28 | infernix | 2008q1 |
04:13.35 | infernix | that'll be the last thing i'll try for tonight |
04:18.20 | dcordes | tonight? dude it's 6:18 |
04:18.28 | dcordes | time to get up *_* |
04:18.31 | infernix | yeah |
04:18.38 | infernix | ill sleep till 12 |
04:18.40 | dcordes | sending toolchain |
04:19.25 | dcordes | it's only 3,3mb lol |
04:22.13 | *** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196) |
04:24.08 | infernix | nope |
04:24.18 | infernix | thanks for trying, but that one was built on your box |
04:24.21 | infernix | isnt the same distro as i have |
04:25.18 | infernix | i'll roll a debian sid vm soon |
04:25.37 | dcordes | are you on x86_64? |
04:26.11 | infernix | no |
04:26.26 | infernix | debian etch x86 |
04:26.41 | dcordes | I'm on ubuntu should be ok |
04:26.50 | infernix | nope, different libc |
04:26.55 | dcordes | oh I see |
04:27.49 | *** join/#htc-linux par (i=par@dipole.idlepattern.com) |
04:29.08 | infernix | same shit |
04:29.21 | infernix | im pretty sure its a compiler issue |
04:30.04 | dcordes | Raven_coda is on gentoo |
04:30.22 | infernix | yeah i think that has gcc 4.2.3 with proper cross compiling support |
04:30.25 | infernix | debian etch doesnt |
04:31.35 | dcordes | cc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) |
04:34.08 | infernix | gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) |
04:34.15 | infernix | sweet, x11 boots |
04:34.32 | infernix | but just gives a black screen with cursor in the corner |
04:38.05 | dcordes | how did you make it boot? |
04:44.15 | infernix | with your zImage |
04:44.26 | infernix | im going to disable x11 autostart |
04:44.29 | infernix | and test Xserver |
04:44.35 | infernix | heres to hoping it boots again |
04:53.37 | infernix | it boots but splash was still there (it has a 2min timeout) and root had no shadow passwd so couldn't log in |
04:53.41 | infernix | built a new one |
04:53.58 | infernix | i hope Xserver's video test will work |
04:55.40 | dcordes | infernix: ah yea though you meant the X mouse pointer |
04:55.51 | dcordes | also had command line after psplash |
04:56.11 | infernix | videotest should tell us if its a userspace issue or kernel crash |
04:57.32 | infernix | many errors in the x11 boot log |
04:57.35 | infernix | udev |
04:59.28 | infernix | videotest logs some errors for a split second |
04:59.30 | infernix | then black screen |
05:02.21 | dcordes | are you in x11 or om image? |
05:02.58 | infernix | x11 |
05:03.08 | infernix | ill upload this hacked one |
05:03.23 | dcordes | does it work? |
05:05.42 | infernix | X doesnt |
05:05.53 | infernix | the errors are scrolling by too fast to see whats going wrong |
05:06.06 | infernix | hm |
05:06.17 | infernix | im getting signals that i should stop |
05:06.25 | infernix | my nfs mount from desktop>server is failing |
05:06.32 | infernix | this has never happened before :p |
05:10.42 | *** join/#htc-linux the_sys0p` (i=the_sys0@gateway/tor/x-0e9dbe42deb5b7a4) |
05:13.30 | infernix | it'll need more work. i need sleep now :) |
05:16.29 | *** join/#htc-linux infernix (n=nix@unaffiliated/infernix) |
05:21.39 | *** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz) |
05:46.10 | dcordes | morning infernix :) |
05:52.58 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
06:08.12 | *** join/#htc-linux marbalon (n=marbalon@212.122.223.98) |
06:32.54 | *** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz) |
06:35.49 | dzo | hi dcordes |
06:56.08 | *** join/#htc-linux patoche (n=patoche@77.197.65.152) |
07:01.00 | *** join/#htc-linux Marex-louise (n=root@85-132-216-250-eth3-gwfm10-user.802.cz) |
07:03.05 | *** join/#htc-linux LunohoD_ (n=alex@e180071071.adsl.alicedsl.de) |
07:14.42 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf937b.pool.einsundeins.de) |
07:20.21 | *** join/#htc-linux patoche (n=pat@77.197.65.152) |
08:43.19 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
08:49.49 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
08:52.29 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
09:01.01 | *** join/#htc-linux cr2_ (n=konversa@crpl6.physik.uni-wuppertal.de) |
09:17.41 | *** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo) |
09:28.46 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
09:30.38 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
09:33.29 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
09:36.33 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
09:54.10 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
10:35.49 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
11:06.16 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
11:21.52 | *** join/#htc-linux dcordes2 (n=chatzill@f049188114.adsl.alicedsl.de) |
12:19.21 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
12:36.42 | *** join/#htc-linux kiozen (n=oeichler@p54929647.dip0.t-ipconnect.de) |
12:58.08 | BabelO_ | cr2_:hi, What is diff between io_p2v() and io_remap in linux kernel ? |
13:13.17 | *** join/#htc-linux miknix (n=miknix@bl4-86-80.dsl.telepac.pt) |
13:20.47 | cr2_ | BabelO_: i think ioremap adds the entries into the page tables, and p2v just read them ? |
13:42.28 | *** join/#htc-linux root____ (n=root@85-132-216-250-eth3-gwfm10-user.802.cz) |
14:01.05 | BabelO_ | cr2_: ok, i ask that because i have io_p2v(0xfffc1000) give 0xfefc1000, i ll try io_remap instead ;) |
14:01.35 | BabelO_ | not sure i can manipulate virtual here, if i ll look into register all vvalues are wrong |
14:04.17 | cr2_ | BabelO_: imho the driver should ioremap the registers it needs |
14:05.02 | cr2_ | even if they are mapped by somebody else. |
14:05.12 | BabelO_ | cr2_: ok so anywsay i need to to it |
14:05.29 | cr2_ | this somebody may decide to unmap them, and then you will oops. |
14:05.40 | BabelO_ | cr2_: so i don"'t understand the use of io_p2v, is it for userspace ? |
14:06.10 | cr2_ | it's for not wasting the page table /tbl space |
14:06.16 | cr2_ | s/tbl/tlb/ |
14:06.30 | cr2_ | just my qualified guess. |
14:06.49 | BabelO_ | cr2_: ok, so some driver miss it :) |
14:07.09 | cr2_ | if they are sure that this mapping is there, why not. |
14:07.23 | BabelO_ | cr2_: i can do a bluescreen with sd boot on artemis |
14:07.37 | cr2_ | lol |
14:07.55 | BabelO_ | cr2_: but it is what i want, i fill fb with blue pixel |
14:08.06 | cr2_ | ok. |
14:08.20 | cr2_ | are you using the htc-egpio driver already ? |
14:08.27 | BabelO_ | cr2_: maybe it can help pH5 for herald |
14:08.47 | BabelO_ | cr2_: no, last time i try to add it, i get an automatic reboot ;) |
14:14.43 | miknix | LOLZ gentoo on my htc wizard : http://miknix.homelinux.com/linwizard/htcwizard-linwizard-gentoo.png |
14:35.20 | cr2_ | BabelO_: then you are doing something wrong :) |
14:35.46 | cr2_ | miknix: what about the i2c cpld driver ? |
14:36.16 | miknix | cr2_, ? |
14:39.34 | cr2_ | miknix: there are some extra gpios controlled over i2c on omap850 phones wizard,herald et al. artemis is the only known exception. |
14:41.22 | miknix | cr2_, I didn't inspect much about them. do you know what are they being used for? |
14:44.07 | Marex-louise | cr2_: hi, Im still stuck in a bootloader |
14:44.27 | cr2_ | Marex-louise: on palmld ? |
14:44.52 | Marex-louise | yup |
14:45.04 | cr2_ | miknix: can't tell you exactly, but there are many of them. check the artemiscpld page |
14:45.31 | Marex-louise | cr2_: Im pretty sure it hangs in bootloader |
14:46.00 | Marex-louise | I compiled kernel so it doesnt suspend consoles and patched pxafb.c to disable screen blanking on suspend |
14:46.08 | cr2_ | http://wiki.xda-developers.com/index.php?pagename=ArtemisCPLD |
14:46.31 | Marex-louise | so ... the LCD's backlight is down, but I still can see something on the LCD |
14:46.48 | Marex-louise | but when I press the power button, the LCD gets blank |
14:47.03 | Marex-louise | so it stucks in the bootloader |
14:47.37 | miknix | cr2_, I will. but I'll try to look again into SPI and MMC before that. SPI 100k driver is using some wrong control registers. |
14:47.46 | miknix | babel helped a lot on the other day |
14:48.21 | miknix | on the MMC side I'm getting read timeouts |
14:48.52 | BabelO_ | miknix: should be ok soon, yesturday i fix the driver algorithm, so now it is mostly register access issue, but cr2 just explain me where are my problem |
14:49.37 | miknix | BabelO_, nice, what was it? |
14:51.06 | miknix | regarding the MMC, I verified the mux config and its correct. The driver has changed a little since the last working version. so I guess its something to do with mmc clock |
14:51.43 | miknix | s/the driver/the omap_mmci driver/ |
14:52.16 | BabelO_ | miknix: yesturday evening i add more trace on each step and simplify the algorithm |
14:52.45 | BabelO_ | miknix: problem is that there is a io_p2v in init funciton but no io_remap, so we never access the correct register |
14:53.09 | miknix | :o |
14:53.18 | Marex-louise | cr2_: any idea ? :) |
14:53.31 | miknix | BabelO_, I wonder how it booted then |
14:53.36 | miknix | kind of lucky |
14:54.41 | BabelO_ | miknix: i found it because when i use register init, my screnn turn black and device hang |
14:55.45 | miknix | BabelO_, so we better move that register initialization to spi 100k driver init? |
14:56.26 | miknix | s/?// |
14:56.33 | BabelO_ | miknix: all is ok, we just access bad register, i fix it once i go back to home |
14:56.59 | miknix | ok |
14:57.01 | cr2_ | Marex-louise: no idea. |
14:57.47 | miknix | BabelO_, tomorrow I'll build an qemu-system ARM926 image for building a root with GPE |
14:58.12 | Marex-louise | cr2_: hmm ... |
14:58.43 | BabelO_ | cr2_: about tsc2046_ts.c driver i get it from omap patch ;) that is why you not see it in hh kernel |
14:58.47 | Marex-louise | cr2_: I guess I will take the bootloader apart |
14:59.02 | Marex-louise | this will be long objdumping |
15:00.13 | miknix | BabelO_, why dont you join our git? we are on bleeding edge. you can create a branch for artemis and add specific workarounds for your board |
15:01.06 | miknix | cr2_, btw: I agree with you, a git repo for all the omap HTCs would be awesome |
15:01.28 | *** join/#htc-linux zwox (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) |
15:06.52 | cr2_ | BabelO_: i've created tsc2046_ts.h some time ago, but since the ads7846-ts is not using the spi infastructure, it's useless on omap. |
15:07.11 | cr2_ | BabelO_: universal has a tsc2046_ts.h header. |
15:08.39 | cr2_ | hmm. omap_set_gpio_direction |
15:08.52 | cr2_ | you may drop omap_ from this list. |
15:08.59 | dcordes | hi |
15:10.47 | cr2_ | BabelO_: i have a feeling that the omap people like to reinvent the wheel in many areas with their drivers. |
15:10.54 | infernix | morning dcordes :) |
15:12.46 | dcordes | infernix: phew was sleeping until now *_* |
15:13.35 | infernix | woke up at 1500 |
15:15.11 | *** join/#htc-linux ltxda (n=ltxda@c-98-196-125-205.hsd1.tx.comcast.net) |
15:21.46 | *** join/#htc-linux patoche (n=patoche@lns-bzn-57-82-249-24-224.adsl.proxad.net) |
15:22.56 | *** join/#htc-linux Nickbee (n=Dheeraj@122.160.64.226) |
15:25.59 | cr2_ | BabelO_: the driver is not bad, but it should be cleaned from the stupid things like omap_get_gpio_datain() |
15:26.47 | cr2_ | and evilness like #ifdef CONFIG_ARCH_OMAP |
15:27.05 | dcordes | infernix: any luck with X11 image? |
15:27.18 | infernix | http://forum.xda-developers.com/showthread.php?p=2145784&posted=1#post2145784 |
15:28.36 | dcordes | infernix: we should get sd going so we have the acx working for external console needs |
15:28.49 | dcordes | or usb as you say |
15:29.05 | dcordes | did you change something in inittab to make a console spawn after x11-image boots? |
15:29.44 | infernix | more |
15:29.46 | infernix | ill up it |
15:30.58 | dcordes | I'm pretty sure pH5 will be able to help us |
15:31.10 | dcordes | he's the htc OE guru |
15:32.16 | infernix | its purely X server related |
15:32.24 | infernix | Xfbdev -videoTest fails |
15:32.27 | infernix | then it hangs |
15:36.05 | infernix | http://dx.infernix.net/kaiser/ |
15:40.33 | dcordes | infernix: just poke when you need something changed in the kernel |
15:40.40 | cr2_ | BabelO_: i mean this one http://linux.omap.com/pipermail/linux-omap-open-source/2007-May/009745.html |
15:42.07 | BabelO_ | cr2_: yes i already use this one for artemis |
15:42.15 | infernix | dcordes: what do you mean with acx working? |
15:42.25 | infernix | is there a driver for wireless already? |
15:42.42 | dcordes | infernix: the 802.11g is an ti wl125 which is supported by the acx100 project |
15:42.54 | infernix | well then i can probably get that working already |
15:42.56 | dcordes | it is connected to sdc2 which we also have the driver for. |
15:43.04 | dcordes | did you play with sd yet? |
15:43.07 | infernix | no |
15:43.12 | infernix | oh |
15:43.18 | dcordes | I have a patch hre. you wanna look at it real quick? |
15:43.55 | infernix | well i don't have an sd card that i can play with yet |
15:44.01 | dcordes | no need |
15:44.05 | infernix | i'll have to get one, will do that in a bit |
15:44.07 | dcordes | just look at the code |
15:44.14 | infernix | i cant risk trashing the current data on it |
15:44.48 | dcordes | infernix: http://pastebin.ca/995898 |
15:47.02 | dcordes | there is something missing in there: the sdc init has to be put into board-htcvogue.c |
15:47.36 | Raven_coda | dcordes, those patches get us closer but it crashes try to enable clk |
15:47.54 | dcordes | no it doesn't crash at all. |
15:47.59 | infernix | well again i'll happily play with it but i need a new sdhc card first in case it accidentally wipes the data |
15:48.10 | dcordes | why would you need an sd card? |
15:48.19 | Raven_coda | not crash but sd won't work |
15:48.20 | dcordes | the acx is also connected to sdc |
15:48.36 | infernix | isnt the point of the sd driver to get a filesystem working? :) |
15:48.38 | dcordes | yea it doesn't. I see mmc messages on boot but no interaction |
15:48.57 | dcordes | infernix: not only. also to give ports for extra hardware like the acx. |
15:49.34 | infernix | Raven_coda: clk? |
15:49.45 | Raven_coda | it's needs ether msm_proc_comm working in vogue-ts or to work without a clk |
15:50.16 | Raven_coda | infernix, yeah hold on I'll find the line |
15:51.02 | dcordes | what does it mean, work w/o clk? |
15:51.24 | dcordes | the last line in the image with the patch is: mmc 0 hz or so |
15:56.03 | dcordes | is there a way to findout when I last updated a git repo? |
15:56.06 | dcordes | tree |
15:57.20 | dcordes | I will backup and fiddle in the patch to my current tree |
15:59.07 | dcordes | infernix: can you tell me what you changed in the x11 image? inittab, .. |
15:59.40 | infernix | i upped it |
15:59.53 | dcordes | yea I know I can't diff it or so to see what you changed |
16:00.47 | *** join/#htc-linux JohnnyK (n=johnnyk@nfx-nat-229.pilsfree.net) |
16:01.23 | Raven_coda | I'm pretty sure it's in msm_sdcc aprox line 960 |
16:01.36 | Raven_coda | ret = clk_enable(.... |
16:02.05 | Raven_coda | clk_enable calls msm_proc_Comm |
16:02.16 | Raven_coda | which right now just returns -1 |
16:06.28 | infernix | dcordes: sure you can |
16:06.35 | infernix | extract it like any regular initrd |
16:06.49 | infernix | diff -R angstrom-x11-stock/ angstrom-x11-nix/ |
16:12.58 | *** join/#htc-linux hlbot (n=adm@iclem.net) |
16:32.00 | dcordes | infernix: ok will do later. have something to do out in the wild |
16:37.18 | *** join/#htc-linux nx5_away (n=pocholo@84.78.40.245) |
17:09.21 | *** join/#htc-linux kiozen (n=kiozen@rgnb-4db1fd94.pool.einsundeins.de) |
17:11.05 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
17:16.45 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
17:26.38 | *** join/#htc-linux amd64lover (n=miknix@213.13.201.84) |
17:47.30 | BabelO | cr2_: my adress is omap850 register... is ioremap the good way ? |
17:59.49 | *** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi) |
18:07.24 | *** join/#htc-linux CVirus (n=GoD@82.201.174.127) |
18:07.55 | *** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz) |
18:09.08 | BabelO | kiozen: around ? ;) |
18:10.52 | kiozen | BabelO: yes |
18:11.30 | BabelO | kiozen: xor with c language is ^ ? |
18:11.40 | kiozen | BabelO: right |
18:12.32 | BabelO | kiozen: ok good |
18:12.44 | kiozen | :) |
18:13.02 | kiozen | sound like nasty bit hacking |
18:15.44 | miknix | meh |
18:15.49 | miknix | my qemu is b0rked |
18:16.39 | *** join/#htc-linux CVirus (n=GoD@82.201.174.127) |
18:41.31 | dcordes | Raven_coda: ping |
18:47.35 | Raven_coda | dcordes: pong |
18:50.39 | miknix | is someone using qemu? |
18:51.01 | miknix | I have one linux image which I'm having trouble to boot. someone willing to test it? |
18:51.19 | miknix | I think my qemu is b0rked |
18:59.13 | cr2_ | kiozen: does GT work in windows ? |
18:59.37 | dcordes | Raven_coda: did you try disabling sd clock? |
19:00.07 | Raven_coda | yes, I get timeout errors if I do so |
19:00.30 | dcordes | that's good. SanMehat that's the first step, getting timeouts. |
19:00.43 | dcordes | s/SanMehat/SanMehat said/ |
19:01.42 | Raven_coda | mmc0: Transaction 0xc7497ec4 timed out |
19:01.58 | Raven_coda | flags 0x00000001 |
19:02.01 | dcordes | I think that's it |
19:02.10 | Raven_coda | did he say what the next step was by chance? |
19:03.16 | dcordes | I'm checkin the logs |
19:05.08 | dcordes | http://apt.rikers.org/%23htc-linux/20080417.html.gz even if the power to your sd slot is off, with no card you should get a CMD_TIMEOUT interrupt a few ms after issuing the first command. |
19:06.33 | dcordes | does it say cmd_timeout? |
19:07.34 | Raven_coda | hold on I'm checking |
19:08.09 | dcordes | I got a row of those cmd_things but I couldn't check them all because had no keyboard in my source then |
19:09.02 | Raven_coda | no, doesn't say CMD_TIMEOUT |
19:09.13 | Raven_coda | I'm going to trace these and see where they are comming from |
19:09.30 | dcordes | Raven_coda: what did you do to the tree regarding sd? the stuff from my patch, sdcc init for kaiser and that clk thing? |
19:09.43 | dcordes | do you get other cmd_stuff? |
19:10.02 | Raven_coda | here, I'll send you my patch |
19:12.00 | Raven_coda | k sent, against android-msm |
19:13.17 | Raven_coda | to disable clocks change line 59 in 7x00-smd from return -1; to return 0; |
19:14.18 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
19:20.03 | kiozen | cr2_: yes |
19:24.58 | cr2_ | kiozen: you can't believe how many people ask me how to convert the ozi file into geotiff, and get the grid look right :) |
19:25.22 | kiozen | what grid :) |
19:27.09 | cr2_ | rotate the GK grid |
19:27.59 | kiozen | who want's to rotate it? It's not N-S anyway |
19:28.12 | cr2_ | the users(tm) |
19:31.07 | Raven_coda | Qualcomm MSM SDCC at 0x00000000e1000000 irq 24,25,0 dma 8 |
19:31.13 | kiozen | cr2_: tell them to move a waypoint in exact 0° north in QLandkarte, and they should pay attention it it is parallel to the grid |
19:31.24 | kiozen | that is quite an eyeopener |
19:34.10 | cr2_ | kiozen: the problem (for me) is to import .jpg if the picture is .jpg, and to parse the datum (easy ~ mapinfo) and projection data |
19:34.23 | cr2_ | the projection params at least for GK. |
19:34.50 | cr2_ | then i'll advise them to use GT :) |
19:35.22 | kiozen | maps as jpg, yuck :) |
19:36.41 | kiozen | cr2_: for the grid, you can show them that shot: http://www.qlandkarte.org/shot1.png |
19:36.45 | dcordes | Raven_coda: my tree doesn't have 7x00-smd |
19:37.01 | kiozen | never trust a grid to be exact N-S |
19:37.08 | cr2_ | kiozen: the code works for ozf2 and gcp parsing already |
19:37.10 | Raven_coda | that patch I just sent you has it in it |
19:37.24 | Raven_coda | arm/arch/mach-msm/7x00-smd.c |
19:37.42 | kiozen | cr2_: any sneak preview? |
19:38.30 | cr2_ | kiozen: C, commandline. i guess you'd do it better with qstring |
19:38.31 | dcordes | Raven_coda: I fear that will break my current tree |
19:38.42 | dcordes | can't I do that with the present stuff? |
19:38.49 | dcordes | I'm working with vogue.c |
19:38.51 | *** join/#htc-linux marbalon (n=balon@aefe139.neoplus.adsl.tpnet.pl) |
19:38.54 | cr2_ | kiozen: no time to finish it for me ;) spi ... :) |
19:39.01 | Raven_coda | yeah, 7x00-smd.c = vogue-smd.c |
19:39.05 | dcordes | I tried to avoid kaiser specific stuff to better keep up with dzo's work. |
19:39.07 | cr2_ | kiozen: sending. |
19:39.24 | Raven_coda | I've been working with dzo to make this patch |
19:39.25 | dcordes | Raven_coda: ok |
19:39.41 | dcordes | I'll try to keep it sleek for now to ease changes |
19:40.34 | Raven_coda | however my clock.c and the one you have are very different |
19:40.48 | Raven_coda | not sure how that will affect it |
19:41.38 | Raven_coda | basically you can reset clock.c to how i was before any patches |
19:42.55 | Raven_coda | hi marbalon, what's new? |
19:44.23 | marbalon | hi everyone, no try to fix ts driver to more useful |
19:44.34 | cr2_ | kiozen: sent. |
19:44.48 | kiozen | ok, got it |
19:44.49 | dcordes | evening marbalon |
19:45.41 | marbalon | any news form you? |
19:45.50 | Raven_coda | just working on sd |
19:46.03 | kiozen | cr2_: any example file around? |
19:46.24 | Raven_coda | the touch screen has some crazy skew to it's y data that just seems odd |
19:46.43 | cr2_ | kiozen: hmm. i've used it on 20000x20000 files here ;) |
19:46.48 | cr2_ | kiozen: i'll search. |
19:47.52 | kiozen | wow even a usage line :) |
19:48.35 | marbalon | Raven_coda: yes, it's true |
19:50.07 | Raven_coda | marbalon: and the fact that I have to use Z1 & Z2 to get pressure data makes me think it's not the same ts as vogue |
19:50.19 | Raven_coda | but touch.dll says tsc2003 in it |
19:50.36 | cr2_ | kiozen: lol. this one is fun http://www.b-spachmueller.de/_seiten/kartographie/gps-mobil/bs_gps-mobil.html |
19:50.41 | Raven_coda | I wonder if the kaiser ts needs to be init differently |
19:50.47 | cr2_ | kiozen: looking for something better |
19:51.42 | marbalon | Raven_coda: i think it is ok but android should calibrate it |
19:52.19 | dcordes | marbalon: you mean userspace calibration? |
19:52.22 | dcordes | not driver |
19:52.31 | Raven_coda | are you writting a proggy to calibrate it |
19:52.32 | marbalon | Raven_coda: I try to calibrate it in driver but it isn't good way |
19:52.42 | dcordes | ok |
19:53.02 | dcordes | openembedded gui stuff always has calibration thing. |
19:54.03 | Raven_coda | marbalon, yeah driver has no way to adjust for skew |
19:54.20 | cr2_ | kiozen: http://www.hrpu.co.uk/karennben/maps/atlas |
19:55.54 | kiozen | cr2_: how does ozi know what projection to use? |
19:55.55 | dcordes | marbalon: have you looked at sd again? |
19:56.05 | Raven_coda | I wonder if the vogue has similar ts skew probs |
19:56.08 | marbalon | Raven_coda: but I try to calibrate only for my device, maybe works ok for others, just for now |
19:56.50 | dcordes | marbalon: on other devices I have seen same calibration works for alle the devices of that type |
19:57.13 | cr2_ | kiozen: there is a line for datum, and the line for projection |
19:57.18 | cr2_ | kiozen: i'll look |
19:58.19 | marbalon | dcordes: give me a little time, maybe I will send you this driver this evening.... |
19:58.26 | cr2_ | kiozen: the line number 5 (starting from 1), first CSV field is the datum |
19:58.33 | dcordes | marbalon: sd? |
19:58.41 | marbalon | no ts |
19:59.02 | cr2_ | kiozen: the line number 40 -> Projection Setup |
19:59.08 | Raven_coda | marbalon, I'd be curious to see what works best for your screen too. |
19:59.17 | cr2_ | kiozen: are the CSV parameters |
19:59.46 | kiozen | hm |
19:59.59 | cr2_ | kiozen: the line number 9 is something like that |
20:00.02 | cr2_ | Map Projection,Transverse Mercator,PolyCal,No,AutoCalOnly,No,BSBUseWPX,No |
20:01.10 | cr2_ | so 5 is datum, 9 is the projection, and 40 is the projection params. like +lat_0=, +lon_0=, +x_0=, +y_0= |
20:02.04 | cr2_ | use QString.split(,',') and check the first field and the line number |
20:02.32 | cr2_ | the program does it all in C, so it's a bit pita :) |
20:03.26 | kiozen | ok, let's see if I find some time for this :) have to make a GT release first |
20:06.00 | cr2_ | ok. |
20:07.45 | *** join/#htc-linux zwox (i=zwox@par69-7-82-243-234-94.fbx.proxad.net) |
20:12.56 | *** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net) |
20:13.09 | pikapika | hi |
20:14.04 | dcordes | hai pikapika |
20:15.53 | Pryan | dcordes jajajajajaa |
20:16.15 | dcordes | Pryan: jajajajajajajjaja |
20:16.38 | Pryan | wats up guy ? |
20:17.42 | dcordes | Pryan: not much |
20:20.02 | dcordes | Pryan: what about you? have your keyboard working finally? |
20:25.32 | Pryan | nope |
20:25.32 | pikapika | hi dcordes :) |
20:25.41 | Pryan | i havent bought the cable |
20:26.42 | dcordes | you seem very eager :) |
20:27.20 | Pryan | :o) |
20:27.45 | Pryan | spend-man is my second name |
20:29.37 | *** join/#htc-linux kiozen (n=kiozen@rgnb-4db1fd94.pool.einsundeins.de) |
20:30.17 | kiozen | cr2_: I checked, GT compiles and works nicely on Windows |
20:30.24 | kiozen | good night :) |
20:35.31 | *** join/#htc-linux dcordes_ (n=lukas@92.227.185.100) |
20:35.51 | dcordes_ | infernix: ping |
20:40.09 | dcordes_ | infernix: ping |
21:29.38 | *** join/#htc-linux patoche (n=root@lns-bzn-57-82-249-24-224.adsl.proxad.net) |
21:42.40 | *** join/#htc-linux Foxdie (n=foxdiefu@87-194-16-145.bethere.co.uk) |
21:53.43 | *** join/#htc-linux Foxdie` (n=foxdiefu@87-194-16-145.bethere.co.uk) |
21:55.16 | *** join/#htc-linux nx5_away (n=pocholo@84.78.40.245) |
21:57.21 | *** join/#htc-linux nx5_0ff (n=pocholo@84.78.40.245) |
21:58.24 | *** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130) |
22:49.00 | cr2_ | hi tsdogs |
22:51.29 | Raven_coda | dcordes_, if you see marbalon before I do tell him I fixed the ts |
22:51.39 | Raven_coda | after talking with him it gave me an idea |
22:51.43 | dcordes_ | Raven_coda: driver or userspace level? |
22:51.44 | paulproteus | Howdy tsdogs. |
22:51.48 | Raven_coda | driver |
22:52.12 | dcordes_ | that's great :) can you pastebin the kaiser-ts.c? |
22:52.21 | Raven_coda | I looked through touch.dll to see how windows does it rather then dzo |
22:52.54 | Raven_coda | I'm making a post on the thread that has the diffs |
22:53.13 | dcordes_ | a gui from openembedded helps us integrating the whole stuff to OE |
22:53.49 | dcordes_ | Raven_coda: does that patch against marbalons initial driver? |
22:53.55 | dcordes_ | err the second one I mean of course |
22:54.08 | dcordes_ | lol I'm confused |
22:54.51 | Raven_coda | no, but my patch has his driver, the sdcc stuff and dzo's smd |
22:57.23 | dcordes_ | from scratch so to say |
22:57.31 | Raven_coda | yeah |
22:57.53 | dcordes_ | ok I will try the touchscreen stuff tomorrow when I continue with OE/openmoko |
22:58.03 | Raven_coda | k |
22:58.10 | dcordes_ | did you do any further SD stuff today? |
22:58.19 | Raven_coda | no, got side tracked |
23:04.38 | *** join/#htc-linux TimRiker (n=timr@rikers.org) |
23:09.49 | dcordes_ | Raven_coda: I just tried applying the diff with the SD changes I did to the latest tree and got rejects in common.c: in the latest tree something changed in these functions "static struct resource msm_sdc*_resources[]" |
23:10.44 | Raven_coda | which diff? |
23:11.38 | dcordes_ | DMA stuff was added to the sd resource functions |
23:12.09 | dcordes_ | the one which only reduces sdc device count from 4 to 2 and corrects the registers |
23:12.11 | Raven_coda | try the one in my post |
23:12.20 | dcordes_ | now that will dorky my whole tree |
23:12.35 | dcordes_ | I can make a second clone though |
23:13.43 | dcordes_ | did you keep the .flags= IORESOURCE_DMA, in your sd patching? |
23:13.49 | dcordes_ | in common.c |
23:13.51 | Raven_coda | yes |
23:14.22 | Raven_coda | try this patch against most recent andorid-msm tree |
23:14.38 | Raven_coda | that's the one I use now (since yesterday) |
23:15.03 | Raven_coda | I got to go, or I'll miss my ride. Later |
23:41.24 | dcordes_ | infernix: please don't try and continue working on the a780 image's x11 support: the framebuffer is very specific for the motorola stuff. looks like I picked just the wrong image ;) |
23:41.34 | dcordes_ | sorry |
23:44.41 | *** join/#htc-linux p3t3r__ (n=p3t3r__@wlan.net-you.de) |