diff mbox

[U-Boot] vexpress/armv8: Fix incorrect ethernet controller

Message ID 1389887260-16584-1-git-send-email-bhupesh.sharma@freescale.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Bhupesh Sharma Jan. 16, 2014, 3:47 p.m. UTC
This patch enables ethernet support in ARMv8 foundation model. The ARMv8
foundation model supports a SMSC91C111 integrated MAC and PHY module
which is present at base address 0x01A000000.

The previous implementation had enabled SMSC9115 ethernet controller
which is not present on the ARMv8 foundation model.

Tested on ARMv8 foundation model v1 and v2 by running ping/tftp
between the foundation model and the host PC via a bridged network.

Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
---
To test the ethernet functionality on a ARMv8 foundation model:

- Launch the model with BRIDGED networking option:
	--network=bridged

- This will create an ethernet interface (eth0) inside the model and
  an interface ARM0 on the Host PC.

- Assign appropriate IP addresses:
  	~ On Host:
		$ ifconfig ARM0 10.10.10.11
	~ On foundation model:
		VExpress# setenv ipaddr 10.10.10.10
		VExpress# setenv gatewayip 10.10.10.11
		VExpress# setenv serverip 10.10.10.11

- Now try out ping/tftp tests.

 include/configs/vexpress_aemv8a.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Tom Rini Jan. 17, 2014, 1:06 p.m. UTC | #1
On Thu, Jan 16, 2014 at 09:47:40AM -0600, Bhupesh Sharma wrote:

> This patch enables ethernet support in ARMv8 foundation model. The ARMv8
> foundation model supports a SMSC91C111 integrated MAC and PHY module
> which is present at base address 0x01A000000.
> 
> The previous implementation had enabled SMSC9115 ethernet controller
> which is not present on the ARMv8 foundation model.
> 
> Tested on ARMv8 foundation model v1 and v2 by running ping/tftp
> between the foundation model and the host PC via a bridged network.
> 
> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index ce5f384..e851702 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -102,9 +102,9 @@ 
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128 * 1024)
 
-/* SMSC9115 Ethernet from SMSC9118 family */
-#define CONFIG_SMC9111			1
-#define CONFIG_SMC9111_BASE		(0x1a000000)
+/* SMSC91C111 Ethernet Configuration */
+#define CONFIG_SMC91111			1
+#define CONFIG_SMC91111_BASE		(0x01A000000)
 
 /* PL011 Serial Configuration */
 #define CONFIG_PL011_SERIAL