Guide to compile the kernel for mini2440

Andre
this is a guide for beginners who don't want to read and want to know how
to compile the kernel for the mini2440

http://www.youtube.com/watch?v=OzrxEIAHdxo

YASIR ATEEQ
hi ,@Andre please share the kernel guide pdf file which u show in video .

thanks in advance

Andre
is posted under the video:

Compile the kernel with GPIO/SPI driver

sudo apt-get install gcc make binutils ncurses­-dev perl uboot-mkimage

Download tool:
http://friendlyarm.net/dl.php?file=arm-linux-gcc-4.4.3.tgz
cd Download
sudo tar xvzf arm-linux-gcc-4.4.3.tgz -C/

Set patht on the .bashrc
cd
gedit .bashrc
PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin

Download kernel files
http://friendlyarm.net/dl.php?file=linux-2.6.32.2-mini2440_20110413.tgz
create mini2440 folder
extract kernel files there

cp config_mini2440_t35 .config
make menuconfig
check GPIO control
make zImage

the location of the zImage is:
linux-2.6.32.2/arch/arm/boot

raja
hi @andre.. this video was very helpful.. thank u very much...
can u please share the video of how to port this customised zImage on to
the mini2440 board.. or if u already have plz share the link...

Dima
No No No

dima@dima-VirtualBox:~$ sudo apt-get install gcc make binutils ncurses­-dev
perl uboot-mkimage
[sudo] password for dima: 
Чтение
списков
пакетов…
Готово
Построение
дерева
зависим&am
p;#1086;стей
      
Чтение
информации
о состоянии…
Готово
Пакет uboot-mkimage
недоступен,
но упомянут
в списке
зависим&am
p;#1086;стей
другого
пакета.
Это может
означать,
что пакет
отсутствует,
устарел, или
доступен из
источников,
не
упомянутых
в sources.list
Однако
следующие
пакеты
могут его
заменить:
  u-boot-tools:i386 u-boot-tools

E: Не удалось
найти пакет
ncurses­-dev
E: Для пакета
«uboot-mkimage» не найден
кандидат на
установку
dima@dima-VirtualBox:~$

Dima
correct
sudo apt-get install gcc make binutils ncurses­-dev perl u-boot-tools

vinay
i got this error while make zimage, please suggest me


@rd7:~/Documents/linux-2.6.32.2$ make zImage
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
ERROR: include/asm is a directory but a symlink was expected
make: *** [include/asm] Error 1