00:00.19 | cr2 | tmzt: make xipload target for haret |
00:00.39 | tmzt | as win32 code? |
00:01.37 | cr2 | like 'make linload' now produces a standalone bootable image |
00:01.58 | cr2 | it will produce a xip image |
00:02.02 | tmzt | ok |
00:02.11 | tmzt | yes, exactly |
00:02.12 | cr2 | which can be flashed |
00:02.26 | tmzt | and supercid diag.nbh |
00:02.49 | tmzt | runs from sd |
00:02.56 | cr2 | yeah, if you know how to do it, and Kevin2 agrres :) |
00:03.32 | tmzt | I have to chage one of those ldr's to something else |
00:03.56 | tmzt | I've been testing with qemu |
00:04.44 | tmzt | replacing zImage in -kernel |
00:05.27 | tmzt | cr2: this my learning arrm asm project, if I knew how to do it I would have |
00:07.02 | dzo | this is good, i didn't know xip was just loaded into memory, makes it easy. |
00:07.41 | cr2 | dzo: it was just mmaped in the NOR times |
00:07.55 | dzo | I think a lot of the problems with android would be solved by using nand, sd is just too slow. |
00:09.19 | cr2 | yes, it will be nice to reuse nand for the base os. |
00:09.39 | tmzt | we neded to find if leaving part00, 01, 02 alone is enough for spl |
00:10.16 | tmzt | we can replace imgfs, extrom and tfat then |
00:10.34 | tmzt | even have androidvstyle recovery if we want |
00:11.11 | cr2 | i don't like the 2k-only access |
00:11.19 | tmzt | why? |
00:11.33 | cr2 | partition table |
00:12.26 | cr2 | <PROTECTED> |
00:12.40 | tmzt | we can change the units on our entries and hard coe spl ones |
00:13.33 | cr2 | first i need to know where the imgfs ends, and what's behind. to finish the wiki table |
00:14.11 | tmzt | how do you do this?- |
00:14.20 | cr2 | the current wiki table comes more or less from spl |
00:14.45 | cr2 | looking in wince, or dumping the nand to SD |
00:15.10 | tmzt | not itsutils? |
00:15.17 | cr2 | no |
00:15.53 | cr2 | hm. i have the itsutils dump somewhere too |
00:18.04 | cr2 | 458.50M (0x1ca80000) DSK1: |
00:18.05 | cr2 | | 3.12M (0x31f000) Part00 |
00:18.07 | cr2 | | 4.50M (0x480000) Part01 |
00:18.08 | cr2 | | 143.38M (0x8f60000) Part02 |
00:18.10 | cr2 | | 307.50M (0x13380000) Part03 |
00:22.44 | tmzt | I'm saying then we could have our own partitio table at the beginning of part02 |
00:23.05 | cr2 | the sizes are strange |
00:23.20 | tmzt | and linux would partition anything after that itself |
00:23.23 | cr2 | or maybe i've dumped somethign wrong |
00:23.50 | tmzt | parts 00, 01 will be fixed based on atags |
00:24.14 | tmzt | but mtd parts 2+ will be from our partition table |
00:26.42 | cr2 | linux partition table access needs non-2k |
00:27.52 | tmzt | bios partition support? |
00:30.14 | cr2 | yes |
00:30.32 | cr2 | wince says 306.23MB storage size |
00:30.54 | tmzt | ah |
00:30.56 | cr2 | something like 307.50M Part03 |
00:31.55 | tmzt | and msm nand only supports 2048? |
00:32.26 | cr2 | yes. the msm_nand.c driver |
00:32.48 | tmzt | because of oob? |
00:33.00 | tmzt | did you look at uboot patch? |
00:33.04 | cr2 | because it's written in such a way |
00:33.07 | cr2 | no |
00:33.21 | tmzt | it has nand driver |
00:33.32 | cr2 | link ? |
00:33.50 | tmzt | aurora, linux, patches |
00:35.33 | cr2 | ok. i need some sleep |
00:35.36 | cr2 | good 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.22 | xsacha | hey tmzt :) |
02:41.58 | xsacha | tryin to cross-compile arm using cygwin |
02:57.23 | xsacha | screw 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.30 | xsacha | hey tmzt, you there? |
06:13.04 | xsacha | this 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.11 | xsacha | same processor! |
06:31.02 | xsacha | tmzt: 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.14 | par | has 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.33 | infidel206 | no magic in magic |
07:48.20 | par | haha |
07:48.22 | par | hi infidel206 |
07:48.28 | par | hows your ba working out |
07:48.30 | infidel206 | hola |
07:48.53 | par | yah my vogue is about 3/4 inch less screen than the magic |
07:49.00 | infidel206 | not bad, i've decided not to use X tho (even tho I got it working) |
07:49.00 | par | i like it a lot better |
07:49.16 | par | yeah it must waste all of the mem and cpu |
07:49.20 | infidel206 | yep |
07:49.41 | infidel206 | i'm thinking about buying this, but its really fsckin big http://www.compulab.co.il/exeda/html/exeda-datasheet.htm |
07:50.11 | par | ohhh right the israeli device |
07:50.18 | par | yeah i saw soemthing about that |
07:50.22 | par | it runs angstrom |
07:50.38 | infidel206 | yep |
07:50.39 | par | wait maybe its a differnt one |
07:50.55 | infidel206 | it runs everything really |
07:51.17 | par | http://www.angstrom-distribution.org/enterprise-digital-assistant-runs-angstrom |
07:51.20 | par | hehe right |
07:51.25 | par | angstrom / armel |
07:51.27 | par | etc |
07:52.29 | infidel206 | yep |
07:52.43 | infidel206 | its just too big tho |
07:52.58 | infidel206 | and not cheap |
07:53.08 | *** join/#htc-linux pH5 (n=ph5@e178245137.adsl.alicedsl.de) |
07:53.19 | par | yo pH5! |
07:53.33 | infidel206 | its gonna cost me ~$875-900 if i buy it |
07:53.38 | par | jeeez |
07:54.16 | par | well the ba is almost the same.. no usb tho |
07:54.23 | pH5 | hi |
07:55.00 | par | do you think ba will run a 2.6.30 kernel ever? |
07:55.08 | par | i forgot what the hang up is from it |
07:55.34 | par | pH5, was there something with asic3_mmu that needs to be changed to work with newer kernels? |
07:55.40 | pH5 | working on that today. |
07:55.48 | infidel206 | mmu or mmc |
07:55.52 | pH5 | biggest problem was asic3_mmc not working, but I've got that now. |
07:55.54 | par | oops mmc |
07:55.56 | pH5 | at least on hx4700. |
07:56.01 | par | kewlness |
07:56.08 | par | cr2 keeps asking about it |
07:56.25 | xsacha | wonder how hard it'll be to get function keys working on my i780 |
07:56.25 | par | pH5 > * |
07:56.32 | infidel206 | this phone looks cool http://www.road.de/de/handypcs/officer/specifications.html |
07:57.18 | infidel206 | ^ but they never answer my email(s) |
07:57.33 | xsacha | it's like those nokia communicators / htc giants |
07:57.53 | xsacha | i 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.36 | xsacha | 13 centimetres! and suck battery life :( |
08:03.04 | par | infidel206: well on the ba, at least with angstrom you get a pda gui and all |
08:04.06 | par | infidel206: can you run gpe on lenny ? |
08:10.10 | xsacha | whats the difference between arm-none-eabi and arm-none-gnueabi? did i get the wrong compiler? |
08:14.49 | infidel206 | par, yeah |
08:19.39 | par | all the ui's are pretty easily installable through the repo's right? |
08:19.57 | pH5 | xsacha: don't know, maybe there are some experts awake on #oe. |
08:20.05 | pH5 | http://www.codesourcery.com/sgpp/lite/arm/portal/kbentry38 seems to say they should be the same. |
08:20.18 | pH5 | if you want to compile kernel code, it doesn't matter anyway. |
08:21.14 | xsacha | ok |
08:21.36 | xsacha | compile worked :) |
08:21.45 | *** join/#htc-linux JuNu_KN (n=chatzill@kons-5f714f1a.pool.einsundeins.de) |
08:21.54 | xsacha | my first non-x86 compile :D |
08:24.07 | xsacha | is there anything wrong with deleting all the machines (except my phone) from the kernel source when distributing it to others? |
08:24.17 | xsacha | it's just 60MB is a bit much to give to other ppl all the time |
08:25.55 | infidel206 | par, yes.. but i dont think gpe is in squeeze |
08:26.11 | infidel206 | and u need squeeze for the newer tslib |
08:31.24 | pH5 | xsacha: you don't gain much and you have all the work. why not use git and/or patches against tagged kernels? |
08:31.36 | pH5 | the biggest part are the drivers |
08:31.40 | xsacha | k |
08:32.25 | par | infidel206: wow, so as always its kinda the waiting game |
08:33.31 | xsacha | woot... my kernel is full resolution and angstrom working fine |
08:33.53 | xsacha | does anyone know the default angstrom login? |
08:33.54 | par | xsacha: which phone u have? |
08:33.56 | xsacha | i780 |
08:34.45 | xsacha | im using angstrom made for motorola a780 but dunno the login |
08:34.46 | pH5 | xsacha: root, empty password? |
08:34.57 | xsacha | oh true |
08:35.00 | pH5 | depends on the image. |
08:35.33 | par | xsacha: there is also an angstrom autbuild system called narcissus now |
08:35.56 | par | http://amethyst.openembedded.net/~koen/narcissus/ |
08:36.38 | xsacha | what do i mount to get access to phone memory? |
08:37.48 | xsacha | that'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.23 | par | i wish there was more htc support in it. |
08:38.33 | par | all thats in it so far is htcalpine |
08:38.45 | xsacha | linux is annoying without a forward flash key |
08:39.13 | xsacha | oo my message key is forward slash, nvm |
08:40.53 | xsacha | i have shift and ctrl but no number keys tho.. |
08:41.03 | *** join/#htc-linux timebomb (n=tb@g224066149.adsl.alicedsl.de) |
08:43.22 | pH5 | par: somebody has to build/test images. I think there are only maintained (in ångström) machines in that list. |
08:43.40 | pH5 | mickeyl: nice to see you getting involved with the kernel |
08:44.20 | xsacha | my sd card should look lke /dev/mmcblk0p1? but what about my phone memory? |
08:44.47 | infidel206 | par, 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.53 | xsacha | o btw, how do i quit vim without using the colon key? |
08:45.08 | mickeyl | pH5: 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.18 | par | xsacha? you mean with out using colon to go into ex? |
08:49.41 | par | isn't it something lke capital Z? |
08:49.52 | par | infidel206: wow, yeah that phone looks cool! |
08:50.12 | xsacha | well usually i'd use :q but there's no colon on my keyboard |
08:51.22 | pH5 | mickeyl: great, thanks. exaggerated or not, I'm sure you improving things for FSO interoperability can't be all bad :) |
08:51.38 | mickeyl | right :) |
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.54 | xsacha | how do i mount a SD card? |
09:29.13 | xsacha | i see a bunch of hda's, mtdblock's and mux's |
09:34.42 | pH5 | SD/MMC cards are mmcblk0* |
09:34.59 | xsacha | whats it mean if i dont have any? |
09:35.01 | pH5 | mtdblock is internal flash |
09:35.15 | xsacha | no mmc* |
09:36.01 | xsacha | well what type do i mount mtdblock as? |
09:36.30 | pH5 | using udev? then it's maybe no mmc driver loaded. does pxa310 still use pxamci as mmc driver? |
09:37.47 | xsacha | i think so |
09:38.29 | xsacha | struct pxamci_platform_data zylonite_mci_platform_data = { .. and then there's the i780 init and exit functions for memory card |
09:39.22 | pH5 | mtd 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.56 | pH5 | pxamci compiled in / loaded? |
09:39.57 | xsacha | i doubt winmo would use jffs2? |
09:40.03 | pH5 | anything interesting in the dmesg output? |
09:40.16 | pH5 | certainly not. I have no idea about winmo storage format |
09:40.34 | pH5 | you can dump the whole mtdblock to mmc once you get it working and analyze it ;) |
09:40.46 | xsacha | read error (ac97_reg=4... in dmesg |
09:40.59 | xsacha | i 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.04 | xsacha | nevermind, i have page up and page down :) |
09:48.00 | xsacha | hmm theres a bunch of junk about pxamci and a backtrace there too in the dmesg |
09:49.58 | nathan7 | pH5: Hi Philipp! |
09:50.01 | nathan7 | =D |
09:50.17 | xsacha | zylonite_mci_ro -> pxamxi_get_ro -> mmc_attach_sd -> mmc_rescan -> run_workqueue -> worker_thread -> kthread |
09:50.59 | nathan7 | pH5: I can't get my kernel to compile, it says utsname_sysctl.c:(.text+0xf110): undefined reference to `__aeabi_uldivmod' |
09:51.07 | nathan7 | pH5: Any ideas? |
09:51.16 | xsacha | the process that died was kmmcd |
09:51.50 | nathan7 | pokes pH5 |
09:51.58 | xsacha | LR: zylonite_mci_ro and PC: __gpio_get_value any ideas? |
09:52.05 | nathan7 | kicks MethoS |
09:52.08 | nathan7 | *mrmoku |
09:52.12 | nathan7 | DARN TAB COMPLETE |
09:52.22 | MethoS | ^^ |
09:56.49 | pH5 | xsacha: hm maybe. are the zylonite_mmc_slot values for RO and WP GPIOs initialized somewhere? |
09:57.02 | pH5 | nathan7: hi. |
09:57.22 | xsacha | yeah, those values are wrong.. is that why it crashes? |
09:57.25 | mrmoku | :) |
09:57.48 | xsacha | i 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.02 | xsacha | what do you mean by RO? :\ |
09:58.02 | pH5 | probably. what's the crash - null pointer dereference? |
09:58.18 | nathan7 | pH5: Any ideas for the failing kernel compile? |
09:58.32 | pH5 | nathan7: yes, gcc 4.3 |
09:58.41 | xsacha | Internal Error: Oops: 5 [#1] ? |
09:58.43 | pH5 | google that error |
09:58.49 | nathan7 | pH5: Okay |
09:58.55 | nathan7 | pH5: Thanks |
09:58.56 | xsacha | o wait, yes you're right |
09:59.00 | pH5 | there's a patch in OE linux-handhelds by dmitry IIRC. |
09:59.00 | nathan7 | pH5: Also, I'm using OE |
09:59.03 | nathan7 | Ah |
09:59.14 | nathan7 | sees it |
09:59.22 | xsacha | Unable to handle kernel NULL pointer dereference at virtual address 00000018 |
10:00.12 | xsacha | in 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.29 | pH5 | xsacha: I meant CD, not RO. |
10:00.34 | xsacha | whew |
10:01.27 | pH5 | xsacha: dump the EXT_GPIOs with haret, once with and once without write protection on the inserted SD. |
10:01.37 | xsacha | i got the cd value by inserting/removing sd |
10:02.04 | xsacha | how do i write protect the sd? :\ |
10:02.23 | xsacha | Eject: GEDR3: GPIO105(169)=1 followed by a few GEDR0: GPIO11(75)=1 then MMC and DMAs |
10:02.47 | pH5 | oh, it's a microsd? then you probably don't have that GPIO connected at all |
10:03.03 | xsacha | there are phones that take SD cards (not micro)? |
10:03.12 | pH5 | it's used to read the write protection trigger on full-size sd cards only |
10:03.22 | pH5 | xsacha: yup, those were the times :) |
10:03.28 | pH5 | hacks on HTC Blueangel right now |
10:03.52 | xsacha | so do i comment out the wp variable.. or.. just ignore it? |
10:04.42 | pH5 | I'd say you either remove zylonite_mci_ro completely |
10:05.33 | pH5 | or 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.04 | nathan7 | Found the patch |
10:06.11 | nathan7 | http://www.gitorious.org/gumstix-oe/mainline/commit/0f1bfa08ced1bd3482220bf3b97bb55fcc45de31?diffmode=inline |
10:06.24 | nathan7 | Now |
10:06.26 | nathan7 | HOw to apply? |
10:07.04 | pH5 | nathan7: click on "raw patch", save that file and apply it with git-am |
10:07.43 | pH5 | or take it out of your OE workdir, if you use OE anyway. |
10:08.25 | nathan7 | Hmm |
10:15.21 | nathan7 | Where? |
10:15.39 | nathan7 | pH5: How, where? |
10:15.55 | nathan7 | In /stuff/tmp? |
10:16.17 | nathan7 | nathan@lion:~$ ls /stuff |
10:16.17 | nathan7 | bitbake build build.sh openembedded poff tmp |
10:18.14 | *** join/#htc-linux xsacha2 (n=sacha@123.100.137.226) |
10:18.20 | xsacha2 | hey, well it worked ph5! |
10:18.32 | xsacha2 | no backtrace but i get this error: mmc2 error -22 whilst initialising SDIO card |
10:19.01 | pH5 | xsacha2: good to hear |
10:19.08 | pH5 | nathan7: openembedded/recipes/linux/linux-handhelds-2.6-2.6.21/0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch |
10:19.25 | pH5 | xsacha2: do you have /dev/mmcblk[01]* now? |
10:20.06 | xsacha2 | no.. still no mmc |
10:20.52 | pH5 | hm.. |
10:22.24 | xsacha2 | the last message about mmc1 is: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0 |
10:22.57 | nathan7 | pH5: And then? |
10:23.09 | nathan7 | xsacha2: 0hz... THat's a nice clock xD |
10:23.42 | nathan7 | My clock is â times as fast |
10:24.16 | xsacha2 | :) what do you think could be going on? |
10:25.24 | xsacha2 | o i just noticed there is mmc0 mmc1 and mmc2 is attempts to start |
10:25.29 | nathan7 | Powermode 0. |
10:25.40 | nathan7 | It's off. |
10:25.45 | xsacha2 | mmc0 looks promising!!! |
10:26.36 | pH5 | nathan7: and then what? apply this patch and then it should compile. |
10:26.40 | xsacha2 | mmc0: new high speed SDHC card at add ress d555 mmcblk0: mmc0: d555 SU08G 7.60GiB |
10:26.51 | pH5 | yes, that's a card alright :) |
10:27.04 | nathan7 | pH5: Uhh |
10:27.14 | xsacha2 | pH5: but it doesnt appear in my /dev :( |
10:27.18 | nathan7 | pH5: I think I'm totally stupid now, but where's the kernel tree? |
10:27.30 | nathan7 | *being totally stupid |
10:27.42 | nathan7 | Ah |
10:28.01 | nathan7 | In /stuff/tmp/work/magician-angstrom-linux-gnueabi/linux-handhelds-2.6-2.6.21-hh20-r0/kernel26 |
10:28.36 | nathan7 | fires up build.sh |
10:30.58 | nathan7 | pH5: http://sprunge.us/fMaX |
10:34.56 | pH5 | bah, 2.6.30-rc7 spews "scheduling from idle thread" messages on BA :( |
10:35.48 | nathan7 | =0 |
10:36.59 | xsacha2 | is 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.19 | nathan7 | pH5: Any ideas? |
10:37.25 | xsacha2 | mknod or something? |
10:38.48 | par | pH5: whats the highest working kernel you have on the ba |
10:40.23 | pH5 | nathan7: no idea, maybe just try a git pull on OE and a clean build of the kernel. |
10:40.40 | pH5 | xsacha2: isn't udev running? |
10:41.22 | xsacha2 | hmmm? |
10:41.23 | pH5 | par: right now, I don't have one. |
10:41.56 | xsacha2 | udevd --daemon is running |
10:44.17 | nathan7 | pH5: Hmm, okay. |
10:45.20 | *** join/#htc-linux wdslbr (n=asa@dslb-088-069-222-136.pools.arcor-ip.net) |
10:50.02 | par | pH5: ah ok so it would still be HH20 |
10:50.36 | *** join/#htc-linux tsdogs (n=tsdogs@195.32.70.17) |
10:50.52 | par | 2.6.30 compiled with wirless extension would allow the acx to operate hostapd properly as an access point. |
10:52.09 | par | even 2.6.27 would |
10:54.10 | nathan7 | Hmm |
10:54.25 | *** join/#htc-linux kiozen (n=oeichler@rgnb-5d8744d7.pool.einsundeins.de) |
10:54.32 | nathan7 | pH5: Nope, same error. |
10:57.46 | xsacha2 | ok now that my SDHC card works.. i guess i need to try android |
10:58.01 | pH5 | xsacha2: :) |
10:58.03 | pH5 | nathan7: :( |
10:58.14 | pH5 | par: :/ does the acx100 driver work on 2.6.30 yet? |
10:58.58 | xsacha2 | im guessing my /dev problem is just related to angstrom? |
10:59.58 | xsacha2 | ph5: 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.44 | pH5 | no idea about android |
11:02.54 | pH5 | my userspace is an age-old angstrom console-image |
11:03.27 | xsacha2 | :( |
11:04.11 | xsacha2 | when 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.09 | xsacha2 | it'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.26 | kri5 | hello there |
11:47.16 | *** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be) |
12:04.18 | infidel206 | ph5, 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.48 | pH5 | infidel206: magician, hx4700 and blueangel |
12:18.24 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
12:33.25 | tmzt | xsacha2: mmc2 could be wifi? |
12:34.30 | xsacha2 | naah, it was cause i set maxslots = 3 |
12:34.34 | tmzt | or that could be left over from zyl |
12:34.42 | xsacha2 | mmc1 and mmc2 were giving 0s |
12:34.56 | xsacha2 | anyway, how do i test android? to see if it boots |
12:35.31 | xsacha2 | i know i need an initrd-android.. does it matter which one i get? |
12:35.47 | xsacha2 | and do i also need System.img? |
12:40.04 | xsacha2 | if 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.01 | infidel206 | ph5, cool |
12:52.01 | diogene31 | is AWAY at 14:52:01 : dog time |
12:54.07 | xsacha2 | weird, the initrd they gave me boots busybox |
12:54.31 | xsacha2 | good 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.41 | nathan7 | xsacha2: =0 |
12:57.43 | nathan7 | xsacha2: Busybox? |
12:57.50 | nathan7 | xsacha2: Android doesn't have busybox |
12:58.09 | nathan7 | pH5: Do you perhaps have an OE that does compile? |
12:58.45 | xsacha2 | i see what it doe |
12:59.00 | xsacha2 | it loads busybox and runs a script that mounts SD card and then loads android from that |
12:59.34 | xsacha2 | problem being, it looks for mmcblk0p2 and i dont have one |
13:00.17 | tmzt | xsacha2: Mohanas is an intel x86 processor, core solo or something like that |
13:00.40 | xsacha2 | Mohanas LV is the name of PXA311 |
13:00.49 | nathan7 | =p |
13:01.01 | xsacha2 | Mohanas P is PXA320 |
13:01.20 | tmzt | oh sorry |
13:01.32 | tmzt | it sounds familiar |
13:01.53 | xsacha2 | any idea why my sd card still aint working? i did those fixes you told me about |
13:02.11 | tmzt | mmc0 is not working? |
13:02.23 | xsacha2 | mmc0: new high speed SDHC card at add ress d555 mmcblk0: mmc0: d555 SU08G 7.60GiB |
13:02.32 | xsacha2 | but i dont get any mmc* in /dev/ |
13:02.50 | tmzt | can 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.05 | xsacha2 | how? |
13:04.14 | tmzt | kais might work, pxa310 is afmv6? |
13:04.34 | xsacha2 | af.. what? |
13:04.40 | tmzt | please get angstrom, etc first though |
13:04.54 | xsacha2 | angstrong works fine |
13:04.56 | tmzt | arm |
13:05.07 | tmzt | with mmcblk0? |
13:05.13 | cr2 | pH5: i have not touched uni and sable for ages. because of the asic3_mmc |
13:05.23 | xsacha2 | no, nothing works with mmcblk0.. not even busybox :( |
13:05.34 | tmzt | totola htc on upstream!!?? |
13:05.35 | cr2 | pH5: but they both use pxa27x. does 2.6.30 support pxa263 properly ? |
13:06.21 | pH5 | cr2: 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.59 | tmzt | xsacha2: the line you gave before had detected card, it should work from that point |
13:07.00 | cr2 | pH5: i remember fidlling with the pxa26x ifdefs to make uda1380 asoc working properly |
13:07.01 | pH5 | sable is interesting because it has ASIC3 bus shifted (not packed 16bit like hx and ba) |
13:07.32 | pH5 | SSP? I'm not that far yet :/ |
13:07.35 | xsacha2 | tmzt: except it never appears in my /dev/ :( |
13:07.39 | tmzt | you need to find out number of mci hosts |
13:07.52 | tmzt | kernel doesn't care |
13:08.09 | tmzt | what kernel/cmdline are you using! |
13:08.11 | tmzt | ? |
13:08.23 | pH5 | cr2: 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.24 | cr2 | pH5: ok, i can try merging the sable/uni hh code once you have some working ba code. |
13:08.58 | cr2 | pH5: but i also need to switch to htc-egpio for uni. |
13:09.01 | cr2 | hmm. |
13:09.07 | xsacha2 | set cmdline "root=/dev/ram0 ramdisk_size=8192 rootwait rw init=/init video=pxafb:mode=320:320-16,active" |
13:09.20 | cr2 | pH5: does it use the irq spi ? |
13:09.28 | tmzt | rootdelay=5 |
13:10.02 | xsacha2 | set cmdline "root=/dev/ram0 ramdisk_size=8192 rootwait rw init=/init video=pxafb:mode=320:320-16,active rootdelay=5" |
13:10.07 | tmzt | root=/dev/mmcblk0p1 or 2 |
13:10.19 | cr2 | pH5: sable uses asic3_spi for gps :o |
13:10.19 | tmzt | no rootwait |
13:10.25 | pH5 | cr2: no, lcuk disabled the asic3 spi irq to avoid that "interrupt processing overflow" message in asic3 IIRC. |
13:10.29 | tmzt | no ramdisk_size |
13:10.34 | xsacha2 | shouldnt i want root in ram not on memory card? |
13:10.36 | pH5 | does sable use the irq? |
13:10.43 | tmzt | no |
13:11.04 | tmzt | extract you ang to an ext2 partition on sd |
13:11.05 | cr2 | pH5: need to check. |
13:11.14 | xsacha2 | oh but then i need to partition my drive |
13:11.24 | tmzt | yes |
13:11.42 | tmzt | gparted will resize your vfat |
13:11.43 | pH5 | cr2: 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.46 | xsacha2 | does this mean i dont need an initrd anymore then? |
13:11.54 | pH5 | pxa270 seems to work just fine with asic3_mmc |
13:11.57 | tmzt | probably not |
13:12.14 | cr2 | pH5: but i doubt it. the only difference between ba,paq4350 and sable/beetles was the initial code sent over spi tx |
13:12.21 | xsacha2 | i dont have gparted.. mm |
13:12.46 | cr2 | pH5: yes, it's a good idea to start from hx4700. |
13:12.49 | pH5 | ok. maybe there is a gpio on BA to power the QKBD chip? |
13:13.10 | dzo | morning all |
13:13.12 | xsacha2 | can i use fdisk to partition? |
13:13.14 | pH5 | also, I already submitted that code to LAKML, so it got a little bit of review. |
13:13.18 | pH5 | hi dzo |
13:13.23 | cr2 | pH5: yes, there is a power and reset gpio for the keyboard microprocessor |
13:13.36 | cr2 | pH5: i think it's all in the -hh code |
13:13.43 | pH5 | ah, ok. that's probably my fault. |
13:13.46 | pH5 | rechecks the hh code |
13:13.57 | tmzt | xsacha2: not if you want to resize |
13:14.03 | xsacha2 | k |
13:14.19 | tmzt | xsacha2: fdisk only if you want to delete the whole sd |
13:14.32 | xsacha2 | ive resized my hard drive with fdisk before.. |
13:14.52 | xsacha2 | not sure if it works for vfat too |
13:14.58 | tmzt | because you will have to format the partitions it creates |
13:15.28 | tmzt | fdisk only changes the partition table, not filesystems |
13:15.48 | xsacha2 | well what i did was: delete partitions, create new partition where old one was (but smaller) |
13:15.54 | tmzt | you probably used ntfsresize or resize2fs as well |
13:16.03 | tmzt | yeah |
13:16.14 | tmzt | do you have data on the sd? |
13:16.17 | xsacha2 | yeah |
13:16.30 | dzo | cr2: i had a look at the gps rpcs on vogue and it's using prog 0x30000004 not 3000001d so different to raphael. |
13:16.34 | tmzt | either move it or use parted |
13:17.02 | tmzt | dzo: could be same on raph500? |
13:18.01 | tmzt | either move your data to a different disk or use parted |
13:18.26 | cr2 | dzo: 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.42 | dzo | do you know which call is pdsm_get_position on raph? |
13:19.14 | cr2 | 0xc |
13:19.34 | xsacha2 | is it a problem that gparted things my entire 8GB is "unallocated" ? |
13:19.40 | xsacha2 | thinks* |
13:19.43 | cr2 | i'll edit wiki now, to put the values from channel log there. |
13:20.08 | tmzt | xsacha2: yeah, what does fdisk -l say |
13:20.21 | tmzt | unless it's superfloppy |
13:20.42 | xsacha2 | says /dev/sdb1 43 81821 7973376 b W95 FAT32 |
13:20.46 | cr2 | dzo: [Do Mai 28 2009] [01:58:00] <cr2> so, 0x3000001d,0,6 is pdsm_atl_post_event |
13:21.04 | dzo | cr2: i see it sending 9 and receiving 1 and 4. |
13:21.10 | tmzt | file -s /dev/sdb |
13:21.24 | cr2 | dzo: PROG=0x3000005b VERS=0 par=0xc <- pdsm_get_position |
13:21.36 | xsacha2 | says /dev/sdb: x86 boot sector; partition 1: ID=0xb, starthead 130, startsector 8192, 15946752 sectors |
13:21.41 | cr2 | dzo: i can check yours too |
13:22.07 | tmzt | not sf mode I think |
13:22.12 | xsacha2 | sf? |
13:22.13 | cr2 | dzo: yes, 1,4 and b here on the rx side |
13:22.37 | tmzt | superfloppy |
13:22.40 | cr2 | dzo: for the 5b prog |
13:22.40 | xsacha2 | lol |
13:22.52 | xsacha2 | but gparted still saying "unallocated" |
13:22.57 | tmzt | try mount /dev/sdb /mnt |
13:23.07 | tmzt | that should fail |
13:23.42 | xsacha2 | already mounted |
13:23.52 | tmzt | umount |
13:24.02 | xsacha2 | k works now |
13:24.19 | xsacha2 | kde auto mounts them |
13:24.25 | pH5 | cr2: 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.27 | tmzt | ls /mnt shows your data? |
13:24.37 | xsacha2 | gparted still says unallocated tho |
13:24.58 | tmzt | how much data? |
13:25.21 | xsacha2 | mm it says i need to specify fs type |
13:25.23 | cr2 | pH5: i need to look in the old idbs |
13:25.35 | tmzt | mount does? |
13:25.40 | xsacha2 | i tried vfat but it says bad option |
13:25.49 | pH5 | cr2: that would be great |
13:25.52 | xsacha2 | or wrong fs type |
13:25.52 | tmzt | very weird |
13:26.07 | cr2 | pH5: _cs is used in a "strict" way only on sable/beetles. but it's a 2Mbit interface there. |
13:26.27 | xsacha2 | when kde auto mounts it, i can see all my 8GB of data in dolphin though |
13:26.28 | tmzt | how much data? |
13:26.34 | cr2 | pH5: where the clokc divider should be set properly and such. |
13:26.37 | tmzt | ok, mount |
13:26.52 | pH5 | ah, also how does the SPI clock divider work. is the base clock the 24.576MHz one? |
13:27.14 | tmzt | where does kde mount it? |
13:27.30 | xsacha2 | <PROTECTED> |
13:27.39 | cr2 | pH5: it's a bit of black magic. we only have the comments from asic2 code |
13:27.40 | xsacha2 | it creates a folder on the fly, depending on how many disks |
13:27.55 | tmzt | what device? |
13:28.01 | *** join/#htc-linux AntiXpucT (n=Skim@77.106.108.232) |
13:28.01 | xsacha2 | huh? |
13:28.10 | tmzt | is mounted |
13:28.16 | cr2 | pH5: and i know the real-life values. but asic2_spi is still diffeent from asic3_spi |
13:28.20 | tmzt | the mount line |
13:28.43 | xsacha2 | i dont know, it's not in fstab or anything. |
13:29.01 | tmzt | run mount |
13:29.23 | cr2 | pH5: so we will probably never know, unless somebody will measure the output clock frequency directly. |
13:29.31 | xsacha2 | ok gotta hook up my phone again to get it to show |
13:29.51 | tmzt | what? |
13:30.18 | tmzt | no card reader? |
13:30.19 | xsacha2 | nup, it doesnt show in mount |
13:30.33 | xsacha2 | im using USB connection, not card reader.. should i use reader? |
13:30.41 | tmzt | yes |
13:30.50 | cr2 | dzo: rpc 4 is not in my wiki list, but i can check in the qcom msm tree |
13:30.52 | tmzt | was it in storage mode? |
13:30.56 | xsacha2 | yeah |
13:31.10 | tmzt | reader is best |
13:31.22 | dzo | cr2: which tree is that? |
13:32.05 | xsacha2 | ok it shows up now with reader: /dev/sdb1 on /media/disk-1 type vfat (rw,nosuid,nodev,uhelper=hal,uid=1000,utf8) |
13:32.07 | cr2 | dzo: 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.58 | xsacha2 | unallocated 4MB fat32 7.61GB |
13:33.26 | cr2 | dzo: it's the tree that has tv_enc and multiple mdp output code. |
13:34.03 | dzo | OK, i didn't know about that, I'll have a look. |
13:34.03 | xsacha2 | how much space would i need? 1GB ok? |
13:34.03 | tmzt | xsacha2: umount and try resize |
13:34.15 | tmzt | 2gb would be better, 1 is ok |
13:34.50 | xsacha2 | mmm its not lettin me resize.. i set it to 5.7GB and resize is greyed out |
13:35.04 | cr2 | dzo: yes, you are right |
13:35.09 | cr2 | dzo: { 0x30000004, "PDSM" }, |
13:35.12 | tmzt | how much data? |
13:35.23 | xsacha2 | nevermind, i had to tab or something.. it doesnt update til you tab |
13:35.51 | tmzt | ok |
13:35.52 | xsacha2 | so ext2 as primary partition? |
13:35.57 | tmzt | no |
13:36.06 | tmzt | doesn't matter |
13:36.07 | tmzt | yes |
13:36.12 | tmzt | sorry |
13:36.12 | xsacha2 | :P |
13:36.19 | tmzt | not active |
13:36.24 | cr2 | dzo: { 0x3000001d, "PDSM_ATL" }, |
13:36.34 | tmzt | active doesn't matter |
13:36.34 | cr2 | dzo: { 0x3000005a, "PD_COMMS_CLIENT_API" }, |
13:36.45 | xsacha2 | doesnt give option of active anyway |
13:37.17 | xsacha2 | ok resizing it. then i stick my android files on there? |
13:37.23 | tmzt | no |
13:37.33 | tmzt | angstrom for now |
13:37.48 | xsacha2 | k |
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.11 | xsacha2 | what am i extracting in to partition 2 exactly? initrd-angstrom-console? |
13:41.22 | tmzt | yeah |
13:41.38 | xsacha2 | how do i extract it? not sure of its format |
13:41.42 | tmzt | ln -s bin/busybox init |
13:42.04 | tmzt | file init* |
13:42.49 | xsacha2 | nevermind, it's a gzip |
13:43.15 | tmzt | ext2? |
13:43.19 | xsacha2 | gosh it's a gzip inside a gzip inside a gzip? |
13:43.29 | tmzt | file |
13:43.52 | xsacha2 | nevermind. i have a file initrd-angstrom-console |
13:44.11 | tmzt | file |
13:44.57 | xsacha2 | ASCII cpio archive? |
13:45.13 | tmzt | mkdir initfs |
13:45.18 | tmzt | cd initfs |
13:45.57 | xsacha2 | yeah |
13:46.12 | tmzt | cat ../initrd-angstrom-console |cpio -id --no-root-filenames |
13:46.57 | xsacha2 | unrecognised option.. --no-root-filenames |
13:47.14 | tmzt | cat ../initrd-angstrom-console |cpio -id --no-absolute-filenames |
13:47.44 | xsacha2 | cpio: 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.04 | tmzt | cpio -t |
13:48.48 | xsacha2 | whats that meant to do? |
13:48.54 | tmzt | list |
13:48.59 | xsacha2 | just sits there until i ctrl+c it |
13:49.29 | tmzt | cat ../initrd-angstrom-console |cpio -t |
13:50.07 | xsacha2 | same error as before (Aborted) |
13:50.46 | *** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
13:50.48 | tmzt | zcat ../initrd-angstrom-console |cpio -t |
13:50.56 | tmzt | the gzip one |
13:51.02 | xsacha2 | oh ok |
13:51.30 | xsacha2 | if i do it on .gz one, i get same error as before |
13:51.51 | tmzt | it's probably bad then |
13:52.20 | xsacha2 | initrd-angstrom-console: ASCII cpio archive (SVR4 with no CRC) |
13:52.36 | tmzt | pH5: good angstrom console image? |
13:52.55 | xsacha2 | i downloaded this one from the website |
13:53.09 | xsacha2 | it was designed for motorola a780 or something |
13:53.30 | *** join/#htc-linux dcordes (n=luke@unaffiliated/dcordes) |
13:53.35 | tmzt | what was it called before you gunzip'd? |
13:53.50 | xsacha2 | initrd-angstrom-console.gz |
13:54.00 | xsacha2 | (thats one i use to boot angstrom on phone, works) |
13:54.10 | tmzt | and you zcat that? |
13:54.13 | xsacha2 | yeah |
13:54.20 | xsacha2 | unrecognised option.. --no-root-filenames |
13:54.23 | xsacha2 | oops |
13:54.27 | xsacha2 | cpio: Substituting `.' for empty member name Aborted |
13:54.44 | tmzt | which cpio |
13:54.57 | xsacha2 | in /bin/cpio |
13:55.25 | tmzt | strings /bin/cpio |grep file |
13:55.57 | xsacha2 | heaps of stuff |
13:56.09 | tmzt | strings /bin/cpio |grep filename |
13:56.42 | xsacha2 | about 6 lines |
13:57.38 | tmzt | like? |
13:57.56 | xsacha2 | Archive 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.14 | xsacha2 | A list of filenames is terminated by a null character instead of a newline |
13:58.30 | xsacha2 | Archive 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.37 | tmzt | any aboit absolute? |
13:58.42 | xsacha2 | yeah |
13:58.52 | xsacha2 | no-absolute-filenames is last line |
13:59.13 | tmzt | so why didn't it work? |
13:59.20 | xsacha2 | no idea |
13:59.34 | tmzt | try p7zip |
13:59.56 | tmzt | 7zr l initrd-* |
14:00.26 | xsacha2 | Il |
14:00.29 | xsacha2 | l ok |
14:00.55 | xsacha2 | Error: initrd-angstrom-console is not supported archive |
14:02.00 | tmzt | p7zip-full is installed? |
14:02.10 | xsacha2 | mm dunno about full |
14:02.26 | xsacha2 | oh, it wasnt, ok |
14:02.45 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
14:02.56 | xsacha2 | still says same thing.. unsupported archive |
14:03.12 | tmzt | try 7z or 7za |
14:03.25 | xsacha2 | woot, 7z worked! |
14:03.31 | xsacha2 | all the files are there |
14:03.33 | tmzt | good |
14:03.53 | tmzt | ln -s bin/busybox init |
14:04.04 | tmzt | cp -r to sd partiton |
14:04.15 | tmzt | -a not -r |
14:05.25 | xsacha2 | well, it says init file already exists |
14:05.33 | tmzt | ok |
14:05.41 | xsacha2 | it's a shortcut for sbin/init |
14:05.42 | tmzt | ignore that then |
14:05.48 | tmzt | ls -lh |
14:06.19 | tmzt | oh right |
14:06.22 | xsacha2 | i need to use sudo to access any of the files :\ oops |
14:06.33 | tmzt | is that symlink to busybox? |
14:06.33 | xsacha2 | 7z wanted sudo.. |
14:06.48 | tmzt | yeah |
14:06.59 | tmzt | extract as root |
14:07.16 | xsacha2 | init -> sbin/init -> sbin/init.sysvinit (ELF file) |
14:07.34 | xsacha2 | i need sudo to read these files, not just write |
14:08.16 | tmzt | but is it eventually a symlink to busybox |
14:08.27 | xsacha2 | dont know, cant read the ELF file |
14:08.40 | tmzt | or is init.sysvinit a binary |
14:08.43 | tmzt | looks ok |
14:08.52 | xsacha2 | yeah binary file |
14:09.16 | xsacha2 | btw ive been doing it on the SD partition |
14:10.41 | tmzt | ok |
14:10.51 | tmzt | so boot :) |
14:11.15 | xsacha2 | k |
14:11.40 | *** join/#htc-linux zycho (n=zycho@dslb-088-070-073-162.pools.arcor-ip.net) |
14:11.50 | xsacha2 | remove this line? set initrd "initrd.gz" |
14:12.16 | tmzt | yes |
14:12.20 | tmzt | # |
14:12.46 | tmzt | cmdline? |
14:13.38 | xsacha2 | set cmdline "root=/dev/mmcblk0p2 rootwait rw init=/init video=pxafb:mode=320:320-16,active rootdelay=5" |
14:14.17 | tmzt | no rootwait |
14:14.20 | tmzt | no ini |
14:14.24 | tmzt | init |
14:14.59 | xsacha2 | set cmdline "root=/dev/mmcblk0p2 rw video=pxafb:mode=320:320-16,active rootdelay=5" |
14:15.16 | tmzt | if your using patched pxafb mode you shouldn't need that |
14:15.22 | tmzt | but it's ok |
14:15.28 | tmzt | boot |
14:16.07 | xsacha2 | booting :) |
14:16.17 | xsacha2 | kernel panic :'( |
14:16.24 | xsacha2 | no init found |
14:16.28 | tmzt | fs? |
14:16.34 | xsacha2 | Try passing init= option to kernel |
14:16.47 | tmzt | mounted? |
14:17.01 | Kevin2 | cr2: zab said go ahead. |
14:17.06 | xsacha2 | that init=/init that was in the cmdline before? |
14:17.16 | tmzt | yeah |
14:17.20 | xsacha2 | put it back? |
14:17.30 | tmzt | for now |
14:18.16 | tmzt | Kevin2: did you see what cr2 said about a make xipboot option for haret? |
14:18.48 | Kevin2 | I saw, but I didn't get the background. |
14:18.58 | Kevin2 | What would "xipboot" do? |
14:19.19 | xsacha2 | hang on.. tmzt.. is the init meant to be in / or in /initfs? |
14:19.53 | tmzt | it would produce a raw binary capable of booting an embedded zImage with embedded default.txt |
14:20.06 | tmzt | xsacha2: / |
14:20.23 | xsacha2 | hang 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.30 | tmzt | no win32 stuff |
14:20.33 | Kevin2 | How is that different from what it does today (with make linload)? |
14:20.42 | tmzt | xsacha2: no, put under root |
14:20.45 | xsacha2 | haha |
14:20.57 | cr2 | Kevin2: it will replace the wince kernel boot |
14:20.59 | tmzt | Kevin2: that's still a pe .exe? |
14:21.17 | cr2 | Kevin2: linload is a wince binary |
14:21.21 | Kevin2 | Oh - so you're thinking of haret without wince? |
14:21.44 | cr2 | not haret, it's a direct replacement of nk.exe |
14:22.10 | cr2 | so 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.38 | progzfr | Hi all |
14:22.44 | lucxxx | hi all |
14:22.45 | Kevin2 | So, haret would still use wince calls then? |
14:22.56 | tmzt | no, just arm |
14:23.19 | tmzt | absolute offsets in stead of resources |
14:23.59 | tmzt | does haret use att asm now? |
14:24.00 | Kevin2 | Oh - 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.11 | tmzt | for mingwce |
14:24.15 | cr2 | Kevin2: haret is a wince program, but xipload will pack tags+zimage+initrd, instead of MZ+... in linload.exe |
14:24.47 | Echo31 | Hi all |
14:25.36 | cr2 | tmzt: yes, it is compiled with gas |
14:25.36 | Kevin2 | tmzt: Haret uses att syntax. |
14:25.36 | cr2 | tmzt: .S vs .asm |
14:25.37 | tmzt | cool |
14:25.54 | Kevin2 | cr2: Why not just use uboot or one of the other standard arm loaders? |
14:26.16 | cr2 | dzo: i've added my observed rpcs http://www.htc-linux.org/wiki/index.php?title=MSM_RPC |
14:26.25 | cr2 | Kevin2: it does not exist for msm afaik |
14:26.45 | tmzt | my question is config parser, an that work without win32 |
14:26.53 | tmzt | too low level |
14:26.54 | xsacha2 | if it's the second partition is it mmcblk0p2 or mmcblk0p1? |
14:27.03 | tmzt | cr2: did you see uboot patch? |
14:27.13 | tmzt | p2 |
14:27.38 | cr2 | tmzt: no |
14:27.45 | tmzt | aurora |
14:27.51 | tmzt | linux project |
14:27.52 | cr2 | can you post the direct link ? |
14:28.00 | tmzt | project resources |
14:28.04 | tmzt | patches |
14:28.13 | tmzt | let me try - on phone |
14:28.35 | cr2 | Aurora SPARC Linux Project ? |
14:29.47 | tmzt | https://www.codeaurora.org/patches/quic/le/u-boot-2009.03_PATCH_2009_05_14.patch |
14:30.02 | tmzt | qualcomm |
14:30.14 | tmzt | registers at the end |
14:30.25 | xsacha2 | well it still says cant find init |
14:30.29 | xsacha2 | even with init=/init |
14:30.40 | tmzt | no init= |
14:30.54 | tmzt | is it extracted under root? |
14:30.54 | xsacha2 | it also says VFS: Mounted root (ext2 filesystem) on device 179:2 |
14:31.01 | tmzt | god |
14:31.04 | tmzt | good |
14:31.09 | xsacha2 | yeah extracted under root.. didnt work without init and not with init either |
14:31.17 | tmzt | odd |
14:31.41 | tmzt | try sbin/init to bin/busybox symlink |
14:31.59 | tmzt | or just init=/bin/sh |
14:32.00 | xsacha2 | k |
14:32.16 | xsacha2 | init=/bin/sh in cmdline? |
14:32.24 | tmzt | yeah, to test |
14:32.28 | xsacha2 | one thing though.. for root=/dev/mmcblk0p2 |
14:32.33 | xsacha2 | should it be p2 or p1? |
14:32.38 | tmzt | p2 |
14:32.41 | xsacha2 | k |
14:33.19 | tmzt | cr2: is nand driver there? |
14:34.11 | dzo | cr2: 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.19 | tmzt | Kevin2: by the way, this would be loaded by spl, no hardware init should be needed |
14:35.36 | cr2 | tmzt: it's for 8x50, not 7x0xX |
14:36.43 | cr2 | dzo: yes, there are some differences in the cam init |
14:38.15 | dzo | cr2: the only rpcs i use for cam init are some clocks. |
14:38.26 | cr2 | tmzt: the nand header is included, looking for the driver. |
14:38.55 | cr2 | dzo: yes, the same here. it's too much PITA to set them in MSM_CLK directly. |
14:40.05 | dzo | last week i played with the plls a bit, lets you overclock the a11. |
14:40.44 | dzo | my vogue is fine up to 580Mhz but my kaiser is not stable over 480. |
14:40.48 | xsacha2 | woah, so weird.. default.txt is empty now n i dunno why |
14:41.45 | *** join/#htc-linux AstainHellbring (n=AstainHe@unaffiliated/astainhellbring) |
14:41.53 | cr2 | tmzt: ehci_hcd_init() ? |
14:42.18 | AstainHellbring | morning |
14:42.19 | cr2 | dzo: lol |
14:42.26 | AstainHellbring | stupid internets |
14:42.54 | *** join/#htc-linux _chab7_3 (n=kvirc@fibhost-67-206-132.fibernet.bacs-net.hu) |
14:43.23 | tmzt | cr2: it seems the board has a more conventional usb host |
14:44.11 | dzo | Nearly 3am here, night all. |
14:45.37 | tmzt | vip bjk says the registers are consistent with what he knows about msm |
14:45.45 | cr2 | dzo: good night |
14:45.46 | tmzt | nand is the same |
14:46.08 | tmzt | viper |
14:46.10 | cr2 | tmzt: not all of them. uart2DM is different |
14:46.30 | tmzt | oh? |
14:46.58 | cr2 | there are some examples for the SD MD/NS too :) |
14:47.17 | *** join/#htc-linux AstainMBL (n=AstainHe@unaffiliated/astainhellbring) |
14:47.23 | tmzt | yeah, all the clock tree seems to be there |
14:47.44 | tmzt | at the end |
14:48.30 | cr2 | uuu. |
14:48.37 | cr2 | the clocks are documented. |
14:48.59 | xsacha2 | set cmdline "root=/dev/mmcblk0p2 rw init=/bin/sh video=pxafb:mode=320:320-16,active rootdelay=5" |
14:49.15 | cr2 | tmzt: with all bits |
14:49.22 | tmzt | yes |
14:49.42 | cr2 | conspiracy :) |
14:49.55 | xsacha2 | kernel panic much? :( |
14:50.21 | tmzt | viperbjk says data mover is basically software in amss, that many devices are only accessible from arm9 core |
14:50.21 | xsacha2 | Failed to execute /bin/sh (and /init and /sbin/init) |
14:50.43 | tmzt | xsacha2: did 7z preserve mode? |
14:50.44 | cr2 | usbh is e4 ... |
14:50.49 | xsacha2 | dont think so tmzt |
14:51.14 | tmzt | chmod +x busybox and init.sysvinit |
14:51.35 | xsacha2 | ok |
14:51.45 | xsacha2 | does it matter you have to be root to read the files? |
14:51.53 | tmzt | yes |
14:52.00 | cr2 | tmzt: still, it's the 8xxx cpu, so we need some register address validation |
14:52.09 | tmzt | dirs should be owned by root |
14:52.15 | tmzt | yeah |
14:52.16 | xsacha2 | ok |
14:54.25 | xsacha2 | i should probably make everything in bin executable right? |
14:54.48 | tmzt | yeah, but most are symlinks |
14:55.02 | tmzt | so it doesn't matter |
14:55.33 | cr2 | b8/bc for tvout... |
14:55.43 | tmzt | cr2: I think this can replace spl when we're ready |
14:57.16 | xsacha2 | still getting kernel panic |
14:57.34 | tmzt | mesage? |
14:57.53 | xsacha2 | Failed to execute /bin/sh. Trying defaults... |
14:58.16 | cr2 | tmzt: the clock regs are not the same |
14:58.27 | tmzt | ah, +x /lib/* |
14:58.36 | xsacha2 | ok |
14:58.47 | tmzt | and /usr/lib/* |
14:58.54 | xsacha2 | lol |
14:58.55 | cr2 | tmzt: tv encoder is at SDC4 |
14:59.10 | tmzt | spi? |
15:00.06 | cr2 | tlmm and tsif are at SDC3 |
15:00.20 | tmzt | what are those? |
15:00.26 | cr2 | so qcom reshuffled some things again |
15:00.36 | cr2 | like between 7200 and 7200A |
15:01.34 | cr2 | compare to http://www.htc-linux.org/wiki/index.php?title=MSM_CLK |
15:01.39 | xsacha2 | exactly.. the same message :( |
15:01.49 | xsacha2 | even with /lib and /usr/lib chmod'ed |
15:02.15 | tmzt | the .so's are +x? |
15:02.30 | cr2 | tmzt: still, it's an extremely useful data source. |
15:02.31 | xsacha2 | yes |
15:02.42 | xsacha2 | -rwxr-xr-x 1 root root 20 2008-04-24 11:05 libnss_compat.so.2 |
15:02.44 | xsacha2 | etc.. |
15:03.05 | tmzt | not sure then |
15:03.21 | cr2 | haha. they documented even the SBI clock |
15:03.25 | xsacha2 | what if i just made it run a hello script? |
15:03.26 | tmzt | you could try hackndev armel |
15:03.40 | tmzt | it won't is sh is bad |
15:03.49 | tmzt | cr2: SBI? |
15:04.06 | tmzt | what about nand? |
15:06.27 | tmzt | http://releases.hackndev.com/debian-lenny-armel-20081004.rootfs.tar.bz2 |
15:06.39 | tmzt | just extract that |
15:06.54 | tmzt | after mke2fs on the partition |
15:07.07 | tmzt | get rid of init= |
15:07.42 | cr2 | tmzt: 68 is ICODEC_RX, but it's i2c on 7xxx |
15:08.12 | cr2 | i2c is 64, like on 7200 |
15:09.38 | cr2 | gp is 54/58 like on 7200 |
15:13.38 | xsacha2 | what could be the problem? it recognises mmcblk0p2 as 2GB ext2 partition, mounts it successfully |
15:14.02 | tmzt | xsacha2: can you try that image? |
15:14.51 | xsacha2 | why do i need to mke2fs? |
15:14.59 | cr2 | pbus_clk=14 |
15:15.23 | tmzt | cr2: for the codecs, it's posible qct wanted to put them in hw to save power |
15:15.59 | tmzt | <PROTECTED> |
15:16.06 | tmzt | on adsp |
15:16.31 | tmzt | I think they added a lower clocked qdsp core |
15:18.18 | progzfr | I 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.22 | progzfr | but I have a error |
15:18.37 | progzfr | error: device not found |
15:18.43 | tmzt | #android |
15:18.55 | progzfr | oops miss ^^ |
15:19.01 | progzfr | It's the wrong channel sorry |
15:19.25 | tmzt | we just don't really know |
15:19.28 | tmzt | they do |
15:19.51 | progzfr | no problem ^^ |
15:24.29 | *** join/#htc-linux lupine_ (n=lupine@89.16.178.98) |
15:25.12 | xsacha2 | i have set kernelcrc 0, set fbduringboot 1, set forcefbduringboot 1.. are these ok? |
15:32.49 | cr2 | tmzt: chipidea/transdimension ehci |
15:33.16 | cr2 | tmzt: afair the transdimension otg code was in atiw32xx |
15:33.28 | cr2 | s/code/core/ |
15:37.07 | xsacha2 | so 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.27 | xsacha2 | it only has folders in root |
15:48.11 | xsacha2 | ok well it sort of worked!! i got a few "unable to stop clock" messages by pxamci |
15:48.16 | tmzt | sbin/init is ther, right? |
15:48.30 | xsacha2 | got an unknown filesystem type "vfat" |
15:48.43 | tmzt | with p2? |
15:48.46 | xsacha2 | a dozen more of those "unable to stop clock" messages and then a login screen |
15:49.06 | xsacha2 | and i dont know the login :( |
15:49.15 | tmzt | root? |
15:49.20 | xsacha2 | root / ? |
15:49.30 | xsacha2 | root /root works :) |
15:49.31 | tmzt | root |
15:50.04 | *** join/#htc-linux wdslbr (n=asa@dslb-088-069-222-136.pools.arcor-ip.net) |
15:50.23 | xsacha2 | it keeps spamming me with that "unable to stop clock" |
15:50.43 | xsacha2 | but i am logged in |
15:51.10 | tmzt | cr2: most of the core is ati? or just gpu? |
15:51.46 | tmzt | xsacha2: that could be the other sdc's it would be best to disable them |
15:52.15 | tmzt | when I get somewhere I'll look at zyl again |
15:52.29 | xsacha2 | umm something big just happened and pxamci just reinitialised all the memory cards again |
15:52.49 | xsacha2 | oh, it's a backtrace :( crashed |
15:52.56 | tmzt | yeah |
15:53.19 | xsacha2 | get_page_from_freelist |
15:53.22 | tmzt | I don't think pxa has more than one mmc host |
15:53.37 | tmzt | so zyl has to be mux'd |
15:54.11 | tmzt | or you have wifi on sdio and the cs is assert |
15:54.16 | xsacha2 | the error was: Unable to handle kernel paging request at virtual address 0a40400d |
15:55.02 | tmzt | would phys be 0x40400d somethint,cr2? |
15:55.39 | tmzt | cr2: 0x400400d |
15:55.40 | tmzt | ? |
15:56.10 | tmzt | why would there be code there???? |
15:56.23 | cr2 | 0x0400400d on pxa ? |
15:56.29 | tmzt | yeah |
15:56.34 | tmzt | no |
15:56.38 | tmzt | <PROTECTED> |
15:56.42 | tmzt | virt |
15:56.56 | xsacha2 | mmc0: req done (CMD13): 0: 00000900 5b590000 3cdc7f80 0a40400d |
15:56.59 | cr2 | virt can be anything |
15:57.05 | xsacha2 | just before error |
15:57.13 | tmzt | for pxa periphs? |
15:57.42 | cr2 | i don't know the pxa3xx map |
15:58.00 | tmzt | ok |
15:58.14 | tmzt | cmd13 is sdhc, you lost mmc bus |
15:58.26 | xsacha2 | yeah |
15:58.40 | xsacha2 | :( |
15:58.57 | tmzt | disable the others if you can |
15:59.08 | xsacha2 | i already did tho |
15:59.10 | tmzt | in zyl310 |
15:59.49 | tmzt | we should think about wtining a new board |
16:00.05 | tmzt | it shouldn't be too dificult |
16:00.09 | xsacha2 | #define MAX_SLOTS 1 // it was 3 (this is mmc slots) |
16:00.19 | tmzt | not enough |
16:00.27 | xsacha2 | there is no zyl310.. there is zyl300 and zyl320 |
16:00.35 | tmzt | that just breaks the array init |
16:00.53 | tmzt | 300 is what your using? |
16:01.01 | xsacha2 | i guess |
16:01.11 | tmzt | do you have ipaq200 source? |
16:01.18 | xsacha2 | i have cpu set as 310 and 300 has code for 310 in it |
16:01.27 | tmzt | ok |
16:02.00 | xsacha2 | what am i meant to change to reduce mmc slots? |
16:02.06 | tmzt | we just need a simple board with mci, fb, keyboard |
16:02.21 | tmzt | have 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.39 | xsacha2 | mine is on http://github.org/xsacha/i780-kernel |
16:04.51 | xsacha2 | zylonite.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.47 | tmzt | hey, WyrM |
16:07.52 | tmzt | pxa fun again |
16:08.01 | WyrM | hi tmzt :) |
16:09.04 | tmzt | does blob load stuff from fat on mmc? |
16:10.07 | xsacha2 | anyway everything was working until the crash |
16:10.44 | WyrM | tmzt: yes. |
16:13.10 | tmzt | cool, think it would be portable to msm, sdcc and usb client? |
16:13.22 | tmzt | including config? |
16:17.39 | WyrM | hum. |
16:17.43 | xsacha2 | i 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.59 | WyrM | its specific to ezx, has driver that only exist on ezx, etc.. |
16:18.09 | WyrM | but well, with enough time, sure ;) |
16:23.47 | xsacha2 | because 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.43 | xsacha2 | it seems like the mmc3 is what my phone has and the other 2.. well i dont have |
16:31.08 | tmzt | WyrM: it's the fat code I don't want to rewrite, I'm looking at genblob, Qi, uboot, etc. |
16:31.46 | WyrM | tmzt: I think that for motoq trying to use gen-blob is worth. Because it has pcap code that you need. |
16:31.56 | WyrM | for other devices, its not worth. |
16:32.04 | WyrM | would be better to get uboot working. |
16:32.32 | WyrM | in fact, the original plan was to have uboot on ezx. |
16:32.45 | tmzt | ah |
16:33.07 | WyrM | but alex zhang wrote the thing and released... I just improved it a little ;) |
16:33.07 | tmzt | uboot feels raw to me |
16:33.29 | tmzt | nick? |
16:33.41 | WyrM | he is not around anymore. :/ |
16:33.53 | WyrM | not on freenode neither on openezx-devel@. |
16:34.12 | tmzt | ah |
16:35.09 | WyrM | http://thisvip.wordpress.com/ |
16:36.32 | xsacha2 | hey i booted lenny again and she's workin! :) |
16:36.38 | xsacha2 | i changed mmc slot to 2 (instead of 0) |
16:36.59 | tmzt | so it's probably just the cd/ro is right for that "port" |
16:37.44 | xsacha2 | yeah 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.51 | xsacha2 | mmc1,mmc2,mmc3 |
16:38.33 | xsacha2 | and i noticed mmc3 is only for pxa310 (not pxa300).. |
16:38.37 | tmzt | ok, that must be cs then |
16:38.48 | tmzt | oh |
16:39.22 | tmzt | so pxa310 has three ports? |
16:39.35 | xsacha2 | apparently.. |
16:39.40 | xsacha2 | in zylonite |
16:39.51 | xsacha2 | and 300 has 2 |
16:40.04 | tmzt | well, if it's pxa310 specific it applies to all pxa310 and is in soc |
16:40.52 | xsacha2 | i 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.59 | xsacha2 | no errors in those 100 pages though |
16:41.10 | tmzt | read this, Kevin2 explains it: http://www.handhelds.org/hypermail/haret/14/1480.html |
16:41.53 | xsacha2 | CMD12 and CMD18 |
16:41.58 | tmzt | if you have libertas, wifi might work, but that's ipaq214 |
16:42.04 | *** join/#htc-linux miknix (n=miknix@gentoo/developer/miknix) |
16:42.08 | tmzt | what do you mean? |
16:44.44 | xsacha2 | i see... so for ipaq.. mmc3 isnt connected but mmc2 is wireless and mmc1 is... SD card? |
16:44.44 | xsacha2 | but for my phone.. mmc1 isnt connected, mmc2 might be wireles and mmc3 is microsd card? |
16:45.06 | xsacha2 | whoops, did you get that message? |
16:45.14 | tmzt | yeah |
16:45.27 | tmzt | possibly, but I don't know |
16:45.47 | tmzt | I guess we can add the right registers to haret/haretconsole to dump the mci status |
16:45.56 | xsacha2 | how can i find out if i have an eth0/eth1? |
16:45.56 | tmzt | but 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.03 | tmzt | you don't :) |
16:46.06 | xsacha2 | k |
16:46.14 | tmzt | not a hardware one at least |
16:46.21 | xsacha2 | wlan0? |
16:46.31 | tmzt | possbily, but we are not there yet |
16:46.35 | tmzt | why are you asking? |
16:46.48 | xsacha2 | just seeing if wireless works |
16:46.53 | tmzt | zylonite is a motherboard, like a computer motherboard |
16:47.09 | tmzt | it's for developing code for the pxa300/310 processor |
16:47.18 | xsacha2 | yeah a developers board |
16:47.24 | tmzt | so it has an ethernet chip, etc. |
16:51.49 | xsacha2 | what are the values in mfp_cfg_t pxa310_mfp_cfg[] __initdata used for? |
16:52.12 | tmzt | mapping the pins on the chip to their functions |
16:53.10 | xsacha2 | isnt that what the .cd variable does in mmc init? |
16:53.59 | xsacha2 | just confusing there's stuff in initdata relevant to mmc3 which seems to be the same as mmc init |
16:56.45 | tmzt | no, these are the physical pins on the chip package |
16:57.03 | xsacha2 | oh ok |
16:57.06 | tmzt | although I think those gpio numbers match |
16:57.31 | xsacha2 | it references them using gpio... etc in initdata |
16:58.13 | tmzt | yeah, at least on pxa27x, if the alt function number is 0 (in most cases) the pin is in gpio mode |
16:58.23 | tmzt | the gpio pin is also the pin number |
16:58.43 | tmzt | that may or may not be the case on pxa3xx |
16:59.55 | xsacha2 | theres a few pxa3xx devices in there.. computex one and some other one |
17:05.08 | xsacha2 | is 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.27 | xsacha2 | anyway, 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.51 | Solvik | hi :) |
17:10.14 | keyhive | hey Solvik |
17:10.48 | Solvik | got a touch pro and i'm googling since a few days about running android on my touch pro |
17:11.14 | Solvik | didn't that there was an irc channel, that's great |
17:11.20 | Solvik | :) |
17:11.30 | keyhive | Solvik, did you get it running with HaRET? |
17:12.05 | Solvik | i didn't try |
17:12.24 | keyhive | I'll get you a link :) |
17:12.31 | Solvik | it 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.50 | xsacha2 | hehe piece of cake and doesnt effect windows :D |
17:12.58 | keyhive | ^ what he said |
17:13.11 | Solvik | also, i really need 3G/Edge, and that doesn't work yet on android, isn't ? |
17:13.13 | keyhive | it's true. you just unzip to the root of your SD card then run HaRET.exe |
17:13.18 | keyhive | It works |
17:13.30 | Solvik | oh ? |
17:13.40 | Solvik | http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux |
17:13.43 | Solvik | the wiki doesn't say that ^^ |
17:13.54 | xsacha2 | haret boots in to linux from windows.. so it doesnt effect your windows and doesnt run inside it either |
17:14.02 | Solvik | nice one |
17:14.24 | keyhive | xsacha2: is more ram used booting from HaRET? |
17:14.24 | Solvik | do i keep my contacts, sms etc? :) |
17:14.50 | keyhive | Solvik: 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.20 | Solvik | and i can use these data on android or do i need to recreate everything ? |
17:15.25 | xsacha2 | eg. take out battery or use soft-reset button and then you're back in windows |
17:15.29 | Solvik | (for non-sim-contacts) |
17:15.52 | xsacha2 | android would require you to recreate all your contacts etc (for non sim contacts) |
17:16.01 | Solvik | wonderful \o/ |
17:16.06 | xsacha2 | but theyll still be there on winmo when you get back to it |
17:16.34 | Solvik | does HaRET has only advantages ? :p |
17:16.57 | xsacha2 | well, disadvantage: you have to run windows first then run linux |
17:17.01 | keyhive | :D |
17:17.01 | xsacha2 | cant just choose as boot menu |
17:17.17 | Solvik | that's the only one, realy ? everything works ? |
17:17.42 | tmzt | yeah, it will all be there |
17:17.57 | tmzt | Solvik: what device? |
17:18.05 | Solvik | HTC Touch Pro |
17:18.14 | Solvik | oh |
17:18.15 | tmzt | which one? |
17:18.17 | Solvik | devices on the phone |
17:18.49 | tmzt | wiki.xda-developers.com |
17:18.51 | Solvik | photo, 3G/edge/wifi, keyboard (most important) |
17:18.57 | keyhive | really wants to develop msm7500 compatibility. Any helpful links [memory maps, repos, etc.] are appreciated. |
17:18.57 | tmzt | but it's the gsm one? fuze or other? |
17:19.14 | tmzt | keyhive: and which device is that for? |
17:19.21 | keyhive | tmzt: htc titan |
17:19.30 | Solvik | tmzt, don't understand sorry |
17:20.01 | tmzt | Solvik: which touch pro do you have? |
17:20.24 | Solvik | i didn't know that there were many versions.. how can i know that |
17:20.24 | tmzt | keyhive: titan is very compatible with vogue for the most part, and it's well supported by dzo's htc-vogue kernel tree |
17:20.42 | tmzt | is it gsm? |
17:20.42 | tmzt | and are you in the us or europe? |
17:20.44 | Solvik | europe, france |
17:20.47 | Solvik | and it's gsm yep |
17:20.47 | keyhive | tmzt: 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.58 | keyhive | tmzt: good info, thank you |
17:21.03 | tmzt | well, that's what we are working on today |
17:21.15 | tmzt | but we are not going to touch spl at this point, just replace the ce kernel |
17:21.41 | Solvik | tmzt, http://www.ldlc.com/fiche/PB00075222.html < that one |
17:21.43 | keyhive | tmzt: what do you mean by replacing it? |
17:21.56 | keyhive | tmzt: is it still in memory on android boot, or something? |
17:22.13 | tmzt | we are talking about making a bootloader that will replace the xip in the .nbh file used to flash the phone |
17:22.28 | keyhive | Oh :) |
17:22.34 | tmzt | it might be in memory, but we have to do this in NAND flash |
17:22.43 | tmzt | it's not enough to modify the ram copy |
17:23.10 | xsacha2 | so basically power on -> custom bootloader (instead of htc one) [options: linux, windows] ... windows -> pda, linux -> ext2 memory card? |
17:23.35 | tmzt | no |
17:23.38 | tmzt | power on |
17:23.42 | tmzt | spl (windows one) |
17:23.52 | tmzt | spl loads the xip partition into ram and jumps to it |
17:24.11 | tmzt | our version of xip loads the kernel, either from already in ram, from nand, or from sd |
17:24.15 | tmzt | then boots the kernel |
17:24.22 | xsacha2 | k |
17:24.32 | xsacha2 | removing the only disadvtange of haret |
17:24.59 | tmzt | yeah, but that means our kernel needs to be able to initialize things we currently rely on windows to initialize |
17:25.56 | Solvik | Latest 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.29 | tmzt | WyrM: what's the gvim command to open a file at a symbol? |
17:27.13 | WyrM | vim -t <symbol> |
17:27.25 | WyrM | I think it depends on ctags or cscope to work. |
17:28.32 | tmzt | yeah, I did make tags cscope |
17:29.05 | xsacha2 | so a lot of stuff in the zylonite.c is useless? like debug LEDs and ethernet? |
17:29.54 | tmzt | yeah |
17:30.15 | xsacha2 | the ethernet that appears in my dmesg isnt related? |
17:31.06 | tmzt | right |
17:34.16 | xsacha2 | mm that means i have no leds :( |
17:34.47 | tmzt | you can only have leds if your hardware has them, but that doesn't tell you how they are connected |
17:34.52 | cr2 | Solvik: a normal raph100 |
17:35.01 | xsacha2 | there is an LED on top of my phone |
17:35.39 | xsacha2 | it goes red when there's power(even if device is turned off) |
17:35.54 | xsacha2 | in winmo it blinks blue with message, green for call, etc |
17:37.03 | xsacha2 | so do i not need smc91 because it's only used for ethernet? |
17:38.59 | tmzt | yes |
17:39.13 | xsacha2 | woah, the code just shrunk a lot |
17:39.34 | tmzt | yeah |
17:39.40 | tmzt | I don't think you need two files either |
17:39.53 | xsacha2 | all thats in there now is some registers, stuff for lcd and mmc |
17:40.00 | xsacha2 | the initdata |
17:40.20 | tmzt | objcopy -O binary -R .note -R .note.gnu.build-id -R .comment -S arch/arm/boot/compressed/vmlinux arch/arm/boot/zImage |
17:40.30 | xsacha2 | huh? |
17:40.40 | tmzt | nothing |
17:41.06 | tmzt | good, pxafb, keyboard, mmc |
17:41.07 | tmzt | great |
17:41.23 | tmzt | comment out mfp config for now as well, we will put it back later |
17:42.46 | xsacha2 | compiles :D |
17:43.38 | tmzt | did you comment out the set mfp config line as well? |
17:44.08 | tmzt | tmzt@shini:~/src/testbooter/small$ /opt/arm-2008q3/bin/arm-none-eabi-as -o test2.o test2.S |
17:44.08 | xsacha2 | not when i just compiled it.. butyeah done that now |
17:44.12 | tmzt | tmzt@shini:~/src/testbooter/small$ /opt/arm-2008q3/bin/arm-none-eabi-objcopy -O binary -R linux test2.o test2.bin |
17:48.06 | tmzt | well, it worked before |
17:48.29 | xsacha2 | whenever i start debian it complains of illegal blocks and tells me to run fsck -- is that ok? |
17:48.39 | tmzt | how many? |
17:48.54 | xsacha2 | 8725 illegal blocks |
17:49.00 | xsacha2 | and fsck failed (code 4) |
17:49.04 | tmzt | no, it shouldn't do that |
17:49.14 | xsacha2 | it's the only error i get though :) in whole start up |
17:50.09 | xsacha2 | fsck error code 4: must be performed in maintenance mode with read-only mount |
17:50.19 | tmzt | ah, remove rw from the CMDLINE |
17:52.32 | xsacha2 | so what should i do now that debian works well? |
17:52.45 | tmzt | are you getting mmc errors? |
17:53.07 | tmzt | as for android, you can just extract everything to that partition and it should work |
17:53.25 | xsacha2 | in 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.29 | tmzt | you need to extract the initramfs, system.img and data (or just mkdir data) |
17:53.36 | tmzt | but we need to fix that first |
17:54.20 | tmzt | Kevin2: any ideas why the mmc would get a clock error on pxa310? I saw an email from you about ipaq214 |
17:55.51 | xsacha2 | it happens straight after "activating swap.. done" |
17:56.09 | tmzt | oh, there might be something in /etc/fstab, comment that out |
17:56.14 | xsacha2 | i actually get 7 of them: pxa2xx-mci pxa2xx-mci.0: unable to stop clock |
17:56.28 | tmzt | .0? didn't you say the sd was on 2? |
17:56.56 | xsacha2 | no, in the zylonite file i do mmc slot[2] but it gives it mmc0 on init? |
17:56.58 | tmzt | check devices.c and see how many there are on PXA310 |
17:57.20 | tmzt | mmc0 is the card, it gives those names out when it sees a device on the bus |
17:57.28 | tmzt | has nothing to do with the slot (host) |
17:57.29 | xsacha2 | ah ok |
17:58.02 | xsacha2 | that post you linked before said he got those voltage/clock messages when it wasnt connected |
17:58.24 | xsacha2 | what am i looking for in devices.c? |
17:58.43 | tmzt | how many mci devices does it define? |
17:58.52 | xsacha2 | 0,1,2,3 |
17:59.01 | xsacha2 | in resources? |
17:59.29 | xsacha2 | with 1 being mmc |
18:00.22 | tmzt | what do you mean by 1 being mmc? |
18:00.42 | tmzt | IRQ_MMC? |
18:01.11 | tmzt | those aren't 4 devices, those are 4 resources |
18:01.27 | xsacha2 | oh ok |
18:01.59 | tmzt | where are pxa3xx devices defined? |
18:02.02 | xsacha2 | is each of those struct ..... _device a device? cause there's a tonne! |
18:02.42 | tmzt | yeah, and those are all inside the chip with the cpu |
18:03.18 | xsacha2 | well there's nand, mci3, mci2, ssp4, ... |
18:03.29 | tmzt | where do you see mci2 and 3? |
18:03.51 | tmzt | outside of zyl |
18:04.01 | tmzt | I see it |
18:04.33 | xsacha2 | .name = "pxa2xx-mci" (that was one giving error.. 2xx) |
18:04.48 | tmzt | no, it should be pxa2xx |
18:04.55 | tmzt | pxa2xx-mci |
18:05.04 | tmzt | the driver is the same |
18:05.08 | xsacha2 | k |
18:05.42 | tmzt | ah, does zyl call pxa3xx_set_mci for all three ports? |
18:06.12 | xsacha2 | i have these 2 weird things in /dev now.. mpu401data and mpu401stat, werent there on angstrom |
18:06.20 | tmzt | mide |
18:06.22 | tmzt | midi |
18:06.26 | tmzt | don't worry about those |
18:06.36 | tmzt | what's in dev is what udev put there |
18:06.45 | xsacha2 | <PROTECTED> |
18:06.55 | *** join/#htc-linux wdslbr (n=asa@dslb-088-069-222-136.pools.arcor-ip.net) |
18:07.00 | tmzt | comment out those in zylonite |
18:07.05 | xsacha2 | ok |
18:07.06 | tmzt | zylonite_init_mmc |
18:07.23 | xsacha2 | all of the lines in mmc? |
18:07.33 | tmzt | which .c file are you modifying? |
18:07.42 | xsacha2 | zylonite.c |
18:07.56 | tmzt | just that file? |
18:08.08 | xsacha2 | <PROTECTED> |
18:08.29 | tmzt | yeah, but hold on |
18:08.42 | tmzt | have you changed either of the other files? zylonite_pxa*.c |
18:08.58 | xsacha2 | to do what? |
18:09.06 | tmzt | have you changed them at all |
18:09.11 | xsacha2 | i changed them before to remove stuff yeah |
18:09.20 | tmzt | let's leave those for now |
18:09.25 | tmzt | are you in mach-pxa? |
18:09.40 | xsacha2 | i removed debug LEDs, ethernet and the stuff you told me to comment |
18:09.45 | xsacha2 | yeah |
18:09.48 | tmzt | cp zylonite.c i780.c |
18:09.57 | tmzt | edit i780.c |
18:10.09 | tmzt | I'm going to tell you what to remove, not comment, remove |
18:10.17 | tmzt | make a copy of what you have first though (backup) |
18:10.31 | xsacha2 | push it? |
18:10.40 | tmzt | no |
18:10.56 | tmzt | just copy i780.c i780-backup.c or whatever |
18:10.59 | xsacha2 | k |
18:10.59 | tmzt | in that directory |
18:11.05 | xsacha2 | but it's backed up in zylonite.c ;) |
18:11.11 | tmzt | ok |
18:11.28 | tmzt | did you ever find what touchscreen is used? |
18:11.34 | tmzt | controller |
18:11.48 | xsacha2 | mmm no, i know which one the omnia uses but i guess it's different |
18:11.55 | tmzt | which? |
18:12.01 | tmzt | oh, the optical mouse? |
18:12.07 | xsacha2 | both |
18:12.15 | tmzt | is there also a touchscreen on i780? |
18:12.18 | tmzt | what are those? |
18:12.30 | xsacha2 | yeah there is touchscreen+optical mouse+qwerty on i780 |
18:12.35 | xsacha2 | omnia has optical mouse+touchscreen |
18:12.55 | tmzt | and you know what touchscreen controller omnia uses? |
18:13.13 | xsacha2 | http://support-köhler.de/andromnia/viewtopic.php?f=7&t=9 |
18:13.38 | xsacha2 | i think that's where it had them |
18:14.33 | tmzt | http://laforge.gnumonks.org/weblog/2009/04/15/ |
18:15.01 | tmzt | what url? |
18:15.14 | tmzt | what is the ? character? |
18:15.44 | tmzt | http://support-köhler.de/andromnia/viewforum.php?f=1 |
18:15.49 | tmzt | hah |
18:15.59 | tmzt | found it searching for andromnia |
18:16.21 | xsacha2 | oh you cant see the character? |
18:17.42 | xsacha2 | thats from leaked service manual |
18:17.49 | xsacha2 | dont think i780 was so lucky |
18:20.00 | tmzt | it has wm9713, which could also be touchscreen, so we'll keep that for now |
18:20.07 | cr2 | tmzt: http://www.marvell.com/products/cellular/application/PXA3xx_series.jsp |
18:20.10 | tmzt | if you are in ce can you test the ts irq? |
18:20.22 | xsacha2 | ok |
18:20.34 | tmzt | cr2: I think we got it now, I was thinking they were muxed but the pxa310 has at least three |
18:21.09 | tmzt | 310 has hw video? wonder what this is and if android will like it |
18:21.39 | xsacha2 | 2d hw video i think |
18:21.58 | xsacha2 | thats what i remember from manual |
18:22.02 | tmzt | 800mhz also |
18:22.11 | xsacha2 | 800mhz is pxa320 |
18:22.18 | tmzt | anyway, ts is not important now |
18:22.20 | xsacha2 | pxa310 maxes out at 624mhz |
18:22.32 | cr2 | tmzt: msm7201A is the only cpu that has no manual ;) |
18:22.48 | tmzt | xsacha2: ready |
18:23.10 | tmzt | let's start be removing resource smc91x_resources block completely |
18:23.14 | tmzt | sorry |
18:23.19 | tmzt | remove: |
18:23.33 | tmzt | init gpio_eth_irq, gpio_debug_led1, gpio_debug_led2 |
18:23.35 | tmzt | int |
18:23.58 | tmzt | smc91x_resources, smc91x_device |
18:25.48 | tmzt | I think we can keep leds, just make the assignments to 0 and we'll not add the device in init |
18:25.57 | tmzt | just comment out the assignments in zylonite_init_leds |
18:26.10 | tmzt | as well as platform_device_register line |
18:26.34 | tmzt | leave pwm for now |
18:27.07 | tmzt | remove the toshiba pxa modes, leave the i780 one |
18:27.26 | tmzt | remove the sharp ones as well |
18:27.39 | tmzt | and the lcd_info blocks, except i780 |
18:28.22 | tmzt | did 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.33 | xsacha2 | whoops, my ethernet fell out |
18:29.42 | xsacha2 | [04:27] <xsacha2> whenever i touch screen, i get: GEDR0: GPIO23(87)=1 |
18:29.43 | tmzt | xsacha2: please read the end of the logs, irclog.netripper.com |
18:29.44 | xsacha2 | [04:28] <xsacha2> whenever i slide over optical mouse, i get: GEDR0: GPIO20(84)=1 |
18:29.53 | tmzt | good |
18:31.12 | xsacha2 | i had already removed leds, eth and smc91x completely (even the include header) :P |
18:31.19 | tmzt | cool |
18:31.22 | tmzt | ok |
18:31.35 | xsacha2 | i left behind the prototype of led function tho, just in case |
18:31.40 | tmzt | we can always put leds back later if they turn out to be gpio |
18:31.44 | tmzt | fine |
18:31.47 | tmzt | the rest? |
18:32.30 | xsacha2 | toshiba pxa.. looking |
18:32.47 | tmzt | you have a new lcd defined for i780 right? |
18:32.54 | tmzt | _mode and _info? |
18:33.25 | xsacha2 | i780_mode? |
18:33.31 | tmzt | yeah |
18:34.06 | xsacha2 | theres no other one tho |
18:34.25 | tmzt | okay |
18:34.31 | tmzt | can you pastebin just that file? |
18:34.33 | xsacha2 | yeah i removed the ro |
18:38.53 | xsacha2 | github takes forever |
18:39.06 | tmzt | they file on your harddrive |
18:39.29 | xsacha2 | http://github.com/xsacha/i780-kernel/blob/dc71d0c9f1d7c21d26f43470c4e1ce6f7f6b6c2b/arch/arm/mach-pxa/i780.c |
18:40.10 | tmzt | remove zylonite.h, but if we need something copy that file to i780.h |
18:40.54 | xsacha2 | ok |
18:41.41 | tmzt | ah, there is pdata for each slot |
18:41.41 | xsacha2 | #define EXT_GPIO(x) (128 + (x)) |
18:41.49 | xsacha2 | really? 128+ ?! |
18:41.51 | tmzt | I think that's okay |
18:42.01 | tmzt | 128 are soc, the rest are gpio |
18:42.06 | xsacha2 | ah ok |
18:42.24 | xsacha2 | so that mmc 105.. should that have been 105 or 128+105? |
18:42.38 | xsacha2 | the cd |
18:42.42 | tmzt | no |
18:42.48 | tmzt | wait, maybe |
18:42.55 | tmzt | but not 128+105 |
18:43.23 | tmzt | we used the pxa27x haretconsole code, which has less soc gpios |
18:43.32 | tmzt | but didn't detect work? |
18:43.46 | tmzt | if you remove the mmc will booting linux, does it detect it? |
18:43.49 | xsacha2 | detect gave us GPIO105 |
18:43.55 | tmzt | in haret |
18:43.57 | cr2 | tmzt: edit mach-pxa.py |
18:44.14 | tmzt | cr2: we did, but just to trick it to use PXA27x regs |
18:44.21 | tmzt | cr2: so we need to do it right |
18:44.30 | cr2 | are they the same ? |
18:44.42 | xsacha2 | huh? mach-pxa.py is where? |
18:44.44 | tmzt | gpios? |
18:44.49 | tmzt | regs-pxa.py in haretconsole |
18:44.52 | cr2 | when i see how msm changes the reg layout... |
18:45.15 | cr2 | but pxa26x -> pxa27x was also not painless |
18:45.46 | tmzt | the haret side is written, melgurth gave me the patch yesterday |
18:45.51 | tmzt | but not haretconsole |
18:46.27 | xsacha2 | dunno what im looking for in regs-pxa |
18:46.54 | cr2 | btw, i'm wondering what is the relationship between the s3c64xx and msm. |
18:47.01 | tmzt | why? |
18:47.29 | xsacha2 | it's quite small... GEDR's go up in 32s |
18:47.42 | tmzt | yeah, each bit is a gpio |
18:48.01 | tmzt | they are in banks of 32, what we need to know is how many banks pxa310 has |
18:48.04 | tmzt | and how many are soc |
18:48.11 | tmzt | as well as the addresses |
18:48.30 | tmzt | you can look in the marvel pdfs or in the kernel headers for this |
18:48.41 | tmzt | in kernel it should be mfp-pxa3xx.c |
18:48.56 | xsacha2 | well 27x has 4 banks of EDR, PLR, PDR and AFR of 32 each |
18:49.24 | par | infidel206: 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.42 | xsacha2 | i dont get any par |
18:50.28 | par | sorry i'm talkin about a different phone to someone who's running a customized distro |
18:50.45 | tmzt | par: asic3_mmc errors? |
18:50.52 | par | yes |
18:51.20 | tmzt | you are going to have to ask pH5 I guess, but distro shouldn't really matter here |
18:51.27 | par | asic3_irq_demux: interrupt processing overrun |
18:51.43 | par | dunno, pretty sure i had everything set up right |
18:51.56 | par | i added swap but didn't put it in /etc/tab |
18:51.57 | tmzt | it's the code, it's still experimental |
18:52.05 | tmzt | swapon? |
18:52.13 | tmzt | it's probably too much for it |
18:52.23 | par | yah i'm thinking so |
18:52.33 | par | well let me see if i can get it regardless of all the errors |
18:54.12 | xsacha2 | #define MFPR_BASE (0x40e10000)... 128 GPIOs and then 6 GPIO#2s? |
18:54.26 | tmzt | okay, that's probably it |
18:54.35 | tmzt | don't know what MPFR is though |
18:54.53 | tmzt | but you can use any name for the registers in the .py file it looks like |
18:54.59 | xsacha2 | MPFR is prefix to everything in there |
18:55.19 | tmzt | try the pdf, that's too linux specific |
18:55.25 | xsacha2 | MPFR_SLEEP_DATA, MPFR_DRIVE, MPFR_EDGE_.. |
18:55.42 | tmzt | EDGE, that should be GEDR I would think |
18:56.16 | xsacha2 | the only prefix in there is MPFR and GPIO |
18:57.09 | xsacha2 | #define ADXER_WTSI (1 << 29) /* Touchscreen */ |
18:57.32 | tmzt | cool, can use these: http://www.alibaba.com/product-gs/232650282/Windows_mobile_6_1_mobile_phone.html |
18:57.37 | tmzt | ? |
18:57.42 | *** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it) |
18:57.49 | xsacha2 | #define ADXER_WOST (1 << 30) /* OS Timer */ |
18:57.50 | par | hmm cdc |
18:58.06 | par | cdc_net comes up showing its loaded on console |
18:58.08 | xsacha2 | are those any useful? |
18:58.25 | par | but when i set my up to 192.168.0.200 on usb0 i can't ssh to 192.168.0.202 |
18:58.39 | par | gives me a no route to host failure |
18:58.53 | par | guess that means my cdc_net on the linux side isn't setup |
18:59.25 | xsacha2 | #define CKEN_TOUCH 25 /* < Touch screen Interface Clock Enable */ ? |
18:59.42 | par | i shouldn't need to add a host route for it should i? |
19:00.21 | tmzt | is it set to auto usb0 in /etc/network/interfaces? |
19:00.52 | tmzt | (on the device) |
19:01.17 | tmzt | xsacha2: I meant can we use these, as in the hardware, for a project |
19:01.43 | cr2 | par: which kernel is that? |
19:02.16 | xsacha2 | the kernel header has a list of GPIO defines with comment saying what they are -- is this useful? |
19:02.29 | tmzt | not for this |
19:03.21 | cr2 | tmzt: is 'dump gpio' of any use on pxa3xx ? |
19:03.32 | tmzt | possibly |
19:03.40 | par | cr2: its hh20 |
19:03.45 | tmzt | it doesn't even show all of them on pxa27x though |
19:03.47 | cr2 | par: ok |
19:03.55 | tmzt | par: oh, I thought you were testing the new kernel |
19:04.02 | par | there is a new kernel? |
19:04.42 | xsacha2 | dump gpio lists some stuff p to 83 |
19:04.52 | par | i've got whatever kernel infidel206 was using with lenny |
19:04.58 | xsacha2 | gpio status? |
19:05.12 | tmzt | par: pH5 is porting asic3_mmc to the upstream kernel |
19:05.43 | cr2 | par: but his kernel crashes during boot |
19:06.22 | cr2 | maybe because it's a pxa263 and not pxa27x cpu |
19:06.36 | par | oh i see |
19:06.53 | par | what current version is available from the repo? |
19:07.19 | par | 2.6.21? |
19:07.37 | tmzt | xsacha2: ah, it is called MFPR |
19:08.05 | tmzt | they redesigned the whole thing |
19:08.11 | xsacha2 | :( |
19:08.26 | xsacha2 | so the values i get through haretconsole arent accurate? |
19:08.31 | tmzt | rather than multiple registers controlling the different functions of the pin, it looks like one register per pin |
19:08.34 | tmzt | yeah |
19:08.38 | tmzt | but you can fix that |
19:08.47 | cr2 | par: yes |
19:10.01 | tmzt | xsacha2: let me read some more, it would be helpful if it described what changed |
19:10.38 | xsacha2 | i looked at 2xx header and 3xx header in kernel.. com-pletely different! |
19:11.23 | xsacha2 | the 3xx is much simpler and short.. and easier to understand.. the 2xx is pretty messy, long and has some weird methods |
19:12.38 | tmzt | http://www.marvell.com/files/products/cellular/application/PXA3xx_DM_Vol_I.pdf |
19:13.01 | tmzt | yeah, they are trying to make them generic mfp devices |
19:13.08 | tmzt | but pxa27x doesn't really map that well |
19:13.43 | tmzt | read section 5, copy the values from one of those tables into a table like the one in regs-pxa.py |
19:13.58 | tmzt | what I don't see is if we need to define the irqs, etc. differently |
19:14.21 | tmzt | but for now make a Regs_pxa31x |
19:14.42 | xsacha2 | in haretconsole? |
19:14.48 | tmzt | unless you can see in the headers how different 31x is from 3xx in this area |
19:14.49 | tmzt | yes |
19:16.22 | xsacha2 | i dont quit eget the irqsl = ( ... and they all have special names |
19:16.37 | tmzt | let's leave those for now |
19:16.40 | xsacha2 | do i just make up a name based on the comments in header? |
19:16.53 | tmzt | no, use the one from the pdf I linked |
19:19.28 | par | zImage is 154220 |
19:20.13 | par | that sound like hh20? |
19:20.20 | xsacha2 | so on pxa3xx, the GPIO controller and GPIO pin is the same thing (sort of, they are connected)? |
19:20.27 | tmzt | par: no idea |
19:20.37 | tmzt | basically |
19:21.04 | tmzt | your interested in GEDR and GPLR |
19:21.59 | xsacha2 | there 128 set of normal pins.. and then another set of pins.. 6 for 30x, 10 for 31x and 17 for 32x |
19:22.23 | par | wow, yeah its not 2.6.21-hh20-r16 |
19:22.35 | par | its much bigger |
19:22.47 | tmzt | so there's 128 registers total, according to the pdf |
19:22.51 | par | welp, i'll just have to ask him. |
19:23.03 | xsacha2 | what about the secondary ones tmzt? |
19:23.09 | tmzt | where? |
19:23.29 | xsacha2 | page 134 it mentions the secondary ones |
19:23.49 | xsacha2 | GPIO_2_1 -> 17 |
19:24.39 | tmzt | it looks like it's so they can be mapped to different pins if the primary one is in use |
19:24.47 | xsacha2 | k |
19:24.53 | tmzt | not registers, gpios total |
19:25.21 | tmzt | so I don't know what GPIO_EXT is about, it might be zyl specific, like an asic or cpld or i2c extender |
19:25.26 | tmzt | but I don't see that |
19:25.50 | xsacha2 | well adding 128 doesnt sound too good |
19:25.56 | tmzt | yeah |
19:26.08 | tmzt | so lets fix haretconsole and then we'll know |
19:26.10 | xsacha2 | why did it work for me though? |
19:26.26 | xsacha2 | maybe it wraps back around after going over 128 so it doesnt matter? |
19:26.30 | tmzt | I think it ignored the detect and just started talking to the card |
19:26.42 | xsacha2 | oh ok |
19:29.10 | tmzt | I 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.24 | tmzt | ah, I had -EB instead of -EL in objdump |
19:36.49 | xsacha2 | mmmmm 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.03 | tmzt | and I have to use a load address of beginning of ram or these labels won't make any sense |
19:37.20 | tmzt | xsacha2: 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.55 | tmzt | know why EXT_GPIO is needed, but then if 128 is total gpios how could 105 be right? |
19:38.06 | xsacha2 | no idea |
19:38.25 | xsacha2 | ill try with 128+x against just to check if it was something else i did.. |
19:38.38 | tmzt | because GEDR is the same |
19:38.48 | tmzt | 0x40E00048 |
19:38.59 | tmzt | 4c |
19:38.59 | tmzt | 50 |
19:39.03 | tmzt | yes |
19:39.30 | tmzt | and the next address are reservered, I guess for more gpios |
19:39.41 | cr2 | tmzt: EXT_GPIO is for the gpio extender ? |
19:40.16 | tmzt | don't know |
19:40.27 | xsacha2 | ah nup, it was something else i changed! |
19:40.32 | tmzt | GEDR3: 0x40E00148 |
19:40.52 | tmzt | which is not in Regs_pxa27x |
19:41.18 | tmzt | Regs_pxa = Regs_pxa27x.copy() |
19:41.19 | tmzt | Regs_pxa.update({ 0x40D00000: ("ICIP", irqs1) }) |
19:41.19 | tmzt | memalias.RegsList['ARCH:PXA'] = Regs_pxa |
19:41.25 | tmzt | add another one of those |
19:41.32 | tmzt | hold on |
19:41.48 | xsacha2 | so.. have two of them? |
19:41.59 | tmzt | oh, PXA is just pxa25x and 26x |
19:42.06 | tmzt | two of what? |
19:42.15 | xsacha2 | i have that down the bottom already |
19:42.30 | tmzt | yeah I know |
19:42.46 | tmzt | it looks like pxa27x was added first, but the gpio registers are the same |
19:43.25 | tmzt | ok, I think we can copy Regs_pxa27x and just update() it |
19:43.31 | tmzt | as in |
19:43.45 | tmzt | before the # PXA 26x registers part |
19:44.36 | tmzt | Regs_pxa3xx = Regs_pxa27x.copy() |
19:44.49 | tmzt | Regs_pxa3xx.update( ... ) |
19:45.13 | tmzt | memalias.RegsList['ARCH:PXA3xx'] = Regs_pxa3xx |
19:45.25 | xsacha2 | so remove the 26x part? |
19:45.29 | tmzt | if we need to change irqs1 we can do that as well |
19:45.36 | tmzt | no, unless you mean what I just had you copy |
19:46.17 | xsacha2 | # PXA 26x registers ? |
19:46.22 | tmzt | Kevin2: does this sound right to you? |
19:46.56 | tmzt | xsacha2: don't delete any existing code unless you just added it |
19:47.12 | xsacha2 | why would i delete what i added? hmm |
19:47.42 | tmzt | because I said to copy something, and was going to modify it to what we need |
19:47.49 | tmzt | but I had you put it in the wrong place |
19:47.58 | xsacha2 | oh ok |
19:50.01 | par | is the current kernel newer than 2.6.21-hh20-r16? |
19:52.33 | xsacha2 | i found out why it wasnt recognising my SD card. it was the sets you had me comment |
19:52.57 | xsacha2 | if (cpu_is_pxa310()) pxa3xx_set_mci3_info(&zylonite_mci_platform_data); |
19:54.54 | xsacha2 | uncommenting this gives my sd card back :D |
19:56.30 | xsacha2 | ok now i set EXT_GPIO to x (instead of x+128) and it booted fine |
20:06.15 | par | hrm hh20-r16 boots into tlenny fine.. still no usbnet though |
20:06.23 | cr2 | par: no, but pH5 is working on a 2.6.30 version |
20:06.34 | par | cr2: ok thanks |
20:06.52 | cr2 | par: you have compiled the pxa25_usb ? puen gpio enabled ? |
20:07.54 | tmzt | BA is pxa25x? |
20:08.07 | par | cr2: its lenny so i'm going to have to set it up form the rootfs side apparently |
20:08.12 | par | heh |
20:10.21 | par | i'm manually typing on the ba keyboard |
20:13.30 | cr2 | lol |
20:13.37 | cr2 | tmzt: BA is pxa263 |
20:14.49 | par | yes, manually typing on the BA is a fate similiar to hell |
20:15.36 | xsacha2 | how come? |
20:16.12 | par | you haven't seenone obviously |
20:16.35 | xsacha2 | nup |
20:17.07 | xsacha2 | i get confused by those weird names like blueangel |
20:17.18 | xsacha2 | over here they are called touch, touch pro, cruise, etc.. |
20:17.39 | tmzt | cr2: ah, okay |
20:17.40 | par | ah, well i also have a touch |
20:18.20 | tmzt | touch - elf/elfin/vox?? or polaris/vogue |
20:18.30 | par | right, mine would be the vogue |
20:18.34 | xsacha2 | why do uk and us operators kill the names? |
20:18.56 | par | its all about makin' dollas and sellin rock on the cornah |
20:19.07 | xsacha2 | like the samsung tocca and samsung tocca ultra.. instead of.. omnia |
20:20.16 | cr2 | tmzt: merged the uboot clocks http://www.htc-linux.org/wiki/index.php?title=MSM_CLK |
20:20.43 | cr2 | xsacha2: we need some unique hw id, not some marketing fluff |
20:21.11 | tmzt | tocca? |
20:21.12 | xsacha2 | in UK omnia is called tocca? |
20:21.26 | cr2 | xsacha2: and these unique names are built into the bootloader. like raphXXX for touch pro. |
20:21.50 | xsacha2 | yeah but then operators change name too |
20:22.08 | xsacha2 | and i absolutely hate the american companies like verizon that stick their ugly name on the phone |
20:22.14 | xsacha2 | it devalues it by atleast $200 |
20:24.12 | cr2 | LOL |
20:24.49 | par | i did an ifconfig -a |
20:24.57 | par | no devices.. no wonder. |
20:25.03 | par | i'll chekc out dmesg |
20:25.17 | cr2 | par: is the pxa25_usb loaded ? |
20:26.21 | par | ouch no modules |
20:29.04 | cr2 | is it compiled in ? /proc/ksyms |
20:31.25 | par | no /proc/ksyms |
20:31.39 | par | theres /proc/kallsyms tho |
20:32.00 | par | findin that out was excruciating |
20:32.02 | par | lol |
20:34.09 | xsacha2 | USBs have a max insertion of 10,000? :O |
20:34.16 | par | i have /lib/modules/2.6.21-hh20/ |
20:34.21 | xsacha2 | mine will be dead soon |
20:34.21 | cr2 | xsacha2: 1000 |
20:34.22 | par | does that look right? |
20:34.28 | xsacha2 | lol |
20:34.43 | xsacha2 | i know it's more than 1000 coz ive done more than 1000 already |
20:35.00 | cr2 | xsacha2: 3 years |
20:35.26 | cr2 | lol. use wifi |
20:35.49 | xsacha2 | takes a bit longer |
20:38.28 | par | hmm well the modules must be ok cuz i can manually moprobe them into running |
20:40.23 | par | aww |
20:40.48 | par | firmware image wlangen.bin was not provided |
20:41.30 | par | cr2 |
20:41.53 | par | is 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.03 | tmzt | par: what wifi does it use? |
20:43.10 | tmzt | par: acx? |
20:43.21 | par | i'll have to find |
20:43.23 | par | yes |
20:43.35 | par | lenny is mising the firmware |
20:44.10 | par | how do i bring up the usb ethernet gadget on this.. is there a kernel module/ |
20:47.15 | cr2 | par: it's strange that it is not working for you |
20:47.39 | cr2 | par: even when we didn't know puen, it was already working. i.e. from the very beginning |
20:47.50 | par | well it was working on the other kernel... |
20:48.02 | par | but i replaced that one because it was bugging bigtime |
20:48.13 | par | i replaced it with hh20-r16 |
20:48.17 | par | and few errors... |
20:49.17 | BabelO | hi |
20:49.28 | BabelO | par: what are you working on ? |
20:49.36 | par | hi babel0 |
20:50.13 | par | i have 2.6.21-hh20-r16 kernel and that haked up armel rootfs |
20:50.28 | par | of debian lenny |
20:50.49 | cr2 | BabelO: it seems that we will have 2.6.30 soon :) |
20:51.09 | BabelO | cr2: yes i read ph5 works on mmc |
20:51.23 | BabelO | cr2: what about docg3 ? |
20:51.29 | par | did you gusy see that he has it working on the h4700? |
20:52.13 | par | i was talking to him about it earlier today |
20:52.23 | cr2 | BabelO: ali1234 said it worked for him on wizzard |
20:52.40 | BabelO | cr2: ok |
20:52.52 | cr2 | par: yes. that means it will work on uni and sable too |
20:53.13 | cr2 | par: but ba is pxa263, which is a bit older cpu |
20:56.28 | par | cr2: do you think it will ever work on it? |
20:57.43 | tmzt | what does cpu have to do with it? |
20:58.13 | par | i have faith in pH5 i'm sure he'll work out why its throwing that error |
21:00.11 | cr2 | tmzt: pxa27x vs pxa25x. different usb drivers |
21:00.13 | Kevin2 | tmzt: The python stuff looks right. |
21:00.24 | Kevin2 | tmzt: I have no idea about pxa3xx stuff. |
21:01.05 | tmzt | cool, we're trying to convert the pdf registers |
21:01.30 | tmzt | from Marvel pdf I mean |
21:02.22 | Kevin2 | Wow - did they actually release documentation? |
21:02.49 | tmzt | yeah |
21:02.56 | tmzt | even video accel |
21:03.28 | cr2 | Kevin2: http://www.marvell.com/products/cellular/application/PXA3xx_series.jsp |
21:04.13 | cr2 | and samsung s3c6400 too |
21:04.28 | cr2 | only qualcomm has something to hide. |
21:04.30 | tmzt | cr2: why did you say qualcomm is similar to samsung? |
21:05.04 | cr2 | tmzt: there was some spl message like 'initializing s3c460' |
21:05.18 | tmzt | where? |
21:05.22 | tmzt | from hermes? |
21:06.03 | cr2 | no. titan or something |
21:06.28 | cr2 | hmm. mddi bridge ?? |
21:07.34 | cr2 | don't remember exactly |
21:15.53 | Echo31 | Hi all |
21:16.22 | Echo31 | Can you help me to fill the correct values of htc_egpio_chip and htc_egpio_platform_data for htc athena ? |
21:18.22 | cr2 | Echo31: for which kernel ? |
21:18.55 | Echo31 | cd2: it is for 2.6.30.r4 |
21:21.25 | cr2 | Echo31: where is this kernel can be found ? |
21:22.09 | Echo31 | cr2: from 2.6.21; i write this code: |
21:22.17 | cr2 | Echo31: it's probably best to ask pH5, but you can compare with his 2.6.30 kernel for hx4700, or magician |
21:22.47 | cr2 | ok |
21:23.26 | cr2 | Echo31: how do you deal with the second htc-egpio location depending on the first htc-egpio bit ? |
21:24.16 | Echo31 | static struct resource egpio_cpld2_resources[] = { |
21:24.16 | Echo31 | { |
21:24.16 | Echo31 | .start = HTCATHENA_EGPIO_CPLD2_BASE_0, // HACK ALERT! |
21:24.16 | Echo31 | .end = HTCATHENA_EGPIO_CPLD2_BASE_0 + 0x2*2, /* 1 reg */ |
21:24.16 | Echo31 | .flags = IORESOURCE_MEM, |
21:24.19 | Echo31 | }, |
21:24.21 | Echo31 | }; |
21:24.23 | Echo31 | static struct htc_egpio_chip egpio_cpld2_chips[] = { |
21:24.25 | Echo31 | { |
21:24.27 | Echo31 | .reg_start = 0, |
21:24.29 | Echo31 | .gpio_base = 2*GPIO_BASE_INCREMENT, |
21:24.31 | Echo31 | .num_gpios = 24, |
21:24.33 | Echo31 | .direction = HTC_EGPIO_OUTPUT, |
21:24.35 | Echo31 | }, |
21:24.37 | Echo31 | }; |
21:24.39 | Echo31 | static struct htc_egpio_platform_data egpio_cpld2_info = { |
21:24.41 | Echo31 | .reg_width = 8, |
21:24.45 | Echo31 | .bus_width = 16, |
21:24.47 | Echo31 | .irq_base = IRQ_BOARD_START, |
21:24.49 | Echo31 | .num_irqs = ?, |
21:24.51 | Echo31 | .ack_register = ?, |
21:24.53 | Echo31 | .chip = egpio_cpld2_chips, |
21:24.55 | Echo31 | .num_chips = ARRAY_SIZE(egpio_cpld2_chips), |
21:24.57 | Echo31 | }; |
21:24.59 | Echo31 | static struct platform_device egpio_cpld2 = { |
21:25.01 | Echo31 | .name = "htc-egpio", |
21:25.03 | Echo31 | .id = 1, |
21:25.06 | Echo31 | .resource = egpio_cpld2_resources, |
21:25.07 | Echo31 | .num_resources = ARRAY_SIZE(egpio_cpld2_resources), |
21:25.09 | Echo31 | .dev = { |
21:25.11 | Echo31 | .platform_data = &egpio_cpld2_info, |
21:25.15 | Echo31 | }, |
21:25.16 | tmzt | cr2: s1d? |
21:25.17 | Echo31 | }; |
21:25.19 | Echo31 | <PROTECTED> |
21:25.21 | Echo31 | <PROTECTED> |
21:25.23 | Echo31 | static struct resource egpio_cpld1_resources[] = { |
21:25.25 | Echo31 | { |
21:25.27 | Echo31 | .start= HTCATHENA_CPLD1_BASE, |
21:25.29 | Echo31 | .end= HTCATHENA_CPLD1_BASE + 0x20, |
21:25.31 | Echo31 | .flags= IORESOURCE_MEM, |
21:25.31 | cr2 | Echo31: you are evil. use pastebin next time. |
21:25.33 | Echo31 | }, |
21:25.35 | Echo31 | }; |
21:25.37 | Echo31 | static struct htc_egpio_chip egpio_cpld1_chips[] = { |
21:25.39 | Echo31 | { |
21:25.41 | Echo31 | .reg_start = 0, |
21:25.45 | Echo31 | .gpio_base = GPIO_BASE_INCREMENT, |
21:25.47 | Echo31 | .num_gpios = 24, |
21:25.49 | Echo31 | .direction = HTC_EGPIO_INPUT, |
21:25.51 | Echo31 | .initial_values = 0x40, /* EGPIO_HTCATHENA_GSM_RESET */ |
21:25.53 | Echo31 | }, |
21:25.55 | Echo31 | |
21:25.57 | Echo31 | }; |
21:25.59 | Echo31 | static struct htc_egpio_platform_data egpio_cpld1_info = { |
21:26.01 | Echo31 | .reg_width = 8, |
21:26.03 | Echo31 | .bus_width = 16, |
21:26.05 | Echo31 | .irq_base = IRQ_BOARD_START, |
21:26.07 | cr2 | tmzt: no, it's for 7500 device |
21:26.07 | Echo31 | .num_irqs = ?, |
21:26.09 | Echo31 | .ack_register = ?, |
21:26.11 | Echo31 | .chip = egpio_cpld1_chips, |
21:26.15 | Echo31 | .num_chips = ARRAY_SIZE(egpio_cpld1_chips), |
21:26.17 | Echo31 | }; |
21:27.44 | cr2 | Echo31: .start = HTCATHENA_EGPIO_CPLD2_BASE_0, // HACK ALERT! |
21:28.14 | xsacha2 | i have that i780.c really small now |
21:31.18 | Echo31 | I foresee to merge the code from magician (2.6.21) with the htxathena(2.6.30). |
21:33.46 | cr2 | Echo31: .21 has different htc-egpio api |
21:34.40 | Echo31 | Yes; the structures are different |
21:34.40 | tmzt | xsacha2: great, do you know how to add it to Kconfig and Makefile? |
21:34.51 | tmzt | xsacha2: that forum I linked to had instructions |
21:35.13 | tmzt | xsacha2: 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.04 | xsacha2 | yeah |
21:36.15 | xsacha2 | i have it compiling |
21:36.17 | xsacha2 | no regressions |
21:36.29 | xsacha2 | still has that clock error at startup... weird.. i dunno |
21:36.35 | xsacha2 | want a pastebin of i780.c? |
21:37.08 | par | interesting, on the HTC Harrier i get "gsm_alerting irq" |
21:37.40 | par | but not very often |
21:38.06 | par | about every 75 second |
21:38.21 | xsacha2 | tmzt: i780.c http://pastebin.ca/1441535 |
21:38.52 | par | or every 30 seconds actually |
21:39.41 | tmzt | xsacha2: okay, I guess you need to register a machtype now |
21:39.53 | tmzt | to change MACHINE_START |
21:40.31 | tmzt | you should also really remove mtd for now |
21:40.44 | tmzt | it can cause problems if somebody tries to use it |
21:40.49 | cr2 | par: may be different |
21:40.54 | tmzt | and the partitions are not right for i780 |
21:42.01 | *** join/#htc-linux xsacha (n=sacha@123.100.137.226) |
21:42.02 | tmzt | and you don't need lcd_detect |
21:42.31 | xsacha | whoops |
21:45.50 | xsacha | so when you say i dont need lcd detect.. i can remove the whole function? |
21:46.28 | Echo31 | cr2: i will ask to pH5 for my problem. |
21:46.41 | xsacha | i dont know what to do about those partitions /mtds :\ |
21:47.05 | par | cr2: 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.31 | cr2 | par: 4=5 for video |
21:48.42 | cr2 | par: but your gpio usage may be different |
21:49.02 | par | cr2: yup, and thats still all good afaik |
21:49.15 | cr2 | par: you can check if this 'gsm wakeup' gpio is really a wakeup gpio, but dumping gpio config and comparing to wiki |
21:49.53 | par | it doesn't happen in angstrom |
21:50.48 | par | the only difference is that i'm using a rootfs for debian lenny armel |
21:51.00 | par | instead of the angstrom rootfs |
21:53.43 | par | hmm looks like debian squeeze armel has gpe |
21:53.58 | par | hehe "emdebian" |
21:58.27 | xsacha | i 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.26 | par | where did you find it? |
21:59.37 | xsacha | huh? |
21:59.47 | par | oh you just threw the rootfs on |
22:00.01 | par | yeah, you have to clean up after it |
22:00.02 | xsacha | just booted it up and typed bim /etc/fstab |
22:00.09 | xsacha | :( k |
22:00.19 | par | i have two |
22:00.30 | par | one for autorun to exec haret (windows partition) |
22:00.40 | par | and then the linux rootfs |
22:00.48 | par | but i also made a swap partition |
22:00.56 | par | so i technically have three |
22:05.27 | cr2 | tmzt: can you confirm the 6150 amss for raph500 ? |
22:05.59 | *** join/#htc-linux Moku (n=John@g228210216.adsl.alicedsl.de) |
22:06.02 | tmzt | how? |
22:06.51 | cr2 | smem, or after soft-reset |
22:13.54 | tmzt | -6150 |
22:14.29 | cr2 | ok |
22:14.58 | cr2 | so we need 2 versions, or to check if they are the same |
22:16.28 | cr2 | tmzt: 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.32 | xsacha | 2265 Samsung i780 Mobile Phone i780 Sacha |
22:21.35 | tmzt | cr2: what do you want me to check? |
22:21.40 | tmzt | xsacha: yay |
22:22.05 | tmzt | add that to arch/arm/tools/mach-types at the end |
22:22.15 | cr2 | tmzt: i will need the rpc traces for calling and answering a call |
22:22.23 | xsacha | and then MACHINE_START(I780, .. ? |
22:22.26 | tmzt | then change MACHINE_START |
22:22.27 | tmzt | yes |
22:22.34 | tmzt | cr2: how do I get those? |
22:23.10 | cr2 | tmzt: enter haret |
22:23.26 | tmzt | ok, let me get that |
22:27.49 | *** join/#htc-linux infernix (i=nix@unaffiliated/infernix) |
22:28.39 | tmzt | cr2: ok |
22:28.57 | tmzt | did you find the address in the smem.bin? |
22:30.05 | xsacha | it all compiles and works :) |
22:30.16 | tmzt | sd? |
22:30.34 | tmzt | so it is 105, even though it's greater than 96? |
22:31.35 | xsacha | im not sure if it is 105 |
22:31.41 | xsacha | all i know is it works |
22:31.45 | *** join/#htc-linux hollo (n=hollo@3e6b7b2c.rev.stofanet.dk) |
22:32.03 | tmzt | does removing reinserting the card work, you should really test that with initramfs though |
22:33.06 | xsacha | yeah it's hard when im running it off that card ;) |
22:33.11 | *** join/#htc-linux NetRippah (n=netrippe@netripper.nl) |
22:33.36 | xsacha | btw you know im not using the 128 + x anymore right? |
22:33.43 | xsacha | it's just x (so just 105) |
22:33.47 | tmzt | yeah |
22:34.07 | tmzt | see if GPLR is defined for pxa27x in regs-pxa.py |
22:34.13 | tmzt | GPLR3 |
22:35.11 | cr2 | tmzt: dump mmu 2 0x01f10148 0x4000 |
22:35.37 | tmzt | 1mb? |
22:35.47 | tmzt | 0x9c000000 |
22:35.53 | tmzt | 0xbc000000 |
22:36.16 | tmzt | the others are AP=3 and 4k |
22:36.47 | cr2 | 502* ? |
22:36.58 | tmzt | no |
22:37.07 | tmzt | 5781* |
22:37.11 | cr2 | post the complete list |
22:37.13 | tmzt | 5b81* |
22:37.15 | tmzt | ok |
22:37.28 | cr2 | i had 502* and maejrep too |
22:38.00 | tmzt | http://pastebin.com/m2ccf3e20 |
22:39.41 | cr2 | hmm. ok, then you need to check which of them is traceable |
22:40.13 | tmzt | <PROTECTED> |
22:40.48 | tmzt | Warning! Tracing non-section mapping (05b00000) not well supported |
22:42.01 | tmzt | Warning! Tracing non-section mapping (09c00000) not well supported |
22:42.51 | tmzt | HaRET(12)# addlist mmutrace 0xbc010148 4 |
22:42.53 | tmzt | what size? |
22:47.05 | tmzt | cr2: it doesn't seem to be working, what is the address(phys)/size? |
22:47.50 | xsacha | tmzt: what is next thing that needs doing? |
22:48.21 | tmzt | xsacha: not sure, is there anything in zylonite_pxa*.c that needs added to yours? |
22:48.34 | xsacha | yeah i added it all |
22:48.36 | cr2 | tmzt: do you have linux dmesg at hand ? |
22:48.45 | tmzt | cr2: yeah, I should |
22:48.50 | tmzt | cr2: what do you need? |
22:49.07 | cr2 | [Do Mai 28 2009] [01:23:07] <maejrep> [ 6.056331] smd_alloc_channel() 'SMD_RPCCALL' cid=2, shared=e0110148 |
22:49.17 | xsacha | set MTYPE 2265 make a difference? |
22:49.20 | tmzt | ah, hold on |
22:49.32 | tmzt | xsacha: yeah, it won't boot without that if you disabled zyl |
22:49.39 | xsacha | ok |
22:49.40 | tmzt | xsacha: if you didn't, it's not the new code |
22:49.49 | xsacha | yeah, it needs it |
22:51.02 | tmzt | smd_alloc_channel() 'SMD_RPCCALL' cid=2, shared=e0110148 |
22:51.22 | tmzt | yeah, it's the same |
22:53.01 | cr2 | tmzt: pd 0x01f10148 0x4000 |
22:53.14 | tmzt | I had to disconnect from haret to access the sd |
22:53.16 | cr2 | tmzt: pd 0x01f10148 0x4028 |
22:55.18 | tmzt | works |
22:55.47 | cr2 | call, dump, pastebin :) |
22:56.04 | tmzt | hey, the dumpmmu is shorter now, I rebooted |
22:56.06 | xsacha | the kernel works fine :D |
22:56.11 | tmzt | xsacha: good |
22:56.16 | xsacha | i removed silly fstab lines |
22:56.21 | tmzt | cr2: pwf? |
22:56.40 | tmzt | it's a little long |
22:56.45 | tmzt | but I guess it's in the log |
22:56.47 | tmzt | hold on |
22:56.56 | cr2 | haretlog*.txt |
22:57.55 | tmzt | oh, yeah, make a call |
22:59.04 | xsacha | i think i know why it had 8725 illegal blocks |
22:59.19 | xsacha | it was mounted as rw and i took battery to restart |
23:00.11 | tmzt | http://pastebin.com/d563dfb1b |
23:02.37 | cr2 | 61000030 00000000 1c000000 |
23:02.46 | tmzt | rpc? |
23:02.54 | tmzt | how do I put that in code? |
23:03.06 | *** join/#htc-linux WyrM (n=wyrm@20158147102.user.veloxzone.com.br) |
23:03.44 | cr2 | 02000030 00000000 01000000 ... 01000000 01000000 01000000 ffffffff |
23:03.52 | cr2 | i hate big-endian :) |
23:04.15 | tmzt | oh, 1c is the rpc code, 30006100 is the value? |
23:04.20 | cr2 | 61000030 00000000 1c000000 |
23:04.30 | tmzt | ? |
23:04.41 | cr2 | 3000061 is the prog, 0 is the version, 1c is function |
23:05.06 | cr2 | then the message itself |
23:05.59 | cr2 | 02000030 00000000 02000000 ... 0d000000 01000000 05000000 ffffffff |
23:06.11 | cr2 | compare to vogue-hw |
23:06.38 | tmzt | yeah, I've started porting that to raph |
23:06.46 | cr2 | i still have a question for dzo, why he leaved snd.c untouched and added the hacks into vogue-hw.c |
23:07.11 | tmzt | http://people.openezx.org/tmzt/git-diff-audioparams-1.diff |
23:07.14 | cr2 | tmzt: we just need to copypaste qdsp4/ to our branch. |
23:07.20 | tmzt | ah |
23:07.24 | cr2 | audioparams is a different thing. |
23:07.25 | tmzt | from where? |
23:07.33 | cr2 | from vogue branch |
23:07.35 | tmzt | he put both in vogue-hw |
23:08.07 | cr2 | 02000030 00000000 01000000 ... 00000000 00000000 00000000 ffffffff |
23:09.08 | cr2 | <PROTECTED> |
23:09.21 | tmzt | but how do I fill out dex with this? |
23:09.37 | cr2 | it's not dex |
23:09.53 | tmzt | ah, so that's why we need qdsp4? |
23:10.06 | tmzt | but I still need to setup audioparams |
23:10.24 | cr2 | 02000030 00000000 02000000 ... 0d000000 01000000 05000000 ffffffff |
23:10.36 | cr2 | not, if you boot from wince. they are already there. |
23:11.03 | tmzt | well, I already converted them based on how dzo did it |
23:11.08 | tmzt | to load just one at a time |
23:11.15 | tmzt | but I guess we don't need that |
23:11.32 | cr2 | 0f000030 00000000 27000000 |
23:12.12 | cr2 | 0a000030 00000000 01000000 |
23:12.41 | cr2 | you run gps ? |
23:12.44 | cr2 | 5b000030 00000000 03000000 |
23:12.57 | cr2 | 5b000030 00000000 05000000 |
23:13.14 | cr2 | 5b000030 00000000 09000000 |
23:13.28 | cr2 | 5b000030 00000000 0a000000 |
23:13.42 | cr2 | 5b000030 00000000 06000000 |
23:14.06 | cr2 | 5b000030 00000000 08000000 |
23:14.36 | cr2 | 1d000030 00000000 04000000 |
23:14.41 | tmzt | gps doesn't work, windows creates NMEA that I found in putty |
23:14.44 | tmzt | but no data |
23:14.58 | cr2 | 1d000030 00000000 07000000 |
23:15.02 | cr2 | agps |
23:15.04 | xsacha | mm how do you extract android system.img (files) / data (ext3) to SD? |
23:15.16 | cr2 | 1d000030 00000000 07000000 |
23:15.27 | tmzt | xsacha: use utb's or dzo's, they are not yaffs2 |
23:15.47 | cr2 | 5b000030 00000000 07000000 |
23:15.52 | tmzt | xsacha: the important part is to extract initrd |
23:16.05 | xsacha | what is utb's, dzo's? :\ |
23:16.13 | cr2 | 0f000030 00000000 07000000 |
23:16.15 | cr2 | lol |
23:16.25 | tmzt | connect-utb.com |
23:16.28 | tmzt | oh |
23:16.40 | tmzt | those will be armv6, you have to find an armv5 version |
23:16.47 | tmzt | try the andromnia forum |
23:16.50 | cr2 | 0f000030 00000000 26000000 |
23:16.59 | xsacha | andromnia didnt have any.. |
23:17.12 | cr2 | 0f000030 00000000 08000000 |
23:18.08 | cr2 | 55000030 00000000 01000000 |
23:18.26 | cr2 | tmzt: your log has a scary amount of rpcs :) |
23:18.55 | tmzt | each one of those is one rpc call? |
23:19.15 | tmzt | can you check the head/tail and see which the last ones are? |
23:20.07 | cr2 | it#s the full buffer |
23:20.38 | tmzt | what's our amss? |
23:21.43 | cr2 | pre-googel |
23:22.08 | tmzt | RPC_AUD_DEF_METHOD_HOST_PCM ? |
23:22.29 | tmzt | for playing audio |
23:22.30 | cr2 | these are snd rpcs: |
23:22.34 | lama | oh, xsacha are you going to boot android on i780? |
23:22.34 | cr2 | <PROTECTED> |
23:22.36 | cr2 | <PROTECTED> |
23:22.37 | cr2 | <PROTECTED> |
23:22.39 | cr2 | <PROTECTED> |
23:22.51 | xsacha | just dunno how to extract the files |
23:23.09 | tmzt | when does dzo wake up? |
23:23.21 | lama | is there any progress besides SD card? |
23:23.29 | xsacha | nup |
23:23.39 | tmzt | lama: new machine file |
23:24.00 | cr2 | tmzt: i'll edit wiki |
23:24.04 | xsacha | tmzt: can i just create a new partition and copy the img file on to it? |
23:24.32 | tmzt | xsacha: no, I guess you could adapt the initrd and put your files on mmcblk0p1 (vfat) |
23:24.45 | xsacha | like dd...? |
23:24.45 | tmzt | xsacha: but you still need a armv5 version, armv6 will not work |
23:24.50 | tmzt | no |
23:24.53 | xsacha | :( k |
23:24.55 | tmzt | just copy the android files |
23:25.09 | tmzt | on the fat partition |
23:25.20 | tmzt | but you have to make initrd work as well |
23:25.30 | xsacha | which initrd is this? |
23:25.37 | tmzt | android one |
23:26.00 | xsacha | how do i retrieve it? download one from kaiser? |
23:26.10 | tmzt | no, kaiser won't work, it's armv6 |
23:26.17 | xsacha | ahh |
23:26.39 | tmzt | cr2: is this the program? |
23:26.40 | tmzt | <PROTECTED> |
23:26.40 | tmzt | <PROTECTED> |
23:27.23 | xsacha | it says data.gz is an ext3 image.. cant i mount it? |
23:27.23 | tmzt | <PROTECTED> |
23:27.23 | tmzt | 142 #define AUDMGR_PROG_VERS "rs30000013:00000000" |
23:27.23 | tmzt | 143 #define AUDMGR_PROG 0x30000013 |
23:27.24 | tmzt | 144 #define AUDMGR_VERS 0x0 |
23:27.32 | tmzt | xsacha: yes, after you extract it |
23:27.45 | xsacha | k |
23:29.39 | cr2 | tmzt: your agps calls some scary functions :) |
23:30.15 | tmzt | I've yet to see a valid position on the phone, maybe once in google maps |
23:30.31 | xsacha | when google maps was using cell tower? |
23:30.44 | tmzt | apparently, but I have no idea how to configure it |
23:30.51 | cr2 | tmzt: hm. pmem rpc called |
23:30.58 | tmzt | gpu? |
23:31.33 | cr2 | pmem_remote_imem_enable |
23:32.10 | cr2 | you have some fancy 3d graphics during a call ?? |
23:32.29 | tmzt | just manila 3d |
23:33.40 | cr2 | tmzt: gps_get_position is not called, only the weird agps calls |
23:34.42 | cr2 | it's good that we are not going to implement this big brother stuff in linux :) |
23:35.04 | cr2 | pdsm_get_position should be enough. |
23:36.10 | xsacha | tmzt: if i extract data to my sd partition.. i also need to extract system.img? |
23:36.20 | tmzt | you don't need data |
23:36.25 | xsacha | <PROTECTED> |
23:36.26 | tmzt | you do need system as well as initrd |
23:36.33 | tmzt | is data empty? |
23:36.40 | xsacha | no, it has a lot in it |
23:37.14 | xsacha | anr app app-private dalvik-cache data local location lost+found misc property system |
23:38.54 | tmzt | that should all be recreated though |
23:39.07 | tmzt | did you find a armv5 compatible version of android? |
23:39.13 | xsacha | no :( |
23:39.21 | tmzt | try n800 |
23:39.25 | tmzt | nandroid |
23:39.34 | tmzt | or, |
23:40.00 | tmzt | ask solca in #android |
23:40.28 | *** join/#htc-linux dcordes (n=luke@unaffiliated/dcordes) |
23:40.54 | xsacha | on google, lots of people saying android is default armv5, so they are all looking for armv4, armv6, etc |
23:43.05 | cr2 | tmzt: hehe. pm_mic_set_volt |
23:43.30 | cr2 | tmzt: called several times |
23:44.07 | cr2 | tmzt: http://www.htc-linux.org/wiki/index.php?title=MSM_RPC |
23:44.39 | tmzt | where are you getting the names from? |
23:45.46 | tmzt | the programs are constant or you just haven't added that to the table yet? |
23:47.25 | cr2 | from remote_apis_clnt.dll |
23:47.52 | cr2 | the 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.50 | xsacha | mount -t cramfs -o ro,noatime,nodiratime /dev/block/loop1 /system |
23:53.31 | tmzt | in initrd? |
23:53.39 | xsacha | losetup /dev/block/loop0 data.img |
23:54.11 | *** join/#htc-linux marcin (n=marcin@chello089078134143.chello.pl) |
23:54.37 | xsacha | e2fsck -y /dev/block/loop0; mount -t ext2 -o noatime,nodiratime /dev/block/loop0 /data |
23:57.11 | xsacha | so i need 2 partitions? a cramfs and an ext2fs? |
23:58.59 | xsacha | thats what the kaiser initrd does |