linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kyle McMartin <kmcmarti@redhat.com>
To: linux-omap@vger.kernel.org
Subject: Re: 3.11-rc1+ multiplatform kernel+dtb pandaboard issues
Date: Wed, 21 Aug 2013 15:41:43 -0400	[thread overview]
Message-ID: <20130821194143.GE26531@redacted.bos.redhat.com> (raw)
In-Reply-To: <20130821154321.GA26531@redacted.bos.redhat.com>

On Wed, Aug 21, 2013 at 11:43:21AM -0400, Kyle McMartin wrote:
> I've suspected there might be a config issue, as omap2_defconfig
> works alright, as does booting a uImage with an appended
> omap4-panda.dtb, but there's no love with a zImage + initrd + dtb
> (or even just zImage without initrd + dtb.)
> 

after some further investigation, something odd is going on... turns
out things have been working (at least until initrd time, but that's
another story) fine but none of the bootargs have made it into the
kernel, so console= was unset and no messages came out.

not sure if this is appropriate, but explicitly putting the "default"
serial consoles into the dtb, at least helps me get along debugging
issues...

---
From: Kyle McMartin <kyle@redhat.com>

Specify default bootargs consoles for the Beaglebone and Pandaboards
in their respective device tree files.

Signed-off-by: Kyle McMartin <kyle@redhat.com>

--- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -19,6 +19,10 @@
 		};
 	};
 
+	chosen {
+		bootargs = "console=ttyO0,115200n8";
+	};
+
 	memory {
 		device_type = "memory";
 		reg = <0x80000000 0x10000000>; /* 256 MB */
diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-common.dtsi
index faa95b5..b424d00 100644
--- a/arch/arm/boot/dts/omap4-panda-common.dtsi
+++ b/arch/arm/boot/dts/omap4-panda-common.dtsi
@@ -16,6 +16,10 @@
 		reg = <0x80000000 0x40000000>; /* 1 GB */
 	};
 
+	chosen {
+		bootargs = "console=ttyO2,115200";
+	};
+
 	leds: leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";

  reply	other threads:[~2013-08-21 19:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 15:43 3.11-rc1+ multiplatform kernel+dtb pandaboard issues Kyle McMartin
2013-08-21 19:41 ` Kyle McMartin [this message]
2013-08-22  0:25   ` Sebastian Reichel
2013-08-22 17:19     ` Kyle McMartin
2013-08-22  6:34   ` Tony Lindgren
2013-08-22 14:00     ` Kyle McMartin
2013-08-26 14:20       ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130821194143.GE26531@redacted.bos.redhat.com \
    --to=kmcmarti@redhat.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).