**** BEGIN LOGGING AT Wed Dec 04 02:59:58 2013 Dec 04 13:54:11 hi lumag_ Dec 04 13:54:18 hello ant_work Dec 04 13:55:02 lumag_: while struggling with mtd, have you sent to broonie the SD driver for review? Dec 04 13:55:12 No. Dec 04 13:55:35 It depends on rewritten locomo support. Dec 04 13:55:50 And it broke fb resume Dec 04 13:56:45 And why send it to broonie? Dec 04 13:56:48 ok, I remember he said to use the _one_transfer and not _transfer and to add workqueue. Dec 04 13:56:58 Ah, Mark is now SPI maintainer Dec 04 13:57:09 I used spi-bitbang, which does that already Dec 04 13:57:32 yep, I've seen (not that I understand much ;) Dec 04 13:57:48 Basically it's a framework for simple spi host drivers. Dec 04 13:58:10 I know it only wrt Kconfig options Dec 04 13:58:21 Not to be confused by the name -bigbang, which came from 'gpio bitbanging' driver, where you have several GPIO linees which you toggle by hand Dec 04 14:00:16 about mtd... some indices in that printk heap Dec 04 14:01:17 Did not have time to look. Sorry. Dec 04 14:02:41 Did you find anything there? Dec 04 14:03:00 maybe Dec 04 14:03:23 before going 'crazy' (the inline_map_read 0 lines) Dec 04 14:03:33 there is a suspicious sequencxe Dec 04 14:04:10 around #551 http://pastebin.com/U650dAP2 Dec 04 14:04:33 block erase? Dec 04 14:04:34 inline_map_write 200020 Dec 04 14:04:34 inline_map_write d000d0 Dec 04 14:04:46 maybe was suspended before Dec 04 14:05:25 this happens during the buffer write loop Dec 04 14:06:26 oh, and besides that I'm perplexed: sometimes the status is read Dec 04 14:06:27 inline_map_read 80808080 Dec 04 14:06:41 other times Dec 04 14:06:43 inline_map_read 800080 Dec 04 14:07:02 as far as I see, the AND operations don't change Dec 04 14:07:22 i.e. 0x800080 & 0x30 Dec 04 14:07:38 is 0x80808080 & 0x30 Dec 04 14:08:39 * lumag_ is currently looking at http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=291024269292. Dec 04 14:08:44 That is somewhat strange. Dec 04 14:09:37 I fear this can lead to improper Xstatus readings... Dec 04 14:10:02 All readings should be one-byte wide (well 0x00 byte 0x00 byte) Dec 04 14:11:11 see Dec 04 14:11:12 if (map_word_andequal(map, status, status_OK, status_OK)) Dec 04 14:11:52 277 for (i=0; i 278 if (val1.x[i] != val2.x[i]) Dec 04 14:11:53 279 return 0; Dec 04 14:11:53 280 } Dec 04 14:11:53 281 return 1; Dec 04 14:11:57 Yes, I'm talking about hardware - each chip is should return 1 byte width status (IIUC). Dec 04 14:12:24 Sorry, gtg now. Dec 04 14:12:29 bye Dec 04 14:12:31 I'll be back in a few hours. Dec 04 14:47:20 ant_work, I'm back Dec 04 15:12:07 that was fast ;) Dec 04 23:32:25 lumag: I think I might have founs mthg in the buffer write program Dec 04 23:33:23 seems that XSR is read 800080 Dec 04 23:33:55 but SR gives 80808080 Dec 04 23:35:01 anyway, comparing the buffer write examples ( ) Dec 04 23:37:27 inline_map_write d000d0 Dec 04 23:37:27 inline_map_read 0 Dec 04 23:38:07 that means after confirming the program buffer Status Register SR.7 = 0 Dec 04 23:38:16 WSM Busy Dec 04 23:38:32 (See table 2 for error checking) Dec 04 23:51:52 ant_home, I think now I understand how I sound for you sometimes. Can't follow your ideas :) Dec 04 23:52:58 you see, I miss the e-engineer formation needed to solve those cases ;) Dec 04 23:54:06 as far as I see, the WSM is not ready, though the code continues to write to the buffer Dec 04 23:55:30 I was reading the examples here https://github.com/andrea-adami/collie-nor-flash/blob/master/Buffer-DSA00390028.pdf Dec 04 23:56:25 XSR or SR should return 1 Dec 04 23:57:06 that is 80H Dec 04 23:58:57 10000000 Dec 05 00:01:10 so in the log I have it happens: Dec 05 00:01:11 inline_map_write e800e8 Dec 05 00:01:12 inline_map_read 800080 Dec 05 00:01:24 (ok, buffer program available) Dec 05 00:01:50 then the inline_map_write f000f and 16x inline_map_write XX Dec 05 00:02:00 then the issue: Dec 05 00:02:15 we send program confirmation Dec 05 00:02:16 inline_map_write d000d0 Dec 05 00:02:31 and the first answer we get is 0 Dec 05 00:02:31 inline_map_read 0 Dec 05 00:02:54 SR.7 = 0 ⇒ WSM Busy Dec 05 00:02:54 (See Table 2 for error checking.) Dec 05 00:03:17 the error checking code is also dubious... Dec 05 00:07:57 ok, will continue tomorrow Dec 05 00:07:59 gn Dec 05 00:29:10 hrmf, finally got my kexecboot image to stay alive after booting android, but still adb is awol Dec 05 00:29:34 cant seem to activate developer options at all o0 **** ENDING LOGGING AT Thu Dec 05 02:59:58 2013