On Wed, 2012-04-11 at 16:31 +0200, Hector Oron wrote: > Hello, > > 2012/4/9 Martin Michlmayr <t...@cyrius.com>: > > * Ian Campbell <i...@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) -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1334158053.16387.20.ca...@zakaz.uk.xensource.com