[PATCH v2 2/5] tegra: switch to ARMv7 cpu type

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 8 09:32:03 EST 2013


Hi Antony,

On Fri, Mar 08, 2013 at 10:03:19AM +0400, Antony Pavlov wrote:
> Hi!
> 
> This commit breaks usb ethernet card on my board.
> 
> toshiba ac100> / usb
> USB: scanning bus for devices...
> Bus 001 Device 003: ID 0bdb:190a F3307
> Bus 001 Device 004: ID 0bda:58f2 USB Camera
> Bus 001 Device 005: ID 2001:3c05 DUB-E100
> mdio_bus: miibus0: probed
> eth0: got preset MAC address: 1C:7E:E5:0F:E1:14
> Bus 001 Device 002: ID 0424:2513
> Bus 001 Device 001: ID 0000:0000 EHCI Host Controller
> 5 USB Device(s) found
> toshiba ac100> / dhcp
> 100Mbps full duplex link detected
> dhcp failed: error 1
> dhcp: error 1
> toshiba ac100>

Could you try the following?

Sascha

diff --git a/arch/arm/include/asm/barebox-arm-head.h b/arch/arm/include/asm/barebox-arm-head.h
index 9d9b854..c631815 100644
--- a/arch/arm/include/asm/barebox-arm-head.h
+++ b/arch/arm/include/asm/barebox-arm-head.h
@@ -22,7 +22,7 @@ static inline void arm_cpu_lowlevel_init(void)
 
 #if __LINUX_ARM_ARCH__ >= 6
 	r |= CR_U;
-	r &= CR_A;
+	r &= ~CR_A;
 #else
 	r |= CR_A;
 #endif


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list