# Entry-Easy DigiEL-5.0 # ------------------------- Status: Experimental # ------------------------- Download the entryeasy # install DigiEL-5.0 # --------------------- Install the DigiEL-5.0 development kit under your home directory: /home//Digi/DigiEL-5.0 # Install tools aptitude install minicom aptitude install rsync aptitude install tftpd mkdir /tftpboot chmod 1777 /tftpboot # edit inetd.conf cat /etc/inetd.conf --- snip --- tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot --- snip --- aptitude install nfs-kernel-server mkdir /exports chmod 777 /tftpboot nano /etc/exports --------- add --------- /exports 192.168.3.0/24(rw,all_squash,anonuid=1000,anongid=1000,async) ----------------------- # restart nfs /etc/init.d/nfs-kernel-server restart # add the project # ------------------- cd ~/Digi/DigiEL-5.0 mkdir workspace cd workspace mkdir entryeasy cd entryeasy ../../mkproject.sh --with-kernel --with-modules --with-rootfs --enable-platform=cme9210js --tftp-dir=/tftpboot --nfs-dir=/exports/nfsroot-cme9210js mkdir build/coretemplate # install GPIO and INOTIFY support and the www folder # ------------------------------------------------------- cp -a ./DigiEL-5.0/src/* ~/Digi/DigiEL-5.0/workspace/entryeasy/build/coretemplate cp ./DigiEL-5.0/DigiEL.sh ~/Digi/DigiEL-5.0/workspace/entryeasy/build/coretemplate/ cp ./DigiEL-5.0/make_images.sh ~/Digi/DigiEL-5.0/workspace/entryeasy/build/coretemplate/ # edit the kernel w1 interface w1_timeout from 10 to 1# -------------------------------------------------- nano ~/Digi/DigiEL-5.0/kernel/linux/drivers/w1/w1.c -- snip -- MODULE_DESCRIPTION("Driver for 1-wire Dallas network protocol."); //static int w1_timeout = 10; static int w1_timeout = 1; -- snip -- # copy the kernel config and build the system # -------------------------------------------------- cp DigiEL-5.0/config-cme9210js ~/Digi/DigiEL-5.0/workspace/entryeasy/build/.config-cme9210js cd ~/Digi/DigiEL-5.0/workspace/entryeasy make make install # install WISL # ---------------- #downlod wisl to your home directory wget http://www.the-develop.net/wisl/wisl.1.0pre4.tgz #and install it # generate Images # ------------------- cp ./DigiEL-5.0/add_files.sh ~/Digi/DigiEL-5.0/workspace/entryeasy/configs/ cd ~/Digi/DigiEL-5.0/workspace/entryeasy/ make make install # generate extra Images # ------------------------- cd ~/Digi/DigiEL-5.0/workspace/entryeasy/build/coretemplate/ mkdir userfs mkdir images cp -a ./www ./userfs ./make_images.sh -r cp ~/Digi/DigiEL-5.0/workspace/entryeasy/build/coretemplate/images/userfs-cme9210js-64.jffs2 /exports/nfsroot-cme9210js/usr/share/ cp ~/Digi/DigiEL-5.0/workspace/entryeasy/build/coretemplate/images/userfs-cme9210js-64.jffs2 /tftpboot # Download Images to Target # ----------------------------- # start minicom 38400N81 # uboot promt type: update linux update rootfs update userfs ############################# #todo: # #documentation use cramfs instead sqashfs (to slow !!!) # #############################