openwrt/target/linux/mvebu
Daniel González Cabanelas d530ff37bf 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>
(cherry picked from commit 2e1ebe96c6)
2021-04-18 12:04:33 +02:00
..
base-files/lib mvebu: sysupgrade: write additional information to log output 2020-12-01 19:39:08 +01:00
cortexa9 mvebu: venom resize kernel to 6MB 2021-03-29 21:17:32 +02:00
cortexa53 mvebu: Fix sysupgrade for GL.iNet GL-MV1000 2021-04-18 12:04:29 +02:00
cortexa72 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
files/arch mvebu: Fix mac addresses for GL.iNet GL-MV1000 2021-03-29 21:41:16 +02:00
image mvebu: enable WRT1900AC v1 and WRT32X for buildbots 2021-03-29 21:17:32 +02:00
patches-5.4 mvebu: armada 370: dts: fix the crypto engine 2021-04-18 12:04:33 +02:00
patches-5.10 mvebu: armada 370: dts: fix the crypto engine 2021-04-18 12:04:33 +02:00
config-5.4 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
modules.mk mvebu: backport linkstation-poweroff upstream driver 2020-08-28 10:44:29 +01:00