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.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.12 (GNU/Linux)
 
 iQIcBAABAgAGBQJQ8GexAAoJEBvUPslcq6VzVYQP+gOn4LPaNRu1YMOLjVGlw5Za
 ceUQd5+QQBzoiRhETkiFTS8d/lDr3BYfYVpJDl3xg3dtfDJaqoWLz6DhpVyZLssW
 Ua29BO/P4B/NROaMttusNKv8iO7ivxj9afZ2U8R5VzNXjSBBD+xwAkBoMiewX54y
 ILGj0u3Cz+/MuyM3Px/OQi73JnSS/77PO8M+pB+d49abFirLFeQkmR+uhZNONKwI
 sQXvwmNBMnYn3JDo/xxKycaOCIoTpq3T34wASCCeknVhh5F0X6FTUMej+s3Erluv
 iH0T3kBTB0/B00vKHY725yy69LHD6cszVFKh33Yvkcyt4XA5GAMbWmEZwoEh1feu
 Xg6WvZOJYQUAz6VmYcIRT6J6jiyeeiffIeb+o8SE0v6d0iCtAo3czhvs3j7eGHoK
 LHEW92B+mxY51UaqJzzVQJa8dZsHFgDMVcMiFM+vm0bnHBKXl470/rfSUdUuH3WY
 TJeFG11tdlumW8Ug8s8KBiIXOQbsUgfzGEfKe8bEOjQHdEPrvxPVazSE4Pd4+i91
 6wATfnxNduQwS5nUWH8OE+Fm0IZ0ltkXXq/Zr2YE0FkHBMNp4FoKdwSSMxhT1GUL
 PFOV1MMWkflA7+d2G15plMS5SjSWC6br1HuXrF1MBpf1D2sWEGYvGH4wQxHUrV/j
 nNldw7hhC0gFBlLAx2Lw
 =sYWs
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v3.9/multiplatform-enable-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/multiplatform

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>
This commit is contained in:
Olof Johansson 2013-01-11 12:09:44 -08:00
commit 6130133248
52 changed files with 423 additions and 479 deletions