[PATCH v5] arm: Add basic support for new Marvell Armada 370 and Armada XP SoC

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 2 05:26:52 EDT 2012


Le Mon, 02 Jul 2012 10:25:45 +0100,
Ben Dooks <ben.dooks at codethink.co.uk> a écrit :

> Ah, thank you. I had it updating the dtb with the ATAGS before
> parsing the device tree in my previous setup.
> 
> Anyone looking into fixing the problem where it goes bang without
> a useful error message if there has been no memory registered?

Well, to some extent, the message:

Kernel panic - not syncing: ERROR: Failed to allocate 0x1000 bytes below 0x0.

is a quite good indication that a memory allocation "below 0x0" is
failing, which so early in this boot, most likely means that you don't
have memory at all :-)

But yes, maybe there could be a more useful check at some point in the
boot process.

Regards,

Thomas
-- 
Thomas Petazzoni, 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