All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Mark Jackson <mpfj-list@mimc.co.uk>
Cc: "Bedia, Vaibhav" <vaibhav.bedia@ti.com>,
	"Menon, Nishanth" <nm@ti.com>, "Porter, Matt" <mporter@ti.com>,
	Paul Walmsley <paul@pwsan.com>,
	Richard Cochran <richardcochran@gmail.com>,
	"Hiremath, Vaibhav" <hvaibhav@ti.com>,
	Peter Korsgaard <jacmet@sunsite.dk>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	Kevin Hilman <khilman@deeprootsystems.com>
Subject: Re: OMAP baseline test results for v3.8-rc4
Date: Tue, 22 Jan 2013 10:23:32 -0800	[thread overview]
Message-ID: <20130122182331.GO22517@atomide.com> (raw)
In-Reply-To: <50FE9692.2090001@mimc.co.uk>

* Mark Jackson <mpfj-list@mimc.co.uk> [130122 05:46]:
> On 22/01/13 13:32, Bedia, Vaibhav wrote:
> 
> <snip>
> 
> > Following works for me:
> > 
> > Kernel
> > ===
> > git checkout next-20130122
> > make distclean
> > make omap2plus_defconfig
> > <Enable the appended DTB related options via menuconfig>
> > make -j7
> > cat arch/arm/boot/zImage arch/arm/boot/dts/am335x-bone.dtb > arch/arm/boot/zImage-dtb.am335x-bone
> > mkimage -A arm -O linux -C none -T kernel -a 0x80008000 -e 0x80008000 -n 'Linux' -d arch/arm/boot/zImage-dtb.am335x-bone arch/arm/boot/uImage-dtb.am335x-bone
> > 
> > U-Boot
> > ===
> > Built from v2013.01
> 
> <snip>
> 
> > A dumb question... in your case what's the bootargs set? Note that the mainline
> > kernel for AM335x doesn't have MMC support yet and the default bootargs is set to
> > rootfs on MMC.
> 
> Yes ... I'm trying to boot from a rootfs on MMC:-
> 
> Kernel command line: console=ttyO0,115200n8 earlyprintk debug root=/dev/mmcblk0p2 ro rootfstype=ext2
> rootwait
> 
> But I should get *something* from the kernel before it starts trying to access the rootfs ?

Here's something Kevin fixed but did not send it out before going to
a vacation. Can you give it a try with earlyprintk enabled?

Note that this does not help with no output early on, that sounds
like a bug configuring the DEBUG_LL port somewhere.

Regards,

Tony



From: Kevin Hilman <khilman@deeprootsystems.com>
Date: Tue, 15 Jan 2013 14:12:24 -0800
Subject: [PATCH] Fix omap_serial as module with debug_ll and earlyprintk

Otherwise we can race with the earlyconsole getting turned off
which can cause a non-booting system with earlyprintk enabled.

[tony@atomide.com: updated description]
Signed-off-by: Tony Lindgren <tony@atomide.com>

---

Kevin, can I add your Signed-off-by to this one?

--- a/arch/arm/mach-omap2/omap_device.c
+++ b/arch/arm/mach-omap2/omap_device.c
@@ -1298,4 +1298,4 @@ static int __init omap_device_late_init(void)
 	bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle);
 	return 0;
 }
-omap_late_initcall(omap_device_late_init);
+late_initcall_sync(omap_device_late_init);

WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: OMAP baseline test results for v3.8-rc4
Date: Tue, 22 Jan 2013 10:23:32 -0800	[thread overview]
Message-ID: <20130122182331.GO22517@atomide.com> (raw)
In-Reply-To: <50FE9692.2090001@mimc.co.uk>

* Mark Jackson <mpfj-list@mimc.co.uk> [130122 05:46]:
> On 22/01/13 13:32, Bedia, Vaibhav wrote:
> 
> <snip>
> 
> > Following works for me:
> > 
> > Kernel
> > ===
> > git checkout next-20130122
> > make distclean
> > make omap2plus_defconfig
> > <Enable the appended DTB related options via menuconfig>
> > make -j7
> > cat arch/arm/boot/zImage arch/arm/boot/dts/am335x-bone.dtb > arch/arm/boot/zImage-dtb.am335x-bone
> > mkimage -A arm -O linux -C none -T kernel -a 0x80008000 -e 0x80008000 -n 'Linux' -d arch/arm/boot/zImage-dtb.am335x-bone arch/arm/boot/uImage-dtb.am335x-bone
> > 
> > U-Boot
> > ===
> > Built from v2013.01
> 
> <snip>
> 
> > A dumb question... in your case what's the bootargs set? Note that the mainline
> > kernel for AM335x doesn't have MMC support yet and the default bootargs is set to
> > rootfs on MMC.
> 
> Yes ... I'm trying to boot from a rootfs on MMC:-
> 
> Kernel command line: console=ttyO0,115200n8 earlyprintk debug root=/dev/mmcblk0p2 ro rootfstype=ext2
> rootwait
> 
> But I should get *something* from the kernel before it starts trying to access the rootfs ?

Here's something Kevin fixed but did not send it out before going to
a vacation. Can you give it a try with earlyprintk enabled?

Note that this does not help with no output early on, that sounds
like a bug configuring the DEBUG_LL port somewhere.

Regards,

Tony



