CONFIG_PROVE_LOCKING broken on 83xx (and all of powerpc?)

Timur Tabi timur at
Fri Sep 10 06:36:31 EST 2010

Ira W. Snyder wrote:
> That did it!


> I'm using include/configs/MPC8349EMDS.h. On that board,
> CONFIG_SYS_BOOTMAPSZ is 8MB. Boosting it to 16MB fixed the problem and
> the kernel now boots.

Ah, yes.  I believe the reason that is the case is because some of those
boards were shipped with only 8MB of RAM.

> I'll make a post to the U-Boot list asking if this should be boosted for
> MPC8349EMDS (and others?). It is easy to build a kernel that overruns
> this limit. Other than debugging options, my kernel is fairly minimal,
> only a few drivers are built in.

I think we should first determine if the kernel boot map limit really is
16MB.  If it's more than that, then we should consider making it match.
Assuming, of course, that the U-Boot code can handle a situation where
CONFIG_SYS_BOOTMAPSZ is larger than the actual amount of RAM.

> I'm using your always-relocate-fdt patch. Your patch made no difference
> to the FDT location. U-Boot with and without your patch bo

My patch only does something if the FDT is already located inside the boot
map.  Since you were expanding the size of the boot map, there's a chance
that the FDT was located between 8MB and 16MB, and if so, my patch would
have made a difference.

Timur Tabi
Linux kernel developer at Freescale

More information about the Linuxppc-dev mailing list