**** BEGIN LOGGING AT Mon Dec 11 03:00:02 2017 Dec 11 06:03:13 Morning! Dec 11 06:03:36 Tofe: Head felt like it was exploding yesterday so stayed away from PC most of time. Dec 11 06:03:59 My proc/last_kmesg seems empty. I was able to copy logs to sdcard in twrp, not sure these are of help? Dec 11 06:04:00 https://bpaste.net/show/5cdef2ba519d Dec 11 06:11:00 this is just recovery log well... Dec 11 06:11:49 I think instead of last_kmsg, you might want to take a look at pstore thingie Dec 11 06:18:40 bshah: pstore? Dec 11 06:18:52 bshah: First time me tinkering with kernel Dec 11 06:19:12 I took piggz kernel didn't modify anything but sure I still need to update some bits here and there Dec 11 06:20:03 /sys/fs/pstore/console-ramoops Dec 11 06:22:00 I need the console or pmsg? Dec 11 06:22:48 I am not sure.. take both Dec 11 06:22:49 :P Dec 11 06:23:50 https://bpaste.net/show/a374618b9b86 Dec 11 06:24:17 pmsg looks like binary Dec 11 06:28:08 this looks like recovery log, basicall you reproduce bootloop, and then fetch console-ramoops Dec 11 06:31:07 bshah: Well it doesn't bootloop Dec 11 06:31:26 It gives me a "The system has been destroyed", press power button to shutdown screen Dec 11 06:32:20 It could be something really basic in my config Dec 11 06:33:30 With that I mean https://github.com/shr-distribution/meta-smartphone/blob/pyro/meta-xiaomi/recipes-kernel/linux/linux-xiaomi-mido_git.bb#L12 Dec 11 06:33:43 For some of the values I couldn't figure out where they came from Dec 11 06:51:30 bshah: It's at least an improvement over my hard brick on first flash :P Dec 11 07:39:51 Morning! Dec 11 07:42:18 Herrie|2: do you have a mido boot.img (for android or sailfishos) somewhere ? you could try to unpack it to look for these values Dec 11 08:50:21 Tofe: Morning! Unpack with what? Dec 11 08:50:35 I have an Android boot.img laying around from my rescue effort :P Dec 11 09:48:15 Herrie|Laptop: using the mkbootimg tools, you should be able to extract the offset informations from an existing working boot.img file Dec 11 09:48:45 Someone did some wrappers for instance: https://github.com/xiaolu/mkbootimg_tools Dec 11 10:38:26 Tofe: Will give this a go Dec 11 11:10:05 Tofe: https://bpaste.net/show/c7c24dc6aec0 Dec 11 11:38:25 I guess I need to set my KERNEL_RAM_BASE to 0x80000000 instead of 0x00008000 ? Dec 11 11:55:13 Tofe: Ah I should take base + add the offsets for all Dec 11 11:55:27 Mako one shows: https://bpaste.net/show/3044d4970229 Dec 11 12:13:51 Just not sure where the SECOND_RAM_BASE comes from? Dec 11 12:59:48 Herrie|Laptop: mmh good question Dec 11 13:00:34 KERNEL_RAM_BASE seems to be base + offset Dec 11 13:01:25 RAMDISK_RAM_BASE = base + ramdisk_offset Dec 11 13:01:57 Tofe: Yup I figured that now based on other examples Dec 11 13:02:04 Just SECOND_RAM_BASE I cannot figure out Dec 11 13:02:45 yeah, I can't see either... Dec 11 13:05:33 GitHub source code search doesn't help much either Dec 11 13:05:38 I guess it might not matter much Dec 11 13:06:03 maybe Dec 11 13:22:10 Not sure where you got yours for Hammerhead from? Dec 11 13:24:15 I... don't really remember :p Dec 11 13:35:25 OK well got a new image to flash when I'm home Dec 11 13:35:36 Having the right offsets should help a bit at least Dec 11 13:44:10 For sure **** ENDING LOGGING AT Tue Dec 12 03:00:01 2017