[U-Boot] Problem booting CRAMFS with flattened device tree
Pieter
phenning at vastech.co.za
Thu Feb 12 15:06:43 CET 2009
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
More information about the U-Boot
mailing list