libera/#maemo-leste/ Thursday, 2022-06-30

buZz21:37:15 < rafael2k> Go Maemo!02:11
buZzw000002:11
buZz:D02:11
buZzlol02:11
rafael2khttps://github.com/rafael2k/pine64-kernel/blob/maemo/beowulf-devel/debian/patches/maemo/0245-sun6i_v4l2.patch10:42
rafael2klets see if I can get it right now10:42
buZzrafael2k: sun6i = pinephone?12:07
buZzi guess so :P12:07
buZzrafael2k: do you have a d4 yet too? :P12:07
rafael2kyes, pinephone13:56
rafael2kbuZz: not yet13:56
rafael2k:P13:56
buZzrafael2k: asked Wizzup for one yet? :P14:00
rafael2kwant to ask a PPP to him14:01
rafael2k:P14:01
buZzboth14:01
rafael2kI read it has better kernel compilation times...14:01
rafael2keheheheheheh14:01
buZzlol i think d4 is more likely14:01
buZzits so cheap14:01
buZzand mad well supported now, near mint14:02
rafael2kD4 seems a very cool phone indeed15:01
norayrrafael2k: would you write a wiki page about full disk encryption?19:38
norayrhm, msid-repos build failed but apparently i got the update on device.19:40
Wizzupnorayr: that happens if it fails only for some arches20:15
norayroh20:16
norayrwill see20:16
norayrbuild for all three architectures is finished with success.20:18
Wizzupis the package written in C?20:23
Wizzupit looks like one already had the src pkg with tag registered20:24
Wizzupdid you increase the version?20:24
rafael2knorayr: I coulđ... but is mostly just set u-boot for initrd... the rest Debian/Devuan tools take care20:31
rafael2kI can do it, after I get proper support for camera in PP20:37
unege[m]Hey guys, starting from maemo 5 1.2 i need some help installing ML and running from sd, if at all possible. The “getting started” on the wiki is a bit too brief for my liking. Do i need some additional firmware? CSSU 1.3? Can I somewhat follow the pmos dual boot wiki?21:31
unege[m]Nokia n900 ofc21:31
unege[m]Did dd onto SD, just can’t choose to boot from sd21:33
unege[m]https://leste.maemo.org/Getting_Started21:38
unege[m]https://wiki.postmarketos.org/wiki/Nokia_N90021:40
dsc_win 1921:41
* dsc_ waves21:41
unege[m]?21:44
sicelounege[m]: what step are you stuck at?22:24
siceloI haven't run leste on n900 in a rather long time now, but maybe i can possibly help22:25
unege[m]So I got an N900 with PR1.2, I added some of the mirrors that are still active to the repos and installed “backupmenu”22:29
unege[m]Did a full backup, so in any case I could return to this state, assuming it works like that.22:30
unege[m]Now I dd’ed the latest image of ML to an SD card as the wiki states, and I presumed it would be possible to select the sd card as a boot option during startup but this appears not to be true22:32
unege[m]What do I do?22:32
uvosunege[m]: whay are you trying to achive?22:34
uvos*what22:34
uvosoh install22:35
uvosthe getting started page is the wrong page22:35
uvossince of there isent one install process22:35
uvosits different for every device22:35
uvoslook at the leste wiki page for the n90022:35
unege[m]At least it says that u-boot (as stated on the pmos wiki) in the app-center requires some kernel modules not present, do i need to upgrade to PR1.3 first?22:36
unege[m]Yes install, preferably run from sd though, having M5 next to it.22:36
uvosno idea about installing uboot from meamo522:36
unege[m]Is that feasible?22:36
uvosi just flashed it via 0xfff22:37
uvosunege[m]: i gues if the repos still work22:37
uvosthe difficulty doing it externally is apending the kernel22:37
uvosif your not on cssu but just on regular last maemo 5 version22:38
uvosyou can use this one with it allready appended:22:38
uvoshttp://uvos.xyz/maserati/u-boot-2013.04-2-with-freemantle-kern.bin22:39
uvosas described on the wiki you can also just flash uboot with no kernel appended22:39
uvosthats easiest22:39
uvosbut you loose the ablility to boot maemo 522:39
unege[m]Could you break it down in a bit smaller pieces? If possible i want a dual boot, maemo 5 and ML. Does it indeed help to be on cssu as you state?22:41
uvosif you want to dual boot you need uboot with appended ainchent m5 kernel22:42
uvosyou can do this from within maemo 5 cssu if the package repos are still around or you can flash it via pc22:43
uvosi hear installing cssu is quite hard now22:43
uvosbecause of broken links etc22:43
uvosbut no idea on that front22:43
uvosif your on stock maemo 522:43
uvosyou can just flash the above uboot22:44
missMyN900oh I see unege is online again22:44
missMyN900I was just reading yesterday's log22:44
uvosinstructions are here https://leste.maemo.org/Nokia_N90022:44
unege[m]missMyN900: Haha yes :))22:44
uvosbtw22:44
missMyN900norayr: actually, the original Pinebook (no longer sold) also has an A64 like the Pinephone. It is the Pinebook Pro that has the RK3399 like the PPP22:44
uvosdo the Bootloader (U-Boot) setup Quick22:45
missMyN900basically all Pro devices have RK3399 (including RockPro SBC)22:45
uvoswith the above file22:45
missMyN900non-Pro have A64 (or for SBCs can also have RK3328 or H6)22:45
missMyN900unege[m]: I have a Pinephone (3 GB/32 GB edition) and have run Maemo Leste on it22:45
missMyN900in addition to pmOS22:45
missMyN900I cannot recommend it all for daily use22:46
missMyN900only as a dev device22:46
uvosdev device with no keyboard22:46
uvoseh22:46
missMyN900it is definitely good that there is an affordable, easily available globally and good dev platform available to move mobile (free) Linux forward22:46
missMyN900well, it can have a keyboard, uvos22:46
missMyN900one that likes to fry itself, but I disgress...22:46
missMyN900but I cannot honestly call this is a usable daily driver phone22:47
missMyN900in fact, I am selling mine22:47
sicelounege[m]: sorry we're on and off. you should be able to install u-boot on PR1.2. but installing PR1.3. is just as easy too ... there's a flashable image22:47
missMyN900unege[m]: however, you are lucky to be in Europe22:47
missMyN900which means that either 2G or 3G will likely live on in your area22:47
missMyN900so mapphones (such as Droid 4 or Droid Bionic) can be a good option as a daily driver for you22:48
missMyN900and they have good battery life22:48
missMyN900unlike the Pinephone22:48
missMyN900me, living in the US, I am moving back to an Android without Google stuff22:48
sicelo missMyN900: the OP already made a decision to buy a specific phone22:49
missMyN900oh nvm22:49
missMyN900I hadn't finished reading the logs yet22:49
uvosalso idk about 2g only being enough for a daily driver really, depends on what you expect22:49
missMyN900got a bit too excited when I say OP was online again22:49
uvos(not much browsing the web i gues)22:49
missMyN900I guess22:49
missMyN900but it is still a lot better than not being able to receive calls at all22:49
missMyN900like in the US22:50
uvos3g is gohne or with a sunset date in all eu countires22:50
missMyN9002G is already gone and 3G is getting shut down in the US22:50
missMyN900at least for T-Mobile22:50
missMyN900but every network here is moving in that direction for sure22:50
missMyN900I am not up to date on the current state exactly22:50
missMyN900but it is clear that you should not buy a non(Vo)-LTE phone currently22:50
unege[m]<uvos> "you can just flash the above..." <- Allright, thanks, just to be sure, that still allows for dualboot? I was currently walking the cssu path, think if I end up at a showstopper Ill attempt the proposal, thanks for being so helpful22:51
missMyN900I guess unege decided to get an N900?22:51
unege[m]missMyN900: Haha yes, easy to obtain, would be interested int the d4 though22:52
sicelounege[m]: you don't even need cssu to install u-boot on maemo fremantle. of course doing so is highly recommended for other reasons22:52
missMyN900unege[m]: Droid Bionics are also readily available in the US, even new, on eBay22:52
missMyN900you can import them22:53
missMyN900norayr: I have to disagree with you that mostly everything works on the PP unfortunately22:55
missMyN900latest pmOS 22.06 is very unstable on my PP22:55
missMyN900something is going wrong in the graphics stack22:55
missMyN900I don't  know if it is Plasma or Wayland22:55
unege[m]missMyN900: Concerning your username, how big of an effort would it be to upgrade the n900? LTE module, usbC, possibly a bit faster soc? I read some stuff on a neo900, but that appears to have ended somewhere…22:55
missMyN900well, I mean22:56
missMyN900I think neo900 was quite far along22:56
uvosunege[m]: theres no point to that really22:56
missMyN900so if that has died22:56
missMyN900then there is not much hope really22:56
unege[m]So sad22:56
uvosthe droid 4 is vastly better speced than the neo900 would have been22:56
missMyN900yep22:56
missMyN900yep22:56
uvosand that was a pip dream anyhow22:56
uvos*pipe22:56
sicelounege[m]: http://repository.maemo.org/extras/pool/fremantle/free/u/u-boot/u-boot-tools_2013.04-2_armel.deb  ... install this. if you enter that link on maemo browser, it should offer you an install22:56
missMyN900neo900 was still Cortex A822:56
missMyN900just a version of the OMAP that was still sold22:57
sicelo then http://repository.maemo.org/extras/pool/fremantle/free/u/u-boot/u-boot-flasher_2013.04-2_armel.deb22:57
missMyN900and a nice frequency boost IIRC22:57
sicelothis might require other packages, but will handle that as needed22:57
missMyN900also, they had a similar modem setup to the PP IIRC22:57
missMyN900before the PP even existed22:57
uvosor the d422:57
missMyN900I don't know if PP was inspired by it22:57
uvosreally the d4 has the same kind of modem setup22:57
missMyN900does it have a kill switch?22:57
uvosin effect yes22:58
uvosthe omap controlles a gpio that kills power22:58
missMyN900hmmm22:58
missMyN900I wonder if all early LTE phones have that22:58
missMyN900such as Galaxy Nexus22:58
missMyN900because they all had a separate LTE modem22:58
uvosprobubly yes22:58
uvosor at least most22:58
missMyN900I think Samsung Exynos phones also had a separate modem for a long time22:58
uvosbut some modems might be able to do dma22:59
missMyN900Qualcomm really is the worst22:59
uvosor controll the pmic / other hw devices22:59
uvosthe d4 kinda is unique in that the modems cant do anything really22:59
bencohsamsung's design is some kind of hybrid (I work with samsung SoCs at $job)22:59
missMyN900that is why I will never like SDM845 devices, no matter how well mainlined they will be22:59
sicelounege[m]: you might need these repositories, http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/ . just clicking the links should work straight from the maemo browser too22:59
bencohthe main SoC has a communication processor alongside the main application processor, but the radio part lives in a separate chip23:00
sicelomissMyN900: you will, when there's no longer any omap4 with decent performance :-p23:00
sicelos/omap4/omap/23:00
missMyN900sicelo: there are still alternatives that I prefer but I won't get into that here23:01
siceloah, yes. i was referring to something running mainline kernel. i think the alternatives you mention are ... something else23:01
bencohprovided you don't add a radio chip, and keep the communication core(s) off, you should be "okay" (regarding modem/radio issues)23:01
bencoh(meaning you could use an external usb modem with your samsung SoC)23:01
missMyN900bencoh: so it is basically as if the Cortex A7 of the Quectel EG25 is integrated into the A64 but the Hexagon DSP is still isolated?23:02
bencohmissMyN900: pretty much, yeah23:02
missMyN900I don't know if that is really all that great23:02
missMyN900because I think the A7 is the "dangerous" part23:02
bencohit's not that great, but it means you could design a phone with a separate modem23:02
bencohprovided the A7 is off and has no way to talk to the outside world23:02
missMyN900I guess if you can run open "firmware" on the "A7" Biktorg's then it is okay ;)23:02
missMyN900*like23:03
bencohobviously samsung wouldn't allow that, they won't give you any kind of documentation or sdk for that :)23:03
missMyN900yes, because regulations etc23:03
bencohyou could poke with jtag if you really wanted, but that's it23:03
missMyN900same for Qualcomm of course (as Quectel EG25 is still Qualcomm)23:03
bencohso you just turn it off from the main core, and bring an external modem23:03
bencohqualcomm is a bit more of an issue, since the modem part has more control over the way the chip boots23:04
bencohand the radio is builtin, so you can't really take it out23:04
missMyN900sicelo: you are correct in intuiting that my alternatives are not mainline devices ;) But when the situation gets that desperate, well, you have to have priorities IMHO23:04
siceloyeah23:04
sicelomainline is my priority ;-)23:04
missMyN900as I have said before I am not a hard core open source or Linux person23:04
bencohif you *really* care about those modem issues, I think the only options right now are the pipephone, librem (errr), and droid4/n90023:05
bencoh(available for now at least)23:05
missMyN900bencoh: depends on if you trust all modems equally ;)23:05
sicelounege[m]: let us know if that info helps, and please feel free to adjust wiki as needed. it will help the next person with an N900 in a drawer23:06
uvosmissMyN900: the pps modem with foss fw is def best23:06
bencohmissMyN900: that's the point, you can't trust a modem unless you now what runs on it23:07
bencoh(ie, unless you have the full code)23:07
uvosmissMyN900: unfortionatly the motorola modem in the d4 dosent work, since its significant parts of its fw is foss23:07
missMyN900bencoh: I think this gets back to threat modeling as r3boot_ mentioned yesterday23:07
bencohyeah23:07
uvosmissMyN900: the qualcomm modem is not as open23:08
missMyN900but I thought Wizzup was using it?23:08
uvossure23:08
uvosbut its firmware is very closed up23:08
missMyN900so how can it not work?23:08
uvosWizzup uses the qualcomm modem23:08
bencohmain threat on current phones is that some vendors actually leverage their design to provide ISP and/or govs with SDKs to have access to user data23:08
uvosnot the motorola one23:08
missMyN900D4 has two modems?23:09
bencohand take over part of the system23:09
uvosyes23:09
missMyN9002G/3G and LTE?23:09
missMyN900hmmm23:09
uvosone for 2g and 3g and one for lte23:09
bencoh(it's not just theory, those are fact, qualcomm did that and sold it)23:09
missMyN900I thought it only had Motorola23:09
uvosno23:09
bencohdroid4 has two modems23:09
uvosthe motorola modem is interesting in that it runs android and gives you root access more or less out of  the box23:09
bencohwhich is pretty funny when you think of it, and compare it to modern design23:09
uvosyou can just log into it via telnet and get a root shell23:10
missMyN900bencoh: I think you can certainly understand my point then about not trusting all modems equally ;)23:10
bencohuvos: wow, so they squeezed a complete android system there? fun23:10
uvosyes23:10
missMyN900bencoh: actually Quectel also runs Android23:10
uvosandroid 2.1 with no gui but otherwise compleate23:10
missMyN900it was first described as running Linux23:11
missMyN900but later I discovered something that implied it was actually running Android23:11
unege[m]sicelo: Yeah thanks, i am trying to record the steps, must say i have forgotten half of it already. So excited anyhow still.23:11
uvosit runs a kernel from the same tree as the droid 1 funny enougth23:11
missMyN900makes sense since they are using fastboot to flash the alternative open "firmware"23:11
uvosit also runs the droid 1's mbm23:11
uvos(bootloader)23:11
uvosits kinda a droid 1 shoved into the droid 4 xD23:11
missMyN900so Droid 4 and PP are actually quite similar wrt that aspect23:12
missMyN900uvos: yes, it is also interesting that the Quectel Cortex A7 is more powerful than the CPU of my first smartphone23:12
missMyN900(600 MHz ARMv6 MSM7227)23:13
missMyN900uvos: I am installing Mobian on my PP eMMC before selling it23:16
missMyN900apparently they are using something called tow-boot now23:16
missMyN900you need to install that first to the eMMC23:16
missMyN900it is a uboot fork23:16
missMyN900if you don't it won't boot the installer from SD card as I discovered :(23:16
missMyN900can ML work with this towboot thing?23:17
uvosmissMyN900: yes if it can boot linux you can make it work with leste23:18
uvosmissMyN900: its just the pp is not a huge focus23:18
uvoslook into it if you can23:18
unege[m]missMyN900: When would you be willing to unsell it?23:20
sicelo missMyN900: towboot just handles boot, so yes, you can run any OS afterwards.23:21
missMyN900sicelo: well, yes, I don't doubt that it is possible for ML to work with it but it sounds like it is not currently compatible23:23
missMyN900so basically if I wanted to actually use my PP with current Mobian installed to eMMC (instead of pmOS) and ML running from SD card like I have been, that would not be possible23:23
missMyN900seems like a mess to me23:23
missMyN900more fragmentation is not a good thing23:24
sicelothere's no fragmentation here :-)23:24
missMyN900it is not coming from ML, no23:24
missMyN900I am definitely not blaming ML23:24
sicelothey're unifying the PP efforts, to the point of using same kernel everywhere23:24
missMyN900but Mobian is essentially forcing you to ditch uboot23:25
sicelojust, as uvos mentioned, ML has chosen to prioritize D4 for now23:25
missMyN900and use their special thing23:25
missMyN900which does not work with other distros until they add support23:25
missMyN900that is what I am currently understanding of this situation23:25
sicelotowboot is NOT a mobian special thing. it's a universal thing instead23:26
siceloif you were not selling your pp, maybe you could help get ML working with it :-)23:26
missMyN900well, I think that depends on how you define "special"23:26
missMyN900it is not proprietary, no23:26
sicelomissMyN900: Mobian did not write towboot23:26
missMyN900I thought that was probably the case but they are still adopting something that is incompatible with what all the other distros are using23:27
sicelowhich other distros?23:28
missMyN900ML, pmOS probably23:28
caleb[m]neato fact Qualcomm are back to running Linux on the modem with the x55 and x65 5G modems (in the OnePlus 9 and other phones of that generation), some folks already have mainline booting on the modem so would be neat to have mainline + FOSS userspace on the modem side AND the host side :D23:28
missMyN900don't know about manjaro23:28
missMyN900and nemo and all the others23:28
sicelomissMyN900: pmOS has towboot working23:28
missMyN900that is good news23:29
missMyN900caleb[m]: I assume those 5G modems are also LTE compatible?23:29
caleb[m]yeah I'm pretty sure23:30
siceloi dare pmOS would be even happier if all supported phones could run towboot23:30
sicelos/dare/dare say/23:30
missMyN900sicelo: how is it better than the current situation with uboot and pmbootstrap?23:31
caleb[m]sicelo: that would be pretty nice, in the long term we'll likely end up chainloading tow-boot on sdm845 devices23:31
caleb[m]the SHIFT6mq (sdm845 with no secureboot + active support from vendors) will hopefully end up with something a bit nicer, ie having tow-boot be more "permanent" rather than using hacks to trick the stock bootloader into thinking it's booting Linux23:32
sicelomissMyN900: see :-)23:32
caleb[m]it makes it actually feasible to do things liiiike let the user revert to a previous kernel, multi-boot, etc without having to do it via Android specific hacks23:35
uvossomething something kexecboot :P23:46
missMyN900uvos: SFOS is a lot nicer than LineageOS, c'mon ;)23:46
missMyN900and it is still closer to typical desktop Linux than Android23:47
uvosits less foss23:47
missMyN900even though it may have parts of the "new" desktop Linux that I don't personally like (systemd, Wayland)23:47
missMyN900the UI is proprietary23:47
missMyN900but I don't think that Jolla is using that the spy on me23:47
uvosalso some other stuff23:47
uvoson device23:47
missMyN900it is not comparable with Google's massive data collection operation23:47
missMyN900and what they are using it for23:48
uvoslos dosent have any sutch tracking23:48
uvosunless you install google services - which you just dont23:48
missMyN900I would probably run SFOS on an Xperia if it was legally/officially available in the US23:48
missMyN900but  it is still Android23:49
missMyN900do you also believe that running an imaginary proprietary desktop environment on Debian is worse than using LineageOS on a phone?23:49
uvosyes23:50
uvosidk what the fear is with android23:50
missMyN900ok then...23:50
uvosits fully foss23:50
uvostheres nothing wrong with it really23:50
missMyN900it is not really about fear in this case23:50
uvosits just not linux23:50
missMyN900but you are depending on Google ultimately23:50
uvosnot really23:50
missMyN900and it is very far from typical desktop Linux23:50
missMyN900no GNU stuff at all23:50
uvossince again its fully foss if google dosent cooperate23:50
missMyN900not even busybox by default23:51
uvosit gets forked23:51
missMyN900but who is funding the development?23:51
uvos(and los people have forkt lots of stuff)23:51
missMyN900and where does that money come from?23:51
uvoswhere dose the mony come from for the linux kernel?23:51
uvossame thing23:51
missMyN900I guess you could make that argument about the Linux kernel itself to some extent23:51
missMyN900at least that is diversified23:51
missMyN900and it is not to the same degree23:52
uvosall major componantes of desktop linux are massively funded by coperate interests23:52
missMyN900yes, you do have Google and Facebook contributing23:52
missMyN900hardware vendors are still better than Google and Facebook23:52
missMyN900even Red Hat is still better than them23:52
missMyN900and I am not a Red Hat fan at all to say the least23:52
uvosthe point is using foss software dosent make you a dependant of the person who wrote the sw23:53
uvosthats the whole point of foss23:53
missMyN900I guess but it still feels a bit strange to me23:53
missMyN900to depend to such a large degree on one entity or person that is antagonistic towards you23:53
missMyN900especially for something that needs constant (security) updates23:54
missMyN900if it is some library or application that is "finished", that is one thing23:54
missMyN900you can also replace it eventually23:54
missMyN900I guess I need to continue with installing Mobian23:57
sicelomy view: los is perfectly fine for average use. sfos has an edge though if one is used to regular desktop linux and wants something closer to it on their phone23:57
missMyN900towboot has been installed23:57

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