From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bryan Wu" Subject: Re: initramfs size limitation Date: Mon, 2 Jun 2008 08:42:25 +0800 Message-ID: <386072610806011742i5a460377m9416dbea89ced166@mail.gmail.com> References: <4841481E.8090406@cox.net> <200806011903.47135.rob@landley.net> <8bd0f97a0806011725u3dc70e2cy1b317b2b6564f5c8@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=LtbbdiNxizg6lsGnhoCcjqcVHlfwtvbm3McgmU+5ctc=; b=QQGhFuApYbvLcm3gDImkXexw3zjjdrD9fGAPZj60zqd9c+rMGiZcZzJw36UvJTSVRrU63Bby3cJwht8yg83+WUCsq43yCt17nM9Iq94h1EKObCRNCcfIpMhLASgFPbgK51Wf89bpQIqibiePjoqwsbCJ3ykfZ+obogCBqeHQ0po= In-Reply-To: <8bd0f97a0806011725u3dc70e2cy1b317b2b6564f5c8@mail.gmail.com> Content-Disposition: inline Sender: linux-embedded-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Mike Frysinger Cc: Rob Landley , pwilshire@cox.net, linux-embedded@vger.kernel.org On Mon, Jun 2, 2008 at 8:25 AM, Mike Frysinger wrote: > On Sun, Jun 1, 2008 at 8:03 PM, Rob Landley wrote: >> On Saturday 31 May 2008 07:44:14 Phil Wilshire wrote: >>> I hope this is the right place and the right sort of question. >>> >>> I work closely with the Blackfin systems and they have now integrated >>> the initramfs generation into their system build. The result is great >>> the root fs is ready to run from the page cache. >> >> Is it possible to get blackfin working with a vanilla gcc release yet, or do >> you still need out-of-tree patches? (I have a blackfin board I got at OLS, >> but it needs a toolchain I can't reproduce.) > > there's plenty of usable binaries available > >> fact it would be really nice if qemu grew blackfin support because messing > > i imagine it would be ... too bad qemu lacks real documentation > >>> There is one problem that I can see that may be more serious for >>> embedded users. >>> As far as I can tell the initramfs filesystem is not restricted in size. >>> You can keep writing files until it uses all available memory. >> >> Yup. There have intermittently been patches to make rootfs be tmpfs instead >> of ramfs, the most recent of which I remember was: >> http://lkml.org/lkml/2007/7/13/354 > > it wouldnt matter. tmpfs on NOMMU doesnt support any of the options > like MMU. look at mm/tiny-shmem.c and init/Kconfig. > -mike > -- Right, I still got one bug related to tmpfs/ramfs on NOMMU. That is the fcntl/cease problem. Some LTP testcases still fail because of this. -Bryan