lede icon indicating copy to clipboard operation
lede copied to clipboard

拉取最新源码编译6.6内核x86固件报错

Open bi4tms opened this issue 2 years ago • 14 comments

详细叙述

拉取最新源码编译6.6内核x86固件报错 @Beginner-Go

重复 issue

  • [X] 没有类似的 issue

具体型号

x86

详细日志

Applying /home/x86.6.6/lede/target/linux/generic/pending-6.6/901-usb-add-more-modem-support.patch using plaintext: patching file drivers/net/usb/qmi_wwan.c patching file drivers/usb/serial/option.c Hunk #1 FAILED at 2278. 1 out of 1 hunk FAILED -- saving rejects to file drivers/usb/serial/option.c.rej Patch failed! Please fix /home/x86.6.6/lede/target/linux/generic/pending-6.6/901-usb-add-more-modem-support.patch! make[4]: *** [Makefile:34: /home/x86.6.6/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.29/.prepared_c26641d1b0d9504d84493ef4ea8a1191] Error 1 make[4]: Leaving directory '/home/x86.6.6/lede/target/linux/x86' make[3]: *** [Makefile:11: compile] Error 2 make[3]: Leaving directory '/home/x86.6.6/lede/target/linux' time: target/linux/compile#19.33#15.57#38.85 ERROR: target/linux failed to build. make[2]: *** [target/Makefile:30: target/linux/compile] Error 1 make[2]: Leaving directory '/home/x86.6.6/lede' make[1]: *** [target/Makefile:23: /home/x86.6.6/lede/staging_dir/target-x86_64_musl/stamp/.target_compile] Error 2 make[1]: Leaving directory '/home/x86.6.6/lede' make: *** [/home/x86.6.6/lede/include/toplevel.mk:231:world] 错误 2

bi4tms avatar Apr 30 '24 16:04 bi4tms

一样出错

kxdn3 avatar Apr 30 '24 16:04 kxdn3

一样错误

GreatMichaelLee avatar Apr 30 '24 23:04 GreatMichaelLee

+1

ywt114 avatar May 01 '24 01:05 ywt114

901-usb-add-more-modem-support.patch 补丁包有问题,删除就好了

mumuou avatar May 01 '24 02:05 mumuou

还没修好

kxdn3 avatar May 01 '24 05:05 kxdn3

还没修好

按照pr里面的自己去修改就行了

XXXstyle avatar May 01 '24 05:05 XXXstyle

还没修好

按照pr里面的自己去修改就行了

那破补丁也是一顿瞎改,全角。都出来了,合并一样翻车。

mumuou avatar May 01 '24 06:05 mumuou

同样报错,等修复。

TonyT-T-T avatar May 01 '24 07:05 TonyT-T-T

+++ b/drivers/net/usb/qmi_wwan.c @@ -1431,6 +1431,9 @@ static const struct usb_device_id produc {QMI_FIXED_INTF(0x2692, 0x9025, 4)}, /* Cellient MPL200 (rebranded Qualcomm 05c6:9025) / {QMI_QUIRK_SET_DTR(0x1546, 0x1312, 4)}, / u-blox LARA-R6 01B / {QMI_QUIRK_SET_DTR(0x1546, 0x1342, 4)}, / u-blox LARA-L6 */

  • {QMI_FIXED_INTF(0x2077, 0x2002, 4)}, /* T&W TW04C */

  • {QMI_FIXED_INTF(0x2077, 0x2003, 4)}, /* T&W TW12G */

  • {QMI_FIXED_INTF(0x2077, 0x2004, 4)}, /* T&W TW510M */

    /* 4. Gobi 1000 devices / {QMI_GOBI1K_DEVICE(0x05c6, 0x9212)}, / Acer Gobi Modem Device / +++ b/drivers/usb/serial/option.c @@ -2310,9 +2310,13 @@ static const struct usb_device_id option { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0a06, 0xff) }, / Fibocom FM650-CN (RNDIS mode) / { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0a07, 0xff) }, / Fibocom FM650-CN (MBIM mode) / { USB_DEVICE_INTERFACE_CLASS(0x2df3, 0x9d03, 0xff) }, / LongSung M5710 */

  • { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1402, 0xff) }, /* GosunCn GM800 (Download mode) */

  • { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1403, 0xff) }, /* GosunCn GM800 (rmnet, old) / { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1404, 0xff) }, / GosunCn GM500 RNDIS / { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1405, 0xff) }, / GosunCn GM500 MBIM / { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1406, 0xff) }, / GosunCn GM500 ECM/NCM */

  • { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1421, 0xff) }, /* GosunCn GM800 (rmnet) */

  • { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1422, 0xff) }, /* GosunCn GM800 (EAP) / { USB_DEVICE(0x33f8, 0x0104), / Rolling RW101-GL (laptop RMNET) / .driver_info = RSVD(4) | RSVD(5) }, { USB_DEVICE_INTERFACE_CLASS(0x33f8, 0x01a2, 0xff) }, / Rolling RW101-GL (laptop MBIM) */

mumuou avatar May 01 '24 07:05 mumuou

901-usb-add-more-modem-support.patch 补丁包有问题,删除就好了

删除可解决?

TonyT-T-T avatar May 01 '24 07:05 TonyT-T-T

901-usb-add-more-modem-support.patch 按照我上面这个改,直接复制覆盖就行了~~~

他那个补丁里面一堆全角的。,一合并不翻车才怪呢

mumuou avatar May 01 '24 07:05 mumuou

901-usb-add-more-modem-support.patch 按照我上面这个改,直接覆盖复制覆盖就行了~~~ 感谢,试试

TonyT-T-T avatar May 01 '24 07:05 TonyT-T-T

好像不用了,直接更新就行了,合并的代码把全角。,啥的都改好了,你自己试试吧

mumuou avatar May 01 '24 07:05 mumuou

啊?好的,在更一下。

TonyT-T-T avatar May 01 '24 07:05 TonyT-T-T