Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473514

Re: hwrng: pasemi_rng.c: Migrate to managed API

From Darren Stevens <darren@stevens-zone.net>
Newsgroups linux.kernel
Subject Re: hwrng: pasemi_rng.c: Migrate to managed API
Date 2016-08-31 16:10 +0200
Message-ID <sceng-3nc-23@gated-at.bofh.it> (permalink)
References <sa1aN-nw-15@gated-at.bofh.it> <sa1Nv-PS-1@gated-at.bofh.it> <sa2Tf-1tU-1@gated-at.bofh.it> <sbzWN-2uN-21@gated-at.bofh.it> <sbLuV-1Hg-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] hwrng: pasemi_rng.c: Migrate to managed API PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2016-08-25 13:40 +0200
  Re: [PATCH] hwrng: pasemi_rng.c: Migrate to managed API LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-25 14:20 +0200
    Re: [PATCH] hwrng: pasemi_rng.c: Migrate to managed API PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2016-08-25 15:30 +0200
      Re: hwrng: pasemi_rng.c: Migrate to managed API Darren Stevens <darren@stevens-zone.net> - 2016-08-29 21:00 +0200
        Re: hwrng: pasemi_rng.c: Migrate to managed API PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2016-08-30 09:20 +0200
          Re: hwrng: pasemi_rng.c: Migrate to managed API Darren Stevens <darren@stevens-zone.net> - 2016-08-31 16:10 +0200
            Re: hwrng: pasemi_rng.c: Migrate to managed API PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2016-09-01 09:10 +0200

csiph-web