CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS and bcm2835_defconfig

Vince Weaver vincent.weaver at maine.edu
Mon Mar 10 17:21:56 EDT 2014


Hello

I buit the current
	git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-rpi.git
kernel on a Raspberry Pi.

I used 
	make bcm2835_defconfig
	make zImage
but the results zImage hung at boot.

It turned out that for some reason 
	CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
and
	CONFIG_ARCH_USE_BUILTIN_BSWAP=y

were enabled.  Once I disabled them and re-built, the kernel booted fine 
(USB and ethernet worked too!).

I'm not sure if this is a bcm2835_defconfig issue or something that's 
wrong with the generic upstream kernel config...

Vince



More information about the linux-rpi-kernel mailing list