[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48bab268a61.66716f37@auth.smtp.1and1.co.uk>
Date: Wed, 31 Aug 2016 15:02:53 +0100 (BST)
From: Darren Stevens <darren@...vens-zone.net>
To: PrasannaKumar Muralidharan <prasannatsmkumar@...il.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
linux-kernel@...r.kernel.org,
LABBE Corentin <clabbe.montjoie@...il.com>,
linux-crypto@...r.kernel.org, mpm@...enic.com, olof@...om.net,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: hwrng: pasemi_rng.c: Migrate to managed API
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@...00000]
| 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@...05000]
| name str 'rng'
| device_type str 'rng'
| compatible str '1682m-rng' 'pasemi,pwrficient-rng'
'pasemi,rng'
| reg cell FC105000 00001000
Regards
Powered by blists - more mailing lists