Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1191585 > unrolled thread

Re: linux 4.2-rc1 broken Nokia N900

Started byDave Young <dyoung@redhat.com>
First post2015-07-24 10:20 +0200
Last post2015-07-24 12:50 +0200
Articles 9 — 4 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: linux 4.2-rc1 broken Nokia N900 Dave Young <dyoung@redhat.com> - 2015-07-24 10:20 +0200
    Re: linux 4.2-rc1 broken Nokia N900 Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2015-07-24 10:40 +0200
      Re: linux 4.2-rc1 broken Nokia N900 Dave Young <dyoung@redhat.com> - 2015-07-24 12:30 +0200
        Re: linux 4.2-rc1 broken Nokia N900 Pali Rohár <pali.rohar@gmail.com> - 2015-07-24 13:00 +0200
    Re: linux 4.2-rc1 broken Nokia N900 Pali Rohár <pali.rohar@gmail.com> - 2015-07-24 10:50 +0200
      Re: linux 4.2-rc1 broken Nokia N900 Dave Young <dyoung@redhat.com> - 2015-07-24 12:40 +0200
        Re: linux 4.2-rc1 broken Nokia N900 Pali Rohár <pali.rohar@gmail.com> - 2015-07-24 13:00 +0200
    Re: linux 4.2-rc1 broken Nokia N900 Pavel Machek <pavel@ucw.cz> - 2015-07-24 11:00 +0200
      Re: linux 4.2-rc1 broken Nokia N900 Dave Young <dyoung@redhat.com> - 2015-07-24 12:50 +0200

#1191585 — Re: linux 4.2-rc1 broken Nokia N900

FromDave Young <dyoung@redhat.com>
Date2015-07-24 10:20 +0200
SubjectRe: linux 4.2-rc1 broken Nokia N900
Message-ID<pPGmZ-8tY-1@gated-at.bofh.it>
On 07/11/15 at 02:05pm, Pali Rohár wrote:
> Hello,
> 
> now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are
> broken and cause kernel oops...
> 
> Basically wifi, touchscreen and rtc drivers not working...
> 

Pali, could you tell how do you test mainline kernel on n900?

I used to use n900 as a usb dbgp gadget with a backport patch to
2.6.28 so that I can get early debug kernel message from my laptop.

I tried mainline previously with Fedora arm, text mode works but
no graphics. Is there a way to use maemo UI with mainline kernel?

Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1191601

FromIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Date2015-07-24 10:40 +0200
Message-ID<pPGGm-oT-19@gated-at.bofh.it>
In reply to#1191585

On 24.07.2015 11:18, Dave Young wrote:

> Pali, could you tell how do you test mainline kernel on n900?
>
> I used to use n900 as a usb dbgp gadget with a backport patch to
> 2.6.28 so that I can get early debug kernel message from my laptop.
>
> I tried mainline previously with Fedora arm, text mode works but
> no graphics. Is there a way to use maemo UI with mainline kernel?
>
> Thanks
> Dave
>

http://talk.maemo.org/showpost.php?p=1459970&postcount=142

This is the last (almost) upstream kernel I tried, unfortunately 
recently I am very short on spare time, so cannot confirm for 4.x 
kernels, but in theory those should work as well.

The kernel tree was on gitorious, but it is down now(I have a local 
copy). However, all of the needed patches should be on 
https://github.com/pali/linux-n900.

Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1191685

FromDave Young <dyoung@redhat.com>
Date2015-07-24 12:30 +0200
Message-ID<pPIoO-2Zr-9@gated-at.bofh.it>
In reply to#1191601
On 07/24/15 at 11:30am, Ivaylo Dimitrov wrote:
> 
> 
> On 24.07.2015 11:18, Dave Young wrote:
> 
> >Pali, could you tell how do you test mainline kernel on n900?
> >
> >I used to use n900 as a usb dbgp gadget with a backport patch to
> >2.6.28 so that I can get early debug kernel message from my laptop.
> >
> >I tried mainline previously with Fedora arm, text mode works but
> >no graphics. Is there a way to use maemo UI with mainline kernel?
> >
> >Thanks
> >Dave
> >
> 
> http://talk.maemo.org/showpost.php?p=1459970&postcount=142
> 
> This is the last (almost) upstream kernel I tried, unfortunately recently I
> am very short on spare time, so cannot confirm for 4.x kernels, but in
> theory those should work as well.
> 
> The kernel tree was on gitorious, but it is down now(I have a local copy).
> However, all of the needed patches should be on
> https://github.com/pali/linux-n900.

Ivaylo, thanks for your info. I know pali's kernel tree, but the problem is
I do not know much about the userspace fixes.

According to another reply from Pali, I should fix HAL and sgx start script.

Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1191717

