Bug#667681: flash-kernel: Please add support for Dreamplug / Marvell Kirkwood FDT
On Wed, 2012-04-11 at 16:31 +0200, Hector Oron wrote:
> Hello,
>
> 2012/4/9 Martin Michlmayr <tbm@cyrius.com>:
> > * Ian Campbell <ijc@hellion.org.uk> [2012-04-06 09:49]:
>
> >> Good question. Some DT stuff gets exported in /proc/device-tree.
> >>
> >> Aha:
> >> $ echo $(cat /proc/device-tree/model)
> >> Globalscale Technologies Dreamplug
>
> > In that case, I believe you should modify your flash-kernel patch to
> > check this file so the code your proposed will only run on the
> > Dreamplug and not on other Kirkwood DT devices which might require
> > different behaviour.
> >
> > (Again, I'm not the maintainer; maybe Loic can comment.)
>
> There is no strategy on current f-k for DT. We might need one. Maybe
> we could introduce a 'MachineDT' entry into the data base that parses
> /proc/device-tree/model information. Any other suggestion?
That's basically what I was thinking.
I thought I might try and send a patch upstream to make /proc/cpuinfo
say something less generic in the hardware option (i.e. make it contain
the same as /proc/d-t/model), but I'm not sure when I might get to that.
Ian.
--
Ian Campbell
"How should I know if it works? That's what beta testers are for. I only
coded it."
(Attributed to Linus Torvalds, somewhere in a posting)
Reply to: