From Tony Lindgren:
The last dependency for enabling multiplatform support for omap2+ is now
finally gone with commit
62e4d357 (ARM: 7609/1: disable errata work-arounds
which access secure registers) that was preventing booting omap4.
Note that make uImage will no longer work properly because of unspecified
load address, so uImage needs to be created manually with:
$ mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 \
-n "Linux" -d zImage-omap2plus uImage-omap2plus
You can also boot minimal vexpress configuration using qemu with:
$ qemu-system-arm -machine vexpress-a9 -m 1024 -net nic -net user -serial stdio \
-append "console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p2 rootwait" \
-kernel zImage-omap2plus -initrd initrd.img -sd rootfs.img
Please note that some custom defconfigs now need to be updated to include
the following options:
CONFIG_ARCH_MULTIPLATFORM=y
CONFIG_ARCH_MULTI_V7=y
CONFIG_ARCH_OMAP2PLUS=y
And possibly also:
CONFIG_ARCH_MULTI_V6=y
Updating is needed at least for RMK's minimal allnoconfig files.
And if you need DEBUG_LL for earlyprintk, you now have to select the
debug port manually with Kconfig.
* tag 'omap-for-v3.9/multiplatform-enable-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP2+: Remove now obsolete uncompress.h and debug-macro.S
ARM: OMAP2+: Add minimal support for booting vexpress
ARM: OMAP2+: Enable ARCH_MULTIPLATFORM support
ARM: OMAP2+: Disable code that currently does not work with multiplaform
ARM: OMAP2+: Add multiplatform debug_ll support
ARM: OMAP: Fix dmaengine init for multiplatform
ARM: OMAP: Fix i2c cmdline initcall for multiplatform
ARM: OMAP2+: Use omap initcalls
ARM: OMAP2+: Limit omap initcalls to omap only on multiplatform kernels
Signed-off-by: Olof Johansson <olof@lixom.net>