| tmlind | freemangordon: flash_mode patch found and rebased on mdm9600 changes and your wake patch: http://muru.com/linux/d4/mdm6600-flash-mode.patch | 05:11 |
|---|---|---|
| tmlind | freemangordon: i tested with v6.12 on d4 flashing once and it worked, will try also on mz617 at some point | 05:12 |
| tmlind | see the patch for instructions, you need only bp.img for mdm6600 repackaged into a zip file | 05:13 |
| tmlind | hmm need to find also the phy-cpcap-usb patch for bp mode since sounds like you're using it for ofono, just muxes the lines so mdm6600 is routed to the micro-a connector | 05:14 |
| tmlind | freemangordon: looks like no changes were needed for the wakeirq, did not check if something needs to be added for the mdm9600 on mz617.. | 05:16 |
| freemangordon | tmlind: thanks, will try | 09:09 |
| freemangordon | cannot find that updater-script though | 09:10 |
| freemangordon | or, what is it, python? | 09:10 |
| dsc_ | https://plak.infrapuin.nl/selif/odpvev3w.mp4 | 09:28 |
| dsc_ | gradient chat bg thing (optional) | 09:28 |
| dsc_ | works with a shader so its fast | 09:28 |
| freemangordon | dsc_: try on n900, before drawing conclusions if something is fast :) | 09:40 |
| freemangordon | oh, I just mount it | 09:44 |
| dsc_ | n900 can do shaders and this one is rather simple, I dont expect issues | 09:45 |
| dsc_ | n900 can also do some 3d :) | 09:45 |
| freemangordon | sure | 09:46 |
| tmlind | freemangordon: a binary in the radio firmware image, unpack it and rezip | 10:10 |
| freemangordon | I already did | 10:12 |
| freemangordon | how to run updater-binary? | 10:12 |
| freemangordon | what paameters? | 10:12 |
| tmlind | see the commit desc | 10:13 |
| freemangordon | I saw, but it just says "And then run the update-binary:" | 10:13 |
| freemangordon | just running it produces "wrong number of arguments" | 10:14 |
| freemangordon | look slike it requires 3 arguments | 10:14 |
| freemangordon | some api version, fd and lication of the script | 10:14 |
| freemangordon | *location of the zip | 10:14 |
| tmlind | oh i'll check tonight.. 3 and the zip are two of the args | 10:14 |
| freemangordon | ok, will try stdout then as second parameter | 10:15 |
| tmlind | probably /dev/ttyUSB0 | 10:15 |
| tmlind | on d4, will check later | 10:16 |
| dsc_ | freemangordon: do you like such a layout? https://plak.infrapuin.nl/selif/f5eqp01k.png | 10:17 |
| dsc_ | nvm the other was better | 10:25 |
| dsc_ | https://plak.infrapuin.nl/selif/9vkeazaq.png | 10:26 |
| freemangordon | tmlind: I think I have a success | 10:26 |
| freemangordon | at least with flashing | 10:26 |
| freemangordon | "Flashing codegroup 2, addr 0, length 25631804" | 10:26 |
| freemangordon | seems to take a while though | 10:27 |
| freemangordon | but unfortunately the issue is still there :D | 10:35 |
| freemangordon | dsc_: sorry, trying to recover my devices, can't look now | 10:38 |
| dsc_ | not important | 10:40 |
| tmlind | freemangordon: update-binary 3 1 ${file} then have to restart the modem a few times by reloading the ohci-platform and the mdm6600 phy driver | 10:41 |
| tmlind | bbl later today | 10:41 |
| freemangordon | did it | 10:45 |
| freemangordon | going to check nvram in the meanwhle | 10:46 |
| freemangordon | fortunatley, seems I have a backup | 10:46 |
| inky | i bought bionic. if it reaches me okay, it has no issues like d3, right? it will work just like d4. | 11:58 |
| Wizzup | yes | 12:15 |
| freemangordon | ok, one of the devices is recovered | 13:54 |
| freemangordon | lets see the other one | 13:54 |
| freemangordon | the other one as well | 14:19 |
| freemangordon | tmlind: thanks a lot! | 14:19 |
| freemangordon | hmm, still something weird | 14:37 |
| freemangordon | I wonder if minicom does strange things | 14:37 |
| freemangordon | oh, usbtty4 behaves weird without SIM | 14:42 |
| freemangordon | even basic commands are refused | 14:42 |
| Wizzup | freemangordon: yay | 15:10 |
| Wizzup | freemangordon: maybe this needs to go on the wiki | 15:11 |
| inky | Wizzup: i can give you my 6.11 config for pinephone, would you update the kernel then? | 15:26 |
| inky | (i use megi's kernel orangepi bratch, that's the correct branch to use for pinephone) | 15:26 |
| inky | megi said so | 15:26 |
| tmlind | freemangordon: ok good to hear :) the nvram gets reset too when you reflash it | 15:31 |
| freemangordon | tmlind: ok, I suspect also some PEBCAK | 16:32 |
| freemangordon | or combination of 3 things: | 16:32 |
| freemangordon | that command I issued is switching to some strange echo mode, but I also didn;t have SIM card and that seems to disable most of the commands (including AT&V) | 16:34 |
| freemangordon | and on top of that, either minicom or kernel queue some data and send it to the modem on reconnect | 16:34 |
| freemangordon | Wizzup: never edited wiki, not sure I want to waste time on that now | 16:36 |
| freemangordon | tmlind: anyway, seems AT interface supports +CMUX | 16:37 |
| freemangordon | at+cmux=? +CMUX: (1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, F, 0),(1, 2) | 16:37 |
| freemangordon | at+cmux? | 16:38 |
| freemangordon | +CMUX: C,2 | 16:38 |
| freemangordon | do you have any idea what all those channels are? | 16:38 |
| * freemangordon looks in etsi specs | 16:40 | |
| tmlind | freemangordon: no idea.. looks like some channels yeah | 16:44 |
| freemangordon | Wizzup: did you rebuild the kernel? | 17:03 |
| Wizzup | No, I can do it now. experimental? | 17:12 |
| freemangordon | tmlind: ok, AT+CMUX=0 works over ttyUSB4 | 17:32 |
| freemangordon | I used some ngsm usermode tool found on github | 17:33 |
| freemangordon | now when I open /dev/ttyGSM1 it create and try to type, I get U1234:ERROR=2 :D | 17:33 |
| freemangordon | so, we don;t need UART it seems | 17:34 |
| freemangordon | now, I have no clue if that's useful | 17:35 |
| freemangordon | like, does using ttyUSB4 instead of modem UART makes any difference in terms of n_gsm/serdev_ngsm | 17:36 |
| freemangordon | so, is it possible to open serial device from kernel module? | 17:38 |
| freemangordon | like, can I do tty_find_driver("ttyUSB4") and then set the line discipline to n_gsm? | 17:40 |
| freemangordon | according to chatgpt I should be able to do ret = tty_set_ldisc(tty, N_GSM); | 17:44 |
| Wizzup | freemangordon: to chimaera-experimental? | 18:06 |
| freemangordon | Wizzup: to -devel | 19:15 |
| Wizzup | ok | 19:21 |
| Wizzup | freemangordon: and ofono? can come later? | 19:21 |
| Wizzup | or at the same time? | 19:21 |
| freemangordon | ofono will come later | 19:22 |
| freemangordon | kernel is compatible with current ofono | 19:23 |
| freemangordon | on Sunday or Monday I will try to package it | 19:23 |
| freemangordon | unless you want to do it | 19:23 |
| Wizzup | okay, sounds good | 19:25 |
| Wizzup | I will do kernel | 19:25 |
| Wizzup | I can do ofono potentially, let's see how I feel tomorrow :D | 19:26 |
| Wizzup | we already have packaging for it so it should not be a lot of work | 19:26 |
| sicelo | and ofono can potentially be easily built from phone. kernel is a different story | 19:26 |
| Wizzup | ok | 19:26 |
| Wizzup | sry, didn't get to kernel yet, will do it later tonight | 20:28 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!