From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: 4.13 (and probably all recent) kernels refuse to boot on one Nokia N950, work or another Date: Thu, 26 Oct 2017 11:57:34 +0200 Message-ID: <20171026095734.GA10141@amd> References: <20171025203459.GA22035@amd> <20171025212806.GA21504@atomide.com> <20171026091325.GA26929@amd> <20171026093115.4bc6ctxjx72ng7ld@earth> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Return-path: Content-Disposition: inline In-Reply-To: <20171026093115.4bc6ctxjx72ng7ld@earth> Sender: linux-kernel-owner@vger.kernel.org To: Sebastian Reichel Cc: Tony Lindgren , pali.rohar@gmail.com, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, clayton@craftyguy.net, martijn@brixit.nl, sakari.ailus@linux.intel.com, filip.matijevic.pz@gmail.com List-Id: linux-omap@vger.kernel.org --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2017-10-26 11:31:15, Sebastian Reichel wrote: > Hi, >=20 > On Thu, Oct 26, 2017 at 11:13:26AM +0200, Pavel Machek wrote: > > On Wed 2017-10-25 14:28:07, Tony Lindgren wrote: > > > * Pavel Machek [171025 13:36]: > > > > Hi! > > > >=20 > > > > ...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", b= ut > > > > does not on phone "P"; nothing nothing is received on serial port. > > > >=20 > > > > 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. > > > >=20 > > > > I'll need to return "S" phone and serial cable tommorow. If you have > > > > any ideas, let me know. > > >=20 > > > 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? > > >=20 > > > Also try booting with mem=3D512M@0x80000000 or 256M or 768M. Maybe the > > > memory is different size or partially broken? > >=20 > > Uhuh. It looks like "P" nokia really wants initrd, otherwise it will > > not boot. > >=20 > > I got "uncompressing Linux 4.13" on serial console now, debug LEDs > > blinking, and if I use a flashlight, I see output on the screen, too. > >=20 > > (What do I need to do to get the backlight working?) >=20 > Glad you got it working :) For backlight you can add this > in drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c: >=20 > add the following code at the end of dsicm_probe: You did not actually include code to paste into panel-dsi-cm, can you try a again? Thanks a lot, Pavel > ----------------------------------------------------------- > mutex_unlock(&ddata->lock); > mutex_lock(&ddata->lock); > ddata->in->ops.dsi->bus_lock(ddata->in); > r =3D dsicm_wake_up(ddata); > if (!r) > r =3D dsicm_dcs_write_1(ddata, DCS_BRIGHTNESS, 100); > ddata->in->ops.dsi->bus_unlock(ddata->in); > mutex_unlock(&ddata->lock); > ----------------------------------------------------------- >=20 > -- Sebastian --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlnxsY4ACgkQMOfwapXb+vIbFACgkv+g4NPkbyK7n8Eu5FfDKkvY ExgAn01KG3KwwwSbY1f3JUL5ukOHbxo7 =EU8O -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--