maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   The N9/N950 Kernel Upstreaming Force (https://talk.maemo.org/showthread.php?t=95966)

amigo157 2016-05-21 18:16

Re: The N9/N950 Kernel Upstreaming Force
 
Hi! I saw a new image Nemo Mobile but it can not download. Error № 403... Planned a new image Sailfish?

marmistrz 2016-05-28 14:46

Re: The N9/N950 Kernel Upstreaming Force
 
Filip, I should have some free time in July. I think I'd start back where I finished - trying to boot the Nemo kernel under Debian. Or maybe the things have changed and it'd be better to sit down to something else?

It's distant future - about a month, but it's worth to plan a little.

filip.pz 2016-05-28 15:24

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by marmistrz (Post 1506406)
Filip, I should have some free time in July. I think I'd start back where I finished - trying to boot the Nemo kernel under Debian. Or maybe the things have changed and it'd be better to sit down to something else?

It's distant future - about a month, but it's worth to plan a little.

Well, I've been in touch with Sebastian and he's working on N950 kernel and using Debian for testing. I've decided to wait for his patches to go into mainstream and add support for N9 where appropriate. At the moment not much is there, but it's being worked on. Also his approach to display is much better in the long run than mine (https://git.kernel.org/cgit/linux/ke...h=n950-display) - he's using omapdrm but w/o PVR drivers. When these go in, I'll try to add support for N9 display and patch PVR kernel "shim driver" to use that one instead of omapfb. He's also being optimistic regarding charging support w/o bme - that one would be really good.

At this point your best bet would be using his n950-display branch to see if you can get anything displayed on N950. My dropbox contains fairly fresh patchset for mainline but that would be for N9 only (no n950 display support).

marmistrz 2016-05-28 16:04

Re: The N9/N950 Kernel Upstreaming Force
 
Hell, you have such good news and don't say a word! Shame on you! :)

Can you shed some light on the omapdrm/pvr difference? Why does it matter?

Is Sebastian here on TMO, watching our thread?

filip.pz 2016-05-29 06:44

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by marmistrz (Post 1506409)
Can you shed some light on the omapdrm/pvr difference? Why does it matter?

It's more like drm vs fbdev - kernel is migrating from fbdev to drm and fbdev is in "maintanance mode". PVR uses open source driver for interaction between it's closed source binaries and the rest of the kernel trough fbdev. Moving support for our display panels to drm requires converting PVR "middle layer" also and that could be quite tricky. Sebastian is not interested in using closed source binaries, so that would be our job. PVR just provides us with GLES/EGL but OMAP DSS is the one responsible for rendering the image from framebuffer to display panel (ie you can do without PVR). I'm not an expert in the whole thing TBH.

Quote:

Originally Posted by marmistrz (Post 1506409)
Is Sebastian here on TMO, watching our thread?

Nope, but I asked him if I can share what we've discussed here and he's OK with that :)

marmistrz 2016-07-03 17:13

Re: The N9/N950 Kernel Upstreaming Force
 
Are the N9 components anywhere on elinux.org? I found only the page for N950.

This matters when writing the DeviceTree.

filip.pz 2016-07-04 05:08

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by marmistrz (Post 1508918)
Are the N9 components anywhere on elinux.org? I found only the page for N950.

This matters when writing the DeviceTree.

Nope, we are too lazy I guess :o

N950 list is being maintained by Sebastian, and N9 specific stuff would be (IIRC):
  • ALS/PS sensor is apsd990x (vs bh1770glc/sfh7770)
  • ak8975 magnetometer (vs ak8974)
  • Display panel (SMD vs AUO)
  • Main camera - list of possible camera modules: https://github.com/nemomobile/kernel...-camera.c#L249 vs (12MP Toshiba)
  • separate vibrator (N950 has it connected to TWL5031)
  • LP5521 LED controller (vs LP5523 on N950)

LED, ALS/PS and vibration all work. AK8975 is also done but untested. Cameras should work (not done by me), but I didn't test them (autofocus and flash seem to be missing). Display is being worked on (moving to DRM) - I'm not sure how much time it'll take to adapt PVR drivers to DRM.

marmistrz 2016-07-04 07:06

Re: The N9/N950 Kernel Upstreaming Force
 
Is the N9 display working at all atm? Without it, it'll be difficult to develop the rest.

There's someone with an N9 who'd like to help too.

filip.pz 2016-07-04 08:14

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by marmistrz (Post 1508945)
Is the N9 display working at all atm? Without it, it'll be difficult to develop the rest.

There's someone with an N9 who'd like to help too.

At the moment both fbdev and drm (with some minor bugs, and w/o PVR) work. I'm working on omapdrm for the last couple of days by using patches from here: https://git.kernel.org/cgit/linux/ke...h=n950-display, and getting a few things sorted out. Once that is complete I'll see what can be done to make PVR use omapdrm.

For now fbdev is the one to use (patches located at https://www.dropbox.com/s/ogx2nbzoxf...x.tar.bz2?dl=1 should be enough)

marmistrz 2016-07-04 08:48

Re: The N9/N950 Kernel Upstreaming Force
 
peterleichnen offered testing a long time ago, can you get in touch with him and give him something to test? :)

filip.pz 2016-07-04 09:17

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by marmistrz (Post 1508951)
peterleichnen offered testing a long time ago, can you get in touch with him and give him something to test? :)

Problem is that userspace also has to be able to use HW and we don't have all the bits and peaces there yet. For now I'm concentrating at doing as much kernel work as possible and once that gets done I'll move onto stuff in Mer that needs work in order to have something usable/testable.

marmistrz 2016-07-04 14:52

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by filip.pz (Post 1508953)
Problem is that userspace also has to be able to use HW and we don't have all the bits and peaces there yet. For now I'm concentrating at doing as much kernel work as possible and once that gets done I'll move onto stuff in Mer that needs work in order to have something usable/testable.

And what if we simply used Debian?

jkepler 2016-08-13 21:53

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by nieldk (Post 1489919)
Friendly reminder that a fully functional. Black. 64G (scandinavia) N9 is waiting a proper home.
Allthough. With this good progress i will probably regret LOL. (Just kidding. Ping me and its on its way)

Hi,

I'm hoping to move from using a Jolla Phone as my daily device back to an N9, and I'd love to try my hand at developing for the N9. I have an N9 with a dying/yellowing screen, and intermittent battery issues. The issue is, I need a reliable N9 for my daily device, and another for coding on (I'm beginning to learn C to better understand how the computers I use work).

Also have an N900 sitting in my drawer, and I'm running exclusively Debian on my Nokia Booklet 3G (LXDE) and on a mid-2009 MacBook Pro (GNOME classic), so I'm interested in testing Debian on the N900. I'm also a bitcoin user, and if I can help port a HD bitcoin wallet to the N9, I'd be really happy.

If your black 64G N9 is still looking for a proper home, I'm interested. I live in France. Send me a direct message, via twitter @jkepler or reply with your email address, and I'll send you my details.

Thanks for considering my request.

Joel

wicket 2018-04-25 15:34

Re: The N9/N950 Kernel Upstreaming Force
 
We now have Maemo Leste builds for the N950 and N9 running with mainline Linux plus a few patches so I thought it would be a good time to revive this thread. Many thanks to Filip, Sebastian and Pavel who are the main guys who made this possible.


All times are GMT. The time now is 10:50.

vBulletin® Version 3.8.8