Subject: 4.13 (and probably all recent) kernels refuse to boot on one Nokia N950, work or another

From: [email-masked] (Pavel Machek)
Date: Thu, 26 Oct 2017 09:16:08 +0200

On Wed 2017-10-25 14:28:07, Tony Lindgren wrote:
> * Pavel Machek <[email-masked]> [171025 13:36]:
> > Hi!
> > 
> > ...hardware should be identical. 3.5.3-nemo kernel seems to work on
> > both. 4.13-rc2 with display and clock patches boots on phone "S", but
> > does not on phone "P"; nothing nothing is received on serial port.
> > 
> > There is some difference in the bootloaders: S's bootloader provides
> > lots of debug info, P's is silent. R&D settings do _not_ have
> > influence on bootloader. We know P's serial works, as 3.5.3 kernel
> > prints "Uncompressing linux...booting" there.
> > 
> > I'll need to return "S" phone and serial cable tommorow. If you have
> > any ideas, let me know.
> 
> If you get nothing out of the uart, chances are the pins are
> not muxed for the uart in nolo and maybe kernel dts is missing the
> pinctrl entries for uart?

"Uart pins not muxed in NOLO" would certainly explain my problems. In
3.5.X, output works even in decompressor ("Uncompressing
kernel... done, booting linux"). Where is the code to do the muxing?
Does it need fixing on v4.x?

Is

 CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"

right setting for me?

> Also try booting with mem=512M at 0x80000000 or 256M or 768M. Maybe the
> memory is different size or partially broken?

"P" machine runs Hartmann, latest release, and is stable
there... including games. RAM should be ok.

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171026/d5dff508/attachment.sig>