Hi all, after solving my problem on compiling kernel for mini2440: http://www.friendlyarm.net/forum/topic/2430 I have a new problem, this time with network, that makes my board rebooting. This is whats happening: ====================================================================== If i use this: (uboot): setenv bootargs console=ttySAC0,115200 mini2440=1tb rootfstype=ext3 root=/dev/mmcblk0p2 rw rootwait (/etc/network/interfaces): auto eth0 iface eth0 inet dhcp WITHOUT NETWORK CABLE PLUGGED IN: Output: Setting up networking.... Configuring network interfaces...Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ eth0: link down Listening on LPF/eth0/08:08:11:18:12:27 Sending on LPF/eth0/08:08:11:18:12:27 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 No DHCPOFFERS received. No working leases in persistent database - sleeping. WITH NETWORK CABLE PLUGGED IN: Output: Setting up networking.... Configuring network interfaces...Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ eth0: link down Listening on LPF/eth0/08:08:11:18:12:27 Sending on LPF/eth0/08:08:11:18:12:27 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 (RESET) U-Boot 1.3.2-mini2440 (Feb 24 2010 - 13:04:49) ..... (continues the reset) ====================================================================== Now if i use this: (uboot) setenv bootargs console=ttySAC0,115200 mini2440=1tb rootfstype=ext3 root=/dev/mmcblk0p2 ip=dhcp rw rootwait (interfaces same as before) WITHOUT NETWORK CABLE PLUGGED IN: Output: Setting up networking.... Configuring network interfaces...Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ eth0: link down Listening on LPF/eth0/08:08:11:18:12:27 Sending on LPF/eth0/08:08:11:18:12:27 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 No DHCPOFFERS received. No working leases in persistent database - sleeping. (as obviusly, cause of no cable) WITH NETWORK CABLE PLUGGED IN: Output: eth0: link down Sending DHCP requests . eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 ., OK IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.162.8.192 IP-Config: Complete: device=eth0, addr=10.162.8.192, mask=255.255.252.0, gw=255.255.255.255, host=10.162.8.192, domain=prointec.es, nis-domain=(none), bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath= kjournald starting. Commit interval 5 seconds EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS on mmcblk0p2, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with writeback data mode. VFS: Mounted root (ext3 filesystem) on device 179:2. Freeing init memory: 132K INIT: version 2.86 booting .udev/ already exists on the static /dev! (warning). Starting the hotplug events dispatcher: udevd. Synthesizing the initial hotplug events... (RESET) U-Boot 1.3.2-mini2440 (Feb 24 2010 - 13:04:49) ..... (continues the reset) =================================================================== The ip range offered its correct and also the domain. However it always reboot. I also tried with a static ip in the interfaces file, and boots up, but on the end of boot it restarts again (i tried doing ping from windows while this process, and did it for 1-2 seconds, then boot up) Maybe its a problem with MAC? it has the default one wrapped in the uboot binary. (MAC: 08:08:11:18:12:27) Maybe its wrong? I also looked at CONFIG_PACKET to be set up (CONFIG_PACKET=y). I also looked for CONFIG_FILTER but not found (somewhere i read about this, but i wanna ask you before recompile the kernel again...) Any ideas on this? Thanks in advance Regards Omar
Mini2440 reboots when network cable plugged in
Hello, This problem occurs when the power adaptor can`t supply the sufficient current to mantain the board on. When do you put the ethernet cable and the kernel up your net, the consumption of the board increase significantly. Change you power supply and everything will be alright
Dear All Trouble Shooters, I am impressed with the kind of path you have shown to Embsys. I have successfully installed PPP on mini2440 and connected to PPP server and thus internet. But when I run openvpn over ppp-network iam getting the following error, TLS negotiation failed to occure within 60 secs (check network connectivity) But, I am able to establish connection between openvpn server and client with normal TCP/IP connection. Can any one help me in this regard. With Best Regards, Nikhil N.D.