linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Dorin D <dorin1234@outlook.com>
Cc: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: Linux 2.6.32 PowerPC MTD partition mounted at boot
Date: Tue, 8 Oct 2013 16:47:30 -0500	[thread overview]
Message-ID: <1381268850.7979.279.camel@snotra.buserror.net> (raw)
In-Reply-To: <BAY176-W43D0B5AD1BD2454470D8AFA6210@phx.gbl>

On Wed, 2013-09-18 at 22:43 -0400, Dorin D wrote:
> I am working on bringing up two Linux systems, both based on Freescale
> PowerPC devices, one is a MPC8349, the other a P1020. I was able to
> build, install and boot the kernel on both cards. The kernel is 2.6.32
> and the  toolchains  are coming from the LTIBs packages from
> Freescale. 
> 
> Both cards have a 32 MByte NOR flash memory (AMD) boot flash. I have
> Uboot, kernel, RAM disk image and DTB in the boot flash and I want to
> use the spare space (about 20 MBytes) as flash file system. 
> 
> I have the following problem : the P1020 board boots fine using the
> RAM disk with the flash in the device tree , shows the flash device
> partitions (JFFS2) and DOESN"T try to mount a flash partition as root.
> The MPC8349 boots fine from the RAM disk but, after identifying the
> flash partitions, the kernel panics because is looking for a flash
> partition to mount as root partition and none of them is usable (not
> formatted). If I remove the flash from the device tree, the card boots
> fine using the RAM disk.
> 
> 
> I am not too familiar with Linux boot scripts and I didn't figure out
> where I can disable this tentative of mounting the MTD partition. I
> want the boards to boot and mount the RAM disk, as the P1020 board
> does. The flash partition will be initialized and mounted at a later
> time, but not as root partition.

Compare the kernel command line and kernel config for the two boards;
there's probably a relevant difference there (especially with the
"root=" parameter).

-Scott

      reply	other threads:[~2013-10-08 21:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-19  2:43 Linux 2.6.32 PowerPC MTD partition mounted at boot Dorin D
2013-10-08 21:47 ` Scott Wood [this message]

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=1381268850.7979.279.camel@snotra.buserror.net \
    --to=scottwood@freescale.com \
    --cc=dorin1234@outlook.com \
    --cc=linuxppc-dev@lists.ozlabs.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).