IRC log of #maemo for Saturday, 2016-07-09

*** Dynamit has quit IRC00:08
*** xes_ has joined #maemo00:09
*** xes has quit IRC00:12
*** Kilroo has joined #maemo00:13
*** robink_ has quit IRC00:15
*** trx has quit IRC00:19
*** delphi has joined #maemo00:19
*** Kilroo has quit IRC00:19
*** Kilroo has joined #maemo00:20
*** delphi has quit IRC00:28
*** trx has joined #maemo00:33
*** trx has quit IRC00:33
*** trx has joined #maemo00:33
*** andril has joined #maemo00:45
*** Bitnotri_ has joined #maemo00:47
*** Bitnotri has quit IRC00:49
*** Dynamit has joined #maemo00:50
*** xelo has quit IRC00:50
*** Bitnotri_ has quit IRC01:02
*** shamus has quit IRC01:02
*** shamus has joined #maemo01:04
*** xes_ is now known as xes01:08
*** LauRoman|Alt has quit IRC01:11
*** KotCzarny has joined #maemo01:28
fralssomeone pinged? ^^01:57
DocScrutinizer05frals: yeah, somebody claimed to have a "not working fmms version". nevermind I'd say02:10
DocScrutinizer05I didn't hear any question at all, anybody could answer02:11
*** xorly has quit IRC02:12
DocScrutinizer05frals: http://mg.pov.lt/maemo-irclog/%23maemo.2016-07-08.log.html#t2016-07-08T15:36:1702:13
DocScrutinizer05http://mg.pov.lt/maemo-irclog/%23maemo.2016-07-08.log.html#t2016-07-08T15:46:1202:15
*** robink_ has joined #maemo02:17
*** LauRoman|Alt has joined #maemo02:31
*** LauRoman has joined #maemo02:32
*** LauRoman|Alt has quit IRC02:35
*** flo_lap has quit IRC02:44
*** lxp has quit IRC02:59
*** LauRoman has quit IRC03:16
*** fortytwo has quit IRC03:38
*** fortytwo has joined #maemo03:41
*** eMHa has joined #maemo04:03
*** Humpelstilzchen has joined #maemo04:03
*** Defiant has quit IRC04:04
*** eMHa__ has quit IRC04:06
*** freemangordon has quit IRC04:16
*** freemangordon has joined #maemo04:18
LinkandzeldaDocScrutinizer05: was able to fix the issue with /bin/dd vs the gnu path version with ssh login to user and root as well as xterm login. i added "source ~/.bashrc" into .profile for /home/user and /root/ now it executes a source on loading of each shell and the paths are set to use gnu before the others, no more busybox binaries or root; bash;05:03
*** APic has quit IRC05:04
VajbSicelo: LMD = 3221mAh ;)05:44
*** lobito has quit IRC05:57
*** AndrewX192 has quit IRC06:19
*** AndrewX192 has joined #maemo06:31
*** DocScrutinizer05 has quit IRC07:00
*** DocScrutinizer05 has joined #maemo07:00
*** pagurus has joined #maemo07:15
*** pagurus has quit IRC07:16
*** pagurus has joined #maemo07:16
*** pagurus` has quit IRC07:17
*** pagurus has quit IRC07:17
*** pagurus has joined #maemo07:19
*** chainsawbike has quit IRC08:12
*** chainsawbike has joined #maemo08:13
*** L29Ah has left #maemo08:31
*** L29Ah has joined #maemo08:31
KotCzarnyvajb: poser :P08:41
*** Dynamit has quit IRC09:47
*** eijk_ has joined #maemo09:50
*** Dynamit has joined #maemo09:52
*** eijk_ has quit IRC10:10
*** Dynamit has quit IRC10:18
fralsDocScrutinizer05: cheers. yeah didnt see any question there either :)10:23
*** L29Ah has left #maemo11:01
*** L29Ah has joined #maemo11:01
*** peetah has quit IRC11:10
*** lxp has joined #maemo11:52
*** Pali has joined #maemo12:51
*** shentey has joined #maemo12:56
*** peetah has joined #maemo13:30
*** xorly has joined #maemo13:41
SiceloVajb: i'd love to have that one, lol13:56
DocScrutinizer05pretty easy, speedswap batteries13:57
Siceloi've done that a couple of times, yes13:58
DocScrutinizer05LMD means nothing, not even when CI=013:59
Siceloit's not very convenient tbh .. esp. the need for wall charger. most times when you need that extra power, it's because you do not have access to 'charging'14:00
DocScrutinizer05aah that sort of howswap, yeah14:00
DocScrutinizer05hotswap even14:00
DocScrutinizer05re "access to charging": there are pretty small (~1.5 .. 2 BL-5J volume sizes) USB power banks14:02
DocScrutinizer05even with photovoltaic cell14:02
Sicelo:)14:03
DocScrutinizer05https://www.amazon.com/Dual-USB-Waterproof-Solar-Battery-Charger/dp/B01EZ91C76/ref=sr_1_11?ie=UTF8&qid=1468062437&sr=8-11&keywords=usb+power+bank+solar14:07
DocScrutinizer05https://www.amazon.com/dp/B01H3CFFF2?psc=114:08
DocScrutinizer05the latter actually looks like a nifty smart critter14:09
kerio1200mAh tho14:12
keriowell i mean, the first one claims 5Ah14:12
keriofor 10 monies14:12
keriothere's no way that's true14:12
DocScrutinizer05https://www.amazon.com/Mini-Portable-Retractable-Motorola-Blackberry/dp/B01EJ69VF0/ref=sr_1_28?s=wireless&ie=UTF8&qid=1468062883&sr=1-28&keywords=usb+mini+power+bank14:15
*** dafox has joined #maemo14:30
DocScrutinizer05burn in stress test for N900 CPU: rsync a full eMMC via ssh14:38
DocScrutinizer05temperature 52 C14:39
L29Ahhow do you tell the temperature?14:40
DocScrutinizer05http://wstaw.org/m/2016/07/09/plasma-desktopEA2277.png14:41
*** shentey has quit IRC14:41
DocScrutinizer05temp? simple: bq27200.sh14:41
DocScrutinizer05chip temp of bat gauge (_not_ battery temp!)14:42
*** ced117 has quit IRC14:49
kerioi hope you're using a recent enough sshd14:50
kerio(and ssh, but that's easier)14:50
keriochacha20 is measurably faster than other ciphers14:55
DocScrutinizer05sshd on N900 is as recent as it gets, I guess14:58
DocScrutinizer05IOW ancient14:59
KotCzarnyfaster would be just inserting microsd, rsync to it and rsync again to target15:00
DocScrutinizer05that's not the purpose of the setup though15:00
KotCzarnyorder of magnitude at least faster15:00
DocScrutinizer05my cron on PC doesn't control a robot15:02
keriomy server without AES-NI does 195MB/s of aes128gcm, 178MB/s of aes128cbc and 580MB/s of chacha2015:02
*** Gryllida has joined #maemo15:02
kerioalmost 3x speedup just by updating openssh15:03
*** ced117 has joined #maemo15:03
DocScrutinizer05kerio: that's very useful info, but I dunno what to make of it in context of rsync to N90015:03
keriorsync goes over ssh15:03
keriounless you set up rsyncd15:04
DocScrutinizer05so, you say there's a openssh version for N900 I did miss to notice?15:04
kerioi don't think it got packaged by anyone actually15:04
DocScrutinizer05see?15:04
kerioi just asked fmg to compile it for me15:05
DocScrutinizer05I dunno what to make of it in context of rsync to N90015:05
kerioand i untarred it in /usr/local15:05
keriook whatever forget i said anything15:05
DocScrutinizer05transfer rate is pretty constant at a pathetic 500kB/s15:07
Gryllida(Question from Oksana) Installed update from kernel power 51 to kernel power 53, phone does not boot, gives "Can not flash kernel, required files not found #00000025.62017712". Alas I have non-working USB port, so can not look at files and fix them by hand...15:08
DocScrutinizer05ouch15:08
KotCzarnyo.o15:09
KotCzarnydid you have multiboot installed?15:10
DocScrutinizer05I guess when device refuses to boot (how the heck you get the diagnostic output then?) then your only chance is USB, by whatever means. If jack is broken, there's still the 2 testpads under battery15:14
Gryllida(From Oksana) I am trying to fix USB port (googling videos), the phone is in a boot loop, it shows this Guru Meditation message and shuts down and then boots again.15:16
DocScrutinizer05however since the diagnostic output has to have a source, the device actually boots, just maybe not entering normal interactive GUI state. bootmenu/backupmenu shell is your best bet15:16
DocScrutinizer05iirc kernel installation hooks in a script to do the actual kernel flashing during next boot. BM should kick in before that, so you could remove that kernel flashing hooked-in script15:18
DocScrutinizer05hi svetlana!15:19
DocScrutinizer05best wishes and good luck to oksana15:19
*** Dynamit has joined #maemo15:22
DocScrutinizer05http://paste.opensuse.org/4938498215:24
DocScrutinizer05# Scheduled updates are to be collected from here:15:24
DocScrutinizer05STAGING_DIR=/var/lib/softupd/staging15:24
*** shentey has joined #maemo15:25
DocScrutinizer05sbin/preinit: http://paste.opensuse.org/3990561715:26
*** Venemo has joined #maemo15:26
DocScrutinizer05I'm not 100% sure this is the right location to look at15:27
DocScrutinizer05but odds are it is15:27
DocScrutinizer05~usbfix15:31
infobotfrom memory, usbfix is http://talk.maemo.org/showthread.php?t=75920 - and **NEVER** use epoxy (unless you want to seal your device for underwater), or https://www.youtube.com/watch?v=fYz5nIHH0iY#t=1866, you will basically need two irons: a small good one (or better hot-air reflow) and a 60+ Watt15:31
DocScrutinizer05desparate measure: solder the two data wires (green, yellow?) of a USB cable to the pair of USB testpoints under battery, solder GND (black) to ground testpad nearby (do NOT use battery minus which isn't a GND pin!)15:33
DocScrutinizer05http://wiki.maemo.org/N900_Hardware_Hacking#Debug_ports15:35
DocScrutinizer05J5300/0115:35
DocScrutinizer05data15:35
DocScrutinizer05J200015:35
DocScrutinizer05pin 1 :: GND (MIDDLE upper point, right to J2062 !)15:35
DocScrutinizer05you probably also want to solder red wire of cable to pin 3 :: USB VBUS 5V15:36
DocScrutinizer05unless charging via USB jack still works, which means the VBUS pin still has contact and so you can provide 5V via the normal way15:38
DocScrutinizer05test: when device power up when connecting it to a charger, then VBUS still works15:39
GryllidaHow to enter the backup menu? Multiboot is installed15:42
*** Juest has joined #maemo15:48
KotCzarnygryllida: just google your error code15:50
KotCzarnythere is tmo thread that could help you15:50
KotCzarnyand most likely multiboot is the culprit of failed update15:50
DocScrutinizer05~maemo-multiboot15:51
infobothmm... maemo-multiboot is deprecated, and a horrible hack.  PROBLEMS WITH NITDROID/MULTIBOOT? reflash rootfs&kernel aka COMBINED15:51
DocScrutinizer05this factoid been defined after literally dozens of failed efforts to recover from a broken multiboot (multiboot is NOT uBoot!)15:53
DocScrutinizer05multiboot basically reflashes kernel on *every* boot, which is.. well what the factoid says: a *horrible* hack15:54
Juestno wonder its broken, it similar to the /system/etc/install-recovery.sh annoyance on Android.15:54
Juestaka no surprise15:55
* Juest waves15:55
DocScrutinizer05and obviously when you flash a new kernel, next multiboot will fail epically since it has no idea that kernel (and matching modules!!) changed, and so multiboot will flash something inappropriate or will throw random crappy errors15:57
Juestit is a recoverable brick at least?16:01
* Juest wonders16:01
DocScrutinizer05>>Plzzz tel cz my n900 is screeveedd << OHMY!!16:02
Juesto.o16:02
DocScrutinizer05https://talk.maemo.org/showthread.php?t=72879&page=216:02
DocScrutinizer05Juest: multiboot? -->reflash16:03
KotCzarnyjuest, with working usb port you cannot brick n90016:03
KotCzarnythe only way is to nuke nolo16:04
DocScrutinizer05no16:04
KotCzarnybut that requires some skill16:04
DocScrutinizer05not even that16:04
JuestWell, apparently wikiwide didnt armor the usb port16:04
Juestnolo? wat16:04
DocScrutinizer05nevermind16:04
DocScrutinizer05~nolo16:04
*** shentey has quit IRC16:04
DocScrutinizer05o.O16:04
DocScrutinizer05NOkia bootLOader16:05
JuestRight16:05
DocScrutinizer05~coldflashing16:05
Juestweird its not in infobot, would expected it16:05
DocScrutinizer05~coldflas16:05
DocScrutinizer05~coldflash16:05
infobot[coldflash] http://mg.pov.lt/maemo-irclog/%23maemo.2010-10-31.log.html#t2010-10-31T23:34:01 (jacekowski's instructions), or http://wiki.maemo.org/Updating_the_firmware/Cold_Flashing16:05
JuestThank you.16:05
DocScrutinizer05yw16:10
DocScrutinizer05~nolo is NOkia bootLOader, Nokia's version of uboot-alike first (actually 2nd) stage bootloader for NIT like N90016:11
infobotDocScrutinizer05: okay16:11
Juest~nit16:12
infobotsomebody said nit was Nokia Internet Tablet16:12
Juesthehe16:12
Juestnice addition btw16:12
DocScrutinizer05~nolo is also somebody said it was a nasty character in Norwegian languange16:13
infobotokay, DocScrutinizer0516:13
DocScrutinizer05~nolo16:14
infobotrumour has it, nolo is NOkia bootLOader, Nokia's version of uboot-alike first (actually 2nd) stage bootloader for NIT like N900, or somebody said it was a nasty character in Norwegian languange16:14
* Juest wonders is there a way to properly execute maemo shortcuts on xepyhr since shift+control is used to grab and release mouse/keyboard control16:14
DocScrutinizer05reconfigure xephyr shortcuts16:14
Juesteither bypassing xephyr and using X directly or yeah that, i dont know where the config is located16:14
DocScrutinizer05nfc16:15
Juestits sort of "fragile" the launcher only seems to work properly when using the shortcut on the desktop, it didnt work with a terminal directly16:15
DocScrutinizer05launcher?16:15
Juest.desktop16:16
DocScrutinizer05with a terminal?16:16
Juest.desktop's commandline16:16
*** shentey has joined #maemo16:16
DocScrutinizer05.desktop are intricate16:16
Juestsdk is a ubuntu lucid vm....16:16
DocScrutinizer05often a run-standalone <app> helps16:17
Juestwhat you mean? hmm16:17
DocScrutinizer05run-standalone <app>16:17
* Juest adventures into /etc about xephyr16:17
DocScrutinizer05run-standalone.sh16:17
Juestpath?16:17
DocScrutinizer05err16:18
DocScrutinizer05 /usr/bin/run-standalone.sh16:18
Juestah ok16:18
DocScrutinizer05anyway you can't run e.g /usr/share/applications/hildon/camera-ui.desktop  as a cmdline binary or script16:22
DocScrutinizer05you got some dbus related info in those .desktop:16:23
DocScrutinizer05X-Osso-Service=com.nokia.cameraui16:23
DocScrutinizer05X-Osso-Type=application/x-executable16:23
DocScrutinizer05and some supposedly cmdline path: Exec=/usr/bin/camera-ui16:24
Juest... i've tried running /usr/bin/start_xephyr.sh and it didnt work properly from a terminal16:24
DocScrutinizer05often the latter is sinmply a symlink to maemo-launcher16:24
DocScrutinizer05starting xephyr is tricky16:25
DocScrutinizer05s/starting //16:25
infobotDocScrutinizer05 meant: xephyr is tricky16:25
Gryllidawhere are you running it ?16:26
JuestApparently only it works properly by using the desktop launcher16:26
Juestsolely on a terminal doesnt work16:27
JuestAnd i am still trying to find Xephyr's config files16:27
*** Venemo has quit IRC16:28
JuestOkay, it works from a oot terminal16:29
Juests/oot/root16:29
Juestno screen :(16:29
Juestah, not allowed16:30
JuestWeird, now i simply do not have a display :/16:30
JuestGreat... now i dont have a screen16:32
JuestI am unable to run it from a standard terminal16:34
Juestroot terminal works but the sdk is not designed to be ran as root16:35
Juestnow maemo is there but in some sort of limbo16:35
Juestit broke for the session16:35
Juestfeel free to join at juesto.pw:6000 pw: maemosdk16:37
Juest(vnc)16:37
Juestit also has few glitches....16:38
Juestlike changing themes breaks ui16:38
DocScrutinizer05sorry, last time I used maemo-sdk + xephyr must be like 6 years ago, maybe longer16:39
Juestdamnit, it makes me feel tired Gryllida16:40
*** andril has quit IRC16:41
Juesti cant find anything about tweaking xephyr16:41
*** flo_lap has joined #maemo16:42
Gryllidais xephyr an an emulator ?16:43
Juestman xephyr its not a emulator but a Nested X16:44
Juestin this case its some sort of emulator Gryllida16:44
Juestfremantle sdk emulator16:44
Gryllidaone does not maemo until they are soldering16:44
Juesto_O?16:45
Juestmeep pm Gryllida16:45
Gryllidaour solder is too big, and no flux, this tiny thing. feynman's radio life was more fun, at least the items were large enough for the soldering iron to stick its end nto them freely16:48
Juest:(16:48
JuestLol, i cant delete in maemo configuration editor16:51
Juestscrollwheel doesnt even work16:52
Juestneither hold :/16:52
Juestat least not in that app16:53
Juestand theres no camera on the sdk16:53
JuestHello?16:54
Juestwell idk16:56
Juestapparently its the app itself16:56
Juestwtf, upgrade ability is broken somewhat16:59
Juestlol17:03
Juestnow anything fials to install17:03
DocScrutinizer05Juest: you're talking random?17:05
Juestperhaps, i am still upset with this half-working thing17:06
*** flo_lap has quit IRC17:08
Juestgreat, i managed to freeze fremantle sdk17:10
Juestffs17:10
*** Juest has left #maemo17:23
*** xkr47 has quit IRC17:40
*** xkr47 has joined #maemo17:45
keriodo we have a report of someone restoring bluetooth functionality after clearing CAL?18:14
DocScrutinizer05Gryllida: don't even think of soldering SMT unless you got a proper noclean flux18:14
DocScrutinizer05kerio: not afaik, but why whouldn't it work?18:15
kerioistr that guy who did nandtest on everything didn't have a working bluetooth afterwards18:16
keriothe bluetooth MAC is stored in CAL18:16
DocScrutinizer05you're not supposed to clear CAL, restore it to arbitrary proper content18:16
keriowhat if critical failure happens18:16
DocScrutinizer05^^^18:17
*** APic has joined #maemo18:17
Gryllidawe're soldering to the testing pads18:17
keriohold on weren't there some mtdblk devices18:18
keriothat behaved like shitty block devices18:18
DocScrutinizer05hm?18:18
keriohold on what's log18:19
DocScrutinizer05http://maemo.cloud-7.de/dd_if%3dmtd1ro.bin18:19
DocScrutinizer05log = mtdoops18:19
keriooh right18:20
keriohow do i read that again?18:20
kerioDocScrutinizer05: are you sure that dd is enough?18:20
keriolike, have you tried a restore?18:20
kerionanddump has a bunch of options regarding OOB data and bad blocks ._.18:20
*** APic has quit IRC18:21
*** APic has joined #maemo18:21
DocScrutinizer05sp-oops-extract18:21
DocScrutinizer05http://maemo.cloud-7.de/mtd_debug_read_mtd1_0_0x60000.bin18:22
*** APic has quit IRC18:22
keriowhy isn't cal-tool able to dump and restore CAL from a higher level, though?18:23
*** APic has joined #maemo18:23
DocScrutinizer05no idea18:24
DocScrutinizer05maybe because cal-tool isn't meant for that, there's another more generic cal thing made by iirc pali18:25
Palibecause there is no backup/restore tool for cal18:25
DocScrutinizer05https://dev.openwrt.org/browser/packages/utils/calvaria18:27
DocScrutinizer05http://maemo.cloud-7.de/_hidden/cncmods-net/www.cncmods.net/files/calvaria18:30
DocScrutinizer05http://paste.opensuse.org/8582743818:35
*** krnlyng has quit IRC18:37
DocScrutinizer05http://paste.opensuse.org/9589321018:39
DocScrutinizer05seems calvaria lacks write capabilities, however that should be trivial18:44
DocScrutinizer05and anyway you could check if a raw data write to NAND CAL partition (nandwrite et al) would result in a CAL content that looks OK18:44
DocScrutinizer05you even could edit the image file before to your liking, and check that file with calvaria to look OK before you flash it18:45
DocScrutinizer05edit manually that is18:46
DocScrutinizer05I dunno if openwrt has improved the calvaria tool18:47
*** krnlyng has joined #maemo18:49
DocScrutinizer05noteworthy that niokia's phenix service tool knows to write e.g. ALS calib data to CAL, so I guess that must be a generic way Nokia uses to calibrate their phones - phenix is universal for all Nokia devices18:52
DocScrutinizer05Phoenix18:53
DocScrutinizer05http://www.allmobiletools.net/2014/12/nokia-phoenix-service-software-201415.html18:53
DocScrutinizer05note that this particular site looks like scam18:57
DocScrutinizer05I explicitly don't recommend to download anything there18:57
DocScrutinizer05anyway here's more info http://nokiarevolution.com/how-to-flash-your-nokia-device-via-phoenix-usb-dead-flashing/18:59
DocScrutinizer05kerio: nope, I actually didn't try to restore yet. Anyway what could possibly go wrong that's worse than an already borked CAL when you try to restore it?19:07
keriothe point is that we should figure out a way to not have a borked CAL19:07
keriobut i don't think a block-by-block copy is the answer19:07
keriois CAL used somewhere else?19:08
keriobecause i don't understand how you could come up with something like that19:08
DocScrutinizer05I *guess* when you write the dump to CAL and dd dump the CAL content after that and compare to original image, and they don't differ, I'd dare to say you won19:08
kerioversus just a file on jffs219:08
DocScrutinizer05again, it's legacy19:08
DocScrutinizer05prolly used on all Nokia phones19:09
kerioyeah but is it used on some dumber nokia phone?19:09
keriok19:09
DocScrutinizer05we already discused and verified that a simple bindmount or the like should suffice to use a image file instead of a mtd partition for cal* in maemo19:11
DocScrutinizer05except for flasher of course19:11
DocScrutinizer05since that's not 'in maemo'19:11
Gryllida(From Oksana) With such huge soldering iron and no flux, it is hopeless to do anything even with such large test pads..19:12
keriooh, you can change the lock code and it'll get "appended" to your bindmounted file?19:12
kerioand when you remove the bindmount the lock code is still the old one?19:12
kerioneato19:12
DocScrutinizer05yes, please don't ruin device by trying to solder on it with cheap tools and lack of decent flux19:12
DocScrutinizer05it never will work19:12
DocScrutinizer05kerio: yes19:13
kerioDocScrutinizer05 would probably like louis rossmann19:14
GryllidaOksana says she can only hope the camera is still okay. (I say we would maybe try to get access to proper tools at uni, or at a local store; the lack of flux immediately disappointed me in the beginning)19:14
DocScrutinizer05I don't know that guy19:14
keriomakes videos on youtube where he repairs mostly macbook motherboards19:14
kerioyells at apple19:15
DocScrutinizer05get *decent* flux, NO acid flux!19:15
kerioyells at stupid repair shops19:15
Gryllidacheers19:15
DocScrutinizer05~usbfix19:15
infoboti guess usbfix is http://talk.maemo.org/showthread.php?t=75920 - and **NEVER** use epoxy (unless you want to seal your device for underwater), or https://www.youtube.com/watch?v=fYz5nIHH0iY#t=1866, you will basically need two irons: a small good one (or better hot-air reflow) and a 60+ Watt19:15
DocScrutinizer05see the video19:16
keriobecame famous after yelling at another (very popular) youtuber for making a video where a video card was "fixed" by putting it in an oven19:16
DocScrutinizer05Gryllida: https://youtu.be/b9FC9fAlfQE?t=93919:21
*** xray256_ has quit IRC19:22
Gryllidagood video, shows how it works and the picture is not blurry, and has useful info. thank you19:28
DocScrutinizer05https://youtu.be/b9FC9fAlfQE?t=156019:33
DocScrutinizer05Gryllida: yw19:34
*** xray256_ has joined #maemo19:34
DocScrutinizer05no learning without competent info source19:34
Gryllida(From Oksana) Curious, what this problem is caused by, a lot of people must be using kernel power 53, and many of them have probably upgraded from kernel power 51. So what exactly was the problem with upgrding to kernel power 53?19:36
KotCzarnyyou have multiboot installed19:38
DocScrutinizer05https://youtu.be/b9FC9fAlfQE?t=185019:40
DocScrutinizer05Gryllida: what KotCzarny said#19:40
DocScrutinizer05~maemo-multiboot19:40
infoboti guess maemo-multiboot is deprecated, and a horrible hack.  PROBLEMS WITH NITDROID/MULTIBOOT? reflash rootfs&kernel aka COMBINED19:40
DocScrutinizer05[2016-07-09 Sat 14:53:13] <DocScrutinizer05> this factoid been defined after literally dozens of failed efforts to recover from a broken multiboot (multiboot is NOT uBoot!)19:41
DocScrutinizer05[2016-07-09 Sat 14:54:03] <DocScrutinizer05> multiboot basically reflashes kernel on *every* boot, which is.. well what the factoid says: a *horrible* hack19:41
Gryllidaok19:43
DocScrutinizer05https://youtu.be/b9FC9fAlfQE?t=221119:50
DocScrutinizer05take care! you NEED a decent regulated soldering iron19:50
Vajbsoldering has its times19:52
Vajbjust not today19:52
Vajbtried to made bridging over two pairs of pads19:52
Vajbproblem was that area was like 1mm x 2mm at max19:53
Vajbneedless to say i failed miserably19:53
Vajbshould have sticked to graphite instead...19:53
Vajband what i was doing? Tried to fix Nokia 5130 "no sound from headset" problem19:54
DocScrutinizer05Gryllida: https://youtu.be/J5Sb21qbpEQ?t=9119:56
Gryllidathank you most kindly; I was expecting this to be easy, but the soldering material isn't sticky enough, and I should definitely know better19:57
GryllidaI will watch all this when I'm a bit more awake, with Oksana, and plan from there19:57
DocScrutinizer05Gryllida: good plan :-) you're welcome20:00
DocScrutinizer05honestly no expert can do a decent job with cheesy tools. You need a certain minimum that's listed in last URL20:01
DocScrutinizer05regulated soldering iron, FLUX!!!, solder wick. Then you're already almost there20:01
DocScrutinizer05hot air comes in very handy when you also got solder paste etc20:02
DocScrutinizer05and decent solder wire of course20:04
GryllidaI think in another few years we will be able to open a phone fix company20:05
DocScrutinizer05https://youtu.be/J5Sb21qbpEQ?t=68620:05
Gryllidaalready have a lot of screwdrivers, internet to buy replacement parts, now soldering iron and related tools, ... what else? :)20:05
Gryllidaa pretty logo and a pretty site + some time for flying a cheaper beta program to gain experience20:06
Gryllidaor something20:06
Gryllida(or some course... whatever these guys usually begin from)20:06
PaliDocScrutinizer05: Phoenix boots N900 into TEST mode and uses softupd daemon and it just update cal keys, but do not support dump/restore20:09
DocScrutinizer05I didn't think it supports dump/restore20:10
DocScrutinizer05dump/restore is a basically alien concept to CAL20:10
*** shentey has quit IRC20:25
DocScrutinizer05however I wonder how Phoenix does e.g. ALS CAL calibration via softupd, when maemo has no tool to write CAL records20:26
DocScrutinizer05must be raw NAND partition access then, no?20:27
DocScrutinizer05unless flasher has some secrete function to update CAL records20:28
*** shentey has joined #maemo20:28
DocScrutinizer05or Phoenix uploads a executable to RAM and runs it20:29
DocScrutinizer05flasher indeed also updates CAL records, it notes the software version there20:31
DocScrutinizer05so I wonder how flasher and phoenix do this magic20:31
DocScrutinizer05BME also seems to write to CAL20:32
KotCzarnyRE the softupd?20:32
DocScrutinizer05what for?20:37
DocScrutinizer05it's way easier to augment calvaria to learn to write records20:38
DocScrutinizer05the only unclear (unspecified) behavior in CAL is when it's getting full20:38
DocScrutinizer05until then new records are simply appended and supersede any prior records for same key20:39
DocScrutinizer05iirc20:40
DocScrutinizer05iirc that's also how bad NAND blocks get handled. Simply read back the record you just wrote, and when that fails simply write it once more20:41
DocScrutinizer05note that writing to erased NAND is simple. Just erasing NAND is not as simple20:43
DocScrutinizer05you only can erase complete erase pages (set all bits to e.g. zero) and then you can set each individual bit to one at arbotrary times20:45
DocScrutinizer05that's btw what TRIM is all about20:47
DocScrutinizer05Pali: does powerkernel know TRIM/discrad?20:47
DocScrutinizer05I noticed all our flash storage isn't mounted with -o discard20:48
DocScrutinizer05this would make for a *huge* improvement, also and particularly for swap20:48
PaliIIRC ext3 does not support discard20:50
DocScrutinizer05it does20:50
DocScrutinizer05https://wiki.ubuntuusers.de/SSD/TRIM/20:50
DocScrutinizer05 ext2, ext3  ::  Kernel 2.6.3820:51
Palibut that is batched mode20:52
Palinot "discard"20:52
DocScrutinizer05aah yes20:52
DocScrutinizer05just noticed that20:52
Palifstrim is using that batched mode20:52
DocScrutinizer05I didn't find fstrim for maemo20:53
Palibut anyway, everything needs new kernel20:53
Palinothing for 2.6.2820:53
DocScrutinizer05yep20:53
DocScrutinizer05that's why I asked about powerkernel20:53
Palinothing20:53
*** andril has joined #maemo20:53
Palionly battery modules were backported and all is same as upstream kernel20:54
DocScrutinizer05worthwhile to ponder how to get TRIM support20:55
DocScrutinizer05for swap it's important to make swap page size == flash erase page size20:57
DocScrutinizer05and align20:57
*** ashneo76 has quit IRC20:58
*** ashneo76 has joined #maemo21:00
*** andril has quit IRC21:08
DocScrutinizer05for the interested audience: http://www.thessdreview.com/daily-news/latest-buzz/garbage-collection-and-trim-in-ssds-explained-an-ssd-primer/21:15
buZzcute, ty21:18
*** flo_lap has joined #maemo21:18
buZzDocScrutinizer05: also checkout fstrim21:19
buZz       fstrim  is  used  on a mounted filesystem to discard (or "trim") blocks21:19
buZz       which are not in use by the filesystem.  This is useful for solid-state21:19
buZz       drives (SSDs) and thinly-provisioned storage.21:19
DocScrutinizer05I know :-921:23
DocScrutinizer05:-) even21:23
DocScrutinizer05the key statement: >>When the OS deletes the file, it simply marks the space used for that data as free in its logical data table. With HDDs, the OS does not need to tell the storage device anything about the deletion because it would simply write something new into that same physical location in the future. In the case of an SSD, it only becomes aware that the data is deleted (or invalid) when the OS tries to write to that location21:24
DocScrutinizer05again<<21:24
*** flo_lap is now known as florian21:24
DocScrutinizer05and >>The advantage of the TRIM command is that it enables the SSD’s GC to skip the invalid data rather than moving it, thus saving time not rewriting the invalid data. This results in a reduction of the number of erase cycles on the flash memory and enables higher performance during writes<<21:26
DocScrutinizer05https://www.youtube.com/watch?v=x6lqYU4j7no21:38
* DocScrutinizer05 wonders how hard it could be to implement fstrim-alike brute force TRIM to a range of eMMC (read: swap) without any kernel support21:43
DocScrutinizer05reswap only makes true sense with TRIM of the deactivated and depleted swap partition21:45
DocScrutinizer05this whole TRIM issue also suggests an explanation why devices slow down when you have much data on eMMC21:46
DocScrutinizer05the eMMC lacks overprovisioning then21:46
DocScrutinizer05which significantly burdens the GC21:46
DocScrutinizer05hmmm, re implementing batched TRIM, it would need a way to talk directly to the storage bus, which is probably only allowed to the kernel driver21:52
DocScrutinizer05so backporting the according IOCTL should suffice for that21:52
DocScrutinizer05>>  * This program uses FITRIM ioctl to discard parts or the whole filesystem  * online (mounted). You can specify range (start and length) to be  * discarded, or simply discard whole filesystem.<<  https://github.com/karelzak/util-linux/blob/master/sys-utils/fstrim.c21:56
*** japa-fi has joined #maemo22:09
DocScrutinizer05hmmm http://lxr.free-electrons.com/source/drivers/mmc/core/core.c#L2052 dunno if I wound the right runway to land22:11
DocScrutinizer05anyway I guess backporting the low level mmc driver can't be too hard since at least the API shouldn't have changed since lernel 2.6.xx22:12
DocScrutinizer05kernel even22:12
DocScrutinizer05http://lxr.free-electrons.com/source/drivers/mmc/core/core.c#L219822:15
*** handaxe has joined #maemo22:19
*** handaxe has quit IRC22:24
*** DrCode has quit IRC22:26
*** shentey has quit IRC22:45
*** handaxe has joined #maemo22:56
kerioPali: whenever you boot your mainline linux kernel, can you see if mounting a partition with discard actually works as intended?22:57
Palido not know, I have never used discard22:58
keriojust mount a partition with -o discard22:59
kerioidk how to test if it worked tho22:59
PaliI'm not going to test any discard on any machine22:59
kerio:c22:59
Paliit is buggy and unsupported on lot of places22:59
*** handaxe has quit IRC23:01
keriook23:04
*** japa-fi has quit IRC23:05
*** DrCode has joined #maemo23:16
*** tryagain has joined #maemo23:43

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!