All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pieter <phenning@vastech.co.za>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem booting CRAMFS with flattened device tree
Date: Thu, 12 Feb 2009 16:06:43 +0200	[thread overview]
Message-ID: <49942CF3.8000500@vastech.co.za> (raw)
In-Reply-To: <4991910D.9040003@gmail.com>



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?
>   
<snip>

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 

      reply	other threads:[~2009-02-12 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-10 14:37 [U-Boot] Problem booting CRAMFS with flattened device tree hendrik
2009-02-12 14:06 ` Pieter [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=49942CF3.8000500@vastech.co.za \
    --to=phenning@vastech.co.za \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.