
12 Feb
2009
12 Feb
'09
3:06 p.m.
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