From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pieter Date: Thu, 12 Feb 2009 16:06:43 +0200 Subject: [U-Boot] Problem booting CRAMFS with flattened device tree In-Reply-To: <4991910D.9040003@gmail.com> References: <4991910D.9040003@gmail.com> Message-ID: <49942CF3.8000500@vastech.co.za> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de hendrik wrote: > Greetings all, > > I have been able to port to U-boot 2009 successfully and am able to boot > Linux 2.6.27 via NFS using a flattened device tree. I am now stuck > trying to boot a CRAMFS version from flash (AMD nor). I found that > U-boot1.2 used a MTD map that is compiled for the board. Is this still > the way to mount and map the flash in U-Boot 2009? > > I have defined the flash partitions in the device tree source, but it > does not seem to get used. am I missing a step or a config setting? > to use partitions as define in FDT define the following in your kernel config CONFIG_MTD_PHYSMAP_OF=y CONFIG_MTD_PARTITIONS=y CONFIG_MTD_OF_PARTS=y enable MTD_CIF and read http://kernel.xc.net/html/linux-2.6.27/powerpc/ cheers pieter -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2722 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20090212/070d158f/attachment.bin