linux-mips
[Top] [All Lists]

Re: [PATCH 2/5] mips: PMC MSP71xx mips common

To: Marc St-Jean <Marc_St-Jean@pmc-sierra.com>
Subject: Re: [PATCH 2/5] mips: PMC MSP71xx mips common
From: David Daney <ddaney@avtrex.com>
Date: Fri, 23 Feb 2007 13:02:55 -0800
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>, linux-mips@linux-mips.org
In-reply-to: <45DF5438.1040706@pmc-sierra.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <45DF5438.1040706@pmc-sierra.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.9 (X11/20070212)
Marc St-Jean wrote:

Sergei Shtylyov wrote:
Hello.

Marc St-Jean wrote:

 > [PATCH 2/5] mips: PMC MSP71xx mips common

 > Patch to add mips common support for the PMC-Sierra
 > MSP71xx devices.

 > These 5 patches along with the previously posted serial patch
 > will boot the PMC-Sierra MSP7120 Residential Gateway board.

 > Signed-off-by: Marc St-Jean <Marc_St-Jean@pmc-sierra.com>

 > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
 > index 5da6b0d..d512389 100644
 > --- a/arch/mips/Kconfig
 > +++ b/arch/mips/Kconfig
[...]

 > +menu "Options for PMC-Sierra MSP chipsets"
 > +     depends on PMC_MSP
 > +
 > +config PMC_MSP_EMBEDDED_ROOTFS
 > +     bool "Root filesystem embedded in kernel image"
 > +     select MTD
 > +     select MTD_BLOCK
 > +     select MTD_PMC_MSP_RAMROOT
 > +     select MTD_RAM
 > +

    Hm, why not just use initramfs?

I investigated this as part of an earlier thread.  Initramfs
is not a read-only "ROM" fs but a compressed writable fs.
Once expanded it will take more memory.

To lower memory usage for embedded usage of our devices we've
added a method to embedded cramfs/squashfs file systems into
the kernel image.


Why not just run the cramfs/squashfs on a standard mdtblock device?

I've made sure it was unobtrusive and that no linker script
changes, etc. were required.



<Prev in Thread] Current Thread [Next in Thread>