[PATCH] ARM: avoid SMP DT initialisation on UP-only capable systems
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Nov 25 04:56:34 PST 2015
On Wed, Nov 25, 2015 at 01:50:31PM +0100, Lucas Stach wrote:
> What we do in barebox is to look into the SCU to find out how many CPU
> cores are actually present and fix up the DT passed to the kernel
> accordingly by deleting any superfluous CPU nodes. This satisfies both
> the need to keep the required DT source files to a minimum, while also
> providing correct information to the kernel.
... which is a function of the boot loader, but not all boot loaders
do this. So, if we're using u-boot, what option do we have?
I've never been able to successfully build and boot uboot myself (it
always fails one way or another with my toolchains - if I get it to
link, it silently fails on the hardware, but if someone else builds
it for me from exactly the same source, it works fine) so count me
out of fixing uboot in this regard.
Note that it's not that the kernel doesn't work, it's just that people
are complaining that they see warnings from the kernel during their
boot. So, unless we're going to start providing iMX6S and iMX6D
specific DT blobs (which will double the number of .dtb files we end
up with on iMX6), I think we're stuck with users complaining about
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
More information about the linux-arm-kernel