hi to every body can anybody help, i decided to install debian on mini2440, i know this is possible (i saw some videos in youtube :) ) i read the last forum about this topic but there wasnt found a solution for this. i have been looking some information about this and i found this link: http://code.google.com/p/mini2440/wiki/Emdebian im just a beginner and i need to make this instalation on mini2440 im working in ubuntu 9.10 i wrote this line: /opt/debian-armel% sudo debootstrap --arch=armel --foreign lenny grip/ http://www.emdebian.org/grip/ (following the instrutions) but appearsme this problem: bash: /opt/debian-armel% no existe el fichero o el directio i make de folder but then: bash: /opt/debian-armel% : es un directorio. do i need to install debian on my pc to make this?? help me please!! thanks!!
anyone knowns how to install debian on mini2440
The command is: sudo debootstrap --arch=armel --foreign lenny grip/ http://www.emdebian.org/grip/
Thanks friend it works, im going to continue with the tuto :) did you can install debian in mini2440?
hi again im having some problems making the compress files, i go to grip folder then i do the comand of that link: tar jcf ../emdebian-grip-090306-armel-debootstrap-lenny.tar.bz2 exactly like i copied ido: felipe@felipe-desktop:~/grip$ tar jcf ../emdebian-grip-090306-armel-debootstrap-lenny.tar.bz2 but then this mistake appearsme: tar: Rechazo cobarde a crear un archivo vacío do i make a empty folder? what do i doing wrong help me please! apologies my simple mistakes, im sorry but i just start with this topic. thanks
felipe@felipe-desktop:~/grip$ tar jcf../emdebian-grip-090306-armel-debootstrap-lenny.tar.bz2. tar: La opción antigua `f' requiere un argumento Intente`tar --help' o `tar --usage' para mayor información. felipe@felipe-desktop:~/grip$ tar jcf ../emdebian-grip-090306-armel-debootstrap-lenny.tar.bz2. tar: Rechazo cobarde a crear un archivo vacío Intente`tar --help' o `tar --usage' para mayor información. its happening the same mistake with or without the " . " i find where to download this package: http://code.google.com/p/mini2440/downloads/list i think it wont be a problem, what do you think if i you this package? emdebian-grip-090306-armel-lenny-installed.tar.bz2
thanks friend it was i inicially thought it was something like this :) ;) for this reason i dont see the "." thanks friend
following the guide i stuck to "Kernel and Modules install"! I tried : byte@mephit:/usr/src/linux-headers-2.6.31-20$ sudo make menuconfig INSTALL_MOD_PATH=/mnt/arm modules_install *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** make[2]: *** [scripts/kconfig/dochecklxdialog] Error 1 make[1]: *** [menuconfig] Error 2 make: *** [menuconfig] Error 2 But it didn't work as seen. I have the aem debian DVD but it has only deb files! What should I do to compile a kernel (with gpio support if it is possible).
Thank you davef it actual solved the problem. I also had to run "sudo make config INSTALL_MOD_PATH=/mnt/arm modules_install" first. But it tries to configure the kernel for x86. How do I compile it for arm? I also downloaded the full version of the kernen from: http://www.kernel.org/ can I use it with debian or I will have problems?
For the kernel i recommand you take the one from buserror (or the LCD and some minor stuff will not work - not everything buserror did is include in the last official kernel) : Fetch from git : mkdir kernel ; cd kernel git clone git://repo.or.cz/linux-2.6/mini2440.git cd mini2440 mkdir -p ../kernel-bin Generate .config from mini2440 template: CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm make O=../kernel-bin/ mini2440_defconfig Compile kernel and modules: CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm make O=../kernel-bin/ follow this tutorial for u-boot and kernel : http://wiki.linuxmce.org/index.php/Mini2440 hope it helps. PS : for git, by memory : apt-get install gitcore
hi its me again, jejeje i did well in Partition SD card but im having some troubles Creating new filesystems this is what happened me: felipe@felipe-desktop:~$ sudo mkfs.vfat /dev/sdd1 mkfs.vfat 3.0.3 (18 May 2009) mkfs.vfat: /dev/sdd1 contains a mounted file system. felipe@felipe-desktop:~$ sudo mkfs.ext3 /dev/sdd2 mke2fs 1.41.9 (22-Aug-2009) No se puede poner /dev/sdd2 --- No existe el fichero ó directorio En apariencia, el dispositivo no existe; ¿Se especificó correctamente? what can i do??
hi now im having some troubles in:Installing debootstrap when i execute: root@felipe-desktop:/mnt/arm# tar jxf /home/felipe/emdebian-grip-090306-armel-debootstrap-lenny.tar.bz2 i did it in /home/felipe/ because its in this folder where i have the emdebian-grip this messeage apears tar: ./boot: No se puede cambiar el propietario a uid 0, gid 0: Operación no permitida tar: Saliendo con fallos debido a errores anteriores i did it as a route but it happens the same, can anybody help? is it a normal mistake?
hi again i could solve it by myself the solution is to format the sd in ext3 now i am in : Kernel and Modules install im getting a kernel following the instrutions of this page: http://wiki.linuxmce.org/index.php/Mini2440 Compilation Fetch from git: mkdir kernel ; cd kernel git clone git://repo.or.cz/linux-2.6/mini2440.git cd mini2440 mkdir -p ../kernel-bin Generate .config from mini2440 template: CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm make O=../kernel-bin/ mini2440_defconfig Compile kernel and modules: CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm make O=../kernel-bin/ Generate "uImage" with the "mkimage" tool: ../uboot/mini2440/tools/mkimage -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008000 -d ../kernel-bin/arch/arm/boot/zImage /tftpboot/uImage but i have a doubt if i have to do this step too: Flash kernel Verify partitions, we need the offset for the kernel partition (probably 0x60000): mtdparts Erase the kernel partition: nand erase 60000 <padded size> Load the kernel with uboot into ram: tftp 0x32000000 uImage Note the size, pad it to 512 byte and use the nand write command to flash it: nand write 32000000 60000 <padded size>. can anybody answer my questions!!!
i have this doubt too in finish preparation i dont understand this step: root@yap:/mnt/arm# cp /tftpboot/uImage boot/ this folder i should make it but myself executing mkdir tftpboot and later uImage ?? or what should i do??
The folder /tftpboot is the root folder for your tftp server. If you run ubuntu see this: http://www.davidsudjiman.info/2006/03/27/installing-and-setting-tftpd-in... I am not sure either why do I have to flash the kernel when I want to ran debian from the sd. I also don't know how to add gpio support to the kernel and add sys/gpio filles.
yes my host machine is ubuntu, so do i need to install tftp server on it first to continue with the emdebian installing?? im doing this step mkdir kernel ; cd kernel where do i make this folder? is it on? /mnt/arm git clone git://repo.or.cz/linux-2.6/mini2440.git but when it finish throw me this mistake: Initialized empty Git repository in /mnt/arm/kernel/mini2440/.git/ remote: Counting objects: 1378064, done. remote: Compressing objects: 100% (223183/223183), done. fatal: pack has bad object at offset 340844557: inflate returned 1 fatal: index-pack failed the kernel who is on cds when i bought the mini2440 doesnt work?
I believe you have to create this in a folder of your choice. you ran git clone git://repo.or.cz/linux-2.6/mini2440.git and you compile the kernel.
hi to every body, look i made a kernel folder in my home directory and made the instruccion once again: git clone git://repo.or.cz/linux-2.6/mini2440.git but this time this was what appearsme: remote: Counting objects: 1378064, done. remote: Compressing objects: 100% (223183/223183), done. remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack failed the source its corrupted? where can dowload the kernel then? help me please!!
hi again at least i could execute the last instrution but now im in the final step of the kernel compilation. Generate "uImage" with the "mkimage" tool: ../uboot/mini2440/tools/mkimage -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008000 -d ../kernel-bin/arch/arm/boot/zImage /tftpboot/uImage when i copy that appearsme this message: bash: ../uboot/mini2440/tools/mkimage: No existe el fichero ó directorio do i have to create that folder by myself? do i have to flash the kernel? or can i continues with Kernel and Modules install??
Are you sure mkimage is in the tools folder? I had to download it separately, at one time in the past, when I got the same error message. David, There was a comment on buserror's site about having to do something with the kernel repository. Maybe, he mentioned it on the GoogleCode page he set up.
i dont even have the uboot folder, i looked for that folder inside kernel directory (the one i created following the first instrution) for that reason it makes me strange that i have to make the folder by myself.isnt it suppose to be create on kernel folder after following the last steps? cant you send me the link you saw or what should i do?
http://www.thaiembedded.net/forum/index.php?topic=9.0 this link have debian kernel and file system. http://www.thaiembedded.net/forum/index.php?topic=6.0 this link have suggestion to install this kernel and filesystem. all link is thai language. You must be use google translation. thx X