immortalwrt/target
Daniel González Cabanelas a1a63dd01c mvebu: armada 370: dts: fix the crypto engine
The crypto engine in Armada 370 SoCs is currently broken. It can be
checked installing the required packages for testing openssl with hw
acceleration:

  opkg install openssl-util
  opkg install kmod-cryptodev
  opkg install libopenssl-devcrypto

After configuring /etc/ssl/openssl.cnf to let openssl use the crypto
engine for digest operations, and performing some checksums..

  md5sum 10M-file.bin
  openssl md5 10M-file.bin

...we can see they don't match.

There might be an alignment or size constraint issue caused by the
idle-sram area.

Use the whole crypto sram and disable the idle-sram area to fix it. Also
disable the idle support by adding the broken-idle property to prevent
accessing the disabled idle-sram.

We don't care about disabling the idle support since it is already broken
in Armada 370 causing a huge performance loss because it disables
permanently the L2 cache. This was reported in the Openwrt forum and
elsewhere by Debian users with different board models.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
2021-04-18 23:43:57 +08:00
..
imagebuilder build,ib: add STRIP_ABI option for manifest 2021-03-17 11:29:19 +08:00
linux mvebu: armada 370: dts: fix the crypto engine 2021-04-18 23:43:57 +08:00
sdk sdk: expose binary strip settings 2021-02-20 12:32:48 +08:00
toolchain build: improve ccache support 2021-01-02 12:08:17 +08:00
Config.in include/image*: add support for device-tree overlays 2021-03-18 23:23:45 +08:00
Makefile update target 2019-08-19 22:26:19 +08:00