From: Ian Campbell Date: Sun, 08 Jan 2012 15:30:04 +0000 Subject: [U-Boot] v2011.12 and later do not boot on dreamplug. Message-ID: <1326036604.29084.63.camel@dagon.hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de v2011.12 hangs on boot on my dreamplug with: U-Boot 2011.12-dirty (Jan 08 2012 - 15:16:44) Marvell-DreamPlug SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled I bisected it down to: commit ca4b55800ed74207c35271bf7335a092d4955416 Author: Heiko Schocher Date: Wed Nov 9 20:06:23 2011 +0000 arm, arm926ejs: always do cpu critical inits always do the cpu critical inits in cpu_init_crit, and only jump to lowlevel_init, if CONFIG_SKIP_LOWLEVEL_INIT is not defined. Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD Cc: Wolfgang Denk Cc: Sandeep Paulraj Cc: Tom Rini Cc: Christian Riesch and in particular the line orr r0, r0, #0x00000002 /* set bit 2 (A) Align */ Commenting out just that one line causes things to work. Is the error setting this bit or is it that there is a bug somewhere else which prevents us setting this bit? A different approach to the original patch was suggested in http://lists.denx.de/pipermail/u-boot/2011-December/112353.html and I suppose that combined with s/CONFIG_SKIP_LOWLEVEL_INIT/CONFIG_SKIP_CPU_INIT_CRIT/g in the relevant config files (at least include/configs/dreamplug.h, but perhaps everywhere except whichever platform caused this change?) would fix things. Thanks, Ian. -- Ian Campbell Q: How do you play religious roulette? A: You stand around in a circle and blaspheme and see who gets struck by lightning first.