From: Kevin Hilman <khilman@deeprootsystems.com>
Date: Tue, 15 Jan 2013 14:12:24 -0800
Subject: [PATCH] Fix omap_serial as module with debug_ll and earlyprintk

Otherwise we can race with the earlyconsole getting turned off
which can cause a non-booting system with earlyprintk enabled.

[tony at atomide.com: updated description]
Signed-off-by: Tony Lindgren <tony@atomide.com>

---

Kevin, can I add your Signed-off-by to this one?

--- a/arch/arm/mach-omap2/omap_device.c
+++ b/arch/arm/mach-omap2/omap_device.c
@@ -1298,4 +1298,4 @@ static int __init omap_device_late_init(void)
 	bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle);
 	return 0;
 }
-omap_late_initcall(omap_device_late_init);
+late_initcall_sync(omap_device_late_init);

  reply	other threads:[~2013-01-22 18:23 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-20 21:38 OMAP baseline test results for v3.8-rc4 Paul Walmsley
2013-01-20 21:38 ` Paul Walmsley
2013-01-21 16:32 ` Mark Jackson
2013-01-21 16:32   ` Mark Jackson
2013-01-21 16:45   ` Nishanth Menon
2013-01-21 16:45     ` Nishanth Menon
2013-01-21 18:20     ` Richard Cochran
2013-01-21 18:20       ` Richard Cochran
     [not found]     ` <f36acfaf128c4844b8f696ea4440e253@DLEE74.ent.ti.com>
2013-01-21 18:24       ` Matt Porter
2013-01-21 18:24         ` Matt Porter
2013-01-21 18:34         ` Richard Cochran
2013-01-21 18:34           ` Richard Cochran
2013-01-21 20:36         ` Peter Korsgaard
2013-01-21 20:36           ` Peter Korsgaard
2013-01-22  2:24           ` Paul Walmsley
2013-01-22  2:24             ` Paul Walmsley
2013-01-22  8:55             ` Peter Korsgaard
2013-01-22  8:55               ` Peter Korsgaard
2013-01-22 13:02               ` Bedia, Vaibhav
2013-01-22 13:02                 ` Bedia, Vaibhav
2013-01-22  9:24             ` Jan Lübbe
2013-01-22  9:24               ` Jan Lübbe
2013-01-22  9:40               ` Peter Korsgaard
2013-01-22  9:40                 ` Peter Korsgaard
2013-01-22  9:52                 ` Russell King - ARM Linux
2013-01-22  9:52                   ` Russell King - ARM Linux
2013-01-22 12:19                   ` Peter Korsgaard
2013-01-22 12:19                     ` Peter Korsgaard
2013-01-25  8:23               ` Paul Walmsley
2013-01-25  8:23                 ` Paul Walmsley
2013-01-22 10:15             ` Mark Jackson
2013-01-22 10:15               ` Mark Jackson
2013-01-22 12:21               ` Peter Korsgaard
2013-01-22 12:21                 ` Peter Korsgaard
2013-01-22 13:45                 ` Mark Jackson
2013-01-22 13:45                   ` Mark Jackson
2013-01-22 13:32               ` Bedia, Vaibhav
2013-01-22 13:32                 ` Bedia, Vaibhav
2013-01-22 13:39                 ` Mark Jackson
2013-01-22 13:39                   ` Mark Jackson
2013-01-22 18:23                   ` Tony Lindgren [this message]
2013-01-22 18:23                     ` Tony Lindgren
2013-01-23 10:18                     ` Mark Jackson
2013-01-23 10:18                       ` Mark Jackson
2013-01-23 14:32                     ` Bedia, Vaibhav
2013-01-23 14:32                       ` Bedia, Vaibhav
2013-01-25 16:59                       ` Tony Lindgren
2013-01-25 16:59                         ` Tony Lindgren
2013-01-28 12:23                         ` Bedia, Vaibhav
2013-01-28 12:23                           ` Bedia, Vaibhav
2013-01-24 12:49             ` Bedia, Vaibhav
2013-01-24 12:49               ` Bedia, Vaibhav
2013-01-25  8:42               ` Paul Walmsley
2013-01-25  8:42                 ` Paul Walmsley
2013-02-06 22:00               ` Paul Walmsley
2013-02-06 22:00                 ` Paul Walmsley
2013-02-06 22:20                 ` Paul Walmsley
2013-02-06 22:20                   ` Paul Walmsley
2013-02-07 14:42                 ` Bedia, Vaibhav
2013-02-07 14:42                   ` Bedia, Vaibhav
     [not found] ` <49ca66a84bb245ca9cfe4fd044c4d6f6@DFLE72.ent.ti.com>
2013-01-21 17:10   ` Matt Porter
2013-01-21 17:10     ` Matt Porter
2013-01-21 20:36     ` Peter Korsgaard
2013-01-21 20:36       ` Peter Korsgaard

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=20130122182331.GO22517@atomide.com \
    --to=tony@atomide.com \
    --cc=hvaibhav@ti.com \
    --cc=jacmet@sunsite.dk \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mpfj-list@mimc.co.uk \
    --cc=mporter@ti.com \
    --cc=nm@ti.com \
    --cc=paul@pwsan.com \
    --cc=richardcochran@gmail.com \
    --cc=vaibhav.bedia@ti.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.