IRC log for #htc-linux on 20080425

00:07.36*** part/#htc-linux p3t3r__ (n=p3t3r__@wlan.net-you.de)
00:46.34cr2_BabelO: i have updated the omap850 TS SPI data
01:00.18Marexcr2_, qemu is really helpful in disassembling palmld bootloader ;)
01:21.24*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:24.12*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:28.36*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:31.24*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:34.07*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:38.53*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:41.33*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:47.22*** join/#htc-linux Foxdie (n=foxdiefu@87-194-16-145.bethere.co.uk)
01:49.52*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:52.31*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:55.05*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
01:57.41*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
02:00.24*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
02:03.01*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
02:06.10*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
02:08.35*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
02:11.11*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
02:13.48*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
02:22.33*** join/#htc-linux surgex0 (i=surge@pool-71-251-163-113.bflony.east.verizon.net)
04:39.34*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
05:53.20*** join/#htc-linux kiozen (n=oeichler@p54929E1E.dip0.t-ipconnect.de)
05:58.49*** join/#htc-linux patoche (n=pat@77.197.65.152)
06:01.28*** join/#htc-linux kiozen (n=oeichler@p54929E1E.dip0.t-ipconnect.de)
06:33.06*** join/#htc-linux p3t3r__ (n=chatzill@uk-s9.uni-kiel.de)
06:33.12p3t3r__hi
06:33.47p3t3r__anybody here able to tell me how to set up a gprs connection on HTC Universal?
06:48.18*** join/#htc-linux root__ (n=root@77.197.65.152)
06:52.31*** join/#htc-linux Foxdie (i=Foxdie@77-98-47-71.cable.ubr05.harb.blueyonder.co.uk)
06:58.19*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
06:59.30*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
07:02.57*** join/#htc-linux LunohoD_ (n=alex@e180072172.adsl.alicedsl.de)
07:04.10*** join/#htc-linux patoche (n=pat@77.197.65.152)
07:07.49*** join/#htc-linux patoche (n=pat@77.197.65.152)
07:09.09*** join/#htc-linux root__ (n=root@77.197.65.152)
07:11.06*** join/#htc-linux rmoravcik (n=rmoravci@gtsgw.ttc.cz)
07:11.07*** join/#htc-linux patoche (n=patrice@77.197.65.152)
07:11.42dcordes_p3t3r__: did you check handhelds.org wiki?
07:13.02p3t3r__dcordes_ : i found that: http://www.handhelds.org/moin/moin.cgi/GPRS; does it work for universal?
07:14.17p3t3r__dcordes_: because i don´t understand it
07:14.38*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
07:14.49*** join/#htc-linux rob_w|laptop (n=rob@p549B892D.dip0.t-ipconnect.de)
07:14.58p3t3r__dcordes_: I thought of searching the logs of #htc-linux, but at least using google it was impossible
07:16.05p3t3r__btw: is there still any development on Universal?
07:19.07dcordes_p3t3r__: I see improvements dropping in here and there
07:19.35dcordes_only time I tried gprs in linux was on blueangel with gui
07:19.50dcordes_so I can't help you there
07:20.36p3t3r__dcordes_: Ok, do you think I could just try to compile some newer kernel with Universal patches... sad you can´t help.. well, if i find out, I will write a short how to on my blog
07:21.31dcordes_of course you can. Just grab latest hh.org cvs and build it
07:22.05dcordes_I don't know if somebody built uni with the latest tree though. I would welcome a gprs-newbie howto :)
07:22.29dcordes_what's your blog's URI?
07:23.49p3t3r__http://linmob.blogspot.com; the last time I played around with A910, now I am tired of this weird EZX again
07:26.27dcordes_that jffs2 mounting is useful :) had to look it up several times
07:27.33p3t3r__yes, it took me a while to find some explanations
07:28.00p3t3r__so i just wrote it up for my blog, to ensure i´d find it again
07:28.15dcordes_it would be nice if mount would suport jffs2 straight away
07:28.27p3t3r__sure
07:28.27dcordes_w/o the manual loop thing
07:29.31p3t3r__btw: i am currently running some debian rootfs on my Universal, it´s quite funny to use many things like on a real pc
07:32.53dcordes_I guess it is a question of speed and what you want to do with it..
07:33.09dcordes_but vga enables many gui things
07:33.54p3t3r__Yes, it is - I might go back to angstrom, though debian armel is nice...
07:34.15dcordes_what is the el in armel?
07:34.33p3t3r__don´t know my self... :(
07:35.06p3t3r__http://wiki.debian.org/ArmEabiPort
07:35.18p3t3r__i think that´s it
07:37.57p3t3r__http://wiki.neilandtheresa.co.uk/Titchy_Mobile <-- place to get a rootfs and so on, just if anybody wants to try it
07:42.29*** join/#htc-linux marbalon (n=marbalon@212.122.223.98)
07:42.55dcordes_p3t3r__: I want to try debian on my sharp zaurus
07:43.03dcordes_good morning marbalon
07:43.22marbalondcordes_: good morning
07:43.53dcordes_everything good?
07:44.56marbaloni've implemented calibration mechanism in ts driver http://www.embedded.com/story/OEG20020529S0046
07:45.39p3t3r__dcordes_: maybe this helps, if you have a c3x00
07:46.26dcordes_marbalon: now we have to touchscreen fixes :D Raven_coda also did something.
07:46.59marbalonwhat did he do ?
07:47.02dcordes_p3t3r__: c1000
07:48.35dcordes_marbalon: he added a function in vogu-ts.c http://forum.xda-developers.com/showpost.php?p=2147205&postcount=261
07:48.49dcordes_and a few other lines in present functions
07:49.58marbalondcordes_: it is usable now ?
07:50.09dcordes_marbalon: didn't try yet
07:50.15dcordes_good idea
07:51.02p3t3r__see you later, i got to do something "useful"
07:51.04p3t3r__bye
07:51.08*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfb61c.pool.einsundeins.de)
07:51.35dcordes_tach Zoolooc
07:51.55Zooloochallöle dcordes_
07:52.37Zooloochow's linux progress on Kaiser ;) ?
07:52.43dcordes_great
07:54.13Zooloocreally? cool! didn't have time to catch up, not to spek to try lately, holding my 14 days old son right now ;)
07:54.32dcordes_Zoolooc: congratulations :)
07:54.38Zooloocthx ;)
07:56.52dcordes_Zoolooc: basically input and display is working for now. I think most important next steps are SD and usb
07:58.14dcordes_marbalon: usual freeze :)
07:58.46Zooloocsounds great so far. any chances to get the missng pieces? bbl, late breakfast time ;)
07:59.24dcordes_Zoolooc: roadmap is good ^^ I wouldn't call this chances
08:00.02dcordes_all the drivers are present in android git
08:00.58kiozenanother hacker born, Zoolooc congrats :)
08:01.36kiozensay good bye to silence and tranquility, hehe ;)
08:03.41dcordes_infernix: ping
08:04.42dcordes_infernix: just to make sure you see this. don't work on a780 x11 image anymore. it doesn't work because fb is moto specific
08:08.56dcordes_marbalon: hm touchscreen doesn't work better here
08:10.40marbalondcordes_: there is no calibration in Raven_coda patch, only some fixes in input_set_abs_params()
08:11.42marbalondcordes_: I cave a concept how add calibrate mechanizm to Android but have no time to write it
08:11.48marbalon*have
08:13.06dcordes_marbalon: there are calibration programs in openmoko, angstrom and other OEoid distros
08:15.24dcordes_marbalon: http://nemustech.blogspot.com/2007/12/android-porting-notes.html "* Do auto calibration using "sysfs" in booting procedure"
08:16.40*** join/#htc-linux CVirus (n=GoD@82.201.174.127)
08:19.48marbalondcordes_: I think android have calibration mechanizm, but we don't have it, not included in the image
08:20.09dcordes_ok. and no sdk=no joy.
08:26.26dcordes_marbalon: I think it makes not much sense working on android userland touchscreen calibration now
08:27.49marbalonyes, but no idea how touch other devices :(
08:28.45dcordes_let's get sd working
08:30.25marbalonmore helpful is usb working, working with nfs will be more comfortable
08:31.18dcordes_ok
08:31.21dcordes_also nand.
08:31.35dcordes_I think all three, usb, nand and sd are very important
08:31.43dcordes_nand for stable booting
08:32.16dcordes_marbalon: did you look for nand driver in the source/config? I just looked through config and see no nand for msm
08:34.28marbalonno
08:45.49*** join/#htc-linux tsdogs_ (n=tsdogs@62.123.180.130)
08:59.53Zooloocthx kiozen ;)
09:09.24*** join/#htc-linux patoche (n=patoche@77.197.65.152)
10:26.10Pryanwenas
11:37.54*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
11:39.06*** join/#htc-linux miknix (n=miknix@bl3-201-84.dsl.telepac.pt)
11:56.18marbalondcordes_: how did you build your initrd ?
11:56.54marbalondid you rebuild angstrom fs ?
12:06.43*** join/#htc-linux CVirus (n=GoD@82.201.174.127)
12:09.22*** join/#htc-linux amd64lover (n=miknix@bl3-201-84.dsl.telepac.pt)
12:13.23*** join/#htc-linux rob_w|laptop (n=rob@p549B892D.dip0.t-ipconnect.de)
12:29.58*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
12:51.36*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
13:01.46*** join/#htc-linux kiozen_ (n=oeichler@p549286C4.dip0.t-ipconnect.de)
13:11.09*** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
13:11.12*** join/#htc-linux Sliss (n=chatzill@212.71.15.163)
13:13.22Slisshi any working Android image for bleuangel around?
13:18.49*** join/#htc-linux TeringTu1y (n=maarten@195-241-125-243.ip.telfort.nl)
13:51.59*** join/#htc-linux CVirus (n=GoD@82.201.174.127)
13:54.19*** join/#htc-linux wireddd (n=wired@unaffiliated/wireddd)
14:05.56cr2_lol
14:12.42cr2_BabelO: we have some time
14:21.37BabelOhi
14:21.43BabelOcr2_: for what ?
14:28.44cr2_moko2 phone will be released in autumn.
14:28.56cr2_BabelO: have you checked my changes to the TS SPI  ?
14:29.28cr2_BabelO: btw, what's the difference between the asr and lsr ?
14:30.18BabelOcr2_:  where are the change ? i did not read the log
14:30.24*** join/#htc-linux MHazem (n=GoD@82.201.174.127)
14:31.22cr2_http://wiki.xda-developers.com/index.php?pagename=OMAP850_Registers&action=diff&previous=minor&version=22
14:32.56cr2_BabelO: i think the syren spi should use a very similar layout. is it known ?
14:33.47BabelOcr2_: about syren, i see a exe named syren in android image :)
14:36.25BabelOcr2_: nice work :) so now i ve explanation of what i send and i m agree with your change, just for 0x4 it seem this value change once sampling is done, so maybe it is /EN
14:37.10BabelOcr2_: and rx /tx buffer are on four register, wouah, we did not see this change in haret
14:38.03BabelOcr2_: 0x0 register change from 0xfffe to 0xffff and 0x6 register from 0xfffd to 0xfffc so it is ok
14:38.10BabelOcr2_: now time to fix the code :)
14:38.33cr2_what values to you see for +0x4 ?
14:38.41BabelO0xfffc0800 have same structure
14:39.17BabelOcr2_: wait i check on the phone
14:39.18cr2_good.
14:39.33cr2_btw, 0xfffc1800 should be like 0xfffc0800
14:40.15cr2_so it's a block of 4 identical spi ports it seems.
14:40.18BabelOyes they are two spi100k port
14:40.33cr2_800, 1000, 1800
14:40.38BabelOwhy 4
14:41.17cr2_800 is not in the wiki list ?
14:41.19cr2_3
14:41.53BabelOyes 800 is in the spl and the trm so we can add it to the list, btw my spi driver is for both
14:42.04BabelOmaybe i ve to extend it for syren too
14:42.21cr2_1800 is in the list
14:42.36cr2_and the tornado guy obviously had a cpu manual :)
14:43.48cr2_it says LSB,MSB but uses the strh/ldrh for the data.
14:44.23BabelOcr2_: yes i think too he have manual
14:44.35cr2_the base address should have some clock divisor
14:44.41BabelOcr2_: yes i just notice change to 0xa and 0xc
14:45.09cr2_he must have written some syren spi code ?
14:45.18cr2_then you can reuse it.
14:45.19BabelOok, so i ve to understand why my driver does not work now ;)
14:45.44BabelOcr2_: no i don't see spi code just some fifo code as i can se for gsm
14:45.53cr2_BabelO: btw, what is the purpose of the 800 spi port ?
14:46.06cr2_spi is fifo
14:47.03BabelOcr2_: yes you right but his code is noot clear
14:47.10cr2_agreed.
14:47.14BabelOanddoes not have structure of spi module
14:47.20cr2_ok.
14:47.28BabelOdon't know about 800 port
14:47.44BabelOcr2_:  now i want to understand where gps is connected
14:47.51cr2_btw, if you'll strip the omap_* and ifdef from tsc2046_ts we may check it as a generic driver.
14:47.56BabelObefore i ve to add egpio
14:48.01cr2_BabelO: on a serial port.
14:48.11BabelOuart3
14:48.18BabelObut i did not see traces
14:48.22cr2_uart2 is IR ?
14:48.38cr2_do you set the cpld bits ?
14:48.48cr2_do you have a working htc-egpio driver ?
14:49.19cr2_for BT you need to do 0xfffe034 |0x200 too
14:49.31cr2_and cpld(5,1,x)
14:49.44BabelOyes i see it
14:49.54BabelOno working egpio driver, just a reboot driver
14:49.55BabelOlol
14:50.08cr2_need to fix it.
14:51.13cr2_is the 800 spi port used for gsm ?
14:51.24BabelOcr2_: i remeber value in 0x4 alre 0x5fd and 0x5fc
14:53.08cr2_ok, something to check then.
14:55.54cr2_BabelO: the gsm module has all bit definitions.
14:56.01cr2_for spi port
14:58.28BabelOcr2_: ok i check
15:02.57cr2_hehe. time to edit wiki
15:04.58*** join/#htc-linux patoche (n=patoche@lns-bzn-23-82-248-125-124.adsl.proxad.net)
15:20.53cr2_BabelO: syren_spi_read_reg and syren_spi_write_reg do the same as wince.
15:26.34dcordes_marbalon: if you read logs.. tar xvf rootfs.tar.gz; cd rootfs; ln -s sbin/init init; find ./ | cpio -H newc -o | gzip > ../initrd-rootfs
15:26.37ltxdahey fellas
15:26.48dcordes_hi all
15:26.54ltxda:)
15:31.00dcordes_cr2_: can you help me figure out what's up with SD? I'm in some image now where I have all SD stuff compiled in and are able to compeltey read the logs
15:41.58dcordes_SanMehat: ping
15:59.31BabelOcr2_: why there is a comment about page selection ?
16:01.00*** join/#htc-linux noelcragg (n=noel@166.129.240.77)
16:04.59BabelOhi noelcragg
16:05.15noelcraggBabelO: hello
16:06.12noelcraggBabelO: have been working on a theme for the 240x240 on sable
16:07.40BabelOnoelcragg: good, you have screenes ?
16:08.03noelcraggBabelO: fb device
16:10.07BabelOnoelcragg: http://handhelds.org/moin/moin.cgi/TakingScreenshots
16:10.35noelcraggBabelO: On the bus to work; will do that when I get home.
16:10.59BabelOnoelcragg: ok
16:12.56cr2_dcordes_: busy with spi
16:13.10cr2_BabelO: which page selection ?
16:16.25SanMehatdcordes_: pong
16:17.40dcordes_SanMehat: hi I've got me an image where I can read the log and have SD built in
16:17.55dcordes_maybe you can help me find out what's going on?
16:24.40BabelOcr2_: if you look at syren_spi_write_reg ( name should be spi_write_data you have a reg param
16:25.54dcordes_SanMehat: you told me it's required too see a CMD_TIMEOUT message after the driver is initialized. Don't think there is one
16:28.15infernixdcordes_: pong
16:28.23infernixi read the x11 thing
16:28.40infernixi'll deploy a sid chroot to get an OE build env up
16:28.41SanMehatdcordes_: no.. thats not what I said... I said that CMD_TIMEOUT is a good way to test if you have IRQS flowing.
16:29.24SanMehatif your sd slot is not powered up then you may see command timeout IRQS when the MMC stack starts to enumerate the bus
16:29.27infernixi need a proper build env for working kernel compiling:)
16:29.28dcordes_SanMehat: ok sorry I got this wrong then. I enabled almost all the SD stuff in the conf
16:30.20dcordes_SanMehat: how do these look? I'm in vi messages now
16:30.30cr2_BabelO: what is 'page selection' there ?
16:30.45SanMehatdcordes_: This morning is crazy for me
16:30.58SanMehatdcordes: you'll need to enable driver printk's
16:31.04SanMehatat the top of msm_sdcc.c change the pr_debug with printk
16:31.37dcordes_alright. and then after I did this recompilled, booted, how do those messages look like I'm out for?
16:32.30*** join/#htc-linux p3t3r__ (n=root@wlan1.net-you.de)
16:32.30infernixdcordes_: i'm on x86_64; you mentioned that that might give problems for an OE build environment?
16:32.38SanMehatdcordes_ you'll start to see an 'irq0' msg whenever you get an interrupt...
16:32.45SanMehatyou'll need to continue debugging it from there
16:32.52SanMehatbut if you get 'irq0' messages then you have IRQS flowing.
16:33.31p3t3r__hi guys, i am using my Universal to write this here ;)
16:33.45infernixapplauds
16:33.56infernixircii?
16:34.10p3t3r__irssi ;)
16:34.17dcordes_SanMehat: I see plenty of "mmc0: msmsdcc_irq: irq0 0040000" between all the messages
16:34.20infernixthats what iment:)
16:34.53SanMehatdcordes: then you have interrupts flowing.. yayyy
16:35.35dcordes_SanMehat: but only one line of the m always
16:36.13SanMehatyeah.. well at that point you need to just start digging into it
16:36.23SanMehatbecause the behavior after this will mainly be hardware specific
16:39.14dcordes_then "mmc0: Starting CMD55 arg 00000000 flags...; mmc0: msmsdcc_start_command: 0p 37 arg0...; mmc0: msmsdcc_irq: irq0 00400004; mmc0: req done (cmd55) : -110: 00001001 0...; mmc0: msmdcc_irq0 00400000"
16:39.21dcordes_SanMehat: does this reveal anything?
16:39.56dcordes_infernix: I could cleanup and send you a copy of my local tree?
16:40.12infernixno, i'll do the sid thing
16:40.15SanMehatdcordes_: you're getting comamnd timeouts
16:40.17infernixneed to figure it out
16:40.54dcordes_SanMehat: which means the controller does not respond?
16:41.10dcordes_infernix: ok good luck
16:42.42dcordes_infernix: you can use openembedded on x86_64. only negative aspect is you can't use the psyco jit compiller on 64bit systems (it accerlates python which bitbake is written with)
16:43.36infernixi've a Q6600 at 3ghz
16:43.40infernixit should manage
16:43.48infernix-j5 :)
16:43.51dcordes_SanMehat: at the very beginning it says mmc0: clocl 0Hz and then aftter a second mmc0: clock 144000Hz (I wish I could get this damn log outta there)
16:44.10SanMehatdcordes_: Sorry man, I can't help right now.. i'm swamped
16:44.12dcordes_infernix: e6750 here
16:44.45dcordes_SanMehat: ok
16:45.14dcordes_infernix: maybe I can send you my tree and you can compare to get your sid thingy going :) ?
16:46.15infernixpatience
16:46.19infernixill be here all night
16:46.22infernixpastebin me the patch :)
16:46.31infernixis reading up on schroot
16:48.46dcordes_infernix: ok I will git diff my current tree. it has the working sd thing
16:54.03BabelOcr2_: i don't know so it set it to zero
16:54.38cr2_BabelO: ?
16:55.01cr2_BabelO: the 0x800 port is not used by spl. the 1000 is ts, and 1800  is syren
16:55.26cr2_BabelO: and they all use different speeds.
16:55.33BabelOcr2_: ok, i replace my spi driver function by the syren_spi from gsm.c
16:55.45cr2_BabelO: hmm.
16:55.48BabelOcr2_: where do you see speed settings ?
16:55.50dcordes_infernix: I made two diffs: One before I git remote updated and one after.
16:56.26cr2_BabelO: this is a bit strange omap_writew((data << 6) | (reg << 1) | SYREN_WRITE, SYREN_SPI_TX_MSB);
16:56.49cr2_BabelO: the clock divisor
16:57.08*** join/#htc-linux TimRiker (n=timr@99-203-85-165.area1.spcsdns.net)
16:57.10cr2_BabelO: can you dump the control regs for all 3 port ?
16:57.18BabelOcr2_: yes i can
16:57.26cr2_setup, not control
16:57.33cr2_put them into wiki
17:00.48dcordes_infernix: huh the patch after git remote update has the same size as the one before. how can that be possible?
17:03.41dcordes_infernix: anyway sent
17:03.44dcordes_bbl
17:14.34BabelOcr2_: what strange bit ? SYREN_WRITE or reg ?
17:15.10cr2_the sift
17:15.15cr2_s/sift/shift/
17:21.07BabelOcr2_: fffc1000 | 0000fffe and fffc1800 | 0000fff0
17:22.24cr2_write only ?
17:23.26BabelOcr2_: the register description say 0x7ff wide but all other are same than first 0x10
17:24.43cr2_ok
17:40.23infernixdcordes_: do you have a htckaiser.conf for OE?
17:44.00*** join/#htc-linux miknix (n=miknix@213.13.201.84)
17:44.11BabelOcr2_: so i ll try like that data << 6) | (reg << 1) | WRITE ? or just data ?
17:44.21miknixhey BabelO
17:44.28BabelOola miknix
17:44.57miknixneed help on something?
17:45.19BabelOmiknix: no
17:45.54dcordes_infernix: check mail.
17:47.02*** join/#htc-linux noelcragg (n=noel@mf20f36d0.tmodns.net)
17:48.37*** join/#htc-linux hp (n=hp_@staryu-03.dynamic.rpi.edu)
17:52.58*** join/#htc-linux AlGe (n=alge@chello080109231226.4.uni-klu.teleweb.at)
18:41.14*** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
18:43.15*** join/#htc-linux tsdogs (n=tsdogs@62.123.180.130)
19:11.02*** join/#htc-linux marbalon (n=balon@aego250.neoplus.adsl.tpnet.pl)
19:19.03*** join/#htc-linux miknix (n=miknix@213.13.201.84)
19:28.10marbalonRaven_coda: hi
19:28.34Raven_codahello
19:28.51marbalonI try to find best toolchain to compile some tools for Angstrom linux
19:28.58marbalonwhat is the best ? OE ?
19:29.30Raven_codahm, not sure maybe dcordes_ would know
19:29.49Raven_codaI use gentoo and just make my own
19:30.04infernixhi there
19:30.15infernixmarbalon: i've just finished setting up an OE environment
19:30.25infernixi still have problems booting kernels I compile myself
19:30.39infernixkeyboard input makes the cursor freeze or lag
19:30.53infernixoccasionally i can get actual input
19:31.01Raven_codainfernix, I had that prob when using msm-2.6.24 branch
19:31.12Raven_codabut when I use android-msm branch no probs
19:31.14infernixi've checked out android kernel and still the same
19:32.10marbalonI compiling kernel with http://www.codesourcery.com/ toolchain
19:32.41infernixyeah i did that before. i thought that the toolchain was the problem.
19:33.46marbalonbut it is not so good to compile apps, no headers, libs...
19:34.12infernixwhat distro do you run?
19:34.18marbalonubuntu
19:34.25infernixuse the OE wiki
19:34.29infernixits fairly straightforward
19:34.53marbalonhttp://www.openembedded.info/wiki/Getting_started_with_OE   ?
19:35.18infernixyeah
19:35.26infernixstart here: http://oe.linuxtogo.org/wiki/OEandYourDistro
19:35.30marbalonok downloading
19:35.31infernixsince you use ubuntu
19:38.10*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
19:38.59marbaloninfernix: faster way, thanks ;)
19:41.42infernixchecks out android-msm once again
19:41.50cr2_BabelO: i think simply 'data'
19:41.52infernixmust be doing something wrong with git
19:42.39BabelOcr2_: ok, that is what i do then... my driver has a little kernel panic issue
19:43.18cr2_BabelO: cat /proc/iomaps
19:52.13*** join/#htc-linux Oktal (i=mat@cpc3-cmbg8-0-0-cust1018.cmbg.cable.ntl.com)
20:05.23dcordes_re
20:06.24dcordes_marbalon: can you join #oe for further OE reference? XorA will help us.
20:06.42infernixhi
20:07.04dcordes_marbalon: it is the best way to set up OE locally on your computer. It works like gentoo.
20:07.23infernixdcordes_: ok so i checked out android-msm branch. patching with marbalons patch works, patching with the one you sent fails
20:07.45BabelOcr2_: whar is wrong here http://pastebin.ca/997728 ?
20:07.48dcordes_ok I assumed that. It looks strange
20:07.53infernixcan't find drivers/mmc/host/msm_sdcc.c in branch android-msm
20:08.01dcordes_there is nothing more but SD in it.
20:08.13dcordes_I patch 4 files for sd
20:08.47dcordes_infernix: did you do something in order to make marbalon2.0 patch apply?
20:08.51infernixnada
20:08.56dcordes_just the recipes?
20:08.58infernixfew hunks
20:08.59infernixbut thats it
20:09.04dcordes_few hunks failed?
20:09.10infernixno succeeded
20:09.29dcordes_so the patch went through fine w/o any modification to the metadata I sent you?
20:09.49cr2_BabelO: add printk("%p" spi100k->base_addr
20:09.58cr2_at the beginning
20:10.24infernixdcordes_: i'll just hack your diff so it applies after marbalons 2.0
20:16.14infernixdcordes_: ok your patch can't be against android-msm
20:16.36infernixi just did a checkout of that, and your patch tries to patch sdc2 code in arch/arm/mach-msm/common.c that just isnt there
20:16.42infernixso now im hopelessly confused
20:17.00dcordes_infernix: I'm in android-msm
20:17.06dcordes_rm mypatch.diff... it's crap
20:17.17dcordes_I don't know what I did wrong with git diff
20:19.55infernixdcordes_: i think this is the right order. can you do a commit -a, then *don't* commit it (e.g. don't enter anything, just quit editor), then add the files that are listed (git add ...). then finally do a git diff android-msm
20:20.10infernixthat should give a diff that applies clean to android-msm
20:21.00dcordes_ok doing it
20:22.38dcordes_marbalon: you geetting along with OE setup?
20:23.15*** join/#htc-linux patoche (n=root@lns-bzn-28-82-250-174-241.adsl.proxad.net)
20:24.25infernixarch/arm/mach-msm/kaiser-ts.c: In function 'kaiser_ts_remove':
20:24.25infernixarch/arm/mach-msm/kaiser-ts.c:367: warning: ISO C90 forbids mixed declarations and code
20:24.25infernixmake[1]: *** [arch/arm/mach-msm/board-htcvogue.o] Error 1
20:24.30infernixugh
20:24.46infernixgoes nuts
20:24.56cr2_BabelO: root     29711  2.6 55.9 1838240 1154220 tty7  Ss+  Mar14 1573:49 /usr/bin/Xorg -br -nolisten tcp :0 vt7
20:28.57BabelOcr2_: ?
20:29.30BabelOcr2_:  1154220 big big
20:29.56cr2_firefox+phlash
20:30.17cr2_i hate closed source firefox plugins.
20:32.10BabelOcr2_: what is phlash ?
20:32.59cr2_flash
20:34.14infernix#define MSM_FB_BASE             MSM_PMEM_GPU1_BASE + MSM_PMEM_GPU1_SIZE
20:34.14infernix#define MSM_FB_BASE   0
20:34.23infernixthis is in arch/arm/mach-msm/board-htcvogue.c
20:34.26infernixthat can't be right
20:34.35BabelOcr2_: ok, yes it happen often on my computer too
20:35.00BabelOcr2_: it seem the printk do the kernel panic
20:35.21Raven_codaMSM_FB_BASE should be 0 that's right
20:35.32infernixarch/arm/mach-msm/board-htcvogue.c:78: error: unknown field 'fb_base' specified in initializer
20:35.38infernixthis is why compilation fails
20:36.42cr2_BabelO: do you map this area somewhere ?
20:36.52*** join/#htc-linux dcordes (n=lukas@f054211148.adsl.alicedsl.de)
20:37.07Raven_codain msm_mddi0_pdata ?
20:37.10infernixdoes yet another checkout
20:37.23infernixyep. i don't understand why the procedure fails
20:37.23BabelOcr2_: spi100k->base_addr is just an unsigned long
20:37.26infernixhttp://pastebin.ca/993820
20:37.48cr2_BabelO: there should be a ioremap for it somewhere.
20:38.03dcordesinfernix: don't we work in vogue-ts?
20:38.10cr2_BabelO: what is the value of spi100k->base_addr ? is it a physical address ?
20:38.30cr2_BabelO: can you pastebin the /proc/iomaps
20:38.52Raven_codadepends on which patch you are using decoreds
20:39.00*** join/#htc-linux CVirus (n=GoD@82.201.174.127)
20:39.04Raven_codaif you are using mine yes, if not no
20:39.17dcordesRaven_coder I was assuming infernix was using marbalons second patch.
20:39.19Raven_codaif not then you are using kaiser-ts
20:39.28BabelOcr2_: http://pastebin.ca/997761
20:39.32BabelOcr2_: this is the code
20:40.03Raven_codalook in arch/arm/mach-msm/Makefile
20:40.16infernixim not interested in the ts part, i just want to play around with sd
20:40.21Raven_codait will tel you if you are using vogue-ts.o or kaiser-ts.o
20:40.37infernixtoo late, already doing a fresh git clone
20:41.12infernixraven, how does your patch differ from the one marbalon has made?
20:41.38Raven_codacan you point me to his patch and I'll tell you
20:42.37infernixhttp://baliniak.pl/android/kernel.diff
20:42.42BabelOcr2_: if i check base_addr in dmesg with both read and write funciton in comment it give me 0xfffc1000 so it is ok
20:42.51cr2_<PROTECTED>
20:42.52cr2_<PROTECTED>
20:42.52cr2_<PROTECTED>
20:43.14cr2_BabelO: this is complete insanity :)
20:43.55BabelOcr2_: http://pastebin.ca/997766
20:44.21BabelOcr2_: yes i know but all use omap_writew() or omap_readw
20:44.36Raven_codamine contains all his plus, cleans up clock, make kaiser it's own machine type, and has starts for SD support already
20:44.51Raven_codaalong with my most recent touchscreen fixes
20:45.11cr2_BabelO: i guess they pay per code character count at nokia.
20:45.13infernixcan you pastebin it?
20:45.17infernixor an url
20:46.10Raven_codahttp://forum.xda-developers.com/attachment.php?attachmentid=83084&d=1209078801
20:46.27infernixgracias
20:46.43Raven_codamake sure to set your MTYPE to 1553 in default.txt
20:47.07BabelOcr2_: why ? i simplify this code a lot, but i know i can do more, this is from omap-mcspi driver
20:47.40cr2_omap_writew() only makes sense if you use the same code on BE and LE cpus
20:48.02cr2_otherwise it's an unbelievable waste
20:48.22cr2_it's like using stdio fseek instead of mmap.
20:49.00cr2_and it's nonportable to other machines.
20:49.34dcordesinfernix: he basically adds up kaiser as an own board as I gathered
20:49.54dcordesnot really necessary yet imo
20:50.12cr2_BabelO: what about /proc/io* ?
20:50.41infernixahh ffs, my nfs mount crashes again
20:50.51infernixyet another futile git clone
20:51.07cr2_BabelO: an oops at that place means that this area is not mapped
20:51.08Raven_codawe prob could still use vogue board but I wanted clean code. I also prepaired it so it doesn't break MSM7200A
20:52.09Raven_codaI have worked with dzo and removed all his old debugging code
20:52.14BabelOcr2_: http://pastebin.ca/997781
20:52.34dcordesRaven_coda: in case we all work with your tree no problem
20:52.50dcordesmy aim is to avoid confusion
20:53.05Raven_codasame here, I spec no paticular tree
20:53.10BabelOcr2_: looks ok andit is strange because it does not hang on spi100k_open funciton which is called before any write_data
20:53.12Raven_codathat patch works with both
20:53.21Raven_codait's the keyboard that only works on android-msm
20:53.22dcordesRaven_coda: do you get the mmc0 irq messages with your sd patchstuff?
20:53.28Raven_codayes
20:53.31infernixstrangles nfs4
20:53.43dcordes~lart nfs4
20:53.43apthurls dozens of incontinent, insomniac, hungry kittens with tiny little razor-sharp claws and a wide variety of contagious intestinal parasites at nfs4
20:54.17dcordesoh the terror
20:55.04dcordesRaven_coda: did you see a sdc clock > 0 Hz message?
20:55.08dcordeson sd init
20:55.09cr2_BabelO: ok. btw, you should not use the top 4MB of ram.
20:55.37Raven_codano, my clock is running
20:55.41Raven_codanot 0 Hz
20:55.42cr2_BabelO: 10000000-13ffffff : System RAM
20:55.58dcordesRaven_coda: ok same here. it first shows up 2 lines with 0Hz then I see something. that's good I like your patch then
20:56.00BabelOcr2_: why ?
20:56.12BabelOcr2_: all omap device seem to be setup like this
20:56.21BabelOcr2_: and i use an initrd of 20Mb
20:56.34cr2_BabelO: use mem=60M
20:56.34dcordesRaven_coda: I will reclone andalso apply that. Is the latest one in my email or did you update?
20:56.44BabelOcr2_: ok
20:57.00Raven_codaum, iirc the one I sent you is older
20:57.06Raven_codause the link I posted above
20:57.43cr2_BabelO: because these 4 MB are dual mapped by the arm7 dsp
20:58.09BabelOcr2_: ah ok yes i read there is a bridge between
20:58.33BabelOcr2_: so only mem=60M should solve it
20:58.40dcordesRaven_coda: okays. I fiddled in your touchscreen update yesterday btw
20:58.43Raven_codathe whole point of my patch is to include everyone's work while not breaking any existing setups so that it can be patched into the main tree
20:58.52Raven_codaany good?
20:59.13dcordesRaven_coda: it seemed a bit less shity :)
20:59.31Raven_codathx :), without calabration that's to be expected
20:59.47dcordesbetter said I still wasn't able to hit the bar on top so navigation wasn't eased
20:59.51Raven_codaI notced touch.dll does an extra call beofre reading the y pos to get better acuraccy
21:00.15Raven_codayeah, top of screen readings are way to crazy
21:00.24dcordesmarbalon has some ideas about writing a userspace calibtration thing for android
21:00.30Raven_codatop right is like 500 and top left is like 1000
21:00.36Raven_codashould both be same
21:00.41dcordesto be honest I'm not much interested in that. openembedded already has calibration stuffz
21:00.43Raven_codathat would be good
21:00.57Raven_codathats good too
21:01.30cr2_BabelO: Invalid pin mux index: 145 (25)
21:01.40dcordesI hope OE calibrationwill do. you guys can look that up for android then
21:01.42cr2_BabelO: i think it should be fixed too.
21:02.10dcordesmaybe there will be sourceode for the userspace android stuff some time :)
21:02.32BabelOcr2_: yes i know about invalid pin mux, it is a bad detection setting
21:02.40Raven_codaI hope, but I'm not holding my breath
21:03.29Raven_codawell, you can write userspace stuff for android already just not low level
21:04.55*** join/#htc-linux rmoravcik (n=rmoravci@adsl-dyn8.78-98-50.t-com.sk)
21:05.51Raven_codabut java is not my cup of tea, I prefer C and asm :)
21:07.21cr2_BabelO: why does the spl have the code to access intel strataflash ?
21:08.36BabelOcr2_: i don't know, i miss inside artemis picture
21:11.06cr2_BabelO: but you have the registry ?
21:11.21cr2_BabelO: i thought artemis uses mdoc ?
21:11.25BabelOcr2_: yes i have the registry
21:11.35BabelOcr2_: same thing with meem=60M :(
21:13.02cr2_BabelO: how does the omap_readw implemented ?
21:14.46BabelOcr2_: #define omap_writew(v,a)        (*(volatile unsigned short *)IO_ADDRESS(a) = (v))
21:15.46Raven_codadecordes can I see you most recent sd patch?
21:16.59infernixRaven_coda: your patch fails against my android-msm checkout >.<
21:17.04infernixbegins to lose hope
21:17.09Raven_codawhere is your head?
21:17.26infernix1 out of 6 hunks FAILED -- saving rejects to file drivers/video/msm/mddi.c.rej
21:17.30infernix1 out of 1 hunk FAILED -- saving rejects to file drivers/video/msm/msm_fb.c.rej
21:18.09BabelOcr2_: ok i found , mistake from me :)
21:19.41dcordesok machine kaiser works in OE :)
21:20.03Raven_codainfernix type git log
21:20.17infernixcommit 1537cb1fd53a514631a8a5ccfe278db2e25750ff
21:20.24infernixhttp://pastebin.ca/997814
21:21.20dcordesOE one is f102b551df236570d85daff753c52f06b6099fd4. that works fine with marbalon2 patch
21:21.48Raven_codayeah, that HEAD is not right
21:22.11Raven_codamine works on the HEAD dcordes listed
21:22.34dcordesI think that's the most recent
21:22.43dcordesoops no
21:22.46dcordesnot since 40 minutes
21:22.59Raven_codaha!
21:23.03Raven_codawell I'll be
21:23.12dcordeslol
21:25.01Raven_codaandroid-msm is not updated yet
21:26.34dcordesRaven_coda: how can you make the gitweb view a specific branch?
21:27.15Raven_codaadd h=android-msm
21:27.18*** join/#htc-linux noelcragg (n=noel@adsl-68-121-164-151.dsl.pltn13.pacbell.net)
21:27.25*** part/#htc-linux noelcragg (n=noel@adsl-68-121-164-151.dsl.pltn13.pacbell.net)
21:27.43infernixmarbalons patch fails against current git clone as well
21:27.52Raven_codahttp://git.android.com/?p=kernel.git;a=shortlog;h=android-msm
21:28.27*** join/#htc-linux Marex (n=marex@85-132-216-250-eth3-gwfm10-user.802.cz)
21:28.39infernixshall i revert to the one thats 5 days old?
21:29.20Raven_codathe patches would work if you did
21:31.08Raven_codainfernix, if you want marbalon's keyboard to work you'll need to change over to the android-msm branch
21:31.22infernixi'm in it
21:31.37Raven_codano, it has not been updated for days
21:32.34cr2_BabelO: before you can access the IR uart2 you need to set the OMAP850_PCC_SOFT_REQ , OMAP730_IO_CONF5  and OMAP730_IO_CONF6
21:32.48dcordescr2_: did you make the blueangel config in OE or was that pH5?
21:33.51BabelOcr2_: con5 and conf6 are set and i also set omap_writel(omap_readl(0xfffe0834) | 0x800, 0xfffe0834);
21:34.06BabelOcr2_: but i have not IR on artemis ;)
21:34.23cr2_BabelO: cpld(6,4,=1) is missing
21:34.30BabelOcr2_: i set this for gps
21:34.39cr2_BabelO: then the gps is there.
21:34.47BabelOcr2_: ok
21:34.54cr2_so uart2 is gps ?
21:35.02BabelOcr2_: so cpld driver before
21:35.45cr2_cpld, PCC+IO, then uart regs.
21:35.59cr2_6,4 is the gps/ir power
21:36.03cr2_i guess.
21:36.47Raven_codainfernix type, git checkout -b android-msm origin/android-msm
21:36.56infernixsuccess
21:37.03infernixreverted 12 commits
21:37.06infernixpatches work now
21:37.08BabelOcr2_: http://pastebin.ca/997835
21:37.20Raven_codaif you get android-msm already exists then type git checkout -b my-android-msm origin/android-msm
21:37.21infernixthat took a long time to wrap my head around, but now i know git
21:37.35Raven_codaI fear the keyboard will still not work for you
21:37.47infernixim sure it will, since i was in linux-msm before
21:37.52Raven_codak
21:37.54infernixi can tell by 'git branch'
21:38.16infernixtheres only android-msm and msm-2.6.24 whereas i had many more before
21:38.45infernixusing your patch now
21:39.00cr2_BabelO: .nrRegs      = 1, ?
21:39.22cr2_BabelO: check the n560 htc-egpio driver
21:39.35cr2_BabelO: i think you have 8 regs too.
21:39.49infernixwill the SMD driver crash the kernel?
21:39.58Raven_codano
21:40.01dcordesgot f102b551df236570d85daff753c52f06b6099fd4 android-msm now?
21:40.02cr2_BabelO: so you can take it over, only changing the base address
21:41.05BabelOcr2_: ok i check it
21:41.55infernixtop listed commit in git log is 71091c76c6d4a91bdf0df6ffd642336c86993eb0
21:42.01infernixusb_function: ether: add cdc_subset ethernet function
21:42.15BabelOcr2_: wouah there is change since i update bluenagel ..
21:42.20cr2_BabelO: there is also a bunch of omap gpios related to the uarts
21:42.41Raven_codaonce you are in the android-msm branch you should not need to revert any commits
21:42.54cr2_BabelO: check the 'uart' tag here http://wiki.xda-developers.com/index.php?pagename=ArtemisGPIO
21:43.18BabelOcr2_: where is n560 ?
21:43.29infernixRaven_coda: the patch does not apply if I don't revert the last few commits of the past days
21:43.55Raven_codai don't think you are in android-msm branch then
21:44.16Raven_codagit branch only tells you the branches you created
21:44.27Raven_codawhich could be named anything
21:44.28cr2_BabelO: mach-pxa/looxc550
21:44.38BabelOah :)
21:44.38Raven_codajust try git checkout -b my-android-msm origin/android-msm
21:44.58Raven_codaand see if you can apply patches to that
21:45.53*** join/#htc-linux nx5_away (n=pocholo@84.78.40.245)
21:49.13*** join/#htc-linux mutafuter2001 (n=jon@96.12.106.243)
21:49.23mutafuter2001hey all
21:50.02mutafuter2001anyone here
21:52.08dcordesok new attention span award winner!
21:52.33Raven_codalol
21:52.51cr2_dcordes: wtf do they want ?
21:53.21dcordesmaybe he wanted android on nokia3210
21:53.26Raven_codacame and left in less than 60 seconds
21:53.55cr2_this is certainly an achievement
21:54.16dcordesRaven_coda: did you try nand yet?
21:54.27BabelOcr2_: i get that undefined reference to `gpio_desc'
21:54.36dcordesI just noticed I didn't even compile kaiser kernel with msm nand enabled
21:55.03cr2_BabelO: which kernel do you have ?
21:55.09Raven_codayeah, not working
21:55.14BabelOcr2_: hh kernel latest update
21:55.35cr2_hmm.
21:55.42Raven_codahaven't looked at why, could be an easy fix
21:56.10dcordesthat would be very useful. we could boot from loopfiles on the nand then
21:56.12Raven_codaI figured sd was more useful at this point and time
21:56.29dcordesso what can we do with sd? any clue about power gpio?
21:56.52Raven_codapower gpio?
21:57.19dcordesyes afaik we do not power the sdcc, do we?
21:57.27dcordesor rather the sdccs
21:57.35infernixRaven_coda: that worked. compiling, but now im confused again about git:)
21:57.47infernixi jus' dun' git it
21:58.06dcordesinfernix: I just have a textfile where I look up the branching checkout procedure. don't git it either ^^
21:58.43Raven_codawell, now that you are on the right branch you won't have to worry about it as much
21:59.22infernixok, so mtype 1553
21:59.32Raven_codayes, that is for HTCKAISER
21:59.40Raven_coda1667 was for HTCVOGUE
22:00.26dcordescool
22:00.37infernixsuccess!
22:00.41dcordesgr8
22:01.08Raven_codakeyboard works too?
22:01.10infernixmeanwhile bitbake gpie-image is nearing completion
22:01.10infernixyeah
22:01.11dcordesbuilding kaiser angstrom image with xtra stuffz
22:01.12infernixworks fine
22:01.43cr2_gpie ? LOL
22:01.47dcordes:)
22:01.51infernixwell fine
22:01.55infernixheh, gpe :)
22:02.02dcordescr2_: sounds like gpe/opie hybdrid
22:02.03infernixi get some double character input sometimes
22:02.05cr2_yes
22:03.32dcordescr2_: do you have any clue what I can try to get sd working beyond the things you already told me and which worked (reducing count from 4 to 2, correcting addreses for sdc1 and sdc2, adding init to board config) ?
22:04.34cr2_dcordes: power and gpio setup.
22:05.59cr2_BabelO: what was the wince cpld() -> reg mapping ?
22:06.27cr2_cpld(M,N,[01])
22:06.38cr2_M -> bank, N -> bit
22:08.10cr2_900270f0+M*2
22:08.44dcordescr2_: how would we go about power setup? Is this done with gpio?
22:09.32BabelOcr2_: mine is 0x04000000
22:09.43cr2_N is bitmask
22:10.03cr2_does M start at 0 ?
22:10.06cr2_or at 1
22:10.20cr2_dcordes: yes, you need to learn more about gpios anyway.
22:10.51dcordescr2_: ok. we have sd0, sd1, sd2 in the wiki. don't we have just 2 sd controllers?
22:11.20cr2_dcordes: i think it comes from SD1, SD2 naming.
22:11.22cr2_hmm.
22:11.32cr2_dcordes: there are 3 "devices"
22:11.49cr2_SD, megasim (?), and wifi
22:12.20cr2_SD and megasim are on the first controller sd0 (SD1), and wifi is on sd1(SD2)
22:12.47cr2_i think this is the reason of some confusion
22:12.58BabelOcr2_: lol
22:13.00BabelOcr2_: ttyS0: autoconf (0x0000, 0xfefb0800): iir=3 EFRv2 950id=f1:f1:f1:f1 850id=0000 type=ST16654
22:13.08BabelOcr2_: serial8250.0: ttyS0 at MMIO 0xfffb0800 (irq = 46) is a ST16654
22:13.23BabelOcr2_: i reactivate the gps gpio conf and clock
22:14.09cr2_nice.
22:14.21BabelOcr2_: but it hand when i cat /dev/ttyS0
22:14.21dcordescr2_: so SD just provides the datastream and in case of sd0 megasim is the thing that processes the SD card specific data?
22:14.35BabelOcr2_: device also hang when i touch the screen
22:14.40cr2_BabelO: i think you need htc-egpio anyway.
22:15.12cr2_dcordes: i have no idea what is megasim, but htc uses it very often
22:15.32cr2_SD is SD card.
22:15.57cr2_BabelO: i think it's zero based.
22:16.27cr2_so cpld(M,N,[01]) is bankreg M-1, bitmask N
22:16.35cr2_on artemis (!)
22:17.51cr2_BabelO: which LCD do you have ? there are 3 options
22:18.47BabelOcr2_: i think topo, i use this setup
22:18.53dcordescr2_: there is http://www.sandisk.com/OEM/ProductCatalog(1271)-SanDisk_Family_of_SIM_Cards.aspx
22:21.06cr2_BabelO: i'm rechecking the cpld gpios.
22:21.14BabelOcr2_: i see ;)
22:22.25dcordescr2_: the gpios are controlled by the arm11?
22:24.41cr2_dcordes: no and yes.
22:26.23dcordesso also arm9 can access them?
22:26.53cr2_BabelO: i think you've mixed wifi power and reset
22:26.56dcordesin that case I would guess megasim on sd0 talks to the sim card
22:29.26BabelOcr2_: ah
22:29.46cr2_BabelO: a lot of weird things.
22:30.36cr2_i think you got a lot of things wrong
22:33.54dcordescr2_: me?
22:33.59cr2_BabelO: i've added 1 more column
22:34.06cr2_dcordes: no, BabelO for artemis
22:36.25BabelOcr2_: from gpio ? or cpld, i never call cpld
22:37.42cr2_BabelO: in the ArtemisCPLD. i'm updating the list, then we can check.
22:38.22BabelOcr2_: ok i look for why device hang when i press the screen
22:41.57infernixdcordes: booting my own OE console image:)
22:42.08infernixit hangs upon dropbear 1024bit key generation tho
22:44.18infernixhere we are
22:44.20infernixjust dead slow
22:44.57dcordesinfernix: what did prevent you from booting the first time?
22:45.36infernixwell it boots but its giving weird errors
22:45.42infernixno /var/run, no mounted /proc
22:46.11infernixfstab is correct, as well as var/run existing in the initrd.
22:46.18dcordesdid you go through the calibration? did it work?
22:46.43cr2_BabelO: the 0x79 and 0x8d wifi/sd mux. do you know the settings ?
22:47.21BabelOcr2_: i set 0xa3 to 0 (megasim off) 0x79 ->0 and 0x8d -> 1
22:47.50infernixdcordes: im in console
22:48.00dcordesoh. not gpe-image?
22:48.03infernixno
22:48.04cr2_BabelO: there are 3 options.
22:48.15infernixjust built x11-image, but first need to find out whats wrong
22:48.17dcordesinfernix: I should read what people say sry
22:48.52dcordesalso has console-image ready
22:49.17cr2_BabelO: option 0 -> 79=0, 8d=0; option 1 -> 79=1, 8d=0; option 2 -> 79=0, 8d=1
22:49.40BabelOcr2_: ok let me try
22:49.41cr2_BabelO: wifi is option 1
22:50.05cr2_BabelO: you have option 2
22:51.51infernixdcordes: ah, i believe one has to run 'bitbake console-image' as root
22:52.14dcordesinfernix: never run bitbake as root. it will destroy your life
22:52.24infernixotherwise device creation fails
22:52.43infernixso remove contents of dev and then MAKEDEV generic
22:52.44BabelOcr2_: so i try option 0, don't know what it is, i got timeout of mmc like this
22:52.51dcordesI never did that and never heard about the need to run any bitbake task as root
22:53.31infernixwell all the devices are just empty files in rootfs/dev
22:53.38cr2_BabelO: check http://wiki.xda-developers.com/index.php?pagename=ArtemisCPLD
22:55.45dcordesinfernix: that's normal. just look at our tryout rootfs
22:57.01infernixugh, failure to boot with keyboard open
22:57.37dcordesdoes it die in haret when you have it open?
22:58.09infernixyup but now also when closed.
22:58.21infernixsighs deeply
22:58.39dcordesinfernix: yea we need a filesystem. I need to learn more about gpios and get SD Working :)
22:59.33dcordesmy funny copying-rd-from-card-to-nand-ritual makes it almost always working if kernel or initrd are not bogus though
23:00.28dcordess/working/work/
23:00.30BabelOcr2_: http://pastebin.ca/997894 setup option 0 look better
23:00.34BabelOcr2_: no timeout
23:02.05cr2_BabelO: i'll check a bit later. do you read the LCD type gpio bits ?
23:03.41infernixdcordes: kaiser has only sdc1 and 2, right?
23:03.56dcordesyarp
23:04.03dcordesthat's why I removed all the 3,4 stuff
23:04.31BabelOcr2_: no
23:05.06dcordesas cr2_ pointed out above, the kaiser gpio site in wiki has 0,1,2 because 0 is controller of 1 there
23:05.13dcordesin case I got that right
23:06.57BabelOcr2_: gpio 69 and 70 are lcd type
23:07.54cr2_55 and 44
23:08.16cr2_69 is FM related, 70 - don't see
23:09.34BabelOcr2_: ah
23:10.01BabelOcr2_: as you say i have lot of wrong thing used from wizard :(
23:12.07dcordesbbl
23:15.17cr2_BabelO: http://wiki.xda-developers.com/index.php?pagename=ArtemisCPLD
23:15.36cr2_BabelO: and http://wiki.xda-developers.com/index.php?pagename=ArtemisGPIO
23:16.24BabelOcr2_: only one gpio for GPS
23:20.06cr2_yes.
23:20.38cr2_BabelO: but you also need to setup the uart gpio pins, PCC and IO
23:21.00cr2_you should trace the uart gpio changes on gps enable/disable.
23:21.07BabelOcr2_: yes it is done, because now detected
23:21.17cr2_i'm checking the SD now.
23:21.25BabelOcr2_: i have it, look
23:21.52cr2_yes. SD card is option 0, not 2.
23:22.06cr2_2 is probably this weird megasim
23:22.46cr2_BabelO: SD is 79=0, 8d=0
23:23.02cr2_BabelO: WIFI is 79=1, 8d=0
23:23.05BabelOcr2_: ok that is the log i post above
23:23.15BabelOcr2_: and i force megasim powert o 0
23:23.19cr2_ok.
23:23.20BabelOcr2_: 0xa3 set to 0
23:24.10cr2_you need to fix the htc-egpio driver. then a lot of things should work
23:24.20BabelOcr2_: this was my log http://pastebin.ca/997904
23:24.59BabelOcr2_: ok, i want to understand my ts issue ;)
23:25.26cr2_also the wizard et al. people should take their head out of the ass, and finally fix the i2c cpld control.
23:26.28cr2_BabelO: why don't you parse the cpld bits ?
23:26.40cr2_hmm. it does not work on w-only ;)
23:28.17BabelOcr2_: for gps it seem ok to my log ;)
23:28.45cr2_BabelO: 006.274 0797a738: strh   r1, [r3]       # a=b8100402 v=00000000 ?
23:29.00cr2_you see the gps gpio ?
23:29.28BabelOcr2_: it is the cpld access here
23:29.56cr2_gpio 40,41,42,43 for BT, are their settings documented ?
23:30.23BabelOcr2_: i think yes, i already post each parts
23:31.09cr2_ok.
23:31.14infernixdcordes: blah, failure to boot *
23:31.25cr2_BabelO: but you still miss the BT power cpld gpio :)
23:31.52miknixBT? BT is using i2c?
23:31.57cr2_BabelO: but then your CPLD base address is 0x04000400 ?
23:31.57BabelOcr2_: b810040a is on cpld , right ?
23:32.12BabelOmiknix: no
23:32.23cr2_a is 5<<2, it's the register 54
23:32.27BabelOmiknix: your wizard cpld is on i2c
23:32.28cr2_s/54/5/
23:32.53cr2_miknix: we are close to solve the problem with TS on omap850
23:33.19miknixcr2_, great, if you live nearby I'll buy you a beer
23:33.29cr2_miknix: but maybe on some phones it uses another spi port. but it's unlikely. afair herald uses the same port as artemis.
23:33.31miknixBabelO, you also
23:33.58BabelOcr2_: and wizard ame too
23:34.02BabelOcr2_: and wizard same too
23:34.06cr2_ok.
23:34.28miknixyeah wizard has adsxxx on the spi2
23:34.39cr2_spi2 ?
23:34.56miknixsecond port
23:35.06cr2_ok.
23:35.17cr2_there are 3. 0, 1, and syren
23:35.23cr2_ts uses 1.
23:35.36cr2_i.e. second port
23:35.50miknixnot port then
23:35.52miknixSPI2
23:36.08miknixthe wizard has two SPI devices
23:36.15cr2_wtf is SPI2 ???
23:36.38miknix: \
23:36.43cr2_miknix: check the list here http://wiki.xda-developers.com/index.php?pagename=OMAP850_Registers
23:37.06cr2_miknix: 0xfffc0800, 0xfffc1000 and 0xfffc1800 blocks.
23:39.11cr2_BabelO: so clone the n560 egpio driver. with 8 registers and 0x04000400 base address
23:40.23cr2_BabelO: lcd type 1 is toppoly, 2 is sony, and 3 is hitachi
23:40.33BabelOcr2_: ok
23:40.42cr2_they have different LCD settings.
23:40.52BabelOmiknix: what was you wince prog to desactivate sd  ?
23:40.58miknixcr2_, those registers were the ones BabelO was testing?
23:41.19miknixBabelO, not mine. you can find it on linwizard.SF.net
23:41.23cr2_so it's not suprrising that the LCD is fscked on some omap phones with the same driver.
23:41.28miknixon the patches tab
23:41.55cr2_BabelO: we know now everything about the SD on artemis.
23:42.06cr2_BabelO: is the 2.6.25 supporting sdio on omap ?
23:42.16cr2_sdio = sdhc
23:42.16miknixcr2_, what do you mean by fscked? I can see some interference on the screen when I slide it on my wizard
23:42.31BabelOcr2_: i just set 0x04000000
23:42.37cr2_miknix: which LCD do you have. artemis has a choice of 3.
23:42.43cr2_BabelO: it's wrong.
23:43.01BabelOcr2_: ok
23:43.09cr2_BabelO: the driver will access 0x04000000, 0x04000002, 0x04000004 ...
23:43.30dcordesinfernix: re what's * ?
23:43.36infernixi had boot problems
23:43.38BabelOcr2_: i did not check 2.6.25, it already take a long time to get it to work
23:43.53infernixusing a newer haret now, *seems* solved
23:44.03cr2_BabelO: if you see the accesses to +0x40x then it's probably the right area.
23:44.24dcordesinfernix: you think Kevin2 improved msm booting?
23:44.38miknixcr2_, no idea, I think its the samsung
23:44.40infernixim not sure
23:44.58dcordesbooted into x yet?
23:45.26infernixdcordes: my console-image doesn't work. it somehow seems to mess up /dev
23:45.37infernixand ican't shift-pageup to see what's wrong in the logs
23:46.05dcordestried less /var/log/messages ?
23:46.16infernixi can't log in
23:46.22infernixroot fs is all messed up
23:46.29dcordesbut it doesn't panic?
23:46.31infernixi've no idea why
23:46.31infernixno
23:46.36dcordesok I know what we need to do then
23:46.38BabelOcr2_: ok found
23:46.52BabelOcr2_: omap miss arch/arm/mach-pxa/generic.c gpio_desc like this
23:46.55dcordesinfernix: we need to let inittab spawn a getty in last runlevel
23:47.02dcordesme think
23:47.15dcordeswe could just look it up in the moto image we tried since it worx there
23:48.04cr2_OMG
23:48.25cr2_bitbang lcdspi on artemis :)
23:48.43cr2_it's a plague
23:48.58cr2_blueangel boardid6, n560 and now artemis.
23:48.59dcordessame shit like with ba and friends?
23:49.03cr2_yes.
23:49.23BabelOcr2_: ok so we really need this driver ;)
23:49.38BabelOcr2_: did you look at the one of n800 ?
23:49.41cr2_i see the same asm as on n560. i know it by heart now ;)
23:49.46infernixdcordes: im looking but i think console-image is not suitable for pure initrd out of the box
23:50.06miknixcr2_, is there any register I can dump on wm5 to see which lcd I have?
23:50.09cr2_BabelO: no. but moko(1) also does LCD spi setup.
23:50.37BabelOcr2_: ok cpld driver now compiled, i reboot ;)
23:50.39dcordesinfernix: you mean we should to the manual compressing method we used earlier?
23:50.40cr2_BabelO: i don't remember if it's bitbang or not. but there is a bitbang spi driver for omap and for s3c24xx
23:50.50dcordesinfernix: or what do you mean by doesn't work ootb
23:51.09cr2_BabelO: because people like to reinvent the wheel, instead of using the generic gpio interface.
23:51.21infernixdcordes: how exactly do you go from "bitbake console-image" to a working initrd?
23:51.29cr2_miknix: no, it's more complex.
23:51.38cr2_miknix: which device do you have ?
23:51.43miknixcr2_, WIZA200
23:52.20miknixthe wizard repair tech manual says there are two LCDs: a topolly and a samsung
23:52.20dcordesinfernix: look at my local.conf I emailed: bitbake console-image spits out a cpio.gz image for me. done. I am assuming that is the same as what we did to the moto.tar.gz
23:52.30infernixdoh
23:52.34infernixwhere does it spit it out?
23:52.39cr2_BabelO: big progress, i've identified 3 more omap gpios ;)
23:52.56cr2_miknix: maybe
23:53.05dcordesinfernix: that is the magic of OE :D stuff/tmp/work/deploy/glibc/images/kaiser/blabla
23:53.19BabelOcr2_: :)
23:53.26dcordesmiknix: you just set the filesystem types you want in conf/local.conf
23:53.31BabelOmiknix: i don't found the executable :(
23:54.02dcordesIMAGE_FSTYPES = "jffs2 tar.gz cpio.gz "
23:54.30miknixcr2_,  this are the part numbers of the two lcds for wizard:  SAMSUNG LTP280QV-E01     or     TOPOLLY TD028STEB1
23:54.39miknixbut I cant find the datasheet for any of them
23:54.48dcordesinfernix: blabla is console-image-kaiser.cpio.gz a symlink to Angstrom-console-image-glibc-ipk-2008.1-test-20080425-kaiser.rootfs.cpio.gz
23:54.52miknixdcordes, what?
23:55.02infernixdcordes: i see no such image
23:55.03miknixBabelO, which exe?
23:55.05dcordesmiknix: I'm so sorry that was for infernix
23:55.13dcordesinfernix: well do you have the IMAGE_FSTYPES line?
23:55.15BabelOmiknix: to disable sd card
23:55.24BabelOmiknix: i just see the post
23:55.26infernixyep
23:55.27miknixBabelO, its a matlab script!
23:55.38dcordesinfernix: with cpio.gz in it?
23:55.43miknixsome hacky way to get a shell in wm5
23:55.43infernixyup
23:55.51dcordesinfernix: lol
23:56.33dcordesno matter what your machine conf has, with that line you _must_ get a cpio.gz on succesful build
23:56.39miknixBabelO, you can do it at hand.. the script only renames the sdio driver
23:57.09infernixdcordes: find ./ -name \*cpio.gz: nada
23:57.16cr2_BabelO: uh. now i know the bytes sent on artemis too ;)
23:57.33BabelOcr2_: ah, same than loox ?
23:57.41infernixbut don't worry, i think i got it
23:57.51dcordesinfernix: you got what?
23:58.17cr2_BabelO: no, it's a different LCD. but it's a lot of weird numbers.
23:58.29infernixdcordes: dev/pts missing
23:58.30infernixthats all
23:58.58cr2_BabelO: loox is more complex, it has 3 send routines, and even checks the response from LCD...
23:59.12cr2_ba6 and artemis are more simple.
23:59.17dcordesinfernix: you can assume there is nothing essential missing except of wrong configs
23:59.25dcordesotherwise your build would have failed

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