找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1591|回复: 15

请教大神 MT7621的EIP93 AES,如何编译进openwrt里?[已解决 感谢兔神]

[复制链接]
本帖最后由 lsq726 于 2022-7-19 10:59 编辑


====================
已解决请看3楼  5楼
====================

https://github.com/vschagen/mtk-eip93

Mediatek EIP93 Crypto driver
Linux Crypto Driver for the EIP-93. This Crypto engine is available in the Mediatek MT7621 SoC.
This should be added to your device DTS or better yet to the mt7621.dtsi:
crypto: crypto@1e004000 {        status = "okay";        compatible = "mediatek,mtk-eip93";        reg = <0x1e004000 0x1000>;        interrupt-parent = <&gic>;        interrupts = <GIC_SHARED 19 IRQ_TYPE_LEVEL_HIGH>;};
The 999-patch is to add the mtk-eip93 to the Kconfig / Make files in the drivers/crypto folder Add the crypto/mtk-eip93 folder to the linux drivers
OR:
add the 999-patch to the OpenWrt /target/linux/ramips/patch-5.10 folder and the crypto/mtk-eip93 folder to the /target/linux/files/drivers folder
Pending upstream merger.

===============================


论坛搜到这文章


https://www.right.com.cn/forum/thread-329073-1-1.html


\\\\\\\\\\\
mtk7621硬改如何编译openwrt?

我的恩山、我的无线 The best wifi forum is right here.
内核里面本来就有啊,选中编译就行

点评

你是说lede? 官方源里没的  发表于 2022-7-13 12:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 jjit 于 2022-7-13 09:09 编辑

用Lean的源码,里面自带:https://github.com/coolsnowwolf/lede
在make menuconfig,Kernel modules,Cryptographic API modules 里
选中 kmod-crypto-hw-eip93

点评

感谢教导, 用官方源码编译 该怎么使用eip93 aes?  详情 回复 发表于 2022-7-13 12:16
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
jjit 发表于 2022-7-13 09:05
用Lean的源码,里面自带:https://github.com/coolsnowwolf/lede
在make menuconfig,Kernel modules,Cry ...

感谢教导,

用官方源码编译  该怎么使用eip93 aes?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

有人向官方提交了修改:https://github.com/openwrt/openwrt/pull/10042/files
但是官方还没有合并进源码里
试一下,按照提交的来修改源码试试,就是上面链接里的

点评

兔神 target/linux/ramips/dts/mt7621.dtsi target/linux/ramips/mt7621/target.mk 这2个文件容易理解 直接修改文件 上面那4个文件该怎么操作?  详情 回复 发表于 2022-7-19 11:13
主要是太菜..第一次见提交..不会用  详情 回复 发表于 2022-7-14 12:48
大神,/拇指  发表于 2022-7-13 21:38
请教怎么把这个东西拉到自己的机器里?  详情 回复 发表于 2022-7-13 21:26
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
jjit 发表于 2022-7-13 12:23
有人向官方提交了修改:https://github.com/openwrt/openwrt/pull/10042/files
但是官方还没有合并进源码 ...

请教怎么把这个东西拉到自己的机器里?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
jjit 发表于 2022-7-13 12:23
有人向官方提交了修改:https://github.com/openwrt/openwrt/pull/10042/files
但是官方还没有合并进源码 ...

主要是太菜..第一次见提交..不会用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
回头把这几个文件在win下制作好上传上去, 修改的那2个文件用sed 修改,
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
linux下指令不熟悉,光想git下载去了,应该创建修改复制  ,
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
linux下指令不熟悉,光想git下载去了,应该创建修改复制  ,
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
手机版 回车发送,,头大,不是刷屏,,感谢兔神@jjit
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
jjit 发表于 2022-7-13 12:23
有人向官方提交了修改:https://github.com/openwrt/openwrt/pull/10042/files
但是官方还没有合并进源码 ...

兔神

target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/mt7621/target.mk
这2个文件容易理解  直接修改文件

上面那4个文件该怎么操作?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

可以厉害啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 21:26

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表