# Entry-Easy DigiEL-4.2 # ------------------------- Status: Alpha # ------------------------- ------------------- Download the entryeasy # install DigiEL-4.2 # --------------------- Install the DigiEL-4.2 development kit under your home directory: /home//Digi/DigiEL-4.2 # 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 # patch the DigiEL-4.2 kernel # ------------------------------ #copy the patch to cp ./DigiEL4.2/del-4.2-RevA_to_del-4.2-RevAPre0-w1-M25P128.patch ~/Digi/DigiEL-4.2/kernel/linux/ #patch the kernel cd ~/Digi/DigiEL-4.2//kernel/linux patch -p1 < del-4.2-RevA_to_del-4.2-RevAPre0-w1-M25P128.patch # add the project # ------------------- cd ~/Digi/DigiEL-4.2 mkdir workspace cd workspace mkdir entryeasy cd entryeasy ../../mkproject.sh --with-kernel --with-rootfs --enable-platform=cme9210js --tftp-dir=/tftpboot --nfs-dir=/exports/nfsroot-cme9210js mkdir build/coretemplate mkdir build/modules # install GPIO and INOTIFY support and the www folder # ------------------------------------------------------- cp -a src/* ~/Digi/DigiEL-4.2/workspace/entryeasy/build/coretemplate cp -a ~/Digi/DigiEL-4.2/modules/gpio ~/Digi/DigiEL-4.2/workspace/entryeasy/build/modules cp ./DigiEL4.2/DigiEL.sh ~/Digi/DigiEL-4.2/workspace/entryeasy/build/coretemplate/ cp ./DigiEL4.2/make_images.sh ~/Digi/DigiEL-4.2/workspace/entryeasy/build/coretemplate/ # copy the kernel config-w1 and build the system # -------------------------------------------------- cp DigiEL4.2/config-cme9210js ~/Digi/DigiEL-4.2/workspace/entryeasy/build/.config-cme9210js cd ~/Digi/DigiEL-4.2/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 ./DigiEL4.2/add_files.sh ~/Digi/DigiEL-4.2/workspace/entryeasy/configs/ cd ~/Digi/DigiEL-4.2/workspace/entryeasy/ make make install # generate extra Images # ------------------------- cd ~/Digi/DigiEL-4.2/workspace/entryeasy/build/coretemplate/ mkdir userfs mkdir images cp -a ./www ./userfs ./make_images.sh -r cp ~/Digi/DigiEL-4.2/workspace/entryeasy/build/coretemplate/images/userfs-cme9210js-64.jffs2 /exports/nfsroot-cme9210js/usr/share/ # prepare the Target # ----------------------------- # start minicom 38400N81 # uboot promt type: # Download Images to Target # ----------------------------- # start minicom 38400N81 # uboot promt type: update linux update rootfs # Download extra Images to Target # ----------------------------- # start minicom 38400N81 # uboot promt type: dboot linux tftp cd /usr/share update_flash userfs-cme9210js-64.jffs2 6 ############################# #todo: # #use only config-cme9210js and test it #patch the w1_timeout from 10 to 1 #documentation use cramfs instead sqashfs (to slow !!!) # #############################