Hello, I make zImage in Ubuntu(mini6410),but it appear error drivers/char/s3c_mem.c:36: fatal error: mach/map.h: No such file or directory compilation terminated. make[2]: *** [drivers/char/s3c_mem.o] Error 1 make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 Would you help me? Thanks.
make zImage error
I don't have DVD and mainline I check but not sure which defconfig you use? Mainline 2.6.37-rc3 you use?
I start with defconfig. 1. My PC installed Fedora 9(2.6.25-14.fc9.i686) 2. I build toolchain (arm-gcc-4.4.1-20100409) 3. I decompressed linux-2.6.28.6-ubuntu-20100917 by tar vzxf linux-2.6.28.6-ubuntu-20100917 cd linux-2.6.28.6-ubuntu make menuconfig(But I do not modify anything.) make zImage then it appeared error.
well possibly this is bad. You need to make make something_defconfig ARCH=arm; make ARCH=arm CROSS_COMPILE=<arm-linux-> or whatever is prefix for your compiler.
It appears that you are even setting up your compile environment (see the Linux_tutorial referred to below). Also, at the menuconfig stage load in alternative file <config_mini2440_xxx>, in your case <config_mini6410_xxx. xxx is the LCD configuration of your board, IE mine was n35 for the old 3.5" NEC LCD. Without changing anything while in menuconfig save as an alternative file by the name <.config> Compile using the Linux_tutorial on the Wiki. I recently up-dated it to reflect my current understanding of kernel compilation. I am assuming that the mini6410 is similar to the mini2440. Good luck
Scroll to the bottom of the main menu in menuconfig and you'll see that you can load an alternative file. And right below it, at the very bottom on this page, you will see where you can save the file.
just before 'make menuconfig' command do 'cp config_mini6410_a70 .config' and then do menuconfig if u still have to make more configuration changes