IRC log for #htc-linux on 20080423

02:03.21*** join/#htc-linux Zoolooc_ (n=fredsiba@nrbg-4dbff32f.pool.einsundeins.de)
03:03.23*** join/#htc-linux f01kert (n=folkert@202.130.127.226)
04:01.58*** join/#htc-linux mistadman (n=mistadma@adsl-250-197-219.msy.bellsouth.net)
04:25.27*** join/#htc-linux goxboxlive (n=goxboxli@195.159.97.196)
04:27.29*** join/#htc-linux JohnnyK_ (n=johnnyk@62.240.183.254)
04:33.21*** join/#htc-linux johnnyk__ (n=johnnyk@nfx-nat-229.pilsfree.net)
05:05.40*** join/#htc-linux kiozen (n=oeichler@p54929E9A.dip0.t-ipconnect.de)
05:41.27*** join/#htc-linux kiozen (n=oeichler@p54929E9A.dip0.t-ipconnect.de)
06:09.35*** join/#htc-linux patoche (n=patoche@77.197.38.63)
06:35.04*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
06:37.21*** join/#htc-linux rmoravci1 (n=rmoravci@gtsgw.ttc.cz)
07:02.18*** join/#htc-linux kiozen_ (n=oeichler@p54929E9A.dip0.t-ipconnect.de)
07:08.27*** join/#htc-linux LunohoD_ (n=alex@e180071049.adsl.alicedsl.de)
07:10.24*** join/#htc-linux patoche (n=pat@77.197.38.63)
07:15.19*** join/#htc-linux marbalon (n=marbalon@212.122.223.98)
07:36.29*** join/#htc-linux marbalon (n=marbalon@212.122.223.98)
07:45.26*** join/#htc-linux Babel1 (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
07:46.28BabelO_morning
08:36.16*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
08:40.24*** join/#htc-linux hlbot (n=adm@iclem.net)
08:51.12*** join/#htc-linux hlbot (n=adm@iclem.net)
09:03.38*** join/#htc-linux patoche (n=pat@77.197.38.63)
09:19.30raph_aelhi BabelO_
09:21.22BabelO_hi raph_ael
09:25.20BabelO_raph_ael: BA owner ?
09:25.59raph_aelBabelO_: yes :)
09:26.12raph_aelBabelO_: in fact raph_ael is pikapika at night ;)
09:26.28BabelO_ah ah ;) ok i understand
09:26.28raph_aelyou helped me try the qtopia for BA
09:26.43*** join/#htc-linux dcordes2 (n=chatzill@78.48.35.228)
09:26.47raph_ael:)
09:26.57dcordes2hi marbalon, others
09:27.18raph_aeland well i also have a semi broken prophet that is still usable
09:27.24raph_aeli should have a look
09:28.17dcordes2raph_ael: prophet is pretty compatible with wizard. I booted a linwizard kernel on it once and had fb support
09:28.19BabelO_raph_ael: yes some progress on touchscreen yesturday evening, maybe a usable driver in the week end
09:28.48BabelO_raph_ael: and mmc maybe
09:29.03raph_aelgreat :)
09:29.07dcordes2marbalon: how did you make initrd-linuxbox bootable? how did you make the init binary? I'm trying to make a new initrd
10:01.28marbalondcordes2: hi
10:02.50marbalondcordes2: I use only cpio and gzip
10:05.15marbalonfind ./ | cpio -H newc -o > initrd.cpio && gzip initrd.cpio && mv initrd.cpio.gz initrd.img
10:22.45dcordes1marbalon, I try to make initrd from normal rootfs: http://www.angstrom-distribution.org/releases/2007.12/images/a780/Angstrom-console-image-glibc-ipk-2007.12-a780.rootfs.tar.gz
10:23.31dcordes1this image has many useful tools
10:30.01marbalondcordes1: for example...?
10:31.36dcordes1marbalon, at least it has a busybox
10:32.30*** join/#htc-linux raph_ael (i=raphael@kikoolol.orbus.fr)
10:37.29*** join/#htc-linux patoche_ (n=pat@77.197.65.152)
10:44.20dcordes1bbl
10:45.04marbalondcordes1: I have no idea why but when I build initrd image from other rootfs booting hangs
11:17.33*** join/#htc-linux dzo (n=dzo@121.98.128.127)
11:46.42Marexcr2_, hi, are you around ?
12:21.15*** join/#htc-linux tuff (n=phil@tuffnatty.dialup.corbina.ru)
13:12.16cr2_hi Marex
13:12.34Marexcr2_, mind helping me a bit with palmld IPL ?
13:13.06MarexI managed to jump to 0xa0200000 in qemu and even started booting linux using palmld's ipl ;D
13:13.19Marexbut somehow ... Im missing something in the suspend code
13:13.36Marexthe _ll_suspend is called, but it doesnt wake up
13:20.55Marexcr2_, maybe because pspr is read by palmld bootloader prior to linux's code it stucks ?
13:50.09dcordes1dzo, hi there. Can you help me building an initrd-android similar image from a 'normal' rootfs? I know the packing procedure with .cpio.gz but it hangs when I try to boot. Raven_coda handed me a script which he said you gave him. With its help I made an initrd from http://www.angstrom-distribution.org/releases/2007.12/images/a780/Angstrom-console-image-glibc-ipk-2007.12-a780.rootfs.tar.gz When I boot, I see the system messages show up but
13:50.09dcordes1<PROTECTED>
13:50.23dcordes1I wonder what specific aspect of initrd-android makes it work
15:41.44*** join/#htc-linux SmallR2002 (n=SmallR20@79-69-20-242.dynamic.dsl.as9105.com)
15:45.51*** join/#htc-linux patoche (n=root@lns-bzn-27-82-248-25-136.adsl.proxad.net)
15:49.51*** join/#htc-linux p3t3r__ (n=p3t3r__@gate1.net-you.de)
16:08.59*** join/#htc-linux JohnnyK (n=johnnyk@nfx-nat-229.pilsfree.net)
16:10.30*** join/#htc-linux Foxdie (n=foxdiefu@87-194-16-145.bethere.co.uk)
16:22.27*** join/#htc-linux nx5_off (n=pocholo@84.78.40.245)
16:28.55*** join/#htc-linux Foxdie` (n=foxdiefu@87-194-16-145.bethere.co.uk)
16:34.45*** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-bbf4f29ca5458aa9)
16:54.03*** join/#htc-linux cr2_ (n=konversa@crpl6.physik.uni-wuppertal.de)
16:55.54*** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
16:59.51*** join/#htc-linux CVirus (n=GoD@82.201.174.127)
17:00.36*** join/#htc-linux JEEB (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
17:04.13*** join/#htc-linux nx5 (n=pocholo@unaffiliated/nx5off/x-000000001)
17:07.56*** join/#htc-linux the_sys0p` (i=the_sys0@gateway/tor/x-68aefba85d89dc5a)
17:16.43*** part/#htc-linux BabelO_ (n=fcr@unaffiliated/babelo)
17:21.56*** join/#htc-linux goxboxlive (n=goxboxli@208.84-48-176.nextgentel.com)
17:25.06dcordes1BabelO, ping
17:36.36BabelO~pong dcordes1
17:36.37aptdcordes1: PONG!!!!!!!!!!!!!!!!!!
17:37.05dcordes1BabelO, can you help me make new initrd image for kaiser?
17:37.57BabelOdcordes1: yes what do youi need ?
17:38.20dcordes1BabelO, I tried to make a bootable initrd out of this rootfs http://www.angstrom-distribution.org/releases/2007.12/images/a780/Angstrom-console-image-glibc-ipk-2007.12-a780.rootfs.tar.gz
17:38.57dcordes1I did using mkinitramfs -r /where/is/rootfs/ . On kaiser boot messages showed but then it froze
17:39.16dcordes1with these http://baliniak.pl/android/ initrds from android works fine.
17:39.23*** join/#htc-linux Marex (n=marex@vasut.kolej.mff.cuni.cz)
17:43.17BabelOdcordes1: you can do a initramfsfs from anything
17:43.55dcordes1yes but from angstrom rootfs it does not boot. android rootfs initrd works
17:45.18BabelOdcordes1: did you compile initramfs inside your zImage or is it a boot param ?
17:46.15dcordes1neither nor
17:47.00dcordes1zImage is seperate with all drivers builtin (no modules). I just put in default.txt fubar-rootfs
17:47.17dcordes1rootfs = filename. like for android initrd
17:47.42dcordes1set initrd initrd-angstrom
17:48.16BabelOso what your kaiser froze , you can see if you see boot message, no ?
17:50.06dcordes1BabelO, yes I see bot messages. It freezes while drivers are loading I think
17:50.08dcordes1wait I retry
17:51.45dcordes1BabelO, after kaiser keypad driver is loaded it dies
17:52.07dcordes1but same zImage works with android initrd
17:53.22BabelOit die, but did you see kernel panic ?
17:54.22*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
18:03.23dcordes1BabelO, sorry. no there is no panic.
18:03.35dcordes1just cursor freezs and no bootmessages appears
18:04.18BabelOdcordes1: i have same on aretmis, it was because i compile in a driver, and when there is access to this driver, it freeze
18:04.46BabelOdcordes1: you have to desactivate all rc level in rootfs
18:04.50dcordes1BabelO, you mean angstrom initrd accesses driver but android doesn't?
18:04.50BabelOjust keep rc2
18:05.19BabelOdcordes1: i mean there is a program in angstrom init which access a device and hang
18:05.24dcordes1ok
18:05.39dcordes1but it freezes early..
18:08.48dcordes1BabelO, when does the kernel access initrd? after or before drivers are loaded?
18:08.53nx5is anybody working on the htc touch (elf) ?
18:09.17MarexI wish someone lent me universal so I can clean it up
18:09.22Marexthe code seems pretty messy
18:09.56BabelOdcordes1: you say you builtin all driver, right ?
18:10.47dcordes1BabelO, yes
18:11.52BabelOdcordes1: so no driver on your rootfs
18:12.09BabelOdo you see the init message , freeing ...K ?
18:13.15dcordes1BabelO, Freeing initrdmemory 6817k (initrd is 6mb..)
18:14.48BabelOreally ? but you boot angstrom image ?
18:14.56BabelOwhy it display initrd then ?
18:24.00*** join/#htc-linux jeebster (n=kanakana@a88-112-94-153.elisa-laajakaista.fi)
18:26.56dcordes1BabelO, I'm not booting the image. I'm booting the initrd I made from the image
18:28.38*** join/#htc-linux AstainHellbring (n=Administ@unaffiliated/astainhellbring)
18:28.46AstainHellbringhiya
18:29.41dcordes1hi AstainHellbring
18:29.58BabelOdcordes1: ok
18:30.06dcordes1BabelO, have no flash/Sd/usb from kaiser
18:30.11dcordes1that's why I want to play with ramdisk
18:30.12BabelOdcordes1:so something hand after it call /sbin/init
18:30.21BabelOif you see the freeing message
18:30.35dcordes1after freeing messages drivers are loaded
18:30.37BabelOdcordes1:edit inittab and set another run level
18:31.01BabelOdcordes1: driver are already loaded before freeing
18:31.26dcordes1BabelO, you mean drivers _should_ be loaded before freeing?
18:31.40BabelOdcordes1: YES BECAUSE YOU BUITIN KERNEL
18:31.52BabelOoups sorry for caps
18:32.57dcordes1BabelO, /etc/mtab in rootfs?
18:33.31BabelOdcordes1: etc/inittab
18:33.42BabelOto change the current runlevel
18:36.36dcordes1BabelO, can you look at it http://pastebin.ca/994873 ?
18:37.16dcordes1BabelO, maybe that's important: this rootfs is made for a kernel with modules. and it has a /boot/zImage.
18:37.23BabelOdcordes1: id:5:initdefault: to id:2:initdefault:
18:42.30dcordes1BabelO, ok boot..
18:42.53dcordes1BabelO, no same freeze :(
18:44.05BabelOdcordes1: you really do that rootfs = filename ?
18:44.34BabelOhumm
18:44.45dcordes1BabelO, there is something I can't read because it's off-screen. then a line TCP reno registred, Unpacking initrd memory 6816K, kaiser ts_init etc.... and then after other modules are init it freezes
18:45.51dcordes1I made the initrd with this script http://pastebin.ca/994887
18:45.54dcordes1from dzo
18:47.27BabelOdcordes1: strange thing is that setting runlevel to 2 is equivalent to init=/bin/sh
18:48.05dcordes1don't know much about that
18:48.06BabelOso you need to look inside your initrd
18:48.56dcordes1BabelO, http://www.angstrom-distribution.org/releases/2007.12/images/a780/Angstrom-console-image-glibc-ipk-2007.12-a780.rootfs.tar.gz that's the rootfs I used to make the initrd with the script
18:49.01*** join/#htc-linux pH5 (n=ph5@e178208112.adsl.alicedsl.de)
18:49.14dcordes1BabelO, have to go bbl thanks
18:49.25BabelOok
18:50.45BabelOdcordes1: initrd is specific file system, is your sdcard works just boot directly on it
18:50.53BabelOhi pH5 :)
18:50.55BabelOi need you
18:54.34pH5hi BabelO
18:56.53BabelOpH5: i m working again on the spi driver for omap850
18:57.59BabelOpH5: you can see here the command sent to tsc2046 http://pastebin.com/d15402b53
19:02.59BabelOpH5: but there is two register 0x6 and 0x0 which just trigger a bit
19:03.19BabelOand with haret i m not able to found if it is a read or a write command
19:08.43*** join/#htc-linux kiozen (n=kiozen@rgnb-4db1d82b.pool.einsundeins.de)
19:09.02pH5too bad, we don't have any real documentation about that due to the missing omap730 trm
19:09.08kiozenhola!
19:09.20pH5hi kiozen
19:09.27BabelOhi kiozen
19:09.46BabelOpH5: we need to corrupt someone at ti :)
19:09.46cr2_hi
19:09.52BabelOhi cr2_
19:09.59pH5hej cr2_
19:10.01cr2_BabelO: i think a primitive (as in wince) driver can be written
19:10.17cr2_even with the data that we have
19:10.38BabelOcr2_: yes that is what i m doing, but in wince like you show me yesturday, there is some assembler stuff i don't understand :)
19:11.24cr2_ok, i may have a look and write more comments. i'm deep into the spi now anyway ;)
19:13.22BabelOcr2_: ok just fyi, that is what we now from test
19:13.36kiozenthinks cr2_ deep in spi is a good thing :)
19:13.50BabelOcr2_: irq is 76 on both device 0xa is the tx buffer because we see the tsc2046 command
19:13.57BabelOcr2_: 0xc is the rx buffer
19:14.38BabelOcr2_: 0x8 0xe and 0x2 are config register, with fixed values
19:15.16BabelOcr2_: the two unknown are 0x0 and 0x6 which only have the bit 1 triggered from 0 to 1 or 1 to 0
19:15.34cr2_BabelO: status ?
19:15.35BabelOhumm where is 0x4 :)
19:15.48cr2_BabelO: write that into wiki
19:16.06BabelOcr2_: status not really it stay to a value and switch no next state after a while
19:16.10BabelOcr2_: ok
19:16.48pH5BabelO: are you only tracing stores?
19:17.33BabelOpH5: yes and we can only do that  with two register at same time :(
19:17.37BabelOelse it hang the device
19:18.04pH5maybe tracing single register ldr would be interesting to find out which is the status register.
19:18.07BabelOpH5: euh, stores ? i use addlist TRACES p2c(0xfffc10004) 0 16
19:18.09BabelOfor example
19:18.38BabelOpH5: how to do that ?
19:19.08pH5I have to admit, I don't know. My haret-fu is seriously degraded :(
19:19.51BabelOpH5: ok
19:33.22*** join/#htc-linux kiozen_ (n=kiozen@rgnb-4db1de7d.pool.einsundeins.de)
19:34.10BabelOcr2_: how can i get back menu bar with konversation ? my cat jump on keyboard and now, no more menu :(
19:38.42*** join/#htc-linux kiozen__ (n=kiozen@rgnb-4db1d8b3.pool.einsundeins.de)
19:38.55kiozen__grrr, I hate my wifi
19:40.29BabelOcr2_: i update omap850 wiki page
19:41.01BabelOkiozen__: do you know how can i get back my menu bar on konversation ? do you have the shortcut ?
19:41.31kiozen__BabelO: crtl+M ?
19:41.35BabelOthanks ;)
19:41.41*** join/#htc-linux diogene31_ (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
19:42.08BabelOkiozen__: i ve to learn my cat about this one
19:42.42kiozen__lol, it already knows, it's just you who does not know :)
19:43.36BabelOkiozen__: yes , i can also start it under a new session next time ;)
19:43.37kiozen__great I accidently did a rm -rf * on my Desktop :/
19:43.47*** join/#htc-linux rmoravcik (n=rmoravci@ip-89-102-255-171.karneval.cz)
19:45.15kiozen__hm , how do I get the trash bin back?
19:47.49BabelOkiozen__: suse ?
19:47.55kiozen__yep
19:51.32BabelOkiozen i remove  it too
19:51.39BabelOkiozen konqueror
19:52.30BabelOkiozen shortcut to system:/trash
19:53.26*** join/#htc-linux pikapika (n=pikapika@mar75-8-88-164-227-147.fbx.proxad.net)
19:53.35BabelOkiozen else only trash:/
19:53.41pikapikahi
19:53.47BabelOre pikapika
19:53.50dcordes1BabelO, yes I know initrd is .cpio.gz packed rootfs with some extra files. kaiser has no SD/nand/usb yet so I would like to boot from ramdisk
19:54.24BabelOdcordes1: so it hang before in your initrd you have to look inside
19:55.11dcordes1BabelO, zImage is ok. it boots with other initrds
19:55.26BabelOok
19:59.50pikapika:)
20:11.04*** join/#htc-linux zyxell (n=John@chello089078117046.chello.pl)
20:29.30*** join/#htc-linux miknix (n=miknix@81.193.86.80)
20:35.51*** join/#htc-linux nx5_off (n=pocholo@84.78.40.245)
20:43.03*** join/#htc-linux nx5_away (n=pocholo@84.78.40.245)
20:54.54pikapikagot an himalaya today
20:56.30*** join/#htc-linux dcordes (n=chatzill@f049188114.adsl.alicedsl.de)
21:10.57*** join/#htc-linux l33tlinuxh4x0r (n=Brice_Co@adsl-144-143-75.rmo.bellsouth.net)
21:11.22l33tlinuxh4x0rhi all
21:14.57*** join/#htc-linux scrllock (i=scrllock@69.176.138.24)
22:11.54*** join/#htc-linux SmallR2002 (n=SmallR20@79-69-20-242.dynamic.dsl.as9105.com)
22:38.30*** join/#htc-linux TimRiker (n=timr@rikers.org)
22:42.42Raven_codaDoes anyone know why Haret can't clear the screen after disabling IRQ but yet is still able to boot to linux?
22:42.48BabelOcr2_: still around ?
22:42.50Raven_coda(on kaiser)
22:51.39cr2_yes
22:54.44BabelOcr2_: you say yesturday BA was not able to boot with diag card ? right ?
22:56.17cr2_yes, we could not do it with pH5
22:56.26cr2_not boot from the card
22:56.54cr2_but to load the code to RAM from the card and jump to it.
22:57.08BabelOcr2_: ok, the typhhon perl script to sign card seem to work on artemis with the key i get from nk.exe
22:57.13cr2_well, in the end it's boot from the card
22:57.23cr2_nk.exe ?
22:57.25cr2_spl
22:57.26BabelOcr2_: ok
22:57.32BabelOsorry yes spl
22:57.43cr2_check ba ?
22:58.03cr2_we used the builtin data in the script
22:58.08BabelOcr2_: i need to cid unlock ba too ?
22:58.26cr2_level was ok, but it rejected to boot.
22:58.37cr2_mine was not  locked.
22:58.44cr2_from the very beginning.
22:58.50BabelOok
22:58.57cr2_universal is netlocked
22:59.12cr2_and it does not get the right leve
22:59.21cr2_with the builtin data
22:59.36cr2_but it was working with the older spl
23:00.07cr2_i've found my lost notes for the athena
23:01.24dzoRaven_coda: are you still here?
23:01.37BabelOcr2_: you have lot of interesting work on athena too
23:01.48Raven_codayeah but I'm leaving in a sec
23:02.31BabelOcr2_: i hope i can do the driver ts for artemis, i take a look at magician_ts.c
23:02.32dzoYou want to know why no fb dring boot on kaiser?
23:02.38Raven_codaplease
23:02.58cr2_dzo: the htc bl is full of thumb code, it's a PITA ;)
23:03.03*** part/#htc-linux patoche (n=root@lns-bzn-27-82-248-25-136.adsl.proxad.net)
23:03.05Raven_codavogue doesn't do the same does it
23:03.16cr2_dzo: for the arm9, not 11. 11 is ok.
23:03.58dzoIt's because you have to send the fb to the screen with a DMA transfer, won't work with MMU off, and with ints disabled the thread keeping the display refreshed won't run.
23:04.15dzoVogue does the same
23:04.31cr2_pistacio has a kernel debugger, it seems that it uses the serial port. will be difficult to access without soldering ;)
23:04.32Raven_codak, then I wont toy with it anytmore
23:04.58Raven_codadzo, could you send me your new smd diffs
23:05.09dzocr2: yes, thumb is a pita, IDA doesn't seem to handle it correctly.
23:05.14Raven_codaI'm getting ready to send that patch off
23:05.16*** part/#htc-linux scrllock (i=scrllock@69.176.138.24)
23:06.05dzocr2: where did you get the L4/Pistachio image from?
23:06.44cr2_dzo: i had better luck with the objdump based script of pH5 for thumb, but you need to pick these areas out first.
23:06.47dzoRaven_coda: OK, still not working 100% but better than before.
23:06.56cr2_from the update bundle, as usual.
23:07.41dzoOK, I don't have an image for Vogue, I'll try to find one.
23:07.43cr2_dzo: but i used the objdump script for the garmin gps receiver, not for the phone.
23:08.27dzoAre you looking at the kaiser radio then.
23:08.40cr2_dzo: i've added the pistachio virtual mapping for kaiser to wiki
23:08.56cr2_not really. have a lot of other things to do :)
23:08.59dzoIs it all mapped to the A11 side?
23:09.12cr2_no, there are some differences.
23:09.49dzoI saw some L4 stuff in the mmap, I'll dump it a have a poke around.
23:09.52cr2_here -> http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
23:10.01dzoThanks, I'll have a look.
23:11.30dzoDid you say you have some documentation for the MSM clocks and PM?
23:12.16cr2_in the list MSM_CLK_CTL section
23:12.24cr2_from the spl
23:12.46dzoLooks like there is an adsp driver for sound in android, also hw3d. might just need to enable clocks for them to work.
23:13.16dzoI think those clocks are just the A11 clocks, others are controlled by A9.
23:13.28cr2_afair the wavedev.dll uses rpc, not the direct access.
23:13.39cr2_ok
23:14.02dzoYes, will have to trace rpc, not fun.
23:15.01cr2_ok, it's late here. good night
23:15.14dzogood night.
23:29.47BabelOgood night
23:30.36miknixthinks twice after reading "shinny new BRICK"
23:44.54dzodcordes: probably the initrd you are using is not EABI. My zImage only has EABI enabled.
23:47.34miknixI made a tiny initrd (<4mb) with dropbear and a small script for chroot into a remote nfs root
23:47.36miknixhttp://miknix.homelinux.com/linwizard/linwizard-tiny-20080423.initrd
23:47.51miknixif useful for someone
23:48.06miknixits armv5te-softfloat-linux-eabi

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