FromPali Rohár <pali.rohar@gmail.com>
Date2015-07-24 13:00 +0200
Message-ID<pPIRQ-3xl-19@gated-at.bofh.it>
In reply to#1191685
On Friday 24 July 2015 18:28:44 Dave Young wrote:
> On 07/24/15 at 11:30am, Ivaylo Dimitrov wrote:
> > 
> > 
> > On 24.07.2015 11:18, Dave Young wrote:
> > 
> > >Pali, could you tell how do you test mainline kernel on n900?
> > >
> > >I used to use n900 as a usb dbgp gadget with a backport patch to
> > >2.6.28 so that I can get early debug kernel message from my laptop.
> > >
> > >I tried mainline previously with Fedora arm, text mode works but
> > >no graphics. Is there a way to use maemo UI with mainline kernel?
> > >
> > >Thanks
> > >Dave
> > >
> > 
> > http://talk.maemo.org/showpost.php?p=1459970&postcount=142
> > 
> > This is the last (almost) upstream kernel I tried, unfortunately recently I
> > am very short on spare time, so cannot confirm for 4.x kernels, but in
> > theory those should work as well.
> > 
> > The kernel tree was on gitorious, but it is down now(I have a local copy).
> > However, all of the needed patches should be on
> > https://github.com/pali/linux-n900.
> 
> Ivaylo, thanks for your info. I know pali's kernel tree, but the problem is
> I do not know much about the userspace fixes.
> 
> According to another reply from Pali, I should fix HAL and sgx start script.
> 
> Thanks
> Dave

It is not enough, also you need to update Maemo to CSSU-devel version
and install BME replacement stuff (open source battery management).

-- 
Pali Rohár
pali.rohar@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1191608

FromPali Rohár <pali.rohar@gmail.com>
Date2015-07-24 10:50 +0200
Message-ID<pPGQ1-Az-13@gated-at.bofh.it>
In reply to#1191585
On Friday 24 July 2015 16:18:09 Dave Young wrote:
> On 07/11/15 at 02:05pm, Pali Rohár wrote:
> > Hello,
> > 
> > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are
> > broken and cause kernel oops...
> > 
> > Basically wifi, touchscreen and rtc drivers not working...
> > 
> 
> Pali, could you tell how do you test mainline kernel on n900?
> 
> I used to use n900 as a usb dbgp gadget with a backport patch to
> 2.6.28 so that I can get early debug kernel message from my laptop.
> 
> I tried mainline previously with Fedora arm, text mode works but
> no graphics. Is there a way to use maemo UI with mainline kernel?
> 
> Thanks
> Dave

Hi! Starting Maemo with mainline kernel is not possible. But you can
patch Maemo (userspace) and apply some kernel patches and you could boot
Maemo system with Hildon UI.

You need:

Patched kernel:
https://github.com/pali/linux-n900

CSSU-devel:
https://wiki.maemo.org/CSSU
http://talk.maemo.org/showthread.php?t=84292

Open source battery management:
http://talk.maemo.org/showthread.php?t=93183

Fixup for Dialer application (rtcom-call-ui):
Fixing HAL path /org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input

Fixup for SGX video driver:
Fixing script /etc/event.d/sgx

If you do not know how to fix HAL & SGX script I can send you later
needed information. But I do not know them right now.

-- 
Pali Rohár
pali.rohar@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1191697

FromDave Young <dyoung@redhat.com>
Date2015-07-24 12:40 +0200
Message-ID<pPIyt-3am-17@gated-at.bofh.it>
In reply to#1191608
Hi, Pali

On 07/24/15 at 10:40am, Pali Rohár wrote:
> On Friday 24 July 2015 16:18:09 Dave Young wrote:
> > On 07/11/15 at 02:05pm, Pali Rohár wrote:
> > > Hello,
> > > 
> > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are
> > > broken and cause kernel oops...
> > > 
> > > Basically wifi, touchscreen and rtc drivers not working...
> > > 
> > 
> > Pali, could you tell how do you test mainline kernel on n900?
> > 
> > I used to use n900 as a usb dbgp gadget with a backport patch to
> > 2.6.28 so that I can get early debug kernel message from my laptop.
> > 
> > I tried mainline previously with Fedora arm, text mode works but
> > no graphics. Is there a way to use maemo UI with mainline kernel?
> > 
> > Thanks
> > Dave


> 
> Hi! Starting Maemo with mainline kernel is not possible. But you can
> patch Maemo (userspace) and apply some kernel patches and you could boot
> Maemo system with Hildon UI.

So I think mainline miss some patches in your linux-n900, I guess they
are for SGX graphic driver?

> 
> You need:
> 
> Patched kernel:
> https://github.com/pali/linux-n900
> 
> CSSU-devel:
> https://wiki.maemo.org/CSSU
> http://talk.maemo.org/showthread.php?t=84292
> 
> Open source battery management:
> http://talk.maemo.org/showthread.php?t=93183
> 
> Fixup for Dialer application (rtcom-call-ui):
> Fixing HAL path /org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input
> 
> Fixup for SGX video driver:
> Fixing script /etc/event.d/sgx
> 
> If you do not know how to fix HAL & SGX script I can send you later
> needed information. But I do not know them right now.

Yes, appreciated for that, just at anytime later you find it.
I have no much time either, so I believe first I need a lot of spare time to read
the threads you mentioned.

Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1191712

