Guest mrmrmrmr Posted October 21, 2010 Report Posted October 21, 2010 Hi, I am trying to build tunnel driver (tun.ko) for Steve's Froyo build. It requires 2.6.32.9 kernel source and modules to be compiled with armv7. Also ".config" file from /proc/config.gz is required. However, no matter what I do , I can't compile as armv7. My config file includes "CONFIG_OPROFILE_ARMV7=y" but when I run make, it changes this option to "CONFIG_OPROFILE_ARMV6=y" How can I compile with armv7 ? What am Idoing wrong ? Thanks.
Guest Stephen Hyde Posted October 21, 2010 Report Posted October 21, 2010 oprofile isnt a requirement
Guest mrmrmrmr Posted October 21, 2010 Report Posted October 21, 2010 (edited) oprofile isnt a requirement but whatever I do I end up with a tun.ko filefor armv6. and it's not accepted by the kernel. How can I make for armv7 ? root@ubuntu:~/android-kernel# strings drivers/net/tun.ko alias=char-major-10-200 license=GPL author=(C) 1999-2004 Max Krasnyansky <[email protected]> description=Universal TUN/TAP device driver depends= vermagic=2.6.32.9-perf preempt mod_unload ARMv6 0x%x <3>RTNL: assertion failed at %s (%d) drivers/net/tun.c tun%d tap%d <3>Failed to create tun sysfs files <6>tun: %s, %s Universal TUN/TAP device driver <6>tun: %s (C) 1999-2004 Max Krasnyansky <[email protected]> <3>tun: Can't register link_ops <3>tun: Can't register misc device %d net/tun tun_flags owner group Edited October 21, 2010 by mrmrmrmr
Guest mrmrmrmr Posted October 21, 2010 Report Posted October 21, 2010 Tunnel driver (used for VPN connections) is compiled thanks to DJ_Steve. You can use this for Dell Streak Froyo build (tested on v1.0) just place "tun.ko" at /system/lib/modules and run the VPN application of your choice. I've tested it with "VPN Connections" for Cisco VPNC.tun_module_for_Dell_Streak_Froyo.zip
Guest dm.homelinux.com Posted December 22, 2010 Report Posted December 22, 2010 (edited) Tunnel driver (used for VPN connections) is compiled thanks to DJ_Steve. You can use this for Dell Streak Froyo build (tested on v1.0) just place "tun.ko" at /system/lib/modules and run the VPN application of your choice. I've tested it with "VPN Connections" for Cisco VPNC. Hi, I'm looking for a tun.ko for my Samsung GT-I5500 Froyo. Can you upload THIS tun.ko file please? vermagic=2.6.32.9-perf preempt mod_unload ARMv6 It must be just for kernel 2.6.32.9-perf and ARMv6, exactly like your output above. If I#m trying to load this modul an error occurs # insmod /system/lib/modules/tun.ko insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error) # dmesg |grep tun <6>[ 1.467749] IPv6 over IPv4 tunneling driver <3>[ 1092.896562] tun: version magic '2.6.32.9 mod_unload ARMv7 ' should be '2.6.32.9-perf preempt mod_unload ARMv6 ' Thanks a lot! Edited December 22, 2010 by dm.homelinux.com
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now