找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: momo123456

编译lede的fast path时cherry-pick报错bad revision

[复制链接]
发表于 2017-10-6 05:55 | 显示全部楼层
jorison 发表于 2017-8-19 08:57
dissent1的补丁你要修改下,以master分支作为例子
先克隆lede源码 cd到源码目录
wget https://github.c ...

谢谢编译sfe教程!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-10-22 07:13 | 显示全部楼层
谢谢亲们的讨论 学习了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-2-17 08:42 | 显示全部楼层
momo123456 发表于 2017-8-20 19:18
你可能要删掉source文件夹重新配置过了,附件解压掉就行

大大 您修改后的这个补丁在17014下咋用喃?  直接patch吗?  
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-2-17 12:35 | 显示全部楼层
jorison 发表于 2017-8-19 08:44
你用谁的patch?名字以g开头的那个patch,适用于17.01 分支,不是master分支,master分支kernel到4.9了
gi ...

大神 有3.18内核的sfe吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-3-17 11:39 | 显示全部楼层
jorison 发表于 2017-8-19 08:57
dissent1的补丁你要修改下,以master分支作为例子
先克隆lede源码 cd到源码目录
wget https://github.c ...
sed -i "s/hack-4.9/pending-4.9/g" b87b4734c6e56fa45ec612350e2aa480ed2d8dd6.patch
patch -p1 < b87b4734c6e56fa45ec612350e2aa480ed2d8dd6.patch


请问 sed -i "s/hack-4.9/pending-4.9/g" 是干什么的,为什么我用完 还是编译错误


这是我的错误信息


  1. Applying /home/someone/lede/target/linux/generic/pending-4.9/950-net-patch-linux-kernel-to-support-shortcut-fe.patch.orig using plaintext:
  2. patching file include/linux/skbuff.h
  3. Hunk #1 FAILED at 738.
  4. 1 out of 1 hunk FAILED -- saving rejects to file include/linux/skbuff.h.rej
  5. patching file net/Kconfig
  6. Hunk #1 FAILED at 444.
  7. 1 out of 1 hunk FAILED -- saving rejects to file net/Kconfig.rej
  8. patching file net/core/dev.c
  9. Hunk #1 FAILED at 2929.
  10. Hunk #2 succeeded at 4087 with fuzz 2 (offset 26 lines).
  11. Hunk #3 FAILED at 4113.
  12. Hunk #4 succeeded at 4176 with fuzz 2 (offset 37 lines).
  13. 2 out of 4 hunks FAILED -- saving rejects to file net/core/dev.c.rej
  14. patching file net/netfilter/nf_conntrack_proto_tcp.c
  15. Hunk #1 FAILED at 34.
  16. 1 out of 1 hunk FAILED -- saving rejects to file net/netfilter/nf_conntrack_proto_tcp.c.rej
  17. Patch failed!  Please fix /home/someone/lede/target/linux/generic/pending-4.9/950-net-patch-linux-kernel-to-support-shortcut-fe.patch.orig!
  18. Makefile:104: recipe for target '/home/someone/lede/build_dir/toolchain-mips_24kc_gcc-7.3.0_musl/linux-4.9.86/.prepared' failed
  19. make[3]: *** [/home/someone/lede/build_dir/toolchain-mips_24kc_gcc-7.3.0_musl/linux-4.9.86/.prepared] Error 1
  20. make[3]: Leaving directory '/home/someone/lede/toolchain/kernel-headers'
  21. toolchain/Makefile:96: recipe for target 'toolchain/kernel-headers/compile' failed
  22. make[2]: *** [toolchain/kernel-headers/compile] Error 2
  23. make[2]: Leaving directory '/home/someone/lede'
  24. toolchain/Makefile:94: recipe for target '/home/someone/lede/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/stamp/.toolchain_compile' failed
  25. make[1]: *** [/home/someone/lede/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/stamp/.toolchain_compile] Error 2
  26. make[1]: Leaving directory '/home/someone/lede'
  27. /home/someone/lede/include/toplevel.mk:216: recipe for target 'world' failed
  28. make: *** [world] Error 2
复制代码

点评

把hack-4.9改为pending-4.9 这是linux内核补丁文件夹名字的规定,不能用hack-4.9的目录 不要重复打补丁,你这里有个950-net-patch-linux-kernel-to-support-shortcut-fe.patch.orig 删掉再试下 rm /home/someo  详情 回复 发表于 2018-4-11 23:09
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-11 23:09 | 显示全部楼层
amnaux 发表于 2018-3-17 11:39
请问 sed -i "s/hack-4.9/pending-4.9/g" 是干什么的,为什么我用完 还是编译错误

把hack-4.9改为pending-4.9
这是linux内核补丁文件夹名字的规定,不能用hack-4.9的目录

不要重复打补丁,你这里有个950-net-patch-linux-kernel-to-support-shortcut-fe.patch.orig
删掉再试下
rm /home/someone/lede/target/linux/generic/pending-4.9/950-net-patch-linux-kernel-to-support-shortcut-fe.patch.orig
也新内核可能旧补丁失效了。我不关注这个了,手头没东西了

点评

谢谢 我现在该用lede 稳定版就没有错误了,好奇你现在用什么设备  详情 回复 发表于 2018-4-12 06:31
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-12 06:31 | 显示全部楼层
jorison 发表于 2018-4-11 23:09
把hack-4.9改为pending-4.9
这是linux内核补丁文件夹名字的规定,不能用hack-4.9的目录

谢谢 我现在该用lede 稳定版就没有错误了,好奇你现在用什么设备

点评

tp-wr1041n放在出租房光猫下做主路由纯带机,最新分支补丁修改后也能用。 自己用x86虚拟化软路由。 刚买了个友华wr1200js,在折腾。  详情 回复 发表于 2018-4-12 18:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-4-12 18:38 | 显示全部楼层
amnaux 发表于 2018-4-12 06:31
谢谢 我现在该用lede 稳定版就没有错误了,好奇你现在用什么设备


刚买了个友华wr1200js,在折腾。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-6-24 12:53 | 显示全部楼层
LEDE 集成SFE 补丁
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-18 15:59

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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