IRC log for #htc-linux on 20090409

01:04.26*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
02:00.37*** join/#htc-linux Tinyboom (n=nahh@206.84-49-89.nextgentel.com)
03:08.47*** join/#htc-linux mrmoku|easter (n=mrmoku@ppp-93-104-48-176.dynamic.mnet-online.de)
03:35.07*** join/#htc-linux dzo (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
03:47.01*** join/#htc-linux apt (i=ibot@rikers.org)
03:47.01*** topic/#htc-linux is Welcome to the #htc-linux project
04:05.18*** join/#htc-linux Moku (n=John@e181241142.adsl.alicedsl.de)
04:08.42*** join/#htc-linux TheiPirate (n=Timbo@cpe-67-9-132-146.austin.res.rr.com)
04:34.10Perkka:O
05:15.19*** join/#htc-linux PoohbaLT (n=BlkPoohb@c-69-141-71-249.hsd1.nj.comcast.net)
05:17.56*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87ca5d.pool.einsundeins.de)
05:19.14*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87ca5d.pool.einsundeins.de)
06:21.21*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
06:34.02*** join/#htc-linux exception13 (n=exceptio@testdrive.kgts.ru)
07:00.23*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
07:19.30*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
08:11.36*** join/#htc-linux spenguin1work] (n=penguin@203.199.114.33)
08:14.39*** join/#htc-linux Babel1 (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
08:32.49*** join/#htc-linux kri5 (n=kri5@cowdy.vlmc.org)
08:34.30*** part/#htc-linux kri5 (n=kri5@cowdy.vlmc.org)
08:46.21*** join/#htc-linux spenguin[work] (n=penguin@203.199.114.33)
08:52.20*** join/#htc-linux marex (i=marex@eduroam72.ms.mff.cuni.cz)
08:52.29*** join/#htc-linux ltxda0 (n=anon@unaffiliated/ltxda)
08:56.38elysion__incredible how the guys on the wiki stay calm while answerring to the "can i run android/x/ubuntu/... on hermes" comments all the time :D
09:03.32*** join/#htc-linux ltxda (n=anon@unaffiliated/ltxda)
09:10.05*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
09:24.23*** join/#htc-linux dcordes-kais (n=dcordes-@ip-90-187-216-62.web.vodafone.de)
09:26.13tmztdcordes-kais: anything with touchscreen?
09:27.06dcordes-kaisno didnt try fixing nything yet
09:27.21*** join/#htc-linux spenguin[work] (n=penguin@203.199.114.33)
09:28.04tmztwill be busy today and tomorrow but after that I should have some time
09:28.13tmztlike weekend
09:28.31dcordes-kaisok
09:29.26dcordes-kaiscould just use the htc-msm driver in the mean time
09:47.57*** join/#htc-linux timebomb (n=tb@p5B3E6ABD.dip.t-dialin.net)
10:02.26zychohi
10:22.01*** join/#htc-linux Pure4Real (n=pure4rea@93-45-229-159.ip104.fastwebnet.it)
10:37.12*** join/#htc-linux m0zzie (n=m0zzie@60-241-53-34.static.tpgi.com.au)
11:02.23Marajin_elysion__: they're on drugs, that's how they stay calm ;)
11:12.27*** join/#htc-linux ltxda0 (n=anon@unaffiliated/ltxda)
11:30.26*** join/#htc-linux Dinde693 (n=kayser@81-65-176-209.rev.numericable.fr)
11:45.42*** join/#htc-linux Dinde (i=kayser@sur-internet.net)
11:59.07kiozento hack these devices you need to be  patient person..
12:12.06*** join/#htc-linux infernix (i=gerben@unaffiliated/infernix) [NETSPLIT VICTIM]
12:12.07*** join/#htc-linux lama (i=lama@netbsd.pl) [NETSPLIT VICTIM]
12:12.07*** join/#htc-linux _XD (i=t3st1fy@ircop.com) [NETSPLIT VICTIM]
12:12.07*** join/#htc-linux elf (i=elf@antenora.aculei.net) [NETSPLIT VICTIM]
12:12.07*** join/#htc-linux Dindon (i=OSEF@193.27.79.0) [NETSPLIT VICTIM]
12:12.07*** join/#htc-linux thinko (n=jdoe6alp@smaug.rackdragon.com)
12:21.58*** join/#htc-linux wolf`wolf (n=admin@114.69.251.75)
12:26.16*** part/#htc-linux wolf`wolf (n=admin@114.69.251.75)
13:20.26*** join/#htc-linux timebomb (n=tb@p5B3E6ABD.dip.t-dialin.net)
13:22.33Marajinkiozen: this is why they invented diazepam
13:23.08kiozenMarajin: no it's called: kids
13:23.21Marajinkiozen: Oh that's more drastic measures, that's like having a nerve removed
13:23.42kiozenjep, the only way to survive
13:27.50elysion__Marajin: :D
13:29.37Marajinelysion__: We buy so many, we get bulk discount now ;)
13:30.02elysion__haha
13:30.57elysion__hey, how do i create a root image (busybox/ånström/??)
13:31.27elysion__trying to get the hermes to a point where i can start looking into the driver stuff
13:31.56elysion__btw. which htc devices (excl. g1 & g2) are able to run android?
13:32.22elysion__like which have enough processing power and such
13:32.32*** join/#htc-linux sdt555 (n=titus@147.145.40.44)
13:33.52Marajinelysion__: um, most of them have the processing power and such, it'd be easier to list the active ports?
13:34.16Marajinelysion__: Kaiser, Vogue, Titan, Polaris, Nike, Raphael, Diamond, Blackstone, Kovsky, off the top of my head.
13:34.49elysion__ok
13:35.24elysion__understood that the older devices like hermes aren't able to run it
13:35.36MarajinNo reason why the hermes couldn't run it
13:35.47elysion__so it is fast enough?
13:35.48MarajinIt's pretty much as powerful as the kaiser
13:35.54MarajinProbably faster in general
13:36.03elysion__oh
13:36.05elysion__ok
13:36.28MarajinBig issue with the hermes, IIRC, was we had no fucking idea how to get SD working because it used some ATi chip? CR2 would be the one to ask
13:37.10elysion__yeah, heard about that
13:37.15elysion__sounds a bit weird
13:37.39elysion__isn't it so that the microcontroller has an sd interface?
13:38.09Marajinyah but without any suitable storage place it's hard to do more than just boot tiny distros from an initrd
13:38.24elysion__yeah
13:38.27MarajinCR2 wanted to look at getting the internal flash readable a bit back I think but I never even got aroudn to looking at it
13:40.29elysion__Marajin: do you know how to build the rootfs?
13:40.35elysion__for initrd
13:40.44Marajinsure, you just set up OpenEmbedded and bitbake angstrom
13:40.59Marajinpretty sure there should already be hermes initrds around though
13:41.48elysion__yeah, guess there might be, but i would be interested in doing building the whole thing by myself so that i would be able to do it after i make changes to the code
13:41.56*** join/#htc-linux timebomb (n=tb@p5B3E6ABD.dip.t-dialin.net)
13:42.29MarajinIf you're hacking drivers you would only really be changing the zImage though
13:42.43Marajinbut the openembedded wiki will tell you the basics of installing openembedded
13:42.59Marajinyou more or less need svn, git, a *NIX computer and plenty of harddrive space
13:43.03elysion__yeah, well that's true, but still would like to know how the thing is done
13:43.14elysion__got those already
13:43.28elysion__built the kernel
13:43.36elysion__and it seems to be working
13:44.37Marajincool
13:44.45Marajinjust need to grab Openembedded then and set that up
13:44.49Marajinit's pretty easy to do
13:45.22elysion__yeah, checking the pages
13:45.43elysion__seems to be in the ubuntu repos
13:45.57Marajinwhat does? OE?
13:46.02Marajinnaw you just want to grab that from SVN
13:46.06Marajinit's constantly updated
13:46.06elysion__i mean bitbake :D
13:46.09Marajinoh
13:46.15Marajinyeah it's in there but it's an old version
13:46.32elysion__reading, thinking and writing at the same time can get confusing
13:46.35Marajinit tells you in the wiki page to grab the svn version (it doesn't need compiling) and grab OE from git
13:46.49elysion__oh, ok
13:47.23elysion__Marajin: can you give the url?
13:47.27Marajinum one sec
13:47.50*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
13:47.50Marajinelysion__: http://wiki.openembedded.net/index.php/Getting_Started
13:47.53Marajinhey AstainHellbring
13:50.19AstainHellbringhi
13:50.23AstainHellbringwhats up Marajin?
13:51.30MarajinNot much
13:51.40Marajinjust giving elysion__ a helping hand with where to get OE from
13:53.50AstainHellbringcool
13:54.10Marajinaye
13:57.14*** join/#htc-linux zycho_ (n=zycho@a89-182-196-227.net-htp.de)
14:07.31*** part/#htc-linux exception13 (n=exceptio@testdrive.kgts.ru)
14:08.00elysion__tried running a rootfs that dcordes made for me, but got the following errors:
14:08.03elysion__RAMDISK: Compressed image found at block 0
14:08.06elysion__RAMDISK: incomplete write (-28 != 32768) 4194304
14:08.09elysion__any idea what might be causing this?
14:10.53MarajinO.o really? the kernel doesn't support compressed initrds?
14:11.06MarajinAstainHellbring: You read that error the same way right?
14:11.26Marajinoh hang on, it's found it as a compressed initrd but failed to extract it
14:11.27Marajinhmm
14:12.54elysion__ok, well it might just be that i misunderstood how to use the packages he gave me
14:13.08elysion__after all it was an tar.gz file i was trying to use
14:13.19Marajinoh he didn't cpio.gz it
14:13.20Marajingotcha
14:13.26Marajinknow what went wrong then
14:13.34Marajingoogle on how to make an initrd
14:13.35elysion__ok
14:13.53Marajinyou have to extract the .tar.gz he made and preserve permissions and then use cpio/gzip to make the initrd
14:14.03elysion__ooh, ok
14:14.44MarajinIf you're stuck send the tarball and I can do it for ya
14:15.27elysion__well, i'll read through the getting started page on openembedded first
14:16.17Marajink but OE will only make a .tar.gz too you still have to convert it to a gzipped cpio
14:23.16elysion__find ./ | cpio -H newc -o | gzip > ../my-initrd.cpio.gz <-- is that all it takes to make the image?
14:25.47elysion__what should i put to the MACHINE = "" in the local.conf?
14:37.48Marajinelysion__: yeah but make sure you do it IN the folder you extracted the rootfs to
14:38.12elysion__Marajin: ok
14:38.20elysion__Marajin: do you know about the MACHINE parameter?
14:38.25Marajinyep?
14:38.58elysion__am editing the local.conf file
14:39.06Marajinyep
14:39.09Marajinset it to htchermes
14:39.15elysion__ok, thanks :)
14:39.35Marajin..ah there isn't a htchermes machine conf
14:39.43elysion__humm
14:39.46Marajinwell set it to htchermes anyway and make a machine conf later
14:40.03elysion__ok
14:40.29elysion__is it ok if i set the target_arch to arm?
14:41.02Marajinelysion__: mostly you probably just want to copy one of the existing .confs in conf/machine/ to htchermes.conf, I dunno which'd be most appropriate for the hermes but tehy don't generally set much in there
14:41.39Marajindon't set the target arch, if you read the comment it says that's set by the machine conf
14:43.03elysion__oh, ok
15:06.29*** join/#htc-linux mugsie (n=graham@78.16.157.16)
15:11.30elysion__Marajin: do you know which of the devices is closest to hermes?
15:29.50*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
15:30.04*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87ca5d.pool.einsundeins.de)
15:48.18Marajinelysion__: no idea, sorry, really oughta see if you can get ahold of cr2
15:48.23Marajin~seen cr2
15:48.24aptcr2 <n=cr2@ip-90-187-82-196.web.vodafone.de> was last seen on IRC in channel #htc-linux, 18h 41m 10s ago, saying: 'BabelO: have you seen that ? http://el8.org/wp-content/uploads/2008/09/14819_6.pdf'.
15:48.32Marajinheh
15:49.11elysion__well, maybe i'll then just try with the images dcordes made
15:51.09elysion__how do I extract the files from the tar.gz properly?
15:52.49Marajintar zxvpf
15:55.40elysion__./dev/fb0
15:55.43elysion__tar: ./dev/fb0: Cannot mknod: Operation not permitted
16:04.49*** part/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
16:20.38elysion__ok, ångström is now booting :)
16:22.54*** join/#htc-linux ClashTheBunny (i=c72ec6e7@gateway/web/ajax/mibbit.com/x-cbdd2e898ae85d4f)
16:24.28ClashTheBunnyHi, what is the best angstrom (or other standard linux distro) rootfs is best for the HTC Kaiser?
16:25.22elysion__seems that there is a conf for it in openembedded svn repo
16:25.51elysion__woops, git, not svn
16:26.09ClashTheBunnyYeah, I see it in git.  Is a console image the best that can be built, or has anybody gotten graphical things working?
16:26.15*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
16:27.33elysion__oh, no idea about that
16:27.50ClashTheBunnyok, thanks.
16:28.44Marajinelysion__: oh, you have to extract as root generally, or you'll get issues like that
16:29.11elysion__Marajin: ok, that's what i did, but was just not sure if that was the right way to do it
16:29.38MarajinClashTheBunny: We have android working, I don't think X/fbdirect/whatever works though, so otherwise you're stuck to console, though I think dcordes made a rootfs for the kaiser that has the necessary framework to technically enable calling
16:29.38*** join/#htc-linux MethoS (n=lem@host-091-097-240-007.ewe-ip-backbone.de)
16:29.55Marajinelysion__: nope, you got it right, there's hope for you yet ;)
16:30.08elysion__haha :D
16:31.12*** join/#htc-linux wolf`wolf (n=admin@202.179.80.250)
16:32.16ClashTheBunnyMarajin: Yeah, I've seen his rootfs, I was wondering if there was anything else, or if there were directions on how to build an updated version of his.
16:32.36elysion__ok, now i'll just have to ask dcordes how he built the rootfs
17:13.39*** join/#htc-linux dcordes-kais (n=dcordes-@ip-90-186-6-114.web.vodafone.de)
17:17.32Marajinelysion__: there ya go, dcordes-kais is on, quick, ambush him! ;)
17:17.39MarajinClashTheBunny: same goes for you I'd guess :p
17:18.31*** join/#htc-linux ccube (n=ccube@ssh.ccube.de)
17:18.43elysion__Marajin: :)
17:18.52elysion__dcordes-kais: how did you build that rootfs?
17:19.05elysion__can you send me the config?
17:25.28*** part/#htc-linux wolf`wolf (n=admin@202.179.80.250)
17:26.38dcordes-kaiselysion__ did you setup openembedded as described in the building angstrom howto?
17:28.11ClashTheBunnydcordes-kais: Did you use the 2008.1 angstrom or the stable?
17:28.49ClashTheBunnydid you just build the console image, or was there another recipe?
17:28.56elysion__up to the "Start building" step which failed because there was no config for hermes
17:28.57elliswayhi dcordes-kais
17:29.11elysion__i changed the MACHINE to htchermes
17:30.04dcordes-kaiselysion__ yea that is my patch
17:30.10*** join/#htc-linux lpotter (n=lpotter@218.185.108.156)
17:30.43*** join/#htc-linux lupine_ (n=lupine@forest.lupine.me.uk) [NETSPLIT VICTIM]
17:31.01dcordes-kaisClashTheBunny it's 2008.1 minimalist-image
17:31.41elysion__dcordes-kais: where can i get the patch?
17:31.53dcordes-kaiselysion__ I can provide it when home
17:31.58elysion__ok
17:32.04ClashTheBunnydcordes-kais: thanks
17:32.07elysion__well, it seems to work
17:32.18elysion__got up to the login
17:32.34dcordes-kaisClashTheBunny do you need a different image for herm ?
17:32.36elysion__but the keyboard does not seem to work
17:33.01elysion__haven't tried other methods to log in yet
17:33.01dcordes-kaiselysion__ keyboard for herm is not present afaik
17:33.06elysion__ok
17:33.13dcordes-kaisbrb
17:33.15elysion__dcordes-kais: do you know the status of that?
17:33.16elysion__k
17:33.29elliswayi think there was somwork donewith regards the hermes keyboard
17:33.48elliswaybut cant remember how much
17:33.53elysion__ok
17:34.08elysion__seems like somekind of project tool would be nice
17:39.56ClashTheBunnydcordes-kais: It's for the Kaiser.
17:43.36*** join/#htc-linux dcordes (n=dcordes@unaffiliated/dcordes)
17:44.50dcordesyo
17:45.34dcordesClashTheBunny: the image I built for elysion__ is for amrv4t instructions
17:45.45dcordesClashTheBunny: it's better to use armv6-novfp for kaiser
17:46.13ClashTheBunnydcordes-kais: I had a totally separate question.  I just wanted to know how you built it.
17:46.27ClashTheBunnydcordes: sorry that was to you I guess
17:47.54dcordesClashTheBunny: with openembedded. check http://www.htc-linux.org/wiki/index.php?title=Openembedded
17:49.08dcordesClashTheBunny: use htckaiser machine type
17:49.41ClashTheBunnydcordes: yeah, I have OE set up and I just wanted to know the recipe you built
17:50.10dcordesbitbake minimalist-image
17:50.23ClashTheBunnydcordes: do you know if I need to patch the git url in the kaiser kernel recipe to get dzo's kernel?
17:50.40dcordesClashTheBunny: you will get the dzo kernel. but not the latest revision
17:50.55*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
17:51.00dcordesClashTheBunny: I will update it when kaiser works again (it's broken because of usb patches atm)
17:51.18dcordesbut you will get the correct branch
17:51.19ClashTheBunnyYeah, I noticed :-)
17:51.36ClashTheBunnyThanks so much!
17:52.54dcordesoh seems like it was fixed
17:53.01ClashTheBunnydcordes: I booted the kernel last night
17:53.12dcordesClashTheBunny: so just put 972fb53680ee5edc00e7377befb442d3764916f5 for kaiser srcrev
17:54.24*** join/#htc-linux Sti_0239 (n=Where_is@95.200-65-87.adsl-dyn.isp.belgacom.be)
17:59.48dcordeselysion__: http://linuxtogo.org/~lgorris/diffs/htcherm_openembedded.diff
18:00.41dcordesmickey|bbl: should this patch be added?
18:00.48*** join/#htc-linux chab7 (n=kvirc@fibhost-67-206-132.fibernet.bacs-net.hu)
18:00.55dcordeselysion__: did you try the zImage from my build?
18:01.30*** mode/#htc-linux [+o dcordes] by ChanServ
18:01.31*** join/#htc-linux Marajin_ (n=marajin@87-194-102-189.bethere.co.uk)
18:09.07*** join/#htc-linux bagpuss_thecat (n=bagpuss_@95.172.239.1.ip.static.x-ip.net)
18:09.33*** join/#htc-linux fnord__ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
18:13.22*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
18:14.18*** join/#htc-linux xutywx (n=xutywx@195.205.38.92)
18:18.49dcordesClashTheBunny: can you git pull and see if kaiser works ?
18:21.16ClashTheBunnyI'm still working on getting my overlay set up.
18:21.43dcordesjust updated srcrev and config
18:21.57dcordeswhat sort of overlay?
18:22.35ClashTheBunnyOh, I see the commits.  I'm on it!
18:22.39ClashTheBunnyThanks.
18:53.10*** join/#htc-linux stefan_schmidt (n=stefan@p5B036D20.dip.t-dialin.net)
19:09.16*** join/#htc-linux hollo_ (n=hollo@3e6b7b2c.rev.stofanet.dk)
19:26.55*** join/#htc-linux cr2 (n=cr2@ip-77-24-79-101.web.vodafone.de)
19:36.47*** join/#htc-linux stefan_schmidt_ (n=stefan@p5B035319.dip.t-dialin.net)
19:49.16*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
19:50.11elysion__dcordes: didn't try that one yet, can try it now
19:51.15*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
20:08.49elysion__dcordes: seems like the keyboard does not function with the kernels you built
20:09.17elysion__but it seems to work with the kernel i built with the modules patch
20:12.05elysion__oh, wait... doesn't seem to work that well after all
20:15.32*** join/#htc-linux rodpod (n=rod@hick.org)
20:15.35*** join/#htc-linux imfloflo (n=imfloflo@169.25.71-86.rev.gaoland.net)
20:17.06elysion__ok, seems that the response is somewhat random
20:17.39elysion__would be nice to know about the current status of the port
20:54.54cr2elysion__: ask Kevin2 about the keyboard driver
20:56.28dcordescr2: got anything out of your navi yet?
21:01.28cr2no, just began hacking :)
21:01.34*** join/#htc-linux ellisway (n=ellis@149.254.48.54)
21:01.45cr2pdocread could not produce anything useful
21:02.12cr2i've dumped 32MB ram with the wince kernel
21:02.20cr2it has some information
21:02.37cr2but i can't telnet to haret
21:02.58cr2wince5.0 is really bastardized on this device
21:15.22dcordesdid they modify the networking things?
21:17.57cr2i tried to connect in windows
21:26.01cr2pocketmory mlc disk
21:26.19cr2smflash flashdisk
21:31.13cr2the usb power led is on
21:31.21cr2but linux does not see the connect
21:31.38cr2hmm
21:46.39cr2heh. regedit does not work
21:51.04cr2very strange
21:54.05cr2\windows looks like a barebones s3c2443 device
21:54.42cr2but since i can't connect over usb, i need to write the default.txt script
21:55.12cr2hehe. what should i dump from s3c2443 for further analysis ?
21:55.30cr2Kevin2 once did a hermes dump
21:56.08cr2RAPH120, wtf is that ?
22:03.14cr2dcordes: how do i enable logging in default.txt ?
22:03.22*** join/#htc-linux dcordes_ (n=dcordes@unaffiliated/dcordes)
22:03.57*** mode/#htc-linux [+o dcordes] by ChanServ
22:05.11*** mode/#htc-linux [+o dcordes] by ChanServ
22:05.23*** topic/#htc-linux by dcordes -> Welcome to htc-linux | Logs: http://apt.rikers.org/%23htc-linux | Livelogs: http://irclog.netripper.com/?chan=htc-linux | Wiki: http://htc-linux.org/wiki | Original project page: http://wiki.xda-developers.com/index.php?pagename=Xanadux | Please use device codenames. For aliases, see: http://wiki.xda-developers.com | Join #android for android centered discussion.
22:09.05*** join/#htc-linux Pure4Real (n=pure4rea@93-45-226-179.ip104.fastwebnet.it)
22:09.08*** join/#htc-linux cr2 (n=cr2@ip-77-24-79-101.web.vodafone.de)
22:17.41cr24a000030 | 02001000 0000007f deadcafe deadcafe | ................
22:18.38cr24c000000 | 0000ffff 0000ffff 00008000 deaddead | ................
22:18.48cr2interesting fault handler
22:19.34cr20x50000000  1  UART
22:19.52cr250000000 | 00000003 00000385 00000041 00000000 | ........A.......
22:19.53cr250000010 | 00000006 00000000 00000000 00000011 | ................
22:19.55cr250000020 | 00000000 00000000 000001b1 00000000 | ................
22:20.04cr2it seems i should read the manual
22:22.24cr2Kevin2: ping
22:24.46bagpuss_thecatjoin #android
22:24.48bagpuss_thecatahem
22:24.52bagpuss_thecat</idiot>
22:32.18cr2elysion__: are you already sleeping ?
22:32.35elysion__should be :D
22:32.41elysion__but no
22:33.44cr2i'm trying to remember how to decode the UART config
22:33.52cr2the regs are above.
22:34.31elysion__ummm... are those the values of the registers?
22:34.38cr2yes
22:34.44elysion__which controller?
22:34.51cr2s3c2443 cpu
22:34.54elysion__ok
22:34.59elysion__have to open the datasheet
22:37.28elysion__where can i find it?
22:37.45elysion__seems that you have to register at the samsungs site to get it :(
22:40.15elysion__cr2: do you have a url for the datasheet?
22:41.17cr2search  um_s3c2443x_rev10.pdf
22:41.23cr2wait. you have 2442
22:41.29cr2but it should be similar
22:41.36cr2~ping dcordes
22:41.37aptpong dcordes
22:42.33dcordes~pong cr2
22:42.34aptcr2: PONG!!!!!!!!!!!!!!!!!!
22:42.53cr2dcordes: can we create a datasheet library ?
22:43.40dcordesin the wiki?
22:43.45elysion__cr2: don't seem to be able to get the datasheet :(
22:44.04elysion__registered on samsungs site, but getting the datasheets seem to take some time
22:44.37dcordescr2: It would be nice. I don't know about the legal situation
22:44.41cr2http://www.baisi.net/thread-909599-1-2.html
22:45.27cr2dcordes: i downloaded 95% of them as they were freely available
22:45.50cr2nothing "proprietary information" and such
22:46.20cr2but some are in this category. we should not post them
22:48.17dcordescr2: just create a folder and put them..
22:48.59cr2ok
22:49.49cr2hm. 2443 has 4 uarts
22:52.02elysion__cr2: is that register dump little or big-endian?
22:54.09elysion__oh, woops... wrong term
22:54.20cr2little
22:54.29cr2wince never uses bigendian
22:54.38elysion__and well... quite obvious anyway how those bits go
22:55.03*** join/#htc-linux Azalar (n=Azalar@unaffiliated/azalar)
22:55.22elysion__darn.. quite many bits to control one uart :P
22:56.28cr2ulcon=3
22:56.47cr243 should be IR
22:57.00cr2<cr2> 50000000 | 00000003
22:57.37elysion__don't really understand the dump
22:57.54cr250004000 | 00000003 00000245 00000000 00000000 | ....E...........
22:58.10cr250000000 is ULCON0
22:58.20cr250004000 is ULCON1
22:58.23cr2...
22:59.05cr2hmm. we need some automated parser
22:59.14elysion__that would be nice
22:59.21Kevin2cr2: pong
22:59.51cr2Kevin2: can we override the CPU detection ?
22:59.57cr2Kevin2: hi
23:00.02Kevin2Hi cr2.
23:00.17Kevin2There is no way to override cpu detection - except by modifying the code.
23:00.53cr2ok, but it seems to be too heave-handed
23:00.58Kevin2Did something go wrong that you need to override it?
23:01.10cr2no, just a new device
23:01.45Kevin2New device or new cpu type?
23:01.52elysion__hmm... is the value of the ulcon0 3 in the dump?
23:01.59cr2new device with s3c2443 cpu
23:02.23cr2it's obviously not in the machlist, and the wince cpu info is not used in any way
23:02.53Kevin2Sounds like we should add the new cpu type to the code.
23:03.55cr2so far i see that it has 4 uarts compared to 3 uarts on s3c2442
23:04.05cr2but it's backwards compatible
23:06.06Kevin2If it's backwards compatible - then you can just have haret use the s3c2442 code.  At least then it will have gpio, irq, and cpu flush working.
23:06.41cr2yes
23:13.00dvaeyoooh
23:13.09dvaeysomeone else playing with s3c24xx
23:13.24dvaeyis the one on the haret list with the s3c2450
23:14.46cr2dvaey: what about extending the haretconsole to parse the cpu register values
23:15.17cr2to fill the pdata values needed by linux drivers
23:17.09dvaeycr2, im not even upto that far yet :/
23:17.18dvaeywhats your device
23:17.22dvaeyjust out of curiosity
23:18.35dvaeyive got a navman S200 platinum, with s3c2450 and no output other than usb mass-storage like you mentioned above
23:19.05cr2medion e4430
23:19.14cr2usb works for me only in wince
23:19.29cr2s/wince/windows/
23:19.41dvaeyusb works for me in linux
23:19.43cr2linux does not detect the usb connection at all.
23:19.45dvaeyoh
23:20.12cr2yeah, that's the first such device i've ever see
23:20.14dvaeyyou mean linux on PC and wince on the device?
23:20.21cr2yes
23:20.41dvaeystrange, mine recognizes okay, but needs some tweaks to linux to work
23:21.04dvaeyif i mount it without -o sync, it corrupts badly
23:21.45cr2hmm
23:22.25cr2is the 2450 supported properly in linux ?
23:22.38cr2but it can't explain the corruption anyway
23:22.41dvaeynope, its not even supported by binutils apparently
23:22.55cr2do you have a datasheet ?
23:22.58dvaeyalthough its meant to be mostly compatible with 2442
23:23.00dvaeynope not yet
23:24.28cr2http://download.csdn.net/source/1032568
23:24.45cr2but it's not _that_ easy to pick the files there
23:28.22*** join/#htc-linux hollo (n=hollo@3e6b7b2c.rev.stofanet.dk)
23:30.25cr2MPLLCON 805c0301
23:31.07cr2CLKSRC  00000050
23:33.44dvaeynothing translate.google.com cant fix :)
23:37.28cr2SDIV=1
23:37.55cr2PDIV=3
23:38.37cr2MDIV=5c
23:39.45cr2m=0x5c+0=80+12+8=100
23:39.57cr2p=1
23:40.04cr2s=1
23:40.57cr2p=3,not 1
23:41.25cr23,100,1
23:41.42cr2hm. +8 is strange
23:42.10cr2because 3,92,1 and Fin=12MHz is 400MHz Fout clock
23:44.16cr2and the docs say 400MHz cpu
23:47.43cr22m*Fin/p/2^s
23:48.00cr22*100*12/3/2
23:48.03cr2400
23:48.39cr2these samsung datasheets are buggy as hell
23:49.52cr2ok, so the Fin is 12MHz.
23:52.32cr2s3c24xx_init_clocks(16934000); for hermes
23:53.30cr2smdk2443 has
23:53.42cr2s3c24xx_init_clocks(12000000);
23:53.46cr2good.
23:58.22cr2fourth uart is not used

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