From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: 24xx/n8x0 booting again, linux-omap updated to -rc5 Date: Fri, 16 Oct 2009 17:18:21 -0700 Message-ID: <20091017001821.GI12576@atomide.com> References: <20091016012747.GA12576@atomide.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]:58671 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750771AbZJQASS (ORCPT ); Fri, 16 Oct 2009 20:18:18 -0400 Received: from muru.com ([72.249.23.125] helo=localhost.localdomain) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from ) id 1Myx02-0000ZG-Qa for linux-omap@vger.kernel.org; Sat, 17 Oct 2009 00:18:23 +0000 Content-Disposition: inline In-Reply-To: <20091016012747.GA12576@atomide.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap@vger.kernel.org * Tony Lindgren [091015 18:34]: > Hi all, > > Thanks to Paul's "OMAP2xxx clock: set up clockdomain pointer in struct clk" > patch, we got 24xx booting again both in mainline and in linux-omap. > > The following patch is also needed to change the n8x0 serial console CMDLINE > from ttyS0 to ttyS2 as the port numbering now matches the physical ports. > The patch is already in linux-omap, but not yet in mainline. > > Also, I've rebuilt linux-omap again on top of -rc5. Will merge in the plat > header patches tomorrow. Well I did not quite get all that stuff integrated yet as I ended up doing some more ioremap changes under split l3/l4 patches. Also fixed the mach-omap1/serial.c that got broken with the earlier "Eliminate OMAP_MAX_NR_PORTS" patch. Omap1 still had the old unused null terminator in the serial_platform_data array that had to be removed to keep things booting. > Cheers, > > Tony > From 71d3bff80f77cdd286303f19308058c6c844458f Mon Sep 17 00:00:00 2001 > From: Tony Lindgren > Date: Thu, 15 Oct 2009 18:13:28 -0700 > Subject: [PATCH] omap: Fix console serial port number for n8x0 > > With the recent changes omap serial ports match the physical > numbering like they should. Fix the kernel CMDLINE accordingly > so console works. > > Signed-off-by: Tony Lindgren > > diff --git a/arch/arm/configs/n8x0_defconfig b/arch/arm/configs/n8x0_defconfig > index 8da75de..264f52b 100644 > --- a/arch/arm/configs/n8x0_defconfig > +++ b/arch/arm/configs/n8x0_defconfig > @@ -304,7 +304,7 @@ CONFIG_ALIGNMENT_TRAP=y > CONFIG_ZBOOT_ROM_TEXT=0x10C08000 > CONFIG_ZBOOT_ROM_BSS=0x10200000 > # CONFIG_ZBOOT_ROM is not set > -CONFIG_CMDLINE="root=1f03 rootfstype=jffs2 console=ttyS0,115200n8" > +CONFIG_CMDLINE="root=1f03 rootfstype=jffs2 console=ttyS2,115200n8" > # CONFIG_XIP_KERNEL is not set > # CONFIG_KEXEC is not set >