All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/02] ARM: shmobile: EMEV2 SMP DT reference code (hack alert!)
@ 2013-02-13 14:16 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2013-02-13 14:16 UTC (permalink / raw)
  To: linux-sh

ARM: shmobile: EMEV2 SMP DT reference code (hack alert!)

[PATCH 01/02] ARM: shmobile: Temporarily use C to setup EMEV2 clocks
[PATCH 02/02] ARM: shmobile: Temporarily use emev2_map_io() for SMP

This series is a small silly SMP DT reference implementation meant
to give the sh73a0 DT SMP problem a kick in the butt.

None of the patches in the series should be merged as-is, but they
can instead be used to boot EMEV2 using DT with SMP support.

I've used the following steps to build an uImage for the KZM9D board:

make -j9 ARCH=arm CROSS_COMPILE=_ uImage
./scripts/dtc/dtc -I dts -O dtb arch/arm/boot/dts/emev2-kzm9d.dts -o arch/arm/boot/dts/emev2-kzm9d.dtb
rm arch/arm/boot/zImage arch/arm/boot/uImage
make -j9 ARCH=arm CROSS_COMPILE=_ zImage
cat arch/arm/boot/dts/emev2-kzm9d.dtb >> arch/arm/boot/zImage 
$(cut -f 3- -d ' ' < arch/arm/boot/.uImage.cmd)

The above sequence works well for me and is obviously much better and
easier than making use of any static mach-type number.

As for build configuration, use the following two on KZM9D DT-only:
CONFIG_ARCH_EMEV2=y
CONFIG_MACH_KZM9D=n

The current state of EMEV2 and KZM9D DT is that you can get serial
ports and the STI timer running with DT-only. The GPIO bits still
lack DT bindings. This means no ethernet, so initramfs is needed.

Not-even-remotely-signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/arm/mach-shmobile/setup-emev2.c |    3 +++
 1 file changed, 3 insertions(+)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-13 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-13 14:16 [PATCH 00/02] ARM: shmobile: EMEV2 SMP DT reference code (hack alert!) Magnus Damm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.