From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3sPS3935PYzDrnL for ; Thu, 1 Sep 2016 00:10:45 +1000 (AEST) From: Darren Stevens To: PrasannaKumar Muralidharan CC: Herbert Xu , linux-kernel@vger.kernel.org, LABBE Corentin , linux-crypto@vger.kernel.org, mpm@selenic.com, olof@lixom.net, linuxppc-dev@lists.ozlabs.org Date: Wed, 31 Aug 2016 15:02:53 +0100 (BST) Message-ID: <48bab268a61.66716f37@auth.smtp.1and1.co.uk> In-Reply-To: References: <1472124856-12767-1-git-send-email-prasannatsmkumar@gmail.com> <20160825121546.GA25650@Red> <48b8455031e.651d5701@auth.smtp.1and1.co.uk> Subject: Re: hwrng: pasemi_rng.c: Migrate to managed API MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello PrasannaKumar On 30/08/2016, PrasannaKumar Muralidharan wrote: > Hi Darren, >> On mine (Amigaone X1000) that is correct, we boot linux with a vmlinux >> file, and the bootloader (CFE) passes a fixed dtb. I think it is >> possible to dump the tree from inside CFE, if it would help I can >> invetigate? > > I don't know if it is possible to get dts from dtb even if you manage > to extract devicetree blob from your system. I didn't explain well, There is a CFE command 'show devtree' here's the relevant bits (I Hope) [CFE ]CFE> show devtree [/] | #interrupt-cells val 0x00000002 | #address-cells val 0x00000002 | #size-cells val 0x00000002 ...[snip]... [sdc@fc000000] | name str 'sdc' | device_type str 'sdc' | #address-cells val 0x00000001 | #size-cells val 0x00000001 | compatible str '1682m-sdc' 'pasemi,pwrficient-sdc' 'pasemi,sdc' | reg cell 00000000 FC000000 00000000 00800000 ...[snip]... [rng@fc105000] | name str 'rng' | device_type str 'rng' | compatible str '1682m-rng' 'pasemi,pwrficient-rng' 'pasemi,rng' | reg cell FC105000 00001000 Regards