[PATCH 1/4] arm: mvebu: limit OpenBlocks AX3-4 to 1 GB of RAM

Gregory CLEMENT gregory.clement at free-electrons.com
Mon Jan 7 07:27:40 EST 2013


On 01/07/2013 12:34 PM, Andrew Lunn wrote:
>> Image is also with an initramfs + appended DTB. My boot command is:
>>
>> tftp 1000000 192.168.0.14:uImage.armada-xp-openblocks-ax3-4; bootm
>>
>> So I'm loading to a different address than you.
> 
> Hi Thomas
> 
> Uboot tells me:
> 
> DRAM:   3 GB
>        CS 0: base 0x00000000 size  1 GB
>        CS 2: base 0x40000000 size  1 GB
>        CS 3: base 0x80000000 size  1 GB
>        Addresses 14M - 0M are saved for the U-Boot usage.
> 
> 1000000 would be towards the beginning of this area reserved for uboot.
> 
> Could you try moving to somewhere outside of the first 14Mbytes and
> see if that helps.

I tried to load the kernel at the same address as you (0x80000000) and
it still hanged after 3 or 4 boots.

Now we have to be sure that we use the same .config and the same compiler.
My compiler is :
arm-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++
--prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.6.3 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-multilib --disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb
--disable-werror --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=arm-linux-gnueabi --program-prefix=arm-linux-gnueabi-
--includedir=/usr/arm-linux-gnueabi/include --with-headers=/usr/arm-linux-gnueabi/include --with-libs=/usr/arm-linux-gnueabi/lib
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)



> 
>     Thanks
> 	Andrew
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list