Hi,
I have the Juno board booting with the Linaro Linux rootfs and kernel version 3.10.52. I see an eth0 device inside of Linux, and from the boot messages, I see that it's trying to DHCP an address, but neither DHCP nor assigning a static IP to the interface brings up a working network. Prior to booting Linux, if I start the FTP server from the Cmd> prompt I do get an address and the FTP server starts, so I know that the network connection itself is good. Should the ethernet interface work inside of Linux?
I've also tried recompiling the kernel to enable USB networking, which kind of works. But the ASIX AX88772 drivers tend to crash the kernel after a short time. If I need to use a USB-> ethernet adapter, are there recommendations for adapters that are known to work well?
thanks,
JP
I would recommend running the latest binaries released as is and make sure network is working.
Then you can place your kernel and filesystems one by one to isolate the issue if the hardware
works fine with released binaries.
Regards,
Sudeep
Hi Sudeep,
Unfortunately, networking has never worked for me at the Linux level, even with the released binaries. I just unzipped the board recovery image (version 0.7.5) and I'm seeing the same results. Here is what I see from power-on:
ARM V2M-Juno Boot loader v1.0.0
HBI0262 build 596
ARM V2M_Juno Firmware v1.1.7
Build Date: May 27 2014
Time : 11:14:39
Date : 04:09:2014
Cmd> ftp_on
Enabling ftp server...
MAC address: 0002F70059CC
IP address: 192.168.2.5
Local host name = V2M-JUNO-A2
Cmd>
Note that I'm able to get an address on the management side. I can connect to 192.168.2.5 and it seems to work. After booting Linux though:
root@genericarmv8:~# ifup eth0
[ 24.013398] smsc911x 18000000.ethernet eth0: SMSC911x/921x identified at 0xffffff80000c0000, IRQ: 192
[ 24.022659] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.22.1) started
Sending discover...
No lease, forking to background
So Linux thinks that the link is down. Ethtool confirms this. This is after booting the default kernel:
root@genericarmv8:~# uname -a
Linux genericarmv8 3.15.0-rc8+ #1 SMP PREEMPT Tue Jun 10 15:38:49 BST 2014 aarch64 GNU/Linux
Ok, based on your logs I doubt if you are using the ethernet port on the back
of the board. Linux doesn't support that port, you need to use the one in the
front along with 2 USB ports.
You're absolutely right. I totally overlooked the ethernet port sitting right on the front of the box.