IRC log for #openezx on 20090216

00:00.12CIA-15OpenEZX: 03wyrm * r2419 10/trunk/src/host/backuptool/backuptool.sh: add e680 logo
00:35.31*** join/#openezx johanbr (n=j@blk-7-131-230.eastlink.ca)
00:35.41*** join/#openezx tombhad-AC (n=tombhad@pD95DFBED.dip.t-dialin.net)
00:36.49CIA-15OpenEZX: 03wyrm * r2420 10/trunk/src/host/backuptool/backuptool.sh: correct spelling
00:51.55*** join/#openezx tombhadAC (n=tombhad@pD95DFBED.dip.t-dialin.net)
01:07.01*** join/#openezx p3t3r__ (n=peter@134.245.164.105)
01:32.05CIA-15OpenEZX: 03wyrm * r2421 10/trunk/src/host/boot_usb/boot_usb.c: be paranoid
03:22.13*** join/#openezx p3t3r__1 (n=peter@134.245.164.105)
03:30.47*** part/#openezx p3t3r__1 (n=peter@134.245.164.105)
07:01.14*** join/#openezx pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be)
07:50.26*** join/#openezx r00t|vaio (i=foobar@port-83-236-58-14.dynamic.qsc.de)
08:00.12*** join/#openezx l403 (n=l@85.132.159.239)
09:15.50*** join/#openezx sabrod (n=mac@lns-bzn-54-82-251-101-162.adsl.proxad.net)
09:22.33*** join/#openezx sabrod-lapto1 (n=sab@lns-bzn-54-82-251-101-162.adsl.proxad.net)
09:23.37*** join/#openezx ao2 (n=u@2001:1418:117:0:0:0:0:1)
09:27.45*** join/#openezx methril (n=Methril@213.27.233.98)
09:33.46Hopscotchgood morning
09:47.24*** join/#openezx florian_kc (n=fuchs@217.146.132.69)
09:50.18*** part/#openezx sabrod (n=mac@lns-bzn-54-82-251-101-162.adsl.proxad.net)
09:56.38WyrMhi
09:56.45WyrMgood morning
09:57.46florianhi
09:59.44*** join/#openezx jonwil (n=jonwil@123-243-219-11.tpgi.com.au)
09:59.56jonwilhi
10:10.51sabrodGood morning
10:15.45*** join/#openezx jonwil (n=jonwil@123-243-219-11.tpgi.com.au)
10:30.48*** join/#openezx tombhadAC (n=tombhad@pD95DD508.dip.t-dialin.net)
10:33.02*** join/#openezx ade|desk (n=adavey@195.153.131.254)
10:47.59*** join/#openezx tombhadAC (n=tombhad@pD95DD56E.dip.t-dialin.net)
11:11.34*** join/#openezx tombhadAC (n=tombhad@pD95DCB74.dip.t-dialin.net)
11:34.38*** join/#openezx tombhadAC (n=tombhad@pD95DCB74.dip.t-dialin.net)
11:46.55*** join/#openezx gmzhuo (i=gmzhuo@125.70.172.86)
12:04.35jonwilhmmm, I still dont know how to build a kernel that can log its startup somehow so I can see where the boot process is going wrong :(
12:13.01ao2jonwil, in drivers/video/fbcon.c there should be a way to enable text console on boot
12:13.44jonwilso that will work even with the moto boot logo being drawn
12:14.28ao2motorola kernel is based on linux-2.6.10 AFAIR, so you could try diffing fbcon.c with a plain 2.6.10
12:15.08*** join/#openezx LoneStar (n=xinzhen@114.92.171.72)
12:15.42ao2for 2.4 ezx kernels we had this patch: http://rafb.net/p/BdfCxc82.html
12:25.36jonwilI dont see any fbcon.c in my tree
12:25.56ao2OT: I finally decided to get a VPS, to host my blog and personal devel stuff, I would use gandi.net. Do you have any advice on the matter?
12:26.03jonwilfound it now
12:27.26jonwilok, i can see something talking about CONFIG_MOT_FEAT_FB_PANIC_TEXT
12:27.55jonwilalso more so I see CONFIG_MOT_FEAT_POWERUP_LOGO
12:28.01ao2looks promising
12:28.20jonwilalso CONFIG_MOT_FEAT_CONSOLE_DISABLED
12:28.23ao2so check in your .config if those are enabled
12:30.22jonwilyes both are enabled by default
12:30.38jonwilOnce i find out wtf is up with my linux box being unstable as hell, i will turn them off and rebuild kernel
12:33.52ao2I'd start disabling only CONFIG_MOT_FEAT_POWERUP_LOGO
12:38.28WyrMI would start enabling console messages.
12:38.39WyrMhi ao2 :)
12:39.07ao2hi WyrM
12:45.15gmzhuoHi,WyrM,ao2
12:45.25WyrMhi gmzhuo
12:48.27jonwilnow I just need to find a way to run memtest86 on my linux box :(
12:51.03ao2hi gmzhuo
12:55.40ao2i2c issue fixed, it was incorrect gpio setup, and the chip was not powered up. It was my btw, I forgot a couple og gpio_direction_output() :)
12:56.02ao2s/my btw/my fault btw/
12:56.40ao2the problem was only with the camera sensor chip, not with i2c bus
12:57.08gmzhuothen,how about funlight?
12:57.28gmzhuolp3x44?I fogot the chip
12:57.32ao2gmzhuo the message you were getting should be unrelated to this, it should mean "no chip at this address"
12:58.13ao2it could be that e6 doesn't have a lp3944 at all
12:58.35gmzhuothen which controled the led backup the key on e6
12:59.10ao2it could be a sigle gpio, or a different chip
13:00.00jonwilbah, cant find out how to run memtest86 :(
13:01.32WyrMgmzhuo: probably PCAP.
13:01.42WyrMPCAP controls leds on a780 and e680.
13:01.45gmzhuoI should test on 2.4.20
13:01.48WyrMa1200 has no leds.
13:01.58WyrMmotoq is also PCAP.
13:02.17WyrMjust copy the a1200 leds platform_data to e6.
13:02.27WyrMit will probably work :)
13:02.50WyrMerr..
13:02.53WyrMa780.
13:03.00WyrMthere are no leds on a1200.
13:04.06WyrMjonwil: record a bootable CD.
13:04.24jonwilnow I got it working
13:04.40jonwilI hope
13:05.30jonwilyep, memtest is running
13:05.51jonwilLets hope I can find out whats wrong with this
13:24.58*** join/#openezx tombhadAC (n=tombhad@pD95DCB74.dip.t-dialin.net)
13:26.55gmzhuoWyrm,a780's led is lcd backlight?
13:30.30gmzhuohow about the led for e680?
13:33.00WyrMno, backlight is controlled by pxa pwm on all phones afaik.
13:33.12WyrMits the keys light.
13:33.41gmzhuoa780's not works on E6
13:33.47WyrMboth the external number pad and the auxiliary (power + home keys)
13:35.02gmzhuohow about e680's?
13:35.07WyrMthe e680 has a different led, connected to both PCAP as to some switch connected to the STUART pins.
13:35.26WyrMit can have 3 colors, is connected to 2 pcap led controllers and 2 gpios.
13:35.39WyrMthe gpios are the same for the STUART RX and TX pins.
13:37.11WyrMhow many leds there are on e6?
13:39.02gmzhuoI don't konw
13:39.19gmzhuoany key press will turn the key light
13:39.36gmzhuoI have found one gpio control the keypad light
13:39.39gmzhuoGPIO89
13:41.35WyrMjust gpio? or gpio + pcap like on e680?
13:41.53gmzhuoI don't know,
13:42.02WyrMin any case, there are leds-gpio and leds-pcap driver on our git.
13:42.11WyrMone of them will work ok :)
13:42.22WyrMdump the pcap registers on 2.4
13:42.24gmzhuoMaybe e680's will ok
13:42.30gmzhuoLet me try
13:42.40WyrMand look at the leds registers, if any is enabled, then it is like the e680
13:55.02gmzhuowhere should I look at the leds register?
14:09.48*** join/#openezx johanbr (n=j@blk-7-131-230.eastlink.ca)
14:16.44gmzhuooops,can't find it
14:17.06gmzhuoeven in linux-2.4.0
14:17.09gmzhuoeven in linux-2.4.20
14:29.04jonwilyay we have kernel boot output now
14:31.26jonwilIt keeps saying "SH_CREATE_ATTACH_MEM_TAPI_DEBUG() failed to create shared memory"
14:31.29jonwilover and over and over
14:31.32jonwilmany many times
14:35.48jonwilThankfully a moto phone is almost impossible to brick
14:45.40jonwil#1 risk when flashing a moto is that you run low on battery but your phone isnt in a state to recharge it
14:55.33*** join/#openezx sabrod-laptop (n=sab@lns-bzn-38-82-253-75-89.adsl.proxad.net)
15:00.36*** join/#openezx Fosforo (n=Fosforo@20151045024.user.veloxzone.com.br)
15:30.28WyrMgmzhuo: it's the PERIPH register.
15:30.43WyrMgmzhuo: see each bit meaning on ezx-pcap.h
15:31.00WyrMjonwil: not that impossible.
15:31.33jonwilas long as you dont flash bootloader and you keep good backups, its hard
15:32.11WyrMheh, as every other device which the bootloader can flash the device.
15:32.13WyrMlol.
15:32.57WyrMthis includes what? all phones?
15:35.10gmzhuoWyrM,I have shutdown my linux :(
15:42.59ao2WyrM, whenever you have some more time, what about testing pxa2xx-flash with a1200? The resource definition should be adapted to support 64MiB, in ezx-flash only 32MiB were reserved, so this could be part of the problem we were having.
15:44.08ao2I can add the code, but I don't have a1200 to test on, and a910 isn't in a happy shape
15:44.13gmzhuowhere is the ezx-pcap.h?
15:45.11ao2gmzhuo, include/linux/mfd/ezx-pcap.h
15:46.29gmzhuoI find it in motorolas's :(
15:47.24ao2ah in 2.4 is in a different place
16:00.39WyrMao2: yes, I will test it.
16:00.54WyrMbut the issue with the driver on gen2 was not the size.
16:01.19WyrMit was some flash identification bits which stopped the probe()
16:01.50WyrMwhen I forced the probe to succeed, it worked.
16:02.48WyrMI need to fix the suspend/resume on kernel asap, it's the biggest regression from our svn codebase that is still present today.
16:03.37sabrod-laptopSo, ao2, you added A780 mtd map to ezx.c ?
16:03.59sabrod-laptopI have a910i and a1200, if it helps.
16:04.16*** join/#openezx johanbr (n=j@JBrannlund2.MathStat.Dal.Ca)
16:04.47ao2sabrod-laptop, they are also in old svn code, thanks, they should be right, but a double check never hurts
16:04.55sabrod-laptopwell I don't know if you were talking about this...
16:05.27sabrod-laptopOk, yes, but if you added one phone on the git, I'd be able to add mine, maybe...
16:06.09WyrMao2: btw, I and sabrod are working on a firmware backup and identification tool: http://svn.openezx.org/trunk/src/host/backuptool/
16:06.26WyrMhave a look, and map your phones firmwares if you have some time :)
16:06.27sabrod-laptopI wasn't able to port that form svn...
16:06.27sabrod-laptopit never worked I tried one full day, I'd say... :)
16:06.46ao2WyrM, ok
16:08.41WyrMI will write a KCT/CDT partition parser, that will ease the firmware analysis of gen2 phones, hopefully I can finish it today.
16:40.22*** join/#openezx file (n=file@asterisk/developer-and-muffin-lover/file)
16:52.19*** join/#openezx Fosforo (n=Fosforo@20151045024.user.veloxzone.com.br)
17:34.48*** join/#openezx darion76 (i=darion@94-248-13-190.dynamic.peoplenet.ua)
18:11.40*** part/#openezx ade|desk (n=adavey@195.153.131.254)
19:33.29*** join/#openezx methril|laptop (n=methril@169.73.220.87.dynamic.jazztel.es)
19:41.58*** join/#openezx florian (n=fuchs@f054237192.adsl.alicedsl.de)
19:56.33*** part/#openezx darion76 (i=darion@94-248-13-190.dynamic.peoplenet.ua)
20:05.49*** join/#openezx pleemans (n=toi@d54C2AAB7.access.telenet.be)
20:09.42*** join/#openezx sabrod-laptop (n=sab@lns-bzn-32-82-254-39-190.adsl.proxad.net)
20:58.11ao2WyrM, I was trying backuptool.sh with the two A910s. I had to unplug/replug the usb cable after any boot_usb invocation...
20:59.02sabrodReally?
20:59.10sabrodnot me wyrm
20:59.25*** join/#openezx tombhadAC (n=tombhad@pD95DCB74.dip.t-dialin.net)
20:59.52ao2FAILED: RQSN
21:00.24sabrodnot me, ao2, sorry :)
21:00.43sabrodyou need the last tools.
21:00.56ao2last boot_usb and gen-blob
21:00.59ao2latest
21:01.52sabrodyes, sorry, you will find it handy, as backuptools itself call them in ".." dir ;)
21:02.21sabrodso you can checkout, then compile from the same dir...
21:02.34sabrodit save some cd's :)
21:04.55ao2yes I setup the dir layout correcly as it finds boot_usb
21:05.07sabrodbackup tool use the new "boot_usb setflag usb && boot_usb gen-blob 0" command
21:06.16sabrodso you don't need to switch to usb mode by hand, and it can repeat steps automaticly.
21:06.48sabrodif I understood correcly...
21:08.36ao2boot_usb itself fails with an error
21:19.00WyrMao2: hi.
21:19.46WyrMao2: use the latest gen-blob, and use backuptool.sh with the original bootloader (MBM).
21:20.39ao2yes, I am already doing that, but the problem looks to be boot_usb itself. After it sends the "setflag usb" it refuses to send gen-blob
21:30.22WyrMao2: http://pastebin.com/m41a06e3e
21:30.29WyrMits how it looks here.
21:33.53ao2http://pastebin.com/d4349a854
21:34.16WyrMhum..
21:34.19ao2WyrM, I can really use boot_usb only once
21:34.31ao2once per cable insertion
21:34.38WyrMis it related to setflag?
21:35.11ao2dont' think so, let me try sending gen-blob and doing some casual read
21:35.16WyrMI mean, can you "boot_usb read 0 4 /dev/null" twice?
21:36.15WyrMbut no, wait, no read.
21:36.25WyrMits the original bootloader, not gen-blob. :/
21:38.23sabrodWarning, params is not supported on your phone, please consider using gen-blob > I also have this message while sending genblob...
21:38.35sabrodbut it works :)
21:38.48WyrMyes, you are not using gen-blob before sending it ;)
21:38.48sabrodAt least 2 times!
21:38.49ao2WyrM, once I sent gen-blob with Vol+ key pressed I can do  "boot_usb read 0 8 /dev/null" only once (4 is an invalid parameter)
21:39.39ao2let me try on the other phone
21:39.56ao2could it be something on my host?
21:40.04ao2if so I'll try even on another pc
21:40.23WyrMwell, it works on 4 different phones here.
21:40.31sabrodao2!!!
21:40.36sabrodit's normal error.
21:41.02WyrMsabrod: "FAILED: RQSN" is not normal.
21:41.05sabrodLook the script is just looking for a mtd map to be read.
21:41.33sabrodno RQSN on pastebin.
21:42.02sabrodYes, the pastebin is clean.
21:42.11ao2ok, same with the other a910 (a780 is still charging), let me try on the laptop
21:42.19WyrMyou are looking at my pastebin, not antonio's.
21:42.28sabrod:)
21:42.54sabrodOh sure!
21:42.57sabrodlol
21:43.23sabrodI'm so foolish.
21:58.55*** join/#openezx WyrM1 (n=wyrm@189.13.141.128)
21:59.43sabrodWyrm, are you working on the "KCT parser" ?
21:59.54WyrMnot now.
22:00.02sabrodYou want to do it in C?
22:00.14WyrMyes.
22:00.17sabrodIt should be doable using a script.
22:00.37WyrMprobably easier with C. :)
22:00.40sabrodI'm training me trying to do so.
22:00.57sabrodYes, but not for me, as I would need to learn c! :)
22:01.55sabrodWell I think I can try using unix tools... but it would be unix only :(
22:02.46sabrodI'm so lazy extracting kct datas on my phones!
22:03.04sabrodtoo lazy to.
22:12.03ao2WyrM, on the laptop boot_usb (and backuptools) works ok, so it is my usb host on PC which is weird
22:12.12*** join/#openezx jonwil (n=jonwil@123-243-219-11.tpgi.com.au)
22:16.40WyrMao2: ok!
22:19.12jonwilhi
22:26.49ao2Added A910 2.45R to backuptool.sh
22:42.48sabrodWyrm, is it the new iphone "music recognition
22:43.08sabrod" advertisement that gave you the backup tool idea ?
22:43.17sabrod:)
22:45.26sabrod(disgusting! shazam, @#%$?  pouah! )
22:46.33sabrodI'm quite sure this is selling in itunes only...
23:02.06*** join/#openezx tombhadAC (n=tombhad@pD95DCB74.dip.t-dialin.net)
23:14.58*** join/#openezx Gottox (n=Gottox@s01.de)
23:20.41ao2bye
23:20.59sabrodBye ao2.
23:33.49*** join/#openezx Gottox (n=Gottox@s01.de)

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