[Macchiato] crypto: inside_secure - call for volunteers

Marcin Wojtas mw at semihalf.com
Tue Apr 30 22:40:00 BST 2019


Hi Riku,

wt., 30 kwi 2019 o 16:07 Riku Voipio <riku.voipio at linaro.org> napisaƂ(a):
>
>
>
> On Tue, 30 Apr 2019 at 16:12, Ard Biesheuvel <ard.biesheuvel at linaro.org> wrote:
>>
>> ---------- Forwarded message ---------
>> From: Pascal Van Leeuwen <pvanleeuwen at insidesecure.com>
>> Date: Tue, 30 Apr 2019 at 15:08
>> Subject: crypto: inside_secure - call for volunteers
>> To: linux-crypto at vger.kernel.org <linux-crypto at vger.kernel.org>,
>> antoine.tenart at bootlin.com <antoine.tenart at bootlin.com>, Herbert Xu
>> <herbert at gondor.apana.org.au>, David S. Miller <davem at davemloft.net>
>>
>>
>> Hi all,
>>
>> Over the past weeks I have been working on the crypto driver for Inside Secure
>> (EIP97/EIP197) hardware. This started out as a personal side project to be able
>> to do some architectural exploration using real application software, but as I
>> started fixing issues I realised these fixes may be generally useful. So I guess
>> I might want to try upstreaming those.
>>
>> My problem, however, is that I do not have access to any of the original Marvell
>> hardware that this driver was developed for, I can only test things on my PCI-E
>> based FPGA development board with much newer, differently configured hardware in
>> an x86 PC. So I'm looking for volunteers that actually do have this Marvell HW
>> at their disposal - Marvell Armada 7K or 8K e.g. Macchiatobin (Riku? You wanted
>> a driver that did not need to load firmware, this your chance to help out! :-),
>
>
> Nice! I will definitely try to help. Unfortunately, first I need to build a firmware that outputs the serial console to the internal headers - I accidentally broke the microusb serial output. Having a quick look at the sources, Is it enough to just
>
> Platforms/Marvell/Armada/Armada7k8k.dsc.inc
> -  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0xF0512000
> +  gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0xF0512100
>
> picked up the latter value from the kernel device tree for internal uart.

Yes, this will be sufficient for the edk2. Rember also to update your
device tree to:
        chosen {
                stdout-path = "serial1:115200n8";
        };

Best regards,
Marcin

>
>>
>> Marvell Armada  3700 e.g. Espressobin and Marvell Armada 39x to be exact - and
>> are willing to help me out with some testing.
>>
>> Things that I worked on so far:
>> - all registered ciphersuites now pass the testmgr compliance tests
>> - fixed stability issues
>> - removed dependency on external firmware images
>> - added support for non-Marvell configurations of the EIP97 & EIP197
>> - added support for the latest HW & FW revisions (3.1) and features
>> - added support for the Xilinx FPGA development board we're using for our
>>   internal development and for which we also provide images to our customers
>>
>> Once I manage to get this upstreamed, I plan on working on improving performance
>> and adding support for additional algorithms our hardware supports.
>>
>> Anyone out there willing to contribute?
>>
>> Regards,
>> Pascal van Leeuwen
>> Silicon IP Architect, Multi-Protocol Engines @ Inside Secure
>> www.insidesecure.com



More information about the Macchiato mailing list