From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lpsc-mail.in2p3.fr (lpsc-mail.in2p3.fr [134.158.40.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 421ACB70D4 for ; Mon, 18 Oct 2010 23:14:05 +1100 (EST) Received: from lpsc0174x.localnet (lpsc0174x.in2p3.fr [134.158.40.174]) by lpsc-mail.in2p3.fr (8.13.1/8.13.1/In2p3) with ESMTP id o9ICDx9k028286 for ; Mon, 18 Oct 2010 14:13:59 +0200 From: Guillaume Dargaud To: linuxppc-dev@lists.ozlabs.org Subject: Parsing DTS file Date: Mon, 18 Oct 2010 14:13:58 +0200 MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Message-Id: <201010181413.58302.dargaud@lpsc.in2p3.fr> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello all, I'm sure there's a standard way of doing this: I'd like to access some info from the DTS file from a usermode program (things like address of device, etc...) What is the best way to do this ? Write a parser ? Or query the running kernel somehow ? -- Guillaume Dargaud http://www.gdargaud.net/