try this patch
problem is solve into 3.2 kernel

Mickael

On 04/26/2012 02:41 PM, Dan Donahue wrote:
Greetings,

I successfully built and booted Linux 3.1 for the beaglebone (TI am335x) using 
the 4.5.2 toolchain. I rebuild the same
kernel using the same config with the 4.6.3 toolchain, but the board hangs at 
"Uncompressing Linux... done, booting the
kernel."

I halt the beaglebone at the U-Boot prompt and have it download and run uImage 
from an NFS mounted RFS.

The Linaro 4.5.2 toolchain was installed in my Ubuntu 11.04 distro using 
aptitude.

The Linaro 4.6.3 toolchain binaries, downloaded via Launchpad, were installed 
into my own tools directory.

*4.5.2 INFO:*

./gcc-linaro-arm-linux-gnueabi-2012.01-20120125_linux/bin/arm-linux-gnueabi-gcc 
--version arm-linux-gnueabi-gcc
(crosstool-NG linaro-1.13.1-2012.01-20120125 - Linaro GCC 2012.01) 4.6.3 
20120105 (prerelease) Copyright (C) 2011 Free
Software Foundation, Inc. This is free software; see the source for copying 
conditions. There is NO warranty; not even
for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Built with: *$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage*

*4.6.3 INFO:*

./bin/arm-linux-gnueabi-gcc --version arm-linux-gnueabi-gcc (crosstool-NG 
linaro-1.13.1-2012.01-20120125 - Linaro GCC
2012.01) 4.6.3 20120105 (prerelease) Copyright (C) 2011 Free Software 
Foundation, Inc. This is free software; see the
source for copying conditions. There is NO warranty; not even for 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Built with: *$ make ARCH=arm
CROSS_COMPILE=<mytoolsdir>/gcc-linaro-arm-linux-gnueabi-2012.01-20120125_linux/bin/arm-linux-gnueabi-
 uImage*

Could it have anything to do with my binutils and/or U-Boot version? Any 
debugging tips?

*U-Boot INFO:*

U-Boot# version

U-Boot 2011.09-00010-g81c8c79 (Feb 13 2012 - 14:48:03) 
arm-angstrom-linux-gnueabi-gcc (GCC) 4.5.4 20111126 (prerelease)
GNU ld (GNU Binutils) 2.20.1.20100303

Thanks for reading this far.


--- a/kernel/linux-arm/arch/arm/kernel/head.S
+++ b/kernel/linux-arm/arch/arm/kernel/head.S
@@ -356,7 +356,7 @@ __secondary_data:
  *  r13 = *virtual* address to jump to upon completion
  */
 __enable_mmu:
-#ifdef CONFIG_ALIGNMENT_TRAP
+#if defined(CONFIG_ALIGNMENT_TRAP) && __LINUX_ARM_ARCH__ < 6
 	orr	r0, r0, #CR_A
 #else
 	bic	r0, r0, #CR_A
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to