From: michael@walle.cc (Michael Walle)
To: linux-arm-kernel@lists.infradead.org
Subject: orion/kirkwood and device tree
Date: Mon, 31 Oct 2011 23:50:28 +0100 [thread overview]
Message-ID: <201110312350.28475.michael@walle.cc> (raw)
In-Reply-To: <20111031164042.GD29402@lunn.ch>
Hi Jason and all,
Sorry for being quiet such a long time, much work to do here..
Am Montag 31 Oktober 2011, 17:40:42 schrieb Andrew Lunn:
> > I wish. :-) dreamplug support just made it into u-boot. So, now I
> > just have to babysit it until 2011.12 / 2012.01 release. I should have
> > some more cycles to dedicate to Linux/dreamplug in the coming months.
>
> Is uboot support necessary? I cannot use jtag on my device, so i'm
> reluctant to upgrade uboot. I hope it is possible to append the dt to
> kernel image, at least for development work.
iirc, i've seen some patches around to add support for appended device trees.
dunno if they made it upstream, though.
> > My biggest stumbling block is still learning devicetree. Simon Glass
> > has added support for parsing and using fdt's in u-boot. I successfully
> > adapted mvrtc driver to use it. So that helped my understanding. I've
> > since found some key places in the kernel where registers are defined
> > and interrupts set. So, conceptually, I have a much better idea of how
> > it needs to happen. Unfortunately, it needs to be kirkwood / orion
> > getting fdt support, and then adding a dreamplug fdt file. A lot more
> > work to do it right.
>
> I have a reasonable idea how kirkwood/orion works. I've done some
> cleanup of the shared code between the different orion devices.
>
> I guess what i need is the simplest DT configuration needed to get the
> device to boot however still using the bubba3 hard coded platform
> devices. I can then move each platform device one by one into
> DT. However, my initial quick experiments just resulted in instant
> kernel crash...
i've already ported some marvell devices to DT. spi-orion, orion-wdt, rtc-mv
and mv_cesa. Atm i'm struggling with how to pass kirkwood_mbus_dram_info to
the device drivers (the old method is to pass it through platform_data)
I hope i find time tomorrow, to upload my git tree and/or post some RFC
patches.
--
Michael
next parent reply other threads:[~2011-10-31 22:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20111031105740.GC29402@lunn.ch>
[not found] ` <20111031152100.GR32165@titan.lakedaemon.net>
[not found] ` <20111031164042.GD29402@lunn.ch>
2011-10-31 22:50 ` Michael Walle [this message]
2011-10-31 22:54 ` orion/kirkwood and device tree Russell King - ARM Linux
2011-11-01 6:25 ` Andrew Lunn
2011-11-02 16:50 ` Jason
2011-11-02 22:03 ` Michael Walle
2011-11-03 18:15 ` memory map in fdt was: " Jason
2011-11-03 18:47 ` Jason
2011-11-03 21:50 ` Michael Walle
2011-11-04 9:21 ` Simon Guinot
2011-11-16 23:34 ` Michael Walle
2011-11-04 14:01 ` Nicolas Pitre
2011-11-06 23:12 ` Michael Walle
2011-11-06 16:05 ` Andrew Lunn
2011-11-06 22:40 ` Michael Walle
2011-11-07 6:27 ` Andrew Lunn
2011-11-07 2:35 ` Nicolas Pitre
2011-11-07 6:28 ` Andrew Lunn
2011-11-06 16:07 ` [PATCH 1/1] [orion] Consolidate the address map setup on Orion based platforms Andrew Lunn
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=201110312350.28475.michael@walle.cc \
--to=michael@walle.cc \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).