FromPali Rohár <pali.rohar@gmail.com>
Date2015-07-24 13:00 +0200
Message-ID<pPIRP-3xl-5@gated-at.bofh.it>
In reply to#1191697
On Friday 24 July 2015 18:33:51 Dave Young wrote:
> Hi, Pali
> 
> On 07/24/15 at 10:40am, Pali Rohár wrote:
> > On Friday 24 July 2015 16:18:09 Dave Young wrote:
> > > On 07/11/15 at 02:05pm, Pali Rohár wrote:
> > > > Hello,
> > > > 
> > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are
> > > > broken and cause kernel oops...
> > > > 
> > > > Basically wifi, touchscreen and rtc drivers not working...
> > > > 
> > > 
> > > Pali, could you tell how do you test mainline kernel on n900?
> > > 
> > > I used to use n900 as a usb dbgp gadget with a backport patch to
> > > 2.6.28 so that I can get early debug kernel message from my laptop.
> > > 
> > > I tried mainline previously with Fedora arm, text mode works but
> > > no graphics. Is there a way to use maemo UI with mainline kernel?
> > > 
> > > Thanks
> > > Dave
> 
> 
> > 
> > Hi! Starting Maemo with mainline kernel is not possible. But you can
> > patch Maemo (userspace) and apply some kernel patches and you could boot
> > Maemo system with Hildon UI.
> 
> So I think mainline miss some patches in your linux-n900, I guess they
> are for SGX graphic driver?
> 

Yes. Status of kernel driver is here: http://elinux.org/N900

> > 
> > You need:
> > 
> > Patched kernel:
> > https://github.com/pali/linux-n900
> > 
> > CSSU-devel:
> > https://wiki.maemo.org/CSSU
> > http://talk.maemo.org/showthread.php?t=84292
> > 
> > Open source battery management:
> > http://talk.maemo.org/showthread.php?t=93183
> > 
> > Fixup for Dialer application (rtcom-call-ui):
> > Fixing HAL path /org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input
> > 
> > Fixup for SGX video driver:
> > Fixing script /etc/event.d/sgx
> > 
> > If you do not know how to fix HAL & SGX script I can send you later
> > needed information. But I do not know them right now.
> 
> Yes, appreciated for that, just at anytime later you find it.
> I have no much time either, so I believe first I need a lot of spare time to read
> the threads you mentioned.
> 
> Thanks
> Dave

Just first post of those threads should be enough.

-- 
Pali Rohár
pali.rohar@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1191615

FromPavel Machek <pavel@ucw.cz>
Date2015-07-24 11:00 +0200
Message-ID<pPGZI-LO-15@gated-at.bofh.it>
In reply to#1191585
On Fri 2015-07-24 16:18:09, Dave Young wrote:
> On 07/11/15 at 02:05pm, Pali Rohár wrote:
> > Hello,
> > 
> > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are
> > broken and cause kernel oops...
> > 
> > Basically wifi, touchscreen and rtc drivers not working...
> > 
> 
> Pali, could you tell how do you test mainline kernel on n900?
> 
> I used to use n900 as a usb dbgp gadget with a backport patch to
> 2.6.28 so that I can get early debug kernel message from my laptop.
> 
> I tried mainline previously with Fedora arm, text mode works but
> no graphics. Is there a way to use maemo UI with mainline kernel?

I'm successfully running MATE desktop from Debian. Even modem works
with ofono and custom scripts.

https://github.com/dderby/debian900

https://wiki.debian.org/n900-wheezy-armhf
https://wiki.debian.org/MaemoAndSqueeze

(..and tui project on gitlab).
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1191708

FromDave Young <dyoung@redhat.com>
Date2015-07-24 12:50 +0200
Message-ID<pPII9-3lR-3@gated-at.bofh.it>
In reply to#1191615
On 07/24/15 at 10:51am, Pavel Machek wrote:
> On Fri 2015-07-24 16:18:09, Dave Young wrote:
> > On 07/11/15 at 02:05pm, Pali Rohár wrote:
> > > Hello,
> > > 
> > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are
> > > broken and cause kernel oops...
> > > 
> > > Basically wifi, touchscreen and rtc drivers not working...
> > > 
> > 
> > Pali, could you tell how do you test mainline kernel on n900?
> > 
> > I used to use n900 as a usb dbgp gadget with a backport patch to
> > 2.6.28 so that I can get early debug kernel message from my laptop.
> > 
> > I tried mainline previously with Fedora arm, text mode works but
> > no graphics. Is there a way to use maemo UI with mainline kernel?
> 
> I'm successfully running MATE desktop from Debian. Even modem works
> with ofono and custom scripts.
> 
> https://github.com/dderby/debian900
> 
> https://wiki.debian.org/n900-wheezy-armhf
> https://wiki.debian.org/MaemoAndSqueeze
> 
> (..and tui project on gitlab).

Pavel, it is very helpful, actually I do not care much about modem.
Will take a look at how Debian works as well. Maybe I should send
private email to ask these and future questions, it is off topic now...

Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web