**** BEGIN LOGGING AT Thu Jul 28 02:59:57 2022 Jul 28 06:26:50 Morning Jul 28 08:16:45 Morning ! Jul 28 10:32:26 morning Jul 28 20:17:35 JaMa: Morning Jul 28 20:17:50 I don't recall: Did you have a Go laying around too? Jul 28 20:20:13 no, never had one Jul 28 20:28:41 Ah OK Jul 28 20:28:53 Maybe it was morphis then don't remember Jul 28 20:29:58 yes morphis very likely had one Jul 28 21:39:56 Herrie: so I wanted to check, what's our status for TP and Go ? working moboot, but not working uImage ? Jul 28 21:40:25 Tofe: Yes Jul 28 21:40:41 moboot 0.4.0 works on Go and regular TP Jul 28 21:40:42 I'll soon give a try to mbd's defconfig, didn't have time yet, but iirc there aren't that many differences with our current defconfig Jul 28 21:41:13 Just on 1 of my Go's the home button doesn't work in moboot, but works in webOS Jul 28 21:41:28 So it's wrong GPIO somewhere pretty sure Jul 28 21:42:12 So curious if it works on yours Jul 28 21:42:34 how do you patch that without bricking the whole thing ? Jul 28 21:43:16 Tofe: What you mean? Jul 28 21:43:54 Worst case you unscrew the 4 battery screws and take battery out Jul 28 21:44:03 I will test it on my 3rd go soon Jul 28 21:44:12 That one has wrong touch offset Jul 28 21:44:18 Some firmware issue Jul 28 21:44:19 I mean, if I replace moboot in /boot and it doesn't work as expected ? Jul 28 21:44:31 Just boot from memory Jul 28 21:44:41 oh. Jul 28 21:44:42 Not flashing to /boot Jul 28 21:47:07 Tofe: novacom boot mem:// < uImage.moboot_0.4.0 Jul 28 21:47:36 This is from Bootie mode (power + volume up) Jul 28 21:47:51 You can do the same to boot the normal uImage to webOS in case you messed something up Jul 28 21:47:59 And fix boot partition in there ;) Jul 28 21:48:10 And I have some webOS Doctors laying around as last resort if needed Jul 28 21:48:15 Also for Go Jul 28 21:48:39 ok, I didn't understand yet that moboot was both a recovery image and the main bootloader Jul 28 21:48:41 Found that one of the Go's I have here came from a former Palm/HP employee and had webOS 3.0.6 on it which was never pushed out Jul 28 21:48:57 moboot is mainly a boot menu Jul 28 21:49:05 It's based on littlekernel from what I understood Jul 28 21:49:11 ok yes Jul 28 21:49:25 I'm looking at commit history, I understand much better now Jul 28 21:49:50 Basically it will give you a list of options based on uImages found in /boot ;) Jul 28 21:49:58 You can navigate and select the preferred one Jul 28 21:50:08 There's also a way to adjust time out, default option etc Jul 28 21:50:17 By means of files if I recall correctly, been a while Jul 28 21:51:25 Based on this: https://www.emcraft.com/som/vf6/controlling-gpio-from-linux I should be able to use evtest to figure out which gpio is used for the home button on the Go that doesn't want to behave with moboot Jul 28 21:52:17 https://github.com/jcsullins/moboot/blob/master/app/moboot/moboot.c#L294 correct Jul 28 21:53:43 Yeah those Jul 28 21:56:26 Home button on 3rd Go also not working ;) Jul 28 21:56:36 https://github.com/jcsullins/moboot/blob/master/target/apq-touchpad/gpiokeys.c#L39 is that what you're looking for ? Jul 28 21:56:55 Tofe: Yeah, there are 2 variants. One hard coded and 1 with logics Jul 28 21:57:18 The hard coded will not work for Go at all, will tell you "Please release key(s) Jul 28 21:57:56 So I modified moboot so that all opal's are "3G" and the "Please release key(s)" is gone, up and down works on all 3 Go's. Home button only on 1/3 Jul 28 21:58:09 Now need to figure out which TP is which in terms of models etc Jul 28 21:58:19 And see which models need another GPIO for home key Jul 28 21:58:27 ok I see Jul 28 22:01:17 Ah 3rd Go works, just home button is a bit broken on that one Jul 28 22:06:02 can you give me the uImage ? I'll try Jul 28 22:06:52 https://github.com/Herrie82/moboot/releases/tag/Moboot-0.4.0 Jul 28 22:06:58 Put it there for now Jul 28 22:08:23 after a couple of retries for the home key, it works Jul 28 22:11:18 Tofe: OK :D Jul 28 22:11:21 Well that's good Jul 28 22:11:40 yes, means we can hack around Jul 28 22:11:44 It has hardcoded tenderloin uImage in moboot.c so that should become flexible based on Opal or Topaz Jul 28 22:12:12 https://github.com/jcsullins/moboot/blob/master/app/moboot/moboot.c#L403 Jul 28 22:12:22 should be tenderloin for topaz and shortloin for opal devices Jul 28 22:13:16 the code just needs to check for these files and pick the first one that begins with uImage-2.6.35-palm- Jul 28 22:13:27 Tofe: Yeah or that Jul 28 22:13:32 Or any that exists ;) Jul 28 22:13:38 Just I don't know how to do that Jul 28 22:13:53 I could probably figure it out, but I'm sure you probably can dream it up :P Jul 28 22:14:45 well, it's nearly already done, we have the loop that lists all the uImages here https://github.com/jcsullins/moboot/blob/master/app/moboot/moboot.c#L349 Jul 28 22:15:20 I saw that bit just now Jul 28 22:15:33 With regards to home button that's not always working Jul 28 22:15:53 If you have the same in webOS it's probably poorly connected pogo pins Jul 28 22:16:10 Digitiser is connected to USB board with 5 pogo pins Jul 28 22:16:22 And home button is there too Jul 28 22:16:29 so if we add "else if (strncmp("uImage-2.6.35-palm-", ptr, 19) == 0)" line 367, we're all good Jul 28 22:17:13 I'll sketch a little patch for you Jul 28 22:17:22 Tofe: Great Jul 28 22:17:58 There aren't many Go's in the wild but it's so similar to regular and 4G TP it should be feasibly to get something to boot on it too Jul 28 22:18:15 It's a lot nicer to carry around vs 10" in terms of weight Jul 28 22:27:55 https://github.com/Tofee/moboot/pull/1 something like this ? not build-tested or anything Jul 28 22:29:20 time for sleep anyway :) gn8 ! Jul 28 22:34:08 Tofe: Works! Jul 28 22:34:21 At least on shortloin Jul 28 22:35:06 Gn8! Jul 28 22:35:10 Here also bedtime **** ENDING LOGGING AT Fri Jul 29 02:59:56 2022