irclog2html for #htc-linux on 20060504

05:26.04*** join/#htc-linux rob_w (n=bob@p213.54.224.218.tisdip.tiscali.de)
05:55.05*** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-14919.bb.online.no)
06:33.45*** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-14919.bb.online.no)
07:17.11*** join/#htc-linux awelux__ (n=awelux__@dslb-084-058-165-238.pools.arcor-ip.net)
07:18.17*** join/#htc-linux BabelOued (n=BabelOue@lun34-2-82-238-28-28.fbx.proxad.net)
13:13.19*** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-14919.bb.online.no)
13:30.18*** join/#htc-linux rob_w|mis (n=rob_w@p549BBACF.dip0.t-ipconnect.de)
18:18.49*** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
18:18.49*** topic/#htc-linux is HTC LINUX ! THIS IS THE FORWARD CHANNEL from #htc-blueangel ; check also -> http://www.handhelds.org/moin/moin.cgi/BlueAngel | http://wiki.xda-developers.com/index.php?pagename=BlueangelResearch | http://gnulinux.biz/files/blueangel/sd/linux/ LOGS: at http://ibot.rikers.org/%23htc-linux/
18:19.06Funklordawelux__: how do you make a backup on the SD?
18:19.34Funklordcan it be restored without access to a computer?
18:21.37awelux__I can recommend Backup Manager from Sunnysoft. You can create self extracting backups.
18:29.04*** join/#htc-linux mikearthur (i=mike@82-41-205-190.cable.ubr11.edin.blueyonder.co.uk)
18:29.28mikearthurDo any HTCs actually work with Linux and allow you to make outgoing calls?
18:30.07mikearthur(yet :D )
18:35.59awelux__hmm. I thought yes.
18:36.31mikearthurwhat models?
18:38.41awelux__I think the blueangel was working and there was some progress with the universal. Check the progress of the blueangel
18:39.31Funklordawelux__: thanks for the tip
18:39.53Funklordawelux__: this really caused me a big headache
18:40.07FunklordI was stuck in london with no place to go
18:40.21awelux__I was here when you were at the icafe
18:40.54Funklordhehe ok
19:10.13*** join/#htc-linux rob_w (n=bob@213.54.222.47)
19:25.13cr2hi awelux
19:25.28cr2i think you are right, but there are two things:
19:25.50cr21. we will drop this driver when 2.6.16 will work
19:27.53cr22. the weighted linear combination done by the driver can't correct the nonlinear effects.
19:32.02goxboxlivecr2: I know the 2.6.16 doesnt boot, but is there a way i can get it? I wanne try a whole lot of combinations to try to boot it.
19:44.50cr2good question. i will try to create a patch for the hh.org CVS.
19:45.44cr2i have tried to switch off everything, but it still does not want to boot.
19:49.44goxboxlivecr2: Great.
19:54.04cr2hmm. asic3_mmc and acx/mem changes.
20:12.11awelux__cr2, did you switch off serial ttys ?
20:12.40awelux__What is the status of the power management currently?
20:12.46cr2where ?
20:12.50cr2nonexistent.
20:13.07awelux__when you try to boot 2.6.16
20:13.14cr2well. the lcd power management on universal works.
20:13.24awelux__And, are you at the linuxtag on saturday per chance ?
20:13.30cr2i can't switch off FFUART.
20:13.33cr2no.
20:13.50awelux__why can't you switch off ffuart ?`
20:13.57cr2then i cant boot.
20:14.06cr2even the 2.6.12 kernel
20:14.30awelux__interesting. Currently I can't boot if I compile the pxa serial ports module at all.
20:14.43awelux__probably wrong gpios
20:14.44cr2i have looked at the suspend/resume code for h2200
20:15.02cr2compared that with universal
20:15.14cr2and with the memory dump
20:15.43cr2h2200 loads the htc bootloader as firmware and patches some addresses, so linux looks like wince :)
20:16.11cr2the wince kernel is at 0xa0040000
20:16.29cr2probably on all htc devices.
20:16.52cr2below i see the USB host buffers + evil ohci clock.
20:17.14cr2and the remains of the bootloader, which the usb host have not overwritten.
20:17.43cr2in the zero page there is some stuff needed for wakeup, it seems.
20:17.48awelux__interesting idea
20:18.26awelux__probably wince works very much like linux from the integrators point of view
20:19.27cr2i looked in the logs, your ohci sturuct is higher than mine ?
20:19.29awelux__Since they shouldn't have access to the source they will probably just be able to define which modules to include and have to provide the initial setup in the bootloader
20:20.06awelux__hmm? what do you mean?
20:20.13cr2normally the htc bootloader takes 256K
20:20.21awelux__are you refering to an haret dump ?
20:20.24cr2in pxa flash in your case
20:20.29cr2or on hima/ba
20:20.39cr2of in ram
20:20.45cr2on universal
20:20.49awelux__It looked the same on magician
20:20.57cr2that's why wince is at +40000
20:21.12awelux__About 150k were used
20:21.24cr2funny is that they put ohci buffers over the bootloader.
20:22.35awelux__I'm not sure I understand. Are you refering to the stuff at around 0x32000 which seams to be usb related?
20:22.55cr2i have it at 0x14000
20:22.59cr2<PROTECTED>
20:23.01cr2ok.
20:23.04cr2yes.
20:23.35awelux__that is indeed a little strange.
20:23.46cr2this is ohci struct, and you have the evil 16bit reg at +0x80 offset.
20:24.09awelux__16 bit reg?
20:24.20cr2th ohci counter.
20:24.25awelux__ah ic
20:24.34awelux__which causes mem corruption
20:24.44cr2the USB hosts writes there when it is on.
20:24.46awelux__or dma access violations probably
20:24.54cr2yes. even if the DMA is off.
20:25.11awelux__because I've seen the process stop when writing to that address.
20:25.12cr2it probably writes directly over the system bus.
20:25.26cr2the LCD dma is also somewhat special.
20:26.13cr2i think it is a good idea to check if this counter runs before booting.
20:26.44cr2otherwise the kernel will be put over this counter and ...
20:26.55awelux__no
20:27.08cr2this problem is known since the jornada820 age ;)
20:27.14awelux__If you use the zImage it will unpack and halt because of a crc msismatch
20:27.27cr2yes.
20:28.15awelux__The reason for the different memory locations of the usb struct could be that it's controlled by wince and wince doesn'T know a thing about it's bootloader
20:29.58cr2but wince itself is always at 0x40000 (try to dump the page at this address) and it knows where to put the ohci mem.
20:30.44awelux__why doest it know where to put the ohci mem? And why shouldn't it know to put it at 0x32000 or 0x14000
20:32.08awelux__cr2, about the TS. Because the current user mode driver can't correct the nonlinearities we will need a new one.
20:34.08awelux__The new user mode driver should be able to read files with a detailed information about how to map the TS coordinates. Your universal will need a different file than my magician.
20:35.28awelux__A very nice architecture should have an api to query a arbitrary number of calibration points.
20:36.30awelux__The calibration result which will always work relative to the TS raw mapping file will be saved very similar to now.
20:36.57cr2yes. i think we will reuse the ads7846 driver.
20:37.17cr2this is a task for the tslib plugin.
20:37.48awelux__I've to look at that one. But it's probably a good idea sicne the TI2046 seams to be similar to some ads chips.
20:38.30awelux__Another advantage is that we can implement a very clean TTS kernel driver.
20:38.49cr2the kernel: my idea is to forget about the lower 256K and decompress the zImage to 0xa0040000
20:39.11awelux__And a without much work a very ugly and very individual tslib so that at least the developers can use the TS.
20:39.31cr2ok.
20:39.57awelux__Writing a better user mode TSlib is easier than writing new kernel code so I hope this will happen sooner or later if the code is left alone ;)
20:40.31cr2:)
20:41.36awelux__I will study the ads7846 driver now.
20:42.29cr2it relies on the generic ssp bus driver.
20:42.44cr2s/ ssp / spi /
20:43.07awelux__ok. a bit like the himalaya ts driver ?
20:44.46cr2hmm. maybe. but in a more clean way. spi is now like i2c, it has api, and you don't need to do bitshifting stuff ;)
20:45.55awelux__good.
20:55.00BabelOuedhi
20:59.09BabelOuedcr2: could you have a look at http://linuxbox2.free.fr/blueangel/htcblueangel_acx.c
21:05.09cr2what is wlan_irq and wifi_irq ?
21:06.29BabelOuedthese two are input it's GPIO17 and 75
21:07.04BabelOuedit's a test when i start
21:07.20BabelOuedacx100 is detected
21:07.43BabelOuedbut after give me a message eCPU is already running
21:08.19BabelOuedi've tried with and wothout msleep, but no difference
21:08.25cr2ok. then you didn't reset it.
21:09.17BabelOuedok maybe i have wrong gpio reset
21:09.21cr2do you boot with wifi running ?
21:09.23cr2maybe.
21:09.53BabelOuedyes, i try with wifi running and without
21:09.54BabelOuedbut
21:11.00BabelOuedif i don't set GPIO_RESET before power other, card isn't detected
21:11.27BabelOuedand i'm not sure with pxa_gpio_mode
21:36.12BabelOuedacxmem_l_reset_mac: enable soft reset...
21:36.12BabelOuedacxmem_l_reset_mac: disable soft reset and go to init mode...
21:36.12BabelOued00014541     <== acxmem_l_reset_mac
21:36.12BabelOuedacx: eCPU is already running. reset_dev() FAILED
21:36.13BabelOued00015042   <== acxmem_s_reset_dev: 00000001
21:36.13BabelOued00015042 <== acxmem_e_probe: FFFFFFFB
21:46.10*** join/#htc-linux _cronos_ (n=cronos@ron34-1-82-224-149-102.fbx.proxad.net)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.