IRC log for #htc-linux on 20090530

00:00.19cr2tmzt: make xipload target for haret
00:00.39tmztas win32 code?
00:01.37cr2like 'make linload' now produces a standalone bootable image
00:01.58cr2it will produce a xip image
00:02.02tmztok
00:02.11tmztyes, exactly
00:02.12cr2which can be flashed
00:02.26tmztand supercid diag.nbh
00:02.49tmztruns from sd
00:02.56cr2yeah, if you know how to do it, and Kevin2 agrres :)
00:03.32tmztI have to chage one of those ldr's to something else
00:03.56tmztI've been testing with qemu
00:04.44tmztreplacing zImage in -kernel
00:05.27tmztcr2: this my learning arrm asm project, if I knew how to do it I would have
00:07.02dzothis is good, i didn't know xip was just loaded into memory, makes it easy.
00:07.41cr2dzo: it was just mmaped in the NOR times
00:07.55dzoI think a lot of the problems with android would be solved by using nand, sd is just too slow.
00:09.19cr2yes, it will be nice to reuse nand for the base os.
00:09.39tmztwe neded to find if leaving part00, 01, 02 alone is enough for spl
00:10.16tmztwe can replace imgfs, extrom and tfat then
00:10.34tmzteven have androidvstyle recovery if we want
00:11.11cr2i don't like the 2k-only access
00:11.19tmztwhy?
00:11.33cr2partition table
00:12.26cr2<PROTECTED>
00:12.40tmztwe can change the units on our entries and hard coe spl ones
00:13.33cr2first i need to know where the imgfs ends, and what's behind. to finish the wiki table
00:14.11tmzthow do you do this?-
00:14.20cr2the current wiki table comes more or less from spl
00:14.45cr2looking in wince, or dumping the nand to SD
00:15.10tmztnot itsutils?
00:15.17cr2no
00:15.53cr2hm. i have the itsutils dump somewhere too
00:18.04cr2458.50M (0x1ca80000) DSK1:
00:18.05cr2|           3.12M (0x31f000) Part00
00:18.07cr2|           4.50M (0x480000) Part01
00:18.08cr2|         143.38M (0x8f60000) Part02
00:18.10cr2|         307.50M (0x13380000) Part03
00:22.44tmztI'm saying then we could have our own partitio table at the beginning of part02
00:23.05cr2the sizes are strange
00:23.20tmztand linux would partition anything after that itself
00:23.23cr2or maybe i've dumped somethign wrong
00:23.50tmztparts 00, 01 will be fixed based on atags
00:24.14tmztbut mtd parts 2+ will be from our partition table
00:26.42cr2linux partition table access needs non-2k
00:27.52tmztbios partition support?
00:30.14cr2yes
00:30.32cr2wince says 306.23MB storage size
00:30.54tmztah
00:30.56cr2something like 307.50M Part03
00:31.55tmztand msm nand only supports 2048?
00:32.26cr2yes. the msm_nand.c driver
00:32.48tmztbecause of oob?
00:33.00tmztdid you look at uboot patch?
00:33.04cr2because it's written in such a way
00:33.07cr2no
00:33.21tmztit has nand driver
00:33.32cr2link ?
00:33.50tmztaurora, linux, patches
00:35.33cr2ok. i need some sleep
00:35.36cr2good night
00:46.55*** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
01:19.12*** join/#htc-linux Marajin_ (n=marajin@87-194-102-189.bethere.co.uk)
01:49.13*** join/#htc-linux surge (i=surge@pool-98-118-165-224.bflony.fios.verizon.net)
02:15.58*** join/#htc-linux AstainZZZZZZ (n=AstainHe@unaffiliated/astainhellbring)
02:16.27*** join/#htc-linux xsacha (n=sacha@131.181.210.44)
02:28.22xsachahey tmzt :)
02:41.58xsachatryin to cross-compile arm using cygwin
02:57.23xsachascrew it, booting to linux
03:09.43*** join/#htc-linux mrmoku|a` (n=mrmoku@ppp-93-104-43-54.dynamic.mnet-online.de)
03:10.17*** join/#htc-linux infidel206 (n=infidel2@unaffiliated/jenkempusher/x-35920)
03:20.09*** join/#htc-linux TeringTu1y (n=Maarten@195-241-125-243.ip.telfort.nl)
03:52.19*** join/#htc-linux timebomb (n=tb@g224066149.adsl.alicedsl.de)
04:04.30*** join/#htc-linux Shinto (n=John@g228210022.adsl.alicedsl.de)
04:45.04*** join/#htc-linux ImCoKeMaN (n=imcokema@pool-96-249-155-238.hrbgpa.fios.verizon.net)
04:50.54*** join/#htc-linux droid0011 (n=mc@p4FDCC967.dip.t-dialin.net)
05:58.34*** join/#htc-linux goxboxlive (n=goxboxli@80.202.137.237)
06:10.34*** join/#htc-linux xsacha (n=sacha@131.181.210.44)
06:12.30xsachahey tmzt, you there?
06:13.04xsachathis phone: http://pdadb.net/index.php?m=specs&id=1628&c=qigi_i6_goal_techfaith_lancer released april 2009.. is the same as i780 except for qwerty keyboard and resolution
06:13.11xsachasame processor!
06:31.02xsachatmzt: Monahans-LV, is this the pxa310? http://cateee.net/lkddb/web-lkddb/CPU_PXA310.html
06:59.02*** join/#htc-linux nebi_ (n=nebi@217.142.147.19)
07:26.14parhas anyone picked up an htc magic?
07:34.47*** join/#htc-linux xsacha (n=sacha@123.100.137.226)
07:41.14*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
07:42.33infidel206no magic in magic
07:48.20parhaha
07:48.22parhi infidel206
07:48.28parhows your ba working out
07:48.30infidel206hola
07:48.53paryah my vogue is about 3/4 inch less screen than the magic
07:49.00infidel206not bad, i've decided not to use X tho (even tho I got it working)
07:49.00pari like it a lot better
07:49.16paryeah it must waste all of the mem and cpu
07:49.20infidel206yep
07:49.41infidel206i'm thinking about buying this, but its really fsckin big http://www.compulab.co.il/exeda/html/exeda-datasheet.htm
07:50.11parohhh right the israeli device
07:50.18paryeah i saw soemthing about that
07:50.22parit runs angstrom
07:50.38infidel206yep
07:50.39parwait maybe its a differnt one
07:50.55infidel206it runs everything really
07:51.17parhttp://www.angstrom-distribution.org/enterprise-digital-assistant-runs-angstrom
07:51.20parhehe right
07:51.25parangstrom / armel
07:51.27paretc
07:52.29infidel206yep
07:52.43infidel206its just too big tho
07:52.58infidel206and not cheap
07:53.08*** join/#htc-linux pH5 (n=ph5@e178245137.adsl.alicedsl.de)
07:53.19paryo pH5!
07:53.33infidel206its gonna cost me ~$875-900 if i buy it
07:53.38parjeeez
07:54.16parwell the ba is almost the same.. no usb tho
07:54.23pH5hi
07:55.00pardo you think ba will run a 2.6.30 kernel ever?
07:55.08pari forgot what the hang up is from it
07:55.34parpH5, was there something with asic3_mmu that needs to be changed to work with newer kernels?
07:55.40pH5working on that today.
07:55.48infidel206mmu or mmc
07:55.52pH5biggest problem was asic3_mmc not working, but I've got that now.
07:55.54paroops mmc
07:55.56pH5at least on hx4700.
07:56.01parkewlness
07:56.08parcr2 keeps asking about it
07:56.25xsachawonder how hard it'll be to get function keys working on my i780
07:56.25parpH5 > *
07:56.32infidel206this phone looks cool http://www.road.de/de/handypcs/officer/specifications.html
07:57.18infidel206^ but they never answer my email(s)
07:57.33xsachait's like those nokia communicators / htc giants
07:57.53xsachai picked one up in a shop and it's like having a brick next to your head
07:58.07*** join/#htc-linux StarLite (n=nnscript@s55916ca6.adsl.wanadoo.nl)
07:58.36xsacha13 centimetres! and suck battery life :(
08:03.04parinfidel206: well on the ba, at least with angstrom you get a pda gui and all
08:04.06parinfidel206: can you run gpe on lenny ?
08:10.10xsachawhats the difference between arm-none-eabi and arm-none-gnueabi? did i get the wrong compiler?
08:14.49infidel206par, yeah
08:19.39parall the ui's are pretty easily installable through the repo's right?
08:19.57pH5xsacha: don't know, maybe there are some experts awake on #oe.
08:20.05pH5http://www.codesourcery.com/sgpp/lite/arm/portal/kbentry38 seems to say they should be the same.
08:20.18pH5if you want to compile kernel code, it doesn't matter anyway.
08:21.14xsachaok
08:21.36xsachacompile worked :)
08:21.45*** join/#htc-linux JuNu_KN (n=chatzill@kons-5f714f1a.pool.einsundeins.de)
08:21.54xsachamy first non-x86 compile :D
08:24.07xsachais there anything wrong with deleting all the machines (except my phone) from the kernel source when distributing it to others?
08:24.17xsachait's just 60MB is a bit much to give to other ppl all the time
08:25.55infidel206par, yes.. but i dont think gpe is in squeeze
08:26.11infidel206and u need squeeze for the newer tslib
08:31.24pH5xsacha: you don't gain much and you have all the work. why not use git and/or patches against tagged kernels?
08:31.36pH5the biggest part are the drivers
08:31.40xsachak
08:32.25parinfidel206: wow, so as always its kinda the waiting game
08:33.31xsachawoot... my kernel is full resolution and angstrom working fine
08:33.53xsachadoes anyone know the default angstrom login?
08:33.54parxsacha: which phone u have?
08:33.56xsachai780
08:34.45xsachaim using angstrom made for motorola a780 but dunno the login
08:34.46pH5xsacha: root, empty password?
08:34.57xsachaoh true
08:35.00pH5depends on the image.
08:35.33parxsacha: there is also an angstrom autbuild system called narcissus now
08:35.56parhttp://amethyst.openembedded.net/~koen/narcissus/
08:36.38xsachawhat do i mount to get access to phone memory?
08:37.48xsachathat's pretty sweet par. i reckon other distros should have that too so people can have a more custom/home/sacha/Documentsyoneised distro and they dont need to stick all the bloat in to cater for ever
08:38.23pari wish there was more htc support in it.
08:38.33parall thats in it so far is htcalpine
08:38.45xsachalinux is annoying without a forward flash key
08:39.13xsachaoo my message key is forward slash, nvm
08:40.53xsachai have shift and ctrl but no number keys tho..
08:41.03*** join/#htc-linux timebomb (n=tb@g224066149.adsl.alicedsl.de)
08:43.22pH5par: somebody has to build/test images. I think there are only maintained (in ångström) machines in that list.
08:43.40pH5mickeyl: nice to see you getting involved with the kernel
08:44.20xsachamy sd card should look lke /dev/mmcblk0p1? but what about my phone memory?
08:44.47infidel206par, this looks cool, but as all nice prospective linux phones do, i doubt it will hit the market http://www.limepc.com/mobile.shtml
08:44.53xsachao btw, how do i quit vim without using the colon key?
08:45.08mickeylpH5: hi. how are you? oh well, "involved" is probably exaggarated, but if I can improve some things while trying to get the middleware ported, i'll just do it ;)
08:49.18parxsacha? you mean with out using colon to go into ex?
08:49.41parisn't it something lke capital Z?
08:49.52parinfidel206: wow, yeah that phone looks cool!
08:50.12xsachawell usually i'd use :q but there's no colon on my keyboard
08:51.22pH5mickeyl: great, thanks. exaggerated or not, I'm sure you improving things for FSO interoperability can't be all bad :)
08:51.38mickeylright :)
08:55.02*** join/#htc-linux UnknownArtists (n=unknown@84.19.198.127)
09:09.55*** join/#htc-linux xsacha (n=sacha@123.100.137.226)
09:25.48*** join/#htc-linux wdslbr (n=asa@dslb-088-069-222-136.pools.arcor-ip.net)
09:28.54xsachahow do i mount a SD card?
09:29.13xsachai see a bunch of hda's, mtdblock's and mux's
09:34.42pH5SD/MMC cards are mmcblk0*
09:34.59xsachawhats it mean if i dont have any?
09:35.01pH5mtdblock is internal flash
09:35.15xsachano mmc*
09:36.01xsachawell what type do i mount mtdblock as?
09:36.30pH5using udev? then it's maybe no mmc driver loaded. does pxa310 still use pxamci as mmc driver?
09:37.47xsachai think so
09:38.29xsachastruct pxamci_platform_data zylonite_mci_platform_data = { .. and then there's the i780 init and exit functions for memory card
09:39.22pH5mtd depends on what is on the flash - "mount -t jffs2 mtd2 /mnt" for example, if you have a jffs2 file system on the third partition.
09:39.56pH5pxamci compiled in / loaded?
09:39.57xsachai doubt winmo would use jffs2?
09:40.03pH5anything interesting in the dmesg output?
09:40.16pH5certainly not. I have no idea about winmo storage format
09:40.34pH5you can dump the whole mtdblock to mmc once you get it working and analyze it ;)
09:40.46xsacharead error (ac97_reg=4... in dmesg
09:40.59xsachai dont know how to get pipe on my keyboard
09:43.21*** join/#htc-linux MethoS (n=clemens@host-091-097-244-191.ewe-ip-backbone.de)
09:45.04xsachanevermind, i have page up and page down :)
09:48.00xsachahmm theres a bunch of junk about pxamci and a backtrace there too in the dmesg
09:49.58nathan7pH5: Hi Philipp!
09:50.01nathan7=D
09:50.17xsachazylonite_mci_ro -> pxamxi_get_ro -> mmc_attach_sd -> mmc_rescan -> run_workqueue -> worker_thread -> kthread
09:50.59nathan7pH5: I can't get my kernel to compile, it says utsname_sysctl.c:(.text+0xf110): undefined reference to `__aeabi_uldivmod'
09:51.07nathan7pH5: Any ideas?
09:51.16xsachathe process that died was kmmcd
09:51.50nathan7pokes pH5
09:51.58xsachaLR: zylonite_mci_ro and PC: __gpio_get_value   any ideas?
09:52.05nathan7kicks MethoS
09:52.08nathan7*mrmoku
09:52.12nathan7DARN TAB COMPLETE
09:52.22MethoS^^
09:56.49pH5xsacha: hm maybe. are the zylonite_mmc_slot values for RO and WP GPIOs initialized somewhere?
09:57.02pH5nathan7: hi.
09:57.22xsachayeah, those values are wrong.. is that why it crashes?
09:57.25mrmoku:)
09:57.48xsachai know the CD value is meant to be 105.. i dont know what the WP value is meant to be. but in kernel im using right now they are set as 0 for CD and 2 for WP
09:58.02xsachawhat do you mean by RO? :\
09:58.02pH5probably. what's the crash - null pointer dereference?
09:58.18nathan7pH5: Any ideas for the failing kernel compile?
09:58.32pH5nathan7: yes, gcc 4.3
09:58.41xsachaInternal Error: Oops: 5 [#1] ?
09:58.43pH5google that error
09:58.49nathan7pH5: Okay
09:58.55nathan7pH5: Thanks
09:58.56xsachao wait, yes you're right
09:59.00pH5there's a patch in OE linux-handhelds by dmitry IIRC.
09:59.00nathan7pH5: Also, I'm using OE
09:59.03nathan7Ah
09:59.14nathan7sees it
09:59.22xsachaUnable to handle kernel NULL pointer dereference at virtual address 00000018
10:00.12xsachain the ipaq board, cd = 0, wp = 2.. i know on i780 cd = 105.. what do you think wp is or how can i test it?
10:00.29pH5xsacha: I meant CD, not RO.
10:00.34xsachawhew
10:01.27pH5xsacha: dump the EXT_GPIOs with haret, once with and once without write protection on the inserted SD.
10:01.37xsachai got the cd value by inserting/removing sd
10:02.04xsachahow do i write protect the sd? :\
10:02.23xsachaEject: GEDR3: GPIO105(169)=1  followed by a few GEDR0: GPIO11(75)=1 then MMC and DMAs
10:02.47pH5oh, it's a microsd? then you probably don't have that GPIO connected at all
10:03.03xsachathere are phones that take SD cards (not micro)?
10:03.12pH5it's used to read the write protection trigger on full-size sd cards only
10:03.22pH5xsacha: yup, those were the times :)
10:03.28pH5hacks on HTC Blueangel right now
10:03.52xsachaso do i comment out the wp variable.. or.. just ignore it?
10:04.42pH5I'd say you either remove zylonite_mci_ro completely
10:05.33pH5or you set gpio_wp to -1 and change zylonite_mci_ro to "return gpio_is_valid(...gpio_wp) ? gpio_get_value(...gpio_wp) : 0";
10:06.04nathan7Found the patch
10:06.11nathan7http://www.gitorious.org/gumstix-oe/mainline/commit/0f1bfa08ced1bd3482220bf3b97bb55fcc45de31?diffmode=inline
10:06.24nathan7Now
10:06.26nathan7HOw to apply?
10:07.04pH5nathan7: click on "raw patch", save that file and apply it with git-am
10:07.43pH5or take it out of your OE workdir, if you use OE anyway.
10:08.25nathan7Hmm
10:15.21nathan7Where?
10:15.39nathan7pH5: How, where?
10:15.55nathan7In /stuff/tmp?
10:16.17nathan7nathan@lion:~$ ls /stuff
10:16.17nathan7bitbake  build  build.sh  openembedded  poff  tmp
10:18.14*** join/#htc-linux xsacha2 (n=sacha@123.100.137.226)
10:18.20xsacha2hey, well it worked ph5!
10:18.32xsacha2no backtrace but i get this error: mmc2 error -22 whilst initialising SDIO card
10:19.01pH5xsacha2: good to hear
10:19.08pH5nathan7: openembedded/recipes/linux/linux-handhelds-2.6-2.6.21/0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch
10:19.25pH5xsacha2: do you have /dev/mmcblk[01]* now?
10:20.06xsacha2no.. still no mmc
10:20.52pH5hm..
10:22.24xsacha2the last message about mmc1 is: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
10:22.57nathan7pH5: And then?
10:23.09nathan7xsacha2: 0hz... THat's a nice clock xD
10:23.42nathan7My clock is ∞ times as fast
10:24.16xsacha2:) what do you think could be going on?
10:25.24xsacha2o i just noticed there is mmc0 mmc1 and mmc2 is attempts to start
10:25.29nathan7Powermode 0.
10:25.40nathan7It's off.
10:25.45xsacha2mmc0 looks promising!!!
10:26.36pH5nathan7: and then what? apply this patch and then it should compile.
10:26.40xsacha2mmc0: new high speed SDHC card at add ress d555     mmcblk0: mmc0: d555 SU08G 7.60GiB
10:26.51pH5yes, that's a card alright :)
10:27.04nathan7pH5: Uhh
10:27.14xsacha2pH5: but it doesnt appear in my /dev :(
10:27.18nathan7pH5: I think I'm totally stupid now, but where's the kernel tree?
10:27.30nathan7*being totally stupid
10:27.42nathan7Ah
10:28.01nathan7In /stuff/tmp/work/magician-angstrom-linux-gnueabi/linux-handhelds-2.6-2.6.21-hh20-r0/kernel26
10:28.36nathan7fires up build.sh
10:30.58nathan7pH5: http://sprunge.us/fMaX
10:34.56pH5bah, 2.6.30-rc7 spews "scheduling from idle thread" messages on BA :(
10:35.48nathan7=0
10:36.59xsacha2is there anything else i have to do to get mmcblk0 to show up? cause it says it's there in dmesg but wont show in /dev
10:37.19nathan7pH5: Any ideas?
10:37.25xsacha2mknod or something?
10:38.48parpH5: whats the highest working kernel you have on the ba
10:40.23pH5nathan7: no idea, maybe just try a git pull on OE and a clean build of the kernel.
10:40.40pH5xsacha2: isn't udev running?
10:41.22xsacha2hmmm?
10:41.23pH5par: right now, I don't have one.
10:41.56xsacha2udevd --daemon is running
10:44.17nathan7pH5: Hmm, okay.
10:45.20*** join/#htc-linux wdslbr (n=asa@dslb-088-069-222-136.pools.arcor-ip.net)
10:50.02parpH5: ah ok so it would still be HH20
10:50.36*** join/#htc-linux tsdogs (n=tsdogs@195.32.70.17)
10:50.52par2.6.30 compiled with wirless extension would allow the acx to operate hostapd properly as an access point.
10:52.09pareven 2.6.27 would
10:54.10nathan7Hmm
10:54.25*** join/#htc-linux kiozen (n=oeichler@rgnb-5d8744d7.pool.einsundeins.de)
10:54.32nathan7pH5: Nope, same error.
10:57.46xsacha2ok now that my SDHC card works.. i guess i need to try android
10:58.01pH5xsacha2: :)
10:58.03pH5nathan7: :(
10:58.14pH5par: :/ does the acx100 driver work on 2.6.30 yet?
10:58.58xsacha2im guessing my /dev problem is just related to angstrom?
10:59.58xsacha2ph5: you know of some ready to go android binarys? or do i HAVE to compile my own? it's just .. a bit big
11:02.44pH5no idea about android
11:02.54pH5my userspace is an age-old angstrom console-image
11:03.27xsacha2:(
11:04.11xsacha2when you pres power button, then press it again (screen comes back on),.. is screen black around edges and grey in middle with text highlighted a bit?
11:06.09xsacha2it's sort of like the screen is black but there's a spotlight in the middle
11:29.54*** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
11:45.40*** join/#htc-linux diogene31 (n=diogene3@mur31-2-82-243-122-54.fbx.proxad.net)
11:46.26kri5hello there
11:47.16*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
12:04.18infidel206ph5, for which device are you primarily developing for?
12:08.49*** join/#htc-linux dzo_ (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
12:14.48pH5infidel206: magician, hx4700 and blueangel
12:18.24*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
12:33.25tmztxsacha2: mmc2 could be wifi?
12:34.30xsacha2naah, it was cause i set maxslots = 3
12:34.34tmztor that could be left over from zyl
12:34.42xsacha2mmc1 and mmc2 were giving 0s
12:34.56xsacha2anyway, how do i test android? to see if it boots
12:35.31xsacha2i know i need an initrd-android.. does it matter which one i get?
12:35.47xsacha2and do i also need System.img?
12:40.04xsacha2if d/ling an initrd for kaiser.. would it work the same on my i780? will i see something happen even without the System.img?
12:47.01infidel206ph5, cool
12:52.01diogene31is AWAY at 14:52:01 : dog time
12:54.07xsacha2weird, the initrd they gave me boots busybox
12:54.31xsacha2good i have free electricity coz these reboots suck a lot of power
12:57.00*** join/#htc-linux cr2 (n=cr2@ip-90-187-84-29.web.vodafone.de)
12:57.41nathan7xsacha2: =0
12:57.43nathan7xsacha2: Busybox?
12:57.50nathan7xsacha2: Android doesn't have busybox
12:58.09nathan7pH5: Do you perhaps have an OE that does compile?
12:58.45xsacha2i see what it doe
12:59.00xsacha2it loads busybox and runs a script that mounts SD card and then loads android from that
12:59.34xsacha2problem being, it looks for mmcblk0p2 and i dont have one
13:00.17tmztxsacha2: Mohanas is an intel x86 processor, core solo or something like that
13:00.40xsacha2Mohanas LV is the name of PXA311
13:00.49nathan7=p
13:01.01xsacha2Mohanas P is PXA320
13:01.20tmztoh sorry
13:01.32tmztit sounds familiar
13:01.53xsacha2any idea why my sd card still aint working? i did those fixes you told me about
13:02.11tmztmmc0 is not working?
13:02.23xsacha2mmc0: new high speed SDHC card at add ress d555     mmcblk0: mmc0: d555 SU08G 7.60GiB
13:02.32xsacha2but i dont get any mmc* in /dev/
13:02.50tmztcan you find out how many real mmc ports your cpu has?
13:03.04*** join/#htc-linux nebi_ (n=nebi@217.142.147.19)
13:03.05xsacha2how?
13:04.14tmztkais might work, pxa310 is afmv6?
13:04.34xsacha2af.. what?
13:04.40tmztplease get angstrom, etc first though
13:04.54xsacha2angstrong works fine
13:04.56tmztarm
13:05.07tmztwith mmcblk0?
13:05.13cr2pH5: i have not touched uni and sable for ages. because of the asic3_mmc
13:05.23xsacha2no, nothing works with mmcblk0.. not even busybox :(
13:05.34tmzttotola htc on upstream!!??
13:05.35cr2pH5: but they both use pxa27x. does 2.6.30 support pxa263 properly ?
13:06.21pH5cr2: pxa26x is pxa25x mostly. seems to work, except the asic3_mmc driver is causing "scheduling from the idle thread" to spew on your BA.
13:06.59tmztxsacha2: the line you gave before had detected card, it should work from that point
13:07.00cr2pH5: i remember fidlling with the pxa26x ifdefs to make uda1380 asoc working properly
13:07.01pH5sable is interesting because it has ASIC3 bus shifted (not packed 16bit like hx and ba)
13:07.32pH5SSP? I'm not that far yet :/
13:07.35xsacha2tmzt: except it never appears in my /dev/ :(
13:07.39tmztyou need to find out number of mci hosts
13:07.52tmztkernel doesn't care
13:08.09tmztwhat kernel/cmdline are you using!
13:08.11tmzt?
13:08.23pH5cr2: do you know if there is any magic regarding the blueangel keyboard? I just don't get any interrupts on the asic3 d4 pin ("QKBD_IRQ")
13:08.24cr2pH5: ok, i can try merging the sable/uni hh code once you have some working ba code.
13:08.58cr2pH5: but i also need to switch to htc-egpio for uni.
13:09.01cr2hmm.
13:09.07xsacha2set cmdline "root=/dev/ram0 ramdisk_size=8192 rootwait rw init=/init video=pxafb:mode=320:320-16,active"
13:09.20cr2pH5: does it use the irq spi ?
13:09.28tmztrootdelay=5
13:10.02xsacha2set cmdline "root=/dev/ram0 ramdisk_size=8192 rootwait rw init=/init video=pxafb:mode=320:320-16,active rootdelay=5"
13:10.07tmztroot=/dev/mmcblk0p1 or 2
13:10.19cr2pH5: sable uses asic3_spi for gps :o
13:10.19tmztno rootwait
13:10.25pH5cr2: no, lcuk disabled the asic3 spi irq to avoid that "interrupt processing overflow" message in asic3 IIRC.
13:10.29tmztno ramdisk_size
13:10.34xsacha2shouldnt i want root in ram not on memory card?
13:10.36pH5does sable use the irq?
13:10.43tmztno
13:11.04tmztextract you ang to an ext2 partition on sd
13:11.05cr2pH5: need to check.
13:11.14xsacha2oh but then i need to partition my drive
13:11.24tmztyes
13:11.42tmztgparted will resize your vfat
13:11.43pH5cr2: you can base universal on hx4700 in the hx4700-dev branch here: http://git.linuxtogo.org/?p=ph5/kernel.git;a=shortlog;h=refs/heads/hx4700-dev
13:11.46xsacha2does this mean i dont need an initrd anymore then?
13:11.54pH5pxa270 seems to work just fine with asic3_mmc
13:11.57tmztprobably not
13:12.14cr2pH5: but i doubt it. the only difference between ba,paq4350 and sable/beetles was the initial code sent over spi tx
13:12.21xsacha2i dont have gparted.. mm
13:12.46cr2pH5: yes, it's a good idea to start from hx4700.
13:12.49pH5ok. maybe there is a gpio on BA to power the QKBD chip?
13:13.10dzomorning all
13:13.12xsacha2can i use fdisk to partition?
13:13.14pH5also, I already submitted that code to LAKML, so it got a little bit of review.
13:13.18pH5hi dzo
13:13.23cr2pH5: yes, there is a power and reset gpio for the keyboard microprocessor
13:13.36cr2pH5: i think it's all in the -hh code
13:13.43pH5ah, ok. that's probably my fault.
13:13.46pH5rechecks the hh code
13:13.57tmztxsacha2: not if you want to resize
13:14.03xsacha2k
13:14.19tmztxsacha2: fdisk only if you want to delete the whole sd
13:14.32xsacha2ive resized my hard drive with fdisk before..
13:14.52xsacha2not sure if it works for vfat too
13:14.58tmztbecause you will have to format the partitions it creates
13:15.28tmztfdisk only changes the partition table, not filesystems
13:15.48xsacha2well what i did was: delete partitions, create new partition where old one was (but smaller)
13:15.54tmztyou probably used ntfsresize or resize2fs as well
13:16.03tmztyeah
13:16.14tmztdo you have data on the sd?
13:16.17xsacha2yeah
13:16.30dzocr2: i had a look at the gps rpcs on vogue and it's using prog 0x30000004 not 3000001d so different to raphael.
13:16.34tmzteither move it or use parted
13:17.02tmztdzo: could be same on raph500?
13:18.01tmzteither move your data to a different disk or use parted
13:18.26cr2dzo: 1d is used on cdma raph (and +5b). the gsm raph uses only 5b
13:18.41*** join/#htc-linux MLM (n=mlvdmeid@meide.xs4all.nl)
13:18.42dzodo you know which call is pdsm_get_position on raph?
13:19.14cr20xc
13:19.34xsacha2is it a problem that gparted things my entire 8GB is "unallocated" ?
13:19.40xsacha2thinks*
13:19.43cr2i'll edit wiki now, to put the values from channel log there.
13:20.08tmztxsacha2: yeah, what does fdisk -l say
13:20.21tmztunless it's superfloppy
13:20.42xsacha2says /dev/sdb1              43       81821     7973376    b  W95 FAT32
13:20.46cr2dzo: [Do Mai 28 2009] [01:58:00] <cr2>       so, 0x3000001d,0,6 is  pdsm_atl_post_event
13:21.04dzocr2: i see it sending 9 and receiving 1 and 4.
13:21.10tmztfile -s /dev/sdb
13:21.24cr2dzo:   PROG=0x3000005b VERS=0 par=0xc <- pdsm_get_position
13:21.36xsacha2says /dev/sdb: x86 boot sector; partition 1: ID=0xb, starthead 130, startsector 8192, 15946752 sectors
13:21.41cr2dzo: i can check yours too
13:22.07tmztnot sf mode I think
13:22.12xsacha2sf?
13:22.13cr2dzo: yes, 1,4 and b here on the rx side
13:22.37tmztsuperfloppy
13:22.40cr2dzo: for the 5b prog
13:22.40xsacha2lol
13:22.52xsacha2but gparted still saying "unallocated"
13:22.57tmzttry mount /dev/sdb /mnt
13:23.07tmztthat should fail
13:23.42xsacha2already mounted
13:23.52tmztumount
13:24.02xsacha2k works now
13:24.19xsacha2kde auto mounts them
13:24.25pH5cr2: ok, D6 is reset and there's C6 chip select. do you have any docs / disassembly on the reset procedure, I can't find any code in the hh.org sources.
13:24.27tmztls /mnt shows your data?
13:24.37xsacha2gparted still says unallocated tho
13:24.58tmzthow much data?
13:25.21xsacha2mm it says i need to specify fs type
13:25.23cr2pH5: i need to look in the old idbs
13:25.35tmztmount does?
13:25.40xsacha2i tried vfat but it says bad option
13:25.49pH5cr2: that would be great
13:25.52xsacha2or wrong fs type
13:25.52tmztvery weird
13:26.07cr2pH5: _cs is used in a "strict" way only on sable/beetles. but it's a 2Mbit interface there.
13:26.27xsacha2when kde auto mounts it, i can see all my 8GB of data in dolphin though
13:26.28tmzthow much data?
13:26.34cr2pH5: where the clokc divider should be set properly and such.
13:26.37tmztok, mount
13:26.52pH5ah, also how does the SPI clock divider work. is the base clock the 24.576MHz one?
13:27.14tmztwhere does kde mount it?
13:27.30xsacha2<PROTECTED>
13:27.39cr2pH5: it's a bit of black magic. we only have the comments from asic2 code
13:27.40xsacha2it creates a folder on the fly, depending on how many disks
13:27.55tmztwhat device?
13:28.01*** join/#htc-linux AntiXpucT (n=Skim@77.106.108.232)
13:28.01xsacha2huh?
13:28.10tmztis mounted
13:28.16cr2pH5: and i know the real-life values. but asic2_spi is still diffeent from asic3_spi
13:28.20tmztthe mount line
13:28.43xsacha2i dont know, it's not in fstab or anything.
13:29.01tmztrun mount
13:29.23cr2pH5: so we will probably never know, unless somebody will measure the output clock frequency directly.
13:29.31xsacha2ok gotta hook up my phone again to get it to show
13:29.51tmztwhat?
13:30.18tmztno card reader?
13:30.19xsacha2nup, it doesnt  show in mount
13:30.33xsacha2im using USB connection, not card reader.. should i use reader?
13:30.41tmztyes
13:30.50cr2dzo: rpc 4 is not in my wiki list, but i can check in the qcom msm tree
13:30.52tmztwas it in storage mode?
13:30.56xsacha2yeah
13:31.10tmztreader is best
13:31.22dzocr2: which tree is that?
13:32.05xsacha2ok it shows up now with reader: /dev/sdb1 on /media/disk-1 type vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,utf8)
13:32.07cr2dzo:  branch 'Q8650BSDCAALZA2140' of git://codeaurora.org/kernel/msm
13:32.38*** join/#htc-linux MethoS- (n=clemens@host-091-096-213-249.ewe-ip-backbone.de)
13:32.58xsacha2unallocated 4MB fat32 7.61GB
13:33.26cr2dzo: it's the tree that has tv_enc and multiple mdp output code.
13:34.03dzoOK, i didn't know about that, I'll have a look.
13:34.03xsacha2how much space would i need? 1GB ok?
13:34.03tmztxsacha2: umount and try resize
13:34.15tmzt2gb would be better, 1 is ok
13:34.50xsacha2mmm its not lettin me resize.. i set it to 5.7GB and resize is greyed out
13:35.04cr2dzo: yes, you are right
13:35.09cr2dzo:         { 0x30000004, "PDSM" },
13:35.12tmzthow much data?
13:35.23xsacha2nevermind, i had to tab or something.. it doesnt update til you tab
13:35.51tmztok
13:35.52xsacha2so ext2 as primary partition?
13:35.57tmztno
13:36.06tmztdoesn't matter
13:36.07tmztyes
13:36.12tmztsorry
13:36.12xsacha2:P
13:36.19tmztnot active
13:36.24cr2dzo:         { 0x3000001d, "PDSM_ATL" },
13:36.34tmztactive doesn't matter
13:36.34cr2dzo:  { 0x3000005a, "PD_COMMS_CLIENT_API" },
13:36.45xsacha2doesnt give option of active anyway
13:37.17xsacha2ok resizing it. then i stick my android files on there?
13:37.23tmztno
13:37.33tmztangstrom for now
13:37.48xsacha2k
13:40.33*** join/#htc-linux kiozen (n=oeichler@rgnb-5d8744d7.pool.einsundeins.de)
13:40.34*** join/#htc-linux zycho_ (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
13:41.11xsacha2what am i extracting in to partition 2 exactly? initrd-angstrom-console?
13:41.22tmztyeah
13:41.38xsacha2how do i extract it? not sure of its format
13:41.42tmztln -s bin/busybox init
13:42.04tmztfile init*
13:42.49xsacha2nevermind, it's a gzip
13:43.15tmztext2?
13:43.19xsacha2gosh it's a gzip inside a gzip inside a gzip?
13:43.29tmztfile
13:43.52xsacha2nevermind. i have a file initrd-angstrom-console
13:44.11tmztfile
13:44.57xsacha2ASCII cpio archive?
13:45.13tmztmkdir initfs
13:45.18tmztcd initfs
13:45.57xsacha2yeah
13:46.12tmztcat ../initrd-angstrom-console |cpio -id --no-root-filenames
13:46.57xsacha2unrecognised option.. --no-root-filenames
13:47.14tmztcat ../initrd-angstrom-console |cpio -id --no-absolute-filenames
13:47.44xsacha2cpio: Substituting `.' for empty member name   Aborted
13:47.49*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
13:48.04tmztcpio -t
13:48.48xsacha2whats that meant to do?
13:48.54tmztlist
13:48.59xsacha2just sits there until i ctrl+c it
13:49.29tmztcat ../initrd-angstrom-console |cpio -t
13:50.07xsacha2same error as before (Aborted)
13:50.46*** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
13:50.48tmztzcat ../initrd-angstrom-console |cpio -t
13:50.56tmztthe gzip one
13:51.02xsacha2oh ok
13:51.30xsacha2if i do it on .gz one, i get same error as before
13:51.51tmztit's probably bad then
13:52.20xsacha2initrd-angstrom-console: ASCII cpio archive (SVR4 with no CRC)
13:52.36tmztpH5: good angstrom console image?
13:52.55xsacha2i downloaded this one from the website
13:53.09xsacha2it was designed for motorola a780 or something
13:53.30*** join/#htc-linux dcordes (n=luke@unaffiliated/dcordes)
13:53.35tmztwhat was it called before you gunzip'd?
13:53.50xsacha2initrd-angstrom-console.gz
13:54.00xsacha2(thats one i use to boot angstrom on phone, works)
13:54.10tmztand you zcat that?
13:54.13xsacha2yeah
13:54.20xsacha2unrecognised option.. --no-root-filenames
13:54.23xsacha2oops
13:54.27xsacha2cpio: Substituting `.' for empty member name   Aborted
13:54.44tmztwhich cpio
13:54.57xsacha2in /bin/cpio
13:55.25tmztstrings /bin/cpio |grep file
13:55.57xsacha2heaps of stuff
13:56.09tmztstrings /bin/cpio |grep filename
13:56.42xsacha2about 6 lines
13:57.38tmztlike?
13:57.56xsacha2Archive filename to use instead of standard output. Optional USER and HOST specify the user and host names in case of a remote archive
13:58.14xsacha2A list of filenames is terminated by a null character instead of a newline
13:58.30xsacha2Archive filename to use instead of standard input. Optional USER and HOST specify the user and host names in case of a remote archive
13:58.32*** join/#htc-linux _chab7_3 (n=kvirc@fibhost-67-206-132.fibernet.bacs-net.hu)
13:58.37tmztany aboit absolute?
13:58.42xsacha2yeah
13:58.52xsacha2no-absolute-filenames is last line
13:59.13tmztso why didn't it work?
13:59.20xsacha2no idea
13:59.34tmzttry p7zip
13:59.56tmzt7zr l initrd-*
14:00.26xsacha2Il
14:00.29xsacha2l ok
14:00.55xsacha2Error: initrd-angstrom-console is not supported archive
14:02.00tmztp7zip-full is installed?
14:02.10xsacha2mm dunno about full
14:02.26xsacha2oh, it wasnt, ok
14:02.45*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
14:02.56xsacha2still says same thing.. unsupported archive
14:03.12tmzttry 7z or 7za
14:03.25xsacha2woot, 7z worked!
14:03.31xsacha2all the files are there
14:03.33tmztgood
14:03.53tmztln -s bin/busybox init
14:04.04tmztcp -r to sd partiton
14:04.15tmzt-a not -r
14:05.25xsacha2well, it says init file already exists
14:05.33tmztok
14:05.41xsacha2it's a shortcut for sbin/init
14:05.42tmztignore that then
14:05.48tmztls -lh
14:06.19tmztoh right
14:06.22xsacha2i need to use sudo to access any of the files :\ oops
14:06.33tmztis that symlink to busybox?
14:06.33xsacha27z wanted sudo..
14:06.48tmztyeah
14:06.59tmztextract as root
14:07.16xsacha2init -> sbin/init -> sbin/init.sysvinit (ELF file)
14:07.34xsacha2i need sudo to read these files, not just write
14:08.16tmztbut is it eventually a symlink to busybox
14:08.27xsacha2dont know, cant read the ELF file
14:08.40tmztor is init.sysvinit a binary
14:08.43tmztlooks ok
14:08.52xsacha2yeah binary file
14:09.16xsacha2btw ive been doing it on the SD partition
14:10.41tmztok
14:10.51tmztso boot :)
14:11.15xsacha2k
14:11.40*** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net)
14:11.50xsacha2remove this line? set initrd "initrd.gz"
14:12.16tmztyes
14:12.20tmzt#
14:12.46tmztcmdline?
14:13.38xsacha2set cmdline "root=/dev/mmcblk0p2 rootwait rw init=/init video=pxafb:mode=320:320-16,active rootdelay=5"
14:14.17tmztno rootwait
14:14.20tmztno ini
14:14.24tmztinit
14:14.59xsacha2set cmdline "root=/dev/mmcblk0p2 rw video=pxafb:mode=320:320-16,active rootdelay=5"
14:15.16tmztif your using patched pxafb mode you shouldn't need that
14:15.22tmztbut it's ok
14:15.28tmztboot
14:16.07xsacha2booting :)
14:16.17xsacha2kernel panic :'(
14:16.24xsacha2no init found
14:16.28tmztfs?
14:16.34xsacha2Try passing init= option to kernel
14:16.47tmztmounted?
14:17.01Kevin2cr2: zab said go ahead.
14:17.06xsacha2that init=/init that was in the cmdline before?
14:17.16tmztyeah
14:17.20xsacha2put it back?
14:17.30tmztfor now
14:18.16tmztKevin2: did you see what cr2 said about a make xipboot option for haret?
14:18.48Kevin2I saw, but I didn't get the background.
14:18.58Kevin2What would "xipboot" do?
14:19.19xsacha2hang on.. tmzt.. is the init meant to be in / or in /initfs?
14:19.53tmztit would produce a raw binary capable of booting an embedded zImage with embedded default.txt
14:20.06tmztxsacha2: /
14:20.23xsacha2hang on, was initfs folder meant to be put on to SD? lol
14:20.27*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
14:20.30tmztno win32 stuff
14:20.33Kevin2How is that different from what it does today (with make linload)?
14:20.42tmztxsacha2: no, put under root
14:20.45xsacha2haha
14:20.57cr2Kevin2: it will replace the wince kernel boot
14:20.59tmztKevin2: that's still a pe .exe?
14:21.17cr2Kevin2: linload is a wince binary
14:21.21Kevin2Oh - so you're thinking of haret without wince?
14:21.44cr2not haret, it's a direct replacement of nk.exe
14:22.10cr2so you think that you boot into wince nk.exe, but get zmage+tags there :)
14:22.11*** join/#htc-linux GiantTalkingCow (n=GiantTal@adsl-76-211-225-141.dsl.pltn13.sbcglobal.net)
14:22.14*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
14:22.21*** join/#htc-linux lucxxx (n=o_lucian@89-115-128-35.cl.ipv4ilink.net)
14:22.25*** join/#htc-linux progzfr (n=progz@lie77-1-82-231-103-55.fbx.proxad.net)
14:22.38progzfrHi all
14:22.44lucxxxhi all
14:22.45Kevin2So, haret would still use wince calls then?
14:22.56tmztno, just arm
14:23.19tmztabsolute offsets in stead of resources
14:23.59tmztdoes haret use att asm now?
14:24.00Kevin2Oh - I think I see - let the wince loader pull a zimage from flash, and then write a wrapper function that launches the zimage?
14:24.11tmztfor mingwce
14:24.15cr2Kevin2: haret is a wince program, but xipload will pack tags+zimage+initrd, instead of MZ+... in linload.exe
14:24.47Echo31Hi all
14:25.36cr2tmzt: yes, it is compiled with gas
14:25.36Kevin2tmzt: Haret uses att syntax.
14:25.36cr2tmzt: .S vs .asm
14:25.37tmztcool
14:25.54Kevin2cr2: Why not just use uboot or one of the other standard arm loaders?
14:26.16cr2dzo: i've added my observed  rpcs http://www.htc-linux.org/wiki/index.php?title=MSM_RPC
14:26.25cr2Kevin2: it does not exist for msm afaik
14:26.45tmztmy question is config parser, an that work without win32
14:26.53tmzttoo low level
14:26.54xsacha2if it's the second partition is it mmcblk0p2 or mmcblk0p1?
14:27.03tmztcr2: did you see uboot patch?
14:27.13tmztp2
14:27.38cr2tmzt: no
14:27.45tmztaurora
14:27.51tmztlinux project
14:27.52cr2can you post the direct link ?
14:28.00tmztproject resources
14:28.04tmztpatches
14:28.13tmztlet me try - on phone
14:28.35cr2Aurora SPARC Linux Project ?
14:29.47tmzthttps://www.codeaurora.org/patches/quic/le/u-boot-2009.03_PATCH_2009_05_14.patch
14:30.02tmztqualcomm
14:30.14tmztregisters at the end
14:30.25xsacha2well it still says cant find init
14:30.29xsacha2even with init=/init
14:30.40tmztno init=
14:30.54tmztis it extracted under root?
14:30.54xsacha2it also says VFS: Mounted root (ext2 filesystem) on device 179:2
14:31.01tmztgod
14:31.04tmztgood
14:31.09xsacha2yeah extracted under root.. didnt work without init and not with init either
14:31.17tmztodd
14:31.41tmzttry sbin/init to bin/busybox symlink
14:31.59tmztor just init=/bin/sh
14:32.00xsacha2k
14:32.16xsacha2init=/bin/sh in cmdline?
14:32.24tmztyeah, to test
14:32.28xsacha2one thing though.. for root=/dev/mmcblk0p2
14:32.33xsacha2should it be p2 or p1?
14:32.38tmztp2
14:32.41xsacha2k
14:33.19tmztcr2: is nand driver there?
14:34.11dzocr2: thanks, I added clock_sec_grp_rail_on but I also have clock_sec_grp_rail_off as 0x26 on vogue.
14:34.16*** part/#htc-linux GiantTalkingCow (n=GiantTal@adsl-76-211-225-141.dsl.pltn13.sbcglobal.net)
14:34.19tmztKevin2: by the way, this would be loaded by spl, no hardware init should be needed
14:35.36cr2tmzt: it's for 8x50, not 7x0xX
14:36.43cr2dzo: yes, there are some differences in the cam init
14:38.15dzocr2: the only rpcs i use for cam init are some clocks.
14:38.26cr2tmzt: the nand header is included, looking for the driver.
14:38.55cr2dzo: yes, the same here. it's too much PITA to set them in MSM_CLK directly.
14:40.05dzolast week i played with the plls a bit, lets you overclock the a11.
14:40.44dzomy vogue is fine up to 580Mhz but my kaiser is not stable over 480.
14:40.48xsacha2woah, so weird.. default.txt is empty now n i dunno why
14:41.45*** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring)
14:41.53cr2tmzt: ehci_hcd_init() ?
14:42.18AstainHellbringmorning
14:42.19cr2dzo: lol
14:42.26AstainHellbringstupid internets
14:42.54*** join/#htc-linux _chab7_3 (n=kvirc@fibhost-67-206-132.fibernet.bacs-net.hu)
14:43.23tmztcr2: it seems the board has a more conventional usb host
14:44.11dzoNearly 3am here, night all.
14:45.37tmztvip bjk says the registers are consistent with what he knows about msm
14:45.45cr2dzo: good night
14:45.46tmztnand is the same
14:46.08tmztviper
14:46.10cr2tmzt: not all of them. uart2DM is different
14:46.30tmztoh?
14:46.58cr2there are some examples for the SD MD/NS too :)
14:47.17*** join/#htc-linux AstainMBL (n=AstainHe@unaffiliated/astainhellbring)
14:47.23tmztyeah, all the clock tree seems to be there
14:47.44tmztat the end
14:48.30cr2uuu.
14:48.37cr2the clocks are documented.
14:48.59xsacha2set cmdline "root=/dev/mmcblk0p2 rw init=/bin/sh video=pxafb:mode=320:320-16,active rootdelay=5"
14:49.15cr2tmzt: with all bits
14:49.22tmztyes
14:49.42cr2conspiracy :)
14:49.55xsacha2kernel panic much? :(
14:50.21tmztviperbjk says data mover is basically software in amss, that many devices are only accessible from arm9 core
14:50.21xsacha2Failed to execute /bin/sh       (and /init and /sbin/init)
14:50.43tmztxsacha2: did 7z preserve mode?
14:50.44cr2usbh is e4 ...
14:50.49xsacha2dont think so tmzt
14:51.14tmztchmod +x busybox and init.sysvinit
14:51.35xsacha2ok
14:51.45xsacha2does it matter you have to be root to read the files?
14:51.53tmztyes
14:52.00cr2tmzt: still, it's the 8xxx cpu, so we need some register address validation
14:52.09tmztdirs should be owned by root
14:52.15tmztyeah
14:52.16xsacha2ok
14:54.25xsacha2i should probably make everything in bin executable right?
14:54.48tmztyeah, but most are symlinks
14:55.02tmztso it doesn't matter
14:55.33cr2b8/bc for tvout...
14:55.43tmztcr2: I think this can replace spl when we're ready
14:57.16xsacha2still getting kernel panic
14:57.34tmztmesage?
14:57.53xsacha2Failed to execute /bin/sh. Trying defaults...
14:58.16cr2tmzt: the clock regs are not the same
14:58.27tmztah, +x /lib/*
14:58.36xsacha2ok
14:58.47tmztand  /usr/lib/*
14:58.54xsacha2lol
14:58.55cr2tmzt: tv encoder is at SDC4
14:59.10tmztspi?
15:00.06cr2tlmm and tsif are at SDC3
15:00.20tmztwhat are those?
15:00.26cr2so qcom reshuffled some things again
15:00.36cr2like between 7200 and 7200A
15:01.34cr2compare to http://www.htc-linux.org/wiki/index.php?title=MSM_CLK
15:01.39xsacha2exactly.. the same message :(
15:01.49xsacha2even with /lib and /usr/lib chmod'ed
15:02.15tmztthe .so's are +x?
15:02.30cr2tmzt: still, it's an extremely useful data source.
15:02.31xsacha2yes
15:02.42xsacha2-rwxr-xr-x 1 root root      20 2008-04-24 11:05 libnss_compat.so.2
15:02.44xsacha2etc..
15:03.05tmztnot sure then
15:03.21cr2haha. they documented even the SBI clock
15:03.25xsacha2what if i just made it run a hello script?
15:03.26tmztyou could try hackndev armel
15:03.40tmztit won't is sh is bad
15:03.49tmztcr2: SBI?
15:04.06tmztwhat about nand?
15:06.27tmzthttp://releases.hackndev.com/debian-lenny-armel-20081004.rootfs.tar.bz2
15:06.39tmztjust extract that
15:06.54tmztafter mke2fs on the partition
15:07.07tmztget rid of init=
15:07.42cr2tmzt: 68 is ICODEC_RX, but it's i2c on 7xxx
15:08.12cr2i2c is 64, like on 7200
15:09.38cr2gp is 54/58 like on 7200
15:13.38xsacha2what could be the problem? it recognises mmcblk0p2 as 2GB ext2 partition, mounts it successfully
15:14.02tmztxsacha2: can you try that image?
15:14.51xsacha2why do i need to mke2fs?
15:14.59cr2pbus_clk=14
15:15.23tmztcr2: for the codecs, it's posible qct wanted to put them in hw to save power
15:15.59tmzt<PROTECTED>
15:16.06tmzton adsp
15:16.31tmztI think they added a lower clocked qdsp core
15:18.18progzfrI think I forgot how access to my G1 via fastboot USB. I explain : I boot my G1 in fastboot mod, now I launch sudo ./adb start-server and after sudo ./adb shell
15:18.22progzfrbut I have a error
15:18.37progzfrerror: device not found
15:18.43tmzt#android
15:18.55progzfroops miss ^^
15:19.01progzfrIt's the wrong channel sorry
15:19.25tmztwe just don't really know
15:19.28tmztthey do
15:19.51progzfrno problem ^^
15:24.29*** join/#htc-linux lupine_ (n=lupine@89.16.178.98)
15:25.12xsacha2i have set kernelcrc 0, set fbduringboot 1, set forcefbduringboot 1.. are these ok?
15:32.49cr2tmzt: chipidea/transdimension ehci
15:33.16cr2tmzt: afair the transdimension otg code was in atiw32xx
15:33.28cr2s/code/core/
15:37.07xsacha2so tmzt: are you sure i dont need an init? cause this one has no init file
15:41.17*** join/#htc-linux lucxx (n=o_lucian@89-115-128-35.cl.ipv4ilink.net)
15:43.27xsacha2it only has folders in root
15:48.11xsacha2ok well it sort of worked!! i got a few "unable to stop clock" messages by pxamci
15:48.16tmztsbin/init is ther, right?
15:48.30xsacha2got an unknown filesystem type "vfat"
15:48.43tmztwith p2?
15:48.46xsacha2a dozen more of those "unable to stop clock" messages and then a login screen
15:49.06xsacha2and i dont know the login :(
15:49.15tmztroot?
15:49.20xsacha2root / ?
15:49.30xsacha2root /root works :)
15:49.31tmztroot
15:50.04*** join/#htc-linux wdslbr (n=asa@dslb-088-069-222-136.pools.arcor-ip.net)
15:50.23xsacha2it keeps spamming me with that "unable to stop clock"
15:50.43xsacha2but i am logged in
15:51.10tmztcr2: most of the core is ati? or just gpu?
15:51.46tmztxsacha2: that could be the other sdc's it would be best to disable them
15:52.15tmztwhen I get somewhere I'll look at zyl again
15:52.29xsacha2umm something big just happened and pxamci just reinitialised all the memory cards again
15:52.49xsacha2oh, it's a backtrace :( crashed
15:52.56tmztyeah
15:53.19xsacha2get_page_from_freelist
15:53.22tmztI don't think pxa has more than one mmc host
15:53.37tmztso zyl has to be mux'd
15:54.11tmztor you have wifi on sdio and the cs is assert
15:54.16xsacha2the error was: Unable to handle kernel paging request at virtual address 0a40400d
15:55.02tmztwould phys be 0x40400d somethint,cr2?
15:55.39tmztcr2: 0x400400d
15:55.40tmzt?
15:56.10tmztwhy would there be code there????
15:56.23cr20x0400400d on pxa ?
15:56.29tmztyeah
15:56.34tmztno
15:56.38tmzt<PROTECTED>
15:56.42tmztvirt
15:56.56xsacha2mmc0: req done (CMD13): 0: 00000900 5b590000 3cdc7f80 0a40400d
15:56.59cr2virt can be anything
15:57.05xsacha2just before error
15:57.13tmztfor pxa periphs?
15:57.42cr2i don't know the pxa3xx map
15:58.00tmztok
15:58.14tmztcmd13 is sdhc, you lost mmc bus
15:58.26xsacha2yeah
15:58.40xsacha2:(
15:58.57tmztdisable the others if you can
15:59.08xsacha2i already did tho
15:59.10tmztin zyl310
15:59.49tmztwe should think about wtining a new board
16:00.05tmztit shouldn't be too dificult
16:00.09xsacha2#define MAX_SLOTS       1   // it was 3 (this is mmc slots)
16:00.19tmztnot enough
16:00.27xsacha2there is no zyl310.. there is zyl300 and zyl320
16:00.35tmztthat just breaks the array init
16:00.53tmzt300 is what your using?
16:01.01xsacha2i guess
16:01.11tmztdo you have ipaq200 source?
16:01.18xsacha2i have cpu set as 310 and 300 has code for 310 in it
16:01.27tmztok
16:02.00xsacha2what am i meant to change to reduce mmc slots?
16:02.06tmztwe just need a simple board with mci, fb, keyboard
16:02.21tmzthave to look at it again
16:02.26*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
16:02.39xsacha2mine is on http://github.org/xsacha/i780-kernel
16:04.51xsacha2zylonite.c: http://github.com/xsacha/i780-kernel/blob/181c85750e983c4a7dbfce3bae4d134d206c1f01/arch/arm/mach-pxa/zylonite.c
16:06.02*** join/#htc-linux WyrM (n=wyrm@20158153156.user.veloxzone.com.br)
16:07.47tmzthey, WyrM
16:07.52tmztpxa fun again
16:08.01WyrMhi tmzt :)
16:09.04tmztdoes blob load stuff from fat on mmc?
16:10.07xsacha2anyway everything was working until the crash
16:10.44WyrMtmzt: yes.
16:13.10tmztcool, think it would be portable to msm, sdcc and usb client?
16:13.22tmztincluding config?
16:17.39WyrMhum.
16:17.43xsacha2i noticed this in initdata: "GPIO103_MMC3_CLK,  GPIO105_MMC3_CMD," is this related to .cd = EXT_GPIO(105)?
16:17.46*** join/#htc-linux gentooer (n=asdfsf@pool-72-90-137-15.nwrknj.east.verizon.net)
16:17.59WyrMits specific to ezx, has driver that only exist on ezx, etc..
16:18.09WyrMbut well, with enough time, sure ;)
16:23.47xsacha2because the zylonite_pxa300.c has stuff for mmc1, mmc2 and mmc3 in its __initdata... but im fairly certain there's only 1 mmc
16:27.43xsacha2it seems like the mmc3 is what my phone has and the other 2.. well i dont have
16:31.08tmztWyrM: it's the fat code I don't want to rewrite, I'm looking at genblob, Qi, uboot, etc.
16:31.46WyrMtmzt: I think that for motoq trying to use gen-blob is worth. Because it has pcap code that you need.
16:31.56WyrMfor other devices, its not worth.
16:32.04WyrMwould be better to get uboot working.
16:32.32WyrMin fact, the original plan was to have uboot on ezx.
16:32.45tmztah
16:33.07WyrMbut alex zhang wrote the thing and released... I just improved it a little ;)
16:33.07tmztuboot feels raw to me
16:33.29tmztnick?
16:33.41WyrMhe is not around anymore. :/
16:33.53WyrMnot on freenode neither on openezx-devel@.
16:34.12tmztah
16:35.09WyrMhttp://thisvip.wordpress.com/
16:36.32xsacha2hey i booted lenny again and she's workin! :)
16:36.38xsacha2i changed mmc slot to 2 (instead of 0)
16:36.59tmztso it's probably just the cd/ro is right for that "port"
16:37.44xsacha2yeah well i noticed that there is mm1, mm2 and mm3 in initdata.. and mm3 has GPIO105 for CMD.. and i thought that looks familiar
16:37.51xsacha2mmc1,mmc2,mmc3
16:38.33xsacha2and i noticed mmc3 is only for pxa310 (not pxa300)..
16:38.37tmztok, that must be cs then
16:38.48tmztoh
16:39.22tmztso pxa310 has three ports?
16:39.35xsacha2apparently..
16:39.40xsacha2in zylonite
16:39.51xsacha2and 300 has 2
16:40.04tmztwell, if it's pxa310 specific it applies to all pxa310 and is in soc
16:40.52xsacha2i dont know if this is good or not.. i did dmesg and was spammed for 20 seconds (about 100 pages of stuff about mmc0 reg and CMD18)
16:40.59xsacha2no errors in those 100 pages though
16:41.10tmztread this, Kevin2 explains it: http://www.handhelds.org/hypermail/haret/14/1480.html
16:41.53xsacha2CMD12 and CMD18
16:41.58tmztif you have libertas, wifi might work, but that's ipaq214
16:42.04*** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix)
16:42.08tmztwhat do you mean?
16:44.44xsacha2i see... so for ipaq.. mmc3 isnt connected but mmc2 is wireless and mmc1 is... SD card?
16:44.44xsacha2but for my phone.. mmc1 isnt connected, mmc2 might be wireles and mmc3 is microsd card?
16:45.06xsacha2whoops, did you get that message?
16:45.14tmztyeah
16:45.27tmztpossibly, but I don't know
16:45.47tmztI guess we can add the right registers to haret/haretconsole to dump the mci status
16:45.56xsacha2how can i find out if i have an eth0/eth1?
16:45.56tmztbut I don't know how that works exactly
16:46.02*** join/#htc-linux dcordes-kais (n=dcordes-@ip-77-24-227-228.web.vodafone.de)
16:46.03tmztyou don't :)
16:46.06xsacha2k
16:46.14tmztnot a hardware one at least
16:46.21xsacha2wlan0?
16:46.31tmztpossbily, but we are not there yet
16:46.35tmztwhy are you asking?
16:46.48xsacha2just seeing if wireless works
16:46.53tmztzylonite is a motherboard, like a computer motherboard
16:47.09tmztit's for developing code for the pxa300/310 processor
16:47.18xsacha2yeah a developers board
16:47.24tmztso it has an ethernet chip, etc.
16:51.49xsacha2what are the values in mfp_cfg_t pxa310_mfp_cfg[] __initdata used for?
16:52.12tmztmapping the pins on the chip to their functions
16:53.10xsacha2isnt that what the .cd variable does in mmc init?
16:53.59xsacha2just confusing there's stuff in initdata relevant to mmc3 which seems to be the same as mmc init
16:56.45tmztno, these are the physical pins on the chip package
16:57.03xsacha2oh ok
16:57.06tmztalthough I think those gpio numbers match
16:57.31xsacha2it references them using gpio... etc in initdata
16:58.13tmztyeah, at least on pxa27x, if the alt function number is 0 (in most cases) the pin is in gpio mode
16:58.23tmztthe gpio pin is also the pin number
16:58.43tmztthat may or may not be the case on pxa3xx
16:59.55xsacha2theres a few pxa3xx devices in there.. computex one and some other one
17:05.08xsacha2is it strange that it's still called mmc0 even though i set it to use mmc slot 2?
17:06.03*** join/#htc-linux keyhive (n=neophyte@CPE00222d1d03eb-CM00222d1d03e7.cpe.net.cable.rogers.com)
17:06.27xsacha2anyway, what's the next step now that the sd card is working fine?
17:07.34*** join/#htc-linux Solvik (n=solvik@oxyradio.com)
17:09.51Solvikhi :)
17:10.14keyhivehey Solvik
17:10.48Solvikgot a touch pro and i'm googling since a few days about running android on my touch pro
17:11.14Solvikdidn't that there was an irc channel, that's great
17:11.20Solvik:)
17:11.30keyhiveSolvik, did you get it running with HaRET?
17:12.05Solviki didn't try
17:12.24keyhiveI'll get you a link :)
17:12.31Solvikit seems quite hard and i don't know if i'll be able to reinstall windows if it crashs or something like that :p
17:12.50xsacha2hehe piece of cake and doesnt effect windows :D
17:12.58keyhive^ what he said
17:13.11Solvikalso, i really need 3G/Edge, and that doesn't work yet on android, isn't ?
17:13.13keyhiveit's true.  you just unzip to the root of your SD card then run HaRET.exe
17:13.18keyhiveIt works
17:13.30Solvikoh ?
17:13.40Solvikhttp://wiki.xda-developers.com/index.php?pagename=RaphaelLinux
17:13.43Solvikthe wiki doesn't say that ^^
17:13.54xsacha2haret boots in to linux from windows.. so it doesnt effect your windows and doesnt run inside it either
17:14.02Solviknice one
17:14.24keyhivexsacha2: is more ram used booting from HaRET?
17:14.24Solvikdo i keep my contacts, sms etc? :)
17:14.50keyhiveSolvik: everything on windows mobile stays just as it is, so if you need to get back to those you can just soft-reset
17:15.20Solvikand i can use these data on android or do i need to recreate everything ?
17:15.25xsacha2eg. take out battery or use soft-reset button and then you're back in windows
17:15.29Solvik(for non-sim-contacts)
17:15.52xsacha2android would require you to recreate all your contacts etc (for non sim contacts)
17:16.01Solvikwonderful \o/
17:16.06xsacha2but theyll still be there on winmo when you get back to it
17:16.34Solvikdoes HaRET has only advantages ? :p
17:16.57xsacha2well, disadvantage: you have to run windows first then run linux
17:17.01keyhive:D
17:17.01xsacha2cant just choose as boot menu
17:17.17Solvikthat's the only one, realy ? everything works ?
17:17.42tmztyeah, it will all be there
17:17.57tmztSolvik: what device?
17:18.05SolvikHTC Touch Pro
17:18.14Solvikoh
17:18.15tmztwhich one?
17:18.17Solvikdevices on the phone
17:18.49tmztwiki.xda-developers.com
17:18.51Solvikphoto, 3G/edge/wifi, keyboard (most important)
17:18.57keyhivereally wants to develop msm7500 compatibility. Any helpful links [memory maps, repos, etc.] are appreciated.
17:18.57tmztbut it's the gsm one? fuze or other?
17:19.14tmztkeyhive: and which device is that for?
17:19.21keyhivetmzt: htc titan
17:19.30Solviktmzt, don't understand sorry
17:20.01tmztSolvik: which touch pro do you have?
17:20.24Solviki didn't know that there were many versions.. how can i know that
17:20.24tmztkeyhive: titan is very compatible with vogue for the most part, and it's well supported by dzo's htc-vogue kernel tree
17:20.42tmztis it gsm?
17:20.42tmztand are you in the us or europe?
17:20.44Solvikeurope, france
17:20.47Solvikand it's gsm yep
17:20.47keyhivetmzt: got a few issues with the latest and greatest.. airplane mode locks the kernel, LEDs can't be controlled, memory issues [ofc] and I'm dead set on hacking the SPL to boot android directly
17:20.58keyhivetmzt: good info, thank you
17:21.03tmztwell, that's what we are working on today
17:21.15tmztbut we are not going to touch spl at this point, just replace the ce kernel
17:21.41Solviktmzt, http://www.ldlc.com/fiche/PB00075222.html < that one
17:21.43keyhivetmzt: what do you mean by replacing it?
17:21.56keyhivetmzt: is it still in memory on android boot, or something?
17:22.13tmztwe are talking about making a bootloader that will replace the xip in the .nbh file used to flash the phone
17:22.28keyhiveOh :)
17:22.34tmztit might be in memory, but we have to do this in NAND flash
17:22.43tmztit's not enough to modify the ram copy
17:23.10xsacha2so basically power on -> custom bootloader (instead of htc one) [options: linux, windows] ... windows -> pda, linux -> ext2 memory card?
17:23.35tmztno
17:23.38tmztpower on
17:23.42tmztspl (windows one)
17:23.52tmztspl loads the xip partition into ram and jumps to it
17:24.11tmztour version of xip loads the kernel, either from already in ram, from nand, or from sd
17:24.15tmztthen boots the kernel
17:24.22xsacha2k
17:24.32xsacha2removing the only disadvtange of haret
17:24.59tmztyeah, but that means our kernel needs to be able to initialize things we currently rely on windows to initialize
17:25.56SolvikLatest build has an initial driver for the keyboard, which works, but is still a little rough < how rough is it ?
17:25.59*** join/#htc-linux cr2 (n=cr2@ip-90-187-84-29.web.vodafone.de)
17:26.29tmztWyrM: what's the gvim command to open a file at a symbol?
17:27.13WyrMvim -t <symbol>
17:27.25WyrMI think it depends on ctags or cscope to work.
17:28.32tmztyeah, I did make tags cscope
17:29.05xsacha2so a lot of stuff in the zylonite.c is useless? like debug LEDs and ethernet?
17:29.54tmztyeah
17:30.15xsacha2the ethernet that appears in my dmesg isnt related?
17:31.06tmztright
17:34.16xsacha2mm that means i have no leds :(
17:34.47tmztyou can only have leds if your hardware has them, but that doesn't tell you how they are connected
17:34.52cr2Solvik: a normal raph100
17:35.01xsacha2there is an LED on top of my phone
17:35.39xsacha2it goes red when there's power(even if device is turned off)
17:35.54xsacha2in winmo it blinks blue with message, green for call, etc
17:37.03xsacha2so do i not need smc91 because it's only used for ethernet?
17:38.59tmztyes
17:39.13xsacha2woah, the code just shrunk a lot
17:39.34tmztyeah
17:39.40tmztI don't think you need two files either
17:39.53xsacha2all thats in there now is some registers, stuff for lcd and mmc
17:40.00xsacha2the initdata
17:40.20tmztobjcopy -O binary -R .note -R .note.gnu.build-id -R .comment -S  arch/arm/boot/compressed/vmlinux arch/arm/boot/zImage
17:40.30xsacha2huh?
17:40.40tmztnothing
17:41.06tmztgood, pxafb, keyboard, mmc
17:41.07tmztgreat
17:41.23tmztcomment out mfp config for now as well, we will put it back later
17:42.46xsacha2compiles :D
17:43.38tmztdid you comment out the set mfp config line as well?
17:44.08tmzttmzt@shini:~/src/testbooter/small$ /opt/arm-2008q3/bin/arm-none-eabi-as -o test2.o test2.S
17:44.08xsacha2not when i just compiled it.. butyeah done that now
17:44.12tmzttmzt@shini:~/src/testbooter/small$ /opt/arm-2008q3/bin/arm-none-eabi-objcopy -O binary -R linux test2.o test2.bin
17:48.06tmztwell, it worked before
17:48.29xsacha2whenever i start debian it complains of illegal blocks and tells me to run fsck -- is that ok?
17:48.39tmzthow many?
17:48.54xsacha28725 illegal blocks
17:49.00xsacha2and fsck failed (code 4)
17:49.04tmztno, it shouldn't do that
17:49.14xsacha2it's the only error i get though :) in whole start up
17:50.09xsacha2fsck error code 4: must be performed in maintenance mode with read-only mount
17:50.19tmztah, remove rw from the CMDLINE
17:52.32xsacha2so what should i do now that debian works well?
17:52.45tmztare you getting mmc errors?
17:53.07tmztas for android, you can just extract everything to that partition and it should work
17:53.25xsacha2in my dmesg i can see 6 "unable to stop clock".. but they never appear again and that's only mmc errors i get
17:53.29tmztyou need to extract the initramfs, system.img and data (or just mkdir data)
17:53.36tmztbut we need to fix that first
17:54.20tmztKevin2: any ideas why the mmc would get a clock error on pxa310? I saw an email from you about ipaq214
17:55.51xsacha2it happens straight after "activating swap.. done"
17:56.09tmztoh, there might be something in /etc/fstab, comment that out
17:56.14xsacha2i actually get 7 of them: pxa2xx-mci pxa2xx-mci.0: unable to stop clock
17:56.28tmzt.0? didn't you say the sd was on 2?
17:56.56xsacha2no, in the zylonite file i do mmc slot[2] but it gives it mmc0 on init?
17:56.58tmztcheck devices.c and see how many there are on PXA310
17:57.20tmztmmc0 is the card, it gives those names out when it sees a device on the bus
17:57.28tmzthas nothing to do with the slot (host)
17:57.29xsacha2ah ok
17:58.02xsacha2that post you linked before said he got those voltage/clock messages when it wasnt connected
17:58.24xsacha2what am i looking for in devices.c?
17:58.43tmzthow many mci devices does it define?
17:58.52xsacha20,1,2,3
17:59.01xsacha2in resources?
17:59.29xsacha2with 1 being mmc
18:00.22tmztwhat do you mean by 1 being mmc?
18:00.42tmztIRQ_MMC?
18:01.11tmztthose aren't 4 devices, those are 4 resources
18:01.27xsacha2oh ok
18:01.59tmztwhere are pxa3xx devices defined?
18:02.02xsacha2is each of those struct ..... _device a device? cause there's a tonne!
18:02.42tmztyeah, and those are all inside the chip with the cpu
18:03.18xsacha2well there's nand, mci3, mci2, ssp4, ...
18:03.29tmztwhere do you see mci2 and 3?
18:03.51tmztoutside of zyl
18:04.01tmztI see it
18:04.33xsacha2.name           = "pxa2xx-mci" (that was one giving error.. 2xx)
18:04.48tmztno, it should be pxa2xx
18:04.55tmztpxa2xx-mci
18:05.04tmztthe driver is the same
18:05.08xsacha2k
18:05.42tmztah, does zyl call pxa3xx_set_mci for all three ports?
18:06.12xsacha2i have these 2 weird things in /dev now.. mpu401data and mpu401stat, werent there on angstrom
18:06.20tmztmide
18:06.22tmztmidi
18:06.26tmztdon't worry about those
18:06.36tmztwhat's in dev is what udev put there
18:06.45xsacha2<PROTECTED>
18:06.55*** join/#htc-linux wdslbr (n=asa@dslb-088-069-222-136.pools.arcor-ip.net)
18:07.00tmztcomment out those in zylonite
18:07.05xsacha2ok
18:07.06tmztzylonite_init_mmc
18:07.23xsacha2all of the lines in mmc?
18:07.33tmztwhich .c file are you modifying?
18:07.42xsacha2zylonite.c
18:07.56tmztjust that file?
18:08.08xsacha2<PROTECTED>
18:08.29tmztyeah, but hold on
18:08.42tmzthave you changed either of the other files? zylonite_pxa*.c
18:08.58xsacha2to do what?
18:09.06tmzthave you changed them at all
18:09.11xsacha2i changed them before to remove stuff yeah
18:09.20tmztlet's leave those for now
18:09.25tmztare you in mach-pxa?
18:09.40xsacha2i removed debug LEDs, ethernet and the stuff you told me to comment
18:09.45xsacha2yeah
18:09.48tmztcp zylonite.c i780.c
18:09.57tmztedit i780.c
18:10.09tmztI'm going to tell you what to remove, not comment, remove
18:10.17tmztmake a copy of what you have first though (backup)
18:10.31xsacha2push it?
18:10.40tmztno
18:10.56tmztjust copy i780.c i780-backup.c or whatever
18:10.59xsacha2k
18:10.59tmztin that directory
18:11.05xsacha2but it's backed up in zylonite.c ;)
18:11.11tmztok
18:11.28tmztdid you ever find what touchscreen is used?
18:11.34tmztcontroller
18:11.48xsacha2mmm no, i know which one the omnia uses but i guess it's different
18:11.55tmztwhich?
18:12.01tmztoh, the optical mouse?
18:12.07xsacha2both
18:12.15tmztis there also a touchscreen on i780?
18:12.18tmztwhat are those?
18:12.30xsacha2yeah there is touchscreen+optical mouse+qwerty on i780
18:12.35xsacha2omnia has optical mouse+touchscreen
18:12.55tmztand you know what touchscreen controller omnia uses?
18:13.13xsacha2http://support-köhler.de/andromnia/viewtopic.php?f=7&t=9
18:13.38xsacha2i think that's where it had them
18:14.33tmzthttp://laforge.gnumonks.org/weblog/2009/04/15/
18:15.01tmztwhat url?
18:15.14tmztwhat is the ? character?
18:15.44tmzthttp://support-köhler.de/andromnia/viewforum.php?f=1
18:15.49tmzthah
18:15.59tmztfound it searching for andromnia
18:16.21xsacha2oh you cant see the character?
18:17.42xsacha2thats from leaked service manual
18:17.49xsacha2dont think i780 was so lucky
18:20.00tmztit has wm9713, which could also be touchscreen, so we'll keep that for now
18:20.07cr2tmzt: http://www.marvell.com/products/cellular/application/PXA3xx_series.jsp
18:20.10tmztif you are in ce can you test the ts irq?
18:20.22xsacha2ok
18:20.34tmztcr2: I think we got it now, I was thinking they were muxed but the pxa310 has at least three
18:21.09tmzt310 has hw video? wonder what this is and if android will like it
18:21.39xsacha22d hw video i think
18:21.58xsacha2thats what i remember from manual
18:22.02tmzt800mhz also
18:22.11xsacha2800mhz is pxa320
18:22.18tmztanyway, ts is not important now
18:22.20xsacha2pxa310 maxes out at 624mhz
18:22.32cr2tmzt: msm7201A is the only cpu that has no manual ;)
18:22.48tmztxsacha2: ready
18:23.10tmztlet's start be removing resource smc91x_resources block completely
18:23.14tmztsorry
18:23.19tmztremove:
18:23.33tmztinit gpio_eth_irq, gpio_debug_led1, gpio_debug_led2
18:23.35tmztint
18:23.58tmztsmc91x_resources, smc91x_device
18:25.48tmztI think we can keep leds, just make the assignments to 0 and we'll not add the device in init
18:25.57tmztjust comment out the assignments in zylonite_init_leds
18:26.10tmztas well as platform_device_register line
18:26.34tmztleave pwm for now
18:27.07tmztremove the toshiba pxa modes, leave the i780 one
18:27.26tmztremove the sharp ones as well
18:27.39tmztand the lcd_info blocks, except i780
18:28.22tmztdid you remove ro, ph5 said microsd didn't have it, right?
18:29.27*** join/#htc-linux xsacha2 (n=sacha@123.100.137.226)
18:29.33xsacha2whoops, my ethernet fell out
18:29.42xsacha2[04:27] <xsacha2> whenever i touch screen, i get:   GEDR0: GPIO23(87)=1
18:29.43tmztxsacha2: please read the end of the logs, irclog.netripper.com
18:29.44xsacha2[04:28] <xsacha2> whenever i slide over optical mouse, i get: GEDR0: GPIO20(84)=1
18:29.53tmztgood
18:31.12xsacha2i had already removed leds, eth and smc91x completely (even the include header) :P
18:31.19tmztcool
18:31.22tmztok
18:31.35xsacha2i left behind the prototype of led function tho, just in case
18:31.40tmztwe can always put leds back later if they turn out to be gpio
18:31.44tmztfine
18:31.47tmztthe rest?
18:32.30xsacha2toshiba pxa.. looking
18:32.47tmztyou have a new lcd defined for i780 right?
18:32.54tmzt_mode and _info?
18:33.25xsacha2i780_mode?
18:33.31tmztyeah
18:34.06xsacha2theres no other one tho
18:34.25tmztokay
18:34.31tmztcan you pastebin just that file?
18:34.33xsacha2yeah i removed the ro
18:38.53xsacha2github takes forever
18:39.06tmztthey file on your harddrive
18:39.29xsacha2http://github.com/xsacha/i780-kernel/blob/dc71d0c9f1d7c21d26f43470c4e1ce6f7f6b6c2b/arch/arm/mach-pxa/i780.c
18:40.10tmztremove zylonite.h, but if we need something copy that file to i780.h
18:40.54xsacha2ok
18:41.41tmztah, there is pdata for each slot
18:41.41xsacha2#define EXT_GPIO(x)             (128 + (x))
18:41.49xsacha2really? 128+ ?!
18:41.51tmztI think that's okay
18:42.01tmzt128 are soc, the rest are gpio
18:42.06xsacha2ah ok
18:42.24xsacha2so that mmc 105.. should that have been 105 or 128+105?
18:42.38xsacha2the cd
18:42.42tmztno
18:42.48tmztwait, maybe
18:42.55tmztbut not 128+105
18:43.23tmztwe used the pxa27x haretconsole code, which has less soc gpios
18:43.32tmztbut didn't detect work?
18:43.46tmztif you remove the mmc will booting linux, does it detect it?
18:43.49xsacha2detect gave us GPIO105
18:43.55tmztin haret
18:43.57cr2tmzt: edit mach-pxa.py
18:44.14tmztcr2: we did, but just to trick it to use PXA27x regs
18:44.21tmztcr2: so we need to do it right
18:44.30cr2are they the same ?
18:44.42xsacha2huh? mach-pxa.py is where?
18:44.44tmztgpios?
18:44.49tmztregs-pxa.py in haretconsole
18:44.52cr2when i see how msm changes the reg layout...
18:45.15cr2but pxa26x -> pxa27x was also not painless
18:45.46tmztthe haret side is written, melgurth gave me the patch yesterday
18:45.51tmztbut not haretconsole
18:46.27xsacha2dunno what im looking for in regs-pxa
18:46.54cr2btw, i'm wondering what is the relationship between the s3c64xx and msm.
18:47.01tmztwhy?
18:47.29xsacha2it's quite small... GEDR's go up in 32s
18:47.42tmztyeah, each bit is a gpio
18:48.01tmztthey are in banks of 32, what we need to know is how many banks pxa310 has
18:48.04tmztand how many are soc
18:48.11tmztas well as the addresses
18:48.30tmztyou can look in the marvel pdfs or in the kernel headers for this
18:48.41tmztin kernel it should be mfp-pxa3xx.c
18:48.56xsacha2well 27x has 4 banks of EDR, PLR, PDR and AFR of 32 each
18:49.24parinfidel206: is it normal to get a huge stream of asic3 errors on that console image you made for lenny?
18:49.36*** join/#htc-linux wirelessdreamer (n=dreamer@chrobd01.vailsys.com)
18:49.42xsacha2i dont get any par
18:50.28parsorry i'm talkin about a different phone to someone who's running a customized distro
18:50.45tmztpar: asic3_mmc errors?
18:50.52paryes
18:51.20tmztyou are going to have to ask pH5 I guess, but distro shouldn't really matter here
18:51.27parasic3_irq_demux: interrupt processing overrun
18:51.43pardunno, pretty sure i had everything set up right
18:51.56pari added swap but didn't put it in /etc/tab
18:51.57tmztit's the code, it's still experimental
18:52.05tmztswapon?
18:52.13tmztit's probably too much for it
18:52.23paryah i'm thinking so
18:52.33parwell let me see if i can get it regardless of all the errors
18:54.12xsacha2#define MFPR_BASE       (0x40e10000)... 128 GPIOs and then 6 GPIO#2s?
18:54.26tmztokay, that's probably it
18:54.35tmztdon't know what MPFR is though
18:54.53tmztbut you can use any name for the registers in the .py file it looks like
18:54.59xsacha2MPFR is prefix to everything in there
18:55.19tmzttry the pdf, that's too linux specific
18:55.25xsacha2MPFR_SLEEP_DATA, MPFR_DRIVE, MPFR_EDGE_..
18:55.42tmztEDGE, that should be GEDR I would think
18:56.16xsacha2the only prefix in there is MPFR and GPIO
18:57.09xsacha2#define ADXER_WTSI              (1 << 29)       /* Touchscreen */
18:57.32tmztcool, can use these: http://www.alibaba.com/product-gs/232650282/Windows_mobile_6_1_mobile_phone.html
18:57.37tmzt?
18:57.42*** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it)
18:57.49xsacha2#define ADXER_WOST              (1 << 30)       /* OS Timer */
18:57.50parhmm cdc
18:58.06parcdc_net comes up showing its loaded on console
18:58.08xsacha2are those any useful?
18:58.25parbut when i set my up to 192.168.0.200 on usb0 i can't ssh to 192.168.0.202
18:58.39pargives me a no route to host failure
18:58.53parguess that means my cdc_net on the linux side isn't setup
18:59.25xsacha2#define CKEN_TOUCH      25      /* < Touch screen Interface Clock Enable */ ?
18:59.42pari shouldn't need to add a host route for it should i?
19:00.21tmztis it set to auto usb0 in /etc/network/interfaces?
19:00.52tmzt(on the device)
19:01.17tmztxsacha2: I meant can we use these, as in the hardware, for a project
19:01.43cr2par: which kernel is that?
19:02.16xsacha2the kernel header has a list of GPIO defines with comment saying what they are -- is this useful?
19:02.29tmztnot for this
19:03.21cr2tmzt: is 'dump gpio' of any use on pxa3xx ?
19:03.32tmztpossibly
19:03.40parcr2: its hh20
19:03.45tmztit doesn't even show all of them on pxa27x though
19:03.47cr2par: ok
19:03.55tmztpar: oh, I thought you were testing the new kernel
19:04.02parthere is a new kernel?
19:04.42xsacha2dump gpio lists some stuff p to 83
19:04.52pari've got whatever kernel infidel206 was using with lenny
19:04.58xsacha2gpio status?
19:05.12tmztpar: pH5 is porting asic3_mmc to the upstream kernel
19:05.43cr2par: but his kernel crashes during boot
19:06.22cr2maybe because it's a pxa263 and not pxa27x cpu
19:06.36paroh i see
19:06.53parwhat current version is available from the repo?
19:07.19par2.6.21?
19:07.37tmztxsacha2: ah, it is called MFPR
19:08.05tmztthey redesigned the whole thing
19:08.11xsacha2:(
19:08.26xsacha2so the values i get through haretconsole arent accurate?
19:08.31tmztrather than multiple registers controlling the different functions of the pin, it looks like one register per pin
19:08.34tmztyeah
19:08.38tmztbut you can fix that
19:08.47cr2par: yes
19:10.01tmztxsacha2: let me read some more, it would be helpful if it described what changed
19:10.38xsacha2i looked at 2xx header and 3xx header in kernel.. com-pletely different!
19:11.23xsacha2the 3xx is much simpler and short.. and easier to understand.. the 2xx is pretty messy, long and has some weird methods
19:12.38tmzthttp://www.marvell.com/files/products/cellular/application/PXA3xx_DM_Vol_I.pdf
19:13.01tmztyeah, they are trying to make them generic mfp devices
19:13.08tmztbut pxa27x doesn't really map that well
19:13.43tmztread section 5, copy the values from one of those tables into a table like the one in regs-pxa.py
19:13.58tmztwhat I don't see is if we need to define the irqs, etc. differently
19:14.21tmztbut for now make a Regs_pxa31x
19:14.42xsacha2in haretconsole?
19:14.48tmztunless you can see in the headers how different 31x is from 3xx in this area
19:14.49tmztyes
19:16.22xsacha2i dont quit eget the irqsl = ( ... and they all have special names
19:16.37tmztlet's leave those for now
19:16.40xsacha2do i just make up a name based on the comments in header?
19:16.53tmztno, use the one from the pdf I linked
19:19.28parzImage is 154220
19:20.13parthat sound like hh20?
19:20.20xsacha2so on pxa3xx, the GPIO controller and GPIO pin is the same thing (sort of, they are connected)?
19:20.27tmztpar: no idea
19:20.37tmztbasically
19:21.04tmztyour interested in GEDR and GPLR
19:21.59xsacha2there 128 set of normal pins.. and then another set of pins.. 6 for 30x, 10 for 31x and 17 for 32x
19:22.23parwow, yeah its not 2.6.21-hh20-r16
19:22.35parits much bigger
19:22.47tmztso there's 128 registers total, according to the pdf
19:22.51parwelp, i'll just have to ask him.
19:23.03xsacha2what about the secondary ones tmzt?
19:23.09tmztwhere?
19:23.29xsacha2page 134 it mentions the secondary ones
19:23.49xsacha2GPIO_2_1 -> 17
19:24.39tmztit looks like it's so they can be mapped to different pins if the primary one is in use
19:24.47xsacha2k
19:24.53tmztnot registers, gpios total
19:25.21tmztso I don't know what GPIO_EXT is about, it might be zyl specific, like an asic or cpld or i2c extender
19:25.26tmztbut I don't see that
19:25.50xsacha2well adding 128 doesnt sound too good
19:25.56tmztyeah
19:26.08tmztso lets fix haretconsole and then we'll know
19:26.10xsacha2why did it work for me though?
19:26.26xsacha2maybe it wraps back around after going over 128 so it doesnt matter?
19:26.30tmztI think it ignored the detect and just started talking to the card
19:26.42xsacha2oh ok
19:29.10tmztI should have made a Makefile for this thing, I can't get it to strip the binary now
19:33.43*** join/#htc-linux Rooster9999 (n=Killsudo@96-35-19-14.dhcp.stls.mo.charter.com)
19:34.11*** part/#htc-linux Rooster9999 (n=Killsudo@96-35-19-14.dhcp.stls.mo.charter.com)
19:35.24tmztah, I had -EB instead of -EL in objdump
19:36.49xsacha2mmmmm that didnt work out. i made EXT_GPIO(x) x instead of 128+x.. then it tells me my sd card doesnt exist :(
19:37.03tmztand I have to use a load address of beginning of ram or these labels won't make any sense
19:37.20tmztxsacha2: so I guess it does matter but I don't know why
19:37.55*** join/#htc-linux hollo (n=hollo@3e6b7b2c.rev.stofanet.dk)
19:37.55tmztknow why EXT_GPIO is needed, but then if 128 is total gpios how could 105 be right?
19:38.06xsacha2no idea
19:38.25xsacha2ill try with 128+x against just to check if it was something else i did..
19:38.38tmztbecause GEDR is the same
19:38.48tmzt0x40E00048
19:38.59tmzt4c
19:38.59tmzt50
19:39.03tmztyes
19:39.30tmztand the next address are reservered, I guess for more gpios
19:39.41cr2tmzt: EXT_GPIO is for the gpio extender ?
19:40.16tmztdon't know
19:40.27xsacha2ah nup, it was something else i changed!
19:40.32tmztGEDR3: 0x40E00148
19:40.52tmztwhich is not in Regs_pxa27x
19:41.18tmztRegs_pxa = Regs_pxa27x.copy()
19:41.19tmztRegs_pxa.update({ 0x40D00000: ("ICIP", irqs1) })
19:41.19tmztmemalias.RegsList['ARCH:PXA'] = Regs_pxa
19:41.25tmztadd another one of those
19:41.32tmzthold on
19:41.48xsacha2so.. have two of them?
19:41.59tmztoh, PXA is just pxa25x and 26x
19:42.06tmzttwo of what?
19:42.15xsacha2i have that down the bottom already
19:42.30tmztyeah I know
19:42.46tmztit looks like pxa27x was added first, but the gpio registers are the same
19:43.25tmztok, I think we can copy Regs_pxa27x and just update() it
19:43.31tmztas in
19:43.45tmztbefore the # PXA 26x registers part
19:44.36tmztRegs_pxa3xx = Regs_pxa27x.copy()
19:44.49tmztRegs_pxa3xx.update( ... )
19:45.13tmztmemalias.RegsList['ARCH:PXA3xx'] = Regs_pxa3xx
19:45.25xsacha2so remove the 26x part?
19:45.29tmztif we need to change irqs1 we can do that as well
19:45.36tmztno, unless you mean what I just had you copy
19:46.17xsacha2# PXA 26x registers ?
19:46.22tmztKevin2: does this sound right to you?
19:46.56tmztxsacha2: don't delete any existing code unless you just added it
19:47.12xsacha2why would i delete what i added? hmm
19:47.42tmztbecause I said to copy something, and was going to modify it to what we need
19:47.49tmztbut I had you put it in the wrong place
19:47.58xsacha2oh ok
19:50.01paris the current kernel newer than 2.6.21-hh20-r16?
19:52.33xsacha2i found out why it wasnt recognising my SD card. it was the sets you had me comment
19:52.57xsacha2if (cpu_is_pxa310()) pxa3xx_set_mci3_info(&zylonite_mci_platform_data);
19:54.54xsacha2uncommenting this gives my sd card back :D
19:56.30xsacha2ok now i set EXT_GPIO to x (instead of x+128) and it booted fine
20:06.15parhrm hh20-r16 boots into tlenny fine.. still no usbnet though
20:06.23cr2par: no, but pH5 is working on a 2.6.30 version
20:06.34parcr2: ok thanks
20:06.52cr2par: you have compiled the pxa25_usb ? puen gpio enabled ?
20:07.54tmztBA is pxa25x?
20:08.07parcr2: its lenny so i'm going to have to set it up form the rootfs side apparently
20:08.12parheh
20:10.21pari'm manually typing on the ba keyboard
20:13.30cr2lol
20:13.37cr2tmzt: BA is pxa263
20:14.49paryes, manually typing on the BA is a fate similiar to hell
20:15.36xsacha2how come?
20:16.12paryou haven't seenone obviously
20:16.35xsacha2nup
20:17.07xsacha2i get confused by those weird names like blueangel
20:17.18xsacha2over here they are called touch, touch pro, cruise, etc..
20:17.39tmztcr2: ah, okay
20:17.40parah, well i also have a touch
20:18.20tmzttouch - elf/elfin/vox?? or polaris/vogue
20:18.30parright, mine would be the vogue
20:18.34xsacha2why do uk and us operators kill the names?
20:18.56parits all about makin' dollas and sellin rock on the cornah
20:19.07xsacha2like the samsung tocca and samsung tocca ultra.. instead of.. omnia
20:20.16cr2tmzt: merged the uboot clocks http://www.htc-linux.org/wiki/index.php?title=MSM_CLK
20:20.43cr2xsacha2: we need some unique hw id, not some marketing fluff
20:21.11tmzttocca?
20:21.12xsacha2in UK omnia is called tocca?
20:21.26cr2xsacha2: and these unique names are built into the bootloader. like raphXXX for touch pro.
20:21.50xsacha2yeah but then operators change name too
20:22.08xsacha2and i absolutely hate the american companies like verizon that stick their ugly name on the phone
20:22.14xsacha2it devalues it by atleast $200
20:24.12cr2LOL
20:24.49pari did an ifconfig -a
20:24.57parno devices..  no wonder.
20:25.03pari'll chekc out dmesg
20:25.17cr2par: is the pxa25_usb loaded ?
20:26.21parouch no modules
20:29.04cr2is it compiled in ? /proc/ksyms
20:31.25parno /proc/ksyms
20:31.39partheres /proc/kallsyms tho
20:32.00parfindin that out was excruciating
20:32.02parlol
20:34.09xsacha2USBs have a max insertion of 10,000? :O
20:34.16pari have /lib/modules/2.6.21-hh20/
20:34.21xsacha2mine will be dead soon
20:34.21cr2xsacha2: 1000
20:34.22pardoes that look right?
20:34.28xsacha2lol
20:34.43xsacha2i know it's more than 1000 coz ive done more than 1000 already
20:35.00cr2xsacha2: 3 years
20:35.26cr2lol. use wifi
20:35.49xsacha2takes a bit longer
20:38.28parhmm well the modules must be ok cuz i can manually moprobe them into running
20:40.23paraww
20:40.48parfirmware image wlangen.bin was not provided
20:41.30parcr2
20:41.53paris there a module i can manually insert to bring up the usbnet
20:41.57*** join/#htc-linux MethoS (n=clemens@host-091-096-213-249.ewe-ip-backbone.de)
20:43.03tmztpar: what wifi does it use?
20:43.10tmztpar: acx?
20:43.21pari'll have to find
20:43.23paryes
20:43.35parlenny is mising the firmware
20:44.10parhow do i bring up the usb ethernet gadget on this.. is there a kernel module/
20:47.15cr2par: it's strange that it is not working for you
20:47.39cr2par: even when we didn't know puen, it was already working. i.e. from the very beginning
20:47.50parwell it was working on the other kernel...
20:48.02parbut i replaced that one because it was bugging bigtime
20:48.13pari replaced it with hh20-r16
20:48.17parand few errors...
20:49.17BabelOhi
20:49.28BabelOpar: what are you working on ?
20:49.36parhi babel0
20:50.13pari have 2.6.21-hh20-r16 kernel and that haked up armel rootfs
20:50.28parof debian lenny
20:50.49cr2BabelO: it seems that we will have 2.6.30 soon :)
20:51.09BabelOcr2: yes i read ph5 works on mmc
20:51.23BabelOcr2: what about docg3 ?
20:51.29pardid you gusy see that he has it working on the h4700?
20:52.13pari was talking to him about it earlier today
20:52.23cr2BabelO: ali1234 said it worked for him on wizzard
20:52.40BabelOcr2: ok
20:52.52cr2par: yes. that means it will work on uni and sable too
20:53.13cr2par: but ba is pxa263, which is a bit older cpu
20:56.28parcr2: do you think it will ever work on it?
20:57.43tmztwhat does cpu have to do with it?
20:58.13pari have faith in pH5 i'm sure he'll work out why its throwing that error
21:00.11cr2tmzt: pxa27x vs pxa25x. different usb drivers
21:00.13Kevin2tmzt: The python stuff looks right.
21:00.24Kevin2tmzt: I have no idea about pxa3xx stuff.
21:01.05tmztcool, we're trying to convert the pdf registers
21:01.30tmztfrom Marvel pdf I mean
21:02.22Kevin2Wow - did they actually release documentation?
21:02.49tmztyeah
21:02.56tmzteven video accel
21:03.28cr2Kevin2:  http://www.marvell.com/products/cellular/application/PXA3xx_series.jsp
21:04.13cr2and samsung s3c6400 too
21:04.28cr2only qualcomm has something to hide.
21:04.30tmztcr2: why did you say qualcomm is similar to samsung?
21:05.04cr2tmzt: there was some spl message like 'initializing s3c460'
21:05.18tmztwhere?
21:05.22tmztfrom hermes?
21:06.03cr2no. titan or something
21:06.28cr2hmm. mddi bridge ??
21:07.34cr2don't remember exactly
21:15.53Echo31Hi all
21:16.22Echo31Can you help me to fill the correct values of htc_egpio_chip and htc_egpio_platform_data for htc athena ?
21:18.22cr2Echo31: for which kernel ?
21:18.55Echo31cd2: it is for 2.6.30.r4
21:21.25cr2Echo31: where is this kernel can be found ?
21:22.09Echo31cr2: from 2.6.21; i write this code:
21:22.17cr2Echo31: it's probably best to ask pH5, but you can compare with his 2.6.30 kernel for hx4700, or magician
21:22.47cr2ok
21:23.26cr2Echo31: how do you deal with the second htc-egpio location depending on the first htc-egpio bit ?
21:24.16Echo31static struct resource egpio_cpld2_resources[] = {
21:24.16Echo31{
21:24.16Echo31.start = HTCATHENA_EGPIO_CPLD2_BASE_0, // HACK ALERT!
21:24.16Echo31.end   = HTCATHENA_EGPIO_CPLD2_BASE_0 + 0x2*2, /* 1 reg  */
21:24.16Echo31.flags = IORESOURCE_MEM,
21:24.19Echo31},
21:24.21Echo31};
21:24.23Echo31static struct htc_egpio_chip egpio_cpld2_chips[] = {
21:24.25Echo31{
21:24.27Echo31.reg_start = 0,
21:24.29Echo31.gpio_base = 2*GPIO_BASE_INCREMENT,
21:24.31Echo31.num_gpios = 24,
21:24.33Echo31.direction = HTC_EGPIO_OUTPUT,
21:24.35Echo31},
21:24.37Echo31};
21:24.39Echo31static struct htc_egpio_platform_data egpio_cpld2_info = {
21:24.41Echo31.reg_width    = 8,
21:24.45Echo31.bus_width    = 16,
21:24.47Echo31.irq_base     = IRQ_BOARD_START,
21:24.49Echo31.num_irqs     = ?,
21:24.51Echo31.ack_register = ?,
21:24.53Echo31.chip         = egpio_cpld2_chips,
21:24.55Echo31.num_chips    = ARRAY_SIZE(egpio_cpld2_chips),
21:24.57Echo31};
21:24.59Echo31static struct platform_device egpio_cpld2 = {
21:25.01Echo31.name          = "htc-egpio",
21:25.03Echo31.id            = 1,
21:25.06Echo31.resource      = egpio_cpld2_resources,
21:25.07Echo31.num_resources = ARRAY_SIZE(egpio_cpld2_resources),
21:25.09Echo31.dev = {
21:25.11Echo31.platform_data = &egpio_cpld2_info,
21:25.15Echo31},
21:25.16tmztcr2: s1d?
21:25.17Echo31};
21:25.19Echo31<PROTECTED>
21:25.21Echo31<PROTECTED>
21:25.23Echo31static struct resource egpio_cpld1_resources[] = {
21:25.25Echo31{
21:25.27Echo31.start= HTCATHENA_CPLD1_BASE,
21:25.29Echo31.end= HTCATHENA_CPLD1_BASE + 0x20,
21:25.31Echo31.flags= IORESOURCE_MEM,
21:25.31cr2Echo31: you are evil. use pastebin next time.
21:25.33Echo31},
21:25.35Echo31};
21:25.37Echo31static struct htc_egpio_chip egpio_cpld1_chips[] = {
21:25.39Echo31{
21:25.41Echo31.reg_start = 0,
21:25.45Echo31.gpio_base = GPIO_BASE_INCREMENT,
21:25.47Echo31.num_gpios = 24,
21:25.49Echo31.direction = HTC_EGPIO_INPUT,
21:25.51Echo31.initial_values = 0x40, /* EGPIO_HTCATHENA_GSM_RESET */
21:25.53Echo31},
21:25.55Echo31
21:25.57Echo31};
21:25.59Echo31static struct htc_egpio_platform_data egpio_cpld1_info = {
21:26.01Echo31.reg_width    = 8,
21:26.03Echo31.bus_width    = 16,
21:26.05Echo31.irq_base     = IRQ_BOARD_START,
21:26.07cr2tmzt: no, it's for 7500 device
21:26.07Echo31.num_irqs     = ?,
21:26.09Echo31.ack_register = ?,
21:26.11Echo31.chip         = egpio_cpld1_chips,
21:26.15Echo31.num_chips    = ARRAY_SIZE(egpio_cpld1_chips),
21:26.17Echo31};
21:27.44cr2Echo31: .start = HTCATHENA_EGPIO_CPLD2_BASE_0, // HACK ALERT!
21:28.14xsacha2i have that i780.c really small now
21:31.18Echo31I foresee to merge the code from magician (2.6.21) with the htxathena(2.6.30).
21:33.46cr2Echo31: .21 has different htc-egpio api
21:34.40Echo31Yes; the structures are different
21:34.40tmztxsacha2: great, do you know how to add it to Kconfig and Makefile?
21:34.51tmztxsacha2: that forum I linked to had instructions
21:35.13tmztxsacha2: it should be simple to figure out though if you read the files (Kconfig, Makefile)
21:35.15*** join/#htc-linux WyrM (n=wyrm@189.13.117.228)
21:36.04xsacha2yeah
21:36.15xsacha2i have it compiling
21:36.17xsacha2no regressions
21:36.29xsacha2still has that clock error at startup... weird.. i dunno
21:36.35xsacha2want a pastebin of i780.c?
21:37.08parinteresting, on the HTC Harrier i get "gsm_alerting irq"
21:37.40parbut not very often
21:38.06parabout every 75 second
21:38.21xsacha2tmzt: i780.c http://pastebin.ca/1441535
21:38.52paror every 30 seconds actually
21:39.41tmztxsacha2: okay, I guess you need to register a machtype now
21:39.53tmztto change MACHINE_START
21:40.31tmztyou should also really remove mtd for now
21:40.44tmztit can cause problems if somebody tries to use it
21:40.49cr2par: may be different
21:40.54tmztand the partitions are not right for i780
21:42.01*** join/#htc-linux xsacha (n=sacha@123.100.137.226)
21:42.02tmztand you don't need lcd_detect
21:42.31xsachawhoops
21:45.50xsachaso when you say i dont need lcd detect.. i can remove the whole function?
21:46.28Echo31cr2: i will ask to pH5 for my problem.
21:46.41xsachai dont know what to do about those partitions /mtds :\
21:47.05parcr2: yep sure is different, its a board_id 4... cdma radio instead of gsm! lol
21:47.41*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbf9e13.pool.einsundeins.de)
21:48.31cr2par: 4=5 for video
21:48.42cr2par: but your gpio usage may be different
21:49.02parcr2: yup, and thats still all good afaik
21:49.15cr2par: you can check if this 'gsm wakeup' gpio is really a wakeup gpio, but dumping gpio config and comparing to wiki
21:49.53parit doesn't happen in angstrom
21:50.48parthe only difference is that i'm using a rootfs for debian lenny armel
21:51.00parinstead of the angstrom rootfs
21:53.43parhmm looks like debian squeeze armel has gpe
21:53.58parhehe "emdebian"
21:58.27xsachai checked the /etc/fstab of that debian.. it tries to mount partition 1, 2 and 3 of my sd card ( it doesnt have 3)
21:59.26parwhere did you find it?
21:59.37xsachahuh?
21:59.47paroh you just threw the rootfs on
22:00.01paryeah, you have to clean up after it
22:00.02xsachajust booted it up and typed bim /etc/fstab
22:00.09xsacha:( k
22:00.19pari have two
22:00.30parone for autorun to exec haret (windows partition)
22:00.40parand then the linux rootfs
22:00.48parbut i also made a swap partition
22:00.56parso i technically have three
22:05.27cr2tmzt: can you confirm the 6150 amss for raph500 ?
22:05.59*** join/#htc-linux Moku (n=John@g228210216.adsl.alicedsl.de)
22:06.02tmzthow?
22:06.51cr2smem, or after soft-reset
22:13.54tmzt-6150
22:14.29cr2ok
22:14.58cr2so we need 2 versions, or to check if they are the same
22:16.28cr2tmzt: http://wiki.xda-developers.com/index.php?pagename=HTC_Raphael_WM6.1_ROMs
22:18.20*** join/#htc-linux Shinto (n=John@f049039182.adsl.alicedsl.de)
22:21.32xsacha2265  Samsung i780 Mobile Phone  i780  Sacha
22:21.35tmztcr2: what do you want me to check?
22:21.40tmztxsacha: yay
22:22.05tmztadd that to arch/arm/tools/mach-types at the end
22:22.15cr2tmzt: i will need the rpc traces for calling and answering a call
22:22.23xsachaand then MACHINE_START(I780, .. ?
22:22.26tmztthen change MACHINE_START
22:22.27tmztyes
22:22.34tmztcr2: how do I get those?
22:23.10cr2tmzt: enter haret
22:23.26tmztok, let me get that
22:27.49*** join/#htc-linux infernix (i=nix@unaffiliated/infernix)
22:28.39tmztcr2: ok
22:28.57tmztdid you find the address in the smem.bin?
22:30.05xsachait all compiles and works :)
22:30.16tmztsd?
22:30.34tmztso it is 105, even though it's greater than 96?
22:31.35xsachaim not sure if it is 105
22:31.41xsachaall i know is it works
22:31.45*** join/#htc-linux hollo (n=hollo@3e6b7b2c.rev.stofanet.dk)
22:32.03tmztdoes removing reinserting the card work, you should really test that with initramfs though
22:33.06xsachayeah it's hard when im running it off that card ;)
22:33.11*** join/#htc-linux NetRippah (n=netrippe@netripper.nl)
22:33.36xsachabtw you know im not using the 128 + x anymore right?
22:33.43xsachait's just x (so just 105)
22:33.47tmztyeah
22:34.07tmztsee if GPLR is defined for pxa27x in regs-pxa.py
22:34.13tmztGPLR3
22:35.11cr2tmzt: dump mmu 2 0x01f10148 0x4000
22:35.37tmzt1mb?
22:35.47tmzt0x9c000000
22:35.53tmzt0xbc000000
22:36.16tmztthe others are AP=3 and 4k
22:36.47cr2502* ?
22:36.58tmztno
22:37.07tmzt5781*
22:37.11cr2post the complete list
22:37.13tmzt5b81*
22:37.15tmztok
22:37.28cr2i had 502* and maejrep too
22:38.00tmzthttp://pastebin.com/m2ccf3e20
22:39.41cr2hmm. ok, then you need to check which of them is traceable
22:40.13tmzt<PROTECTED>
22:40.48tmztWarning! Tracing non-section mapping (05b00000) not well supported
22:42.01tmztWarning! Tracing non-section mapping (09c00000) not well supported
22:42.51tmztHaRET(12)# addlist mmutrace 0xbc010148 4
22:42.53tmztwhat size?
22:47.05tmztcr2: it doesn't seem to be working, what is the address(phys)/size?
22:47.50xsachatmzt: what is next thing that needs doing?
22:48.21tmztxsacha: not sure, is there anything in zylonite_pxa*.c that needs added to yours?
22:48.34xsachayeah i added it all
22:48.36cr2tmzt: do you have linux dmesg at hand ?
22:48.45tmztcr2: yeah, I should
22:48.50tmztcr2: what do you need?
22:49.07cr2[Do Mai 28 2009] [01:23:07] <maejrep>   [    6.056331] smd_alloc_channel() 'SMD_RPCCALL' cid=2, shared=e0110148
22:49.17xsachaset MTYPE 2265 make a difference?
22:49.20tmztah, hold on
22:49.32tmztxsacha: yeah, it won't boot without that if you disabled zyl
22:49.39xsachaok
22:49.40tmztxsacha: if you didn't, it's not the new code
22:49.49xsachayeah, it needs it
22:51.02tmztsmd_alloc_channel() 'SMD_RPCCALL' cid=2, shared=e0110148
22:51.22tmztyeah, it's the same
22:53.01cr2tmzt: pd 0x01f10148 0x4000
22:53.14tmztI had to disconnect from haret to access the sd
22:53.16cr2tmzt: pd 0x01f10148 0x4028
22:55.18tmztworks
22:55.47cr2call, dump, pastebin :)
22:56.04tmzthey, the dumpmmu is shorter now, I rebooted
22:56.06xsachathe kernel works fine :D
22:56.11tmztxsacha: good
22:56.16xsachai removed silly fstab lines
22:56.21tmztcr2: pwf?
22:56.40tmztit's a little long
22:56.45tmztbut I guess it's in the log
22:56.47tmzthold on
22:56.56cr2haretlog*.txt
22:57.55tmztoh, yeah, make a call
22:59.04xsachai think i know why it had 8725 illegal blocks
22:59.19xsachait was mounted as rw and i took battery to restart
23:00.11tmzthttp://pastebin.com/d563dfb1b
23:02.37cr261000030 00000000 1c000000
23:02.46tmztrpc?
23:02.54tmzthow do I put that in code?
23:03.06*** join/#htc-linux WyrM (n=wyrm@20158147102.user.veloxzone.com.br)
23:03.44cr202000030 00000000 01000000 ... 01000000 01000000 01000000 ffffffff
23:03.52cr2i hate big-endian :)
23:04.15tmztoh, 1c is the rpc code, 30006100 is the value?
23:04.20cr261000030 00000000 1c000000
23:04.30tmzt?
23:04.41cr23000061 is the prog, 0 is the version, 1c is function
23:05.06cr2then the message itself
23:05.59cr202000030 00000000 02000000 ... 0d000000 01000000 05000000 ffffffff
23:06.11cr2compare to vogue-hw
23:06.38tmztyeah, I've started porting that to raph
23:06.46cr2i still have a question for dzo, why he leaved snd.c untouched and added the hacks into vogue-hw.c
23:07.11tmzthttp://people.openezx.org/tmzt/git-diff-audioparams-1.diff
23:07.14cr2tmzt: we just need to copypaste qdsp4/ to our branch.
23:07.20tmztah
23:07.24cr2audioparams is a different thing.
23:07.25tmztfrom where?
23:07.33cr2from vogue branch
23:07.35tmzthe put both in vogue-hw
23:08.07cr202000030 00000000 01000000 ... 00000000 00000000 00000000 ffffffff
23:09.08cr2<PROTECTED>
23:09.21tmztbut how do I fill out dex with this?
23:09.37cr2it's not dex
23:09.53tmztah, so that's why we need qdsp4?
23:10.06tmztbut I still need to setup audioparams
23:10.24cr202000030  00000000 02000000 ... 0d000000 01000000 05000000 ffffffff
23:10.36cr2not, if you boot from wince. they are already there.
23:11.03tmztwell, I already converted them based on how dzo did it
23:11.08tmztto load just one at a time
23:11.15tmztbut I guess we don't need that
23:11.32cr20f000030 00000000 27000000
23:12.12cr20a000030  00000000 01000000
23:12.41cr2you run gps ?
23:12.44cr25b000030 00000000 03000000
23:12.57cr25b000030 00000000 05000000
23:13.14cr25b000030 00000000 09000000
23:13.28cr25b000030 00000000 0a000000
23:13.42cr25b000030 00000000 06000000
23:14.06cr25b000030 00000000 08000000
23:14.36cr21d000030 00000000 04000000
23:14.41tmztgps doesn't work, windows creates NMEA that I found in putty
23:14.44tmztbut no data
23:14.58cr21d000030 00000000 07000000
23:15.02cr2agps
23:15.04xsachamm how do you extract android system.img (files) / data (ext3) to SD?
23:15.16cr21d000030 00000000 07000000
23:15.27tmztxsacha: use utb's or dzo's, they are not yaffs2
23:15.47cr25b000030 00000000 07000000
23:15.52tmztxsacha: the important part is to extract initrd
23:16.05xsachawhat is utb's, dzo's? :\
23:16.13cr20f000030 00000000 07000000
23:16.15cr2lol
23:16.25tmztconnect-utb.com
23:16.28tmztoh
23:16.40tmztthose will be armv6, you have to find an armv5 version
23:16.47tmzttry the andromnia forum
23:16.50cr20f000030 00000000 26000000
23:16.59xsachaandromnia didnt have any..
23:17.12cr20f000030 00000000 08000000
23:18.08cr255000030 00000000 01000000
23:18.26cr2tmzt: your log has a scary amount of rpcs :)
23:18.55tmzteach one of those is one rpc call?
23:19.15tmztcan you check the head/tail and see which the last ones are?
23:20.07cr2it#s the full buffer
23:20.38tmztwhat's our amss?
23:21.43cr2pre-googel
23:22.08tmztRPC_AUD_DEF_METHOD_HOST_PCM ?
23:22.29tmztfor playing audio
23:22.30cr2these are snd rpcs:
23:22.34lamaoh, xsacha are you going to boot android on i780?
23:22.34cr2<PROTECTED>
23:22.36cr2<PROTECTED>
23:22.37cr2<PROTECTED>
23:22.39cr2<PROTECTED>
23:22.51xsachajust dunno how to extract the files
23:23.09tmztwhen does dzo wake up?
23:23.21lamais there any progress besides SD card?
23:23.29xsachanup
23:23.39tmztlama: new machine file
23:24.00cr2tmzt: i'll edit wiki
23:24.04xsachatmzt: can i just create a new partition and copy the img file on to it?
23:24.32tmztxsacha: no, I guess you could adapt the initrd and put your files on mmcblk0p1 (vfat)
23:24.45xsachalike dd...?
23:24.45tmztxsacha: but you still need a armv5 version, armv6 will not work
23:24.50tmztno
23:24.53xsacha:( k
23:24.55tmztjust copy the android files
23:25.09tmzton the fat partition
23:25.20tmztbut you have to make initrd work as well
23:25.30xsachawhich initrd is this?
23:25.37tmztandroid one
23:26.00xsachahow do i retrieve it? download one from kaiser?
23:26.10tmztno, kaiser won't work, it's armv6
23:26.17xsachaahh
23:26.39tmztcr2: is this the program?
23:26.40tmzt<PROTECTED>
23:26.40tmzt<PROTECTED>
23:27.23xsachait says data.gz is an ext3 image.. cant i mount it?
23:27.23tmzt<PROTECTED>
23:27.23tmzt142 #define AUDMGR_PROG_VERS "rs30000013:00000000"
23:27.23tmzt143 #define AUDMGR_PROG 0x30000013
23:27.24tmzt144 #define AUDMGR_VERS 0x0
23:27.32tmztxsacha: yes, after you extract it
23:27.45xsachak
23:29.39cr2tmzt: your agps calls some scary functions :)
23:30.15tmztI've yet to see a valid position on the phone, maybe once in google maps
23:30.31xsachawhen google maps was using cell tower?
23:30.44tmztapparently, but I have no idea how to configure it
23:30.51cr2tmzt: hm. pmem rpc called
23:30.58tmztgpu?
23:31.33cr2pmem_remote_imem_enable
23:32.10cr2you have some fancy 3d graphics during a call ??
23:32.29tmztjust manila 3d
23:33.40cr2tmzt: gps_get_position is not called, only the weird agps calls
23:34.42cr2it's good that we are not going to implement this big brother stuff in linux :)
23:35.04cr2pdsm_get_position should be enough.
23:36.10xsachatmzt: if i extract data to my sd partition.. i also need to extract system.img?
23:36.20tmztyou don't need data
23:36.25xsacha<PROTECTED>
23:36.26tmztyou do need system as well as initrd
23:36.33tmztis data empty?
23:36.40xsachano, it has a lot in it
23:37.14xsachaanr  app  app-private  dalvik-cache  data  local  location  lost+found  misc  property  system
23:38.54tmztthat should all be recreated though
23:39.07tmztdid you find a armv5 compatible version of android?
23:39.13xsachano :(
23:39.21tmzttry n800
23:39.25tmztnandroid
23:39.34tmztor,
23:40.00tmztask solca in #android
23:40.28*** join/#htc-linux dcordes (n=luke@unaffiliated/dcordes)
23:40.54xsachaon google, lots of people saying android is default armv5, so they are all looking for armv4, armv6, etc
23:43.05cr2tmzt: hehe. pm_mic_set_volt
23:43.30cr2tmzt: called several times
23:44.07cr2tmzt: http://www.htc-linux.org/wiki/index.php?title=MSM_RPC
23:44.39tmztwhere are you getting the names from?
23:45.46tmztthe programs are constant or you just haven't added that to the table yet?
23:47.25cr2from remote_apis_clnt.dll
23:47.52cr2the prog names are from smem_log.c in qcom tree
23:48.56*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
23:52.50xsachamount -t cramfs -o ro,noatime,nodiratime /dev/block/loop1 /system
23:53.31tmztin initrd?
23:53.39xsachalosetup /dev/block/loop0 data.img
23:54.11*** join/#htc-linux marcin (n=marcin@chello089078134143.chello.pl)
23:54.37xsachae2fsck -y /dev/block/loop0; mount -t ext2 -o noatime,nodiratime /dev/block/loop0 /data
23:57.11xsachaso i need 2 partitions? a cramfs and an ext2fs?
23:58.59xsachathats what the kaiser initrd does

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