// I can not see edit button for the post so continue in comments.
2.2. Install ELDK. I did it this way:
Code:
# mount -o loop -t iso9660 arm-2008-11-24.iso /mnt/tmp
# adduser arm-eldk
# su arm-eldk
$ /mnt/tmp/install
$ echo '. $HOME/eldk_init arm' >> .bashrc
$ source $HOME/eldk_init arm
Now we can build test program with arm-linux-gcc
2.3. Configuring and building kernel.
Code:
$ make imx35_luigi_defconfig
$ make menuconfig
Device Drivers --->
Network device support --->[*]Network device support
<M> Universal TUN/TAP device driver support
$ sed -e 's/CONFIG_INITRAMFS_SOURCE=.*/CONFIG_INITRAMFS_SOURCE=""/' -i .config
$ make modules
Enjoy your own tun.ko at ./drivers/net!
Special thanks to