On Mon, 2 Mar 2009, Rogério Brito wrote: > Hi there. > > I tried to compile a new kernel for my (powerpc) Kurobox HD (an embedded > system that has a Freescale processor), but it seems that the > compilation fails, with both my usual config file and with the shipped > linkstation_defconfig file. > > I get the following error during compilation (actually a > cross-compilation): > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > arch/powerpc/platforms/built-in.o: In function `linkstation_setup_arch': > linkstation.c:(.init.text+0x218): undefined reference to > `physmap_set_partitions' > drivers/built-in.o:(__ksymtab+0x9f8): undefined reference to > `physmap_set_partitions' > make: *** [.tmp_vmlinux1] Error 1 > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Yes, linkstation and storcenter have to migrate to the "physmap-flash" platform driver. For now you can define in your .config CONFIG_MTD_PHYSMAP=y CONFIG_MTD_PHYSMAP_COMPAT=y CONFIG_MTD_PHYSMAP_START=0xffc00000 CONFIG_MTD_PHYSMAP_LEN=0x400000 CONFIG_MTD_PHYSMAP_BANKWIDTH=1 (I hope the numbers are correct, just found them in my local tree, don't remember any more what exactly they configure, please, double-check.) And yes, it must be fixed in the mainline. I'll see if I find time for this, maybe tomorrow (actually, already today.) Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev