From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: linux-next - multi-omap image fails to boot on omap3/4 Date: Fri, 22 Oct 2010 11:52:55 -0700 Message-ID: <20101022185254.GG17595@atomide.com> References: <4CBDAFFF.2030409@ti.com> <20101019182149.GC3038@atomide.com> <20101019225726.GE3038@atomide.com> <20101019233204.GA30991@atomide.com> <20101021161545.GC3616@atomide.com> <8fb818d83ad3cb8e8e979e9b4ac52736@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:63559 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758093Ab0JVSw6 (ORCPT ); Fri, 22 Oct 2010 14:52:58 -0400 Content-Disposition: inline In-Reply-To: <8fb818d83ad3cb8e8e979e9b4ac52736@mail.gmail.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Anand Gadiyar Cc: linux-omap@vger.kernel.org * Anand Gadiyar [101022 06:59]: > Tony Lindgren wrote: > > * Gadiyar, Anand [101019 23:21]: > > ... > > > > >>> > >> linux-next, as of 20101019, built with the > omap2plus_defconfig fails > > > >>> > >> to boot on omap3 and omap4. (I've disabled CONFIG_ARCH_OMAP2 > or > > > >>> > >> CONFIG_SWP_EMULATE to get the image to build). Building with > only > > > >>> > >> ARCH_OMAP3 allows the resultant image to boot up on OMAP3. > Likewise, > > > >>> > >> an image built with only ARCH_OMAP4 boots up on OMAP4 boards. > > > >>> > >> > > > >>> > >> earlyprintk does not provide any additional prints after > > > >>> > >> "Uncompressing Linux... done, booting the kernel." > > > >>> > >> > > > >>> > >> Any ideas where to look? > > > >>> > > > > ... > > > > > > > I tried disabling CONFIG_SMP and CONFIG_SMP_ON_UP, and the resulting > > > image booted up just fine. > > > > Looks like it's caused by this patch: > > > > "ARM: hotplug cpu: Keep processor information, startup code & > > __lookup_processor_type" > > > > It's probably trashing registers it shouldn't. Will take a look and post > > something to linux-arm-kernel. > > > > I'm not sure what's going on, but looks like linux-next as of > 20101022 boots up fine on panda. I can't explain it, as I couldn't > find anything related to the patch you mentioned. Yeah, it's an alignment issue that's why it sometimes works depending on the Kconfig options selected.. For rererence, posted a fix for that at: https://patchwork.kernel.org/patch/276161/ Tony