00:00.12 | CIA-15 | OpenEZX: 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.49 | CIA-15 | OpenEZX: 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.05 | CIA-15 | OpenEZX: 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.46 | Hopscotch | good 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.38 | WyrM | hi |
09:56.45 | WyrM | good morning |
09:57.46 | florian | hi |
09:59.44 | *** join/#openezx jonwil (n=jonwil@123-243-219-11.tpgi.com.au) |
09:59.56 | jonwil | hi |
10:10.51 | sabrod | Good 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.35 | jonwil | hmmm, 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.01 | ao2 | jonwil, in drivers/video/fbcon.c there should be a way to enable text console on boot |
12:13.44 | jonwil | so that will work even with the moto boot logo being drawn |
12:14.28 | ao2 | motorola 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.42 | ao2 | for 2.4 ezx kernels we had this patch: http://rafb.net/p/BdfCxc82.html |
12:25.36 | jonwil | I dont see any fbcon.c in my tree |
12:25.56 | ao2 | OT: 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.03 | jonwil | found it now |
12:27.26 | jonwil | ok, i can see something talking about CONFIG_MOT_FEAT_FB_PANIC_TEXT |
12:27.55 | jonwil | also more so I see CONFIG_MOT_FEAT_POWERUP_LOGO |
12:28.01 | ao2 | looks promising |
12:28.20 | jonwil | also CONFIG_MOT_FEAT_CONSOLE_DISABLED |
12:28.23 | ao2 | so check in your .config if those are enabled |
12:30.22 | jonwil | yes both are enabled by default |
12:30.38 | jonwil | Once i find out wtf is up with my linux box being unstable as hell, i will turn them off and rebuild kernel |
12:33.52 | ao2 | I'd start disabling only CONFIG_MOT_FEAT_POWERUP_LOGO |
12:38.28 | WyrM | I would start enabling console messages. |
12:38.39 | WyrM | hi ao2 :) |
12:39.07 | ao2 | hi WyrM |
12:45.15 | gmzhuo | Hi,WyrM,ao2 |
12:45.25 | WyrM | hi gmzhuo |
12:48.27 | jonwil | now I just need to find a way to run memtest86 on my linux box :( |
12:51.03 | ao2 | hi gmzhuo |
12:55.40 | ao2 | i2c 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.02 | ao2 | s/my btw/my fault btw/ |
12:56.40 | ao2 | the problem was only with the camera sensor chip, not with i2c bus |
12:57.08 | gmzhuo | then,how about funlight? |
12:57.28 | gmzhuo | lp3x44?I fogot the chip |
12:57.32 | ao2 | gmzhuo the message you were getting should be unrelated to this, it should mean "no chip at this address" |
12:58.13 | ao2 | it could be that e6 doesn't have a lp3944 at all |
12:58.35 | gmzhuo | then which controled the led backup the key on e6 |
12:59.10 | ao2 | it could be a sigle gpio, or a different chip |
13:00.00 | jonwil | bah, cant find out how to run memtest86 :( |
13:01.32 | WyrM | gmzhuo: probably PCAP. |
13:01.42 | WyrM | PCAP controls leds on a780 and e680. |
13:01.45 | gmzhuo | I should test on 2.4.20 |
13:01.48 | WyrM | a1200 has no leds. |
13:01.58 | WyrM | motoq is also PCAP. |
13:02.17 | WyrM | just copy the a1200 leds platform_data to e6. |
13:02.27 | WyrM | it will probably work :) |
13:02.50 | WyrM | err.. |
13:02.53 | WyrM | a780. |
13:03.00 | WyrM | there are no leds on a1200. |
13:04.06 | WyrM | jonwil: record a bootable CD. |
13:04.24 | jonwil | now I got it working |
13:04.40 | jonwil | I hope |
13:05.30 | jonwil | yep, memtest is running |
13:05.51 | jonwil | Lets hope I can find out whats wrong with this |
13:24.58 | *** join/#openezx tombhadAC (n=tombhad@pD95DCB74.dip.t-dialin.net) |
13:26.55 | gmzhuo | Wyrm,a780's led is lcd backlight? |
13:30.30 | gmzhuo | how about the led for e680? |
13:33.00 | WyrM | no, backlight is controlled by pxa pwm on all phones afaik. |
13:33.12 | WyrM | its the keys light. |
13:33.41 | gmzhuo | a780's not works on E6 |
13:33.47 | WyrM | both the external number pad and the auxiliary (power + home keys) |
13:35.02 | gmzhuo | how about e680's? |
13:35.07 | WyrM | the e680 has a different led, connected to both PCAP as to some switch connected to the STUART pins. |
13:35.26 | WyrM | it can have 3 colors, is connected to 2 pcap led controllers and 2 gpios. |
13:35.39 | WyrM | the gpios are the same for the STUART RX and TX pins. |
13:37.11 | WyrM | how many leds there are on e6? |
13:39.02 | gmzhuo | I don't konw |
13:39.19 | gmzhuo | any key press will turn the key light |
13:39.36 | gmzhuo | I have found one gpio control the keypad light |
13:39.39 | gmzhuo | GPIO89 |
13:41.35 | WyrM | just gpio? or gpio + pcap like on e680? |
13:41.53 | gmzhuo | I don't know, |
13:42.02 | WyrM | in any case, there are leds-gpio and leds-pcap driver on our git. |
13:42.11 | WyrM | one of them will work ok :) |
13:42.22 | WyrM | dump the pcap registers on 2.4 |
13:42.24 | gmzhuo | Maybe e680's will ok |
13:42.30 | gmzhuo | Let me try |
13:42.40 | WyrM | and look at the leds registers, if any is enabled, then it is like the e680 |
13:55.02 | gmzhuo | where should I look at the leds register? |
14:09.48 | *** join/#openezx johanbr (n=j@blk-7-131-230.eastlink.ca) |
14:16.44 | gmzhuo | oops,can't find it |
14:17.06 | gmzhuo | even in linux-2.4.0 |
14:17.09 | gmzhuo | even in linux-2.4.20 |
14:29.04 | jonwil | yay we have kernel boot output now |
14:31.26 | jonwil | It keeps saying "SH_CREATE_ATTACH_MEM_TAPI_DEBUG() failed to create shared memory" |
14:31.29 | jonwil | over and over and over |
14:31.32 | jonwil | many many times |
14:35.48 | jonwil | Thankfully a moto phone is almost impossible to brick |
14:45.40 | jonwil | #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.28 | WyrM | gmzhuo: it's the PERIPH register. |
15:30.43 | WyrM | gmzhuo: see each bit meaning on ezx-pcap.h |
15:31.00 | WyrM | jonwil: not that impossible. |
15:31.33 | jonwil | as long as you dont flash bootloader and you keep good backups, its hard |
15:32.11 | WyrM | heh, as every other device which the bootloader can flash the device. |
15:32.13 | WyrM | lol. |
15:32.57 | WyrM | this includes what? all phones? |
15:35.10 | gmzhuo | WyrM,I have shutdown my linux :( |
15:42.59 | ao2 | WyrM, 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.08 | ao2 | I can add the code, but I don't have a1200 to test on, and a910 isn't in a happy shape |
15:44.13 | gmzhuo | where is the ezx-pcap.h? |
15:45.11 | ao2 | gmzhuo, include/linux/mfd/ezx-pcap.h |
15:46.29 | gmzhuo | I find it in motorolas's :( |
15:47.24 | ao2 | ah in 2.4 is in a different place |
16:00.39 | WyrM | ao2: yes, I will test it. |
16:00.54 | WyrM | but the issue with the driver on gen2 was not the size. |
16:01.19 | WyrM | it was some flash identification bits which stopped the probe() |
16:01.50 | WyrM | when I forced the probe to succeed, it worked. |
16:02.48 | WyrM | I 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.37 | sabrod-laptop | So, ao2, you added A780 mtd map to ezx.c ? |
16:03.59 | sabrod-laptop | I have a910i and a1200, if it helps. |
16:04.16 | *** join/#openezx johanbr (n=j@JBrannlund2.MathStat.Dal.Ca) |
16:04.47 | ao2 | sabrod-laptop, they are also in old svn code, thanks, they should be right, but a double check never hurts |
16:04.55 | sabrod-laptop | well I don't know if you were talking about this... |
16:05.27 | sabrod-laptop | Ok, yes, but if you added one phone on the git, I'd be able to add mine, maybe... |
16:06.09 | WyrM | ao2: btw, I and sabrod are working on a firmware backup and identification tool: http://svn.openezx.org/trunk/src/host/backuptool/ |
16:06.26 | WyrM | have a look, and map your phones firmwares if you have some time :) |
16:06.27 | sabrod-laptop | I wasn't able to port that form svn... |
16:06.27 | sabrod-laptop | it never worked I tried one full day, I'd say... :) |
16:06.46 | ao2 | WyrM, ok |
16:08.41 | WyrM | I 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.11 | ao2 | WyrM, I was trying backuptool.sh with the two A910s. I had to unplug/replug the usb cable after any boot_usb invocation... |
20:59.02 | sabrod | Really? |
20:59.10 | sabrod | not me wyrm |
20:59.25 | *** join/#openezx tombhadAC (n=tombhad@pD95DCB74.dip.t-dialin.net) |
20:59.52 | ao2 | FAILED: RQSN |
21:00.24 | sabrod | not me, ao2, sorry :) |
21:00.43 | sabrod | you need the last tools. |
21:00.56 | ao2 | last boot_usb and gen-blob |
21:00.59 | ao2 | latest |
21:01.52 | sabrod | yes, sorry, you will find it handy, as backuptools itself call them in ".." dir ;) |
21:02.21 | sabrod | so you can checkout, then compile from the same dir... |
21:02.34 | sabrod | it save some cd's :) |
21:04.55 | ao2 | yes I setup the dir layout correcly as it finds boot_usb |
21:05.07 | sabrod | backup tool use the new "boot_usb setflag usb && boot_usb gen-blob 0" command |
21:06.16 | sabrod | so you don't need to switch to usb mode by hand, and it can repeat steps automaticly. |
21:06.48 | sabrod | if I understood correcly... |
21:08.36 | ao2 | boot_usb itself fails with an error |
21:19.00 | WyrM | ao2: hi. |
21:19.46 | WyrM | ao2: use the latest gen-blob, and use backuptool.sh with the original bootloader (MBM). |
21:20.39 | ao2 | yes, 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.22 | WyrM | ao2: http://pastebin.com/m41a06e3e |
21:30.29 | WyrM | its how it looks here. |
21:33.53 | ao2 | http://pastebin.com/d4349a854 |
21:34.16 | WyrM | hum.. |
21:34.19 | ao2 | WyrM, I can really use boot_usb only once |
21:34.31 | ao2 | once per cable insertion |
21:34.38 | WyrM | is it related to setflag? |
21:35.11 | ao2 | dont' think so, let me try sending gen-blob and doing some casual read |
21:35.16 | WyrM | I mean, can you "boot_usb read 0 4 /dev/null" twice? |
21:36.15 | WyrM | but no, wait, no read. |
21:36.25 | WyrM | its the original bootloader, not gen-blob. :/ |
21:38.23 | sabrod | Warning, params is not supported on your phone, please consider using gen-blob > I also have this message while sending genblob... |
21:38.35 | sabrod | but it works :) |
21:38.48 | WyrM | yes, you are not using gen-blob before sending it ;) |
21:38.48 | sabrod | At least 2 times! |
21:38.49 | ao2 | WyrM, 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.39 | ao2 | let me try on the other phone |
21:39.56 | ao2 | could it be something on my host? |
21:40.04 | ao2 | if so I'll try even on another pc |
21:40.23 | WyrM | well, it works on 4 different phones here. |
21:40.31 | sabrod | ao2!!! |
21:40.36 | sabrod | it's normal error. |
21:41.02 | WyrM | sabrod: "FAILED: RQSN" is not normal. |
21:41.05 | sabrod | Look the script is just looking for a mtd map to be read. |
21:41.33 | sabrod | no RQSN on pastebin. |
21:42.02 | sabrod | Yes, the pastebin is clean. |
21:42.11 | ao2 | ok, same with the other a910 (a780 is still charging), let me try on the laptop |
21:42.19 | WyrM | you are looking at my pastebin, not antonio's. |
21:42.28 | sabrod | :) |
21:42.54 | sabrod | Oh sure! |
21:42.57 | sabrod | lol |
21:43.23 | sabrod | I'm so foolish. |
21:58.55 | *** join/#openezx WyrM1 (n=wyrm@189.13.141.128) |
21:59.43 | sabrod | Wyrm, are you working on the "KCT parser" ? |
21:59.54 | WyrM | not now. |
22:00.02 | sabrod | You want to do it in C? |
22:00.14 | WyrM | yes. |
22:00.17 | sabrod | It should be doable using a script. |
22:00.37 | WyrM | probably easier with C. :) |
22:00.40 | sabrod | I'm training me trying to do so. |
22:00.57 | sabrod | Yes, but not for me, as I would need to learn c! :) |
22:01.55 | sabrod | Well I think I can try using unix tools... but it would be unix only :( |
22:02.46 | sabrod | I'm so lazy extracting kct datas on my phones! |
22:03.04 | sabrod | too lazy to. |
22:12.03 | ao2 | WyrM, 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.40 | WyrM | ao2: ok! |
22:19.12 | jonwil | hi |
22:26.49 | ao2 | Added A910 2.45R to backuptool.sh |
22:42.48 | sabrod | Wyrm, is it the new iphone "music recognition |
22:43.08 | sabrod | " advertisement that gave you the backup tool idea ? |
22:43.17 | sabrod | :) |
22:45.26 | sabrod | (disgusting! shazam, @#%$? pouah! ) |
22:46.33 | sabrod | I'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.41 | ao2 | bye |
23:20.59 | sabrod | Bye ao2. |
23:33.49 | *** join/#openezx Gottox (n=Gottox@s01.de) |