IRC log for #htc-linux on 20070425

02:44.29*** join/#htc-linux tclhal (n=hal@www.heisler.net)
04:45.14*** join/#htc-linux rob_w (n=bob@p213.54.17.85.tisdip.tiscali.de)
05:09.47*** join/#htc-linux sadeness_ (n=LamersIn@nat2.rlan.ru)
05:28.15*** join/#htc-linux pleemans (n=peter@d5152D19B.access.telenet.be)
05:39.38*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
06:43.56*** join/#htc-linux Shoragan (n=shoragan@datenfreihafen.org)
07:00.46*** join/#htc-linux Fossi (n=cmewes@195.177.48.115)
07:46.20*** join/#htc-linux BabelO (n=root@lun34-2-82-238-28-28.fbx.proxad.net)
07:46.23BabelOhi
08:00.40*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:06.54*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:12.21*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:17.47*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:23.25*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:29.05*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:34.46*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:40.27*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:46.17*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:52.03*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
08:57.37*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:03.22*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:08.46*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:13.21*** join/#htc-linux MrVanx (n=chatzill@82-69-60-250.dsl.in-addr.zen.co.uk)
09:14.46*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:19.07*** join/#htc-linux TeringTuby (n=maarten@162-117-dyn.ipact.nl)
09:20.21*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:26.12*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:32.32*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:33.12*** join/#htc-linux cyrill62 (n=cyrill62@33.213.20.81.dynamic.adsl.abo.nordnet.fr) [NETSPLIT VICTIM]
09:33.12*** join/#htc-linux Tjikkun (n=tjikkun@82-204-54-115.dsl.bbeyond.nl) [NETSPLIT VICTIM]
09:33.43*** join/#htc-linux bd2 (n=cbou@89.113.85.104)
09:37.47*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:43.41*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
09:43.41*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.7)
09:56.13*** part/#htc-linux sadeness (n=LamersIn@nat2.rlan.ru)
10:08.44*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com)
10:14.35*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com) [NETSPLIT VICTIM]
10:14.52BabelOcr2: are you around ?
10:17.21*** join/#htc-linux _law_ (n=law@mail.stiftadmont.at)
11:02.04*** join/#htc-linux twostupiddogs (n=towstupi@62.123.180.130)
11:18.48cr2BabelO: yes.
11:28.49BabelOcr2: do you see my pastebin ?
11:36.22cr2yes, so it basically works
11:36.45BabelOi think yes, i try a better setup this evening
11:36.51cr2but we can't claim 100% work.
11:37.00cr2maybe it drops some bytes.
11:37.24cr2ppp will partly compensate by retransmitting the broken frames.
11:37.34BabelOi make a better test this evening, now my environment is setup correctly
11:37.42cr2ok.
11:37.58BabelOso wifi is missing ;)
11:38.11cr2so the question is not whether it works, but "do we lose bytes?" under load.
11:38.58cr2once dpram will work, we can drop 2.6.12 completely.
11:39.23cr2btw, the angstrom image for magician is autobuilt
11:40.06BabelOi found a kernel tree with adcm already in, it is for mainstone
11:40.47cr2yes, that was the source for all later versions.
11:40.59cr2is it a current tree ?
11:41.03BabelOhttp://husaberg.toby-churchill.com/balloon/linux-2.6.9-rc3-tcl2/drivers/media/video/
11:41.07BabelOold one
11:41.11cr2www.angstrom-distribution.org/unstable/images/magician
11:41.21cr2ok, but then many patches are needed.
11:42.25cr2and camera is not very usefull unless you'll understand the ati video capture port operation.
11:48.02BabelOi ve another question for you, do you now how can i list supported at command
11:48.31BabelOon all modem there is a at command which can do that
11:50.49*** part/#htc-linux MrVanx (n=chatzill@82-69-60-250.dsl.in-addr.zen.co.uk)
12:27.01cr2AT+CLAC
12:27.05cr2if it works
12:27.29cr2on blueangel it worked afaik, on universal it does not work.
12:27.53cr2but the only reliable commands source is the radio rom disassembly.
12:28.42BabelOcr2: Ok thanks, maybe we can integrate that in futur phone app to activate some option ;)
12:30.23cr2http://www.handhelds.org/moin/moin.cgi/HTC_25GSM
12:30.34cr2AT+CLAC    B   List all commands (well... nearly all)
12:33.47BabelOok, i curious about AT+CGATT command SetGPRSAttached
14:29.07*** join/#htc-linux scorpio16v (n=scorpio1@ACB7C778.ipt.aol.com)
15:55.29*** join/#htc-linux SmallR2002 (n=SmallR20@c-24-14-100-254.hsd1.il.comcast.net) [NETSPLIT VICTIM]
16:01.20*** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
16:01.50goxboxlivehi
16:10.06*** join/#htc-linux root1 (n=root@lun34-2-82-238-28-28.fbx.proxad.net)
16:10.17BabelOhi goxboxlive ;)
16:10.28goxboxlivehi there
16:10.45goxboxliveHave you git connection at home again?
16:11.00goxboxlives/git/got/
16:11.19BabelOyes it works now, on internet tv box can record tv on internal or external hard drive, cool
16:11.42BabelObut can't go to linuxtogo website or angstrom website, i don't know why
16:12.24goxboxliveYes that sound sound really usefull. I am about to buy something similar my self, but haven't done it yet
16:12.41goxboxlivehmm strange
16:13.16goxboxliveI have a modified XBOX and i am really satisfied with it, but it lacks recording.
16:14.12goxboxliveand a tv tuner. It is supplied with only usb 1.1 so there is no point of trying out a tv card on it.
16:16.58BabelOyes i have tv,phone throught internet provider, with recorder and some SIP account all for only 30 euros per month
16:17.17BabelOcan you access angstrom and linuxtogo ?
16:17.42goxboxlivehold on
16:18.57goxboxliveBabelO: No it seem like it is down at the moment.
16:18.59goxboxliveOE is also down
16:19.55BabelOok good so it is not me :)
16:20.13goxboxlive:-)
16:20.15BabelOi ve to try GPRS under linux with BA when go back to home
16:20.34goxboxliveohh so you have i working. cool
16:20.41goxboxliveWhen did that happend?
16:22.37BabelOyesturday i can access some GPRS auth at orange
16:23.35goxboxliveohh cool. Do you know if it is something in common with Universal, so it might be ready for us soon too?
16:32.43cr2goxboxlive: hi. why don't you try it on /dev/ttyUSB0 ?
16:54.03*** join/#htc-linux BabelO (n=Miranda@faim1.itesoft.com)
16:55.13BabelOsorry goxboxlive i shutdown bad windows ;)
16:59.18*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
17:10.14*** join/#htc-linux WizMaui (n=WizMaui@62.112.90.250)
17:26.46*** join/#htc-linux RoEn_PC (n=roen@p54A67034.dip.t-dialin.net)
17:26.48*** join/#htc-linux _law_ (n=_law_@213.173.86.202)
17:27.31*** join/#htc-linux goxboxlive (n=goxboxli@176.84-48-210.nextgentel.com)
17:27.52*** join/#htc-linux BabelO (n=kvirc@lun34-2-82-238-28-28.fbx.proxad.net)
17:31.49*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
17:33.06BabelOcr2: connected over GPRS now ;)
17:35.59cr2BabelO: cool.
17:36.17cr2can you explain goxboxlive how he can test his connection ?
17:36.26*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
17:36.28BabelOyes n oproblem ;)
17:36.37cr2i don't have any data contract.
17:36.41BabelOi do some ping 660 ms :(
17:36.56cr2<PROTECTED>
17:37.01cr2it's normal for GPRS.
17:37.29BabelOok
17:37.33BabelOno packet lost
17:37.39BabelOi try another thing
17:37.49cr2hehe. T-Mob homepage says athena "not deliverable now"
17:37.57cr2ok.
17:38.05goxboxlivehi
17:38.12BabelOssh over gprs to my computer :)
17:38.23cr2lol.
17:38.32cr2BabelO: try 'ping -f'
17:38.33goxboxliveOK, i will try it out. BabelO so you use cu ?
17:38.58BabelOnot cu , i use minicom, ncurse based ;)
17:39.12cr2BabelO: when wifi was supported on the universal, ping -f crashed it instantly.
17:39.21goxboxliveok, but it will work wit cu also right?
17:39.41goxboxlivei guess it still crash
17:39.50BabelOcr2: what is this option i don't have it in image
17:40.18cr2goxboxlive: you need to configure pppd, terminal program is not important.
17:40.18BabelOgoxboxlive: yes with cu too
17:40.21cr2it runs on a different device anyway.
17:40.28goxboxliveOk, how di i configure it?
17:40.53BabelOi pastebin you my option file :)
17:40.59cr2you need to connect and send some magic AT commands.
17:41.04cr2then start pppd.
17:41.42cr2at@usbpower=1 comes to mind.
17:41.52cr2which is not necessary on the ba.
17:43.45goxboxliveok, good
17:44.45cr2you need to have /dev/ttyUSB0
17:44.59cr2then it should be the same. hopefully :)
17:45.17BabelOcr2 gprs is on same device on universal ?
17:45.37BabelOpastebin.ca doesn't work too :(
17:46.09BabelOtoo long
17:46.48BabelOgoxboxlive: http://pastebin.ca/457989 create a file in /etc/ppp/peers/
17:47.00BabelOname it vodafone for sample
17:47.44BabelOafter edit your /etc/ppp/pap-secrets file and put * * <your password> *
17:47.57BabelOfor orange password is orange too
17:48.21BabelOthen in cu do at+cgdcont=1,"IP","orange.fr","",0,0
17:48.33BabelO1 is rpofile used
17:48.43BabelOthen atdt*99***1#
17:49.01BabelOand to finish pon <name of file created>
17:50.22goxboxliveBabelO: ok thx. I will try. I have a problem though, i dont have /dev/ttyUSB0
17:51.33BabelOcr2: no packet lost on BA :) i download a little file to test, no problem
17:52.45BabelOand i close the loop : ssh from BA to computer over gprs :)
17:52.57cr2goxboxlive: have you compiled the usb host ? what 'lsusb' say ?
17:53.30cr2BabelO: that's great. now we need to make it more user-friendly.
17:53.41cr2and maybe change the ttyS8.
17:53.42goxboxliveyes i have usbhost, but i had usb_gagdet in the zImage. Maybe that caused the missing ttyUSB0
17:54.31cr2goxboxlive: does lsusb show the device ?
17:54.45BabelOcr2: and my poor wifi connection too, maybe i m desappointed about that
17:54.53goxboxlivei dont know, i rebboted forinstalling a new kernel and modules
17:54.56cr2have you send at@usbpower=1 at init ?
17:55.50cr2BabelO: does opie2 support GPRS  with some gui? imho it should
17:56.33RoEn_PChi
17:56.38BabelOcr2: yes i see something about that in setup
17:56.45BabelOhi RoEn_PC
17:57.07RoEn_PCwhat support GSM ? opemmoko, opie or gpe or angst.... ?
17:57.44*** join/#htc-linux twostupiddogs (n=towstupi@62.123.180.130)
17:57.51BabelORoEn_PC: openmoko support gprs throught gsmd daemon
17:58.08RoEn_PConly openmoko ?
17:58.09BabelOand other can run openmoko-dialer over X support
17:58.15RoEn_PCcan do that ?
17:58.32RoEn_PCaaaa :)
17:58.34RoEn_PCthx
17:59.17RoEn_PCi have opie on universal and i't's work !!!
17:59.25RoEn_PCgreat work  :)
18:00.46RoEn_PCbut GSM not found what to work its ????
18:00.47BabelOthanks goxboxlive who have made some nice images
18:00.47RoEn_PCyeah
18:00.48RoEn_PCi love this easy page http://gnulinux.biz/files/Universal/
18:00.55RoEn_PCgoxboxlive: hello :-)
18:01.55goxboxlivehi there
18:06.22RoEn_PCgreat work did y done, thxx :)
18:06.39Whackowhat is Magician status btw?
18:08.05goxboxlivecr2: We havent any ttyUSB0
18:08.14goxboxliveWe have had it, but now it's gone
18:08.25goxboxliveochi-hcd and usbserial is loaded
18:08.31goxboxlivethis is lsusb
18:08.43goxboxliveroot@htcuniversal:/etc$ lsusb
18:08.43goxboxliveBus 1 Device 1: ID 0000:0000
18:12.37*** join/#htc-linux the_sys0p (n=the_sys0@cpe-66-75-196-173.bak.res.rr.com)
18:13.38goxboxliveroot@htcuniversal:~$ lsusb
18:13.38goxboxliveBus 1 Device 2: ID 05c6:3197 Qualcomm, Inc. CDMA Wireless Modem/Phone
18:13.53*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
18:15.48BabelOgoxboxlive: good ;)
18:17.07goxboxlivenow i have to figure out the username on my network
18:17.27BabelOgoxboxlive: what is your network ?
18:17.33goxboxlivetelenor
18:18.25goxboxliveno it's tele2 but they use the same net. It's listed at their web site i guess.
18:18.58BabelOgoxboxlive: AT+cgdcont=1,"IP","internet" for you with telenor
18:19.02BabelOsimple :)
18:20.05BabelOuser : telenor
18:20.12BabelOpassword : gprs
18:20.13goxboxlivegood
18:20.16goxboxlive:-)
18:20.53BabelObefore start , switch your syslog to do some trace
18:22.43goxboxliveBabelO i am now ready to do the AT command. But should i do the syslog stuff first?
18:23.05BabelOyes , to have some trace in case
18:23.21BabelOedit syslog.conf and set to file instead of remote
18:23.30goxboxliveok thx
18:25.07BabelOis this ok ?
18:25.43goxboxliveyes
18:25.54goxboxlivenow i am gonna try out the at command
18:26.07BabelOso you have a trace messages in /var/log/messages
18:27.21goxboxlivei guess
18:27.40goxboxlivelooks good right:
18:27.43goxboxliveat+cgdcont=1,"IP","internet"
18:27.43goxboxliveOK
18:27.44goxboxliveatdt*99***1#
18:27.44goxboxliveCONNECT
18:28.05BabelOgood ;)
18:28.21goxboxliveand how do i know if it works noe?
18:28.32*** join/#htc-linux psokolovsky_ (n=psokolov@empty-crossing.volia.net)
18:28.39BabelOdo you start pon wyour file> ?
18:28.53goxboxliveno i forgot
18:28.53BabelOtry ifconfig and look for ppp0
18:29.12BabelOstart it in another console
18:30.20goxboxliveroot@htcuniversal:~$ pon /etc/ppp/peers/tele2
18:30.20goxboxlive/usr/sbin/pppd: call option value may not contain .. or start with /
18:30.39BabelOpon tele2 only
18:31.09goxboxlivei dont have any ttyUSB0 when i look in /dev
18:31.44BabelOand at@usbpower like cr2 say ?
18:32.24goxboxliveyes
18:32.52goxboxlivewhen i do lsusb i get  Bus 1 Device 2: ID 05c6:3197 Qualcomm, Inc. CDMA Wireless Modem/Phone
18:33.24BabelOok is there a usbserial module to load ?
18:34.19goxboxlivei have loaded it
18:34.24goxboxlivebefore i started cu
18:34.57BabelOok you use cu on which device ?
18:35.20goxboxlivettyS0
18:36.26BabelOi don't know what is missing to see ttyUSB0 if you have modprobe usbserail... maybe some hid or other
18:36.56goxboxlivei'll check
18:40.18*** part/#htc-linux scorpio16v (n=scorpio1@ACB7C778.ipt.aol.com)
19:32.02goxboxlivecr2: will you have the GPS working with Athena?
20:02.06*** join/#htc-linux law|ibook (n=_law_@213.173.86.202)
20:18.49cr2uh. i'm back.
20:19.24BabelOcr2: gobox have a problem to seen ttyUSB0 :(
20:21.41cr2yes, it's necessary to use some params to load usbserial.
20:21.59BabelOah ok need to pass vendor settings ?
20:22.04BabelOthat's why
20:22.08cr2i think it was all at xda-dev in one of my old posts.
20:22.35cr2the phone says "ff" - vendor specific, and not a serial port.
20:22.54cr2that's why the modules parameters are needed.
20:22.56BabelOok i ll try to understand why touchscreen is wrong :)
20:23.10cr2ok.
20:23.18BabelOint touched = tsc2200_read(dev->parent, TSC2200_CTRLREG_ADC) & TSC2200_CTRLREG_ADC_PSM_TSC2200;
20:23.34BabelOthis line return zero when screen is not touched, well...
20:24.30BabelOand i have a if (touched) { ...} if (!touched) { ... }
20:24.50BabelOit enter in the two if :(
20:38.26*** join/#htc-linux RoEn_PC (n=roen@p54A67034.dip.t-dialin.net)
20:41.55cr2BabelO: there is on point that we didn't assess so far.
20:41.55cr2on hima/ba
20:41.55cr2reflashing.
20:41.55BabelOwhich one ?
20:41.55BabelOoulala this one :)
20:41.56cr2for the radio rom it's only a question of a right gpio.
20:41.59cr2hm.
20:42.04*** join/#htc-linux kops (n=kops@sd-6611.dedibox.fr)
20:42.23cr2probably  for the pxa flash - too. pH5 has found vpen on magician.
20:42.41cr2the mdoc on ba ... difficult
20:43.00cr2mdoc on hima should work. because it's doc g2, not g3 or g4.
20:43.18BabelOi m not so curious about that
20:43.27cr2so i vote for the blueangel_phone.c
20:43.40BabelOok , i m agree
20:43.42BabelO:)
20:43.44cr2don't worry, i'll take care about the flashing :)
20:44.12cr2right now it's just a serial port.
20:44.20cr2on the universal we have full support.
20:44.32cr2even for radio rom flashing actually.
20:44.54BabelOand wifi maybe too :) you are the only own who can thing the missing thing for ba
20:45.14cr2goxboxlive: GPS on athena is more or less trivial. it's sirf3 and i've found the chip power on a CPLD.
20:45.41cr2i need to read the pxa pcmcia description in detail.
20:45.53cr2last time i've only done it on a sa1100.
20:46.04cr2and forgot everything since then ;)
20:46.12BabelOi found some timing and setting for pcmcia port , but nothing else
20:46.55cr2we should add the pxa gpio direction inverter.
20:47.34BabelOyes it is wuick to add this, we can try that
20:47.56BabelOs/wuick/quick/
20:48.40cr2can you try to create a working distribution for a ba ?
20:49.16cr2i'm stuck with the hima now. the kernel fails to load init from SD. and also from the ramdisk. i'm really puzzled ;)
20:49.41BabelOa working distribution ?, i can try from an universal opie image, it is the best choice
20:49.53cr2the SD and a ramdisk are detected and mounted. that's really comfusing.
20:50.21cr2yes. so i can just put it on an sd card, and we can coordinate the development.
20:50.35cr2you can also try the current angstrom image for the magician.
20:50.57BabelOyes, i try do download from your link, but website is down all the day
20:51.08cr2www.angstrom-distribution.org/unstable/images/magician
20:51.13cr2it's aback now.
20:51.35cr2so we will push changes to pH5
20:52.58BabelOwhich image can i take there is x11, console
20:53.05cr2no moko ?
20:53.42BabelOit seems that no :( maybe there is a hidden cheat code :)
20:54.11cr2ok. but universal is more difficult to adapt.
20:55.07BabelOi ll try x11 image  -> 15Mo really big
21:05.25BabelObooting magician image ....
21:27.42BabelOthere is nothing on this image :) a clean image
21:28.08cr2ok, then take the one for the universal.
21:29.39BabelOand another question for suspend / resume ?
21:30.19cr2?
21:30.54BabelOyes lcd resume... there is some issue with this
21:31.01cr2i know.
21:31.57cr2the current w100fb code does something with the ati chip
21:32.08cr2and then applies power gpios.
21:32.17cr2wince does it differently.
21:32.44cr2there is also an ATI reset gpio, which is also called by wince before doing anything with the chip.
21:32.54cr2we have nothing of that in out code.
21:33.19cr2and then there is this boardid spi issue.
21:33.20cr2boardid6.
21:33.29cr2i've put the codes into current CVS.
21:33.47BabelOmaybe we can add this in blueangel_lcd for ati reset
21:33.50cr2the question is only how do we proceed.
21:34.09cr2i think it's not enough.
21:34.14BabelOasylumed comment out hw_off function to have resume :(
21:34.22cr2we may be forced to hack on w100fb
21:34.42cr2i will hack on w100fb anyway, because it is needed for hermes and athena.
21:35.02cr2and the current driver has many silly things hardcoded.
21:35.20cr2before i forgot it :)
21:35.28BabelOok
21:35.33cr2there is also the ATI internal GPIO issue.
21:35.59cr2we need to check the hx4700 values. if something like that applies to us.
21:36.07cr2i guess our values are different.
21:37.16cr2i've already fixed the 80MHz clock issue, only the gpios remain in the dark.
21:37.52cr2asylumed has boardid6, if he calls hw_off it is probably trashing his spi setup.
21:38.06cr2so not a big suprise :)
21:38.19BabelOyes i think i see for the clock :) lcd is not flickering :)
21:38.21cr2he is not really doing a suspend.
21:39.10cr2yes, that was the reason for the evil flickering. wrong timing in w100fb table itself.
21:40.05cr2asylumed needs to fix the spi issue before even thinking about the resume.
21:40.26*** join/#htc-linux cyrill62 (n=cyrill62@130.252.146.195.dynamic.adsl.abo.nordnet.fr)
21:40.31BabelOcr2: ok but it is a temporary solution
21:41.06BabelOwhere are latest goxboxlive universal images ?
21:41.32cr2don't know. i think we should put then at sourceforge.
21:43.11cr2http://gnulinux.biz/files/Universal/
21:45.42BabelOok i take opie image from here :)
21:45.53BabelOi don't like gpe :(
21:46.13cr2don#t forget that the serial ports are different.
21:46.37BabelOyes, i usually use universal image :)
21:46.39*** join/#htc-linux RoEn_PC (n=roen@p54A67034.dip.t-dialin.net)
21:46.46cr2and we should really think hard about bootstrapping opie2.
21:47.20BabelOfor opie2 i want to start from an angsrtom-console image with dbus support
21:50.29cr2i'd be happy to compile it for greenphone without any weird virtual machine stuff. just like oe.
21:51.27BabelOyou have greenphone ?
21:51.49cr2heh.
21:51.53cr2http://opie2.linuxtogo.org
21:52.18cr2shows me somethig "gnome embedded".
21:52.43BabelOyes i see this two days ago too :(
21:52.49BabelOhave to ask ljp_ maybe :)
21:53.01cr2yeah. with the windows background screen.
21:53.13cr2i really passionately hate gnome :)
21:53.21cr2i don't have a greenphone.
21:53.25cr2lkcl had one.
21:53.38cr2i'll bettery buy athena.
21:53.46cr2for the same price :)
21:53.46BabelOok, i try gpephone last day... nice
21:53.58BabelOathena for same price ? where ?
21:54.16cr2780€
21:54.43cr2but even t-mobile de says athena is not deliverable right now.
21:55.22cr2what is the opie2 homepage ?
21:55.42pofhi there
21:55.47BabelOhi
21:55.50cr2hi pof
21:56.00pofcr2: are there any news on the hermes development? i've been out of the scene for the last week
21:56.22BabelOhttp://opie.home.linuxtogo.org/
21:56.23cr2pof: not really. i have some strange problems with himalaya.
21:56.51pofwhich problems ?
21:57.04cr2can't exec /sbin/init
21:57.26pofwas it working before ?
21:57.44cr2otherwise it's on par with ba. BabelO even has working GPRS
21:58.01cr2yees, it was working before.
21:58.16cr2so GPRS works on BA now.
21:58.38pofgreat :)
21:58.45cr2we begin to break our heads about wifi on ba.
21:58.58cr2the camera is not that important.
21:59.06cr2but wifi should work :)
21:59.33pofyes, wifi & phone are the "essential" features to have a usable device
21:59.49pofdid u see what we found yesterday on hermes wifi ?
21:59.55cr2no.
22:00.05pofthe wlan EEPROM is on NAND
22:00.19pofwe patched the bootloader to be able to 'rbmc' & 'lnb' at any address
22:00.26pofso we could read the WLAN eeprom
22:00.33pofand overwrite it
22:00.35cr2yes, i've guessed it from the nk.exe :)
22:00.38cr2lol.
22:00.40pofso it is possible to change the mac address :)
22:00.56cr2btw, what are the "reversed blocks" ?
22:01.11cr2linux nand has some problems to detect nand.
22:01.13pof13 blocks marked special at the begining of NAND
22:01.39pofbecause of these 'reversed' blocks ?
22:01.41cr2can you explain me how they are reveresed ?
22:01.49pof1sec i have some notes
22:02.09cr2yes, the manufacturer id is shifted to another byte.
22:02.35cr2so the linux driver is royally confused.
22:03.04pofreversed blocks are blocks with no sector information
22:03.31pofusually 1 block has 512 bytes of data + 16 bytes of sector information
22:03.40cr2ok.
22:03.50pofthe byte 517 being the one to mark the block as bad if the value is != than FF
22:04.13cr2ok.
22:05.24pofthe NAND has 4 partitions, pdocread can list them
22:06.57cr2do you know their sizes ?
22:07.39cr2because this partitioning data can be entered directly into the linux driver.
22:07.52pofbootloader command 'info 8'
22:08.04cr2so we may read them with 'dd'
22:08.15cr2the numbers in the wiki ?
22:08.19pofyes
22:08.22pofPartition[0], type=0x20, start=0x2, total=0x18FE
22:08.23pofPartition[1], type=0x23, start=0x1900, total=0x1700
22:08.23pofPartition[2], type=0x25, start=0x3000, total=0x19800
22:08.23pofPartition[3], type=0x4, start=0x1C800, total=0x1E000
22:09.10cr2http://wiki.xda-developers.com/index.php?pagename=HermesMemoryMap
22:09.28pofit's on http://wiki.xda-developers.com/index.php?pagename=Hermes_BootLoader
22:09.37cr2ok, that looks different.
22:09.52pofpartition 0x25 is the imgfs
22:10.20cr2ok.
22:11.46cr2what are the first two bytes in nand ?
22:12.01cr2Partition[0], type=0x20, start=0x2
22:12.55pofmmm... no idea
22:13.10cr2can they be dumped ?
22:13.28pofyes, the whole nand can be dumped with the patched bootloader :)
22:13.43cr2ok, they you can check the first 2 bytes.
22:13.55cr2because the rest is contiguous.
22:15.35cr2static struct mtd_partition htchermes_nand_part[] = {
22:15.35cr2<PROTECTED>
22:15.35cr2<PROTECTED>
22:15.35cr2<PROTECTED>
22:15.40pofthe first byte, is what the bootloader sees as 0x50000000 ?
22:15.47cr2yes.
22:15.53pofthen the IPL is there
22:16.13cr2well, but why is this 2byte offset ?
22:16.16pofshould be the same as te first two bytes of IPL
22:16.43cr2the first 4bytes or IPL are usually well known :)
22:16.57cr2b 0x1000
22:18.09pofi think 0x2 in partition is not 0x50000002 in bootloader
22:18.20cr2if the partition really starts with the 0x2 offset, then pdocread will read the IPL startig with this offset.
22:18.30cr2which does not make much sense to me.
22:18.33pofpartitions should start later in nand
22:19.13cr2ok, then we need to get an idea of the "raw" nand partitioning
22:19.17pofi think the partition table starts at 0x501a0000
22:19.29cr2which bytes in which ranges belong where.
22:20.03cr2the whole size of NAND is known, so if you are doing a complete raw dump you can check it.
22:20.29cr2then it's not difficult to check where is the IPL,SPL and wince in the raw dump.
22:20.36pofok, will get a full raw dump and send it to u
22:20.50cr2because their "fingerprints" are well known.
22:20.57cr2ok.
22:21.06pofipl is at 0x50000000, spl at 0x50020000
22:21.28pofbut this is what the bootloader sees
22:21.42cr2i'm not an expert on nand. is it really memory mapped ?
22:21.55cr2then you can dump it with "pwf" in haret.
22:22.07pofyes
22:22.21pofbut with pwf you get some parts corrupted
22:22.22cr2last time i tried to do it on a s3c24xx satnav box, there were some problems.
22:23.10cr2hm. i will try it myself too. it's a good idea.
22:23.13pofsee this: http://forum.xda-developers.com/showthread.php?t=301770
22:23.57cr27d00 00ea 0d00 00ea
22:24.11pofthis is the start of IPL
22:24.13cr2ea007d00
22:24.21cr2ea000d00
22:24.38cr2ea is some jump.
22:24.54cr2i'll enter it in mc and check with objdump.
22:25.31pofhave u used radare ?
22:26.09pofexport OBJDUMP env variable to the path where u have crosscompiled objdump, then press "V" and u see it decompiled in real time :)
22:26.22pofu can align the code with keyboard arrows
22:26.36pofvery handy :)
22:27.50cr2don't have hermes running. some issues with the wifi ap.
22:28.42cr2<PROTECTED>
22:30.00cr2hm. looks like a legitimate code.
22:30.40cr2ok, i'll think about it.
22:31.11pofdo u have ida there ?
22:31.21cr2now i need some sleep.
22:31.25cr2yes :)
22:31.32pofok, just wait a second
22:31.37cr2even a legit version :)
22:31.39cr2ok.
22:33.44pofhttp://pof.eslack.org/tmp/ida.zip
22:33.47pofdownload this
22:34.02pofipl & spl correctly rebased, and with some comments :)
22:37.47cr2ok. thanks.
22:38.40cr2btw, do you have a good spl idb for ba ?
22:40.44pofnope
22:40.51pofbut i can have a look if u need
22:42.30pofto know the address to rebase it, you can use dumpromx.exe
22:44.14cr2rebasing is not a problem, usually i can't find a correct "virtual" entry and where to put the RAM seg.
22:44.33cr2universal & such are better because they run from RAM directly.
22:46.49cr2ok. good night.
22:47.00pofok good night
22:47.01pof:)
23:10.13*** join/#htc-linux balinux (n=balinux@c-76-21-125-16.hsd1.ca.comcast.net)
23:11.12*** join/#htc-linux ljp (n=lpotter@203.94.178.46)
23:17.52balinuxhi all, I'd like to setup a dual-boot WinCE/Linux system on my Blue Angel (preferably w/Linux residing on 1GB CompactFlash).  Any advice?
23:21.18balinuxerr... 1GB SD
23:30.01balinuxpretty quiet in here :) is there a better time to come back and get advice on this?
23:30.42pofhi balinux
23:32.14balinuxhey pof
23:32.15pofusually during the day is more people
23:32.15poffor blueangel
23:32.16pofjust download the files from gnulinux.biz
23:32.16balinuxok, i'm in the U.S.
23:32.16pofpartition your sd card
23:32.16pofand run haret.exe from CE to boot linux
23:32.16pofu have wm5 or wm2003se on it ?
23:32.30balinuxthanks.  it's got wm2003se.  the trouble is it's got a cracked display and I need to know if I can get WinCE back after using haret.exe to boot Linux
23:32.57balinuxcurrently, i'm using Microsoft's ActiveSync Remote Display to control it from a PC
23:33.00pofyes, on wm2003se device gets hard-reseted after booting linux
23:33.23pofon wm5 you don't loose any data when you go back to wince
23:33.58balinuxok, just to make sure... i can boot Linux using haret.exe then hard reset to get back to WinCE, right?
23:34.07pofyes, that's right
23:34.35poflinux runs from SD card... you don't have to flash anything
23:35.11balinuxcool.  i hear WinSE is an ActiveSync client for Linux.  Has anyone tried using ActiveSync Remote Display with WinSE on a Blue Angel :)
23:35.18pofbut without screen, you'll miss a lot of cool features :P
23:35.21balinuxthat's cool
23:36.05pofnever heared about winSE sorry
23:36.10balinuxer... SynCE
23:36.12pofah
23:36.30pofi don't think u can use it with remote display
23:36.43pofsynce is only to sync contacts, calendar, etc...
23:37.04pofbut u can setup a vnc server on your blueangel
23:37.14pofand connect from a client on your pc
23:37.21pofssh into it when u have linux running
23:37.27balinuxdoes WiFi work now?  I'd love to get pocketVncServ on it
23:37.37balinuxfor Linux, that is
23:37.46pofwifi on BA is not 100% working AFAIK
23:37.55pofcr2 is working on it
23:39.38balinuxok, I'm thinking :)  maybe I could setup VNC over bluetooth?
23:40.16pofmaybe... never done that, but u can try :)
23:40.34balinuxthis is gonna be fun
23:40.46balinux:)
23:42.36balinuxthanks

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.