Conversation with #inferno at Mon Nov 30 21:31:40 2015 on powerman@chat.freenode.net (irc) (21:31:40) #inferno: Topic for #inferno set by anth at 19:45:51 on 04/07/15 (21:37:57) rogpeppe left the room (quit: Quit: Konversation terminated!). (21:38:05) rogpeppe [~rog@host-92-10-84-72.as43234.net] entered the room. (23:44:44) diginet left the room (quit: Ping timeout: 245 seconds). (23:46:07) diginet [~diginet@107.170.146.29] entered the room. (01:15:45) rogpeppe left the room (quit: Quit: Konversation terminated!). (04:48:26) aap_ [~aap@f055016218.adsl.alicedsl.de] entered the room. (04:51:24) aap left the room (quit: Ping timeout: 245 seconds). (06:00:04) joshumax [~Icedove@fsf/member/joshumax] entered the room. (06:00:19) joshumax: Hello (06:06:24) joshumax: I've gotten Inferno up and running on a Oneplus One, but attempting to start wm locks up emu... What would be the best way to debug this though emu? (08:47:46) rogpeppe [~rog@host-92-10-84-72.as43234.net] entered the room. (09:04:49) doublec: joshumax: oneplus one is a phone? Does it have a X server? (09:05:12) doublec: joshumax: or are you using the hellaphone stuff? (09:17:02) norayr left the room (quit: Quit: Leaving.). (09:17:13) aap_ is now known as aap (09:46:13) joshumax: doublec: I'm using the hellaphone stuff... everything works, except the window manager, which locks up the entire phone before I have a change to debug it (09:52:50) joshumax: s/change/chance/g (10:12:04) SCHAAP137 [~dorian@unaffiliated/schaap137] entered the room. (10:28:03) doublec: joshumax: I had it working on a nexus 5 - did you make sure surfaceflinger and other things were turned off? (10:28:12) norayr [~noch@212.73.74.28] entered the room. (10:29:33) doublec: joshumax: this is what I did at the time: http://bluishcoder.co.nz/2012/06/11/building-inferno-os-for-android-phones.html (10:29:42) doublec: joshumax: and http://permalink.gmane.org/gmane.os.inferno.general/5630 (10:30:09) doublec: joshumax: I seem to recall having issues with sound causing hangs so I commented out all the sound stuff in the port (13:22:52) anth_x left the room (quit: Read error: Connection reset by peer). (13:23:06) anth_x [none@minipizzabox.9srv.net] entered the room. (18:33:54) SCHAAP137 left the room (quit: Remote host closed the connection). (20:44:05) joshumax: Wait... am I on the right branch? For starters there doesn't seem to be any hammerhead-specific initialization in https://github.com/doublec/inferno/blob/hellaphone/emu/port/main.c#L265, only mentions of the Nook color and Nexus S, except for the agcc script with the build libs location hardcoded (20:45:53) joshumax: (and stopping Zygote and bootanim should have killed surfaceflinger, no?) (22:31:22) doublec: joshumax: oops, I meant Nexus S, not Nexus 5, sorry. (22:32:39) doublec: joshumax: And yes, Zygote and bootanim is all that's needed as far as I can recall (22:33:21) doublec: joshumax: For debugging I'm afraid I just stuck printf everywhere in emu and traced things that way (23:03:04) diginet left the room (quit: Ping timeout: 245 seconds). (23:04:02) diginet [~diginet@107.170.146.29] entered the room. (23:15:46) leetspete1: doublec: The Brian Kernighan method. ;) (23:29:22) norayr left the room (quit: Quit: Leaving.). (23:53:42) joshumax: Well then, to shoving printfs everywhere...AWAYYYY (00:04:56) rogpeppe left the room (quit: Ping timeout: 250 seconds). (00:11:21) doublec: leetspete1: haha, exactly :) (00:12:23) doublec: There's probably a way of using gdb too but I haven't used it much for Android development (00:15:57) tacky left the room (quit: Ping timeout: 244 seconds). (00:16:05) tacky [~tacky@unaffiliated/tacky] entered the room. (00:21:59) joshumax: Still, at least I have more options than the time I ported android to my Ti Calc... Before the GPIO and Framebuffer was working the only means of non-intrusive debugging for me was sending timed writes to the USB dongle making its built-in led blink in various patterns ;) (00:35:00) doublec: hah, that sounds like fun (00:35:09) doublec: printf via morse code (02:17:07) Kumool [~kumool@adsl-64-237-235-147.prtc.net] entered the room. (04:19:18) Kumool left the room (quit: Ping timeout: 260 seconds). (04:19:45) Kumool [~kumool@adsl-64-237-235-147.prtc.net] entered the room. (04:47:14) aap_ [~aap@x4db401c3.dyn.telefonica.de] entered the room. (04:50:34) aap left the room (quit: Ping timeout: 245 seconds). (05:41:54) Kumool left the room (quit: Ping timeout: 260 seconds). (05:47:00) Kumool [~kumool@adsl-64-237-235-147.prtc.net] entered the room. (06:06:08) tacky left the room (quit: Remote host closed the connection). (06:08:42) tacky [~tacky@unaffiliated/tacky] entered the room. (06:16:15) Kumool_ [~kumool@adsl-72-50-86-170.prtc.net] entered the room. (06:17:22) Kumool left the room (quit: Ping timeout: 260 seconds). (06:55:50) anth_x1 [none@minipizzabox.9srv.net] entered the room. (06:58:04) anth_x left the room (quit: Ping timeout: 245 seconds). (09:25:52) Kumool_ left the room (quit: Read error: Connection reset by peer). (10:17:49) rogpeppe [~rog@host-92-10-84-72.as43234.net] entered the room. (10:39:58) SCHAAP137 [~dorian@unaffiliated/schaap137] entered the room. (10:40:09) rogpeppe left the room (quit: Quit: Konversation terminated!). (10:40:24) rogpeppe [~rog@host-92-10-84-72.as43234.net] entered the room. (16:57:21) aap_ is now known as aap (17:08:22) The account has disconnected and you are no longer in this chat. You will automatically rejoin the chat when the account reconnects.