**** BEGIN LOGGING AT Wed Jun 13 03:00:02 2018 Jun 13 10:11:01 VartiWork, greguu: the images I uploded are ok on qemu but give many alignment faults on real Zaurus Jun 13 10:18:24 :( Jun 13 10:21:47 gcc7.2 seems the culprit Jun 13 10:21:52 err 7.3 Jun 13 10:22:24 7.2 was the one fixing las year's similar issue Jun 13 20:50:28 Omegamoon: how are things with the Gemini ? Keen on getting the UART going ? Jun 13 20:51:51 greguu[w], I'm a little reluctant on soldering a serial console on it myself... I know my weaknesses ;) Jun 13 20:52:16 so I'll need to ask someone with the proper skills to get that done Jun 13 20:52:58 but in the meantime I'm trying to get some development going Jun 13 20:55:08 working on an ubuntu image, just to see how I can tweak into something that works Jun 13 20:57:22 I really hate the MediaTek platform really... it is 150% crap... it feels like going back years in time, in the time I started with Rockchip devices Jun 13 20:59:04 hm, yes I am also reluctant to solder atm. I use it as a main driver as my Nexus 5 broke just recently Jun 13 20:59:25 I would however get some effort into a kexecboot kernel, mainline or stock kernel going. Jun 13 20:59:46 once we have that, troubleshooting distros and kernels is much more easy than flashing all the time Jun 13 21:00:44 but for that I would need serial console/uart Jun 13 21:00:46 :/ Jun 13 21:01:10 without a serial console proper kernel development is a real pain... it is staring at black screen, not knowing what the issues are Jun 13 21:01:14 maybe better to wait and see if Planet comes up with a 4.4 kernel as promised Jun 13 21:01:51 one of the USB ports should provide also UART but that is not properly documented and tested afaik Jun 13 21:02:01 I've found quite a few 4.4 kernels for a series of MTK SOCs... but not the X25/X27 Jun 13 21:02:31 yes, there are none for x2X at this stage. Jun 13 21:02:52 I wonder if the kexec call for aarch64 could be backported to the 3.18 kernel Jun 13 21:02:56 I got the full datasheets, so if USB acts as UART also, that should be documented Jun 13 21:03:20 I rather buy an expensive adapter than solder on the board Jun 13 21:03:25 backporting anything into the 3.18 kernel is a total waste of time to be honest Jun 13 21:03:28 as I need it to be functional Jun 13 21:03:52 if it would give us a kexecboot kernel, it would help in development Jun 13 21:04:01 the arm64 kexec parts are huge... not something easy to port Jun 13 21:04:48 and for this alone you would need console / uart to test.. so there is no way around getting uart going Jun 13 21:05:45 I was thinking about either ask Planet for a plain gemini board... but I doubt if they have those available Jun 13 21:06:23 other option would be to buy some of the other X27 devices around, strip it, and build it into a dev-device Jun 13 21:07:33 true, a dev board would be usefull until the kernel issues are solved. Planet should have some returns, even a x25 board would do Jun 13 21:08:13 I'd rather go that route than mess up my Gemini to be honest Jun 13 21:08:46 I do have an aarch64 device I could use to build, but not much use for testing as it is S905x and not Mediatek Jun 13 21:10:09 yeah, I've got loads of arm64 devices... that's not the problem :) Jun 13 21:10:55 it needs to have the X25/X27 to make it useful for the Gemini Jun 13 21:13:23 I will investigate the USB UART and check with TheKit about it. He seems to have soldered. Jun 13 21:13:48 a dev board is worth looking into too.. Jun 13 21:14:19 but I gave TheKit a link from a guy who did it with x20 via USB, still a custom adaptor Jun 13 21:21:50 so you're saying some sort of usb adaptor should work also? Jun 13 21:22:22 let me see if I can find anything on that in the datasheets Jun 13 21:34:20 old but may apply. http://www.stevenhoneyman.co.uk/2014/11/mtk-mediatek-debug-cable.html Jun 13 21:35:20 it only works if the cable is present before boot.. otherwise the kernel inits it just as a normal usb port Jun 13 21:36:29 just read that one :) Jun 13 21:41:53 my guess is that you would need the left side usb port to make this work Jun 13 21:43:04 that one is special anyway, since it is recognized during early boot by the flashing tool as well Jun 13 21:44:35 yes, the little kernel does detect it too. I wonder if the 3.18 source contains some traces of this or not Jun 13 21:51:35 this is a nice experiment... I wonder if I have all the stuff needed to make one myself Jun 13 21:52:27 https://github.com/NotKit/kernel-3.18-geminipda/blob/2866c7ed283d1b7064299b9170dd79b221346c9a/drivers/misc/mediatek/uart/mt6797/platform_uart.c Jun 13 21:52:32 it does contain it Jun 13 21:52:51 so worth looking into Jun 13 21:54:12 I have a usb-c to usb adaptor... then I have several FTDI boards... now "only" the connection part :P Jun 13 21:55:16 you may not need to implement the "charging switch" as Steve did in his post.. not sure about this USB-C adaptor - if it breaks anything Jun 13 21:55:57 no, not sure myself... Jun 13 21:57:34 important is that the port is 1.8v and not 3.3v Jun 13 21:58:03 all a bit risky for my taste. :) Jun 13 22:01:46 I have been using my gemini recently a lot for typing and find that using the keyboard with thumbs works just ok while holding it. Jun 13 22:02:30 however I really find the missing back-light annoying in not bright environments Jun 13 22:03:16 Omegamoon, does yours handle rotation when answering a call under Android ? (eg can hold upside down) Jun 13 22:03:45 missing backlight is annoying to say the least Jun 13 22:04:26 answering a call... there's no SIM in the device yet, so I wouldn't know :P Jun 13 22:05:22 it is far from the point that I dare to switch phones... so currently it's only an experimental device Jun 13 22:05:30 I hope that changes though Jun 13 22:06:00 I wanted it for experiments too, just the nexus5 with sailfish was dropped on the day the gemini arrived Jun 13 22:06:21 I have hopes for Sailfish for Gemini as an Android alternative. A dual boot, Sailfish / Linux would be my fav Jun 13 22:07:09 on linux I would not need full phone features, nice would be a log file what records incoming / missed calls and txt while in pure Linux Jun 13 23:14:22 ant_home: how is 4.14 going ? I noticed that after 4.14.30 the spi issue was upstream and did not require manual patching anymore Jun 13 23:14:40 not sure what version it was introduced as i jumped to 4.14.47 or so Jun 13 23:16:45 https://pastebin.com/ABrJie74 Jun 13 23:16:56 kernel is ok, libc spits align traps Jun 13 23:17:35 kernel 4.14.48 https://pastebin.com/2X0Sjt9n Jun 13 23:17:56 (I'll rebuild with gcc6 probably...) Jun 13 23:18:36 greguu[w], only patch is th esharpslpart stuff Jun 13 23:19:13 I'll post the OE recipe Jun 13 23:19:58 greguu[w], anyway 4.14.4x builds with gcc8 Jun 13 23:20:08 4.4.1xx still fails Jun 13 23:20:30 they are backporting the fixes right these days Jun 13 23:20:37 to stable Jun 13 23:20:54 sigh..every summer a gcc breakage :/ Jun 13 23:23:37 I don't know whether disassembling libc right now or going straight to bed :) Jun 13 23:23:43 hm.. strange Jun 13 23:23:52 I got to check but I build void with 7.3 afaik Jun 13 23:23:56 kernel and userland Jun 13 23:23:58 musl Jun 13 23:24:08 heh, OE gcc7.3 is flawed Jun 13 23:24:15 so is 8.1 Jun 13 23:24:26 it may be 7.2 , once home I can confirm :) Jun 13 23:24:29 fun is all runs fine in qemu Jun 13 23:24:40 as it did last year with kernel Jun 13 23:24:40 what cflags ? xscale ? Jun 13 23:24:44 yes Jun 13 23:25:02 TUNE_FEATURES = "arm armv5 thumb dsp" Jun 13 23:25:02 TARGET_FPU = "soft" Jun 13 23:25:12 seems we have some issues with thumb Jun 13 23:25:33 at least I was told this coul be a culprit Jun 13 23:25:48 thumb is enabled in kernel but I dont set it in cflags Jun 13 23:25:58 as I doubt we need it anymore Jun 13 23:26:28 NOTE: make -j 8 HOSTCC=gcc -isystem/tmp/build/tmp-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/tmp/build/tm Jun 13 23:26:28 p-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0/recipe-sysroot-native/usr/lib -L/tmp/build/tmp-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0/recip Jun 13 23:26:28 e-sysroot-native/lib -Wl,-rpath-link,/tmp/build/tmp-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/tmp/build/t Jun 13 23:26:28 mp-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0/recipe-sysroot-native/lib -Wl,-rpath,/tmp/build/tmp-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0 Jun 13 23:26:34 age CC=arm-oe-linux-musleabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd -fdebug-prefix-map=/tmp/build/tmp-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0=/u Jun 13 23:26:37 sr/src/debug/linux-handheld/4.14-r0 -fdebug-prefix-map=/tmp/build/tmp-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0/recipe-sysroot= -fdebug-prefix-map=/tmp/ Jun 13 23:26:40 build/tmp-musl/work/c7x0-oe-linux-musleabi/linux-handheld/4.14-r0/recipe-sysroot-native= -fdebug-prefix-map=/tmp/build/tmp-musl/work-shared/c7x0/kernel-source=/usr/s Jun 13 23:26:43 rc/kernel LD=arm-oe-linux-musleabi-ld.bfd **** ENDING LOGGING AT Thu Jun 14 03:00:04 2018