When using the standard vybrid-multiplatform-linux-f+s-V0.1.tar.bz2 release, there are some issues with the ethernet access. Here is a patch for U-Boot that fixes these issues.
Diff
- diff --git a/board/F+S/armstonea5/armstonea5.c b/board/F+S/armstonea5/armstonea5.c
- index 9c1c557..47617e4 100644
- --- a/board/F+S/armstonea5/armstonea5.c
- +++ b/board/F+S/armstonea5/armstonea5.c
- @@ -331,7 +331,7 @@ int fecpin_setclear(struct eth_device *dev, int setclear)
- #ifndef CONFIG_FS_VYBRID_PLL_ETH
- __raw_writel(0x00203191, IOMUXC_PAD_000); /* RMII_CLK */
- #else
- - __raw_writel(0x001039c2, IOMUXC_PAD_000); /* RMII_CLKOUT */
- + __raw_writel(0x00101902, IOMUXC_PAD_000); /* RMII_CLKOUT */
- #endif
- if (setclear) {
- diff --git a/include/configs/armstonea5.h b/include/configs/armstonea5.h
- index 80d8215..9fb3e98 100644
- --- a/include/configs/armstonea5.h
- +++ b/include/configs/armstonea5.h
- @@ -300,7 +300,7 @@
- #endif
- #define CONFIG_EXTRA_ENV_SETTINGS \
- - "bootubi=setenv bootargs mem=256M console=ttymxc1,115200 $mtdparts rootfstype=ubifs ubi.mtd=TargetFS root=ubi0:rootfs ro init=linuxrc\0" \
- - "bootnfs=setenv bootargs mem=256M console=ttymxc1,115200 $mtdparts root=/dev/nfs rw nfsroot=$serverip:/rootfs ip=dhcp init=linuxrc\0"
- + "bootubi=setenv bootargs mem=256M console=ttymxc1,115200 $mtdparts rootfstype=ubifs ubi.mtd=TargetFS root=ubi0:rootfs ro init=linuxrc fec_mac=$ethaddr ip=dhcp\0" \
- + "bootnfs=setenv bootargs mem=256M console=ttymxc1,115200 $mtdparts root=/dev/nfs rw nfsroot=$serverip:/rootfs init=linuxrc fec_mac=$ethaddr ip=dhcp\0"
- #endif
Go into the top directory of the U-Boot source and enter
Then recompile U-Boot and update U-Boot on the board. You also should clean the U-Boot environment after having installed the new version because one of the changes is in the default environment.
After a restart, the new default environment will show up. It adds ethaddr to the boot arguments, so you might have to call
or
again.
Your F&S Support Team