patching cvs mtd to linux 2.4.27-vsr1

mike mikelee at avantwave.com
Wed Dec 1 02:58:41 EST 2004


Dear all
    Thanks for helping
    I have some problem when patching cvs mtd to linux 2.4.27-vsr1. 
after i use the patches/patchin.sh -c -j /usr/src/linux. I compile 
kernel as usual practise. But i found that error below. 

arm-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.27-vrs1/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common 
-Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4  
-mshort-load-bytes -msoft-float -Uarm   -nostdinc -iwithprefix include 
-DKBUILD_BASENAME=chipreg   -c -o chipreg.o chipreg.c
In file included from chipreg.c:14:
*/usr/src/linux-2.4.27-vrs1/include/linux/mtd/map.h:127:2: #error "No 
bus width supported. What's the point?"

*I check that there is not define of the map_bankwidth on anywhere of 
the kernel source. Am i patch wrong kernel version?

Best regard
Mike,Lee




More information about the linux-mtd mailing list