00:00.08 | *** join/#htc-linux CPress (n=cpress@CPE-72-129-218-217.new.res.rr.com) |
00:00.18 | CPress | Good afternoon all. |
00:00.48 | rebo0t | hi there |
00:00.52 | ginge | CSD hold the data for parameters of the card |
00:01.33 | exco | *g* at 2 AM |
00:02.48 | dcordes | CPress: hola |
00:03.18 | CPress | Did you guys make amazing progress while I was away? |
00:03.34 | exco | ;-( |
00:03.47 | CPress | aww.... |
00:04.07 | CPress | That's not the answer I wanted to hear... /sadface |
00:04.35 | ginge | lie mode |
00:04.36 | ginge | CPress: yes, it all works perfectly now, and the kaiser can also make tea |
00:04.40 | ginge | lie mode off |
00:05.48 | exco | pH5 still here? |
00:06.27 | pH5 | exco: yup |
00:06.30 | ginge | hmm. it sends a CMD5 which according to the spec is reserved |
00:06.42 | ginge | anyone a MMC whizz? |
00:06.58 | dcordes | ginge: reserved for tea interfaces? |
00:07.13 | Marex | pH5: gotcha ... hi ;) |
00:07.20 | ginge | dcordes: I wish :/ |
00:07.31 | dcordes | ginge: you could ask the moko people |
00:07.41 | dcordes | the moko phones also have sd |
00:07.46 | ginge | dcordes: which channel? |
00:07.53 | dcordes | #openmoko |
00:07.55 | pH5 | Marex: :) hi |
00:07.56 | Marex | pH5: do you use jabber (IM) by any chance ? |
00:08.11 | exco | pH5: could you point me to where I can read up on userspace regarding that touchscreen problem? |
00:08.13 | dcordes | ginge: or bug pH5 :D |
00:08.19 | dcordes | or Marex |
00:08.23 | pH5 | Marex: didn't you ask me that already? |
00:08.36 | Marex | pH5: yes I did, but you forgot to reply :p |
00:08.45 | ginge | pH5: ahem ;) |
00:09.50 | Marex | anyway ... Im currently hacking on ucb1400 codec ... I split it into core and touchscreen functions and now Im looking into GPIO stuff ... would it be possible to use gpio_set/get_ stuff for handling even that chip's GPIOs ? |
00:10.16 | Marex | pH5: ^ :) |
00:10.39 | pH5 | exco: not sure, I'd login via ssh and check whether I get valid data from the input device nodes |
00:11.32 | exco | no valid data imo |
00:12.11 | pH5 | Marex: possible? sure. would it make sense? probably. if other devices use those gpios, a gpiochip driver is the only sane solution |
00:12.25 | Marex | pH5: ok :) |
00:12.47 | Marex | pH5: and about the jabber >:-) |
00:14.23 | pH5 | ginge: I'm not very fluent in mmc/sd protocol w/o something to look up at hand |
00:14.37 | pH5 | Marex: pH5@jabber.org |
00:14.51 | pH5 | strange, I was sure I told you before |
00:14.59 | Marex | ginge: if you need specs for sd, check toshiba, they put them out in public |
00:15.08 | Marex | moreover sd association put out some simplified specs |
00:15.18 | Marex | pH5: thanks |
00:15.19 | ginge | pH5: no worries, I think I am getting the hang of this now. Just read the toshiba sheets |
00:15.45 | pH5 | great |
00:16.24 | rebo0t | pH5, what is latest and best working om for magician atm? |
00:16.49 | pH5 | re |
00:16.49 | marajin | ginge: Your lie mode is too verbose! |
00:17.19 | pH5 | b0t: exco and paulproteus will know better than me |
00:17.54 | exco | well still yours, pH5 |
00:18.10 | Marex | hmm ... now I need asoc audio driver for ucb1400, but I'd need a codec driver first |
00:18.15 | Marex | jeez :/ |
00:18.16 | ginge | marajin: I need to work on it ;) |
00:18.19 | rebo0t | where can i find sim card settings in wm2003se? |
00:18.48 | exco | rebo0t: what do you want to do? |
00:18.59 | pH5 | Marex: do datasheets exist? |
00:19.16 | rebo0t | http://forum.xda-developers.com/showthread.php?t=370619 |
00:19.43 | Marex | pH5: what for ? |
00:19.52 | rebo0t | look after post of bkrot |
00:19.54 | Marex | pH5: for SD they do |
00:19.59 | rebo0t | bkor |
00:20.12 | Marex | pH5: for ucb1400 as well |
00:20.37 | Marex | ucb1400 is a generic ac97 device ... |
00:20.45 | exco | The GSM is working on the Qtopia image (kernel), the fact is that the Phone application does not know how to handle it, rebo0t |
00:21.07 | exco | disabling pin won't help |
00:21.17 | rebo0t | could try xD |
00:22.21 | exco | so press call button -> Extras -> Options -> disable pin |
00:22.42 | marajin | ginge: Very true! Anyway man, I need to check out for the night. Yawning my head off and big family bbq/party is tomorrow. I'll lift a few bevvies to you and dcordes though ;) |
00:23.06 | exco | since I have it off I know it doesn't help, rebo0t |
00:23.08 | ginge | marajin: good night, and thanks. enjoy! |
00:23.33 | exco | night, ginge |
00:23.57 | rebo0t | oh it's off allready i see |
00:24.02 | ginge | exco: stuck with me for a while longer yet, marajin is off |
00:24.03 | rebo0t | good night |
00:24.18 | exco | ;-) |
00:24.39 | dcordes | night marajin |
00:25.34 | dcordes | More than one alcoholic drink. Plural of bevy. Word used throughout the UK, but originally more common in the North/Scotland. |
00:26.07 | dcordes | I think I've had enough friday but thanks :) |
00:26.09 | marajin | dcordes: Yes that's right, in this case I choose for you... dark ales :) |
00:26.20 | marajin | Night tho' ;) |
00:26.54 | rebo0t | so there is no fix yet for the status bar? |
00:27.31 | dcordes | matsuu: ping |
00:29.07 | exco | paulproteus: ping |
00:29.13 | paulproteus | exco, pong but on the phone |
00:33.35 | exco | that output looks good. doesn't it? http://pastebin.com/d4d012e49 |
00:34.43 | pH5 | looks sane to me |
00:35.27 | exco | so what could be the problem I can't use the touchscreen? |
00:37.32 | pH5 | the driver obviously works if you get that output from ts_calibrate, so my part is done ;) |
00:37.51 | pH5 | you don't get any reaction from the ts in X? |
00:38.27 | exco | the error I can see (half when rotated) is http://img296.imageshack.us/my.php?image=pict7016nw7.jpg |
00:38.48 | exco | no |
00:39.02 | exco | but the device buttons work |
00:39.45 | rebo0t | exco, u are in vga mode? |
00:39.51 | dcordes | ginge: does toshiba documenation bring enlightenment? |
00:40.07 | ginge | just casts doubt |
00:40.24 | exco | I just changed screen orientation, rebo0t |
00:40.35 | pH5 | there should be something wrong with the way it tries to open the input device |
00:41.05 | pH5 | can you pastebin /etc/X11/Xserver ? |
00:41.15 | pH5 | is kdrive version 1.4 ? |
00:41.42 | pH5 | does /dev/touchscreen0 exist and point at the correct input device? |
00:42.03 | exco | sorry I'm so slow but got a broken right arm :-) |
00:42.33 | pH5 | the error messages in that picture look like they are just notifications from the OM stuff |
00:43.14 | exco | http://pastebin.com/d69c40e1 xserver |
00:43.36 | exco | how do I check kdrive version? |
00:44.29 | pH5 | exco: no problem, I'm slow myself on that n810 keyboard even without injuries. get well soon :) right handed? |
00:44.47 | pH5 | opkg -s xserver-kdrive |
00:44.55 | exco | .. /dev/touchscreen 0 doesn't exist |
00:45.30 | exco | but /dev/input/event0, event1 and touchscreen0 |
00:46.19 | exco | <PROTECTED> |
00:47.10 | pH5 | hm, but the file you just posted tells kdrive to open /dev/input/event0 as mouse |
00:47.30 | |miknix| | hey pH5 |
00:47.34 | exco | opkg: unrecognized option `-s' |
00:47.39 | pH5 | is that the ts? or is it event1 and event0 are the buttons? |
00:47.58 | pH5 | ugh right, opkg is not dpkg |
00:47.59 | exco | I think event1 is the ts |
00:48.24 | pH5 | then just try changing that in /etc/X11/Xserver |
00:48.56 | pH5 | hi |miknix| |
00:49.29 | exco | output of event1 and touchscreen0 look alike |
00:50.40 | pH5 | so i think the problem is your configuration tries to open the button device as touchscreen |
00:50.50 | exco | wasn't opkg ipkg before? |
00:51.11 | pH5 | right |
00:51.25 | Marex | opkg ? :O |
00:51.40 | Marex | someone was bored again ? |
00:52.02 | exco | no more nano? |
00:52.47 | |miknix| | how does your omap850 machine go? |
00:54.47 | exco | who'd have thought I remembered how to do it with vi |
00:56.51 | exco | do you already have a native bootloader for one of the htc devices? |
00:58.08 | pH5 | miknix: still bricked, I've started to play with running its bootloader in qemu, but qemu omap850 is really incomplete |
00:58.45 | miknix | pH5: hum.. are you using the versatile emulation? it works fairly well for me to build ntive packages |
00:59.00 | matsuu | dcordes: pong |
00:59.07 | pH5 | exco: I didn't look into this again yet. last time I had trouble turning on the sdram |
00:59.47 | dcordes | matsuu: I'm in your initrd |
01:00.02 | exco | I have the JTAG pins ... just in case |
01:00.18 | pH5 | miknix: there's support for one of the omap1's in qemu, I based omap850 on that |
01:00.29 | pH5 | exco: magician? |
01:00.33 | exco | well touchscreen0 didn'do it |
01:00.38 | exco | yes, h |
01:00.52 | pH5 | I want |
01:00.56 | exco | yes for magician |
01:01.08 | matsuu | dcordes: cool |
01:01.15 | dcordes | matsuu: when I try use the browser, it says no network coverage |
01:02.08 | pH5 | you get that info? |
01:02.19 | pH5 | exco: how did you* |
01:02.34 | matsuu | dcordes: me too, but after that, my kaiser load correct page. |
01:03.00 | exco | bake it like Wallaby |
01:03.02 | exco | http://www.excogitation.de/ |
01:03.22 | pH5 | terrific :) |
01:03.43 | ginge | dcordes: do you get the "G" in matsuu's image? |
01:03.46 | matsuu | dcordes: do you insert your carrier info into telephony.db? |
01:04.16 | exco | have I still linked those pictures to localhost? |
01:04.17 | dcordes | exco: nice baking oven!! |
01:04.19 | matsuu | ginge: i also have no "G" image. |
01:04.33 | matsuu | ginge: but network works well. |
01:04.38 | exco | cool, huh? :-) |
01:05.05 | ginge | matsuu: phone not working for me either |
01:05.40 | ginge | matsuu: what is the field "numeric" for? |
01:06.17 | matsuu | dcordes: ginge: ah, it have to connect network on WindowsMobile before you boot android. |
01:06.50 | ginge | matsuu: that works without your patch |
01:07.27 | matsuu | ginge: numeric = mcc + mnc. |
01:07.37 | ginge | matsuu: thanks |
01:08.33 | matsuu | ginge: yup, my phone also doesnt work call with my patch. data only. |
01:08.49 | ginge | matsuu: that is ril related |
01:08.54 | dcordes | in matsuu's image phone works for me |
01:09.04 | ginge | dcordes: orly? |
01:09.13 | dcordes | yes |
01:09.15 | ginge | dcordes: interesting |
01:09.16 | matsuu | !!! |
01:09.43 | dcordes | I am running with the zImage build from current git tree |
01:09.59 | dcordes | s/d/t/ |
01:10.15 | ginge | dcordes: can you put that up inthe boot-kit? |
01:10.22 | dcordes | sure |
01:12.10 | exco | pH5: guess you found the big version: |
01:12.11 | exco | http://excogitation.de/wp-content/uploads/2008/07/naked-magician-insane_jtag.jpg |
01:12.22 | pH5 | now I need a jtag board after all |
01:12.38 | pH5 | exco: yeah, and it nearly killed the tablet |
01:12.58 | dcordes | ginge: one minute. need to rebuild. had it overwritten with zImage-nosmd |
01:13.06 | Marex | pH5: GPIOlib seems pretty i2c specific |
01:13.19 | pH5 | Marex: not at all |
01:13.54 | pH5 | look at htc-egpio or asic3 for gpio drivers for memory mapped chips for example |
01:14.02 | pH5 | or all the soc code |
01:14.13 | dcordes | ginge: I'm actually happy I didn't break htc-msm with the last commits ^^ |
01:14.32 | ginge | dcordes: :) always a bonus |
01:15.06 | Marex | pH5: ok, thanks |
01:17.16 | rebo0t | any progress yet? :) |
01:17.22 | pH5 | exco: thanks for the baking pics. did you already try to connect? |
01:17.41 | exco | no |
01:17.57 | exco | I have no idea about jtag |
01:18.09 | exco | nor linux :-P |
01:18.23 | pH5 | me neither. yet :) |
01:18.38 | exco | but I thought we might need it for bootloader dev |
01:18.43 | matsuu | dcordes: ginge: i want new key assign for 'setconsole -v 1', but i dont know how to do it. |
01:19.01 | pH5 | that will certainly take some fear away |
01:19.04 | rebo0t | where can i find the image of the now working touch screen? |
01:20.21 | pH5 | going to dream of reviving my bricked magician now |
01:20.26 | pH5 | good night |
01:20.33 | exco | nothing new, rebo0t |
01:20.42 | exco | night, pH5 |
01:21.00 | rebo0t | bibi |
01:21.23 | rebo0t | bricked? |
01:22.36 | ginge | matsuu: tried a few things now, no phone no data :( |
01:22.37 | exco | you know when it's not working anymore it's basically just a brick |
01:22.49 | rebo0t | oh |
01:22.50 | rebo0t | okay |
01:23.30 | rebo0t | anyone know's a program to edit .exe's? |
01:24.12 | exco | what are you trying to achieve? |
01:24.19 | ginge | rebo0t: you generally shouldn't/don't |
01:24.25 | ginge | good night all. |
01:24.30 | matsuu | ginge: how about proxy? |
01:24.34 | rebo0t | good night |
01:24.42 | ginge | matsuu: what about it/ |
01:24.42 | exco | changing icons works :-) |
01:24.43 | ginge | ? |
01:24.45 | dcordes | ginge: http://linuxtogo.org/~lgorris/zImage_htc-msm try with this |
01:24.51 | exco | night ginge |
01:24.54 | rebo0t | i dont want to archieve i just want to change what it start's automatically :) |
01:24.58 | ginge | dcordes: okay, 1 last try |
01:26.08 | rebo0t | well i can edit my autorun file so it doesn't reset when done installing app's |
01:26.36 | rebo0t | file tpdisable disable's ur tochpad :) |
01:26.47 | exco | you just have to edit the txt |
01:26.49 | rebo0t | kinda stupid if u tap on it |
01:26.50 | exco | yes |
01:27.00 | rebo0t | but |
01:27.02 | *** part/#htc-linux exco (n=exco@e181067203.adsl.alicedsl.de) |
01:27.16 | *** join/#htc-linux exco (n=exco@e181067203.adsl.alicedsl.de) |
01:27.31 | rebo0t | if i place the exe on my sd card and i run it it does exactly the same as in the extend_rob |
01:27.34 | rebo0t | rom* |
01:28.06 | matsuu | ginge: you switch to console with setconsole, you can debug easily |
01:28.17 | exco | yes because the registry points to rom |
01:28.32 | ginge | matsuu: how do I switch to console from within android? |
01:28.44 | matsuu | 'setconsole -v 1' |
01:28.46 | rebo0t | so it doesn't mather if i edit the autorun to start haret? |
01:28.55 | ginge | matsuu: right but where |
01:29.13 | ginge | matsuu: do you mean not boot the gui? |
01:29.27 | ginge | dcordes: fail |
01:29.34 | exco | well no but the thing is: does the autorun start on insert? |
01:30.05 | rebo0t | nope |
01:30.10 | rebo0t | it doesn't do that |
01:30.19 | matsuu | ginge: ex. i added the last line of setupmodem.sh in previous image. |
01:31.03 | ginge | matsuu: ok data works now, just no phone |
01:31.29 | dcordes | ginge: with gprs openned while you boot? |
01:31.36 | ginge | dcordes: yes |
01:31.51 | ginge | matsuu: nice touch with the rotate app |
01:31.55 | rebo0t | downloading tomtom now |
01:32.02 | dcordes | ginge: ack |
01:32.22 | exco | so ... that's probably first but if you have to go through screen calibration ... anyways then we don't really need it, rebo0t |
01:32.41 | ginge | big crash: right, I really am off. |
01:33.28 | rebo0t | but if we can only make it that if u plug in it start's running would be awsome to imo |
01:35.04 | exco | shouldn't be too hard ... google "2577 autorun" |
01:36.38 | exco | ok still want sd-card autorun |
01:37.06 | rebo0t | well we will need an autorun anyway |
01:37.17 | rebo0t | or is haret an exe? |
01:37.30 | exco | yes it is |
01:37.57 | rebo0t | so if u rename it it would be fine |
01:38.05 | rebo0t | and place it in /2577/ |
01:38.26 | exco | didn't work for me but give it a try |
01:38.32 | rebo0t | k |
01:40.08 | rebo0t | work's for me |
01:40.08 | CPress | Hello All |
01:40.20 | rebo0t | when i plugin haret boot's up |
01:40.26 | rebo0t | only i got to do is press run |
01:41.01 | rebo0t | but u get error when u pres run than |
01:42.03 | exco | yes because it doesn't find image and such |
01:42.15 | exco | good work though |
01:42.41 | rebo0t | where does it searc for the readme.txt? |
01:42.46 | rebo0t | and other files |
01:42.59 | exco | same folder as haret |
01:43.06 | exco | so 2577 |
01:43.18 | rebo0t | so u need to copy them there to? |
01:43.27 | exco | guess so |
01:44.38 | rebo0t | nope the files need to be in \windows\ |
01:45.17 | rebo0t | maybe if we make a shortcut to haret.exe with an autorun.exe? |
01:46.52 | rebo0t | the filesystem of winmo is /dev/sd or how is it? |
01:47.14 | exco | ? |
01:47.29 | CPress | Did you guys get the SD reader to work? |
01:47.38 | exco | fs is fat16/fat32 |
01:47.45 | rebo0t | so |
01:48.04 | rebo0t | the sd card in pda is just \fat16/32\ |
01:48.09 | rebo0t | 16 or 32 ofc |
01:48.57 | exco | filesystem != location |
01:49.25 | exco | SD card is just /Speicherkarte (in German) |
01:50.32 | CPress | I dont understand exco |
01:51.07 | exco | sorry, was just talking to rebo0t |
01:51.34 | exco | don't know about your SD reader, CPress |
01:52.35 | CPress | Oh, what are you guys talking about then? |
01:54.44 | rebo0t | making the sd card autorun haret when u plug it in |
01:56.56 | rebo0t | brb gonna smoke |
01:58.11 | exco | still no freakin mouse |
02:00.56 | rebo0t-smoke | mouse? |
02:06.07 | rebo0t | any possibility to edit an exe file? |
02:15.51 | exco | paulproteus: guess a lot has changed since we built that "broken" image ... http://pastebin.com/d6433154f |
02:19.42 | paulproteus | exco, Wow, so it seems. |
02:22.41 | exco | the touchscreen seems to work just xserver starting with wrong parameters ... couldn't get it right though |
02:25.19 | paulproteus | So did you get it right eventually? |
02:25.19 | paulproteus | Is this openmoko-devel-image? |
02:27.25 | exco | no not yet |
02:27.37 | exco | but am working on it again |
02:27.53 | exco | the one you built so yes |
02:29.25 | exco | now I'm trying to figure out how to start stop xserver using ssh to test different parameters and get it to work |
02:47.08 | *** join/#htc-linux proverse (n=proverse@cpe-76-183-218-193.tx.res.rr.com) |
02:47.22 | fhteagle | greetings all |
02:50.20 | paulproteus | exco, you could always: |
02:50.21 | paulproteus | killall X |
02:50.22 | paulproteus | X :1 |
02:50.34 | dcordes | fhteagle: yep |
02:51.23 | fhteagle | is catching up on "The thread that gets updated" (sorry, been in class 60 hrs this week, not much time to read)... |
02:51.51 | fhteagle | whats the new nosmd (sic) file on lgorris site? |
02:52.30 | dcordes | it's just the kaiser kernel without the shared memory driver initializing |
02:52.41 | dcordes | nothing you wanna try |
02:53.04 | fhteagle | gotcha... rest of the files dated 8 JUL are relatively stable, though? |
02:53.15 | fhteagle | anything you all need specific testing aimed at? |
02:53.38 | dcordes | fhteagle: well just try it out ;) no, thanks. no special testing needed atm |
02:53.41 | *** join/#htc-linux wire (n=wired@unaffiliated/wireddd) |
02:54.05 | dcordes | ginge almost has SD working. that's probably the most exciting news |
02:54.41 | fhteagle | indeed. |
02:55.11 | fhteagle | with SD working means we can store apps and initrd separately, not initrd size limited as to what can be "cooked in", right? |
02:55.39 | dcordes | yes you can cook in tons of stuff then |
02:55.49 | dcordes | 8Gig if your sd is 8 gig |
02:58.22 | *** join/#htc-linux mxktmdude_ (n=mxktmdud@dslB-3.tcc.on.ca) |
02:59.28 | fhteagle | excellent |
02:59.30 | *** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be) |
02:59.43 | exco | paulproteus: root@magician:~# X:1 |
02:59.43 | exco | -sh: X:1: not found |
02:59.43 | exco | root@magician:~# X :1 |
02:59.43 | exco | -sh: X: not found |
02:59.55 | fhteagle | any of that work on the emonster device applicable to the kaiser (just getting to that part of the thread now) |
03:00.26 | dcordes | japan guy is matsuu |
03:01.18 | fhteagle | hai ;*) |
03:01.37 | fhteagle | just noticing cracking open that one .db with provider settings... |
03:01.57 | fhteagle | relevant or dead end? |
03:02.20 | dcordes | I don't try the gprs stuff lately no money |
03:02.29 | paulproteus | exco, When X is running, use ps -aef to look for the PID |
03:02.35 | dcordes | urgently need dataflat |
03:02.36 | paulproteus | exco, then ls -l /proc/$THAT_PID/exe |
03:03.05 | exco | it's not running / starting on boot atm |
03:04.05 | fhteagle | the 8 jul files on lgorris have matsuu patch applied? |
03:04.56 | dcordes | no they have the ginge patches ^^ |
03:06.35 | fhteagle | not even android-data.bin? |
03:07.48 | dcordes | it comes down to the same |
03:08.17 | dcordes | the matsuu image has a rotation app though so you can enjoy andr0id in landscape |
03:09.20 | Marex | ewwwwww |
03:09.32 | Marex | is in the middle of massive refactorization of ucb1400 |
03:09.33 | Marex | :S |
03:10.13 | dcordes | Marex: you are where? |
03:13.14 | fhteagle | fun... now the kaiser won't recognize my sd card for the first time ever. |
03:13.21 | fhteagle | stupid winmo |
03:14.13 | *** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net) |
03:16.46 | exco | wrong fs or wrong partition size regardin fs , fhteagle? |
03:17.52 | fhteagle | 4gb fat32 as one partition, I am pretty sure, havent changed a thing since I got the kaiser around february... it was working earlier today! |
03:18.55 | exco | that doesn't sound too good |
03:19.25 | paulproteus | exco, oh, is there a file called /usr/bin/X* or /*/*/X* ? |
03:19.37 | paulproteus | Anyway, let me know if you need help, I'll go back to other things. (-: |
03:22.19 | exco | Xfbdev, so sth like: Xvxinit /etc/X11/Xsession --/usr/bin/Xfbdev :0 -br -dpi 142 , paulproteus? |
03:24.02 | Marex | dcordes: in other words ... in total hell |
03:24.02 | Marex | ;D |
03:24.50 | Marex | dcordes: ucb1400 is touchscreen controller, ac97 codec and gpio extender all in one (ewww) ... and Im refactoring ucb1400_ts so it supports all the remaining stuff |
03:25.26 | Marex | the current patch has 28kb |
03:26.07 | Marex | I just torn that driver apart and put it back together (with some additional stuff) ;D |
03:26.27 | exco | paulproteus: can you start a new OM build? (or add my keyfile again) |
03:28.13 | fhteagle | umm, so I have an idea, maybe already thought of... but it looks like a lot of the hardware dev is occurring first in angstrom then being replicated to android, yesno? |
03:32.53 | rebo0t | bibi |
03:36.10 | exco | it's bright outside again gotta go sleep |
03:36.13 | exco | night |
03:42.23 | dcordes | fhteagle: the hardware dev is kernel level |
03:42.28 | dcordes | android and angstrom are userland |
03:43.03 | dcordes | but angstrom is used for testing because android is mereley useless for debugging hardware drivers |
03:43.51 | fhteagle | no chance of baking a good terminal into android? or does it restrict access to the kernel too much somehow? |
03:44.00 | dcordes | it wouldn't make any sense |
03:44.13 | dcordes | we have angstrom |
03:44.21 | dcordes | android is blobware. |
03:48.32 | dcordes | there's already enough blob in arm9 |
03:51.22 | Marex | blobware ... hehe :) |
03:54.24 | CPress | Hello |
03:56.11 | fhteagle | gotcha |
03:56.44 | CPress | Alright.. Night everyone |
03:56.50 | fhteagle | just trying to get my head around yet another userspace (just made the winxp -> ubuntu 7.10/8.04 move 9 months ago myself) |
03:57.14 | fhteagle | very impressed with what you all have been able to accomplish thus far, though, with little/no manufacturer support |
03:57.15 | dcordes | ;) |
03:57.23 | *** part/#htc-linux Khaytsus (n=Khaytsus@theblackmoor.net) |
03:57.28 | fhteagle | its a testament to the open source concept, to be sure |
04:00.02 | *** join/#htc-linux LunohoD_ (n=alex@e180068184.adsl.alicedsl.de) |
04:31.54 | *** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net) |
05:51.07 | *** join/#htc-linux thinko2 (n=jdoe6alp@smaug.rackdragon.com) |
07:17.20 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfe940.pool.einsundeins.de) |
07:20.55 | *** join/#htc-linux rmoravcik (n=rmoravci@89.102.255.171) |
07:28.04 | *** join/#htc-linux zwox (i=zwox@unaffiliated/zwox) |
08:03.02 | *** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbfbe16.pool.einsundeins.de) |
08:08.32 | *** join/#htc-linux Funklord (n=cow@c-ecd572d5.014-46-73746f28.cust.bredbandsbolaget.se) [NETSPLIT VICTIM] |
08:12.13 | *** join/#htc-linux surgex (i=surge@pool-71-186-163-107.bflony.fios.verizon.net) [NETSPLIT VICTIM] |
08:16.48 | *** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua) |
08:17.43 | *** join/#htc-linux SmallR2002 (n=SmallR20@c-67-162-60-33.hsd1.il.comcast.net) [NETSPLIT VICTIM] |
08:32.46 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d8652ec.pool.einsundeins.de) |
08:34.49 | *** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbff5a2.pool.einsundeins.de) |
08:35.34 | *** join/#htc-linux exco (n=exco@e181100035.adsl.alicedsl.de) |
08:37.15 | exco | hello everyone |
08:40.41 | *** join/#htc-linux SmallR2002 (n=SmallR20@c-67-162-60-33.hsd1.il.comcast.net) |
08:50.29 | marajin-zzz | morning |
08:51.51 | exco | good morning Marajin |
08:53.32 | Marajin | exco: Hi =) |
08:54.01 | exco | Sunday again :-) |
08:57.18 | Zoolooc_ | good morning folks |
08:58.01 | exco | good morning Zoolooc_ |
09:04.53 | *** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua) |
09:06.17 | exco | I really shouldn't update my running system anymore |
09:09.35 | *** join/#htc-linux Zoolooc__ (n=fredsiba@nrbg-4dbf879c.pool.einsundeins.de) |
09:32.43 | *** join/#htc-linux LunohoD (n=alex@e180074069.adsl.alicedsl.de) |
09:37.45 | *** join/#htc-linux pH5 (n=ph5@p5485F664.dip.t-dialin.net) |
09:40.28 | *** join/#htc-linux LunohoD_ (n=alex@e180075111.adsl.alicedsl.de) |
09:42.25 | *** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbffe9a.pool.einsundeins.de) |
09:45.32 | exco | still trying to get Xfbdev to recognize my mouse on Magician |
09:47.07 | pH5 | exco: what parameter are you using right now? -mouse /dev/input/event1 ? |
09:47.25 | *** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbf8e89.pool.einsundeins.de) |
09:48.11 | exco | I tried event0, 1 and touchscreen0 |
09:48.37 | exco | ts_calibrate works (started with ssh) so does ts_test |
09:49.44 | exco | normally the relevant line in Xserver was just "HTC Magician") |
09:49.44 | exco | <PROTECTED> |
09:51.42 | exco | can I see the whole commandline that gets used to start Xfbdev somewhere? |
09:53.29 | *** join/#htc-linux Zoolooc__ (n=fredsiba@nrbg-4dbfc6c0.pool.einsundeins.de) |
09:54.49 | *** join/#htc-linux LunohoD__ (n=alex@e180077087.adsl.alicedsl.de) |
09:57.00 | pH5 | exco: you can just start it manually from ssh. try Xfbdev -mouse tslib and Xfbdev -mouse /dev/input/event1 |
09:57.30 | pH5 | or you can try "set -x" (if busybox supports that) and "sh /etc/X11/Xserver" to see what ends up being the Xfbdev command line |
10:03.23 | exco | set -x doesn't give output and sh /etc/X11/Xserver tells me Fatal error already running |
10:03.35 | pH5 | well kill Xfbdev before |
10:08.11 | exco | http://pastebin.com/d6ce1ad6c |
10:08.35 | exco | whenever I touch the screen it says ** (neod:1417): DEBUG: mainmenu powersave reset |
10:09.36 | exco | is there a patch to make the errors readable on qvga devices |
10:14.36 | pH5 | so what does running "Xfbdev -mouse /dev/input/event1" manually say? |
10:15.22 | pH5 | just ignore the neod debug chatter |
10:15.36 | exco | Couldn't find pointer driver /dev/input/event1 |
10:15.53 | pH5 | does -mouse tslib do something? |
10:16.23 | exco | gi[tslib/TslibEnable] no device path given, trying /dev/input/touchscreen0 |
10:16.47 | exco | but now I can move the X |
10:17.37 | exco | Xfbdev -mouse /dev/input/touchscreen0 also gives Couldn't find pointer driver /dev/input/touchscreen0 |
10:17.37 | exco | <PROTECTED> |
10:18.21 | pH5 | euh, so the -mouse <input device> was wrong all along |
10:18.44 | pH5 | put -mouse tslib in its place in /etc/X11/Xserver and try again |
10:18.53 | exco | so just add -mouse tslib to Xserver and try ... well yes |
10:20.15 | *** join/#htc-linux Zoolooc__ (n=fredsiba@nrbg-4dbf93a0.pool.einsundeins.de) |
10:22.40 | exco | no more nano in the repos for Magician? |
10:23.33 | exco | shouts out "heureka" |
10:24.05 | *** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua) |
10:24.10 | pH5 | I wouldn't know, I don't do uploads to the angstrom repo. |
10:24.15 | pH5 | I prefer gedit anyway :) |
10:24.17 | *** part/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua) |
10:24.31 | exco | with OpenMoko? |
10:24.34 | pH5 | exco: don't tell anybody I didn't remember how to use the -mouse option though. |
10:24.45 | exco | I won't |
10:24.48 | pH5 | exco: no :) |
10:25.42 | *** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be) |
10:25.43 | exco | but Xserver didn't have that line with earlier Xserver configs... |
10:25.57 | rebo0t | hi guy' |
10:25.59 | rebo0t | s |
10:26.08 | *** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua) |
10:26.17 | pH5 | exco: yes, this changed in the xserver 1.3 -> 1.4 transition |
10:26.19 | pH5 | iirc |
10:26.20 | pH5 | hi rebo0t |
10:26.29 | rebo0t | gonna put the new image on sd now |
10:27.13 | exco | so do I need to open a ticket (and where?) |
10:27.20 | exco | hi rebo0t |
10:28.13 | rebo0t | Angstrom-openmoko-devel-image-glibc-ipk-2008.1-test-20080509-magician.rootfs.tar this one right? |
10:28.45 | pH5 | exco: not necessary afaik. the xserver-common recipe in OE already has the -mouse tslib parameter. |
10:29.21 | exco | but if you build a devel image the Xserver is still wrong |
10:30.42 | pH5 | exco: do you have xserver-common-1.22 in that image? |
10:31.15 | exco | keep em coming... |
10:31.47 | pH5 | oh no, the openmoko isn't using xserver-commont, it's using xserver-kdrive-common instead. is that true? |
10:31.53 | rebo0t | pH5, how did u fix the touchscreen? |
10:32.26 | pH5 | rebo0t: I didn't fix anything, there's just a wrong parameter to Xfbdev in /etc/init.d/Xserver |
10:32.28 | exco | at least i can't find xserver-common |
10:32.33 | pH5 | s/init.d/X11/ |
10:33.54 | pH5 | exco: you're right, this one is not yet fixed for 1.4 |
10:34.05 | pH5 | I have this change in my mtn tree: http://en.pastebin.ca/1070757 |
10:34.10 | pH5 | (and completely forgot about it) |
10:34.42 | pH5 | but the fix in xserver-common/files/kdrive-1.4-fixes.patch is better. |
10:34.43 | exco | well that solves that then |
10:37.08 | pH5 | the problem is that openmoko still prefers kdrive 1.3 while angstrom builds 1.4 |
10:39.13 | exco | OM <-> Angstrom is like Ubunt <-> Suse? |
10:39.36 | pH5 | exco: are there also VCC and GND pads near the JTAG test ones? |
10:39.41 | pH5 | exco: it's more like ubuntu <-> debian |
10:39.56 | exco | well gnd is mostly everywhere |
10:40.34 | exco | and vcc... I'll find it for you if you can tell me which one |
10:41.25 | exco | there are various ones from ~0.8 - 3.7V? |
10:52.35 | *** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
10:57.56 | pH5 | exco: good question, I'm complete jtag noob |
10:58.05 | pH5 | the power setup in the design guide looks .. complicated. |
10:58.24 | exco | about that s/init.d/X11/ ... can't tell what you mean but I think it's the xserver-k... |
10:58.48 | exco | don't you just need that vcc to power your jtag board? |
10:59.25 | *** join/#htc-linux JohnnyK (n=johnnyk@nfx-nat-229.pilsfree.net) |
11:03.05 | exco | so now that the touchscreen works.... why isn't GSM working? |
11:04.21 | rebo0t | didn't it work at all in angström? |
11:05.43 | *** join/#htc-linux premy (n=pr@73.205.76-86.rev.gaoland.net) |
11:06.09 | premy | Hi. |
11:06.15 | exco | Hi |
11:06.49 | premy | ginge: ping |
11:06.59 | pH5 | exco: I thought that the processor needs 3.3V vcc_bat for the jtag pins, but everything is still very vague to me. |
11:07.33 | pH5 | exco: because the gsmd doesn't properly talk to the gsm chip, I guess. is the n_tihtc kernel module loaded? |
11:08.03 | exco | yes, loaded |
11:09.49 | pH5 | have a look at gsmd logs, I don't know where it logs to currently. |
11:11.04 | exco | you decide on the vcc... I'll find the pin |
11:11.04 | exco | http://img253.imageshack.us/my.php?image=screenshotbulverdeemtsbef6.png |
11:11.21 | pH5 | exco: thanks |
11:16.36 | rebo0t | okay my xda boot's up |
11:16.44 | rebo0t | but now it asks for magician login |
11:17.16 | rebo0t | didn't get the calibaration screen |
11:17.44 | exco | run ts_calibrate fom ssh |
11:18.12 | rebo0t | cannot type anything at xda |
11:18.37 | rebo0t | what is device ip? |
11:27.30 | pH5 | 192.168.0.201 or 202 usually |
11:28.58 | ginge | premy: pong |
11:29.06 | rebo0t | k |
11:29.35 | premy | ginge: hi, I'm seing you're making good progress with SD. That's great. |
11:29.42 | ginge | premy: getting there slowly |
11:29.51 | premy | ginge: is there anyway I can help ? |
11:29.56 | ginge | premy: Do you know much about the sd/mmc protocol? |
11:30.14 | premy | ginge: nothing, but can try to find out if you give some pointers. |
11:30.16 | ginge | premy: http://rafb.net/p/KTPoKM46.html is the last log |
11:30.36 | ginge | premy: the mmc0: line479 is the interesting stuff |
11:31.47 | premy | ginge: what does it mean ? |
11:32.22 | ginge | premy: CMD0 sets the SD into idle state, which is successful, CMD5 is for detection of the SDIO and CMD8 is for reading the OCR registers. The OCR is where it is failing (returns 0) and should return information about the power requirements of the SD |
11:32.40 | rebo0t | pH5, root@rob-desktop:/home/rob# ssh root@192.168.0.200 |
11:32.40 | rebo0t | ssh: connect to host 192.168.0.200 port 22: Connection refused |
11:33.02 | ginge | premy: got the CMD5 and CMD8 reversed ^^ |
11:33.24 | premy | ginge: is there a way to trace what wince is doing ? |
11:33.45 | ginge | I get exceptions and lockups in haret while tracing the SD |
11:34.00 | ginge | it doesnt seem to like me tracking the dma requests |
11:34.37 | premy | ginge: would you be willing to share your code in its current status ? |
11:34.44 | ginge | http://www.sdcard.org/about/host_controller/simple_spec/Simplified_SD_Host_Controller_Spec.pdf is very useful for an overview of the protocol |
11:35.20 | ginge | premy: no prob, I will mail it over. I have to go out for the day today, but hopefully something you can work with |
11:35.30 | premy | thanks for the pointer, will look at it. |
11:36.14 | pH5 | rebo0t: I believe 192.168.0.200 is your host. ifconfig usb0 or ip addr list usb0 to make sure |
11:36.21 | ginge | premy: warning, the code is full of cruft from my unfinished onscreen keyboard and touchscreen inprovements, and also the uart stuff ;) |
11:38.04 | premy | Is there any risk for my SD card playing with your code ? |
11:38.40 | ginge | premy: in it's current state, no. I accidentally formatted mine last night, so I would make a backup ;) |
11:40.40 | premy | ginge: ok, I'll let you know if I make any progress. Thanks. |
11:41.19 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
11:42.34 | pH5 | hi BabelO |
11:43.08 | ginge | premy: I don't think this is a protocol problem, but not sure why it is not working as intended |
11:45.45 | BabelO | ji |
11:45.47 | BabelO | hi |
11:45.52 | BabelO | hi pH5 |
11:46.53 | premy | ginge: do you think you've already narrowed the problem down to a specific area on which I can try to focus ? |
11:47.27 | ginge | premy: I would double check the clock.c clock line drivers, if you can get a trace of the clock base in haret that would be super. |
11:47.49 | ginge | premy: 65MB :/ I will upload to my webspace |
11:48.42 | ginge | at the top of clock.c there is a sd driver clock table that has my interpretation of the clock data. This needs checking, but I am fairly sure it is ok |
11:49.23 | premy | ginge: a diff against the linuxtogo repository ? |
11:50.36 | premy | On which events is the clock base updated ? SD inserted ? resume/suspend ? |
11:50.46 | ginge | I don't have a local non-fubar repos of that. It would take me ome time to re-setup, and I really am pushing my luck with my partner now. It's her b-day, so better not neglect :) You have the bandwidth to cope with the download OK? |
11:51.15 | ginge | premy: it is set when it is inserted, and should be reset once initial card negociation is complete |
11:51.52 | premy | ginge: yes no prob to download. And run. There are things you shouldn't be playing with, and your partner's bday is one of them.... |
11:51.59 | *** join/#htc-linux Bendy (n=sniveri@bb-81-175-215-228.dsl.phnet.fi) |
11:52.53 | premy | ginge: can you just send me the url, pls ? |
11:53.01 | ginge | premy: http://www.headfuzz.co.uk/files/android/kernel.tar.gz give it 10 minutes |
11:54.23 | ginge | the files of interest are: clock.c msm_sdcc.c and clock-7x00(a).c |
11:55.17 | ginge | I apologise about the errant touchscreen output too ;) |
11:59.00 | ginge | premy: uploaded now. Thanks for looking at this, and good luck. |
11:59.11 | ginge | catch you laters |
12:09.26 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d8652ec.pool.einsundeins.de) |
12:19.29 | rebo0t | hoping it will boot now :) |
12:20.33 | *** join/#htc-linux miknix (n=kvirc@81.193.93.154) |
12:21.44 | rebo0t | perfect! |
12:22.40 | kiozen | BabelO: does qtopia 4.3 have these circeling points to indivate a long tochscreen press? |
12:24.27 | rebo0t | pH5, howlong does the xda must registering...? |
12:35.01 | BabelO | kiozen: i think yes it handle long press, i see a popup menu |
12:35.22 | miknix | hey all |
12:35.51 | kiozen | BabelO: do you see a circling cursor befor it pops up (too indicate long press) |
12:36.19 | BabelO | kiozen: yes, red point circling |
12:37.02 | miknix | BabelO: your power gpios are on the cpld, right? |
12:37.42 | BabelO | miknix: yes, most of them |
12:37.46 | kiozen | BabelO: ok, wonder how I can get such a cursor, might be a QCursor ... but does Qtopia have such things like cursors? |
12:38.18 | kiozen | BabelO: any idea what key word to search for? |
12:38.28 | miknix | BabelO: on the wizard only the sound and mmc power are on the cpld |
12:41.38 | miknix | BabelO: how is the wifi device connected on artemis? yesterday, I traced a lot of EMIF gpios being used by wifi: http://pastebin.com/d2ee435c0 |
12:42.34 | BabelO | miknix: on sdio, i have some gpios to change then i got sdio wifi powered on |
12:45.39 | miknix | ok thanks, I'll stumble the sdio. btw: I'm curious about EMIF, looks like the wifi device is on a flash. does this make sense to you? |
12:46.56 | pH5 | 'on a flash'? |
12:47.23 | miknix | pH5: err.. flash interface or something |
12:47.56 | pH5 | does it share a power gpio with the nand flash? |
12:48.29 | BabelO | miknix: no..., they can use flash adress space for thazt, but don't think, maybe because of a log file or something |
12:49.46 | miknix | pH5: doesn't look like it. the pin mux doesnt change when turning on wifi |
12:50.37 | pH5 | miknix: I don't quite understand how you came to the conclusion that wifi is related to flash exactly. |
12:50.41 | pH5 | the nand flash is some msys doc? |
12:51.32 | *** join/#htc-linux Bendy (n=sniveri@bb-81-175-215-228.dsl.phnet.fi) |
12:51.34 | rebo0t | pH5, u know why i keep getting the message registering... on top of xda? |
12:51.41 | miknix | pH5: the gpios being used by wifi are set to emif on the perseus2_io_config registers |
12:51.56 | pH5 | rebo0t: because gsmd/dialer don't work well with the gsm chip |
12:52.04 | rebo0t | oh |
12:52.19 | rebo0t | pH5, where can i edit the code of gsm? |
12:54.51 | miknix | pH5: or maybe I'm just crazy |
13:05.23 | pH5 | miknix: that makes sense to me, but how is this related to flash? |
13:05.40 | pH5 | doesn't emif just stand for "extended memory interface" i.e. memory mapped registers? |
13:07.36 | *** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be) |
13:08.31 | rebo0t | pH5, is the driver the problem or the software? |
13:11.13 | pH5 | rebo0t: software of course, I wrote n_tihtc :P |
13:11.31 | pH5 | actually I think maybe even gsmd is alright, just the dialer is doing strange things |
13:11.40 | rebo0t | pH5, tried another kernel? |
13:12.32 | pH5 | rebo0t: my kernels are at git.linuxtogo.org, but they don't even have the touchscreen driver yet. |
13:12.49 | pH5 | s/kernels/kernel sources/ |
13:15.14 | rebo0t | why cant we just use the gsmd files of a working phone distro? |
13:15.16 | rebo0t | opnomok |
13:18.05 | rebo0t | nope other kernel doesn't even make any changes but screen wokr's when i use hh18 |
13:21.54 | rebo0t | pH5, btw this is gonna be the final version for magician if we get it working? |
13:22.11 | rebo0t | pH5, i mean that we can put it on the rom |
13:23.49 | pH5 | rebo0t: before we can put it on the rom, we need to write a working bootl.. |
13:24.24 | effbiai | he left.. |
13:24.37 | *** join/#htc-linux Marex (n=vasum7am@auryn.karlin.mff.cuni.cz) |
13:32.30 | miknix | pH5: you are right, calling it flash is incorrect. |
13:34.13 | miknix | BabelO: pH5 do you know what's the difference between IL and IM GPIOS on OMAP? I know IL are the first order gpios |
13:39.38 | pH5 | miknix: I don't know, I can't find anything about IL and IM GPIOs in the OMAP850TRM |
13:40.41 | miknix | 001.286 GPIOS GPIO3-IM: IM76(844)=1 |
13:40.42 | miknix | 001.319 GPIOS GPIO6-IL: IL176(176)=1 |
13:41.01 | miknix | its how haret names them |
13:41.45 | Marex | pH5: I incorporated ucb1400 gpios into gpiolib ... it starts to be really something ;) |
13:41.51 | Marex | pH5: hi ;) |
13:44.34 | *** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes) |
13:45.05 | dcordes | effbiai: did you try the zImage-nosmd? |
13:50.41 | *** join/#htc-linux Marex (n=vasum7am@auryn.karlin.mff.cuni.cz) |
13:58.43 | *** join/#htc-linux proverse (n=proverse@cpe-76-183-218-193.tx.res.rr.com) |
13:59.35 | Kevin2 | cr2: The thing to remember with pxa trace is that the report is of the register state _after_ the access has completed. This is what the hardware does - haret can't change it. |
14:03.02 | pH5 | miknix: ah, that's just haret shorthand for the different register types |
14:03.10 | pH5 | miknix: GPIO1...GPIO6 are the 6 banks |
14:03.36 | pH5 | miknix: -IL means "input level", -IM means "interrupt mask" iirc |
14:04.02 | pH5 | there's also -DC (direction control) and -OL (output level) |
14:04.14 | miknix | hum... |
14:04.19 | miknix | what about IH? |
14:05.29 | pH5 | IH1/2 are the interrupt registers, not sure what this stands for |
14:05.48 | miknix | ok thanks.. I was wondering about this for a long time :) |
14:06.01 | kiozen | cr2: http://www.qlandkarte.org/index.php?option=com_content&view=article&id=8&Itemid=8 and some screenshots :) |
14:21.46 | *** join/#htc-linux BabelO_ (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
14:22.18 | miknix | BabelO: you added some mux config to omap mux.c, but your board file isnt calling omap_cfg_mux() |
14:23.39 | *** join/#htc-linux Othello_ (i=Magorium@gateway/tor/x-72f4ed977e2e37c4) |
14:28.48 | *** join/#htc-linux AlGe (n=user@chello080109231226.4.uni-klu.teleweb.at) |
14:29.22 | cr2 | Kevin2: ok, i always forget what causes these stray data values |
14:30.28 | BabelO_ | miknix: yes i know |
14:32.05 | cr2 | kiozen: you can try 'mmutrace' with the ssp data values. |
14:33.27 | miknix | BabelO_: so one have to manually set each mux entry on the board file right? |
14:33.49 | miknix | with omap_cfg_mux() |
14:34.19 | BabelO_ | miknix: each are called by device.c, look at mmc init in devices.c and you understand |
14:38.40 | kiozen | cr2: you mean: addlist mmutrace p2v(0x41000010) 0xff |
14:38.42 | kiozen | ? |
14:42.38 | kiozen | cr2: first one http://pastebin.no/11574 |
14:43.17 | dcordes | premy: does ginge's tree build for you? |
14:44.35 | kiozen | cr2: second http://pastebin.no/11575 |
14:45.05 | kiozen | cr2: that's all ? |
14:45.38 | cr2 | kiozen: yes. looks very good. only the ldrh address was eaten. |
14:45.46 | cr2 | by pxa trace |
14:46.16 | cr2 | now i'll check what 7280 and 7200 request. |
14:48.55 | cr2 | kiozen: you may shortly press the TS while tracing, so the difference will be visible |
14:50.19 | kiozen | cr2: to the tarce again and press TS? |
14:54.57 | kiozen | cr2: first one http://pastebin.no/11576 |
14:56.47 | effbiai | dcordes: yes, tried. did freeze :\ |
14:56.58 | kiozen | cr2: second http://pastebin.no/11577 |
14:57.03 | Kevin2 | cr2: Yeah. I was going to document the whole thing on the wiki - and then just gave up and said "use mmutrace". It's really much nicer when you can use it. |
15:00.05 | ginge | hey ho all. dcordes: the link is still valid if you want to download it. It won't expire for another fire hours |
15:00.14 | ginge | s/fire/few/ |
15:04.11 | ginge | dcordes: did you find those logs from san? |
15:04.12 | dcordes | ginge: ok. btw: did you try and boot while copying stuff from/to sd in wince? |
15:04.26 | ginge | dcordes: no |
15:05.13 | premy | ginge: you back ? |
15:05.22 | ginge | premy: for a little while |
15:05.35 | ginge | premy: how goes it? |
15:05.50 | dcordes | ginge: maybe that would be worth a try regarding voltage stuff? no didn't find the log. but I doubt it would be too useful since he only gave advice on what to look for initially |
15:05.55 | premy | Not been able to boot your kernel yet :-( |
15:06.08 | ginge | premy: oh? what happens? |
15:06.13 | premy | but I think I might have some interesting traces from haret |
15:06.22 | ginge | premy: now that is good news |
15:06.48 | premy | ginge: I'm on Polaris, so I need to port some of my patches before it works..... |
15:07.07 | ginge | premy: I see. |
15:07.07 | premy | I think I got traces of the SD insert sequence. |
15:07.18 | ginge | drools |
15:07.59 | dcordes | brb |
15:08.20 | premy | dzo initializes things at MSM_CLK_CTL_BASE+0xa0 and 0xa4. |
15:08.43 | premy | But I'm seeing things happening at +0xa8 and 0xac when the SD card is inserted. |
15:09.10 | premy | Could it be that we don't have the same structure as the vogue ? |
15:09.42 | cr2 | kiozen: thanks. |
15:09.46 | premy | The values that get written at +0xa8 and 0xac are very similar to those dzo pushes |
15:09.51 | dcordes | regarding the fact that also the proc_comm things and other stuff differ I would say yes |
15:10.49 | cr2 | premy: http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap |
15:11.08 | cr2 | premy: all 4 are used. |
15:11.15 | ginge | premy: probably. I do see valid values in a0 and a4 |
15:11.45 | premy | I'll send you the traces in a mail, I'm afraid I won't have the time to get your kernel to boot. |
15:11.56 | ginge | premy: ok, thanks |
15:12.29 | premy | cr2: could only 2 of them be used during the sd init procedure ? |
15:13.03 | cr2 | premy: i've seen all 4 of them beign modified in SPL. |
15:14.50 | cr2 | kiozen: 2 is vbat, 5 is auxin |
15:14.55 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
15:15.54 | cr2 | hm. 6 is auxin |
15:16.19 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
15:16.25 | cr2 | 0 -> temp0, 7 -> temp1 |
15:16.39 | premy | cr2: the other two definitely get modified. Even too much. Makes tracing almost useless :-( |
15:19.13 | *** join/#htc-linux hagisbasheruk (n=hagisbas@cpc4-clyd1-0-0-cust357.renf.cable.ntl.com) |
15:20.16 | exco | is it possible to reboot OM without hardresetting back to win and haret again? |
15:21.52 | cr2 | premy: it was not easy to see what's going on there exactly. |
15:22.54 | premy | ginge: I would have tried dzo's code, replacing a0 and a4 in clock.c with a8 and ac. |
15:23.11 | ginge | premy: I am just doing that now |
15:24.06 | premy | cr2: I'm positive 0xa8 and 0xac are involved in the SD init procedure. Since dzo's code seems to be only fiddling with two addresses, we might be lucky..... |
15:24.22 | premy | ginge: just sent the trace file. |
15:24.31 | ginge | premy: got it, thanks |
15:25.55 | ginge | premy: yes, I see what you mean now |
15:27.36 | pH5 | exco: it's possible, but not easy. you could compile a kernel with kexec support and use kexec to reboot. |
15:27.59 | exco | so.. a tsk for later then |
15:28.00 | pH5 | or at least I think it's not easy because I didn't get that to work yet :P |
15:28.25 | premy | ginge: there's also a writel(0x5c007ff, host->base + MMCICLEAR) in msm_sdcc.c |
15:28.44 | exco | the build from May ""works"" http://img175.imageshack.us/my.php?image=screenshot1ah1.png |
15:29.01 | premy | ginge: no idea what this is for, but my traces seem to suggest a writel(0x18007ff, host->base + MMCICLEAR) |
15:29.14 | ginge | premy: will give it a go |
15:29.44 | exco | ph5, did you patch sth toget GSM "sort of working" with the dialer? |
15:29.53 | ginge | premy: writel(0x018007ff, base + MMCISTATUS) did you see anything regarding this pio request? |
15:30.47 | premy | ginge: and also your modification in sd_clock_parameters: I do get 0xfff60b79 in my traces, and not 0xfff60079 |
15:31.31 | ginge | premy: yeah, that was to correct the fact it wouldn't initialise the host without this value in there. it is back to b79 now I see the traces refer to that |
15:31.41 | premy | ginge: not looked at what 0x018007FF would mean, no. |
15:35.00 | ginge | premy: kernel locked |
15:35.16 | pH5 | exco: that was the old 2007 dialer, I don't even think I have the patches anymore. |
15:35.49 | exco | so we need to do that again with the new one? |
15:36.13 | exco | did you put all the changes you made online? |
15:36.29 | premy | ginge: ? with only the 0xa8/0xac stuff ? |
15:36.32 | cr2 | kiozen: can you check the temp1 channel ? |
15:36.38 | ginge | premy: yeah |
15:37.01 | kiozen | cr2: what you mean? |
15:37.19 | premy | ginge: did you kernel boot without those modifications ? |
15:37.33 | ginge | premy: looking at the output it locks when setting the sd host clock |
15:37.39 | ginge | premy: yes |
15:37.51 | pH5 | exco: I fear I didn't. |
15:38.12 | exco | that's a shame :-) |
15:38.27 | pH5 | the blog entry says the patches were "not ready yet", I guess I should learn not to care about that. |
15:39.29 | exco | so you never could produce a working image from OE directly - including all the changes you made? |
15:40.54 | exco | so those new images will still be worse than your Dec 07 one |
15:43.21 | *** join/#htc-linux AlGe (n=user@chello080109231226.4.uni-klu.teleweb.at) |
15:44.17 | CPress | cr2, you still around? |
15:46.03 | pH5 | exco: that's right, I've never built a working dialer from upstream OE directly. |
15:46.41 | pH5 | exco: the problem is that openmoko had the habit of abandoning their old software faster than you could say 1973. |
15:46.46 | premy | ginge: looking at the traces, 0xa8/0xac get updated a number of times. Is it consistent with what we're doing on our side ? |
15:47.10 | pH5 | the only maintainable approach is to hack on software that other devices are using, too, right now. |
15:47.13 | ginge | premy: I was just following the code through to see what we are doing |
15:47.23 | pH5 | that's why I think fso-image is a worthy target |
15:47.45 | ginge | premy: it seems pretty close, but the wm driver looks a lot like it does extra stuff |
15:47.47 | pH5 | or qtopia might be, but I'm not interested in that because I don't like waiting for C++ code to compile all the time. |
15:50.40 | ginge | premy: its mapped into two area in the mmu? |
15:51.56 | exco | :-) |
15:52.53 | exco | the thing is as soon as there's a working sms/phone gui's peple will start using it |
15:54.50 | premy | ginge: I'm tracing MSM_CLK_CTL_BASE and MSM_SDC1_PHYS which are at 2 different places. |
16:01.05 | pH5 | exco: sure, so who's going to hack on the current in-development guis? :) |
16:01.28 | exco | how much time are we talking about? |
16:02.42 | exco | we wouldn't even need the latest stuff imo but primary working phone/sms |
16:04.09 | CPress | ginge: were you able to ask cr2 about those pictures? |
16:04.22 | ginge | CPress: pictures? |
16:05.30 | ginge | CPress: oh right, I think dcordes was on that one |
16:05.44 | CPress | ginge: meh, all the same.. :p |
16:06.22 | exco | ph5 isn't hacking the wrong approach in the long run |
16:06.26 | ginge | CPress: um, I actually have them, the link was posted last night... |
16:06.39 | CPress | ginge: on the forums? |
16:07.11 | *** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-214-162.bak.res.rr.com) |
16:08.48 | pH5 | exco: call it hacking, coding, developing, whatever. it's important to quickly push changes upstream in OSS so you don't get left behind. |
16:11.51 | exco | we wouldn't want that now would we |
16:12.01 | ginge | CPress: I thought on here last night... I just scanned through the log and can't see it. Thing is, they are not mine to pass on, I don't think the author would mind, but you know ;) |
16:12.21 | CPress | Very true. |
16:13.37 | pH5 | exco: we inevitably will (all the time) unless we gain a certain momentum. |
16:14.43 | exco | how many do we need to be - what tasks -> advertise :-) |
16:15.58 | exco | so now you always try to adopt your patches to the latest kernels? |
16:16.55 | pH5 | exco: it just takes one dedicated individual (with a few days of time) to make a current image work. the more, the better :) |
16:17.15 | exco | ok that's me then |
16:17.28 | pH5 | exco: I'm trying to push them upstream so I can finally stop adapting them to latest kernels all the time ;) |
16:17.56 | exco | well unless the next one appears faster than you can push |
16:18.59 | exco | I'm not certain I fully understand the concept ... upstream |
16:19.58 | exco | or does it mean once it's upstream you don't need to worry about it anymore |
16:20.00 | pH5 | exco: the idea is very simple. |
16:20.08 | pH5 | exactly, when you download the latest kernel from kernel.org or wherever, it always has all the magician patches. |
16:20.37 | pH5 | and when something is changed by other people in the kernel that affects the magician code, it gets (hopefully) changed by them together with the rest |
16:20.50 | exco | but doesn't that at the same time mean the kernel's gonna get huge? |
16:21.01 | pH5 | exco: the kernel sources are! |
16:21.27 | premy | ginge: I'll try to trace more things. I've got to go. Bye. |
16:21.41 | *** part/#htc-linux premy (n=pr@73.205.76-86.rev.gaoland.net) |
16:21.43 | exco | and we only build specific ones so they're small |
16:22.02 | pH5 | exco: right. |
16:22.30 | exco | so can I/so help you with that? |
16:23.01 | ginge | is the wifi on sdio on kaiser? |
16:24.56 | exco | what is your understanding of a working image, pH5? |
16:25.09 | pH5 | exco: sure, you could download my kernel from git.linuxtogo.org and submit patches to me (or directly to the upstream projects, linux-arm-kernel, lkml, etc.). |
16:25.37 | pH5 | but as you said, right now it's probably the more important work to make the userspace software at least call and sms properly. |
16:25.47 | cr2 | kiozen: cat the temp1 data in linux |
16:26.29 | pH5 | exco: you're asking the wrong person, I'm happy when I have a working lcd screen and ssh login via usb. |
16:27.36 | exco | so that works with build from May |
16:28.04 | exco | if we build one again I'm certain it still will |
16:28.24 | kiozen | cr2: |
16:28.28 | kiozen | root@looxc550:/sys/class/adc/ads7846-ssp:temp1# cat sense |
16:28.28 | kiozen | 982 |
16:28.52 | pH5 | exco: well, sort of. I'm missing touchscreen and suspend/resume support in 2.6.26. once that is done, I'm planning to focus on getting fso-image (or whatever it is replaced with by that time) to work. |
16:29.11 | kiozen | cr2: max_sense and min_sense is 0 |
16:29.20 | kiozen | cr2: unit is undefined |
16:30.28 | exco | so upstream didn't work? |
16:30.52 | pH5 | I didn't even try yet. |
16:31.40 | exco | if they just didn't make new kernels so often :-) |
16:33.28 | exco | suspend isn't working here either |
16:33.58 | exco | well sorry, it is |
16:34.17 | exco | spm -d |
16:34.25 | exco | apm -d turns it off |
16:35.18 | exco | I mean apm -s ofc |
16:37.35 | miknix | ph5 on haret I see PERSEUS2_IO_CONF definitions on omap registers file. is there a way I could "pdump PERSEUS2_IO_CONF2" ? |
16:39.05 | pH5 | miknix: pd 0xfffe1078 |
16:39.21 | miknix | oh.. yeah.. but writing the name would save time :p |
16:48.37 | pH5 | miknix: why? it's much longer ;) |
16:49.49 | cr2 | kiozen: does this 982 change ? |
16:49.57 | cr2 | kiozen: do you see something on temp0 ? |
16:50.07 | kiozen | have to test over a longer time ... |
16:50.11 | cr2 | ok |
16:51.08 | *** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes) |
16:52.39 | kiozen | cr2: cat sense |
16:52.48 | kiozen | cr2: 980 |
16:53.25 | *** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua) |
16:53.28 | kiozen | cr2: temp0: 821 |
16:53.46 | *** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua) |
16:58.54 | dcordes_ | effbiai: where does it freeze? same as before? |
17:00.07 | kiozen | cr2: temp1 978 |
17:00.13 | kiozen | cr2: temp0 818 |
17:00.27 | kiozen | cr2: but the device gets warmer |
17:05.20 | kiozen | cr2: temp1 977 |
17:05.29 | kiozen | cr2: temp0 817 |
17:05.42 | kiozen | cr2: does that make sense to you? |
17:06.27 | kiozen | cr2: maybe just drop voltage of a diode |
17:07.04 | kiozen | cr2: that is ~700mV and -2mV per degree centigrade |
17:10.56 | miknix | BabelO_: on the wizard the kbc pull controls are disabled |
17:12.37 | miknix | dont know how upstream does it, but I'll have to ifdef the omap850 mux config for the wizard |
17:16.52 | *** join/#htc-linux AstainHellbring (n=Administ@unaffiliated/astainhellbring) |
17:27.28 | *** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be) |
17:27.32 | rebo0t | hi |
17:29.27 | *** join/#htc-linux chechen (n=chechen@vpn-6.sat.poltava.ua) |
17:50.03 | *** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-214-162.bak.res.rr.com) |
18:03.28 | *** join/#htc-linux MrBIOS_ (n=aperez@c-76-102-236-252.hsd1.ca.comcast.net) |
18:03.29 | *** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130) |
18:09.49 | kiozen | does anyone know a site like kde-apps for mobile applications? |
18:20.31 | miknix | c00121f0: e3a00074 mov r0, #116 ; 0x74 |
18:21.07 | miknix | #116 is enum constant |
18:22.02 | miknix | any idea to find which structure that index belongs to? |
18:27.08 | *** join/#htc-linux tsdogs_ (n=tsdogs@62.123.180.130) |
18:32.12 | *** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net) |
18:35.01 | *** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net) |
18:36.54 | *** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net) |
18:40.33 | *** join/#htc-linux AlGe (n=user@chello080109231226.4.uni-klu.teleweb.at) |
18:59.12 | *** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net) |
19:10.42 | *** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net) |
19:26.44 | *** join/#htc-linux rebo0t (n=rebo0t@d51A55B22.access.telenet.be) |
19:27.11 | *** join/#htc-linux LunohoD (n=alex@e180079242.adsl.alicedsl.de) |
19:30.44 | *** join/#htc-linux tsdogs__ (n=tsdogs@62.123.180.130) |
19:31.01 | *** join/#htc-linux pronto (n=pronto@pool-71-179-232-167.bltmmd.fios.verizon.net) |
19:33.58 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
19:36.00 | *** join/#htc-linux tsdogs__ (n=tsdogs@62.123.180.130) |
19:36.13 | *** join/#htc-linux LanceHaig (n=LanceHai@foresight/member/lhaig) |
19:41.46 | *** join/#htc-linux tsdogs__ (n=tsdogs@62.123.180.130) |
20:08.46 | exco | paulproteus: ping |
20:24.18 | *** join/#htc-linux r00t_ (n=chatzill@host-static-89-41-108-127.moldtelecom.md) |
20:24.31 | paulproteus | exco, pong |
20:44.12 | *** join/#htc-linux LunohoD_ (n=alex@e180073020.adsl.alicedsl.de) |
21:32.45 | *** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz) |
21:42.23 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
21:45.59 | Marajin | ginge: 'lo there |
21:46.13 | Marajin | dcordes_: So I drank 2 hobgoblins and an old tom in your honour |
21:46.31 | Marajin | dcordes_: The other 6 guinness and 4 double whiskies were for me and me alone though! |
21:46.44 | Marajin | dcordes_: If I drank anything else, I don't remember |
21:49.16 | Marex | :D |
21:50.25 | Marajin | Marex: If I drank anything else, that can be in your honour |
21:50.30 | Marajin | Marex: But my teeth are numb so |
21:50.44 | Marex | Marajin: dont worry about me ;) |
21:50.56 | Marajin | Marex: It was a party... |
21:51.12 | Marajin | notices his whisky glass somehow got refilled |
22:04.51 | Marex | :) |
22:05.17 | Marex | is near to finishing 40kb patch for ucb1400 |
22:09.32 | Marajin | is near to finishing 0.5litre of whiskey |
22:09.46 | dcordes_ | Marajin: dude thanks a lot. you must feel like me yesterday all day lol |
22:10.08 | dcordes_ | the party is still going on? |
22:10.11 | Marajin | dcordes_: I dunno, my teeth are numb and I either just removed my boots or my feet but I dunno |
22:10.57 | *** join/#htc-linux LunohoD_ (n=alex@e180069009.adsl.alicedsl.de) |
22:11.12 | Marex | :D |
22:11.46 | Marex | removing your feet would be pretty painful, I'd be for the first option ;) |
22:12.05 | dcordes_ | good situation to go to the dentist and get some root treatment or drilling |
22:12.14 | dcordes_ | with the numb teeth |
22:12.14 | Marajin | heh :P |
22:12.22 | Marajin | but the dentist would pass out from my breath |
22:13.20 | miknix | hum.. |
22:13.44 | miknix | does someone knows how to add a gpio to the gpio list on haret? |
22:13.47 | dcordes_ | I hope you didn't harm the kaiser |
22:14.08 | Marajin | I dunno where the kaiser IS |
22:14.11 | Marajin | but I think it'salive |
22:14.28 | Marajin | wonders around the room going "heeeeere kaisy kaisy kaisy.. come to daddy" |
22:14.45 | dcordes_ | I try and leave it at home when I go get drunk |
22:14.55 | Marajin | yes but the party was in my garden |
22:14.59 | Marajin | I was AT home |
22:15.13 | Marajin | found it |
22:15.14 | Marajin | it's ok |
22:15.33 | dcordes_ | try and get the nand driver workign :D |
22:15.55 | Marajin | hah |
22:16.11 | Marajin | mate if I code in this condition, I may inadventently give the kaiser aI |
22:16.12 | Marajin | *AI |
22:17.21 | dcordes_ | it will probably turn into a mad tyran then |
22:17.32 | dcordes_ | TyRnII |
22:17.36 | Marajin | haha :P |
22:17.39 | Marajin | could be dcordes_ |
22:17.47 | dcordes_ | bwaha |
22:18.21 | Marajin | dcordes_: Maybe it'd just turn out to be a very effeminate C3PO type |
22:18.27 | Marajin | dcordes_: It'd figure for me |
22:26.56 | dzo | hi all, i think i finally have the msm sd driver working. |
22:28.19 | Marajin | dzo: I'd give you hot sex but I'm too drunk to find you! =) |
22:29.01 | dzo | works fine for fat partitions but crashed when i tried an ext3 partition, all that it needed was the max block size changed. |
22:30.12 | dcordes_ | dzo: sounds relatively. trivial I hope you didn't hack too long on it :) did you try using a loopfile on a fat partition as rootfs? |
22:30.42 | dcordes_ | congrats btw. xda will party |
22:31.01 | dzo | not yet, only started working 5 mins ago. |
22:31.30 | dzo | i'll put patches on web site, this is with 2.6.25. |
22:31.42 | *** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-214-162.bak.res.rr.com) |
22:31.46 | dcordes_ | odd that it only works with fat. but I have no idea about this anyway |
22:32.21 | dzo | possibly still some problem with blocksize. |
22:32.37 | dzo | but dma doesn't hang now |
22:32.49 | dcordes_ | ok that's nice. unfortunatley it doesn't work yet on kaiser. mmc gets clock and is initialized without errors, then sdio fails to load |
22:33.18 | dcordes_ | with error -21 |
22:33.26 | dzo | i've updated the clock code a bit too. |
22:34.01 | dzo | only tried on my 2G sd card, others may not work. |
22:34.20 | dcordes_ | I have a 1G to test |
22:34.54 | dcordes_ | http://rafb.net/p/KTPoKM46.html that's how far ginge got |
22:35.02 | Marajin | I have a 4G and a 2G |
22:35.07 | dzo | also only works with mmc debugging enabled, probaby a timing issue. |
22:36.56 | dcordes_ | ...on the kaiser. it doesn't work for you when debugging is off? |
22:37.33 | dzo | also needs irq code changing to get edge triggering for the sd interrupts. |
22:41.01 | dzo | ok, diffs are there now. only changes are in vogueirq.c, msm_sdcc.c and clock-msm7x00.c |
22:41.55 | ginge | hi all |
22:42.09 | dzo | hi ginge |
22:42.24 | ginge | ooo fresh meat. You have been busy dzo :) |
22:42.55 | dzo | yes, my phone is getting tired of all those reboots! |
22:43.05 | ginge | I know what you |
22:43.07 | ginge | man |
22:43.10 | ginge | s/man/mean/ |
22:44.14 | ginge | dzo: without looking at your patches for inspiration, can you give us any pointers? |
22:45.24 | dzo | use my new clock code and irq code and change max_block_count in msm_sdcc, then it should work, dma and all. |
22:45.43 | ginge | okay, will do. thakns |
22:47.24 | ginge | dzo: I had to change a sd clock line to get it to init the host sdio, and premy is convinced we are writing the wrong registers. premy reckons a0 = a8 and a4 = ac .not convinced myself |
22:49.15 | dzo | a0 and a4 are for sd1 and a8,ac for sd2 my mmc is on sd1 nothing on sd2, i think you have wifi sdio on sd2 |
22:49.38 | ginge | I tend to agree with that assesment |
22:50.11 | dzo | i've more or less worked out the bits in a0 and a4, loot at comments in my new clock code. |
22:50.18 | dzo | s/loot/look/ |
22:50.23 | ginge | although our a4 clocks are defintely different |
22:51.17 | dzo | are they not in the list, let me know what they are and i can work out what they mean. |
22:52.05 | ginge | so far I think the other clocks are the same, but this one... |
22:52.05 | ginge | // {23000000,0x20000-0xb,0xfff60b79}, |
22:52.05 | ginge | {23000000,0x20000-0xb,0xfff60079}, |
22:52.25 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
22:52.31 | ginge | brb |
22:54.14 | dzo | i think that means 20MHz, 0xb is 1+DIV from 400MHz clock. 79 means divide by 2 so 400/20=20MHz |
22:54.36 | *** join/#htc-linux NetRipper (n=netrippe@netripper.nl) |
22:55.24 | dzo | i just disassembled sdhc.dll and found the values in there. |
22:59.51 | dcordes_ | :) |
23:00.27 | dzo | you could try changing fmax and fmin at the start of msm_sdcc.c to get different clock values. |
23:00.43 | dzo | i have 100000 and 2000000 |
23:00.51 | dzo | for min and max |
23:02.54 | dzo | just tried again with dma debugging enabled, now mounts ext3 partition, prints loads of crap though. |
23:06.31 | dcordes_ | that's just great |
23:09.43 | dcordes_ | dzo: I wonder if this current code of yours will find the sdio wifi on titan |
23:10.46 | ginge | fullscreen keyboard too eh? |
23:14.03 | dzo | i started the fskbd but haven't had time to finish it. |
23:16.16 | *** join/#htc-linux AstainZZZZZZ (n=Administ@unaffiliated/astainhellbring) |
23:27.42 | ginge | okay, well going for a build abd run |
23:28.40 | ginge | dzo: is the asm in entry.S important here? |
23:31.03 | dzo | you mean entry-macro.S, i don't think that changed. I think it is wrong though and that could be the cause of the timing problems, it does rising and falling edge triggered ints rather than just rising so the code gets too many interrupts. |
23:31.48 | ginge | less than successful first test. the kernel oopsed in sdcc_irq |
23:32.05 | ginge | just after sending CMD0 |
23:32.20 | dzo | are you using 2.6.25? |
23:32.40 | ginge | no, I tried reading between the lines on implementing the patch |
23:33.00 | dzo | msm_sdcc changed a lot between 2.6.24 and 2.6.25. |
23:33.27 | ginge | yeah, I noticed :/ |
23:33.43 | dzo | try the 2.6.25 sdcc.c in 2.6.24, might work. |
23:34.43 | dzo | you could just comment out the check at the start of sdcc_irq, thats caused by the triggering problem i was talking about. |
23:34.58 | ginge | thats what I did |
23:35.28 | ginge | hmm. no polling_request in .24 |
23:35.45 | dzo | i had some code in there to just return from the irq but that doesn't work in 25 |
23:35.57 | dzo | polling is not used anyway |
23:37.32 | dzo | try adding the PRINT_IO and PRINT_FLOW flags at the start of dma.c too |
23:38.11 | ginge | I have those in already, I added them for more verbose debugging |
23:38.21 | dzo | i'm going to change the entry-macro to see if i can get edge triggering working correctly. |
23:42.06 | *** join/#htc-linux the_sys0p (n=the_sys0@cpe-67-49-214-162.bak.res.rr.com) |