libera/#maemo/ Friday, 2020-12-04

Venemohey guys, does anyone still have a firmware image for the Nokia N950?14:30
sixwheeledbeastI imagine someone may have if you hang about14:31
sixwheeledbeast~n95014:31
infobotit has been said that n950 is limited developer kit device from Nokia on Harmattan. To know about flashing — ~flashing-n95014:31
Venemo~flashing-n95014:31
sixwheeledbeasthmm14:31
VenemoI'm afraid I lost the backups that I used to have of the fw image14:32
sixwheeledbeast~listkeys n95014:32
infobotFactoid search of 'n950' by key (7): n950order ;; n950-firmawer #DEL# ;; n950 ;; qwazix_n950 #DEL# ;; n950-firmware ;; firmware-n950 ;; n950flash.14:32
sixwheeledbeast~firmware-n95014:32
infoboti heard firmware-n950 is The latest OneClickFlasher for the Nokia N950 is available from http://harmattan-dev.nokia.com/release/N950/firmware/14:32
sixwheeledbeastnokia.com pfft14:32
sixwheeledbeastthat will be dead14:32
sixwheeledbeast~n950-firmware14:33
infobotfrom memory, n950-firmware is The latest OneClickFlasher for the Nokia N950 is available from http://harmattan-dev.nokia.com/release/N950/firmware/14:33
Venemoyeah it's possibly just a bunch of dead links now14:33
sixwheeledbeast:shrug: sometimes a factiod may link to personal copies.14:34
sixwheeledbeastyour not going to get something "officially"14:34
KotCzarnyi think i have some beta firmware14:34
KotCzarnystashed on request14:35
KotCzarnysafr.mrrau.eu/maemo/14:35
KotCzarny(beta as in some unreleased version after last released one)14:36
Venemohuh, I think I found something on a buired hdd of mine14:36
VenemoI have a "DFL61_HARMATTAN_40.2012.21-3_PR_LEGACY_RM680-OEM1-916_ARM.bin"14:36
VenemoI assume this is what you have too, KotCzarny14:37
KotCzarnymd5 is available, you can check14:37
Venemowill download just in case14:38
Venemolooks like the battery is completely dead, too14:41
KotCzarnyi shall charge mine, huh14:41
Venemowill just put it on the charger and see what happens14:42
KotCzarnyhttps://talk.maemo.org/showthread.php?p=156235014:42
KotCzarnythis is the thread about this firmware14:42
Venemothe device still has some very old nemo image that I worked on in 2013-ish, now I decided to reflash something on it that actually works, or at least, is supposed to be on it anyway14:42
Venemojust in case I decide to put it up on ebay or something14:43
KotCzarnydarn, you have n950 ?14:43
KotCzarnylucky14:43
Venemoyes, though it has spent the last 6-7 years in a box in a drawer14:44
KotCzarnybattery might be dead by now14:44
KotCzarnyor in unstable state when charged14:44
KotCzarnyobserve the bulge14:44
Venemothere is no bulge14:45
KotCzarnybut after charging14:45
Venemoah okay14:47
VenemoI wonder what happened to everyone else's N950. some years ago many people on this channel had one14:47
sixwheeledbeastcollectors item now15:08
siceloi recall some were having issues with screens or something15:17
Venemoyeah15:17
Venemomine has that issue too.15:17
clortgreets16:03
clortyou have a n950 Venemo ?  developer device?16:49
clortgot it from nokia or ebay or something?16:50
clortwhy did they go with omap3 instead of omap4?16:50
clortwell it was sent to devs july 2011, omap4 was available in q1 2011, so probably too early16:54
VenemoI got it in 201117:03
Venemoas part of a developer program at the time.17:03
VenemoI used to make a few apps back then17:03
Venemoclort: AFAIK the reason they didn't use OMAP4 is because OMAP4 doesn't have a modem anymore, or something like that, due to TI having withdrawn from the mobile market by then17:04
clortahh17:04
clortare there any you are interested in running on maemo-leste Venemo ?17:04
KotCzarnyis it possible at all?17:05
KotCzarnywith all that signed kernel crap etc17:05
VenemoI don't think I would actually want to use the N950 as a daily device anymore17:05
clorti don't know what you speak of.17:05
KotCzarny~aegis17:06
infobothttp://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Developing_for_Harmattan/Harmattan_security/Security_guide , or "The purpose of this framework is: ... to make sure that the platform meets the requirements set by third party software that requires a safe execution environment.", or http://en.wikipedia.org/wiki/Trusted_Computing#Criticism, or  http://en.qi-hardware.com/w/images/1/10/ME_382_LockedUpTechnology217:06
clortthe droid4 is a fine replacement for n90017:06
siceloyes you can run own kernels on N950, but it's definitely painful compared to N90017:06
clortoh okay17:06
VenemoKotCzarny: Aegis works within the OS, and does not apply when you flash a different OS17:06
KotCzarnyahm17:06
KotCzarnyi must've misunderstood it long time ago17:06
Venemoit is part of the default operating system17:06
luke-jrI replaced my N900 with a GPD Win and then GPD Win 221:10
clorthow did that hardware work for you21:10
* CatButts ponders the sanity of installing and using gcc on the N90021:35
sunshaviCatButts: I have tcc for doing on device development21:37
CatButtsI want to divorce JDK7(currently my only way)21:39
CatButtsonly way I've set up so far21:39
CatButtsand return to some good ol C21:40
CatButtsI am considering either on-device21:40
CatButtsor an arm crosscompiler on windows host21:40
sunshavikotczarny has a nice chroot for linux on arm21:42
sunshavijust use an SBC21:43
CatButtsSBC?21:43
WizzupYou can just use qemu-user too21:43
Wizzuphttps://leste.maemo.org/Development#Cross-distro_solution_for_development_inside_an_ARM.2FARM64_chroot_on_a_PC21:43
sunshavibut tcc works when You only option is the device {perhaps when lining on a queue waiting for something else21:44
CatButtsthing is, I want windows host crosscompiling21:44
CatButtsright, QEMU21:47
CatButtseh, that'll do21:47
sunshaviSingle Board Computer21:50
KotCzarnysunshavi: that chroot could also work on n90021:52
KotCzarnysince it's an arm device21:52
KotCzarnybut he could go even easier way with easydebian21:52
sunshavikotczarny: that should be slow and not easy on the sd21:56
sunshavistorage21:56
sunshavitcc21:56
sunshaviand vi21:56
KotCzarnywell, gcc isnt that disk intensive21:56
KotCzarnythe worst part is creating big files with debugging turned on21:57
KotCzarnybut normal compilations are doable on n90021:57
sunshavitcc is paramount on those cases21:57
sunshaviI remember i installed gcc directly on device . And it was very slow21:58
sunshaviBut YMMV :)21:58
KotCzarnyyeah, you have to free as much memory as you can before starting the compile21:58
KotCzarny:)21:58
CatButtsI've read someplace of overclocking the N900 to 1.1Ghz21:59
KotCzarnyoverclocking doesnt do catbuttshit when you start swapping21:59
CatButtsowie21:59
KotCzarnyits not about cpu speed, but memory being tight21:59
KotCzarnycpu speed is secondary22:00
CatButtsand TCC does not generate the fastest of codes22:02
CatButtsbut can it be worse than Java? :p22:02
sunshavilately   just using my n900 as a mobile terminal and also for watching videos22:03
KotCzarnyi think php might be faster22:03
KotCzarny;)22:03
CatButtsI ain't setting foot there22:03
sunshaviwhen coding has ended i use the chroot  for the final binary22:03
sunshaviBTW: qemu is so slow. It just uses a single thread22:04
CatButtssunshavi, does "watching videos" include youtube, by any chance?22:06
CatButtsI have some for of cutetube, but I don't think it's working anymore22:06
CatButts*some form of22:07
sunshavicatbutts: download it on   workstation  and  samba mounting an watching it  with bencoh player which i have aliased as mpv22:13
CatButtsah, so whole operation not contained to phone22:14
KotCzarnyyou could probably script it with youtube-dl and some player (gst/mplayer/mpv)22:15
CatButtstcc ondevice it is22:20
CatButtsmaybe I can build newer tcc with it22:21
CatButtsI assume package in maemo repos is rather old22:21
MaxdamantusYou can play youtube videos on the normal media player if you download them with `youtube-dl -f 'mp4[height<=576]+m4a'`22:22
MaxdamantusSo don't have to worry about CPU rendering or something.22:22
sunshavifmg fixed cutetube and it was nice having it. perhaps this time cutetube could be also fixed22:26
MaxdamantusPerhaps cutetube could just use youtube-dl, like it should.22:26
KotCzarny+122:27
MaxdamantusSince youtube-dl is basically *the* project for downloading youtube videos.22:27
CatButtsI can't seem to be able to find tcc repos22:27
MaxdamantusWhen youtube downloading breaks in youtube-dl, someone fixes it.22:27
KotCzarnybut special version that doesnt require 30s to just init itself on n90022:27
CatButts*tcc in repos22:27
Maxdamantus`youtube-dl --help` takes 4s here22:28
Maxdamantuswhich seems .. bearable .. to me.22:28
KotCzarnyweird22:28
MaxdamantusNormally when I use youtube-dl on N900, I'm on a slow GPRS network anyway.22:28
KotCzarnyon my bpim1 youtube-dl -h takes ~12s22:29
MaxdamantusIt took 7s the first time I ran it just now, but then 4s the second time (presumably after disk caching)22:30
MaxdamantusI'm running it off an SD card.22:30
KotCzarnyit doesnt matter where22:30
KotCzarnyit's a self contained zip archive22:30
KotCzarnythat unpacks then runs itself22:30
MaxdamantusAh, I just run it directly from the repository.22:30
MaxdamantusSo no building involved.22:31
Maxdamantus~/youtube-dl/__main__.py22:31
KotCzarnythat might be the reason then22:31
Maxdamantus~/youtube-dl/youtube_dl/__main__.py rather22:32
MaxdamantusI think `__main__.py -> youtube_dl/__main__.py` is a symlink I made, but running either directly seems to work.22:32
MaxdamantusAnd if things break, I'll just do a `git fetch && git checkout remotes/origin/master` and it should be fixed.22:33
KotCzarnyi do youtube-dl -U22:33
KotCzarnywhich also downlods and replaces itself22:33
KotCzarnydarn. cant type dotay22:35
KotCzarnyfck.22:35
KotCzarny*today22:35
CatButtswhere can I get tcc for n900? I don't see it in repos22:43
KotCzarnyhttp://www.my-maemo.com/software/applications_name_TCC_-_Tiny_C_Compiler_faq_40_fldAuto_1877.html22:44
CatButtsright, I think to get this I need to add new catalog22:45
KotCzarnybut i strongly suspect its in standard repos somewhere22:46
KotCzarnyhttps://talk.maemo.org/showpost.php?p=1504103&postcount=1522:49
KotCzarnyso apparently its in extras22:50
KotCzarnyhttp://repository.maemo.org/extras/pool/fremantle/free/t/tcc/22:50
KotCzarnyyup22:50
CatButtsah, derp22:53
CatButtsso I had extras-devel22:53
KotCzarnyhttp://repository.maemo.org/extras-devel/pool/fremantle/free/t/tcc/22:54
KotCzarnyits also in extras-devel22:54
KotCzarnyi think it's one of the cases where you have to run apt-get install23:02
KotCzarnyor fiddle with package manager to show all packages23:02
CatButtsso, HAM can't save me23:03
CatButtsor whatever it's called23:03
CatButtsoh shit23:05
CatButtsI had it installed all along23:05
KotCzarnyka-b00m?23:05
CatButtshaha23:05
sunshavihow have you guys installed youtube-dl on n900? from repos or with easydebian23:08
CatButtsnappy time23:13
CatButtsfigure tomorrow what do with tcc23:14
Maxdamantussunshavi: I just run it directly from the git repository.23:43
MaxdamantusThough I run it in a debian chroot. I have run it outside in maemo before, but it invokes `ffmpeg` with some extra unknown option. I think you can just get rid of the option somehow.23:44
sunshaviwith  python-2.5?23:44
MaxdamantusNo, 2.7 in both cases.23:45
sunshavii do not remember the exact version of python on n90023:45
MaxdamantusI seem to have both 2.5 and 2.7 installed, but I think youtube-dl requires at least 2.723:45
sunshavilatest version downloads in two parts : first video , then audio and after that it does the merging23:47
MaxdamantusRight, for merging it runs the `ffmpeg` command, but iirc it includes some extra unnecessary argument that maemo's ffmpeg doesn't support.23:48
Maxdamantusffmpeg: unrecognized option '-loglevel'23:53
MaxdamantusActually, there are other options that it doesn't understand now.23:55

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!