From: Sascha Hauer <s.hauer@pengutronix.de>
To: Vanalme Filip <F.Vanalme@TELEVIC.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: booting linux
Date: Wed, 2 Mar 2011 14:53:32 +0100 [thread overview]
Message-ID: <20110302135332.GB29521@pengutronix.de> (raw)
In-Reply-To: <6EE7D1502C48E44E92DCADF9DD3E0DB9017FF3B00F22@SRV-VS06.TELEVIC.COM>
On Wed, Mar 02, 2011 at 02:03:27PM +0100, Vanalme Filip wrote:
> > -----Original Message-----
> > From: Baruch Siach [mailto:baruch@tkos.co.il]
> > Sent: woensdag 2 maart 2011 11:46
> > To: Vanalme Filip
> > Cc: barebox@lists.infradead.org
> > Subject: Re: booting linux
> >
> > Hi Vanalme,
> >
> > On Wed, Mar 02, 2011 at 11:31:31AM +0100, Vanalme Filip wrote:
> >
> > [snip]
> >
> > > Then I do :
> > >
> > > barebox:/ bootz /dev/nand0.kernel.bb
> > > loaded zImage from /dev/nand0.kernel.bb with size 1777792
> > > commandline: console=ttymxc0,115200 ip=dhcp root=/dev/mtdblock7
> > rootfstype=jffs2
> > mtdparts=mxc_nand:256k(barebox)ro,128k(bareboxenv),5M(kernel),-(root)
> > > arch_number: 1802
> > > Uncompressing
> > Linux........................................................................................................................... done,
> > booting the kernel.
> >
> > If your kernel is recent enough (2.6.33 or newer) try the following:
> >
> > 1. Enable EARLY_PRINTK in your .config
> >
> > 2. Add "earlyprintk" to your bootargs
> >
> > 3. Boot the kernel
> >
> > Post here what you see.
>
> [Filip]
> Unfortunately, the kernel I use is version 2.6.22. But, no problem, I
> got a kernel 2.6.38 version from one of my colleagues (who is porting
> the kernel to our i.MX27PDK board). With EARLY_PRINTK enabled. First
> time I tried to start the kernel, I got a message that machine types
> of barebox and kernel did not match. In barebox, I'm using
> MACH_TYPE_IMX27, while kernel is using MACH_TYPE_IMX27_3DS
> (unfortunately, I did not capture the console output for that
> attempt...). So I changed barebox to use also MACH_TYPE_IMX27_3DS
> and............kernel boots ! It ends with a kernel panic, but it
> boots ! I don't know if the incompatible machine code could also have
> been the problem when I tried booting the 2.6.22. We will anyhow
> continue working on porting the 2.6.38 to our board, so I think it's
> no use to continue investigating the 2.6.22.
I guess the 2.6.22 kernel is a Freescale kernel. These need system_rev
to be set properly.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-03-02 13:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-02 10:31 Vanalme Filip
2011-03-02 10:45 ` Baruch Siach
2011-03-02 13:03 ` Vanalme Filip
2011-03-02 13:53 ` Sascha Hauer [this message]
2011-03-02 14:37 ` Vanalme Filip
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=20110302135332.GB29521@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=F.Vanalme@TELEVIC.com \
--cc=barebox@lists.infradead.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