00:18.10 | *** join/#htc-linux tudenbart (n=willi@xdsl-213-196-240-95.netcologne.de) |
00:49.25 | lkcl | kimuSan: there's a kernel that needs testing, but debug info gets written at an early stage (including .....s) to a serial port which isn't ready to receive any data. consequently, the kernel crashes _really_ early on - in the uncompress stage, even before things have really begun. |
00:50.02 | lkcl | the words 'Uncompressing Linux' get sent to the port etc. and that causes a crash. |
01:20.47 | *** join/#htc-linux Hawk||- (n=Hawk@p57A54557.dip0.t-ipconnect.de) |
02:04.26 | *** join/#htc-linux LunohoD_ (n=alex@e180070201.adsl.alicedsl.de) |
03:17.57 | Kevin2 | oppiz: I don't know much about the acx stuff. I just copied the code from Universal. |
03:56.16 | Hymie | lkcl: there? |
03:56.23 | lkcl | Hymie: no :) |
03:56.26 | Hymie | damn |
03:56.35 | lkcl | i'm asleep, it's official |
03:56.36 | Hymie | hehe.. so, about your hermes statement |
03:56.37 | lkcl | zzzzz |
03:56.39 | Hymie | heh |
03:56.49 | Hymie | can't we just kill the kernel messages? |
03:56.58 | lkcl | ohyeh. really annoying. can't debug anything until that goes away. |
03:57.03 | Hymie | I mean, /dev/null it.. or some such.. although, does /dev/null even exist? |
03:57.26 | lkcl | official way is to edit include/asm-arm/arch-s3c24xx/uncompress.h |
03:57.37 | lkcl | substitude the right xx in there |
03:58.04 | Hymie | hrm.. but.... why is it writing to the serial port anyhow? |
03:58.05 | Hymie | I mean |
03:58.11 | Hymie | serial console, I guess... |
03:58.15 | Hymie | but, it shouldn't segfault |
03:58.15 | lkcl | and stop any writing with a #ifdef CONFIG_SERIAL_S3C2410_CONSOLE |
03:58.18 | lkcl | yep. |
03:58.18 | Hymie | it should fail politely |
03:58.43 | lkcl | the annoying thing is that you won't know what's causing the problem until you happen to get _everything_ right. |
03:58.52 | Hymie | bleh.. yes... btw |
03:59.02 | Hymie | how do you know this is the problem.. I assume this is before the video is initalized? |
03:59.06 | lkcl | i tried doing writing to the GPIO register to switch on vibra |
03:59.11 | lkcl | i don't. |
03:59.28 | lkcl | but haven't got _that_ right yet, either. |
03:59.37 | Hymie | arg, sounds exceptionally painful |
03:59.47 | lkcl | yep. |
04:00.00 | lkcl | i'm thinking about getting a serial cable of some kind |
04:00.09 | Hymie | hermes has that ability?! |
04:00.15 | Hymie | I thoguht it was a simple no-go |
04:00.20 | lkcl | probably not - usb only is v. likely. |
04:00.41 | lkcl | either that or it's IRDA time. again. |
04:00.44 | Hymie | I don't think the kernel can write serial console debug to usb-serial emulation.. or can it? |
04:01.11 | Hymie | irda.. hmm.. damn, I have a transmitter and a receiver, but they're not on the same device, heh |
04:01.12 | lkcl | no but it can write to the serial port if you switch it to irda. |
04:01.20 | lkcl | that's perfect. |
04:01.36 | lkcl | set up the other device to receive - that's all you need. |
04:01.45 | Hymie | hey... well.... why not write to irda now? evne if you can't see, it will validate if the crash is caused by a lacking serial port |
04:01.49 | Hymie | oh, I guess |
04:01.51 | lkcl | need to work out the GPIO for the IR on wince. |
04:01.51 | Hymie | hey, good point |
04:01.52 | Hymie | hmm |
04:02.13 | lkcl | using haret. |
04:02.14 | lkcl | etc. |
04:02.15 | lkcl | anyway. |
04:02.25 | Hymie | as in, which box |
04:02.31 | Hymie | probably still with my Amiga stuff, heh |
04:02.41 | lkcl | if you wanna help, at least try working out the gpio for the irda |
04:02.46 | lkcl | gotta go sleep. |
04:02.59 | Hymie | but, it's early!~ |
04:03.08 | Hymie | anyhow, have a good night ;) |
04:03.20 | Hymie | oh.. hey |
04:03.22 | Hymie | idea |
04:03.25 | Hymie | I have another PDA here |
04:03.25 | Hymie | hmm |
04:03.36 | Hymie | if I could get a serial console for irda with it |
04:58.05 | *** join/#htc-linux RoEn_PC (n=roen@p54A66E20.dip.t-dialin.net) |
06:02.35 | *** join/#htc-linux rolando-ve (n=rolando-@200.82.219.20) |
06:13.40 | rolando-ve | Hi |
06:13.57 | rolando-ve | May I ask a question please |
06:14.28 | rolando-ve | Please sorry for my poor english |
06:14.29 | *** join/#htc-linux tpwn3r (n=snipes42@S01060090278eb135.ek.shawcable.net) |
06:14.31 | rolando-ve | :( |
06:14.36 | rolando-ve | Hello |
06:14.45 | tpwn3r | hi |
06:14.48 | rolando-ve | It's anybody home? |
06:15.22 | tpwn3r | i am at home :) |
06:15.39 | rolando-ve | Hi |
06:15.59 | rolando-ve | tpwn3r: I wanna ask a question |
06:16.05 | tpwn3r | but i am a newbie and need to find a link to gpe-apache.tar.bz2 |
06:16.15 | rolando-ve | Well, I bougth an Apache 6700 |
06:16.27 | rolando-ve | Hmm |
06:16.29 | rolando-ve | me too |
06:16.32 | rolando-ve | :( |
06:16.49 | tpwn3r | damn |
06:17.01 | rolando-ve | In fact I dont know who the proyect goes |
06:17.11 | rolando-ve | Yeap! |
06:18.32 | rolando-ve | I found gpe-universal-R0.2.tar.bz2 |
06:18.50 | rolando-ve | I think that this works |
06:19.12 | rolando-ve | Did you see that http://www.handhelds.org/moin/moin.cgi/HTCApache |
06:19.52 | tpwn3r | yea |
06:20.14 | tpwn3r | i made a kernel from cvs and it boots |
06:20.41 | tpwn3r | but i cant get it to mount the mmc card rootfs |
06:20.54 | tpwn3r | kernel panic :S |
06:22.12 | rolando-ve | ;( |
06:22.15 | rolando-ve | So bad |
06:22.31 | rolando-ve | I dont have any idea of how to do |
06:22.43 | rolando-ve | I hate Hasefroch Mobile |
06:22.56 | rolando-ve | I wanna remove it from my PPC |
06:23.28 | tpwn3r | hehe |
06:25.42 | rolando-ve | Wath do you know about make works on 6700 the OpenMoko or QTopia ??? |
06:26.52 | tpwn3r | havent got anything working yet |
06:33.04 | kimuSan^ | lkcl: couldn't this output be disabled in the kernel |
06:47.13 | *** join/#htc-linux rejon (n=rejon@c-67-174-202-239.hsd1.ca.comcast.net) |
07:48.52 | *** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196) |
08:06.46 | rolando-ve | Hi |
08:06.58 | rolando-ve | Hello! |
08:07.14 | rolando-ve | anybody wake up? |
08:07.28 | rolando-ve | Plese! ;D |
08:18.44 | goxboxlive | hello roalndo-ve |
08:40.50 | rolando-ve | Ho goxboxlive |
08:41.05 | rolando-ve | well I m from Venezuela |
08:41.12 | rolando-ve | my english is so poor |
08:41.28 | rolando-ve | I bougth a APACHE HTC6700 |
08:41.41 | rolando-ve | And wanna install Linux on it, |
08:41.51 | rolando-ve | because I hate Hasefroch |
08:42.03 | rolando-ve | may ypu help me |
08:42.18 | rolando-ve | I saw the XDA Project |
08:42.29 | rolando-ve | And did google it |
08:42.55 | rolando-ve | but I just found old proyect and unfinished |
08:59.11 | goxboxlive | rolando-ve: The porting is not finished yet for the apache. There are two gyus who are working oin it now |
08:59.50 | goxboxlive | Takecontact with either Kevin2 or oppiz, they both work on porting to the apache. |
09:00.25 | goxboxlive | AFAIK, the kernel source are allready in the hh.org tree, so you are up to compile yourself a kernel. |
09:39.07 | *** join/#htc-linux FossiFoo (n=Fossi@e176110138.adsl.alicedsl.de) |
10:08.14 | *** join/#htc-linux pH5 (n=ph5@p5485D882.dip.t-dialin.net) |
10:16.48 | *** join/#htc-linux FossiFoo_ (n=Fossi@e176096091.adsl.alicedsl.de) |
11:38.22 | *** join/#htc-linux TripleDES (n=sergio@89.129.136.254) |
12:56.11 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
13:05.28 | *** join/#htc-linux dothebart (n=willi@xdsl-213-196-252-28.netcologne.de) |
13:52.24 | *** join/#htc-linux rolando-ve (n=rolando-@200.82.219.20) |
13:56.19 | pH5 | hi, are there any resources about the serial mux / frame format of the blueangel gsm chip? |
13:56.55 | pH5 | besides channel 0x16 I have some traffic on 0x19 and 0x12 |
14:00.05 | *** join/#htc-linux babel_work (n=Fabrice@faim1.itesoft.com) |
14:02.15 | cr2 | pH5: only that http://www.xs4all.nl/~itsme/projects/xda/serial-protocols.html |
14:10.13 | pH5 | cr2: thanks. |
14:10.18 | pH5 | looks like i can safely ignore 0x12. |
14:10.44 | pH5 | 0x19 might be interesting though. Before the beginning of a phone call it writes (20 01 23 44 0d) to 19 and recieves (20 23 43 02) in return |
14:11.17 | pH5 | inbetween there is a trace message "htc_receive 23" with protocol 12 |
14:11.47 | cr2 | pH5: is it known how to decode the radio rom on magician ? |
14:17.35 | pH5 | cr2: I don't know how to do it |
14:29.50 | *** join/#htc-linux rob_w (n=bob@p85.212.181.252.tisdip.tiscali.de) |
14:36.26 | kimuSan^ | mmm maybe I should get home from work early and start hacking my trinity for hw info |
14:43.03 | cr2 | kimuSan^: http://forum.xda-developers.com/showthread.php?t=285090 |
14:53.52 | babel_work | cr2 : where is agps chips ? |
14:56.18 | kimuSan^ | cr2: I know. I was more thinking along the line of internal connections, port settings etc. |
14:56.37 | kimuSan^ | all I need to get a kernel up and running on this baby |
14:58.28 | goxboxlive|work | cr2: Did you build Qtopia yesterday? |
14:58.57 | babel_work | goxboxlive|work : you read my email ? |
14:59.20 | goxboxlive|work | babel_work: No, i havent read any gmail yet, i take a look now. |
14:59.53 | babel_work | i send you this evening htcphone devices directory i build :) |
15:00.14 | babel_work | still some compiling issue with keyboard plugin |
15:01.48 | goxboxlive|work | Babel_work: Great, thanks a lot. |
15:07.30 | goxboxlive|work | well time to pickup child in kindergarden, bbl. |
15:10.53 | *** join/#htc-linux psokolovsky (n=psokolov@238.usernat.ip.net.ua) |
15:25.34 | rolando-ve | goxboxlive: Thanks! |
15:31.42 | pH5 | cr2: I downloaded a radio rom image and decoded it with nbfdec and the perl script at wiki.xda-developers.com/uploads/decode.pl - two different results :-/ |
15:44.28 | pH5 | ok. the decode.pl method yields the correct result. but how do I find out what kind of code is contained in this binary blob? |
15:48.31 | *** part/#htc-linux silven (n=zmc@adsl-72-50-76-164.prtc.net) |
16:03.25 | *** part/#htc-linux babel_work (n=Fabrice@faim1.itesoft.com) |
16:11.48 | *** join/#htc-linux rmoravcik (n=rmoravci@icm5-orange.orange.sk) |
16:16.40 | *** join/#htc-linux RoEn_PC (n=roen@p54A66E20.dip.t-dialin.net) |
17:02.15 | *** join/#htc-linux asylumed (n=insanity@196.211.116.2) |
17:25.59 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
17:38.02 | *** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
17:54.34 | *** part/#htc-linux rejon (n=rejon@c-67-174-202-239.hsd1.ca.comcast.net) |
18:10.31 | *** join/#htc-linux Ralith (n=ralith@66.150.12.86) |
18:59.07 | *** join/#htc-linux rejon (n=rejon@c-67-174-202-239.hsd1.ca.comcast.net) |
19:07.58 | *** part/#htc-linux rejon (n=rejon@c-67-174-202-239.hsd1.ca.comcast.net) |
19:14.57 | *** join/#htc-linux Ralith (n=ralith@66.150.12.86) |
19:34.42 | *** join/#htc-linux ellisway (n=ellis@host-87-74-241-174.bulldogdsl.com) |
19:59.12 | *** join/#htc-linux goxboxlive (n=goxboxli@9.80-202-160.nextgentel.com) |
20:00.18 | *** join/#htc-linux renatostore (n=renato4@100-181-119-85.dyn4.digitaleitalia.it) |
20:03.17 | renatostore | hi |
20:09.04 | kimuSan^ | hi |
20:10.24 | renatostore | why can't i see any discussion here? |
20:12.02 | renatostore | this is my first log here |
20:12.56 | kimuSan^ | what do you mean? |
20:13.31 | kimuSan^ | most people inhere are probably sleeping or working right now. |
20:14.13 | kimuSan^ | what did you expect? |
20:14.26 | goxboxlive | i'm a wake :-) |
20:15.11 | BabelO | maybe people are eating too :) |
20:15.31 | BabelO | goxboxlive: can you get archive from my ftp ? |
20:16.02 | goxboxlive | BabelO: what's your ftp adress? |
20:17.40 | renatostore | i have some question about kernel and htc phone |
20:17.53 | renatostore | m'i in the right place? |
20:17.58 | goxboxlive | renatostore Wich htc phone? |
20:18.34 | renatostore | in general all |
20:19.11 | renatostore | i'm interested in collect infos and put them in a new kernel to boot linux |
20:19.41 | renatostore | i have a cross compiler ... |
20:20.12 | renatostore | but i like to know which infos i need to customize a kernel |
20:21.16 | goxboxlive | renatostore Have you taken a look in the hh.org kernel source? |
20:23.11 | renatostore | yes |
20:23.25 | renatostore | if you refer to handhelds.org wiki |
20:24.56 | goxboxlive | no, the kernel sources |
20:29.05 | renatostore | what do you mean? i downloaded kernel source and compiles it |
20:33.38 | goxboxlive | renatostore So you are going to make a kernel for a new device? |
20:34.32 | renatostore | yes, i see on xda-forum that i can use haret to collect infos from a wince device |
20:35.14 | renatostore | my question is which infos i need and how to use them to customize a kernel |
20:37.14 | renatostore | i'm looking for a standard procedure |
20:38.12 | kimuSan^ | I am pretty sure the isn't one |
20:38.50 | renatostore | why? |
20:39.44 | renatostore | i could start form cpu, collect infos and put them in the kernel, and so on ... |
20:40.02 | renatostore | touchscreen ... sound ... etc |
20:40.49 | kimuSan^ | devices are different. you have to do research to figure out which parts it has and how to read out the info about them. |
20:42.17 | renatostore | but i see that normally we look for motherboard picture, memory map, gpio |
21:03.05 | *** join/#htc-linux Ralith (n=ralith@66.150.12.86) |
21:08.12 | renatostore | so i understand that i have to look for correct hardware to chose modules for the kernel |
21:09.35 | cr2 | renatostore: it depends on the device. |
21:09.55 | renatostore | but how can i use other infos like memory map or gpios? |
21:10.05 | cr2 | first you look at the cpu |
21:10.05 | renatostore | hi cr2 |
21:10.30 | cr2 | pxa2xx is the best known, and there are nice haret tools for it. |
21:11.11 | cr2 | the "newer" one is s3c24xx, there is linux kernel code for it, but haret tools need to be written. |
21:11.47 | cr2 | the omap850 is the worst. there is some kernel code for omap730, but the cpu is not documented afaik. |
21:12.33 | cr2 | the first thing to do is to dump the cpu gpio config. |
21:12.33 | pH5 | cr2: do you know the arch of the magician/blueangel gsm chipset? I can't make anything of the radio rom. |
21:13.14 | cr2 | for pxa2xx there is a nice haret command. for s3c24xx you need to do it manually, of better write some haret code. |
21:13.37 | cr2 | pH5: TI something. |
21:14.01 | cr2 | it should have some arm core. |
21:14.17 | pH5 | cr2: right. google fed with the number from the wiki doesn't help |
21:14.32 | cr2 | maybe you need to find the extry address. |
21:14.44 | cr2 | does "strings" give something useful ? |
21:15.00 | pH5 | no :( |
21:15.13 | *** join/#htc-linux Tjikkun_ (n=tjikkun@ip5451133d.direct-adsl.nl) |
21:15.19 | cr2 | then it is not decoded properly. |
21:16.01 | pH5 | uh. so the bootloader d2s command encodes the radio rom?? |
21:16.08 | pH5 | yuck. |
21:16.11 | cr2 | i have succeeded once, but it was long ago, and i don't remember which one it was and which tools i used. |
21:16.55 | cr2 | probably xda3nbftool.exe with some key, don't remember which. |
21:17.13 | cr2 | for blueangel. |
21:17.15 | *** join/#htc-linux tudenbart (n=willi@xdsl-213-196-252-37.netcologne.de) |
21:17.27 | cr2 | d2s is not 'dd' afaik. |
21:17.48 | *** join/#htc-linux rmoravcik (n=rmoravci@icm7-orange.orange.sk) |
21:18.09 | pH5 | I am wading through the bootloader disassembly to find out what it does to the raw data. But if the encoding is done in the gsm chipset, that won't help. |
21:18.28 | pH5 | It's a bit complicated to understand - many nameless functions involved in uart communication. |
21:20.00 | renatostore | if i have gpio config, menory map etc. what do i do with them? |
21:20.17 | cr2 | renatostore: on which device ? |
21:21.10 | renatostore | alpine for example |
21:21.32 | renatostore | but i like to learn |
21:21.56 | cr2 | alpine is very well known. only the CPLD part needs some more attention. |
21:22.24 | cr2 | get the touchscreen working first. hmm, better the usb. |
21:22.34 | *** join/#htc-linux Ralith (n=ralith@66.150.12.86) |
21:23.55 | cr2 | pH5: the pxa27x_udc driver on alpine spits the same error message you have on magician, and does not want to work. |
21:25.36 | pH5 | we should compare usb register values to wince |
21:27.10 | *** join/#htc-linux rob_w (n=bob@p85.212.181.252.tisdip.tiscali.de) |
21:28.07 | cr2 | i guess it's some clash with the usb host. but for some reason not on the universal. though usb resume does not work on universal correctly. |
21:29.29 | pH5 | cr2: strangely enough, after the first udc reset everything seems to work here - usb host works from the beginning. |
21:30.37 | cr2 | universal may support the unpowered USB host, i don't know. |
21:30.44 | cr2 | external. |
21:31.23 | kimuSan^ | has anyone identified if trinity does have usb host or not ? |
21:31.46 | Ralith | cr2, does hardware actually define whether or not unpowered USB host is feasable? |
21:31.55 | cr2 | kimuSan^: the cpu has usb host. |
21:32.25 | cr2 | but it is probably used the the same way as on universal - to communicate with MSM. UMTS/videophone |
21:32.43 | Ralith | I know people have done things like make usb mice work on certain TI calculators, and I'm sure they don't have explicit host support |
21:33.26 | cr2 | Ralith: it's the supporting circuitry that should provide power. pxa27x does not provide +5V |
21:34.10 | cr2 | the USB host on pxa27x has 3 ports. |
21:34.20 | cr2 | 1 is used for the MSM communication. |
21:34.28 | Ralith | cr2, I wasn' asking about power :P |
21:34.29 | cr2 | 2 is multiplexed with UDC |
21:34.32 | cr2 | 3 is not used. |
21:34.50 | Ralith | I'm well aware that you need hardware for power. |
21:35.29 | cr2 | Ralith: i guess if you'll config P2 properly it should work as host. |
21:35.55 | Ralith | cr2, so you need explicit support in the CPU? There's no software workaround? |
21:35.55 | Ralith | cr2, went way over my head :P |
21:36.01 | cr2 | heh. it's the question who will provide the power, not if it's needed :) |
21:36.25 | Ralith | I'm not asking about power! >.< |
21:36.42 | Ralith | you don't need power for many USB things, unless I'm being dumb |
21:36.52 | cr2 | you may simulate USB protocol on the parallel port ;) |
21:37.10 | Ralith | my question really is, is it theoretically possible to make a device like the Universal that doesn't explicitly support USB host act as a USB host? |
21:37.14 | cr2 | the USB host spec says it must provide power. |
21:37.19 | Ralith | ah. |
21:37.31 | Ralith | well, still, see above |
21:37.43 | cr2 | so this is a clear out-of-spec stuff we are talking here. |
21:38.42 | cr2 | who will decode the URBs and such weird stuff ? |
21:38.45 | kimuSan^ | theorethically yes. but it's all about the power :-) |
21:39.05 | cr2 | it's like : can i support ethernet without an ethernet chipset ;) |
21:39.42 | kimuSan^ | more like supporting ethernet but not having a cable. |
21:40.20 | kimuSan^ | your mouse (or whatever) would work, except that it does not work because it does not get sufficient power |
21:40.49 | cr2 | kimuSan^: do you have the memory map for trinity ? |
21:41.29 | cr2 | like that http://wiki.xda-developers.com/index.php?pagename=HermesMemoryMap |
21:41.56 | kimuSan^ | cr2: no but I can make one it you supply me with the info about making it. Im new to xda hacking....have mostly been hacking plain mobiles :-) |
21:42.25 | cr2 | what does haret say about the framebuffer address ? |
21:42.32 | kimuSan^ | sec. |
21:43.28 | cr2 | the ati FB is going to be the next great thing. |
21:44.21 | kimuSan^ | hopefully :-) |
21:44.42 | kimuSan^ | how is it I get it to dump to file? dump mmu ... |
21:46.28 | kimuSan^ | ahh log |
21:46.46 | kimuSan^ | it is dumping now. |
21:47.41 | cr2 | the gnu-haret told the FB addr at telnet login. |
21:49.16 | kimuSan^ | http://www.schulz.dk/trinity-linux/mmu-trinity.txt |
21:49.51 | cr2 | print "%x" VRAM |
21:49.54 | cr2 | in haret ? |
21:50.41 | kimuSan^ | 10800000 |
21:51.07 | kimuSan^ | at telnet login I got (sorry 4 line paste): |
21:51.20 | kimuSan^ | Welcome, this is HaRET pre-0.4.6-20070101_1852 running on WindowsCE v5.1 |
21:51.20 | kimuSan^ | Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF |
21:51.20 | kimuSan^ | Detected machine 'Default' (Plat='PocketPC' OEM='TRIN100') |
21:51.20 | kimuSan^ | CPU is ARM ARM arch 4T stepping 0 running in system mode |
21:51.41 | cr2 | ok. |
21:51.44 | cr2 | 95000000 | 10800000 | 1MB section | D=0 CB AP=1 |
21:51.44 | cr2 | 95100000 | 10900000 | 1MB section | D=0 CB AP=1 |
21:51.52 | cr2 | the same as hermes. |
21:52.09 | kimuSan^ | the FB addr area or? |
21:52.11 | cr2 | 94200000 | 28000000 | 1MB section | D=0 CB AP=1 |
21:52.11 | cr2 | 94300000 | 29000000 | 1MB section | D=0 CB AP=1 |
21:52.11 | cr2 | 94400000 | 2a000000 | 1MB section | D=0 CB AP=1 |
21:52.11 | cr2 | 94500000 | | UNMAPPED | |
21:52.12 | cr2 | 94600000 | 29100000 | 1MB section | D=0 CB AP=1 |
21:52.12 | cr2 | 94700000 | 08000000 | 1MB section | D=0 CB AP=1 |
21:52.17 | cr2 | yes, the FB. |
21:52.28 | cr2 | the 0x08000000 may be wifi. |
21:53.12 | cr2 | 28, 29 2a is probably DBG. |
21:53.33 | kimuSan^ | looks alot like the hermes. |
21:54.22 | cr2 | yeah, exactly. |
21:54.22 | kimuSan^ | how do you identify which ones is which in this case? |
21:54.48 | cr2 | the CPU mapping is the same. the wifi is just a guess. |
21:54.53 | kimuSan^ | looking at the specs, the hermes and the trin also look alot alike |
21:56.04 | cr2 | the sound is ak4641 ? |
21:56.24 | cr2 | good. the same as universal. |
21:56.50 | kimuSan^ | iirc yes |
21:57.24 | kimuSan^ | seen the thread about it at the xda-dev forum ? |
21:58.00 | cr2 | which one ? |
21:58.08 | kimuSan^ | sec |
21:58.31 | kimuSan^ | http://forum.xda-developers.com/showthread.php?t=288070 |
21:58.42 | kimuSan^ | Linux on Trinity |
21:58.46 | cr2 | yes. |
21:59.05 | kimuSan^ | ahh yeah... you replied earlier :-) |
21:59.24 | cr2 | it's the same hardware as hermes. |
21:59.48 | kimuSan^ | except for the 3G right? |
21:59.51 | cr2 | we need to write some haret code for "dump gpio" and "dump s3c*" |
22:00.05 | cr2 | is trinity not UMTS ? |
22:00.29 | kimuSan^ | it is |
22:00.36 | cr2 | i think it's the same MSM chipset. |
22:00.43 | kimuSan^ | I thought that hermes wasnt |
22:00.47 | kimuSan^ | :-) |
22:01.06 | cr2 | should be also similar to the universal. MSM6250 vs MSM6275. |
22:01.23 | kimuSan^ | with haret code you mean script or changing the hares code itself? |
22:01.44 | cr2 | haret code itself. but it's plain c. |
22:01.54 | kimuSan^ | ahh sweet. |
22:01.59 | cr2 | as we use gcc anyway. |
22:02.33 | kimuSan^ | yeah |
22:02.34 | cr2 | i was really pissed about m$ tools to compile it ;) |
22:03.01 | cr2 | and did a gnu-haret hack for pxa. |
22:03.14 | kimuSan^ | heh |
22:03.41 | cr2 | and Kevin2 just converted the mainline haret. |
22:03.46 | kimuSan^ | I use the M$ compiler at a daily basis at work, so I know why you're pissed at it |
22:04.21 | cr2 | wine+evc4 on my opteron was not a good option |
22:04.25 | kimuSan^ | fortunately I am moving more and more of my work to the linux platform |
22:04.30 | cr2 | :) |
22:05.02 | kimuSan^ | thank you mobile phone developers for choosing linux :-) |
22:05.23 | *** join/#htc-linux |Ralith| (n=ralith@66.150.12.86) |
22:05.49 | renatostore | returning to alpine ... what is the problem with touchscreen? |
22:06.19 | kimuSan^ | cr2: where can I find the latest haret source? |
22:06.39 | cr2 | renatostore: i don't know, but to debug it you need to log in. |
22:06.41 | kimuSan^ | I have been downloading from koconnor's exe mirror which have no src |
22:06.44 | renatostore | it not very easy to hard reset every 5 minuts to test usb |
22:06.58 | cr2 | kimuSan^: hh.org CVS |
22:07.11 | kimuSan^ | ok |
22:07.41 | cr2 | renatostore: you can try to use the angstrom image by goxboxlive, but then you need to compile the kernel with EABI support. |
22:09.16 | renatostore | can you do this for i don't know what is EABI support |
22:09.22 | renatostore | ? |
22:09.49 | cr2 | you need a 4.1.1 gcc to compie it.- |
22:11.12 | cr2 | i'll try to compile the alpine kernel now. |
22:11.35 | cr2 | ok, it does not works as is. |
22:12.10 | kimuSan^ | cr2: any ideas of what we need changed in haret in order to get gpio dumps? I might have a couple of hours at work tomorrow for free hacking |
22:13.55 | renatostore | what is eabi? |
22:14.43 | kimuSan^ | the ABI |
22:14.43 | oppiz | who is rolando-ve? |
22:15.19 | cr2 | kimuSan^: you need to read the samsung manual ;) |
22:15.56 | kimuSan^ | no prob. |
22:15.57 | cr2 | the alpine pxafb parameters need some modifications. |
22:16.19 | kimuSan^ | is the manual online? |
22:19.06 | cr2 | yes. |
22:19.14 | cr2 | ok, not alpine compiles. |
22:19.45 | oppiz | cr2 you know anything about acx? |
22:20.58 | kimuSan^ | cr2: link? |
22:21.09 | cr2 | oppiz: not really. |
22:21.16 | oppiz | who does? |
22:21.19 | cr2 | kimuSan^: looking for it. |
22:21.39 | kimuSan^ | thanks |
22:21.44 | cr2 | oppiz: nobody. look for the hx4700 ml archive |
22:21.47 | oppiz | cr2 i am tring to update the driver but there is a issue with how HH kernel handles mem |
22:22.20 | kimuSan^ | im off in a couple of mins, but just pmsg me if there is anything special I should look into and especially what I should find in the manual |
22:22.32 | renatostore | cr2: can we debug alpine touchscreen by script? |
22:24.31 | kimuSan^ | cr2: you are german right? |
22:24.40 | cr2 | renatostore: you need the kernel first. |
22:24.48 | cr2 | kimuSan^: yes. |
22:25.09 | kimuSan^ | ok. just needed to figure out if we were in near timezones :-) |
22:25.33 | renatostore | i can use the last one? |
22:25.35 | kimuSan^ | seems like the chan here is mostly quiet when I get around to check it |
22:25.51 | cr2 | kimuSan^: where are you ? |
22:25.55 | kimuSan^ | Denmark |
22:26.16 | cr2 | renatostore: did you get the 4.1.1 gcc toolchain ? |
22:26.26 | cr2 | kimuSan^: not that far away. |
22:26.46 | kimuSan^ | nope. except that I am in the north |
22:27.46 | renatostore | cr2: till now we tested using opie image and kernel you compiled |
22:28.26 | cr2 | renatostore: i'll update the hh.org CVS now, but you need a 4.1.1 gcc to compile it yourself. |
22:28.30 | renatostore | i'm not using my toolchains (3.4.1) |
22:28.43 | cr2 | kimuSan^: http://labs.metacarta.com/osm :) |
22:29.10 | kimuSan^ | cr2: I hope to get some time to read the manual tomorrow afternoon and some time to discuss it tomorrow evening. I do hewever have a deadline on a book I am writing coming up so my time is limited until friday. are you around tomorrow? |
22:29.50 | kimuSan^ | cr2: where in germany? |
22:30.14 | cr2 | wuppertal. köln-dusseldorf. |
22:30.49 | kimuSan^ | ahh I have a friend living there |
22:30.57 | renatostore | cr2: if so (compile by myself) where can i download 4.1.1 gcc toolchain and why i have to update from 3.4.1? |
22:31.17 | cr2 | 3.4.1 does not support EABI. |
22:31.39 | renatostore | so i need to use universal image also |
22:31.41 | cr2 | and the angstrom image is compiled with eabi. |
22:31.46 | cr2 | yes. |
22:32.12 | cr2 | we must have a common image for all our phones. otherwise it's too much pain. |
22:32.39 | renatostore | i agree ... where i can get the chain? |
22:32.39 | kimuSan^ | yep |
22:35.07 | cr2 | renatostore: hmm. |
22:35.20 | cr2 | the alpine CVS is ok now. |
22:35.42 | cr2 | where is my samsung cpu manual pdf ... |
22:36.24 | renatostore | hmm? |
22:36.57 | cr2 | http://www.samsung.com/Products/Semiconductor/MobileSoC/ApplicationProcessor/ARM9Series/SC32442/SC32442A45_Users_Manual_Rev11.pdf |
22:39.32 | cr2 | renatostore: http://www.codesourcery.com/gnu_toolchains/arm/download.html |
22:40.21 | cr2 | i use another one, but it does not matter. |
22:40.26 | kimuSan^ | cr2: which info should I look for? |
22:40.31 | kimuSan^ | in the manual that is |
22:40.40 | cr2 | kimuSan^: GPIO |
22:40.43 | kimuSan^ | ok |
22:41.47 | cr2 | first. then we need to go through the subsystems. UART, USBH, I2S, SPI, etc. |
22:43.12 | kimuSan^ | and I need to find register addrs and ?? for the GPIO |
22:43.39 | cr2 | chapter 9. |
22:44.11 | cr2 | they are all in the tables, but some c coding is needed to decode them in a user-friendly way. |
22:44.38 | cr2 | you can also look at my code for pxa. |
22:44.49 | kimuSan^ | link |
22:44.49 | cr2 | looking for a link. |
22:44.53 | kimuSan^ | he |
22:46.08 | cr2 | http://xanadux.cvs.sourceforge.net/xanadux/haret/haret-gnu/src/script.cpp?revision=1.28&view=markup |
22:46.16 | cr2 | look for *pxa27x* |
22:46.23 | cr2 | and ShowReg() |
22:47.16 | cr2 | pxa27xDump() |
22:47.19 | cr2 | for example. |
22:47.29 | cr2 | we need the same for s3c24xx |
22:47.35 | kimuSan^ | ok |
22:48.18 | cr2 | i've just copied some code from the linux kernel and used some other hacks. |
22:48.57 | cr2 | i' |
22:49.08 | cr2 | d say it's 70% of the porting work :) |
22:49.48 | kimuSan^ | looks simple enough. I will look into it a bit tomorrow and in the weekend. |
22:50.03 | cr2 | or even more. ok. |
22:50.53 | kimuSan^ | just need to figure out how much is actually reusable. |
22:51.17 | cr2 | nothing i guess ;) |
22:51.38 | kimuSan^ | hehe ideas I guess. |
22:54.16 | cr2 | USB host ohci maybe. |
22:54.29 | cr2 | but the register names are certainly different. |
22:55.28 | cr2 | well, it's just a bit of patience requied to implement it. nothing really complex here. |
22:56.02 | kimuSan^ | naah just move through it bit by bit. |
22:56.11 | kimuSan^ | has any other started on the task yet? |
22:57.07 | cr2 | no. the rx3715 and g500 just decoded things by hand ;) afaik. |
22:57.23 | cr2 | and obviously only partialy. |
22:57.56 | cr2 | i did the same at first, but then gave up and written there dumpers. |
22:58.09 | cr2 | saved a lot of time on other pxa2xx devices later. |
22:59.17 | cr2 | with such a code for samsung we'll be really fast on hermes/trinity. |
22:59.51 | cr2 | withut accel fb or course. |
23:00.23 | kimuSan^ | sure |
23:00.50 | cr2 | but with sound and phone i guess. |
23:01.05 | cr2 | don't know about wifi. |
23:01.05 | kimuSan^ | that first step. |
23:01.06 | renatostore | cr2: where is the alpine kernel source? can you give me cvs comand? |
23:01.17 | cr2 | we'll see how different it is from acx100. |
23:01.33 | cr2 | renatostore: handhelds.org |
23:01.37 | kimuSan^ | wifi would be nice, but right now I just need to see the bootup screen to be happy |
23:01.49 | cr2 | yeah. |
23:02.35 | kimuSan^ | well I am off for today. need to get some sleep. talk to you tomorrow. |
23:02.49 | cr2 | http://www.handhelds.org/sources.html |
23:02.53 | cr2 | good night. |
23:03.26 | cr2 | renatostore: linux/kernel26 |
23:04.16 | BabelO | goxboxlive : i found how keyboard works under qtopia :) |
23:06.11 | cr2 | BabelO: great. what do you think about hosting the htcphone setup in the xanadux CVS ? |
23:06.16 | cr2 | of maybe even creating a bitbake file. |
23:06.56 | BabelO | i prefer xanadux cvs |
23:07.13 | cr2 | we need both. |
23:07.33 | cr2 | the code is in CVS, and bb should patch the opie2 source. |
23:07.41 | BabelO | blueangel_kp does not works :( |
23:07.54 | cr2 | maybe. |
23:08.03 | cr2 | the buttons of the spi keyboard ? |
23:08.12 | cr2 | s/ of / or / |
23:08.33 | BabelO | spi keyboard |
23:08.37 | cr2 | ok. |
23:08.49 | cr2 | <PROTECTED> |
23:09.02 | cr2 | then it will works on sable GPS too. |
23:09.03 | BabelO | buttons are working, i try an autodetect for qtopia, but need to normalize driver registration name |
23:09.23 | cr2 | ok. |
23:10.09 | BabelO | do you think using /proc/bus/input/devices is good for autodetect ? |
23:10.26 | BabelO | or can i found it elsewhere ? |
23:12.04 | renatostore | cr2: can you pls give me cvs command? |
23:13.07 | cr2 | BabelO: the keyboard ? |
23:13.47 | BabelO | yes to autodetect buttons and keyboard event |
23:14.34 | cr2 | cvs -d:pserver:anoncvs@anoncvs.handhelds.org:/cvs login |
23:14.45 | cr2 | Logging in to :pserver:anoncvs@anoncvs.handhelds.org:2401/cvs |
23:14.45 | cr2 | CVS password: |
23:14.51 | cr2 | type anoacvs here. |
23:14.56 | cr2 | anoncvs |
23:15.07 | cr2 | and then |
23:15.14 | cr2 | cvs -d:pserver:anoncvs@anoncvs.handhelds.org:/cvs co linux/kernel26 |
23:15.37 | cr2 | BabelO: why do you need it ? |
23:15.53 | cr2 | is reading the /dev/input/event* not enough ? |
23:16.45 | BabelO | i don't want to hard code all event for different htc phone |
23:17.03 | BabelO | for the moment i have two plugin, one for button and other for keyboard |
23:17.29 | cr2 | BabelO: goxboxlive told me that all event devices are read. |
23:18.12 | cr2 | on universal there is event0 for the ts, event1 for power, event2 for up/down/etc buttons and event3 for the "real" keyboard. |
23:18.20 | BabelO | ok, i ve to ask him how doping that |
23:20.12 | BabelO | on BA it is event3 for ts, event4 for keyboard , event1 for pda keys event2 for direction and phone keys |
23:21.51 | renatostore | thanks a lot - good night |
23:22.31 | BabelO | if i parse /proc/bus/input/devices i can found Name="gpio-keys" and Name="asic3-keys" for standard and Name="tsc2200-ts" for ts |
23:28.00 | cr2 | BabelO: but does the name really matter ? |
23:29.32 | BabelO | using this or line starting with P: Phys=keyboard or P: Phys=touchscreen |
23:29.38 | BabelO | it is better with this line :) |
23:29.52 | BabelO | they didn't change |
23:30.16 | BabelO | all htc or other have same :) |
23:31.15 | *** join/#htc-linux Tjikkun__ (n=tjikkun@ip5451133d.direct-adsl.nl) |
23:35.14 | *** join/#htc-linux lkcl (n=lkcl@5ac5f0b2.bb.sky.com) |
23:37.29 | cr2 | BabelO: can you check the GPRS on BA ? |
23:37.41 | cr2 | i'll try to fix the dpram driver. |
23:38.15 | BabelO | i can check, but my lastest test was unsucessfull |
23:41.19 | *** join/#htc-linux Ralith (n=ralith@soggy202.drizzle.com) |
23:43.41 | cr2 | i'm doing some changes there. |
23:49.36 | cr2 | eabi is not set ? |
23:50.00 | BabelO | where ?htcblueangel_defconfig ? |
23:51.03 | cr2 | yes. |
23:51.16 | cr2 | i will enable it. |
23:51.38 | BabelO | i never remember where is this file in kernel tree :) |
23:51.42 | cr2 | ok. |
23:51.44 | BabelO | ok i use it already |
23:52.04 | cr2 | we also need to demoronize the blueangel_pcmcia.c |
23:52.46 | cr2 | you should use the defconfig, otherwise we will get a gazillion of bug reports ;) |
23:52.50 | BabelO | i reuse code of h4000_pcmcia.c which is clear |
23:53.29 | BabelO | pcmcia is only for acx for our device |
23:55.25 | cr2 | ok, updated the CVS. |
23:55.36 | BabelO | ok |
23:55.46 | cr2 | yes, but we need a correct PCMCIA gpio setup for acx. |
23:56.18 | cr2 | please check if i have broken something :) |
23:56.41 | BabelO | yes i is so strange, maybe a missing gpio that enable wifi radio |
23:56.48 | BabelO | of cvs up started |