linux-mips
[Top] [All Lists]

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

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

David Daney wrote:
> 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?

We and our customers do that as well but it's handy to have a single
RAM-based image to download during early development.

MArc

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

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