[OpenWrt-Devel] [PATCH] mpc85xx: Enable caam support only for p1020

Achim Gottinger achim at ag-web.biz
Sun Jun 24 12:47:29 EDT 2018

Am 18.06.2018 um 09:34 schrieb John Crispin:
> On 09/06/18 11:10, Hauke Mehrtens wrote:
>> On 06/08/2018 04:42 PM, Achim Gottinger wrote:
>>> Disable caam support in default config and enable it only for the p1020
>>> target.
>>> The generic target is used for the wdr4900-v1 tp-link router which does
>>> not have an enabled caam engine.
>>> If caam is build in for this target it adds non functional crypto
>>> methods to the kernels crypto framework.
>>> Strongswan for example tries to use these methods and as an result does
>>> not work.
>>> More about the issue is mentioned here
>>> https://bugs.openwrt.org/index.php?do=details&task_id=1262
>>> Signed-off-by: Achim Gottinger <achim at ag-web.biz>
>>> ---
>>>   target/linux/mpc85xx/config-4.9             | 10 ----------
>>>   target/linux/mpc85xx/generic/config-default | 10 ++++++++++
>>>   target/linux/mpc85xx/p1020/config-default   | 10 ++++++++++
>>>   3 files changed, 20 insertions(+), 10 deletions(-)
>> Hi Felix,
>> Please have a look at this patch.
>> This problem was introduced in your commit:
>> https://git.openwrt.org/c00e5a4f09115ec976fac7dc380f576ef6a24fab
>> Hauke
> Acked-by: John Crispin <john at phrozen.org>
> looks good, but does not apply. please rebase/send. I'll merge a V2.
>     John
Hello John,

I created the patch using git --format-patch origin.
If i cnp the patch to an text file and try to apply it to openwrt master it applies without issues.

What command are you using that fails? I'd be glad to modify the patch and send an V2 but first I must be able to reproduce the issue.

Thanks in advance,

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list