From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH 00/02] ARM: shmobile: EMEV2 SMP DT reference code (hack alert!)
Date: Wed, 13 Feb 2013 14:16:13 +0000 [thread overview]
Message-ID: <20130213141613.12474.97583.sendpatchset@w520> (raw)
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(+)
reply other threads:[~2013-02-13 14:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130213141613.12474.97583.sendpatchset@w520 \
--to=magnus.damm@gmail.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox